원시데이터 수집 시스템
선정목록으로

Development of Decentralized Speed Controllers for a Differential Drive Wheel Mobile Robot

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Tri-Vien Vu — Modeling Evolutionary Algorithms Simulation and Artificial Intelligence, Faculty of Electrical & Electronics Engineering, Ton Duc Thang University, Ho Chi Minh City, Vietnam
  2. Anh-Minh D. Tran — Faculty of Electrical and Electronics Engineering, Ton Duc Thang University, 19 Nguyen Huu Tho Rd, Tan Phong, District 7, Ho Chi Minh City, Vietnam
  3. Bao-Hieu Nguyen — Faculty of Electrical and Electronics Engineering, Ton Duc Thang University, 19 Nguyen Huu Tho Rd, Tan Phong, District 7, Ho Chi Minh City, Vietnam
  4. Hoa-Vinh Vu Tran — Faculty of Electrical and Electronics Engineering, Ton Duc Thang University, 19 Nguyen Huu Tho Rd, Tan Phong, District 7, Ho Chi Minh City, Vietnam
DOI
10.55579/jaec.202372.399
저널
Journal of Advanced Engineering and Computation
발행년도
2023
발행기관
Vietnam National University Journal of Science
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.55579/jaec.202372.399
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4382792169

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

This research presents a comprehensive mathematical model and a control-oriented model for a differential drive wheel mobile robot (DDWMR). The components and their interconnection within the robot are thoroughly modeled. The proposed mathematical models are used to analyze the characteristics of the robot. The control-oriented model is a simplified one which will be used to design speed controllers. The performance of the proposed system is evaluated through four case studies, focusing on both stand-alone motor systems and the entire DDWMR. The tracking performance is evaluated using metrics such as absolute error integration and root mean square error. Simulation results show that under ideal step command, the pole-zero cancellation PI speed controller achieves the best tracking performance, while PID controllers obtained from Matlab’s Auto-tuning App perform best for standalone motor systems. For motors in a DDWMR, the PID controller with parameters derived from the Ziegler-Nichols tuning rules provides optimal tracking performance. These simulation results show that there is no universal controller that can achieve the best performance in all situations; rather, each controller is suited to specific circumstances. Nonetheless, in all case studies, better motor speed tracking leads to improved trajectory tracking performance for the robot.This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium provided the original work is properly cited.

본문 63,585자

