Professional Documents
Culture Documents
IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, VOL. 15, NO. 1, FEBRUARY 2014
I. I NTRODUCTION
Manuscript received January 13, 2013; revised May 23, 2013 and July 10,
2013; accepted July 22, 2013. Date of publication September 23, 2013; date of
current version January 31, 2014. This work was supported in part by funding
from the Intelligent Transportation Systems Institute, University of Minnesota.
The Associate Editor for this paper was U. Ozguner.
The authors are with the Department of Mechanical Engineering, University
of Minnesota, Minneapolis, MN 55455 USA (e-mail: rajamani@me.umn.edu).
Color versions of one or more of the figures in this paper are available online
at http://ieeexplore.ieee.org.
Digital Object Identifier 10.1109/TITS.2013.2279951
1524-9050 2014 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
TAGHVAEEYAN AND RAJAMANI: TWO-DIMENSIONAL SENSOR SYSTEM FOR AUTOMOTIVE CRASH PREDICTION
and have low refresh rates, their use during a short initial
time duration leads to a reliable estimator. Magnetoresistive
sensors offer the advantages of being able to work at very
small distances, down to 0 m, having a very high refresh
rate, and being highly inexpensive and compact. To the best
of the authors knowledge, this is the first journal publication
that utilizes magnetoresistive sensors for 2-D vehicle position
estimation.
An AMR sensor has a silicon chip with a thick coating
of piezoresistive nickeliron. Every car has a magnetic field,
which is a function of the vehicle position around the vehicle.
The presence of an automobile in close range to an AMR
sensor causes a change in the magnetic field, which changes the
resistance of the nickeliron layer. By measuring the resistance,
obtaining the real-time magnetic field, and developing models
that relate magnetic field to intervehicle position, estimation
systems for intervehicle distance estimation can be developed.
The HMC2003 three-axis magnetic sensor boards from Honeywell are utilized for the system developed in this paper.
Each sensor board contains core HMC100x AMR sensing
chips, which cost about $10. Application note AN218 from
Honeywell describes the use of the AMR chips for vehicle
detection and traffic counting applications (neither of which
involves vehicle position estimation) [10].
A custom-designed sonar system is also used, which consists
of one transmitter and two receivers, and measures not only the
distance to the objects but also the orientation of the object. This
system is described in detail in later sections.
This paper is organized as follows. In Section II, a brief
review of authors previous work on 1-D position estimation using AMR sensors is provided. In Section III, the problem of 2-D
vehicle position estimation and the challenges in using magnetic field for that application are discussed. This discussion is
followed by the derivation of the 2-D magnetic field equations
for a car presented in Section IV. The custom-designed sonar
system that has been developed is discussed in Section V. The
extended Kalman filter (EKF) used for 2-D position estimation
adopting measurements from the magnetic sensors and the
sonar sensor is discussed in Section VI. Results of different
experiments are presented in Section VII. Finally, this paper
is concluded in Section VIII. Thus, this paper develops the
magnetic field equations for a car, develops an EKF for relative
position and orientation estimation in close proximity, based on
measurements from magnetic sensors and a custom-designed
sonar system, and verifies the performance of the developed
estimator through different experiments.
II. O NE -D IMENSIONAL P OSITION E STIMATION
Every car has a magnetic field, which is a function of the
position around the vehicle. This was demonstrated earlier
purely for 1-D vehicle position estimation in [11]. This paper
considers 2-D position estimation, building on a previous conference publication by the same authors [12]. The parameters
in the magnetic field versus position function vary with the
type and model of encountered vehicle. Since the type of
vehicle encountered is not known a priori, the parameters of
the magnetic field function are unknown. Therefore, adaptive
179
Fig. 2. Developed PCB for capturing AMR and sonar sensors data.
p
+q
x
(1)
180
IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, VOL. 15, NO. 1, FEBRUARY 2014
Fig. 4.
Fig. 3. Results of the experiment with a Volkswagen Passat vehicle and the
fitted curve.
TABLE I
R ESULTS F ROM C URVE F ITTING
Fig. 5. Two-dimensional position estimation and the parameters to be
estimated.
p
+q
r
(2)
TAGHVAEEYAN AND RAJAMANI: TWO-DIMENSIONAL SENSOR SYSTEM FOR AUTOMOTIVE CRASH PREDICTION
Fig. 6.
181
Fig. 8. Magnetic field of the door while moving toward AMR sensors at 45 .
the same with any type of magnetic objects. Fig. 6 shows the
magnetic field lines of a rectangular magnet.
This phenomenon can be also observed in the experiments
with the door of a Ford passenger sedan. The door is mounted
on a wheeled platform, as shown in Fig. 7, and can be maneuvered and moved easily toward or away from the sensors in
different directions.
Fig. 8 shows a case where the door is coming toward a set
of four AMR sensors at a 45 angle. The sensor readings at
four different locations of the door during its motion are shown.
As shown in the figure, initially, the direction of the magnetic
field (shown with a green dashed line) is very different from
the normal direction of the door. Hence, it is not possible to
obtain the orientation of the door, i.e., , by only determining
the direction of the magnetic field. It can be also seen that as the
door gets closer, the magnetic field magnitude increases, and its
(5)
(6)
182
IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, VOL. 15, NO. 1, FEBRUARY 2014
(7)
(8)
yA y
(x2A
(9)
+ (yA y)2 ) 2
xA
1
(10)
Hence
Fig. 11.
dBx =
0 dm0
(2 cos2 sin2 )
4r3
(yA y)
0 dm0
4 (x2 + (yA y)2 ) 52
A
2x2A
yA b
1
(11)
+
0 dm0
3 cos sin
4r3
3xA (yA y)
0 dm0
=
.
4 (x2 + (yA y)2 ) 52
yA + b
1
dBy =
(12)
0 m0 dadx
=
4
b
m0 dadx
=
4
2x2A (yA
b
x2A
b) + (yA b)
(x2A
+ (yA b)2 )
3xA (yA y)
5
xA
1
((xA +
Byl (x, yA )
0 m0 dadx
Byl (xA , yA ) =
4
By =
0 m0 da
=
4
5 dy
3
2
(x2A
dy
+ (yA + b)2 ) 2
xA
3
xA
x2A
xA+L
0 m0 dadx
Bxl (xA , yA ) =
4
.
xA
0 m0 da
=
4
yA + b
1
+ (yA + b)2 ) 2
1
(13)
The equations for the magnetic field derived in (13) are complex and not suitable for real-time estimation of both equation
parameters and position. However, it is possible to simplify (13)
for the colored region shown in Fig. 11 for which we have
yA b and xA xth .
Assuming xA + L xA , (13) can be simplified to
yA + b
0 m0 da
Bx =
1
2
4
xA (x + (yA + b)2 ) 2
A
0 m0 da
By =
4
Bxl (x, yA )
L)2
xA+L
Bx =
yA b
yA b
1
.
(14)
TAGHVAEEYAN AND RAJAMANI: TWO-DIMENSIONAL SENSOR SYSTEM FOR AUTOMOTIVE CRASH PREDICTION
183
b
0 m0 da
+ f (p, b, xA )y 2 +
2 xA (x2 + b2 ) 12
A
0 m0 da
b
2 xA (x2 + b2 ) 12
(15)
b
0 m0 da
By =
y + f (p, b, xA )y 3 +
2 (x2 + b2 ) 32
A
=
0 m0 da
by
.
2 (x2 + b2 ) 32
A
(16)
Fig. 12. AMR sensors arrangements for 2-D position estimation.
By =
0 m0 da
2
xA 1 +
1
0 m0 da = p
=
x 2
12
2xA
xA
A
(17)
by
0 m0 da
pby
=
3 .
2
2 (x2 + b2 ) 32
2) 2
(x
+
b
A
A
(18)
p
+ qx
xA
(19)
pby
3
(x2A + b2 ) 2
+ qy .
(20)
p
+q
xA
(21)
pby
(x2A
(22)
+ b2 ) 2
Each AMR sensor measures the magnetic field along its Xand Y -axes, i.e., BxAMRi and ByAMRi . Hence, the magnetic
field of the approaching vehicle at the location of AMR sensor
i expressed in the approaching vehicle coordinate frame can be
obtained as
Bxi = BxAMRi cos() + ByAMRi sin()
(23)
Byi = BxAMRi sin() + ByAMRi cos().
As can be seen from (23), to calculate the ratio |Byi /Bxi | in
order to select the most appropriate AMR sensors for measurement update, we need at least an initial estimate of . Therefore,
a custom-designed sonar system has been developed, which
measures both the distance to the object as well as its orientation. The sonar sensor detects the objects at longer distances
compared with AMR sensors. Hence, when the AMR sensors
respond to the presence of a car, the estimated from the
sonar system can be used to select the most appropriate AMR
sensors for measurement updates. The sonar sensor is also used
to initialize the magnetic field parameters, and this is shown to
speed up the convergence of the magnetic field parameters. The
sonar system is described in the following section.
V. S ONAR M EASUREMENT S YSTEM
The developed sonar measurement system includes one
transmitter, i.e., T , at point A and two receivers, i.e., R1 and R2 ,
at distances d1 and d2 from A arranged in the order shown in
Fig. 13. This configuration of the transmitter and the receivers
makes it possible to measure the orientation of the target and its
distance from the sensors.
Measuring the travel time of sound for receivers 1 and 2,
the distance that the echo pulse has traveled can be calculated.
Using the fact that the incident and reflected angles of sound
are the same (similar to light when it reflects from a mirror), it
can be concluded that the measured distances equal l1 and l2 ,
as shown in Fig. 13. In other words, l1 and l2 equal the distance
from the image of transmitter T at point B to the receivers R1
and R2 , respectively.
Knowing l1 and l2 and the distance between the transmitter
and the receivers, i.e., d1 and d2 , the angle 2 can be calculated
using the cosine rule as
ds = d1 + d2
(24)
184
IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, VOL. 15, NO. 1, FEBRUARY 2014
Fig. 13. Sonar system with one transmitter and two receivers.
(25)
(26)
(27)
Then xs (AC), i.e., the sonar estimate of xA , can be calculated from ls since
xs =
ls
.
2
Applying the cosine rule one more time, s , i.e., the sonar
estimate of , can be also calculated as
l22 = d22 + ls2 2d2 ls cos(90 + s )
2
l2 d22 ls2
s = asin
.
2d2 ls
(28)
(29)
n1 N (0, s )
l2m = l2 + n2
n2 N (0, s ).
(30)
(31)
(32)
s
cos(y1 ) l1m l2m
=
.
n2
cos(s ) ds ls2
(33)
Similar to any sonar sensor used for 1-D position measurements, the developed sonar system will not also work at close
proximities (typically below 0.5 m). In addition, the sonar
system will not work if the orientation of the object, i.e., ,
increases so that 1 and 2 are greater than the beam angles of
the transducers. It should be mentioned that the threshold for
is not constant and slightly changes with the distance from the
object. Hence, there cannot be a constant value for threshold .
However, an easier way of detecting outliers is at the beginning
of the calculation, by looking at the values obtained for 1 and
2 . If they have imaginary values, then an outlier is detected.
This method for detecting outliers is described here later.
It is also worth mentioning here that the sonar system alone
is not able to determine yA . In other words, the object can move
arbitrary along its Y -axis and the sonar readings will remain the
same. Finally, the sonar system has a much lower refresh rate
(20 Hz) compared with AMR sensors (1 Hz). Hence, the use of
the AMR sensors is critical.
Addressing Crosstalk and Multipath Problems of the Sonar
System: Problems with crosstalk and multipath returns are addressed in three different layers of the proposed system: design
level, sonar sensor level, and estimator level.
1) Design level: The sonar transmitter is set to send out a
signal every 50 ms, and each receiver hears back the first
signal that returns to it. After the first signal has been detected, the receivers ignore any returning signals until the
next signal is transmitted.The voltage level of the signal
sent to the transmitter and the time duration of 50 ms are
design parameters. The voltage level is set such that the
sonar system is not able to detect objects more than 6 m
away. Since the speed of sound is about 340 m/s, all the
possible returns are within dt = 2 6/340 = 35 ms of
the transmitter. Hence, transmitting signals every 50 ms
ensures that there will not be any returns from a previous
transmit to interfere with the current measurement.
2) Sonar sensor level: The designed sonar system includes
one transmitter and two receivers. Using the two receivers, it is possible to measure the distance to the object
as well as its orientation. On the other hand, having
two receivers provides another level of robustness. As an
example, assume that there is an object at a distance of
xA = 2 m in front of the sonar system at an angle of
= 20 . The raw readings from the two receivers will
be l1 = 3.95 m and l2 = 4.05 m, from which xs and s
can be calculated as described by (24)(29). Now, let us
assume that due to a multipath or a crosstalk error, l1 is
measured as l1 = 3 m. This will cause the argument of
the asin function in (26) to be larger than 1, causing
an imaginary value for 2 . Hence, in general, by looking
at the values obtained for 1 and 2 , we can determine if
the readings are valid or not. This adds another level of
robustness against multipath and crosstalk errors.
TAGHVAEEYAN AND RAJAMANI: TWO-DIMENSIONAL SENSOR SYSTEM FOR AUTOMOTIVE CRASH PREDICTION
system, x
185
186
IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, VOL. 15, NO. 1, FEBRUARY 2014
q]T
(35)
where x, y, and express the position and orientation of the object; v and are the longitudinal and rotational velocities of the
object, respectively; a and are the longitudinal and rotational
accelerations, respectively; and p and q are the magnetic field
equation constants.
A. Time Update Equations
In order to obtain the time update equations of the EKF,
we need to derive the dynamic equations of the system. Considering Fig. 5, it is assumed that the object moves with a
longitudinal velocity v along its x-axis and a rotational velocity
. Using the transport theorem, the dynamic equations can be
written down as
rA = (rA )rel + rA x A = v + yA & y A = xA .
(36)
Discretizing the preceding equations, dropping the A subscript, and including longitudinal and rotational accelerations,
the following equations for the dynamics of the system are
obtained:
wk (0, Qk )
Xk = f (Xk1 , wk1 ),
xk = xk1 vk1 dt + k1 yk1 dt
yk = yk1 k1 xk1 dt
vk = vk1 + ak1 dt
1
ak = ak1 + wk1
k = k1 + k1 dt
2
k = k1 + k1 dt
k = k1 + wk1
3
pk = pk1 + wk1
4
qk = qk1 + wk1
.
(37)
(39)
i = 1, 2, 3, 4.
(40)
= fk1 X
+ , 0
X
k
k1
+
T
Fk1
+ Gk1 Qk1 GTk1
Pk = Fk1 Pk1
fk1
| +
X X
k1
1
+
k1 dt
=
0
0
0
0 0 0
0 0 0
=
0 0 0
0 0 0
Fk1 =
Gk1
k1
dt
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
dt
0
1
0
0
0
0
0
0
0
1
0
0
0
0
dt
1
0
0
0
0
0
0
0
1
0
+
0 yk1
dt
0
x+
k1 dt
0
0
0
0
1
dt
0
1
0
0
0
0
0
0
T
0
0
.
0
1
0
0
0
0
0
dt
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
(38)
TAGHVAEEYAN AND RAJAMANI: TWO-DIMENSIONAL SENSOR SYSTEM FOR AUTOMOTIVE CRASH PREDICTION
BRAT =
by
0 m0 da
2 (x2 + b2 ) 32
A
Bx
yxA
= 2
.
By
x A + b2
yi (x + di sin )
,
(x + di sin )2 + b2
i = m, n
(47)
(44)
where yi = y + di cos , i = m, n.
Now, using x
= 0
B
x
T
y
+
d
sin
RATm
m
m
m
B
+ dn sin = 0
RATn Tn yn x
k
ymeas = ym dm cos k .
(43)
k and
b
0 m0 da
2
2 xA (x + b2 ) 12
A
By =
187
ym yn = (dm dn ) cos k
x
Tm Tn = x
k + dm sin k
k + dn sin k
(45)
where
2
+ b2 , i = m, n.
(46)
Ti = x
k + di sin k
Z = h(X, n)
Z = [ xs s 0 0 ymeas ]T
p
h(X, n) = x + nx + n Bxm
+ q + (nxAM Rm cos + nyAM Rm sin ) . . .
xm
T
p
+ q + (nxAM Rn cos + nyAM Rn sin ) y + ny
. . . Bxn
xn
1
Kk = Pk HkT Hk Pk HkT + Rk
, 0
+ = X
+ Kk Z k h k X
X
k
k
k
p+
k = (I Kk Hk )Pk
1
0
p
h
Hk =
=
xm
X X
k
p
xn
0
Rk = diag([ xs
0 0
0 0
0 0
0
0
0
1
0 Bym + pdmxmcos
0
0
0
0 0
1 0
0
0
pdn cos
xn
0
0
Byn +
ymeas ]
0
0
0
0
0 x1m
0 1
0
xn
0
0
1
1
0 X
(41)
(42)
188
IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, VOL. 15, NO. 1, FEBRUARY 2014
Fig. 19.
Fig. 20.
Fig. 16. Snapshots of the estimated position of the door at different time
intervals.
TAGHVAEEYAN AND RAJAMANI: TWO-DIMENSIONAL SENSOR SYSTEM FOR AUTOMOTIVE CRASH PREDICTION
189
blue circles indicate the time interval that the AMR sensors are
responding and the estimator is in state 1 or 2 depending on the
availability of sonar measurements. In addition, in this test, xth
for the sonar sensor has been set to 1 m, and hence, the estimator
switches from state 1 to state 2 when x < xsonarth = 1 m,
However, the sonar measurements are valid up to about 0.3 m
from the transducers. With this higher threshold, we can eval-
190
IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, VOL. 15, NO. 1, FEBRUARY 2014
VIII. C ONCLUSION
This paper has focused on the development of a novel
and unique automotive sensor system for the measurement of
relative position and orientation of another vehicle in close
proximity. The sensor system is based on the use of AMR
sensors, which measure magnetic field. While AMR sensors
have previously been used to measure traffic flow rate and to
detect vehicles in parking spots, they are used here to measure
the relative 2-D position of the vehicle.
Analytical formulations were developed to predict the relationships between position and magnetic field for 2-D relative
motion. The use of these relationships to estimate vehicle
position is complicated by the fact that the parameters in the
relationships vary with the type of vehicle under consideration.
Since the type of vehicle encountered is not known a priori, the
parameters for the magnetic fieldposition relationship have to
be adaptively estimated in real time.
A system based on the use of multiple AMR sensors and
a custom-designed sonar system together with an EKF was
developed to estimate vehicle parameters, position, and orientation. The use of the combined sensors results in a reliable
system that performs well without the knowledge of vehiclespecific magnetic field parameters. Test results with a wheeled
laboratory test rig consisting of a door and tests with a fullscale passenger sedan were presented. The experimental results
in this paper confirm that the developed sensor system is viable
and that it is feasible to adaptively estimate vehicle position
and orientation even without knowledge of vehicle-dependent
parameters.
R EFERENCES
[1] J. G. Buechele and G. A. Cazzell, Automotive bumper active energy
absorption system, U.S. Patent 6 836 717, Dec. 28, 2004.
[2] D. Lee, Z. Ma, and N. Kikuchi, An innovative I-bumper concept for improved crashworthiness of military and commercial vehicles, presented
at the SAE World Congr. Exhib., Detroit, MI, USA, 2008, SAE Tech.
Paper 2008-01-0512.
[3] L. Jakobsson, B. Lundell, H. Norin, and I. Isaksson-Hellman, WHIPS
Volvos whiplash protection study, Accid. Anal. Prev., vol. 32, no. 2,
pp. 307319, Mar. 2000.
[4] R. Mobus and U. Kolbe, Multi-target multi-object tracking, sensor
fusion of radar and infrared, in Proc. IEEE Intell. Veh. Symp., 2004,
pp. 732737.
[5] S. Matzka and R. Altendorfer, A comparison of track-to-track fusion
algorithms for automotive sensor fusion, in Proc. IEEE Int. Conf. MFI
Intell. Syst., 2008, pp. 189194.
[6] G. R. Widmann, M. Daniels, L. Hamilton, L. Humm, B. Riley,
J. K. Schiffmann, D. E. Schnelker, and W. H. Wishon, Comparison of
lidar-based and radar-based adaptive cruise control systems, presented at
the SAE World Congr., Detroit, MI, USA, 2000, 2000-01-0345.
[7] I. Moon, K. Yi, D. Caveney, and J. K. Hedrick (2005, Sep.). A multi-target
tracking algorithm for application to adaptive cruise control. J. Mech. Sci.
Technol. [Online]. 19(9), pp. 17421752. Available: http://dx.doi.org/10.
1007/BF02984186
[8] D. Caveney, B. Feldman, and J. K. Hedrick, Comprehensive framework
for multisensor multitarget tracking in the adaptive cruise control environment, in Proc. 6th Int. Symp. AVEC, 2002, pp. 697702.