Professional Documents
Culture Documents
445 2085 1 PB
445 2085 1 PB
445 2085 1 PB
1
Modeling Evolutionary Algorithms Simulation and Artificial Intelligence, Faculty of Electrical
and Electronics Engineering, Ton Duc Thang University, Ho Chi Minh City, Vietnam.
2
Faculty of Electrical and Electronics Engineering, Ton Duc Thang University, Ho Chi Minh
City, Vietnam.
manent magnet direct current (PMDC), brush- In this work, considering longitudinal dy-
less direct current (BLDC), step, or dc servo namic of a wheel mobile robot only, a control-
motors. The motors were considered as either oriented model is derived and used for design-
torque sources, which serve as inputs to the dy- ing a SMSC for the DC motor. The effect of
namic model, or speed sources for the kinematic the multi-motor coupling characteristics and un-
model of the robots. This means that the control modelled dynamics are considered lumped and
system is designed to control the motors in order bounded disturbance terms.
to track a desired trajectory, either by regulating
The investigation will delve into the effects of
the torque or speed of the motors. However, no
SMSC parameters, including convergence and
detail speed control system design for the motors
reaching rates, alongside simulation configura-
was discussed in the mentioned works.
tions, such as the time step. We will simultane-
For dc motors, the interested control prob- ously consider metrics like rising time, steady-
lems are typically speed, torque, and/or position state error, and control ripple factors to metic-
control. These problems can be solved by uti- ulously select optimal values for both controller
lizing various linear and nonlinear control tech- parameters and simulation settings.
niques, such as PI/PID [11–15], pole-placement
We will assess the performance of the sliding
for MIMO system [16], active damping injection
mode speed controller with optimized parame-
[17], soft computing technique [18, 19], adap-
ters across the entirety of the DDWMR system.
tive controller [20, 21], model predictive control
Relative Root Mean Square Error (RRMSE)
[22–25]. In all these mentioned works, DC mo-
metrics are defined and will serve as the bench-
tors were considered standalone systems, with a
mark for evaluating the tracking performance of
constant, a step change, or some bounded noise
individual left and right motors, as well as the
load torques. Practically, the performance of
overall robot dynamics.
these controllers can differ greatly when applied
to standalone DC motors versus DC motors used The remainder of this work is organized as
in mobile robots. In addition, several parame- follows. Section II introduces the development
ters of the mobile robots are not exactly known of the control-oriented model and outlines the
and/or not to be constants during operation. In systematic approach employed in designing the
this case, robust control techniques should be sliding mode speed controller. Section III elab-
used. orates on the performance evaluation of the de-
signed controllers, both in standalone motor sys-
Built on the theory of variable structure con-
tems and within the complete DDWMR system.
trol, sliding mode control (SMC) method is a ro-
Finally, Section IV highlights the main contri-
bust nonlinear control technique [26]. The SMC
butions of this study and outlines potential di-
can be applied to a variety of electrical drives
rections for future research endeavors.
systems, including direct current drives [27, 28],
induction motor drives [29], permanent magnet
synchronous motor drives [30–32], or piezoelec-
tric actuator [33]. For mobile robots, SMC are 2. Sliding mode speed
mostly used for trajectory tracking [34–37], in
which the SMC enables the mobile robot to
controllers
achieve better trajectory tracking in the pres-
ence of external disturbance and un-modelled 2.1. Longitudinal control
dynamics. In all SMC-related mentioned works, oriented model
the parameters of the SMC were designed and
selected intuitively. No discussion has been The DDWMR in this work actuated by two per-
made about the effects of the parameters or how manent magnet direct current motors which are
to obtain suitable values. In addition, the effect connected to the corresponding left- and right-
of simulation time step has not been addressed wheel through gearboxes as shown in Fig 1 be-
in the published works. low. Two caster wheels are located at front and
rear for balancing. The center-of-mass is as-
sumed located at the center of geometry. In or- door mobile robots, the wheel is rolled without
slipping, the traction force is only depended on
the moment of inertia of the wheel as
dωo
To − FT Rw = Jw (2)
dt
where To , ωo are the torque and angular speed
at the output shaft of the gearbox, Rw is the
wheel radius, Jw is the wheel moment of inertia.
The relationship between the robot velocity and
the wheel angular speed is
V = Rw ωo (3)
the dynamic of the robot can be referred to the Substitute equation 9 into 12 we have:
PMDC motor’s dynamics as:
ω̈m,ref + a2 ωm,ref + a1 ω̇m,ref
ṡ =
ω̈m = −a1 ω̇m − a2 ωm + a3 Ua − a4 Ṫd − a5 Td (7) −a1 x2 − a2 x1 − a3 Ua + f (t) + λx2
(13)
where and
Ra Bm Ra Bm KE KT ω̈m,ref + a2 ωm,ref + a1 ω̇m,ref
a1 = + ; a2 = + ; sṡ = s
−a1 x2 − a2 x1 − a3 Ua + f (t) + λx2
La JT La J T La JT
KT 1 Ra Select a Lyapunov candidate function as
a3 = ; a4 = ; a5 =
La J T JT La JT
1 2
V = s (14)
2
2.2. Sliding mode speed It is obviously that V is satisfied the first three
controller (SMSC) properties of a Lyapunov function. The switch-
ing system will be asymptotically stable if:
When using the rolling without slipping assump-
tion, the robot velocity is proportional to the V̇ = sṡ ≤ 0 (15)
motor angular speed. It is obviously that a bet-
The reaching law is defined as
ter motor speed tracking resulting in a better
robot tracking accuracy. Hence, in this work, ṡ = −qsign (s) (16)
we propose a SMSC for PMDC motors in order
to improve the trajectory tracking capability of where q > 0 is the constant rate and the sign
the DDWMR. function is defined as
The speed error is defined as the different be- 1 s>0
tween the desired speed and the actual speed sign (s) = 0 s=0 (17)
measured from encoder. −1 s < 0
of change in f (t) of 19 is replaced by correspond- where ueq is the equivalent control which drives
ing conservative quantities Tdc and Ṫdc . the system sliding on the sliding surface, ṡ = 0,
under ideal situation where all information of
ω̈ + a1 ω̇m,ref + a2 ωm,ref
1 m,ref the system is known and no disturbance; usw is
u= −a2 x1 − a1 x2 + λx2
the switching component which drives the sys-
a3
−qsign (s) + a4 Ṫdc + a5 Tdc tem to the sliding manifold and udr is distur-
(21) bance rejection term. The disturbance rejection
Substitute equation 21 into 13 and simplifying component is added to the system in the reach-
the results, we obtained: ing phase to eliminate the effect of disturbance
of the system such as load torque variation.
ṡ = −qsign (s) + a4 Ṫd − Ṫdc + a5 (Td − Tdc )
(22)
As has been proved in previous section, the term 3. Simulation results and
−sqsign (s) is negative with all value of s.
discussion
Hence to ensure sṡ ≤ 0 , the conservative
quantities are selected as:
In this section, several case studies will be im-
plemented and investigated. Initially, the effect
Ṫdc = ṪdU ≥ Ṫd
if s ≥ 0 select of the simulation time step will be investigated.
Tdc = TdU ≥ Td
(23) After that, with a reasonable time step, the ef-
Ṫdc = ṪdL ≤ Ṫd fect of the reaching rate and convergence rate of
if s < 0 select
Tdc = TdL ≤ Td the SMSC will be evaluated. Considering rising
Let time, steady state error, and control signal fluc-
tuation, the suitable value of reaching rate and
ṪdU − ṪdL ṪdU + ṪdL convergence rate of the SMSC will be selected.
dT̄1d = ; dT̄2d =
2 2 (24) Then these SMSCs will be applied to the PMDC
TdU − TdL TdU + TdL motors used in the proposed DDWMR to inves-
T̄1d = ; T̄2d =
2 2 tigate the performance of the whole system.
Then we have The sliding mode speed controller for PMDC
motor is built in Matlab/Simulink as shown in
dTdc = Ṫdc = dT̄2d − dT̄1d sign (s)
(25) Fig 3a below. The SMC, Eq. 27, is built as Mat-
Tdc = T̄2d − T̄1d sign (s) lab function blocks as shown in Fig. 3b In order
to evaluate the disturbance rejection capability
The control law is finally as
of SMSC, two SMSCs are built, one is without
disturbance rejection component, udr = 0, and
ω̈m,ref + λω̇m,ref + (a1 − λ) ω̇m + a2 ωm
1
u= a3
+qsign (s) one with disturbance rejection component. This
+a4 dTdc + a5 Tdc component is integrated into the same block by
(26) adding the term d into Eq. 30, d = 0 is woTd-
For easy understanding, the control law is de- SMC, and d = 1 is for wTd-SMC.
composed into three components as:
a4 a5
udr = d dTdc + Tdc (31)
u = ueq + usw + udr (27) a3 a3
The parameters used for simulation are listed
in which in Table 1.
ω̈m,ref + λω̇m,ref + (a1 − λ) ω̇m + a2 ωm
ueq =
a3
(28) 3.1. Case Study (CS) 1: Time
qsign (s) step effects
usw = (29)
a3
a4 a5 In this case study, the time step is set as 1e-6s
udr = dTdc + Tdc (30) as shown in Fig. 4. The disturbance is assumed
a3 a3
3.3. CS3: Optimum reaching the value of q is not large enough, the system
rate value cannot reach its reference value. The system
achieves smallest steady state RRMSE of 2.84%
In order to find the optimum value of q, it is withq = 18954 (equal to 9.54a3 ). The higher
necessary to consider both the rising time and value of q causes a higher steady fluctuation am-
the tracking performance. The rising time is the plitude, hence a larger RRMSE. Fig. 10 below
period that the system requires to reach 95% its
speed reference from standstill condition. The
tracking performance is evaluated by using the
relative root-mean-square error defined as
s
n
1
P 2
n (yref − ym (i))
i=1
RRMSE (%) = × 100
yref
(32)
where n is the number of simulation steps, yref
is the reference and ym is the measured angular Fig. 9: Rate reaching effects on steady State RRMSE.
speed of the motor.
In this case study, the value of q is span- illustrates the effects of q on the performance of
ning from 3a3 to 100a3 . The effect of q on the the system under three situations: overall opti-
RRMSE and the rising time are shown in Fig. mal RRMSE, steady state optimal RRMSE, and
8. As has been seen in Fig. 5, higher value of q very large reaching rate, q = 100a3 .
makes smaller RRMSE and shorter rising time.
However, when increasing q, the value of switch-
ing component also increased. As a consequence,
the output is fluctuated. In contrast, the rising 3.4. CS4: Reaching rate and
time is tended to converge. Considering both the convergence rate effects
RRMSE and the rising time, the optimal reach-
ing rate can be found as q = 8735(= 42.62a3 ) In this case study, the performance of the system
with the corresponding rising time tr = 0.08sec is evaluated under different values of reaching
and RRMSE = 11.5%. When considering the rate and convergence rate. The value of reaching
rate is swept from 1.75a3 to 50a3 while the value
of the convergence rate is swept from 0.5a1 to
3a1 . In order to evaluate the chattering of the
control signal, the ripple factor of the control
signal is used. The ripple factor is defined by
equation below. This factor is originally used to
evaluate the quality of a rectifier, whose converts
alternative current into direct current.
s 2
urms
Crf = −1 (33)
uavg
Vdes + W ωz,des
ωmR,des =
RwR
(34)
Vdes − W ωz,des
ωmL,des =
RwR
The errors between the desired value and the
measured value of the motor angular speeds will
Fig. 12: Block diagram of the DDWMR. be fed into the SMSCs. The output of the SM-
SCs are the pulse-width-modulation signals that
Tab. 2: System parameters for a general DDWMR will be provided to the H-bridges. The outputs
of the H-bridges are the armature voltages ap-
Value
No. Parameter Description PMDC Motors
plying to the PMDC motors.
[Unit] Left Right
1 Ra [Ω] Armature Resistance 1.12 0.74 To evaluate the performance of the system un-
2 La [mH] Armature Inductance 127 172 der different speed controllers, the relative root-
3 Jm [Kg.cm2 ] Moment of Inertia 17 14
4 Bm [N.cm/rad] Viscous Coefficient 0.88 1.32 mean-square error in Eq. 32 is modified as
5 KT [N.m/A] Torque Constant 0.52 0.63
6 KE [V /rad] Voltage Constant 0.52 0.63
s
n
7 mw [Kg] Motor-wheel Weight 3.45 2.55 P 2
(yref (i) − ym (i))
i=1
RRMSE (%) = s × 100
n
2
P
locity profiles. The robot is commanded to move yref (i)
forward and backward, respectively. During the i=1
4. Conclusions
tributes equally to the left and the right. Based
In this work, we introduce a longitudinal simpli- on this model, a sliding mode speed controller is
fied model of a DDWMR. In which the robot is designed and analyzed. The effects of the SMC
assumed symmetrically, the left and the right parameters - the convergence and reaching rates,
motors/wheels are identical. The mass dis- and simulation configuration - the time step, are
[11] Vu, T., Tran, A.M., Nguyen, B., & Tran, [20] Fukao, T., Nakagawa, H., & Adachi, N.
H. (2023). Development of Decentralized (2000). Adaptive tracking control of a non-
Speed Controllers for a Differential Drive holonomic mobile robot. IEEE Trans Robot
Wheel Mobile Robot. J Adv Eng Comput, Autom, 16, 609–615.
7, 76–94.
[21] Kim, M.S., Shin, J.H., & Lee, J.J. (2000).
[12] Bayoumi, E.H.E. & Soliman, H. (2007). Design of a robust adaptive controller for
PID/PI tuning for minimal overshoot of a mobile robot. Proc IEEE/RSJ Int Conf
permanent-magnet brushless DC motor Intelligent Robots and Systems, 3, 1816—-
drive using particle swarm optimization. 1821.
Electromotion, 14, 198–208.
[22] Das, T. & Kar., I. (2006). Design and
[13] Kanojiya, R. & Meshram, P. (2012). Opti- Implementation of an Adaptive Fuzzy
mal tuning of PI controller for speed control Logic-Based Controller for Wheeled Mobile
of DC motor drive using particle swarm op- Robots. IEEE Transactions on Control Sys-
timization. 2012 International Conference tems Technology, 14, 501—-510.
on Advances in Power Conversion and En-
[23] Dongbing, G. & Huosheng, H. (2006). Re-
ergy Technologies (APCET), 1–6.
ceding horizon tracking control of wheeled
[14] Payakkawan, P., Klomkarn, K., & mobile robots. IEEE Trans Control Syst
Sooraksa, P. (2009). Dual-line PID Technol, 14, 743—-749.
controller based on PSO for speed control [24] Chen, H., Miao-Miao Ma, H., Wang, Z.Y.,
of DC motors. 9th International Sympo- & Cai, Z.X. (2009). Moving horizon H
sium on Communications and Information infinity tracking control of wheeled mo-
Technology ISCIT, 134–139. bile robots with actuator saturation. IEEE
[15] Bansal, U.K. & Narvey, R. (2013). Speed Trans Control Syst Technol, 21, 449—-457.
Control of DC Motor Using Fuzzy PID Con- [25] Pitanga, J., Araújo, H., Conceição, A.,
troller. Adv Electron Electr Eng, 3, 1209– & Oliveira, G. (2015). Stable model-based
1220. predictive control for wheeled mobile robots
[16] Tran, A. & Vu, T. (2023). A study on using linear matrix inequalities. Int Fed Au-
general state model of differential drive tom Control, 48, 033—-038.
wheeled mobile robots. J Adv Eng Comput, [26] Utkin, V.I., Gulder, J., & Shi, J. (1999).
7, 174–186. Sliding Mode Control in Electromechanical
Systems. London, U.K.: Taylor & Francis.
[17] Kim, S.K. & Ahn, C.K. (2021). DC Motor
Speed Regulator via Active Damping Injec- [27] Alfonso, D., Gatto, G., Ignazio, M., &
tion and Angular Acceleration Estimation Alessandro, P. (2004). Second-order sliding-
Techniques. IEEE/CAA Journal of Auto- mode control of DC drives. IEEE Trans-
matica Sinica, 8, 641–647. actions on Industrial Electronics, 51, 364–
373.
[18] Kushwah, M. & Patra, P.A. (2014). Tun-
ing PID Controller for Speed Control of DC [28] Amer, A.F., Sallam, E.A., & Sultan,
Motor Using Soft Computing Techniques-A I.A. (2016). Adaptive sliding-mode dynamic
Review. Adv Electron Electr Eng, 4, 141– controller for nonholonomic mobile robots.
148. 12th International Computer Engineering
Conference, 230–235.
[19] Tir, Z., Oued, E., & Oued, E. (2017). Im-
plementation of a Fuzzy Logic Speed Con- [29] Vo, H., Tran, D., Thieu, T., Le, A., Dong,
troller For a Permanent Magnet DC Motor C., & Brandstetter, P. (2021). Sliding mode
Using a Low-Cost Arduino Platform. The pwm direct torque controlled induction mo-
5th International Conference on Electrical tor drive with kalman filtration of estimated
Engineering, 29–32. load. J Adv Eng Comput, 5, 265–276.
[30] Vo, H. (2023). Sliding Mode Speed Con- differential drive wheeled mobile robot us-
troller Design for Field Oriented Controlled ing fast nonsingular terminal sliding mode.
PMSM Drive of an Electric Vehicle. J Adv Computers & Electrical Engineering, 96,
Eng Comput, 7, 164—-173. 107488.
[31] Nguyen, T., Nguyen, T., Le, K., Tran, [37] Yigit, S. & Sezgin, A. (2023). ). Trajectory
H., & Jeon, J. (2023). An Adaptive Back- Tracking via Backstepping Controller with
stepping Sliding-Mode Control for Improv- PID or SMC for Mobile Robots. Sakarya
ing Position Tracking of a PermanentMag- University Journal of Science, 27, 120–134.
net Synchronous Motor with a Nonlinear
Disturbance Observer. IEEE Access, 11,
19173––19185. About Authors
[32] Ma, Y., Li, D., Li, Y., & Yang, L. (1992).
Novel Discrete Compound Integral Termi- Tri-Vien VU received the B.Eng. degree in
nal Sliding Mode Control with Disturbance mechatronics from Hanoi University of Science
Compensation for PMSM Speed System. and Technology, Ha noi, Viet nam, in 2005,
IEEE/ASME Transactions on Mechatron- and the M.Sc. and Ph.D. degrees from Da-yeh
ics, 27, 549––560. University, Changhua, Taiwan in 2011 and 2015,
respectively. He works as a Lecturer at the
[33] Huynh-Van, V. & Tran-Thanh, P. (2019). Faculty Electrical and Electronics Engineering,
Discrete Sliding Mode Control Design for Ton Duc Thang University, Ho Chi Minh City,
Piezoelectric Actuator. J Adv Eng Comput, Vietnam since 2015. His research interests
3, 492—-502. include vehicle dynamic, mobile robot, power
electronics, electrical drives.
[34] Shi, J., Fu, F., Wang, Y., & Wang, J.
(2016). SMC-based mobile robot stability
Anh-Minh Duc TRAN received his B.S.
control considering both matched and mis-
and M.S. degrees in Control and Automation
matched disturbances regulation and chat-
Engineering from Ho Chi Minh City University
ter alleviation. 2nd International Confer-
of Transport in 2008 and 2013, respectively, and
ence on Control, Automation and Robotics
his Ph.D. from Pukyong National University in
(ICCAR), 95–102.
Busan, Korea, in 2017. He is currently a lecturer
[35] Keighobadi, J., Shahidi, M., Khajeh, A., & at the Faculty of Electrical and Electronics
Fazeli, K. (2013). Dynamic Based SMC of Engineering, Ton Duc Thang University, Ho
Nonholonomic Mobile Robots. Positioning. Chi Minh City, Vietnam. His research interests
Positioning, 4, 153–159. include system dynamics, robust, and nonlinear
control.
[36] X., H., Zheng, J.C., Chai, R., & Nguyen,
T.H. (2021). Robust tracking control of a