본문 펼치기
VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June # Development of Decentralized Speed Controllers for a Differential Drive Wheel Mobile Robot _Tri-Vien_ _VU_ <sup>1</sup> <sup>_,∗_</sup> _,_ _Anh-Minh_ _Duc_ _TRAN_ <sup>2</sup> _,_ _Bao-Hieu_ _NGUYEN_ <sup>3</sup> _,_ _Hoa-Vinh_ _Vu_ _TRAN_ <sup>3</sup> 1Modeling Evolutionary Algorithms Simulation and Artificial Intelligence, Faculty of Electrical and Electronics Engineering, Ton Duc Thang University, Ho Chi Minh City, Vietnam 2Faculty of Electrical and Electronics Engineering, Ton Duc Thang University, Ho Chi Minh City, Vietnam 3Undergraduate Student from Faculty of Electrical and Electronics Engineering, Ton Duc Thang University, Ho Chi Minh City, Vietnam *Corresponding Author: Tri-Vien VU (Email: vutrivien@tdtu.edu.vn) (Received: 16-Feb-2023; accepted: 15-May-2023; published: 30-Jun-2023) DOI: http://dx.doi.org/10.55579/jaec.202372.399 _Abstract._ _This_ _research_ _presents_ _a_ _comprehen-_ _sive_ _mathematical_ _model_ _and_ _a_ _control-oriented_ _model_ _for_ _a_ _differential_ _drive_ _wheel_ _mobile_ _robot_ _(DDWMR)._ _The_ _components_ _and_ _their_ _interconnection_ _within_ _the_ _robot_ _are_ _thoroughly_ _modelled._ _The_ _proposed_ _mathematical_ _models_ _are_ _used_ _to_ _analyse_ _the_ _characteristics_ _of_ _the_ _robot._ _The_ _control-oriented_ _model_ _is_ _a_ _sim-_ _plified_ _one_ _which_ _will_ _be_ _used_ _to_ _design_ _speed_ _controllers._ _The_ _performance_ _of_ _the_ _proposed_ _system_ _is_ _evaluated_ _through_ _four_ _case_ _studies,_ _focusing_ _on_ _both_ _stand-alone_ _motor_ _systems_ _and_ _the_ _entire_ _DDWMR._ _The_ _tracking_ _performance_ _is_ _evaluated_ _using_ _metrics_ _such_ _as_ _absolute_ _error_ _integration_ _and_ _root_ _mean_ _square_ _error._ _Simulation_ _results_ _show_ _that_ _under_ _ideal_ _step_ _command,_ _the_ _pole-zero_ _cancellation_ _PI_ _speed_ _controller_ _achieves_ _the_ _best_ _tracking_ _perfor-_ _mance,_ _while_ _PID_ _controllers_ _obtained_ _from_ _Matlab’s_ _Auto-tuning_ _App_ _perform_ _best_ _for_ _standalone_ _motor_ _systems._ _For_ _motors_ _in_ _a_ _DDWMR,_ _the_ _PID_ _controller_ _with_ _parameters_ _derived_ _from_ _the_ _Ziegler-Nichols_ _tuning_ _rules_ _provides_ _optimal_ _tracking_ _performance._ _These_ _simulation results show that there is no universal_ _controller_ _that_ _can_ _achieve_ _the_ _best_ _performance_ _in_ _all_ _situations;_ _rather,_ _each_ _controller_ _is_ _suited_ _to_ _specific_ _circumstances._ _Nonetheless,_ _in_ _all_ _case_ _studies,_ _better_ _motor_ _speed_ _tracking_ _leads_ _to_ _improved_ _trajectory_ _tracking_ _performance_ _for_ _the_ _robot._ _Keywords_ _Decentralized,_ _Wheel_ _Mobile_ _Robot,_ _Control-Oriented,_ _Speed_ _Control,_ _PID._ ## 1. Introduction Nowadays mobile robots are popular and their application can be seen in every aspect of life, from floor cleaning to space exploration. A global overview of mobile robot control and navigation can be found in [1]. Exhaustive review on trajectory tracking in differential drive WMRs can be found in [2]. Published works related to applications, perception, and communication of mobile robots can be found in [3]. 76 © 2023 Journal of Advanced Engineering and Computation (JAEC) One of the most attractive topics in mobile robots is trajectory tracking control, which involves accurately following a desired path or trajectory. When the dynamic structure and the parameters of the mobile robot system are completely known, the trajectory tracking problem can be solved by using kinematic model [4], backstepping technique [5], or dynamic feedback linearization [6]. Considering disturbances, unmodelled dynamic and parameter uncertainty, the tracking problem can be solved by various nonlinear control techniques such as sliding mode [7, 8], adaptive [9, 10], fuzzy adaptive [11, 12], or model predictive [13, 14, 15, 16]. In mentioned published works, the motors used in wheel mobile robots (WMRs) were considered as either torque sources, which serve as inputs to the dynamic model, or speed sources for the kinematic model of the robots. This means that the control system is designed to control the motors in order to track a desired trajectory, either by regulating the torque or speed of the motors. However, no detail speed control system design for the motors was discussed. Most of available commercial and research mobile robots are actuated by electrical motors. The majority of WMRs use either permanent magnet direct current (PMDC) motors [2], brushless direct current (BLDC) motors [8, 17], stepper motors [18] or direct current servo motors [19]. Among of them, PMDC motors are most widely used due to their simple mathematical model as well as control mechanism. Typical control problems for a PMDC motor are speed, torque, and position one. Various linear and nonlinear control techniques have been used for speed control of PMDC motors. Among of them, PID is extensively used in industrial application, academic, and research activities. An interesting topic in design PID speed control system is parameter tuning. Conventional approaches such as pole-zero cancelation, pole-placement are used for academic activities. Ziegler-Nichols rules based are usually used for tuning the parameter of PID controller for practical systems whose step responses are in S-curve shape. Commercial PID controllers have auto-tuning feature [20]. Various online and offline PID parameter tuning algorithms VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June have been proposed, for example, generic algorithm [21, 22, 23, 24], particle swarm optimization [25, 26, 27, 28], or soft computing [29, 30, 31, 32, 33]. However, all of these works considered the PMDC motors as standalone systems, with the load torque being considered a constant, a step change, or some noise. As a result, the performance of these controllers can differ greatly when applied to standalone PMDC motors versus PMDC motors used in mobile robots. The output of the controllers used for the PMDC motors are normally desired armature voltage that applied to the motors. In practical systems, power electronic converters must be used as drivers to convert the desired voltage into the duty cycle that will be fed into some pulse-width-modulation generator to control the converters. For dc motors, buck, boost, or buckboost topologies are commonly used [34]. When using these converters, the voltage apply to the motor can be smaller or larger than the voltage of the DC power source but always positive (or negative). The direction of the current is also fixed. With these converters, the motors are always work at the first quadrant. On the other words the manoeuvrability and mobility of the mobile robots are reduced. In mobile robots, each robot typically has several driving wheels that are actuated by electrical motors. These motors are inter-connected and form a coupling multi-input-multi-output (MIMO) system, meaning that they work together to control the movement of the robot. The design of the control system for electrical motors used in mobile robots must take into account the interaction and coupling between the different motors and the effect on the overall system performance. In this work, a detailed model of a differential drive WMR is introduced. The model consists of four subsystems: the kinematic and dynamic models of the robot, the dynamic model of the DC motor actuators, and the model of an H-bridge converter with a built-in PWM generator. To simplify the analysis, a half-weight model of the WMR that considers only the longitudinal dynamic is proposed. This model is used as a control-oriented one for designing the © 2023 Journal of Advanced Engineering and Computation (JAEC) 77 speed control system of the DC motor. The effect of the multi-motor coupling characteristics in DDWMRs is presented in terms of the same disturbance torques acting in different directions on the right and left motors. Details of designing the PI/PID speed controllers for the system is also presented in a systematically approach. Initially, conventional pole-zero (PZ) cancelation technique is applied to determined parameters of PI speed controllers. Since the open-loop respond of the halfweight robot is an S-curve shape, Ziegler-Nichols (ZN) rules are utilized the determined parameters of P, PI, and PID speed controllers. The parameters of ZN-PID are used as initial values for the PID controller when using the PID Auto Tuning (AT) App in Matlab/Simulink for further improvement. The effectiveness of the controllers are evaluated under four different case studies. The first two case studies are utilized to evaluate the performance of the controllers when applying for standalone PMDC motors while in the last two case studies, the controllers are applied for PMDC motors used in a differential drive wheel mobile robot (DDWMR). In each case study, the performance of proposed system is further considered under different situations, for example, with/without power electronic converters, with/without disturbance torques. The remain of this work is organized as follow. Section II presents the description and modelling of the proposed system. Section III presents the design of the speed controller for PMDC motors. Performance of the designed controllers used for standalone motor systems and WMRs system are described in Section IV. Main contributions and future research direction of this work are presented in Section V. ## 2. System Description and Modeling 2.1. System Description The overall block diagram of the proposed Differential Drive Wheel Mobile Robot (DDWMR) VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June Fig. 1: System Block Diagram. is shown in Fig. 1. The system is commanded to move in desired orientation _θdes_ with certain velocity linear velocity _vdes_ . A virtual robot block is utilized to generate the desired information of the robot: the global location, linear and angular velocities. Among of them, most important information are the desired angular velocities of the left- and the right-wheel, _ωL,des_ and _ωR,des_ respectively. The Left- and Right-Motor- Controllers are the speed controllers for dc motors whose outputs are the pulse-width-modulation values that will be applied to the motor drivers, the H-bridge converters. The outputs of the Hbridges are armature voltage that apply to the PMDC motors. The torques available at the output of the motor shafts are feeding to the dynamic model of the robot whose outputs are linear and angular velocities. Using kinematic model, the current position and orientation of the robot and the angular velocities of the wheels can be determined. The angular velocities of the wheels are also the angular speed of the motors that will be used as measured feedback to ensure that the angular speeds of the motors are followed the reference ones. Following section will describe all the block in detail. 2.2. System Modeling 1) Kinematic Model In this work, the proposed DDWMR is equipped with two identical PMDC motors whose output shafts are connected to corresponding driving wheels. There are two small caster wheels located at front and rear positions for balancing purpose. The caster wheels are neglected in the modelling process but their effects will be taken into account under the form of load torque disturbance to driving wheels later. For an easily reading purpose, the PMDC motors and casters 78 © 2023 Journal of Advanced Engineering and Computation (JAEC) VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June Fig. 3: Kinematic Block. The orientation and location of the robot in global frame will be determined by - _t_ _θ_ ( _t_ ) = _θ_ 0 + _ωzdt_ 0 - _t_ _X_ ( _t_ ) = _X_ 0 + _V_ cos _θdt_ 0 (4) - _t_ _V_ sin _θdt_ 0 Fig. 2: Kinematic Diagram. wheels are neglected in the kinematic diagram as shown in Fig. 2. With the assumption of rolling without slipping of the wheels, the longitudinal speeds of the wheel-hub centers are determined by _Y_ ( _t_ ) = _Y_ 0 + _VL_ = <sup>_<u>RwωL</u>_</sup> _iG_ ; _VR_ = <sup>_<u>RwωR</u>_</sup> _iG_ (1) where _θ_ 0 and _X_ 0, _Y_ 0) are initial orientation and position of the robot. Detail of kinematic block is shown in Fig. 3. 2) Dynamic Model The dynamic diagram of the proposed DDWMR is shown in Fig. 4 below. In this diagram, _FR_ and _FL_ are tractive forces generated at the wheel’s ground contact points, _CR_ and _CL_, respectively; _TR_ and _TL_ are the torques available at the output shafts of the right- and the leftmotor, respectively. Using Newton second law for the motor-wheel systems we have: Where _ωL_ and _ωR_ are the angular speed of the wheels; Rw is the wheel radius; _iG_ is the gearbox ratio. The longitudinal speed _V_ and the yaw rate _ωz_ of the robot at point _OB_, the midpoint of the line connecting the wheel-hub centers, can be obtained as: _V_ = <sup>_<u>VR</u>_</sup> <sup><u>+</u></sup> <sup>_<u>VL</u>_</sup> <sup>_<u>Rw</u>_</sup> ( _ωR_ + _ωL_ ) 2 _iG_ <sup><u>+</u></sup> <sup>_<u>VL</u>_</sup> = <sup>_<u>Rw</u>_</sup> 2 2 _iG_ _<u>FL</u>_ _TL −_ _iGηG_ _TR −_ <sup>_<u>FR</u>_</sup> _iGηG_ _Rw_ = _Jw_ _Rw_ = _J_ w _<u>dωL</u>_ _dt_ _<u>dωR</u>_ _dt_ _<u>Rw</u>_ _ωz_ = <sup>_<u>VR −</u>_</sup> <sup>_<u>VL</u>_</sup> = ( _ωR −_ _ωL_ ) 2 _W_ 2 _WiG_ (2) (5) where 2W is the distance between the wheel centers, also the distance between the ground contact point of the left and right wheels. In term of global frame, we have _VX_ = _V_ cos _θ_ _VY_ = _V_ sin _θ_ _θ_ ˙ = _ωz_ (3) where _Jw_ is the moment of inertia of the wheel, _iG_ and _ηG_ are the gearbox ratio and efficiency respectively. Using Newton second law for the robot systems we have: where _VX_ is the X-axis velocities, _VY_ is the Yaxis velocity, and _θ_ <sup>˙</sup> is the yaw rate of the robot. _FL_ + _FR −_ _Fd_ = _m_ <sup>_<u>dV</u>_</sup> _dt_ _FR −_ _FL −_ _Td_ = <sup>_<u>Jz</u>_</sup> _W_ _<u>dωz</u>_ _dt_ (6) © 2023 Journal of Advanced Engineering and Computation (JAEC) 79 VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June Fig. 5: Dynamic Block. where _TLd_ = <sup><u>(</u></sup> <sup>_<u>Fd</u>_</sup> 2 <sup>_<u>−</u>_</sup> _iG_ <sup>_<u>T</u>_</sup> _η_ <sup>_<u>d</u>_</sup> _G_ <sup><u>)</u></sup> <sup>_<u>Rw</u>_</sup> 2 <sup>_<u>−</u>_</sup> _iG_ <sup>_<u>T</u>_</sup> _η_ <sup>_<u>d</u>_</sup> _G_ <sup><u>)</u></sup> <sup>_<u>Rw</u>_</sup>, _TRd_ = <sup><u>(</u></sup> <sup>_<u>Fd</u>_</sup> 2 <sup><u>+</u></sup> _iG_ <sup>_<u>T</u>_</sup> _η_ <sup>_<u>d</u>_</sup> _G_ <sup><u>)</u></sup> <sup>_<u>Rw</u>_</sup> where _TLd_ = <sup><u>(</u></sup> <sup>_<u>Fd</u>_</sup> 2 <sup>_<u>−</u>_</sup> _iG_ <sup>_<u>T</u>_</sup> _η_ <sup>_<u>d</u>_</sup> _G_ <sup><u>)</u></sup> <sup>_<u>Rw</u>_</sup>, _TRd_ = <sup><u>(</u></sup> <sup>_<u>Fd</u>_</sup> 2 <sup><u>+</u></sup> _iG_ <sup>_<u>T</u>_</sup> _η_ <sup>_<u>d</u>_</sup> _G_ <sup><u>)</u></sup> <sup>_<u>Rw</u>_</sup> are equivalent disturbance torques referred to the motor shafts; _Jlin_ = _Jw_ + <sup>_<u>m</u>_</sup> _i_ <sup>_<u>lin</u>_</sup> _Gη_ <sup>_<u>R</u>_</sup> _G_ <sup>_<u>w</u>_</sup> is the equiv motor shafts; _Jlin_ = _Jw_ + <sup>_<u>m</u>_</sup> _i_ <sup>_<u>lin</u>_</sup> _Gη_ <sup>_<u>R</u>_</sup> _G_ <sup>_<u>w</u>_</sup> is the equiv alent moment of inertia refer to the motor due to linear movement and _Jrot_ = _<u>mirotGηRGw</u>_ is the to linear movement and _Jrot_ = _<u>mirotGηRGw</u>_ is the equivalent moment of inertia refer to the motor due to the rotational movement. Solving Eq. (9) we obtained Fig. 4: DDWMR Dynamic Diagram. where m is the total weight of all the robot system, _Jz_ is the moment of inertia of the robot with respect to Z-axis; _Fd_ and _Td_ are unknown lumped force and torque against the linear and rotation movement of the robot. Substitutes Eq. (1) and Eq. (2) into Eq. (6) we have - _t_ _ωR_ ( _t_ ) = _ωR_ 0 + 0 - _t_ _ωL_ ( _t_ ) = _ωL_ 0 + 0 _<u>dωR</u>_ _dt_ <sup>_dt_</sup> _<u>dωR</u>_ _<u>dωR</u>_ _<u>Jlin</u>_ = _dt_ _Jlin_ <sup>2</sup> <sup>_−_</sup> _<u>dωL</u>_ <u>Jlin</u> = _dt_ _Jlin_ <sup>2</sup> <sup>_−_</sup> _rot_ _rot_ _lin_ <sup>2</sup> <sup>_−_</sup> <sup>_J_</sup> <sup>2</sup> _rot_ _lin_ <sup>2</sup> <sup>_−_</sup> <sup>_J_</sup> <sup>2</sup> _rot_ _<u>dωL</u>_ _lin_ <sup>2</sup> <sup>_−_</sup> <sup>_J_</sup> <sup>2</sup> ( _TL −_ _TLd_ ) ( _TR −_ _TRd_ ) (10) _<u>Jrot</u>_ ( _TR −_ _TRd_ ) _−_ _Jlin_ <sup>2</sup> <sup>_−_</sup> <u>Jrot</u> ( _TL −_ _TLd_ ) _−_ _Jlin_ <sup>2</sup> <sup>_−_</sup> <sup>_J_</sup> _lin_ <sup>2</sup> <sup>_−_</sup> <sup>_J_</sup> _rot_ <sup>2</sup> Then the angular speed of the motors will be obtained as: _FR_ + _FL_ = <sup>_<u>mRw</u>_</sup> 2 _iG_ 2 _iG_ _<u>dωR</u>_ _<u>dωR</u>_ + <sup>_<u>mRw</u>_</sup> _dt_ 2 _iG_ _<u>dωL</u>_ _dt_ <sup>+</sup> <sup>_Fd_</sup> (11) _FR −_ _FL_ = <sup>_<u>JzR</u>_</sup> <sup><u>w</u></sup> 2 _W_ <sup>2</sup> _iG_ _<u>dωR</u>_ _<u>dωR</u>_ _−_ <sup>_<u>JzR</u>_</sup> <sup><u>w</u></sup> _dt_ 2 _W_ <sup>2</sup> _i_ 2 _W_ <sup>2</sup> _iG_ _<u>dωL</u>_ _dt_ <sup>_dt_</sup> _<u>dωL</u>_ _dt_ <sup>+</sup> <sup>_Td_</sup> where _ωR_ 0 and _ωL_ 0 are initial speed of the motors. Detail of dynamic block is shown in Fig. 5. 3) Actuator Model Assumed that we can have the same PMDC motors for the left and the right-wheels, the linear time invariant model of PMDC motors is: Solving Eq. (7) we obtained: _<u>dωdtL</u>_ <sup>+</sup> <sup>_<u>Fd</u>_</sup> <sup><u>+</u></sup> 2 <sup>_<u>T d</u>_</sup> _<u>dωdtL</u>_ <sup>+</sup> <sup>_<u>Fd −</u>_</sup> 2 <sup>_<u>T d</u>_</sup> 2 (7) (8) _FR_ = _mlin_ _FL_ = _mrot_ _<u>dωR</u>_ + _mrot_ _dt_ _<u>dωR</u>_ + _mlin_ _dt_ _<u>dωL</u>_ 2 _<u>dωL</u>_ where _mlin_ = <sup>_<u>mR</u>_</sup> 4 _iG_ <sup>_<u>w</u>_</sup> where _mlin_ = <sup>_<u>mR</u>_</sup> 4 _iG_ <sup>_<u>w</u>_</sup> <sup>+</sup> 4 _<u>JWzR</u>_ <sup>2</sup> _i_ <u>w</u> _G_ <sup>is</sup> <sup>the</sup> <sup>linear</sup> <sup>equiv-</sup> alent weight acting on the motors due to the linear movement and _mrot_ = _<u>mR</u>_ 4 _iGw_ <sup>_−_</sup> 4 _<u>JWzR</u>_ <sup>2</sup> _i_ <u>w</u> _G_ <sup>is</sup> _<u>diaR</u>_ linear movement and _mrot_ = _<u>mR</u>_ 4 _iGw_ <sup>_−_</sup> 4 _<u>JWzR</u>_ <sup>2</sup> _i_ <u>w</u> _G_ <sup>is</sup> the equivalent mass acting on the motors due to the rotational movement. _<u>aR</u>_ = _−_ <sup>_<u>Ra</u>_</sup> _dt_ _La_ _<u>aL</u>_ = _−_ <sup>_<u>Ra</u>_</sup> _dt_ _La_ _La_ _iaR −_ <sup>_<u>KE</u>_</sup> _La_ _ωR_ + <sup><u>1</u></sup> _La_ _ωR_ + <sup><u>1</u></sup> (12) _UaR_ _iaR −_ <sup>_<u>KE</u>_</sup> _La_ _iaL −_ <sup>_<u>KE</u>_</sup> _La_ _iaL −_ <sup>_<u>KE</u>_</sup> Substitute Eq. (8) into Eq. (5), we have _<u>diaL</u>_ _La_ _ωL_ + <sup><u>1</u></sup> _La_ _ωL_ + <sup><u>1</u></sup> _UaL_ _<u>dωL</u>_ = _TL −_ _TLd_ _dt_ _<u>dωL</u>_ = _TR −_ _TRd_ _dt_ _Jrot_ _Jlin_ _<u>dωR</u>_ + _Jlin_ _dt_ _<u>dωR</u>_ + _Jrot_ _dt_ where _Ra_ and _La_ are the resistance and inductance of the armature winding; _KE_ is the voltage constant; _UaR_ and _UaL_ are the voltage applied (9) 80 © 2023 Journal of Advanced Engineering and Computation (JAEC) Fig. 6: PMDC Motor Block. Fig. 7: Schematic diagram of the H-Bridge converter. to the armature winding of the right- and the left-motor respectively. The torques at the output shafts of the motors are VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June Fig. 8: Pulse Width Modulation Principle. from 0 to 1 with frequency of _fc_ and D _∈_ [0, 1] is the duty cycle of the converter. It is obviously that the on-duty period of the pulse is proportional to the value of D as _<u>t</u>_ <u>2</u> _<u>−</u>_ _<u>t</u>_ <u>1</u> 1 <sup>_⇔_</sup> <sup>_Ton_</sup> <sup>=</sup> <sup>_DT_</sup> (14) _<u>−</u>_ _<u>t</u>_ <u>1</u> = <sup>_<u>D</u>_</sup> _T_ 1 _TR_ = _KT iaR −_ _BmωR_ _TL_ = _KT iaL −_ _BmωL_ (13) Assume that the motor will move forward if a positive voltage is applied to the motor terminal and backward if a negative voltage is applied to the motor terminal. In this manner, ( _S_ 1 and _S_ 2) are used to control the rotating direction while ( _S_ 3 and _S_ 4) are used to adjust the armature voltage of the motor. The timeline of the switches and the resultant voltage are shown in Fig. 9. The pulse-width of _S_ 3 and _S_ 4 are adjusted based on the relationship between the desired duty D and the carrying signal. The value of D can be used to set the moving direction, if _D_ _>_ 0 the robot moves forward and if _D_ _<_ 0 the robot moves backward. The carrying signal also depends on the moving direction, a positive carrying signal is for forward movement and a negative signal is for backward movement. The switching scheme is straightforward: if _D_ _>_ _Vc_, then ( _S_ 4 on, _S_ 3 off) and if _D_ _<_ _Vc_, then ( _S_ 4 off, _S_ 3 on). The average voltage applied to the motor is _Ua_ = _DUdc_ (15) where _Udc_ is the voltage of a dc voltage source, _Ua_ is the voltage applied to the armature winding of the PMDC motors. Detail of H-bridge block is shown in Fig. 10. 5) Virtual Robot Block Imitated by human driving behaviours, the robot is demanded to follow the commanded lon where _KT_ is the torque constant, and _Bm_ is the viscous coefficient of the motors. Detail of motor block is shown in Fig. 6. 4) H-Bridge Converter Model An H-bridge is composed of four fully controlled power electronic switches such as power BJT, MOSFET, IGBT, IGCT, or GTO. In this work, four MOSFETs with built-in diodes are used as power switches and the schematic of the Hbridge is shown in Fig. 7. To adjust the level of output voltage of the converter, pulse-width-modulation method is used. The duty cycle adjustment is implemented by comparing a triangular signal with magnitude of 0.5, offset 0.5 and frequency of fc with a constant D as shown in Fig. 8. The switch is turned on if _D_ _≥_ _Vc_ and is turned off if _D_ _< Vc_, where the carrying signal is a triangular varied © 2023 Journal of Advanced Engineering and Computation (JAEC) 81 Fig. 9: Switches Timeline and Voltage Waveform. Fig. 10: H-Bridge Block. gitudinal velocity and the orientation (the heading angle). Based on the commanded information, the steering block generates the linear and angular speed trajectories of the robot in the global frame. After that, using an inverse kinematic model of DDWMR, the linear and angular speed will be converted into actuators’ angular velocity. There are several methods to generate the trajectory of the yaw rate for a desired yaw angle. The trajectories can be cubic polynomial shapes, S-curve shapes or linear segment with blends. Among of them, cubic polynomial offers a smooth movement but requires longer traveling time. S-curve shape trajectory offers a smooth movement, optimizable traveling time but requires a higher computational effort. Linear segment with blends trajectory is a simplified version of s-curve shape, this kind of trajectory offers a reasonable smooth movement with tunable traveling time and lower computational effort. The linear segment with blends trajectory is resulting a trapezoidal yaw rate profile. In this work, the cubic polynomial is used to generate the angular speed trajectory for a desired heading angle. VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June Fig. 11: Cubic Polynomial Yaw Angle Trajectory. For a cubic polynomial, the yaw angle is a 3 <sup>_rd_</sup> order polynomial, the yaw rate will be a 2 <sup>_nd_</sup> order polynomial, and the yaw acceleration is a 1st order polynomial as described by equations from Eq. (16) to Eq. (18) and illustrated in Fig. 11. _θdes_ ( _t_ ) = _a_ 0 + _a_ 1 _t_ + _a_ 2 _t_ <sup>2</sup> + _a_ 3 _t_ <sup>3</sup> (16) _ωzdes_ ( _t_ ) = <sup>_<u>dθ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup> = _a_ 1 + 2 _a_ 2 _t_ + 3 _a_ 3 _t_ <sup>2</sup> (17) _dt_ _αzdes_ ( _t_ ) = <sup>_<u>dωz</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup> = 2 _a_ 2 + 6 _a_ 3 _t_ (18) _dt_ where _ai_ ( _i_ = 1 _.._ 4) are the polynomial coefficients. If we know the time period required for steering command, the coefficients will be determined by the initial conditions: where _t_ 0 is the time instant that the steering is started and _tf_ is the time instant that the steering is finished. _θdes_ ( _t_ = _t_ 0) = _θ_ 0 _θdes_ ( _t_ = _tst_ ) = _θf_ _ωz,des_ ( _t_ = _t_ 0) = 0 _ωz,des_ ( _t_ = _tst_ ) = 0 (19) 82 © 2023 Journal of Advanced Engineering and Computation (JAEC) Substitute Eq. (16) into Eq. (19) and after some mathematical manipulation we obtained: <sup>_−_</sup> <sup>3</sup> <sup>_θf_</sup> <sup>_t_</sup> 0 <sup>2</sup> <sup>_tf_</sup> <sup>+ 3</sup> <sup>_θ_</sup> <sup>0</sup> <sup>_t_</sup> <sup>0</sup> <sup>_t_</sup> <sup>2</sup> _<u>f</u>_ ( _t_ 0 _−_ _tf_ ) <sup>3</sup> _a_ 0 = _θf_ _t_ <sup>3</sup> 0 <sup>3</sup> 0 <sup>_−_</sup> <sup>_θ_</sup> <sup>0</sup> <sup>_t_</sup> <sup>3</sup> _<u>f</u>_ <sup>_−_</sup> <sup>3</sup> <sup>_θf_</sup> <sup>_t_</sup> 0 <sup>2</sup> <u>6</u> _<u>t</u>_ <u>0</u> _<u>tf</u>_ _a_ 1 = ( _t_ 0 _−_ _tf_ ) <sup>3</sup> <sup>(</sup> <sup>_θf_</sup> <sup>_−_</sup> <sup>_θ_</sup> <sup>0)</sup> _a_ 2 = _−_ 3 <sup>_<u>t</u>_</sup> <sup><u>0 +</u></sup> <sup>_<u>tf</u>_</sup> ( _t_ 0 _−_ _tf_ ) <sup>3</sup> <sup>(</sup> <sup>_θf_</sup> <sup>_−_</sup> <sup>_θ_</sup> <sup>0)</sup> (20) VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June It can be seen from Eq. (25) that the angular acceleration is maximum at _t_ = _t_ 0 and equal to _αz_ max = <sup><u>8</u></sup> <sup>_<u>ω</u>_</sup> _<u>z</u>_ <sup>2</sup> <u>max</u> (26) 3 _θdem_ This value will be considered as a limited acceleration for of the system for a desired steering angle and maximum steering velocity. The desired steering velocity and steering trajectory are determined by _t_ _a_ 3 = 2 <sup>_<u>θf</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>θ</u>_</sup> <sup><u>0</u></sup> ( _t_ 0 _−_ _tf_ ) <sup>3</sup> Normally the yaw rate is limited by the physical capability of the actuators and the parameters of the robot, which means that _ωz,max_ are given. Set yaw acceleration from (18) to zero, we obtained: _tωz_ max = _−_ <sup>_<u>a</u>_</sup> <sup><u>2</u></sup> (21) 3 _a_ 3 where _tωzmax_ is the time instant at which the yaw rate is maximum. Substitute (21) into (17) we have _ωz_ max = _a_ 1 _−_ <sup>_<u>a</u>_</sup> <u>2</u> <sup>2</sup> (22) 3 _a_ 3 Substitute (20) into (22) we obtained: The desired trajectory of linear velocity is given by: _ωzdes_ ( _t_ ) = _αzdes_ ( _t_ ) _dt_ (27) 0 _t_ _θdes_ ( _t_ ) = _θini_ + _ωzdes_ ( _t_ ) _dt_ (28) 0 The robot is demanded to run at desired linear velocity, _Vdem_ . Noticed that the acceleration of system is limited in order to protect the mechanical parts. Assumed the maximum acceleration is given by _amax_, then the acceleration time will be determined by: _ta_ = <sup>_<u>Vdem</u>_</sup> _a_ max (29) _tωz_ max = _t_ 0 + <sup><u>3</u></sup> _<u>θdem</u>_ 4 _ωz_ max _tf_ = _t_ 0 + <sup><u>3</u></sup> _<u>θdem</u>_ 2 _ωz_ max And the coefficients become: - _a_ max _t_ if _t_ _<_ _ta_ _Vdes_ ( _t_ ) = (30) _Vdem_ otherwise _ωR,ref_ = <sup>_<u>iG</u>_</sup> _Rw_ _ωL,ref_ = <sup>_<u>iG</u>_</sup> _Rw_ ( _Vdes_ + _Wωzdes_ ) (31) ( _Vdes −_ _Wωzdes_ ) (32) _a_ 0 = 27 _θ_ 0 _−_ <sup><u>36</u></sup> <sup>_<u>t</u>_</sup> <u>0</u> <sup>2</sup> <sup>_<u>t</u>_</sup> <u>0</u> <sup>2</sup> <sup>_<u>ω</u>_</sup> _<u>z</u>_ <sup>2</sup> <u>max</u> + <sup><u>16</u></sup> <sup>_<u>t</u>_</sup> <u>0</u> <sup>3</sup> 27 _θdem_ 27 <sup>_<u>t</u>_</sup> <u>0</u> <sup>3</sup> <sup>_<u>ω</u>_</sup> _<u>z</u>_ <sup>3</sup> <u>max</u> 27 _θdem_ <sup>2</sup> (23) (24) Which the linear velocity, determined by Eq. (30) and the yaw rate, given by Eq. (17) or Eq. (27), the reference angular speed for the PMDC motors are determined by _<u>z</u>_ _a_ 1 = _−_ <sup><u>38</u></sup> <sup>_<u>t</u>_</sup> <sup><u>0</u></sup> <sup>_<u>ω</u>_</sup> <sup>2</sup> <sup>_<u>t</u>_</sup> <sup><u>0</u></sup> <sup>_<u>ω</u>_</sup> _<u>z</u>_ <sup>2</sup> <u>max</u> _−_ <sup><u>28</u></sup> <sup>_<u>t</u>_</sup> <u>0</u> <sup>2</sup> 9 _θdem_ 9 _θ_ <sup>_<u>t</u>_</sup> <u>0</u> <sup>2</sup> <sup>_<u>ω</u>_</sup> _<u>z</u>_ <sup>3</sup> <u>max</u> 9 _θdem_ <sup>2</sup> _<u>z</u>_ _a_ 2 = <sup><u>4</u></sup> <sup>_<u>ω</u>_</sup> <sup>2</sup> _<u>z</u>_ <u>max</u> _<u>z</u>_ <sup>_<u>ω</u>_</sup> <sup>2</sup> + <sup><u>16</u></sup> <sup>_<u>t</u>_</sup> <sup><u>0</u></sup> <sup>_<u>ω</u>_</sup> <sup>3</sup> 3 _θdem_ 9 _θ_ <sup>2</sup> _<u>z</u>_ <u>max</u> <sup>_<u>t</u>_</sup> <sup><u>0</u></sup> <sup>_<u>ω</u>_</sup> <sup>3</sup> 9 _θdem_ <sup>2</sup> _<u>z</u>_ <u>max</u> _a_ 3 = _−_ <sup><u>16</u></sup> <sup>_<u>ω</u>_</sup> <sup>3</sup> 27 _θdem_ <sup>2</sup> Substitute Eq. (24) into Eq. (18), the angular acceleration profile is determined by _<u>z</u>_ _αzdes_ ( _t_ ) = <sup><u>8</u></sup> <sup>_<u>ω</u>_</sup> <sup>2</sup> _<u>z</u>_ <u>max</u> _<u>z</u>_ <sup>_<u>ω</u>_</sup> <sup>2</sup> _−_ <sup><u>32</u></sup> <sup>_<u>ω</u>_</sup> <sup>3</sup> 3 _θdem_ 9 _θ_ <sup>2</sup> _<u>z</u>_ <u>max</u> <sup>_<u>ω</u>_</sup> <sup>3</sup> 9 _θdem_ <sup>2</sup> ( _t −_ _t_ 0) (25) ## 3. PMDC Control System Design In this section, two speed controllers are developed to make sure that the angular speed of the © 2023 Journal of Advanced Engineering and Computation (JAEC) 83 PMDC motors track their corresponding references. The reference speed of the right-motor is given by Eq. (31) and the reference speed for the left-motor is given by Eq. (32). Obviously if the parameters of the robot are determined with enough accuracy, when the angular speed of the motors track their reference, the linear and angular speed of the robot will also track their references. 3.1. Half-weight Robot Model In order to design the speed control system, only longitudinal dynamic of the robot is considered in the initial design stage. The effect of coupling characteristic of DDWRM on individual motor will be considered as lumped disturbance torque. Since there are two motors used for the robot, it is assumed that the motors are identical and each motor should carry a haft weight of all robot system. The simplified longitudinal dynamic equations of a half-weight mobile robot are: VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June Fig. 12: Block Diagram of a Half-weight Robot. Above system can also be presented in form of transfer functions as illustrated in Fig. 12. 3.2. System Analysis When ignoring the disturbance, _Td_, the transfer function of the motor can be obtained as: where x = - _ia_ _ωm_ - _T_ is the state variable vec tor, u = _Ua_ is the input, _τ_ = _Fd_ is the disturbance, y = _ωm_ is the output, and A, B, C, D are system matrices, determined by: where x = - _ia_ _ωm_ B = A = - _−_ <sup>_<u>Ra</u>_</sup> _La_ _La_ _<u>KT</u>_ _−_ <sup>_<u>Bm</u>_</sup> _<u>KT</u>_ _−_ <sup>_<u>Bm</u>_</sup> _JT_ _JT_ <sup>_<u>Ra</u>_</sup> _−_ <sup>_<u>KE</u>_</sup> _La_ _La_ - <u>1</u> _La_ 0 _JT_ (36) C = �0 1 <sup>�</sup> Dt = D = _O_ 1 _×_ 1 - 0 _<u>Rw</u>_ _iGηGJT_ _<u>dia</u>_ _<u>didta</u>_ <sup>=</sup> <sup>_−_</sup> <sup>_<u>R</u>_</sup> _La_ <sup>_<u>a</u>_</sup> _ia −_ <sup>_<u>KE</u>_</sup> _La_ _ia −_ <sup>_<u>KE</u>_</sup> _La_ _ωm_ + <sup><u>1</u></sup> _La_ _ωm_ + <sup><u>1</u></sup> _Ua_ _Tm_ = _KT ia −_ _Bmωm_ _Tm −_ <sup>_<u>FT</u>_</sup> _iGηG_ _<u>dωm</u>_ _dt_ _T_ (37) which can be expressed in standard 2 <sup>_nd_</sup> order system as _Rw_ = _Jw_ _Gp_ = <sup><u>Ω</u></sup> <sup>_<u>m</u>_</sup> <sup><u>(</u></sup> <sup>_<u>s</u>_</sup> <sup><u>)</u></sup> _Ua_ ( _s_ ) <sup><u>Ω</u></sup> <sup>_<u>m</u>_</sup> <sup><u>(</u></sup> <sup>_<u>s</u>_</sup> <sup><u>)</u></sup> _<u>KT</u>_ _Ua_ ( _s_ ) <sup>=</sup> ( _Las_ + _Ra_ ) ( _JT s_ + _Bm_ ) + _KT_ <sup>2</sup> _FT_ _−_ _Fd_ = <sup>_<u>m</u>_</sup> _dt_ <sup>_<u>m</u>_</sup> _<u>dV</u>_ 2 _dt_ _V_ = <sup>_<u>Rwωm</u>_</sup> _iG_ (38) Above equations can be rearranged as (33) (34) _Gp_ = _<u>Kdcωn</u>_ <sup>2</sup> _s_ <sup>2</sup> + 2 _ζωns_ + _ωn_ <sup>2</sup> _<u>dia</u>_ _<u>didta</u>_ <sup>=</sup> <sup>_−_</sup> <sup>_<u>R</u>_</sup> _La_ <sup>_<u>a</u>_</sup> _ia −_ <sup>_<u>KE</u>_</sup> _La_ where _ωn_ is the natural frequency; _ζ_ is the damping ratio, and _Kdc_ is the dc gain. _La_ _ωm_ + <sup><u>1</u></sup> _La_ _ωm_ + <sup><u>1</u></sup> _Ua_ _<u>dωm</u>_ = <sup>_<u>KT</u>_</sup> _dt_ _JT_ _<u>dωm</u>_ _ia −_ <sup>_<u>KE</u>_</sup> _La_ _ia −_ <sup>_<u>Bm</u>_</sup> _JT_ _ia −_ <sup>_<u>Bm</u>_</sup> ~~�~~ _<u>BmRa</u>_ <u>+</u> _<u>KT</u>_ <sup>2</sup> _JT La_ _JT_ _ωm −_ _Td_ _ωn_ = _<u>JT Ra</u>_ <u>+</u> _<u>BmLa</u>_ _ζ_ = 2� _JT La_ ( _BmRa_ + _KT_ <sup>2</sup> <sup>)</sup> where _JT_ = - _<u>w</u>_ _Jw_ + 2 <sup>_<u>mR</u>_</sup> _i_ <sup>2</sup> _G_ <sup>_η_</sup> <sup>2</sup> <sup>_G_</sup> is the equivalent mo ment of inertia of the robot and _Td_ = _iGRηGwJT_ <sup>_Fd_</sup> is the disturbance torque referred to the motor shaft. Eq. (34) can be rewritten in the form of standard linear system as ˙x = Ax + Bu + Dt _τ_ (35) y = Cx + Du _<u>KT</u>_ _Kdc_ = _BmRa_ + _KT_ <sup>2</sup> The system has two poles at ~~�~~ _ζ_ <sup>2</sup> _−_ 1� (39) _s_ = _−ωn_ _ζ ±_ 84 © 2023 Journal of Advanced Engineering and Computation (JAEC) Tab. 1: System Specifications. <u>No.</u> <u>Par.</u> <u>Description</u> <u>Value</u> <u>Unit</u> <u>PMDC</u> <u>Motors</u> <u>1</u> <u>Va</u> <u>Armature</u> <u>voltage</u> <u>36</u> <u>V</u> <u>2</u> <u>P</u> _<u>n</u>_ <u>Rated</u> <u>Output</u> <u>Power</u> <u>250</u> <u>W</u> <u>3</u> <u>I</u> _<u>n</u>_ <u>Rated</u> <u>current</u> <u>10</u> <u>A</u> <u>4</u> <u>N</u> _<u>n</u>_ <u>Rated</u> <u>Speed</u> <u>560</u> <u>rpm</u> <u>5</u> <u>T</u> _<u>n</u>_ <u>Rated</u> <u>Torque</u> <u>4.3</u> <u>N.m</u> <u>6</u> <u>R</u> _<u>a</u>_ <u>Armature</u> <u>winding</u> <u>resistance</u> <u>0.928</u> <u>Ω</u> <u>7</u> <u>L</u> _<u>a</u>_ <u>Armature</u> <u>winding</u> <u>inductance</u> <u>8.5</u> <u>mH</u> <u>8</u> <u>J</u> _<u>m</u>_ <u>Moment</u> <u>of</u> <u>inertia</u> <u>0.015</u> <u>Kg.m2</u> <u>9</u> <u>B</u> _<u>m</u>_ <u>Viscous</u> <u>coefficient</u> <u>0.011</u> <u>N.m.s/rad</u> <u>10</u> <u>m</u> _<u>w</u>_ <u>Motor-wheel</u> <u>mass</u> <u>0.5</u> <u>Kg</u> <u>11</u> <u>K</u> _<u>T</u>_ <u>Torque</u> <u>constant</u> <u>0.573</u> <u>N.m/A</u> <u>12</u> <u>K</u> _<u>E</u>_ <u>Voltage</u> <u>constant</u> <u>0.573</u> <u>V.s/rad</u> <u>DDWMR</u> <u>13</u> <u>m</u> _<u>b</u>_ <u>Robot</u> <u>body</u> <u>mass</u> <u>15</u> <u>Kg</u> <u>14</u> <u>W</u> <u>Half</u> <u>wheel</u> <u>base</u> <u>length</u> <u>0.2</u> <u>m</u> The parameters of PMDC motors are listed in Table 1. With these parameters, the transfer function of the motor in the half-weight robot model is <u>2724</u> _Gp_ = (40) _s_ <sup>2</sup> + 108 _s_ + 1609 where _ωn_ = 40.12(rad/s), _ζ_ = 1.35, and _Kdc_ = 1.692. The system has _ζ_ _>_ 1, which means that it is an overdamped one. It has two distinguish negative open-loop poles at _s_ 1 = -90.108 and _s_ 2 = -17.86. This means that the system is stable and no overshoot. The open-loop characteristics of the motor can also be obtained by using the “Linear System Analysis” toolbox from Matlab. The results are shown in Fig. 14. It can be seen from the figure that the half-weight robot system is stable, fast response, and no overshoot but high steadystate error, 69%. These results are agreed with that one obtained from the analytical calculations above. 3.3. Control System Design In most electrical drive system, PI controller is widely used for speed control. Hence, in this section, different design approaches will be used to synthesis the PI speed controller. The block diagram of the half-weight model with PI speed controller is shown in Fig. 13. The transfer func VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June Fig. 13: PI Speed Control System. Fig. 14: Open-loop characteristic. tion of the PI controller is given by _<u>Ki</u>_ _Kp_ (41) <sup>_<u>K</u>_</sup> _s_ <sup>_<u>i</u>_</sup> <sup>=</sup> <sup>_<u>K</u>_</sup> _s_ <sup>_<u>i</u>_</sup> - _<u>s</u>_ 1 + _Ki/Kp_ _Gc_ ( _s_ ) = _Kp_ + <sup>_<u>K</u>_</sup> _s_ <sup>_<u>i</u>_</sup> _s_ where _Kp_ is the proportional and _Ki_ is the integral gains of the PI controller. The open-loop transfer function of the speed control system, without disturbance, is given by _Gop_ ( _s_ ) = _Gc_ ( _s_ ) _Gp_ ( _s_ ) (42) 1) Pole-Zero Cancellation Since the PI controller has a zero of ( _Ki_ / _Kp_ ) while the motor has poles at _ωn_ - _ζ ±_ ~~�~~ ( _ζ_ <sup>2</sup> _−_ 1)�, the simplest way to select the gain constants of the PI controller is to cancel the pole-zero of the open-loop transfer function. In addition, the smaller negative pole is the shorter settling time the system will achieve, hence the gains of the PI controller will be select in order to cancel the larger pole. In this condition, we have ~~�~~ ( _ζ_ <sup>2</sup> _−_ 1) _ωn_ _ζ ±_ ~~�~~ _ζ_ <sup>2</sup> _−_ 1� (43) = _ωn_ _ζ_ + © 2023 Journal of Advanced Engineering and Computation (JAEC) 85 or _Ki_ = _Kpωn_ _ζ_ + - _ζ_ <sup>2</sup> _−_ 1� (44) After some mathematical manipulation, the open-loop transfer function becomes _Gop_ ( _s_ ) = <sup>_<u>Kp</u>_</sup> _s_ _<u>n</u>_ _s_ + _ωn_ <u>�</u> _ζ_ + <u>�</u> <u>�</u> _ζ_ + _<u>Kdcωn</u>_ <sup>2</sup> <u>�</u> _ζ_ <sup>2</sup> _−_ 1 (45) <u>�</u> And the closed-loop transfer function is ~~�~~ _ζ_ <sup>2</sup> _−_ 1� _s_ _s_ <sup>2</sup> + _ωn_ _ζ_ + _Gcl_ ( _s_ ) = _s_ <sup>2</sup> + _ωn_ <u>�</u> _ζ_ + <u>�</u> _ζ_ <sup>2</sup> _−_ 1� _s_ + _KpKdcωn_ <sup>2</sup> (46) in which the <u>undamped</u> natural frequency is _ωncl_ = _ωn_ - _KpKdc_ and the damping ratio is - _KpKdc_ and the damping ratio is _ζcl_ = _ω_ _ζ_ + <sup>_√_</sup> 2 <sup>_~~√~~_</sup> _Kζp_ <sup>2</sup> _K−dc_ 1 <sup>.</sup> _ζ_ <sup>2</sup> _−_ 1 For desired location of the dominant closedloop poles, the value of _Kp_ can be determined. For example, if damping ratio is interested, the proportional gain will be obtained from: - _<u>ζ</u>_ <sup>2</sup> _<u>−</u>_ <u>1</u> 2 _ζdes_ (47) �2 <u>1</u> _Kp_ = _Kdc_ _<u>ζ</u>_ <u>+</u> VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June (a) Different Damping Ratio. (b) Different Undamped Natural Frequency. Fig. 15: PI Speed Controller Performance. The corresponding undamped natural frequency of the closed-loop transfer function will be ~~�~~ _<u>ζ</u>_ <sup>2</sup> _<u>−</u>_ <u>1</u> (48) 2 _ζdes_ _ωncl_ = _ωn_ _<u>ζ</u>_ <u>+</u> In contrast, if natural frequency is interested, the proportional gain is obtained by: - _<u>ωndes</u>_ _ωn_ <u>1</u> _Kp_ = _Kdc_ �2 (49) And the corresponding damping ratio will be _ζcl_ = _ωn_ _<u>ζ</u>_ <u>+</u> - _<u>ζ</u>_ <sup>2</sup> _<u>−</u>_ <u>1</u> (50) 2 _ωndes_ The main drawback of the pole-zero cancellation method is that the _Kp_ gain only select to satisfy either desired damping ratio or undamped natural frequency. On the other words, when increasing the damping ratio, the 86 © 2023 Journal of Advanced Engineering and Computation (JAEC) Fig. 16: Ziegler-Nichols Tuning Method. Tab. 2: Parameters due to Ziegler-Nichols Rules. <u>Type</u> <u>Kp</u> <u>Ti</u> <u>Td</u> <u>P</u> <u>T/L</u> <u>13.83</u> <u>8</u> <u>8</u> <u>0</u> <u>0</u> <u>PI</u> <u>0.9T/L</u> <u>12.45</u> <u>L/0.3</u> <u>0.02</u> <u>0</u> <u>0</u> <u>PID</u> <u>1.2T/L</u> <u>16.6</u> <u>2L</u> <u>0.012</u> <u>0.5L</u> <u>0.003</u> response will have smaller overshoot but longer settling time. Similar performance will be obtained when decreasing the undamped natural frequency of the closed-loop system. 2) Ziegler-Nichols Rules-based PID It can be seen that the open loop response of the proposed PMDC motor exhibits an S-shape curve. Hence, Ziegler-Nichols tuning rule will be applied to estimate the controller parameters. The S-shaped curve is characterized by two constants, delay constant L and time constant T. The delay time and time constant are determined by drawing a tangent line at the inflection point of the S-shaped curve and determining the intersections of the tangent line with the time axis and line _K_ = _y_ ( _∞_ ) as shown in Fig. 16. From the figure we get K = 556 rpm (=58.22 rad/s), L = 0.006s and T = 0.083s. The ZieglerNichols tuning rules and the corresponding values of controller’s parameters are listed in Table 2. The transfer function of the PID controller is VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June (a) Step Response. (b) Bode diagram. Fig. 17: Controllers with Ziegler-Nichols Rules. Fig. 17a and Fig. 17b. It can be seen that there is some steady state error when using the P controller. By adding the Integrator, the PI controller eliminate the steady state error. When adding the derivative part, the closed-loop transfer has higher damping ration which reduce the overshoot and the settling time. 3) Matlab’s PID Auto-tuning App Starting from the gain constants obtained from Ziegler-Nichols rules in previous section, we utilized the PID Auto-tuning app in Matlab software to further tune the gain constants of the PID speed controller. Since the software is graphically interactive, it is easily to obtain the desired performance for a given system. Considering the response time, transient behavior, controller effort, input and output disturbance rejections, the response of the initial and the tuned PID controller are shown in Fig. 18. _Gc_ ( _s_ ) = _Kp_ - 1 + <sup><u>1</u></sup> (51) _Tis_ <sup>+</sup> <sup>_Tds_</sup> The step responses and Bode diagrams of the system under different controllers are shown in © 2023 Journal of Advanced Engineering and Computation (JAEC) 87 (a) Plots. (b) Numerical values. Fig. 18: Performance of Initial and Tuned PID Controller. ## 4. Simulation Results and Discussion In this section, the performances of different controllers are investigated in several case studies as listed in Table 3. In the first case study, the motor in the half-weight model is demanded to follow a step reference speed while in the second case study, the reference speeds of the motors are sinusoidal function of time. In the third case study (CS3), the controllers resulted from the design stage are utilized for the differential drive WMR. In this case study, the motors are required to follow the same amplitude but differ VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June Tab. 3: Summary of Case Studies. <u>No</u> <u>Case</u> <u>Study</u> <u>Description</u> <u>1</u> <u>CS1</u> <u>Motor</u> <u>response</u> <u>with</u> <u>rated</u> <u>speed</u> <u>reference</u> <u>2</u> <u>CS2</u> <u>Motor</u> <u>response</u> <u>with</u> <u>sinusoidal</u> <u>speed</u> <u>reference</u> <u>3</u> <u>CS3</u> <u>Robot</u> <u>response</u> <u>with</u> <u>sinusoidal</u> <u>motor</u> <u>speed</u> <u>references</u> <u>4</u> <u>CS4</u> <u>Robot</u> <u>response</u> <u>with</u> <u>linear</u> <u>and</u> <u>steering</u> <u>speeds</u> <u>reference</u> Fig. 19: Band-limited White Noise. ent frequency sinusoidal speed references. In the last case study (CS4), the demands for the robot are the linear speed and heading angle. Based on the initial and the desired heading angle, the cubic trajectory generation algorithm is applied to generate desired yaw rate trajectory. The load disturbance torques is assumed a band-limited white noise with 0.25 noise power, 0.2s sample time [23341] pattern as shown in Fig. 19. The integration of absolute error (IAE) is used as a metric to evaluate the performance of the motors and the robots in the two first case studies. _tf_ _IAE_ = _|ωref_ _−_ _ωm| dt_ (52) 0 In the first two case studies, the performances of the controllers are investigated under four sub-situations for each type of speed reference: without H-Bridge converter and without load torque disturbance (Ideal); with H-Bridge and without load disturbance (wH-woD); without HBridge and with load disturbance (who-wD); and with H-Bridge and with load disturbance (wH-wD). The resulted IAEs are listed in Table 4. Detail analyses are given below. In CS1, under the ideal situation, the output speed of the motor of the half-weight robot 88 © 2023 Journal of Advanced Engineering and Computation (JAEC) (a) Outputs. (b) Inputs. Fig. 20: System Performance at Rated Speed. Tab. 4: IAEs of Different Speed Controllers. <u>No.</u> <u>CS</u> <u>Sub-Situations</u> <u>PZ</u> <u>ZN-PID</u> <u>AT-PID</u> <u>1</u> <u>Ideal</u> <u>0.2105</u> <u>0.2611</u> <u>0.1855</u> <u>1</u> <u>Ideal</u> <u>0.2105</u> <u>0.2611</u> <u>0.1855</u> <u>2</u> <u>wH-woD</u> <u>0.2375</u> <u>0.2568</u> <u>0.1921</u> CS1 <u>3</u> <u>woH-wD</u> <u>0.2266</u> <u>0.2595</u> <u>0.1896</u> <u>4</u> <u>wH-wD</u> <u>0.2459</u> <u>0.2581</u> <u>0.1976</u> <u>5</u> <u>Ideal</u> <u>0.6656</u> <u>0.008352</u> <u>0.06693</u> <u>6</u> <u>wH-woD</u> <u>2.021</u> <u>0.1747</u> <u>0.1008</u> CS2 <u>7</u> <u>woH-wD</u> <u>1.135</u> <u>0.1148</u> <u>0.1021</u> <u>8</u> <u>wH-wD</u> <u>2.051</u> <u>0.2211</u> <u>0.1368</u> CS1 CS2 model are shown in Fig. 20. Since the output of the controller is the armature voltage which is limited by the rated one as shown in Fig. 20b. Only the output of the Pole-Zero Cancelation (PZ) controller is not exceeding the rated voltage. The limiting has great effect on the performance of the Ziegler-Nichols PID controller that the output shape is more different from the step response. The Auto-tuned PID (AT-PID) controller help the system to achieve smaller overshoot in comparison with the ZN-PID. In this case study, PZ controller offers the most reasonable performance. In CS2, the robot is demanded to follow a rated speed amplitude and 0.5 rad/s frequency VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June Fig. 21: Detail view of speed error in CS2. sinusoidal reference. Under ideal situation, since the reference is gradually increase and decrease, the system is easily to follow the reference. Hence all the controllers have good tracking performance. The error of the speed tracking for the first 0.7s is shown in Fig. 21. The presentation of H-bridge converter brings some input disturbance to the system while load torque variation is an output disturbance. For a rated speed reference, after short time the system reach its steady state. Since the robot has high undamped ratio, the effect of input and output disturbance is insignificant as can be seen from rows 2, 3, 4 in Table 4. However, for a sinusoidal speed reference, the disturbances effects are significant. With PZ controller, the presentation of H-bridge lead to a much higher error than the load torque. Since ZN-PID is designed based on the step response of the system, the controller is naturally suitable with sinusoidal reference speed. That why this controller helps the system achieve a smallest IAE in CS2 under ideal situation. Inherent from ZN-PID and considered input/output disturbance rejections during the design stage, AT-PID offers more robustness for the system. As a consequence, with the AT-PID controller, the system achieves consistent results in two case studies under different situations. In next steps, we investigate the effect of the speed controllers of the motors to the performance of the DDWMR. In CS3, the speed references are sinusoidal signals with the same amplitude but different frequency, 2.5 rad/sec for the right motor, and 5 rad/sec for the left. To evaluate the performance of the controllers, we use the root-mean-square of the error (RMSE) © 2023 Journal of Advanced Engineering and Computation (JAEC) 89 Fig. 22: CS3 Speed Errors. Tab. 5: RMSE of Motors and Robots Speeds of CS3. <u>No.</u> <u>Quantity</u> <u>Unit</u> <u>PZ</u> <u>ZN-PID</u> <u>AT-PID</u> <u>rpm</u> <u>62.03</u> <u>2.68</u> <u>5.48</u> 1 Right Motor <u>%</u> <u>11.08</u> <u>0.48</u> <u>0.98</u> <u>rpm</u> <u>119.44</u> <u>3.42</u> <u>9.35</u> 2 Left Motor <u>%</u> <u>21.33</u> <u>0.61</u> <u>1.67</u> <u>m/s</u> <u>0.6204</u> <u>0.0189</u> <u>0.0502</u> 3 Linear Speed <u>%</u> <u>14.11</u> <u>0.43</u> <u>1.14</u> <u>rad/s</u> <u>2.0839</u> <u>0.0750</u> <u>0.1657</u> 4 Angular Speed <u>%</u> <u>16.67</u> <u>0.6</u> <u>1.32</u> as a metric. The RMSE is defined by: - _n_ _<u>i</u>_ <u>=1</u> (53) _n_ _e_ <sup>2</sup> _i_ _RMSE_ = ~~�~~ <u>�</u> VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June (a) Motors and Robot Speeds. (b) Speed Errors. Fig. 23: Robot states under ZN-PID speed controller. with ZN-PID are shown in Fig. 24a and the corresponding speed errors are shown in Fig. 24b. The RMSE of motors and robot speeds are listed in Table 6. It can be seen that, ZN-PID offers a smallest error of motor speeds while the system with PZ-PI speed controllers achieves largest errors in term of individual motor and the whole robot as well. The robot states in global frame are shown in Fig. 25a and the corresponding errors are shown in Fig. 25b. It can be seen that all the speed errors approach zero after second of 1.2 but the position errors are not converged. This phenomenon is obvious because only speed control is considered in this work. where _ei_ is the error of the quantity under evaluation at simulation time step _i_ <sup>_th_</sup> and n is the total simulation steps. The RMSE of the motors and robots speed are listed in Table 5. Simulation results indicate that the performance of the robot is depended on the performance of the motors. Smaller motor speed error will result a smaller robot speed error. The interesting point is the ZN-PID helps the system achieve smallest RMSE for all evaluated quantities. For more details, the outputs of the robot with ZN-PID are shown in Fig. 23 below. In the last case study, the robot is initially heading at 30 <sup>_◦_</sup>, then demanded to run at longitudinal speed of 2 m/s with rated 4 m/s2 acceleration. At time 0.1s, the robot is commanded to steer to the new heading angle of 540 <sup>_◦_</sup> . The steering velocity is generated by cubic trajectory generation. The motors and robot speeds 90 © 2023 Journal of Advanced Engineering and Computation (JAEC) (a) Motors and Robot Speeds. (b) Speed Errors. Fig. 24: Motors and Robot Speeds at Steering. Tab. 6: RMSE of Motors and Robots Speeds in CS4. <u>No.</u> <u>Quantity</u> <u>Unit</u> <u>PZ</u> <u>ZN-PID</u> <u>AT-PID</u> <u>rpm</u> <u>43.95</u> <u>2.24</u> <u>4.13</u> 1 Right Motor <u>%</u> <u>7.85</u> <u>0.4</u> <u>0.74</u> <u>rpm</u> <u>25.18</u> <u>2.49</u> <u>3.31</u> 2 Left Motor <u>%</u> <u>4.49</u> <u>0.44</u> <u>0.59</u> <u>m/s</u> <u>0.17</u> <u>0.015</u> <u>0.02</u> 3 Linear Speed <u>%</u> <u>3.89</u> <u>0.33</u> <u>0.45</u> <u>rad/s</u> <u>1.12</u> <u>0.06</u> <u>0.11</u> 4 Angular Speed <u>%</u> <u>8.94</u> <u>0.46</u> <u>0.86</u> VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June (a) States. (b) Errors. Fig. 25: Robot States in Global Frame. ## 5. Conclusion In this work, we introduce a detail model and a control-oriented model of a differential drive WMR. In the detail model, the robot is divided into main components whose mathematical model and Simulink implementation is represented in detail. © 2023 Journal of Advanced Engineering and Computation (JAEC) 91 For control system design purpose, the robot is assumed symmetrically, the left and the right motors/wheels are identical. The mass distributes equally to the left and the right. Considering longitudinal dynamics only, a controloriented model is introduced. Only haft-weight of the robot is referred to the motor shaft. Based on the control-oriented model, the characteristic of the robot is analysed. Different PI/PID speed controllers, pole-zero cancelation PI, Ziegler-Nichols P, PI, PID, Auto-Tuning PID, are designed in a systematically approach. The performance of the controllers is investigated in four different case studies in term of motor only and the whole robot. IAE and RMSE are used as metrics to evaluate the tracking performance of the left/right motors and the robot. Simulation results indicate that there are different in performance of the same controllers for the same system under step response in design stage and under working conditions. Since the PZ-PI speed controller is designed based on the desired performance of the system under step response, the controller achieves a good tracking performance under step reference command and only suitable for ideal situation where the effect of power electronic converter and load torque disturbance are ignored. Inherent from ZN-PID, the AT-PID offers the best performance in the two first case studies when considering the motors are standalone systems. When applying for motors in the proposed differential drive WMR, ZN-PID offers the best tracking performance. The results from CS3 and CS4 convince that a better motor speed tracking help to get a better trajectory tracking performance of the robot. ## References [1] Tzafestas, S.G. (2018). Mobile robot control and navigation: A global overview. _Journal_ _of Intelligent & Robotic Systems_, _91_, 35–58. [2] García-Sánchez, J.R., Silva-Ortigoza, R., Tavera-Mosqueda, S., Márquez-Sánchez, C., Hernández-Guzmán, V.M., AntonioCruz, M., Silva-Ortigoza, G., & Taud, H. (2017). Tracking control for mobile robots considering the dynamics of all their subsys VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June tems: Experimental implementation. _Com-_ _plexity_, _2017_ . [3] Ding, N., Peng, C., Lin, M., & Wu, C. (2022). A comprehensive review on automatic mobile robots: applications, perception, communication and control. _Jour-_ _nal_ _of_ _Circuits,_ _Systems_ _and_ _Computers_, _31_ (08), 2250153. [4] Kanayama, Y., Kimura, Y., Miyazaki, F., & Noguchi, T. (1990). A stable tracking control method for an autonomous mobile robot. In _Proceedings.,_ _IEEE_ _International_ _Conference_ _on_ _Robotics_ _and_ _Automation_, IEEE, 384–389. [5] JIANGdagger, Z.P. & Nijmeijer, H. (1997). Tracking control of mobile robots: A case study in backstepping. _Automatica_, _33_ (7), 1393–1399. [6] Oriolo, G., De Luca, A., & Vendittelli, M. (2002). WMR control via dynamic feedback linearization: design, implementation, and experimental validation. _IEEE_ _Transactions on control systems technology_, _10_ (6), 835–852. [7] Hwang, C.L., Wu, H.M., & Hung, W.H. (2019). Software/hardware-based hierarchical finite-time sliding-mode control with input saturation for an omnidirectional autonomous mobile robot. _IEEE_ _Access_, _7_, 90254–90267. [8] Saad, K.B., Barkaoui, A., & Francois, B. (2016). Sliding mode control of a four brushless motor robot with independent wheels. In _2016_ _International_ _Conference_ _on_ _Electrical_ _Sciences_ _and_ _Technologies_ _in_ _Maghreb_ _(CISTEM)_, IEEE, 1–5. [9] Fukao, T., Nakagawa, H., & Adachi, N. (2000). Adaptive tracking control of a nonholonomic mobile robot. _IEEE_ _transactions_ _on_ _Robotics_ _and_ _Automation_, _16_ (5), 609– 615. [10] Kim, M.S., Shin, J.H., & Lee, J.J. (2000). Design of a robust adaptive controller for a mobile robot. In _Proceedings._ _2000_ _IEEE/RSJ_ _International_ _Conference_ _on_ _Intelligent_ _Robots_ _and_ _Systems_ _(IROS_ 92 © 2023 Journal of Advanced Engineering and Computation (JAEC) _2000)(Cat._ _No._ _00CH37113)_, volume 3, IEEE, 1816–1821. [11] Hwang, C.L. & Fang, W.L. (2015). Global fuzzy adaptive hierarchical path tracking control of a mobile robot with experimental validation. _IEEE_ _Transactions_ _on_ _Fuzzy_ _Systems_, _24_ (3), 724–740. [12] Das, T. & Kar, I.N. (2006). Design and implementation of an adaptive fuzzy logicbased controller for wheeled mobile robots. _IEEE_ _Transactions_ _on_ _Control_ _Systems_ _Technology_, _14_ (3), 501–510. [13] Gu, D. & Hu, H. (2006). Receding horizon tracking control of wheeled mobile robots. _IEEE Transactions on control systems tech-_ _nology_, _14_ (4), 743–749. [14] Chen, H., Ma, M., Wang, H., Liu, Z., & xing Cai, Z. (2009). Moving Horizon H _∞_ Tracking Control of Wheeled Mobile Robots With Actuator Saturation. _IEEE_ _Trans_ _Control_ _Syst_ _Technol_, _17_, 449–457. [15] Yu, S., Guo, Y., Meng, L., Qu, T., & Chen, H. (2018). MPC for path following problems of wheeled mobile robots. _IFAC-_ _PapersOnLine_, _51_ (20), 247–252. [16] Pitanga, J.R., Araújo, H.X., Conceição, A.G., & Oliveira, G.H. (2015). Stable model-based predictive control for wheeled mobile robots using linear matrix inequalities. _IFAC-PapersOnLine_, _48_ (19), 33–38. [17] Luan, Y., Wang, H., Li, X., Xu, W., Huang, R., & Lv, J. (2019). Design of motion control system for omnidirectional fourdrive mobile robot. In _2019_ _IEEE_ _8th_ _Joint_ _International_ _Information_ _Technology_ _and_ _Artificial_ _Intelligence_ _Conference_ _(ITAIC)_, IEEE, 1409–1413. [18] Vachhani, L., Mahindrakar, A.D., & Srid haran, K. (2010). Mobile robot navigation through a hardware-efficient implementation for control-law-based construction of generalized Voronoi diagram. _IEEE/ASME_ _Transactions_ _on_ _Mechatron-_ _ics_, _16_ (6), 1083–1095. VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June [19] Huang, M.S., Hsu, Y.L., & Fung, R.F. (2011). Minimum-energy point-topoint trajectory planning for a motor-toggle servomechanism. _IEEE/ASME_ _Transac-_ _tions_ _on_ _Mechatronics_, _17_ (2), 337–344. [20] Siemens (2023, February, 11), PID Control with PID_compact for SIMATIC S7-1200/S7-1500. [https://support.industry.](https://support.industry.siemens.com/cs/document/100746401/pid-control-with-pid_compact-for-simatic-s7-1200-s7\-1500?dti=0&lc=en-WW) [siemens.com/cs/document/](https://support.industry.siemens.com/cs/document/100746401/pid-control-with-pid_compact-for-simatic-s7-1200-s7\-1500?dti=0&lc=en-WW) [100746401/pid-control-with-pid_](https://support.industry.siemens.com/cs/document/100746401/pid-control-with-pid_compact-for-simatic-s7-1200-s7\-1500?dti=0&lc=en-WW) [compact-for-simatic-s7-1200-s7\](https://support.industry.siemens.com/cs/document/100746401/pid-control-with-pid_compact-for-simatic-s7-1200-s7\-1500?dti=0&lc=en-WW) [-1500?dti=0&lc=en-WW.](https://support.industry.siemens.com/cs/document/100746401/pid-control-with-pid_compact-for-simatic-s7-1200-s7\-1500?dti=0&lc=en-WW) [21] Bindu, R. & Namboothiripad, M.K. (2012). Tuning of PID controller for DC servo motor using genetic algorithm. _International_ _Journal_ _of_ _Emerging_ _Technology_ _and_ _Ad-_ _vanced_ _Engineering_, _2_ (3), 310–314. [22] Thomas, N. & Poongodi, D.P. (2009). Po sition control of DC motor using genetic algorithm based PID controller. In _Proceed-_ _ings_ _of_ _the_ _world_ _congress_ _on_ _engineering_, volume 2, Citeseer, 1–3. [23] El-Deen, A.T., Mahmoud, A.H., & El-Sawi, A.R. (2015). Optimal PID tuning for DC motor speed controller based on genetic algorithm. _Int_ _Rev_ _Autom_ _Control_, _8_ (1), 80– 85. [24] Jaiswal, M., Phadnis, M., & Ex, H. (2013). Speed control of DC motor using genetic algorithm based PID controller. _International_ _Journal_ _of_ _Advanced_ _Research_ _in_ _Computer_ _Science_ _and_ _Software_ _Engineering_, _3_ (7), 247–253. [25] Solihin, M.I., Tack, L.F., & Kean, M.L. (2011). Tuning of PID controller using particle swarm optimization (PSO). In _Pro-_ _ceeding_ _of_ _the_ _international_ _conference_ _on_ _advanced science,_ _engineering and informa-_ _tion_ _technology_, volume 1, 458–461. [26] Bayoumi, E.H. & Soliman, H.M. (2007). PID/PI tuning for minimal overshoot of permanent-magnet brushless DC motor drive using particle swarm optimization. _ELECTROMOTION-CLUJ_ _NAPOCA-_, _14_ (4), 198. © 2023 Journal of Advanced Engineering and Computation (JAEC) 93 [27] Kanojiya, R.G. & Meshram, P. (2012). Op timal tuning of PI controller for speed control of DC motor drive using particle swarm optimization. In _2012_ _international_ _confer-_ _ence_ _on_ _advances_ _in_ _power_ _conversion_ _and_ _energy_ _technologies_ _(APCET)_, IEEE, 1–6. [28] Payakkawan, P., Klomkarn, K., & Sooraksa, P. (2009). Dual-line PID controller based on PSO for speed control of DC motors. In _2009_ _9th_ _International_ _Symposium_ _on_ _Communications_ _and_ _Information_ _Technology_, IEEE, 134–139. [29] Bansal, U.K. & Narvey, R. (2013). Speed control of DC motor using fuzzy PID controller. _Advance_ _in_ _Electronic_ _and_ _Electric_ _Engineering_, _3_ (9), 1209–1220. [30] Tir, Z., Malik, O., Hamida, M.A., Cherif, H., Bekakra, Y., & Kadrine, A. (2017). Implementation of a fuzzy logic speed controller for a permanent magnet dc motor using a low-cost Arduino platform. In _2017_ _5th_ _International_ _Conference_ _on_ _Electrical_ _Engineering-Boumerdes_ _(ICEE-B)_, IEEE, 1–4. [31] Kushwah, M. & Patra, A. (2014). Tuning PID controller for speed control of DC motor using soft computing techniques-A review. _Advance_ _in_ _Electronic_ _and_ _Electric_ _Engineering_, _4_ (2), 141–148. [32] Velagic, J. & Galijasevic, A. (2009). Design of fuzzy logic control of permanent magnet DC motor under real constraints and disturbances. In _2009_ _IEEE_ _Control_ _Applica-_ _tions,(CCA)_ _&_ _Intelligent_ _Control,(ISIC)_, IEEE, 461–466. [33] Zhang, J., Wang, N., & Wang, S. (2004). A developed method of tuning PID controllers with fuzzy rules for integrating processes. In _Proceedings_ _of_ _the_ _2004_ _American_ _Control_ _Conference_, volume 2, IEEE, 1109–1114. [34] Hernández-Márquez, E., Avila-Rea, C.A., García-Sánchez, J.R., Silva-Ortigoza, R., Marciano-Melchor, M., Marcelino-Aranda, VOLUME: 7 _|_ ISSUE: 2 _|_ 2023 _|_ June M., Roldán-Caballero, A., & MárquezSánchez, C. (2019). “Full-Bridge Buck Inverter–DC Motor” System: Steady-State and Dynamic Analysis and Experimental Validation. _Electronics_, _8_ (11), 1216. ## About Authors Tri-Vien VU received the B.Eng. degree in mechatronics from Hanoi University of Science and Technology, Ha noi, Viet nam, in 2005, and the M.Sc. and Ph.D. degrees from Da-yeh University, Changhua, Taiwan in 2011 and 2015, respectively. He works as a Lecturer at the Faculty Electrical and Electronics Engineering, Ton Duc Thang University, Ho Chi Minh City, Vietnam since 2015. His research interests include vehicle dynamic, mobile robot, power electronics, electrical drives. Anh-Minh D. TRAN received his B.S. and M.S. degrees in Control and Automation Engineering from Ho Chi Minh City University of Transport in 2008 and 2013, respectively, and his Ph.D. from Pukyong National University in Busan, Korea, in 2017. He is currently a lecturer at the Faculty of Electrical and Electronics Engineering, Ton Duc Thang University, Ho Chi Minh City, Vietnam. His research interests include system dynamics, robust, and nonlinear control. Bao-Hieu NGUYEN is a senior student of Automation and and Control Engineering program at Ton Duc Thang University, Ho Chi Minh City, Vietnam. His research interests include power electronic, system dynamics, and mobile robot. Hoa-Vinh Vu TRAN is a senior student of Automation and and Control Engineering program at Ton Duc Thang University, Ho Chi Minh City, Vietnam. His research interests include image processing, system dynamics, and mobile robot. 94 "This is an Open Access article distributed under the terms of the Creative Commons Attribution License, hich e its est icted se dist ib tio a d e od ctio i a edi - ided the - i i al - k is

