=
A and B are x
uzzy logic
fication that m
The equation
Image segmentatio
on, the main of
( , ) f i j is the im
2
( , ) ( f i j f +
( , f i W
( , ) f i j
is the Heigh
nd of edge is
e segmentation ba
n, first of all, s
d right from mi
vision system
Figure 9.
Figure8: The Fina
r[17-18]
consists of a
nowledge and a
c values that th
portant issues i
and outputs of
to get the fuzz
placement of a
gle command.
inminmax)
ation as follow:
( )
( )
, min
=
B
A
x y
x
and y belong t
control outpu
method is cent
as follow:
on based on ROI
f purpose is to d
mage intensity
, / 2 ) i W j =
/ 2 ) 25 W j =
0 =
ht and width
s detected, as
sed on edge detect
search the botto
iddle of every
can obtain the
l image
rule bases co
a variable base
hey consider.
in fuzzy contro
f the system. In
zy controller in
angle, the fuzz
In this paper,
is used to solv
:
( ) ( )
) ( )
,
A B
B
x y
y
.
o the fuzzy set
ut is obtain
ter average de
detect the
then the
255 =
55
(1)
h of image,
s showed in
tion
om of image
pixel. Under
e information
ontaining the
es containing
ller design is
n this paper,
nput that are
zy controller
, Mamdanis
ve the fuzzy
(
(2)
t.
ned through
fuzzification
- 1113 -
( )
( )
1
1
m
l l
l
m
l
l
p h B
y
h B
- =
=
'
=
'
_
_
(3)
Where represents the membership function resulting
from the inference of the rules, and
( )
l
h B'
i
p is the membership
function for the different values of the output variable of the
rules. This method is very commonly used in control
applications.
Triangular and trapezoid membership functions are chosen
for inputs and outputs, as shown in Figure 10. These are simpler
easier to computation and tune.
(a)
(b)
(c)
Figure9: (a)(b)(c)Membership functions of fuzzy logic controller
Fuzzy if-then rules are based on human-like and experience
of experts to establish. For example, If lateral offset to NB
(vehicle in the left of center line), displacement of angle to N
(the angle between the centerline of the vehicle is left),
according to the human intuition and expertise that steering
wheel command should be NB (steering wheel to rotate
clockwise substantially), etc..According to the above described,
the fuzzy table is built, as shown in Figure 11.
Figure10: Rule base of fuzzy logic controller
Under these conditions, fuzzy logic controller can infer the
appropriate steering wheel angel command and make the
experimental car driving in the center of lane.
2. Lane-change and Obstacle-avoidance
Figure11: The trajectory of lane-change.
At least lane-change and obstacle-avoidance section, inertial
measurement unit is used to search the information of the driver,
such as yaw rate, yaw angle, acceleration and so on. According
to above information, we can simulate the lane-change
trajectory of driver and convert to the corresponding trajectory
of the steering wheel rotation angle. The information of driver
and implementation of lane-change is similar like sine and
cosine waves, as shown in Figure11. The figure is the
trajectories of twice lane-change where red block is the
experimental vehicle implementation of left lane-change results
and green block is the experimental vehicle implementation of
right lane-change results. According to above, we use actuator
to control the steering wheel to reach purpose of lane-change
and obstacle-avoidance. When implementation of lane-change
is an open-loop system, in order to increase the stability and
safety of the autonomous driving system, once the experimental
car switched to the adjacent lane, the system will immediately
redetect the land mark and add the road information to enhance
the stability.
In the detection of obstacles, the laser range finder is used to
scan the obstruction, in front of the center of vehicle 85 to 95
degrees as the obstruction area, when the distance is less than a
safe distance, the system will implement twice lane-change to
automatically dodge obstacles to ensure the smooth flow of
traffic.
IV. EXPERIMENTAL RESULTS
In this section, we present a set of experiments showing the
behavior of the autonomous driving system. The system is
implemented based on an embedded DSP platform and the
overall system has been equipped in our golf-car platform. The
experimental car is equipped with several sensors, such as laser
range finder, steering sensor, brake sensor, inertia
measurements unit (IMU) and so on, and throttle/brake
actuators, as shown in Figure12. The system has been examined
successfully on the NSYSU campus road. The image
processing interface including lateral offset, displacement of
angel, width of road, and so on.
- 1114 -
Figure12: Hardware diagram
A. Lane-keeping at Constant Speed
The image is data of lane-keeping, the data sequence of
displacement of angle, lateral offset, obstacle distance, vehicle
speed, steering angle, as shown in Figure13. The experimental
result of the vision-based lane-keeping at 5 km/h on the
NSYSU campus road. The lateral offset and displacement of
angle vibrating about zero presents that the experimental car is
automatically driving in the centerline of the road and operated
the throttle circuit to keep constant speed.
Figure13: The information of lane-keeping.
B. Lane-change at Constant Speed
Figure14: The information of left lane-keeping
Figure14 shows the information of left lane-change, before
and after the implementation of left lane-change that the offset
and angle vibrating about zero presents that the experimental
car is automatically driving in the centerline of the road. The
whole chart is lane-keeping mode to left lane-change mode and
back to lane-keeping mode. While implement of left
lane-change, red frame grabbed, and the steering angle is
formation of cosine wave, the amplitude and cycle is about 90
degree and 8 seconds, respectively. When the experimental car
had moved to the adjacent lane, the vision system re-caught the
lane mark and thus the system returned to the lane-keeping
mode. Experiment of lane-change mode at the constant speed 5
km/h.
Figure15 shows information of left lane-change, the
experimental result of the vision-based right lane-change at
constant speed about 5 km/h. Before and after implementation
of right lane-change, the lateral offset and displacement of
angle vibrating about zero presents that the experimental car is
automatically driving in the centerline of the road. While
implement of left lane-change, red frame grabbed, and the
steering angle is formation of sine wave, the amplitude and
cycle is about 90 degree and 8 seconds, respectively.
- 1115 -
F
V. CONCLUSIONS
The main contribution of this paper is to develop DSP
platform automatic driving system, a combination of security,
automation, el nd the entire
sy
ectronic, humanization features, a
stem is installed in the golf-car. The embedded system not
only provides lane keeping, lane change, and
obstacle-avoidance in front of automatic driving function, in
addition, also consider the issue of increasing importance
attached to comfort, therefore fuzzy logic algorithm is used to
simulate the human-like behavior of the driver, in order to
increase the stability of vehicle systems, when switch to the
adjacent lane, once the vision system detects lane that is
immediately into the lane keeping mode in order to ensure the
safety. At least the overall system has been examined on
campus roads.
REFERENCE
[1] G. Leen, an
Computers
Figure15: The information of right lane-change
C. Obstacle-avoidance at Constant Speed
Figure16 shows information of obstacle-avoidance. Before
and after the implementation of obstacle-avoidance that the
lateral offset and displacement o angle vibrating about zero
presents that the experimental car is driving in the centerline of
the road. While implementation of obstacle-avoidance, red
frame grabbed, the forward there is obstacle and the distance is
less than 9 meters, the system will implementation
obstacle-avoidance mode. In this time, the information of the
road, such as lateral offset, displacement of angle, will be lost
because of the fact that the vision system can`t detect lane mark
when implementation of the lane-to-lane transition.
igure16: The information of obstacle-avoidance
d D. Heffernan, Expanding automotive electronic systems,
, pp. 88-93, 2002.
zuka, Advanced Vehicle Control Systems AVCSResearch
mated Highway Systems in California Path, IEEE Vehicle
Systems for Intelligent Transportation
ing Maneuver,
[6]
[7]
[8]
[2] M. Tomi
for Auto
Navigation and Information Systems, pp. 41-45, 1994.
[3] I. Masaki, Machine-Vision
Systems, IEEE Intelligent systems, vol. 13, no. 6, pp. 24-31, 1998.
[4] J. E. Naranjo, C. Gonzalez, R. Garcia, and T. dePedro, Lane-Change
Fuzzy Control in Autonomous Vehicles for the Overtak
IEEE Transactions on Intelligent Transportation Systems, vol. 9, no. 3,
pp. 438-450, 2008.
[5] A. Eidehall, J. Pohl, F. Gustafsson, and J. Ekmark, Toward
Autonomous Collision Avoidance by Steering, IEEE Transactions
on Intelligent Transportation Systems, vol. 8, no. 1, pp. 84-94, 2007
D. Pomerleau, Visibility estimation from a moving vehicle using the
RALPH vision system, IEEE conference on Intelligent Transportation
Systems, pp. 906-911, 1997.
D. Pomerleau, RALPH: Rapidly adapting lateral position handling,
IEEE Proceedings of Intelligent Vehicle Symposium, pp. 506-511,
1995.
J. Mar, and L. Hung-Ta, The car-following and lane-changing collision
prevention system based on the cascaded fuzzy inference system,
IEEE Transactions on Vehicular Technology, vol. 54, no. 3, pp. 910-924,
2005.
[9] K. R. S. Kodagoda, W. S. Wijesoma, and E. K. Teoh, Fuzzy Speed and
Steering Control of an AGV, IEEE Transactions on Control Systems
Technology, vol. 10, no. 1, 2002.
[10] M. Canale, L. Fagiano, A. Ferrara, and C. Vecchio, Vehicle Yaw
Control via Second-Order Sliding-Mode Technique, IEEE
Transactions on Industrial Electronics, vol. 55, no. 11, pp. 3908-3916,
2008.
[11] K. Jeongmin, and K. Hyunsoo, Electric Vehicle Yaw Rate Control
using Independent In-Wheel Motor, IEEE Power Conversion
Conference, vol. 2, no. 5, pp. 705-710, 2007.
[12] G. Usman, and F. Kunwar, Autonomous vehicle overtaking- an online
solution, Automation and Logistics, IEEE International Conference on
vol. 5, no. 7, pp. 596-601, 2009.
[13]
ystem, International Conference on
[15]
[16]
lgorithm (TFALDA) for Autonomous Driving, Intelligent
sis with a Fuzzy Logic Controller, International Journal of
H. Jin-ying, P. Hong-xia, Y. Xi-wang, and L. Jing-da, Fuzzy Controller
Design of Autonomy Overtaking S
Intelligent Engineering Systems, vol. 25, no. 29, pp. 281-285, 2008.
[14] W. Y. He, DSP-based Cooperative Urban Cruise Control and
Stop-and-go with Intersection Safety Maneuver, MS Thesis, National
Chiao Tung University, Hsinchu, Taiwan, Republic of China, July, 2007
Y. T. Wu, An Embedded DSP Lane-keeping, Lane-change, and
Overtaking Control System in Autonomous Vehicles, MS Thesis,
National Chiao Tung University, Hsinchu, Taiwan, Republic of China,
July, 2007.
Y. U. Young, and O. S. Young, Three-Feature Based Automatic Lane
Detection A
Transportation Systems, vol. 4, no. 4, 2003.
[17] L. A. Zadeh, Fuzzy Sets, Information and Control, vol. 8, pp. 338-353,
1965.
[18] E. H. Mamdani, and S. Assitian, An Experiment in Linguistic
Synthe
Man-Machine Studies, vol. 7, no. 1, pp. 1-13, 1975.
- 1116 -