Professional Documents
Culture Documents
mobile robot
István Kecskés*, Zsuzsanna Balogh**, Péter Odry**
*Appl-DSP, Palić, Serbia
** Subotica Tech, Subotica, Serbia
kecskes.istvan@gmail.com, balogh.zsuzsanna7@gmail.com, podry@vts.su.ac.rs,
1
II. THEORETICAL KINEMATIC MODEL base.. The mechanical steering angle γ is limited, and the
OF BICYCLE maximum value of this dictates the minimum value of R1.
The scheme of theoretical kinematic m model of a Note that R2 > R1 which means the front wheel must
bicycle can be seen in Figure
igure 1. The structure of car was follow a longer path and therefore rotate more quickly
marked with light gray, while the structure of the bicycle than the back wheel. When a four-wheeled
four vehicle goes
with dark gray, the local coordinate system with red, and around a corner thee two steered wheels follow circular
the global coordinate system with blue. The angle of paths of different radius and therefore the angles of the
steering wheel is gamma ( γ ), the rear wheel speed v in steered wheels γ L and γ R should be very slightly
direction xv. The direction of axis of two wheels are different. This problem is easy to solve with the
marked with dotted lines, they intersect at point ICR ( frequently used Ackermann steering mechanism, which
Instantaneous Centre of Rotation), the distance between drives wheels with different speeds [1].
the rear and the front wheel from the ICR point are R1 In the global coordinate system the robot system can
and R2. The bicycle rear wheel is attached to the body, be written in the following equations, the kinematic
while the front wheel can be steered [1]. model:
2
completed. On figure 3 it can be seen that the model does IV. DRIVING OF THE MODEL
not correspond to equation (5). The tangent of the angle
Following the establishment of a robot can achieve a
calculation and the division with shaft distance (L) are
number of regulation options. The goal can be to reach a
missed.
certain point, trajectory tracking, tracking a moving
target, tracking a line, turning into a predetermined
direction (angle), etc. In addition, you can choose one
from the number of controllers. We chose the example of
reach a target point driving, and with Fuzzy controller.
Figure 5 shows the realization of it in Simulink.
3
yE
α = tan−1 (8)
xE
ϕ = θ −α (9)
d= xE + y E
2 2 (10)
4
variables GammaMin and GammaMax. In this example it In the example shown, the initial parameters are as
is [-1 +1] radian. follows:
time = 5; vmin = 0;
The following rules set up for the fuzzy controller
xdes = -30; vmax = 40;
(Figure 10): ydes = 15; shaftd = 0.5;
xstart = 0; gammamin = -0.2;
ystart = 0; gammamax = 0.2;
goaltol = 0.3;
Figure 13 shows the paths taken by the vehicle to be
Figure 10. Fuzzy rules almost identical. With the difference that P control is not
sent to the finish during the given time (5 sec). This is
Figure 11 shows the Fuzzy’s surface of output in terms because the P controller always slows down the vehicle as
of speed. In the three-dimensional coordinate system the it approaches to the goal.
surface displays all the possible values of speed which
depend on two inputs: phi and d. The speed in phi angle
point of view is maximum value, when the car is moving
towards the goal line. The speed is less when more left or
right of the vehicle is turning away from the goal. The
rule of speed in terms of distance: greater distance effect
higher speed.
5
so softer turn to the target path. The Figure also shows requirements. The examples present the differences
that P controller affects faster speed at the beginning with between the two controllers, the advantages and
a short time, then slowly rolling towards the goal, but it disadvantages. Fuzzy Control shows better solution in
does not reach it. The fuzzy keep slowly during object terms of speed, because the reality is closer to its
turning towards the target, but as more find the right behavior. Fuzzy advantage is that better can be
angle, more and more fast. At the end of the road it will customized the desired behavior with set the rules. Of
slow down as it is pre-determined with rules. course, Fuzzy needs more calculation than the P
controller.
VII. CONCLUSION We carried out a fitness analysis of current example,
We were building the bicycle kinematic model on [1], which can be calculated from measurement of driving
which is completed. We used the published P control for parameters (Table I.). The fuzzy achieved better value by
comparison purpose. In addition we have developed this evaluation too.
Fuzzy controller which operates in accordance with our
TABLE I. – FITNESS EVALUATION OF P AND FUZZY DRIVING EXAMPLE
P Fuzzy
Property of driving Description Formula controller controller
completion time Driving is better if completion time shorter t C = t | d ≤ 0 .5 m 8.76 2.48
∫ v (t )dt
1 tC
average speed Magnitude of speed normalize the other properties v= 4.51 15.52
tC t =0
1 dv(t )
2
t ∫ dt
mean square of acceleration Driving is better if acceleration are smaller and without peaks e= dt 2095 779.6
105
Fitness function The value which indicate goodness of driving or controlling F= 1.207 3.324
tC ⋅ v ⋅ e
REFERENCES
[1] Peter Corke: Robotics, Vision and Control; Fundamental
Algorithms in MATLAB, ISBN 978-3-642-20143-1, Springer-
Verlag Berlin Heidelberg, 2011
[2] Jacky Baltes, Robin Otto: „A Fuzzy logic controller for car-like
Mobile Robot”
http://www4.cs.umanitoba.ca/~jacky/Robotics/Papers/baltes99_fuz
zy_logic_contr_car_like_mobil_robot.pdf
[3] Istvan Kecskes, Peter Odry: „Fuzzy Controlling of Hexapod
Robot Arm with Coreless DC Micromotor“, XXIII. MicroCAD,
Miskolc, 2009 march 19-20
[4] Prof. Katie Byl: Mobile Robot Kinematics,
http://www.ece.ucsb.edu/courses/ECE179/179D_S12Byl/pdf/Mobi
leRobotKinematics.pdf