섹션 본문 101문단 · 31,027자

(제목 없음)

1This research presents a comprehensive mathematical model and a control-oriented model for a differential drive wheel mobile robot (DDWMR). The components and their interconnection within the robot are thoroughly modelled. The proposed mathematical models are used to analyse the characteristics of the robot. The control-oriented model is a simplified one which will be used to design speed controllers. The performance of the proposed system is evaluated through four case studies, focusing on both stand-alone motor systems and the entire DDWMR. The tracking performance is evaluated using metrics such as absolute error integration and root mean square error. Simulation results show that under ideal step command, the pole-zero cancellation PI speed controller achieves the best tracking performance, while PID controllers obtained from Matlab's Auto-tuning App perform best for standalone motor systems. For motors in a DDWMR, the PID controller with parameters derived from the Ziegler-Nichols tuning rules provides optimal tracking performance. These simulation results show that there is no universal controller that can achieve the best performance in all situations; rather, each controller is suited to specific circumstances. Nonetheless, in all case studies, better motor speed tracking leads to improved trajectory tracking performance for the robot.

Introduction

2Nowadays mobile robots are popular and their application can be seen in every aspect of life, from floor cleaning to space exploration. A global overview of mobile robot control and navigation can be found in [1]. Exhaustive review on trajectory tracking in differential drive WMRs can be found in [2]. Published works related to applications, perception, and communication of mobile robots can be found in [3].

