Fuzzy Route Control of Dynamic Model of Four-Wheeled Mobile Robot
Fuzzy Route Control of Dynamic Model of Four-Wheeled Mobile Robot
Abstract — The dynamic model calculates the forces and model that were used for comparison can be found in
electric activities that appear during the movement of the Table I.
robot. The article [1] demonstrates a full kinematic model of
a four-wheeled robot car which we have expanded with a
minimal dynamic model in this work. Fuzzy route control
was applied, because it was more customizable than the
simple PID control. In the foreseen task, the robot must
reach a target point by some predefined specific
requirements. We performed a comparison between the P
route controller solution in article [2] and our Fuzzy
controller for a case. Fuzzy logic, one of the most suitable
soft computing methods which can represent the knowledge
base of the routing requirement [3]. We developed fitness
function evaluation of driving, for which the kinematic and
dynamic characteristics are required.
I. INTRODUCTION
The kinematic and dynamic modeling is essential for
effective development of robots, especially if controllers
are under research. The kinematic model describes the
movement while the dynamic model shows the forces,
torque effects on the robot body and engine and electrical
activity of the motor. These characteristics are important
for the development of suitable controllers [4, 5, 6, 7].
Any robot structure may be in focus, one of the most
important tasks is the appropriate moves of robot in the Figure 1. Theoretical scheme of bicycle/car [1]
space. For this it is always important to consider the
number of degrees of freedom, in which the object can The scheme of theoretical kinematic model of a bicycle
move. The number of drives that can be assigned to a can be seen in Fig. 1.
robot will determine its degrees of freedom. If we equip a
robot with as many drives, as its number of degrees of TABLE I. EXAMPLE PARAMETERS OF KINEMATIC MODEL
freedom, then it can achieve all the possible directions for Parameter Symbol Example value
movement. In many cases there is no need to assign each wheelbase (shaft distance) L[m] 0.2
drive for every freedom, because the robot works equally
well with less drives. For example, it is the case with this Limits of steering angles γ MIN , γ MAX [rad ] -0.5, +0.5
car which we are studying in this paper. This vehicle has
three degrees of freedom, but is only equipped with two B. Dynamic Model
drives. In many cases gravity is counted as an additional Besides the kinematic model we developed a minimal
drive. dynamic model of the bicycle which is described in this
Once the robot has been built it can achieve a number paper. The whole control loop system can be seen in Fig.
of regulation options. The goal can be to reach a certain 2, which also includes the main subject of research: route
point, trajectory tracking, tracking a moving target, controller. The minimal dynamic model means for us that
tracking a line, turning into a predetermined direction it can neglect the inertial and friction effect of the wheels,
(angle), etc. In addition, you can choose one from the furthermore the dynamic reaction of steering and turning.
number of controllers. Thus the following main part in the dynamic model
remains:
II. BICYCLE MODEL OF CAR-LIKE ROBOT 1. DC motor, which drives the rear wheel or wheels of
the robot-car. The gear with its losses is installed in the
A. Kinematic Model motor model. This modeling was published in [4, 5].
The theoretical description and Simulink
implementation of the kinematic model has been given in
[1] in more details. The example, parameters of kinematic
Figure 2. Block Diagram of Full Kinematics and Dynamics model with Route Controllers
Jω
2
mv 2 2
v gear ratio rG 50
Ek = = ⇒ J = m = mr 2
2 2 ω DC motor parameters Faulhaber 2232012SR [8]
(1) gear parameters Faulhaber 26A [9]
2
mr PID motor controller (P, I, D) (10,100,0)
JR =
rG supply voltage U MAX [V ] 12
d= xE + y E
2 2 (4)
yE
α = tan−1 (5)
xE Figure 5. Distance input (d) of Fuzzy controller
ϕ = θ −α (6) The second input is the phi angle with the following
value domain [-π, +π] radian. This is the angle, which
shows how much the deviation is between the target and
III. BUILDING FUZZY ROUTE CONTROLLER the orientation of the car. There are three values: right,
The Fuzzy controller includes two inputs as can be left, or straight. Relative to the target car thus indicating
seen in Fig. 4: d as distance and phi as the angle of whether it is in the right, left or straight. The following
direction error. Outputs are v as velocity and gamma as rules are set up which also can be seen in Fig. 7:
angle of steering wheel, with which the model is • If the robot-car stands in left direction, the speed is
controlled. These outputs will be the inputs of the reduced and it turns to the right.
dynamic and kinematic model. We chose trimf as a • If the robot-car stands in right direction, the speed is
membership function for easy use and implementation. reduced and it turns to the left
Other parameters were left as default values, because
there was no purpose to study and optimize them in more • If the robot-car stands in the target’s direction, then it
detail. moves forward with high-speed.
Two Membership Functions were created for the two The output speed (v) can be slow or fast (Fig. 6). Based
types of ratings determined for the distance (Fig. 5): close on the rules laid down the car's speed will take values in
to the goal (small), or away from the goal (big). The two the given [-0.2 1] m/s range.
membership functions are set up in form as shown, so
that the small value can influence the output activated for
1 meter distance. This is necessary to have a more
gradual decrease of speed during approaching the target.
We determined with rules that if the distance is small,
then the speed is reduced.
Figure 10. XY graph of path (P and FZZ). Starting point in [0,0], target
point in [-4,2]
∫ v(t )dt
1 tC
average speed
Magnitude of speed normalizes the other v= 0.442 0.577
properties tC t =0
1 dv(t )
2
Driving is better if acceleration is smaller
t ∫ dt
mean square of acceleration
and without peaks ac = dt 0.879 0.103
∫ i (t )u (t )dt
1 tC
electric energy consumption Driving is better if electric energy p= 1.649 1.283
(average power) consumption is smaller tC t =0
1
fitness function
The value which indicates effectiveness F= 0.131 1.421
of driving or controlling tC ⋅ v ⋅ ac ⋅ p
[5] István Kecskés, Péter Odry: Full kinematic and dynamic modeling
REFERENCES of “Szabad(ka)-Duna” Hexapod, SISY 2009, pp:215-219, ISBN:
[1] István Kecskés, Zsuzsanna Balogh, Péter Odry: Modeling and 978-1-4244-5348-1
fuzzy control of a four-wheeled mobile robot, SISY 2012, in press. [6] Eric N Moret: Dynamic Modeling and Control of a Car-Like
[2] Peter Corke: Robotics, Vision and Control; Fundamental Robot, Virginia Polytechnic Institute and State University, 2003
Algorithms in MATLAB, ISBN 978-3-642-20143-1, Springer- [7] M. Egerstedt, X. Hu and A. Stotsky: Control of Car-like Robot
Verlag Berlin Heidelberg, 2011 Using a Dynamic Model, Optimization and Systems Theory,
[3] Imre J. Rudas, János Fodor: Intelligent Systems, Int. J. of Royal Instritute of Technology, SE - 100 44 Stockholm, Sweden
Computers, Communications & Control,Vol. III (2008), pp. 132- [8] http://www.faulhaber.com/uploadpk/EN_2232_SR_DFF.pdf
138, E-ISSN 1841-9844 [9] http://www.faulhaber.com/uploadpk/EN_26A_DFF.pdf
[4] István Kecskés, Péter Odry: Fuzzy Controlling of Hexapod Robot
Arm with Coreless DC Micromotor, XXIII. MicroCAD, Miskolc,
2009 march 19-20