Professional Documents
Culture Documents
Real Time Filter and Fusion of Multi Sensor Data For Localization of Mobile Robot
Real Time Filter and Fusion of Multi Sensor Data For Localization of Mobile Robot
Real Time Filter and Fusion of Multi Sensor Data For Localization of Mobile Robot
6464(Print), ISSN 0976 6472(Online), Volume 6, Issue 1, January (2015), pp. 49-57 IAEME
IJECET
IAEME
Chandrappa2,
Anil Kumar G C3
ABSTRACT
This project work presents the sensor fusion of Global Positioning System (GPS), Inertial
Measurement Unit (IMU) and Odometry data from wheel encoders which is used to estimate
localization of mobile robot. GPS, IMU, Wheel encoders are interfaced with MBED. Filters are used
to remove erroneous noise from the data obtained from sensors. Low pass IIR filter is used for
Differential Global Positioning System (DGPS) data, Complementary filter for IMU data. The
project work discusses each of these approaches for Real time filtering of fusion of sensor in an
Outdoor environment. The above Fusion algorithm is implemented on MBED Platform.
Keywords: Complementary Filter, Fusion, Localization, Low Pass IIR Filter, Outdoor Environment.
I. INTRODUCTION
Sensor fusion concerns several field of research including multiple sensors like GPS, IMU,
Wheel encoders. For the Outdoor mobile Robot to estimate the localization DGPS is used for
improved accuracy. It is not sufficient to make use of only DGPS, as DGPS runs on Line of Sight
(LoS), for better accuracy fused data from GPS, IMU and Odometry is preferred.
In earlier days Researchers make use of only GPS, as it was giving erroneous noise and rapid
fluctuation in localization [1] [8], later they came up with an idea of DGPS, in which two GPS were
used, one GPS is placed on ground reference (reference point) and the other GPS was placed on
robot. For Localization estimate with the help of GPS modules, Zigbee (XBEE Company) protocol is
preferred which is according to the design requirement. IMU plays a vital role in order to determine
49
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976
6464(Print), ISSN 0976 6472(Online), Volume 6, Issue 1, January (2015), pp. 49-57 IAEME
localization by means of estimating roll, pitch and yaw which will be given by tri-axial gyroscope,
tri-axial accelerometer and magnetometer. In this project IMU has 9 Degree of Freedom (DOF) [2].
Wheel encoders (Odometry method) are used to determine the wheel speed and are used to
control the speed of mobile robot. Localization of mobile robot is calculated by making use of
encoder counts. Encoder counts are similar to PWM. Encoder counts are provided by Maxon DC
motor which is mounted onto DC motor which is required for rotation of the wheel. In general,
localization of mobile robot navigation in outdoor environment GPS, IMU and odometry data is
incorporated in the design. These are entirely self-contained within the robot in the sense that they
are not dependent on the transmission of signals from the robot or reception from an external source.
Inertial sensors measurements are independent of robot physical parameters. However, inertial
navigation systems do rely upon the availability of accurate knowledge of robot position at the start
of the navigation
(1a)
50
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976
6464(Print), ISSN 0976 6472(Online), Volume 6, Issue 1, January (2015), pp. 49-57 IAEME
y = Yabs- Ycalc
(1b)
z = Zabs- Zcalc
(1c)
where,
x, y, z are positional errors due to Odometry.
Xabs,Yabs, Zabs are absolute position and orientation of mobile robot
Xcalc, Ycalc, Zcalc are position and orientation error of the robot as computed from odometry data.
Center of gravity in clockwise direction is given by,
rcg,cw = (, )
+ (
, )
(2a)
(2b)
(3)
Where:
p is the feed forward filter order
bi is the feed forward filter coefficients
q is the feedback filter order
i is the feedback filter coefficients
x[n]is the input signal
y[n] is the output signal.
/
$.
*.
# $ yn j = # b* xn i
Transfer function H(Z) of the system is given by,
51
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976
6464(Print), ISSN 0976 6472(Online), Volume 6, Issue 1, January (2015), pp. 49-57 IAEME
2(3)
H(Z) = 4(3) =
7< 67 89:*
?
=<
(4)
= >9:$
For 1st order system, output of the low pass Infinite Impulse Response (IIR) filter equation is
given by,
b[i] = (1-)*b[i-1] + * (c[i] - b[i-1])
(5)
where,
b[i] = present output
b[i-1] = previous output
= gain parameter
c[i] = present input
Data obtained from GPS (latitude, longitude and altitude) are substituted in eqn.6 or in eqn.7
and then the updated value is used in eqn.5
Eqn.5 determines the gain quantity which is dependent on both input and output. - on input and
1- on output.
From the first GPS latitude1, longitude1 and altitude1 data are extracted, these data are
converted into XYZ coordinates with the help of eqn.6,
X1= R*cos(latitude1)*cos(longitude1)
(6a)
Y1=R*cos(latitude1)*sin(longitude1)
(6b)
Z1=R*sin (altitude1)
(6c)
And from the second GPS latitude2, longitude2 and altitude2 data are extracted, these data are
converted into XYZ coordinates with the help of eqn.7,
X2 = R*cos(latitude2)*cos(longitude2)
(7a)
Y2 = R*cos(latitude2)*sin(longitude2)
(7b)
Z2=R*sin(altitude2)
(7c)
First MBED sends GPS data (latitude, longitude and altitude) to second MBED via Zigbee
protocol. Since, we are using DGPS. We take the difference of second GPS coordinates with the first
GPS coordinates in order to estimate XYZ coordinate. Localization of mobile robot considering
localization from set of eqn.6 and eqn.7 with respect to reference point is given by,
Xdiff=X2-X1
(8a)
Ydiff=Y2-Y1
(8b)
Zdiff =Z2-Z1
(8c)
52
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976
6464(Print), ISSN 0976 6472(Online), Volume 6, Issue 1, January (2015), pp. 49-57 IAEME
Baud rate of both MBED micro controller are set to 9600 for GPS communication and 57,600
for IMU and Odometry communication. In GPS module, if lock is enabled we can able to fetch
localization readings.
B. Complementary filter
IMU measures accelerations and rotation rates, and possibly earths magnetic field in order to
determine a bodys attitude. The complementary filter fuses the accelerometer and integrated gyro
data by passing the former through a first order low pass and the latter through a first order high pass
filter and adding the outputs [6].
The transfer function can be represented by,
=
@AB
AB
@AB C
w=
@AE
@AB
(9)
1+TC = G1 + I z :
A
A
(10)
(11)
L
L
L
(@ )
L
(12)
where,
= yaw angle
= magnetic angle of inclination
53
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976
6464(Print), ISSN 0976 6472(Online), Volume 6, Issue 1, January (2015), pp. 49-57 IAEME
= angle of declination
Hx = Magnetic field along x axis
Hy = Magnetic field along y axis
Localization of the robot from wheel encoders as a vector with the three elements (x, y
direction and pitch)
x
P8> = QyR
(13)
sin T
cos T
0
0
0Z
1
(14)
This matrix can be used for localization x, y. This operation is denoted by R()*Pxy because
the computation of this operation depends on the value of pitch()
[\] = S(T)[\]
(15)
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976
6464(Print), ISSN 0976 6472(Online), Volume 6, Issue 1, January (2015), pp. 49-57 IAEME
Figure 4 3-D plot of localization along XYZ axis with respect to time
Figure.4 describes the localization along X, Y, Z axis with filter and without filter. The gain
what I have chosen is 0.5. Gain () is the fraction of quantity depending on input, and (1-) is the
fraction of quantity depending on previous output.
55
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976
6464(Print), ISSN 0976 6472(Online), Volume 6, Issue 1, January (2015), pp. 49-57 IAEME
When the robot is navigating in the inclined surface it will experience roll and pitch variation.
These rapid variation will result in overestimation and underestimation of robots position. Although
when the robot moves in an inclined plane, its movement should be similar to its movement in
ground plane. To achieve this in an efficient way we have incorporated IMU as shown in fig 5, fig 6
and fig 8.
56
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976
6464(Print), ISSN 0976 6472(Online), Volume 6, Issue 1, January (2015), pp. 49-57 IAEME
ACKNOWLEDGEMENT
The authors express their sincere gratitude to Dr Jharna Majumdar, Dr S L Pinjare for their
encouragement and support to undertake project at NMIT. The authors thank the Research associate
team of NMIT led by Sandeep Malu for continuous support for guiding and involvement in the
project.
REFERENCES
[1]
Eric North, Jacques Georgy, Improved Inertial/ Odometry/ GPS Positioning of wheeled
Robots even in GPS-Denied Environments, 2012
[2] Alejandro J. Weinstein, Kevin L. Moore, Pose Estimation of Ackerman Steering Vehicles
for Outdoors Autonomous Navigation Golden, CO, pp 579-584, 2010
[3] Armando AlvesNeto, Douglas GuimaraesMacharet, Adaptive complementary filtering
algorithm for mobile robot localization, 2009
[4] Gerasimos G. Rigatos, Sensor fusion for co-operative behavior of mobile robots, Unit of
Industrial Automation, Industrial Systems Institute, RionPatras, Greece, 2005
[5] Gerasimos G. Rigatos, Distributed motion planning and sensor fusion for cooperative
behavior of mobile robots, Industrial Systems Institute, RionPatras, Greece, 2004
[6] Moshe kam, Xiaoxunzhu, and Paul kalata, Sensor Fusion for Mobile Robot Navigation,
2000
[7] MbaitigaZacharie, Sensor Fusion Based Discrete Kalman Filter for Outdoor Robot
Navigation, 2007
[8] Samadzadegan, FAbdi, Autonomous navigation of Unmanned Aerial Vehicles based on
multi-sensor data fusion, 20th Iranian Conference on Electrical Engineering (ICEE),
pp. 868 873, 2012
[9] Jun Zhou, Bolandhemmat. H, Integrated INS/GPS System for an Autonomous Mobile
Vehicle, International Conference on Mechatronics and Automation, ICMA, pp. 694-699,
2007.
[10] Angelino, C.V, Baraniello, V R Cicala,UAV position and attitude estimation using IMU,
GNSS and camera, 15th International Conference on Information Fusion (FUSION),
pp.735-742, 2012.
[11] Maha M. Lashin, A Metal Detector Mobile Robot as a New Application of
Microcontroller, International Journal of Computer Engineering & Technology (IJCET),
Volume 5, Issue 7, 2014, pp. 24 - 35, ISSN Print: 0976 6367, ISSN Online: 0976 6375.
[12] Sreekanth Reddy Kallem, Artificial Intelligence in the Movement of Mobile Agent
(Robotic), International Journal of Computer Engineering & Technology (IJCET),
Volume 4, Issue 6, 2013, pp. 394 - 402, ISSN Print: 0976 6367, ISSN Online: 0976 6375.
57