3One of the most attractive topics in mobile robots is trajectory tracking control, which involves accurately following a desired path or trajectory. When the dynamic structure and the parameters of the mobile robot system are completely known, the trajectory tracking problem can be solved by using kinematic model [4], backstepping technique [5], or dynamic feedback linearization [6]. Considering disturbances, unmodelled dynamic and parameter uncertainty, the tracking problem can be solved by various nonlinear control techniques such as sliding mode [7,8], adaptive [9,10], fuzzy adaptive [11,12], or model predictive [13,14,15,16].

4In mentioned published works, the motors used in wheel mobile robots (WMRs) were considered as either torque sources, which serve as inputs to the dynamic model, or speed sources for the kinematic model of the robots. This means that the control system is designed to control the motors in order to track a desired trajectory, either by regulating the torque or speed of the motors. However, no detail speed control system design for the motors was discussed.

5Most of available commercial and research mobile robots are actuated by electrical motors. The majority of WMRs use either permanent magnet direct current (PMDC) motors [2], brushless direct current (BLDC) motors [8,17], stepper motors [18] or direct current servo motors [19]. Among of them, PMDC motors are most widely used due to their simple mathematical model as well as control mechanism.

6Typical control problems for a PMDC motor are speed, torque, and position one. Various linear and nonlinear control techniques have been used for speed control of PMDC motors. Among of them, PID is extensively used in industrial application, academic, and research activities. An interesting topic in design PID speed control system is parameter tuning. Conventional approaches such as pole-zero cancelation, pole-placement are used for academic activities. Ziegler-Nichols rules based are usually used for tuning the parameter of PID controller for practical systems whose step responses are in S-curve shape. Commercial PID controllers have auto-tuning feature [20]. Various online and offline PID parameter tuning algorithms have been proposed, for example, generic algorithm [21,22,23,24], particle swarm optimization [25,26,27,28], or soft computing [29,30,31,32,33]. However, all of these works considered the PMDC motors as standalone systems, with the load torque being considered a constant, a step change, or some noise. As a result, the performance of these controllers can differ greatly when applied to standalone PMDC motors versus PMDC motors used in mobile robots.

7The output of the controllers used for the PMDC motors are normally desired armature voltage that applied to the motors. In practical systems, power electronic converters must be used as drivers to convert the desired voltage into the duty cycle that will be fed into some pulse-width-modulation generator to control the converters. For dc motors, buck, boost, or buckboost topologies are commonly used [34]. When using these converters, the voltage apply to the motor can be smaller or larger than the voltage of the DC power source but always positive (or negative). The direction of the current is also fixed. With these converters, the motors are always work at the first quadrant. On the other words the manoeuvrability and mobility of the mobile robots are reduced.

8In mobile robots, each robot typically has several driving wheels that are actuated by electrical motors. These motors are inter-connected and form a coupling multi-input-multi-output (MIMO) system, meaning that they work together to control the movement of the robot. The design of the control system for electrical motors used in mobile robots must take into account the interaction and coupling between the different motors and the effect on the overall system performance.

9In this work, a detailed model of a differential drive WMR is introduced. The model consists of four subsystems: the kinematic and dynamic models of the robot, the dynamic model of the DC motor actuators, and the model of an H-bridge converter with a built-in PWM generator. To simplify the analysis, a half-weight model of the WMR that considers only the longitudinal dynamic is proposed. This model is used as a control-oriented one for designing the speed control system of the DC motor. The effect of the multi-motor coupling characteristics in DDWMRs is presented in terms of the same disturbance torques acting in different directions on the right and left motors.

10Details of designing the PI/PID speed controllers for the system is also presented in a systematically approach. Initially, conventional pole-zero (PZ) cancelation technique is applied to determined parameters of PI speed controllers. Since the open-loop respond of the halfweight robot is an S-curve shape, Ziegler-Nichols (ZN) rules are utilized the determined parameters of P, PI, and PID speed controllers. The parameters of ZN-PID are used as initial values for the PID controller when using the PID Auto Tuning (AT) App in Matlab/Simulink for further improvement.

11The effectiveness of the controllers are evaluated under four different case studies. The first two case studies are utilized to evaluate the performance of the controllers when applying for standalone PMDC motors while in the last two case studies, the controllers are applied for PMDC motors used in a differential drive wheel mobile robot (DDWMR). In each case study, the performance of proposed system is further considered under different situations, for example, with/without power electronic converters, with-/without disturbance torques.

12The remain of this work is organized as follow. Section II presents the description and modelling of the proposed system. Section III presents the design of the speed controller for PMDC motors. Performance of the designed controllers used for standalone motor systems and WMRs system are described in Section IV. Main contributions and future research direction of this work are presented in Section V.

2.

13System Description and Modeling

System Description

14The overall block diagram of the proposed Differential Drive Wheel Mobile Robot (DDWMR) is shown in Fig. 1. The system is commanded to move in desired orientation θ des with certain velocity linear velocity v des . A virtual robot block is utilized to generate the desired information of the robot: the global location, linear and angular velocities. Among of them, most important information are the desired angular velocities of the left-and the right-wheel, ω L,des and ω R,des respectively. The Left-and Right-Motor-Controllers are the speed controllers for dc motors whose outputs are the pulse-width-modulation values that will be applied to the motor drivers, the H-bridge converters. The outputs of the Hbridges are armature voltage that apply to the PMDC motors. The torques available at the output of the motor shafts are feeding to the dynamic model of the robot whose outputs are linear and angular velocities. Using kinematic model, the current position and orientation of the robot and the angular velocities of the wheels can be determined. The angular velocities of the wheels are also the angular speed of the motors that will be used as measured feedback to ensure that the angular speeds of the motors are followed the reference ones. Following section will describe all the block in detail.

1) Kinematic Model

15In this work, the proposed DDWMR is equipped with two identical PMDC motors whose output shafts are connected to corresponding driving wheels. There are two small caster wheels located at front and rear positions for balancing purpose. The caster wheels are neglected in the modelling process but their effects will be taken into account under the form of load torque disturbance to driving wheels later. For an easily reading purpose, the PMDC motors and casters wheels are neglected in the kinematic diagram as shown in Fig. 2.

16With the assumption of rolling without slipping of the wheels, the longitudinal speeds of the wheel-hub centers are determined by

17Where ω L and ω R are the angular speed of the wheels; Rw is the wheel radius; i G is the gearbox ratio. The longitudinal speed V and the yaw rate ω z of the robot at point O B , the midpoint of the line connecting the wheel-hub centers, can be obtained as:

18where 2W is the distance between the wheel centers, also the distance between the ground contact point of the left and right wheels.

19In term of global frame, we have

20where V X is the X-axis velocities, V Y is the Yaxis velocity, andθ is the yaw rate of the robot. The orientation and location of the robot in global frame will be determined by

21where θ 0 and X 0 , Y 0 ) are initial orientation and position of the robot. Detail of kinematic block is shown in Fig. 3.

2) Dynamic Model

22The dynamic diagram of the proposed DDWMR is shown in Fig. 4 below. In this diagram, F R and F L are tractive forces generated at the wheel's ground contact points, C R and C L , respectively; T R and T L are the torques available at the output shafts of the right-and the leftmotor, respectively.

23Using Newton second law for the motor-wheel systems we have:

24where J w is the moment of inertia of the wheel, i G and η G are the gearbox ratio and efficiency respectively.

25Using Newton second law for the robot systems we have: where m is the total weight of all the robot system, J z is the moment of inertia of the robot with respect to Z-axis; F d and T d are unknown lumped force and torque against the linear and rotation movement of the robot.

26Substitutes Eq. (1) and Eq. (2) into Eq. (6) we have

27Solving Eq. (7) we obtained:

28where m lin = mRw 4i G + JzRw 4W 2 i G is the linear equivalent weight acting on the motors due to the linear movement and m rot = mRw 4i G − JzRw 4W 2 i G is the equivalent mass acting on the motors due to the rotational movement. where

29is the equivalent moment of inertia refer to the motor due to linear movement and J rot = mrotRw i G η G is the equivalent moment of inertia refer to the motor due to the rotational movement.

30Solving Eq. (9) we obtained

31Then the angular speed of the motors will be obtained as:

32where ω R0 and ω L0 are initial speed of the motors. Detail of dynamic block is shown in Fig. 5.

3) Actuator Model

33Assumed that we can have the same PMDC motors for the left and the right-wheels, the linear time invariant model of PMDC motors is:

34where R a and L a are the resistance and inductance of the armature winding; K E is the voltage constant; U aR and U aL are the voltage applied to the armature winding of the right-and the left-motor respectively.

35The torques at the output shafts of the motors are

36where K T is the torque constant, and B m is the viscous coefficient of the motors. Detail of motor block is shown in Fig. 6.

4) H-Bridge Converter Model

37An H-bridge is composed of four fully controlled power electronic switches such as power BJT, MOSFET, IGBT, IGCT, or GTO. In this work, four MOSFETs with built-in diodes are used as power switches and the schematic of the Hbridge is shown in Fig. 7.

38To adjust the level of output voltage of the converter, pulse-width-modulation method is used. The duty cycle adjustment is implemented by comparing a triangular signal with magnitude of 0.5, offset 0.5 and frequency of fc with a constant D as shown in Fig. 8. The switch is turned on if D ≥ V c and is turned off if D < V c , where the carrying signal is a triangular varied It is obviously that the on-duty period of the pulse is proportional to the value of D as

39Assume that the motor will move forward if a positive voltage is applied to the motor terminal and backward if a negative voltage is applied to the motor terminal. In this manner, (S 1 and S 2 ) are used to control the rotating direction while (S 3 and S 4 ) are used to adjust the armature voltage of the motor. The timeline of the switches and the resultant voltage are shown in Fig. 9. The pulse-width of S 3 and S 4 are adjusted based on the relationship between the desired duty D and the carrying signal. The value of D can be used to set the moving direction, if D > 0 the robot moves forward and if D < 0 the robot moves backward. The carrying signal also depends on the moving direction, a positive carrying signal is for forward movement and a negative signal is for backward movement. The switching scheme is straightforward: if D > V c , then (S 4 on, S 3 off) and if D < V c , then (S 4 off, S 3 on). The average voltage applied to the motor is

40where U dc is the voltage of a dc voltage source, U a is the voltage applied to the armature winding of the PMDC motors. Detail of H-bridge block is shown in Fig. 10.

5) Virtual Robot Block

41Imitated by human driving behaviours, the robot is demanded to follow the commanded lon- gitudinal velocity and the orientation (the heading angle). Based on the commanded information, the steering block generates the linear and angular speed trajectories of the robot in the global frame. After that, using an inverse kinematic model of DDWMR, the linear and angular speed will be converted into actuators' angular velocity.

42There are several methods to generate the trajectory of the yaw rate for a desired yaw angle. The trajectories can be cubic polynomial shapes, S-curve shapes or linear segment with blends. Among of them, cubic polynomial offers a smooth movement but requires longer traveling time. S-curve shape trajectory offers a smooth movement, optimizable traveling time but requires a higher computational effort. Linear segment with blends trajectory is a simplified version of s-curve shape, this kind of trajectory offers a reasonable smooth movement with tunable traveling time and lower computational effort. The linear segment with blends trajectory is resulting a trapezoidal yaw rate profile. In this work, the cubic polynomial is used to generate the angular speed trajectory for a desired heading angle. For a cubic polynomial, the yaw angle is a 3 rd order polynomial, the yaw rate will be a 2 nd order polynomial, and the yaw acceleration is a 1st order polynomial as described by equations from Eq. (16) to Eq. (18) and illustrated in Fig. 11.

43where a i (i = 1..4) are the polynomial coefficients.

44If we know the time period required for steering command, the coefficients will be determined by the initial conditions:

45where t 0 is the time instant that the steering is started and t f is the time instant that the steering is finished. Substitute Eq. (16) into Eq. (19) and after some mathematical manipulation we obtained:

46Normally the yaw rate is limited by the physical capability of the actuators and the parameters of the robot, which means that ω z,max are given. Set yaw acceleration from (18) to zero, we obtained:

47where t ωzmax is the time instant at which the yaw rate is maximum.

48Substitute (21) into (17) we have

49Substitute (20) into (22) we obtained:

50And the coefficients become:

51Substitute Eq. (24) into Eq. (18), the angular acceleration profile is determined by

52It can be seen from Eq. (25) that the angular acceleration is maximum at t = t 0 and equal to

53This value will be considered as a limited acceleration for of the system for a desired steering angle and maximum steering velocity. The desired steering velocity and steering trajectory are determined by

54The robot is demanded to run at desired linear velocity, V dem . Noticed that the acceleration of system is limited in order to protect the mechanical parts. Assumed the maximum acceleration is given by a max , then the acceleration time will be determined by:

55The desired trajectory of linear velocity is given by:

56Which the linear velocity, determined by Eq. (30) and the yaw rate, given by Eq. (17) or Eq. (27), the reference angular speed for the PMDC motors are determined by

PMDC Control System Design

57In this section, two speed controllers are developed to make sure that the angular speed of the PMDC motors track their corresponding references. The reference speed of the right-motor is given by Eq. (31) and the reference speed for the left-motor is given by Eq. (32). Obviously if the parameters of the robot are determined with enough accuracy, when the angular speed of the motors track their reference, the linear and angular speed of the robot will also track their references.

Half-weight Robot Model

58In order to design the speed control system, only longitudinal dynamic of the robot is considered in the initial design stage. The effect of coupling characteristic of DDWRM on individual motor will be considered as lumped disturbance torque. Since there are two motors used for the robot, it is assumed that the motors are identical and each motor should carry a haft weight of all robot system. The simplified longitudinal dynamic equations of a half-weight mobile robot are:

59Above equations can be rearranged as

60where

61is the equivalent moment of inertia of the robot and T d = Rw i G η G J T F d is the disturbance torque referred to the motor shaft. Eq. (34) can be rewritten in the form of standard linear system aṡ where x = i a ω m T is the state variable vector, u = U a is the input, τ = F d is the disturbance, y = ω m is the output, and A, B, C, D are system matrices, determined by:

62Above system can also be presented in form of transfer functions as illustrated in Fig. 12.

System Analysis

63When ignoring the disturbance, T d , the transfer function of the motor can be obtained as:

64(37) which can be expressed in standard 2 nd order system as

65where ω n is the natural frequency; ζ is the damping ratio, and K dc is the dc gain.

66The system has two poles at The parameters of PMDC motors are listed in Table 1. With these parameters, the transfer function of the motor in the half-weight robot model is

67where ω n = 40.12(rad/s), ζ = 1.35, and K dc = 1.692.

68The system has ζ > 1, which means that it is an overdamped one. It has two distinguish negative open-loop poles at s 1 = -90.108 and s 2 = -17.86. This means that the system is stable and no overshoot.

69The open-loop characteristics of the motor can also be obtained by using the "Linear System Analysis" toolbox from Matlab. The results are shown in Fig. 14. It can be seen from the figure that the half-weight robot system is stable, fast response, and no overshoot but high steadystate error, 69%. These results are agreed with that one obtained from the analytical calculations above.

Control System Design

70In most electrical drive system, PI controller is widely used for speed control. Hence, in this section, different design approaches will be used to synthesis the PI speed controller. The block diagram of the half-weight model with PI speed controller is shown in Fig. 13. The transfer func- tion of the PI controller is given by

71where K p is the proportional and K i is the integral gains of the PI controller.

72The open-loop transfer function of the speed control system, without disturbance, is given by

1) Pole-Zero Cancellation

73Since the PI controller has a zero of (K i /K p ) while the motor has poles at ω n ζ ± (ζ 2 − 1) , the simplest way to select the gain constants of the PI controller is to cancel the pole-zero of the open-loop transfer function. In addition, the smaller negative pole is the shorter settling time the system will achieve, hence the gains of the PI controller will be select in order to cancel the larger pole. In this condition, we have

74After some mathematical manipulation, the open-loop transfer function becomes

75And the closed-loop transfer function is

76(46) in which the undamped natural frequency is ω ncl = ω n K p K dc and the damping ratio is

77For desired location of the dominant closedloop poles, the value of K p can be determined. For example, if damping ratio is interested, the proportional gain will be obtained from:

78The corresponding undamped natural frequency of the closed-loop transfer function will be

79In contrast, if natural frequency is interested, the proportional gain is obtained by:

80And the corresponding damping ratio will be

81The main drawback of the pole-zero cancellation method is that the K p gain only select to satisfy either desired damping ratio or undamped natural frequency. On the other words, when increasing the damping ratio, the response will have smaller overshoot but longer settling time. Similar performance will be obtained when decreasing the undamped natural frequency of the closed-loop system.

2) Ziegler-Nichols Rules-based PID

82It can be seen that the open loop response of the proposed PMDC motor exhibits an S-shape curve. Hence, Ziegler-Nichols tuning rule will be applied to estimate the controller parameters.

83The S-shaped curve is characterized by two constants, delay constant L and time constant T. The delay time and time constant are determined by drawing a tangent line at the inflection point of the S-shaped curve and determining the intersections of the tangent line with the time axis and line K = y(∞) as shown in Fig. 16. From the figure we get K = 556 rpm (=58.22 rad/s), L = 0.006s and T = 0.083s. The Ziegler-Nichols tuning rules and the corresponding values of controller's parameters are listed in Table 2. The transfer function of the PID controller is

84The step responses and Bode diagrams of the system under different controllers are shown in Fig. 17a and Fig. 17b. It can be seen that there is some steady state error when using the P controller. By adding the Integrator, the PI controller eliminate the steady state error. When adding the derivative part, the closed-loop transfer has higher damping ration which reduce the overshoot and the settling time.

3) Matlab's PID Auto-tuning App

85Starting from the gain constants obtained from Ziegler-Nichols rules in previous section, we utilized the PID Auto-tuning app in Matlab software to further tune the gain constants of the PID speed controller. Since the software is graphically interactive, it is easily to obtain the desired performance for a given system. Considering the response time, transient behavior, controller effort, input and output disturbance rejections, the response of the initial and the tuned PID controller are shown in Fig. 18.

Simulation Results and Discussion

86In this section, the performances of different controllers are investigated in several case studies as listed in Table 3. In the first case study, the motor in the half-weight model is demanded to follow a step reference speed while in the second case study, the reference speeds of the motors are sinusoidal function of time. In the third case study (CS3), the controllers resulted from the design stage are utilized for the differential drive WMR. In this case study, the motors are required to follow the same amplitude but differ- ent frequency sinusoidal speed references. In the last case study (CS4), the demands for the robot are the linear speed and heading angle. Based on the initial and the desired heading angle, the cubic trajectory generation algorithm is applied to generate desired yaw rate trajectory.

87The load disturbance torques is assumed a band-limited white noise with 0.25 noise power, 0.2s sample time [23341] pattern as shown in Fig. 19. The integration of absolute error (IAE) is used as a metric to evaluate the performance of the motors and the robots in the two first case studies.

88In the first two case studies, the performances of the controllers are investigated under four sub-situations for each type of speed reference: without H-Bridge converter and without load torque disturbance (Ideal); with H-Bridge and without load disturbance (wH-woD); without H-Bridge and with load disturbance (who-wD); and with H-Bridge and with load disturbance (wH-wD). The resulted IAEs are listed in Table 4. Detail analyses are given below.

89In CS1, under the ideal situation, the output speed of the motor of the half-weight robot Fig. 20. Since the output of the controller is the armature voltage which is limited by the rated one as shown in Fig. 20b.

90Only the output of the Pole-Zero Cancelation (PZ) controller is not exceeding the rated voltage. The limiting has great effect on the performance of the Ziegler-Nichols PID controller that the output shape is more different from the step response. The Auto-tuned PID (AT-PID) controller help the system to achieve smaller overshoot in comparison with the ZN-PID. In this case study, PZ controller offers the most reasonable performance.

91In CS2, the robot is demanded to follow a rated speed amplitude and 0.5 rad/s frequency sinusoidal reference. Under ideal situation, since the reference is gradually increase and decrease, the system is easily to follow the reference. Hence all the controllers have good tracking performance. The error of the speed tracking for the first 0.7s is shown in Fig. 21. The presentation of H-bridge converter brings some input disturbance to the system while load torque variation is an output disturbance. For a rated speed reference, after short time the system reach its steady state. Since the robot has high undamped ratio, the effect of input and output disturbance is insignificant as can be seen from rows 2, 3, 4 in Table 4. However, for a sinusoidal speed reference, the disturbances effects are significant. With PZ controller, the presentation of H-bridge lead to a much higher error than the load torque. Since ZN-PID is designed based on the step response of the system, the controller is naturally suitable with sinusoidal reference speed. That why this controller helps the system achieve a smallest IAE in CS2 under ideal situation. Inherent from ZN-PID and considered input/output disturbance rejections during the design stage, AT-PID offers more robustness for the system. As a consequence, with the AT-PID controller, the system achieves consistent results in two case studies under different situations.

92In next steps, we investigate the effect of the speed controllers of the motors to the performance of the DDWMR. In CS3, the speed references are sinusoidal signals with the same amplitude but different frequency, 2.5 rad/sec for the right motor, and 5 rad/sec for the left. To evaluate the performance of the controllers, we use the root-mean-square of the error (RMSE)

93where e i is the error of the quantity under evaluation at simulation time step i th and n is the total simulation steps.

94The RMSE of the motors and robots speed are listed in Table 5. Simulation results indicate that the performance of the robot is depended on the performance of the motors. Smaller motor speed error will result a smaller robot speed error. The interesting point is the ZN-PID helps the system achieve smallest RMSE for all evaluated quantities.

95For more details, the outputs of the robot with ZN-PID are shown in Fig. 23 below.

96In the last case study, the robot is initially heading at 30 • , then demanded to run at longitudinal speed of 2 m/s with rated 4 m/s2 acceleration. At time 0.1s, the robot is commanded to steer to the new heading angle of 540 • . The steering velocity is generated by cubic trajectory generation. The motors and robot speeds with ZN-PID are shown in Fig. 24a and the corresponding speed errors are shown in Fig. 24b. The RMSE of motors and robot speeds are listed in Table 6. It can be seen that, ZN-PID offers a smallest error of motor speeds while the system with PZ-PI speed controllers achieves largest errors in term of individual motor and the whole robot as well.

97The robot states in global frame are shown in Fig. 25a and the corresponding errors are shown in Fig. 25b. It can be seen that all the speed errors approach zero after second of 1.2 but the position errors are not converged. This phenomenon is obvious because only speed control is considered in this work.

Conclusion

98In this work, we introduce a detail model and a control-oriented model of a differential drive WMR. In the detail model, the robot is divided into main components whose mathematical model and Simulink implementation is represented in detail.

99For control system design purpose, the robot is assumed symmetrically, the left and the right motors/wheels are identical. The mass distributes equally to the left and the right. Considering longitudinal dynamics only, a controloriented model is introduced. Only haft-weight of the robot is referred to the motor shaft.

100Based on the control-oriented model, the characteristic of the robot is analysed. Different PI/PID speed controllers, pole-zero cancelation PI, Ziegler-Nichols P, PI, PID, Auto-Tuning PID, are designed in a systematically approach.

101The performance of the controllers is investigated in four different case studies in term of motor only and the whole robot. IAE and RMSE are used as metrics to evaluate the tracking performance of the left/right motors and the robot. Simulation results indicate that there are different in performance of the same controllers for the same system under step response in design stage and under working conditions. Since the PZ-PI speed controller is designed based on the desired performance of the system under step response, the controller achieves a good tracking performance under step reference command and only suitable for ideal situation where the effect of power electronic converter and load torque disturbance are ignored. Inherent from ZN-PID, the AT-PID offers the best performance in the two first case studies when considering the motors are standalone systems. When applying for motors in the proposed differential drive WMR, ZN-PID offers the best tracking performance. The results from CS3 and CS4 convince that a better motor speed tracking help to get a better trajectory tracking performance of the robot.

참고문헌

참고문헌 정보가 없습니다.