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

Control of Different-Axis Two-Wheeled Self-Balancing Vehicles

관련 화학·수지 · (21) 에폭시수지

기본 정보

저자
  1. Jie Tian — College of Automobile and Traffic Engineering, Nanjing Forestry University, Nanjing, China
  2. Jie Ding — College of Automobile and Traffic Engineering, Nanjing Forestry University, Nanjing, China
  3. Yongpeng Tai — College of Automobile and Traffic Engineering, Nanjing Forestry University, Nanjing, China
  4. Zheshu Ma — College of Automobile and Traffic Engineering, Nanjing Forestry University, Nanjing, China
DOI
10.1109/access.2020.3019538
저널
IEEE Access
발행년도
2020
발행기관
Institute of Electrical and Electronics Engineers
피인용수
15
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2020.3019538
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W3080541585

평가 내용

관련도
관련
사업분야
화학·수지 · (21) 에폭시수지
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '화학·수지 > 에폭시수지' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

This paper investigates the controls of straight running and turning of a different-axis two-wheeled self-balancing (DATWSB) vehicle. The inverted pendulum system (IPS) with gyroscopic effect is used to describe the uncertainty caused by the working conditions. Based on the generalized coordinate systems, the nonlinear mathematical model of the IPS is established according to Lagrange equation. The sliding mode controller (SMC) and adaptive sliding mode controller (ASMC) are respectively designed to control the system, in which the roll angle feedback is used. The simulation results of three models with/without the controllers are presented, which indicate that the ASMC can make the IPS recover upright faster in straight running, and better achieve the desired roll angle in turning compared with the SMC. Bikesim, a commercial software, is used to build a two-wheeled vehicle model with self-balancing function in combination with Matlab/Simulink. The results show that the ASMC can guarantee the anti-interference and turning abilities of the DATWSB vehicle.

본문 48,911자

본문 펼치기
Received August 7, 2020, accepted August 20, 2020, date of publication August 26, 2020, date of current version September 11, 2020. _Digital Object Identifier 10.1109/ACCESS.2020.3019538_ # Control of Different-Axis Two-Wheeled Self-Balancing Vehicles JIE TIAN, JIE DING, YONGPENG TAI, AND ZHESHU MA College of Automobile and Traffic Engineering, Nanjing Forestry University, Nanjing 210037, China Corresponding author: Jie Tian (njtianjie@163.com) This work was supported in part by the National Natural Science Foundation of China under Grant 51975299, Grant 11272159, and Grant 51305207, and in part by the High-Level Talent Fund of Nanjing Forestry University under Grant GXL2018004. ABSTRACT This paper investigates the controls of straight running and turning of a different-axis twowheeled self-balancing (DATWSB) vehicle. The inverted pendulum system (IPS) with gyroscopic effect is used to describe the uncertainty caused by the working conditions. Based on the generalized coordinate systems, the nonlinear mathematical model of the IPS is established according to Lagrange equation. The sliding mode controller (SMC) and adaptive sliding mode controller (ASMC) are respectively designed to control the system, in which the roll angle feedback is used. The simulation results of three models with/without the controllers are presented, which indicate that the ASMC can make the IPS recover upright faster in straight running, and better achieve the desired roll angle in turning compared with the SMC. Bikesim, a commercial software, is used to build a two-wheeled vehicle model with self-balancing function in combination with Matlab/Simulink. The results show that the ASMC can guarantee the anti-interference and turning abilities of the DATWSB vehicle. INDEX TERMS Different-axis two-wheeled self-balancing vehicle, gyroscopic effect, inverted pendulum, sliding mode control, adaptive sliding mode control. I. INTRODUCTION In recent years, two-wheeled self-balancing (TWSB) vehicles have begun to be welcomed by more and more green-travel enthusiasts because they are not only energy-saving and environmentally friendly, but also have the advantages of simple structure, flexible operation, and portability [1]. In 1986, Yamato Gaoqiao, professor of Tokyo Electric Communication University, designed a small electric vehicle with two wheels placed left and right, due to the limitation of sensor technology and computer technology at that time, the self-balance control effect of this vehicle was not good, so it had not received much attention [2]. In 2002, the first real TWSB vehicle in the world, Segway, was successfully produced [3]. And a concept TWSB vehicle called PUMA, which added two traditional car seats compared with the Segway, was successfully developed in 2009. With the popularization of coaxial TWSB vehicles, people began to transfer their inspiration to TWSB vehicles with two wheels placed front The associate editor coordinating the review of this manuscript and approving it for publication was Feiqi Deng . and rear. In 2012, the first DATWSB electric vehicle named Lit Motors C1 was born in the world. Up to now, there are two kinds of the TWSB vehicle, one is the coaxial TWSB vehicle with two wheels placed left and right (shown in Fig. 1), the other is DATWSB vehicle with two wheels placed front and rear (shown in Fig. 2). At the same time, many researchers are devoted to the stability analysis and control of the coaxial TWSB vehicles. Various control methods, such as the closed-loop PID, fuzzy PID, linear feedback control (LFC) and adaptive control, were used in the control of TWSB vehicles. A lowcost hardware platform was developed and the closed-loop PID controllers were designed to maintain the balance of the TWSB vehicle [4]. Authors in [5] designed a double closed-loop PD controller to stabilize the tilt angle of the TWSB vehicle model, but the classical input-output feedback cannot eliminate the influence of the coupling term, and cannot effectively control the precession angle back to zero. A fuzzy PID algorithm was designed to realize the self-balancing of a TWSB vehicle. The PID parameters were estimated by the fuzzy algorithm, and the cross entropy optimization method was used to optimize the parameters FIGURE 1. Coaxial TWSB vehicle. FIGURE 2. DATWSB vehicle. of the fuzzy controller. The simulation results showed that the performance of fuzzy PID was better than that of the traditional LFC [6]. The displacement and velocity of the TWSB vehicle as the input variables were controlled by fuzzy PD controller, and the PD controller was designed to control the tilt angle and angular velocity, the simulation results showed that the system had good robustness [7]. LFC was used to track the TWSB vehicle’s path and reduce the vibration, which can effectively maintain the vehicle’s stability in straight-line driving, turning and climbing [8]. In addition, Yang C _et al._ proposed an optimized adaptive control to realize the trajectory tracking of TWSB vehicles [9]. Petrov proposed an adaptive motion controller to realize the self-balancing control and turning control of TWSB vehicles [10]. The authors in [11] proposed an adaptive inversion control algorithm and the anti-interference performance of the TWSB vehicle was verified by simulation. In [12], an incremental PID algorithm was used to form a closed-loop control system for TWSB vehicles, and a Kalman filter was used to compensate for the disadvantage of the instability of the accelerometer output and the drift of the gyroscope during the motion. Literature [13] proposed a common Actor-Critic algorithm, composed of an adaptive search network and an adaptive review network, to control TWSB vehicles in continuous domain. However, the above mentioned methods were based on accurate mathematical models, which were lack of robustness to model errors and external disturbances. Two sliding mode controllers (SMCs) were proposed for the coaxial TWSB vehicle, and simulation results verified that the controller can guarantee the effectiveness and robustness of the balance control and the speed tracking control [14]. The trajectory tracking control of the coaxial TWSB vehicle was realized by the SMC, and its parameters were estimated adaptively to improve the anti-interference performance of the system [15]. A SMC was used in the balance control for the coaxial TWSB vehicle, a nonlinear coupling term was added to the mathematical model, the simulation results showed that the controller had better trajectory tracking ability than the controller derived from the traditional system equation [16]. In summary, the aforementioned researches focused on the modeling and control of the coaxial TWSB vehicles and aiming to control them to achieve balances. However, the DATWSB vehicles can take at least two persons, and more importantly, they have closed bodies. Furthermore, they have the advantages of portability, long battery life and good acceleration performance, etc., compared with four-wheeled vehicles. Therefore, it is necessary to use the DATWSB vehicles as a convenient transportation for people instead of the bulky four-wheel vehicles in special areas. However, the research on DATWSB vehicles had not been reported in the literatures. In fact, the working principles of coaxial TWSB vehicles and DATWSB vehicles are quite different from each other. For the former, the upright under impact disturbances when the vehicle goes straight and the steering of the vehicle are controlled by the acceleration and differential speed of the wheels, respectively. However, for the latter, they are controlled by the precession of the gyroscopes. In addition, a DATWSB vehicle requires a stable roll angle under the centrifugal force of turning. In this study, the gyroscopic effect is applied to design an assistant system for DATWSB vehicles that can actively stabilize the vehicle in cases with and without centrifugal forces. The innovations of this paper are as follows: (1) The research object is the DATWSB vehicle with two gyroscopes, which is quite different from the coaxial TWSB vehicle widely studied at present; (2) In the process of dynamic modeling, the DATWSB vehicle with gyroscopes is simplified to an IPS with gyroscope effect, and Lagrange equation is used to carry out the mathematical modeling; (3) Considering the nonlinearity, parameter uncertainty and disturbance of the system, the SMC and adaptive sliding mode controller (ASMC) are designed to control the balances of the DATWSB vehicle in straight running and turning; (4) The SMC and ASMC of the DATWSB vehicles are simulated, and the response curve, required effective torque and robustness are compared; (5) Combined with Bikesim and Matlab/Simulink, a TWSB vehicle model is established. The straight running and turning conditions of the vehicle are FIGURE 3. Schematic diagram of a DATWSB vehicle. controlled by the ASMC, and roll angle of the Bikesim model and the IPS model are compared. The organizational structure of this paper is as follows: Section I is the introduction, which is also a summary of the current research status of the DATWSB vehicles. The working principle of a DATWSB vehicle is introduced, and the reasonable simplified system is modeled in Section II. Section III states the problems. The SMC and ASMC are designed in Section IV. In Section V, the control effect of ASMC is compared with that of SMC, and the experimental results are presented. Section VI puts forward the conclusion. II. VEHICLE MODELS In this section, we will first analyze the working principle of a DATWSB vehicle with two gyroscopes, and then simplify it into an IPS with gyroscope effect. Finally, we establish kinematic coordinate systems and derive the vehicle’s dynamic model according to the Lagrange equation. _A._ _WORKING PRINCIPLE_ The self-balance function of a DATWSB vehicle is realized by two gyroscopes with gyroscopic effect. As shown in Fig. 3, the two gyroscopes are respectively carried by the two gimbal frames, which are fixed on the chassis of the vehicle. Therefore, when the gimbal frames are rotated by the two DC motors, the gyroscopes will rotate the same angles, _β_ 1 and _β_ 2. There are other two motors used to power the gyroscopes to rotate at angular velocities, _ϕ_ ˙1 and _ϕ_ ˙2. These four DC motors are not shown in Fig. 3. For a single gyroscope, take the right gyroscope in Fig. 3 as an example (shown in Fig. 4), when the precession angular velocity _β_ <sup>˙</sup> is controlled by the DC motor, a torque will generate along the _x_ axis and its direction and magnitude can be defined as: −→ _T_ = −−→˙ _β_ × _I_ −→˙ _ϕ_ (1) where _I_ is the mass moment of inertia. At the precession angle _β_, the generated torques around the horizontal and vertical axes are: _TH_ = - _β_ <sup>˙</sup> _I_ _ϕ_ ˙ cos _β_ (2) _TV_ = - _β_ <sup>˙</sup> _I_ _ϕ_ ˙ sin _β_ (3) FIGURE 4. (a) Gyroscope effect. (b) Generated torques around the horizontal and vertical axes. FIGURE 5. Gyroscope inverted pendulum. where _TH_ is the torque that can help stabilize the vehicle in the horizontal axis, _TV_ is the torque that may cause the yaw motion of the vehicle in the vertical axis. In order to maximize the effective torque in the horizontal axis, the two gyroscopes rotate in the opposite direction at the same speed. Therefore, the torques on the vertical axis of two gyroscopes will cancel each other, and the maximum effective torque acting on the vehicle body is the sum of each gyroscope, which can be expressed as: _THtotal_ = − - _β_ ˙1 _I_ _ϕ_ ˙1 cos _β_ 1 + _β_ ˙2 _I_ _ϕ_ ˙2 cos _β_ 2� (4) It can be concluded from (4) that with the increase of _ϕ_ ˙1 and _ϕ_ ˙2, the gyroscopes will be able to generate a larger reaction torque. This means that the DATWSB vehicle can achieve stability under a larger initial tilt angle or in the presence of larger disturbances. _B._ _DYNAMIC MODLE_ Assuming that the wheels of the DATWSB vehicle are rolling discs with point contact on the road surface where has no longitudinal or lateral sliding, the body roll angle is fixed at a constant value, _α_, the vehicle can be simplified into an IPS with gyroscope effect as shown in Fig. 5. There are four coordinate systems, where the ( _O_ - _XYZ_ ) fixed on the ground is the reference coordinate system, the _mbh_ <sup>2</sup> _b_ <sup>2</sup> _b_ <sup>+</sup> <sup>_Ibx_</sup> <sup>+</sup> ( _o_ - _xbybzb_ ) is mounted on the inverted pendulum at the point _O_, and the ( _o_ - _xgiygizgi_ ) ( _i_ = 1, 2) on the gimbal’s revolute jionts _ogi_ ( _i_ = 1, 2), respectively. For the ( _o_ - _xbybzb_ ), it can be referred to as the position after the ( _O_ - _XYZ_ ) rotated by _α_ angle around the _X_ axis. The cosine matrix corresponding to the rotation is: = <sup><u>1</u></sup> 2 <sup><u>1</u></sup> 2 <sup>_α_</sup> <sup>˙</sup> <sup>2</sup> 2 _i_ =1 2 _i_ =1 _mfih_ <sup>2</sup> _fi_ _mfih_ <sup>2</sup> _fi_ _Igix_ + _Ifix_ _mgih_ <sup>2</sup> _gi_ <sup>+</sup> _mgih_ <sup>2</sup> _gi_ + <sup><u>1</u></sup> 2 2 _i_ =1 _(α_ ˙ cos _βi)_ <sup>2 �</sup> _β_ ˙ _i_ <sup>2</sup> _β_ ˙ _i_ <sup>2</sup> + <sup><u>1</u></sup> 2 + <sup><u>1</u></sup> - _Igiy_ + _Ifiy_ 2 _i_ =1 2 _i_ =1 2 _i_ =1  _Cb_ =  1 0 0 0 cos _α_ sin _α_ 0 - sin _α_ cos _α_ + <sup><u>1</u></sup> 2 + <sup><u>1</u></sup> 2 _Ifiz_ ˙ _ϕi_ <sup>2</sup>   (5) _(α_ ˙ sin _βi)_ <sup>2 �</sup> _Igiz_ + _Ifiz_ 2 _Ifiz_ ˙ _α_ ˙ _ϕi_ sin _βi_ (16) _i_ =1 And for the ( _o_ - _xg_ 1 _yg_ 1 _zg_ 1) and ( _o_ - _xg_ 2 _yg_ 2 _zg_ 2), both of them can be regarded as the coordinate systems after the ( _o_ - _xbybzb_ ) rotated by _β_ 1 and _β_ 2 about the _yb_ axis, and the _zg_ 1 and _zg_ 2 axes are the rotation axes of gyroscopes. The cosine matrix corresponding to the rotation is: + cos _βi_ 0 - sin _βi_ 0 1 0 sin _βi_ 0 cos _βi_   _,_ ( _i_ = 1 _,_ 2) (6) _Cgi_ =   The angular velocities of the inverted pendulum, gimbal frames and gyroscopes, _ωb_, _ωgi_, and _ωfi_ ( _i_ = 1, 2), can be expressed as _ω_ b = - _α_ ˙ 0 (7) 0 <sup>�</sup> <sup>_T_</sup> - - _T_ _ω_ _gi_ = C _gi_ _ω_ _b_ + 0 _β_ ˙ _i_ 0 where _b_, _gi_ and _fi_ ( _i_ = 1, 2) are the centroids of the inverted pendulum, gimbal frames and gyroscopes, respectively; _hb_, _hgi_ and _gfi_ ( _i_ = 1, 2) are the centroid heights of the three parts from the ground, respectively; _mb_, _mgi_, and _mfi_ ( _i_ = 1, 2) are the masses of the inverted pendulum, gimbal frames and gyroscopes, respectively; and _Ibx_ is the moment of inertia of the inverted pendulum about the _X_ axis, _Igix_, _Igiy_, _Igiz_ ( _i_ = 1, 2) are the moment of inertia of the _ist_ gimbal frame about the _xgi_, _ygi_, and _zgi_ axes, respectively; and _ωgix_, _ωgiy_, and _ωgiz_ ( _i_ = 1, 2) are the components of the angular velocity of the _ist_ gimbal frame along the _xgi_, _ygi_, and _zgi_ axes, respectively; _Ifix_, _Ifiy_, _Ifiz_ ( _i_ = 1, 2) are the moments of inertia of the _ist_ gyroscope about the _xfi_, _yfi_, and _zfi_ axes, respectively; and _ωfix_, _ωfiy_, and _ωfiz_ ( _i_ = 1, 2) are the components of the _ist_ gyroscope’s angular velocity along the _xfi_, _yfi_, and _zfi_ axes, respectively. The total potential energy of the system can be expressed as - _T_ (8) = - _α_ ˙ cos _βi_ _β_ ˙ _i_ _α_ ˙ sin _βi_ - _T_ _ω_ _fi_ = _ω_ _gi_ + - 0 0 _ϕ_ ˙ _i_ = - - _T_ _α_ ˙ cos _βi_ _β_ ˙ _i_ _α_ ˙ sin _βi_ + _ϕ_ ˙ _i_ (9) The linear velocities of the inverted pendulum, gimbal frames, and gyroscopes are calculated as _vb_ = _α_ ˙ _hb_ (10) _vgi_ = _α_ ˙ _hgi_ (11) _vfi_ = _α_ ˙ _hfi_ (12) The kinetic energy of the IPS is the sum of linear and rotational kinetic energy of each part. According to (7) - (12), it can be obtained by 2 _U_ = _Ub_ + _i_ =1 2 _i_ =1 _Ugi_ + _Ufi_ 2 _i_ =1 = _mbhb_ + 2 _i_ =1 _mgihgi_ + _mfihfi_ _g_ cos _α_ (17) _Tb_ = <sup><u>1</u></sup> 2 <sup><u>1</u></sup> _b_ <sup>=</sup> <sup><u>1</u></sup> 2 <sup>_Ibxω_</sup> <sup>2</sup> 2 <sup><u>1</u></sup> _b_ <sup>+</sup> <sup><u>1</u></sup> 2 <sup>_mbv_</sup> <sup>2</sup> 2 <sup><u>1</u></sup> 2 <sup>_mb (α_</sup> <sup>˙</sup> <sup>_hb)_</sup> <sup>2 +</sup> <sup><u>1</u></sup> 2 <sup>_Ibx_</sup> <sup>˙</sup> <sup>_α_</sup> <sup>2</sup> (13) where _Ub_, _Ugi_ and _Ufi_ ( _i_ = 1, 2) are the potential energy of the inverted pendulum, gimbal frames and gyroscopes, respectively. By applying the Lagrange equation for (16) and (17), the mathematical model of the system can be obtained. _Tgi_ = <sup><u>1</u></sup> 2 <sup><u>1</u></sup> _gi_ <sup>+</sup> <sup><u>1</u></sup> 2 <sup>_mgiv_</sup> <sup>2</sup> 2 2 _giy_ <sup>2</sup> <sup>+</sup> <sup>_Igizω_</sup> <sup>2</sup> _<u>d</u>_ _dt_ - _∂L_ _∂q_ ˙ _j_ - - <sup>_∂L_</sup> _∂qj_ - - <sup>_∂L_</sup> _giz_ = _Qj,_ _(j_ = 1 _,_ 2 _,_ 3 _)_ (18) - _Igixω_ <sup>2</sup> _gix_ <sup>2</sup> <sup>+</sup> <sup>_Igiyω_</sup> _giy_ <sup>2</sup> = <sup><u>1</u></sup> 2 <sup>_mgi_</sup> _α_ ˙ _hgi_ = <sup><u>1</u></sup> 2 �2 + <u>1</u> 2 - _Igix (α_ ˙ cos _βi)_ <sup>2</sup> + _Igiyβ_ <sup>˙</sup> _i_ <sup>2</sup> + _Igiz (α_ ˙ sin _βi)_ <sup>2�</sup> where _L_ is a Lagrange function and _L_ = _T_ - _U_, _qj_ ( _j_ = 1, 2, 3) is the _j_ th generalized coordinate, _Qj_ ( _j_ = 1, 2, 3) is the generalized force corresponding to each generalized coordinate. Then _L_ can be expressed as _Tfi_ = <sup><u>1</u></sup> 2 <sup><u>1</u></sup> _fi_ <sup>+</sup> <sup><u>1</u></sup> 2 <sup>_mfiv_</sup> <sup>2</sup> 2 2 _fiy_ <sup>2</sup> <sup>+</sup> <sup>_Ifizω_</sup> _fiz_ <sup>2</sup> (14) (15) _fiz_ - _Ifixω_ <sup>2</sup> _fix_ <sup>2</sup> <sup>+</sup> <sup>_Ifiyω_</sup> _fiy_ <sup>2</sup> = <sup><u>1</u></sup> 2 <sup>_mfi_</sup> _α_ ˙ _hfi_ = <sup><u>1</u></sup> 2 _fi_ �2 + <u>1</u> 2 - _Ifix (α_ ˙ cos _βi)_ <sup>2</sup> + _Ifiyβ_ <sup>˙</sup> _i_ <sup>2</sup> _L_ = _T_ - _U_ = <sup><u>1</u></sup> 2 <sup><u>1</u></sup> 2 <sup>_α_</sup> <sup>˙</sup> <sup>2</sup> _mbh_ <sup>2</sup> _b_ <sup>2</sup> _b_ <sup>+</sup> <sup>_Ibx_</sup> <sup>+</sup> 2 _i_ =1 _mfih_ <sup>2</sup> _fi_ 2 _i_ =1 _mgih_ <sup>2</sup> _gi_ <sup>+</sup> + _Ifiz (ϕ_ ˙ _i_ + _α_ ˙ sin _βi)_ <sup>2�</sup> 2 _i_ =1 2 _i_ =1 _(α_ ˙ cos _βi)_ <sup>2 �</sup> + <sup><u>1</u></sup> 2 + <sup><u>1</u></sup> _Igix_ + _Ifix_ _T_ = _Tb_ + 2 _i_ =1 _Tgi_ + 2 _Tf_ 1 _i_ =1 + <sup><u>1</u></sup> 2 _β_ ˙ _i_ <sup>2</sup> _β_ ˙ _i_ <sup>2</sup> - _Igiy_ + _Ifiy_ + <sup><u>1</u></sup> 2 2 _i_ =1 _Ifiz_ ˙ _ϕi_ <sup>2</sup> _(α_ ˙ sin _βi)_ <sup>2 �</sup> _I_ + <sup><u>1</u></sup> 2 + <sup><u>1</u></sup> _Igiz_ + _Ifiz_ 2 _i_ =1 + _mbhb_ + _Ifiz_ ˙ _α_ ˙ _ϕi_ sin _βi_ 2 _i_ =1 2 _i_ =1 2 _mgihgi_ + _i_ =1 _mfihfi_ _g_ cos _α_ (19) Lagrange’s equation about _α_, _βi_ can be expressed as _<u>d</u>_ _dt_ _<u>d</u>_ _dt_ - _∂L_ _∂α_ ˙ - _∂L_ _∂β_ <sup>˙</sup> _i_ - - <sup>_∂_</sup> _∂α_ <sup>_<u>L</u>_</sup> <sup>=</sup> <sup>0</sup> (20) - - <sup>_∂L_</sup> - - <sup>_∂L_</sup> _∂βi_ - - <sup>_∂L_</sup> = 0 (21) FIGURE 6. SMC/ASMC system. the roll angle stable. Therefore, an extra controller should be used. The IPS is an unstable, multivariable and coupled system, which is also affected by a series of factors such as the nonlinearity, parameter uncertainty and un-modeled dynamics. For this reason, a SMC, which is not sensitive to the unmodeled dynamics and noise disturbances, is designed to stabilize the vehicle in cases with and without centrifugal forces. In addition, an ASMC algorithm is also proposed to compare with the SMC. The diagram of control design is depicted in Fig. 6. IV. CONTROLLER DESIGN Considering SMC is not sensitive to the parameter changes and noise disturbances, it may be a more appropriate method to deal with the uncertain TWSB vehicle system. In this section, SMC and ASMC are designed to make the IPS have the anti-interference ability and steering ability. _A._ _DESIGN OF SMC_ The two gyroscopes on the IPS, which have the same parameters and rotate the same angle in the opposite direction around their vertical axes, aim to produce the maximum effective torque. Define _ϕ_ = _ϕ_ 1 = _ϕ_ 2, after the linearization of (22), the following can be obtained Bring (19) into (20) and (21), we can get the acceleration of vehicle body inclination and gyroscope precession angles �� _Ifiz_ + _Igiz_ - - _Ifix_ + _Igix_ �� _α_ ˙ _β_ <sup>˙</sup> _i_ sin _βi_ cos _βi_ _α_ ¨ = 2 2 _i_ =1 + 2 _i_ =1 _mbhb_ + _Ifiz_ ˙ _ϕiβ_ <sup>˙</sup> _i_ cos _βi_ 2 _i_ =1 2 _mgihgi_ + _i_ =1 _mfihfi_ _g_ sin _α_ 2 _i_ =1 _mgih_ <sup>2</sup> _gi_ <sup>+</sup> _mgih_ <sup>2</sup> _gi_ 2 _i_ =1 _mfih_ <sup>2</sup> _fi_ _/_ + 2 _i_ =1 _mbh_ <sup>2</sup> _b_ <sup>+</sup> <sup>_Ibx_</sup> <sup>+</sup> - _Igix_ + _Ifix_ cos <sup>2</sup> _βi_ + 2 - - _Igiz_ + _Ifiz_ _i_ =1 sin <sup>2</sup> _βi_ (22) _β_ ¨1 = - _If_ 1 _z_ ˙ _α_ ˙ _ϕ_ 1 cos _β_ 1 + - _Ig_ 1 _z_ + _If_ 1 _z_ - _α_ ˙ <sup>2</sup> sin _β_ 1 cos _β_ 1 _If_ 1 _z_ ˙ _α_ ˙ _ϕ_ 1 cos _β_ 1 + - _α_ ˙ <sup>2</sup> sin _β_ 1 cos _β_ 1 - _Ig_ 1 _z_ + _If_ 1 _z_ - _Ig_ 1 _x_ + _If_ 1 _x_ - _α_ ˙ <sup>2</sup> sin _β_ 1 cos _β_ 1 - _mbhb_ + 2 _mg_ 1 _hg_ 1 + 2 _mf_ 1 _hf_ 1� _gα_ - 2 _If_ 1 _z_ ˙ _ϕβ_ <sup>˙</sup> 1 _mbh_ <sup>2</sup> _b_ <sup>+</sup> <sup>_Ibx_</sup> <sup>+ 2</sup> <sup>_mg_</sup> <sup>1</sup> <sup>_h_</sup> <sup>2</sup> _g_ 1 <sup>+ 2</sup> <sup>_mf_</sup> <sup>1</sup> <sup>_h_</sup> <sup>2</sup> _f_ 1 <sup>+ 2</sup> <u>�</u> _Ig_ 1 _x_ + _If_ - _mbhb_ + 2 _mg_ 1 _hg_ 1 + 2 _mf_ 1 _hf_ 1 <sup>2</sup> _b_ <sup>+</sup> <sup>_Ibx_</sup> <sup>+ 2</sup> <sup>_mg_</sup> <sup>1</sup> <sup>_h_</sup> <sup>2</sup> _g_ <sup>2</sup> _g_ 1 <sup>+ 2</sup> <sup>_mf_</sup> <sup>1</sup> <sup>_h_</sup> <sup>2</sup> _f_ <u>�</u> _Ig_ 1 _x_ + _If_ 1 _x_ - (23) _α_ ¨ = _/_ - _Ig_ 1 _y_ + _If_ 1 _y_ <sup>2</sup> _f_ 1 <sup>+ 2</sup> <u>�</u> (25) - _Ig_ 2 _z_ + _If_ 2 _z_ - _α_ ˙ <sup>2</sup> sin _β_ 2 cos _β_ 2 _β_ ¨2 = _If_ 2 _z_ ˙ _α_ ˙ _ϕ_ 2 cos _β_ 2 + - _Ig_ 2 _x_ + _If_ 2 _x_ - _α_ ˙ <sup>2</sup> sin _β_ 2 cos _β_ 2 - (24) Define _X_ = - _α_ _α_ ˙ _β_ 1 - _T_, _U_ = _β_ ˙1, _Y_ = - _α_ _β_ 1 - _T_, (25) can be expressed by the following state space model. - _X_ ˙ = _AX_ + _BU_ (26) _Y_ = _CX_ _/_ - _Ig_ 2 _y_ + _If_ 2 _y_ It can be seen from (22) that the precession motions of gyroscopes play an important role in upright stability of the DATWSB vehicle. III. PROBLEM FORMULATION Due to the gyroscopic effect, the IPS equipped with double gyroscopes can have a certain anti-interference ability. However, the ability is too limited. When the external moment acting on the IPS is large, the sum of the effective moments generated by the two gyroscopes on the horizontal axis will not be enough to ensure the balance of the IPS. In addition, when the DATWSB vehicle is turning, it is necessary to keep _K_ 1 = _mbhb_ + 2 _mg_ 1 _hg_ 1 + 2 _mf_ 1 _hf_ 1 _._ where _A_ = _C_ = - 1 0 0 0 0 1   0 - <sup>2</sup> <sup>_If_</sup> <sup><u>1</u></sup> <sup>_<u>zϕ</u>_</sup> <sup>˙</sup> _K_ 0 1   0 1 0 _<u>K</u>_ <u>1</u> _g_ 0 0 _K_ 0 0 0 0   _,_ _B_ = _,_ _K_ 0 = _mbh_ <sup>2</sup> _b_ <sup>2</sup> _b_ <sup>+</sup> <sup>_Ibx_</sup> <sup>+ 2</sup> <sup>_mg_</sup> <sup>1</sup> <sup>_h_</sup> <sup>2</sup> _g_ <sup>2</sup> _g_ 1 <sup>+ 2</sup> <sup>_mf_</sup> <sup>1</sup> <sup>_h_</sup> <sup>2</sup> _f_ <sup>2</sup> _f_ 1 <sup>+ 2</sup>   _,_ - _Ig_ 1 _x_ + _If_ 1 _x_ - _,_ Hence, the roll angle can be expressed as _gα_ - <sup>2</sup> <sup>_If_</sup> <sup><u>1</u></sup> <sup>_<u>zϕ</u>_</sup> <sup>˙</sup> _K_ 0 _α_ ¨ = <sup>_<u>K</u>_</sup> <sup><u>1</u></sup> _K_ 0 _α_ ¨ = <sup>_<u>K</u>_</sup> <sup><u>1</u></sup> _U_ (27) Define the state error between the actual roll angle and its ideal one as _e_ 1 = _α_ - _αref_ (28) To determine the gain of the SMC, the following surface equation is considered _s_ 1 = _c_ 1 _e_ 1 + ˙ _e_ 1 (29) where c1 _>_ 0. The derivative of the surface equation can be expressed as _s_ ˙1 = _c_ 1 _e_ ˙1 + ¨ _e_ 1 = _c_ 1 - _α_ ˙ −˙ _αref_ - + _α_ ¨ −¨ _αref_ = _c_ 1 ˙ _α_ - _c_ 1 ˙ _αref_ + <sup>_<u>K</u>_</sup> <sup><u>1</u></sup> _K_ 0 _gα_ - <sup>2</sup> <sup>_If_</sup> <sup><u>1</u></sup> <sup>_<u>zϕ</u>_</sup> <sup>˙</sup> _K_ 0 _gα_ - <sup>2</sup> <sup>_If_</sup> <sup><u>1</u></sup> <sup>_<u>zϕ</u>_</sup> <sup>˙</sup> _U_ −¨ _αref_ (30) Then (35) can be expressed as _φ_ 1 ¨ _α_ = _φ_ 2 _α_ - _u_ (37) It can be seen that the physical parameters of the IPS are included in _φ_ 1 and _φ_ 2. Let _x_ 1 = _α_, _x_ 2 = _α_ ˙ and the disturbance be dt, then (37) can be described as - _x_ ˙1 = _x_ 2 (38) _φ_ 1 _x_ ˙2 = _φ_ 2 _x_ 1 − _u_ - _dt_ The error state e2 between the actual value of the roll angle and its ideal one can be expressed as _e_ 2 = _x_ 1 − _αref_ (39) and the sliding mode function is _s_ 2 = _c_ 2 _e_ 2 + ˙ _e_ 2 (40) where c2 is a positive number. The Lyapunov function can be expressed as Because _αref_ is a constant value, then _α_ ˙ _ref_ = 0 _,_ ¨ _αref_ = 0. By selecting the control in the form of _U_ = −| _k_ 1 _α_ + _k_ 2 ˙ _α_ | _sign (s_ 1 _)_ (31) we can get _K_ 0 _s_ ˙1 = _K_ 0 _c_ 1 ˙ _α_ + _K_ 1 _gα_ + 2 _If_ 1 _z_ ˙ _ϕ_ | _k_ 1 _α_ + _k_ 2 ˙ _α_ | _sign (s_ 1 _)_ (32) The system will be globally asymptotically stable when the following reachability condition is satisfied. - _s_ ˙1 _<_ 0 _,_ _sign (s_ 1 _) >_ 0 (33) _s_ ˙1 _>_ 0 _,_ _sign (s_ 1 _) <_ 0 Therefore, the following selected control gains [17] will satisfy the reachability condition and guarantee conditions. _u_ = _ηsgn (s_ 2 _)_ + _φ_ <sup>ˆ</sup> 1 _V_ = <sup><u>1</u></sup> 2 <sup>_φ_</sup> <sup>1</sup> <sup>_s_</sup> 2 <sup>2</sup> <sup>+</sup> 21 _γ_ 1 - �2 <u>1</u> _φ_ 1 − _φ_ <sup>ˆ</sup> 1 + 2 _γ_ 2 - �2 _φ_ 2 − _φ_ <sup>ˆ</sup> 2 (41) where _γi_ _>_ 0, and _φ_ <sup>ˆ</sup> _i_ is the estimate of _φi_ . Then, _V_ ˙ = _φ_ 1 _s_ 2 _s_ ˙2 − <sup><u>1</u></sup> _γ_ 1 - _φ_ 1 − _φ_ <sup>ˆ</sup> 1 - _φ_ ˙ˆ1 − <u>1</u> _γ_ 2 - _φ_ 2 − _φ_ <sup>ˆ</sup> 2 - _φ_ ˙ˆ2 (42) Let _V_ 1 = _φ_ 1 _s_ 2 _s_ ˙2, the following equation can be obtained _V_ ˙1 = _φ_ 1 _s_ 2 - _c_ 2 _e_ ˙2 −¨ _αref_ - + _φ_ 2 _s_ 2 _x_ 1 − _s_ 2 _(u_ + _dt)_ (43) The control law can be designed as - _c_ 2 _e_ ˙2 −¨ _αref_ - - _φ_ <sup>ˆ</sup> 2 _x_ 1 (44) ���� ����    _k_ 1 _>_ _k_ 2 _>_ ���� 2 _<u>KIf</u>_ 11 _<u>gz</u>_ ˙ _ϕ_ ���� 2 _<u>KIf</u>_ <u>0 1</u> _<u>cz</u>_ <u>1 ˙</u> _ϕ_ Submit (44) into (43), we can get (34) _V_ ˙1 = - _φ_ 1 − _φ_ <sup>ˆ</sup> 1 - _c_ 2 _e_ ˙2 −¨ _αref_ - + - + - _φ_ 2 − _φ_ <sup>ˆ</sup> 2� _s_ 2 _x_ 1 - _s_ 2 _ηsgn (s_ 2 _)_ - _s_ 2 _dt_ (45) 1 _s_ 2 - _φ_ 2 − _φ_ <sup>ˆ</sup> 2 _B._ _DESIGN OF ASMC_ Adaptive control is a control method which can modify its own characteristics to adapt to the dynamic characteristics of the object and disturbance. Robust control means that the control system can maintain some performance characteristics under certain parameter perturbation. By using adaptive robust sliding mode control method, the control system can achieve better performance. Define _u_ = _β_ <sup>˙</sup> 1, we can rewrite (27) as _<u>K</u>_ <u>0</u> _<u>K</u>_ <u>1</u> _<u>g</u>_ 2 _If_ 1 _z_ ˙ _ϕ_ <sup>_α_</sup> <sup>¨</sup> <sup>=</sup> 2 _If_ 1 _z_ ˙ _ϕ_ <sup>_α_</sup> <sup>−</sup> <sup>_u_</sup> (35) In order to realize the adaptive control without physical model, the physical parameters are arranged according to the following formula _<u>K</u>_ <u>0</u> _<u>K</u>_ <u>1</u> _<u>g</u>_ _φ_ 1 = 2 _If_ 1 _z_ ˙ _ϕ_ <sup>_,_</sup> _φ_ 2 = 2 _If_ 1 _z_ ˙ _ϕ_ (36) Then _V_ ˙ = - _φ_ 1 − _φ_ <sup>ˆ</sup> 1 - <sup>�</sup> _s_ 2 - _c_ 2 _e_ ˙2 −¨ _αref_ - - <sup><u>1</u></sup> _γ_ 1 - - <sup><u>1</u></sup> _φ_ ˙ˆ1 _φ_ ˙ˆ2 (46) (47) - <sup>�</sup> _s_ 2 _x_ 1 − <sup><u>1</u></sup> _γ_ 2 - _η_ | _s_ 2| − _s_ 2 _dt_ + - _φ_ 2 − _φ_ <sup>ˆ</sup> 2 The adaptive law can be designed as - _φ_ ˙ˆ1 = _γ_ 1 _s_ 2 _c_ 2 _e_ ˙2 −¨ _αref_ _φ_ ˙ˆ2 = _γ_ 2 _s_ 2 _x_ 1 then _V_ ˙ = − _η_ | _s_ 2| − _s_ 2 _dt_ ≤ 0 (48) According to the LaSalle invariance principle [18], the closed-loop system is asymptotically stable, i.e., when _t_ →∞, _s_ 2 → 0. FIGURE 7. Response of IPSs at _α_ 0 = 5 _._ 7 <sup>◦</sup> . (a) Roll angle. (b) Gimbal angle. (c) Control input. (d) Gimbal torque. V. RESULT ANALYSIS In this section, three models, i.e., the IPS without controller, IPS with SMC and IPS with ASMC, are simulated by Matlab/Simulink. Then, the commercial software Bikesim and the Matlab/Simulink are used to establish a DATWSB vehicle model which is consistent with the IPS response for real-time simulation. The parameters involved in the simulation are shown in Table 1. The simulation results are described in the following sections. _A._ _SIMULATION OF STRAIGHT RUNNING_ In this simulation, the IPS without controller, the IPS with SMC and the IPS with ASMC are simulated with the same initial roll angle (5.7 <sup>◦</sup> ), and the simulation results are shown in Fig. 7. Fig. 7(a) shows the roll angles of the three models. It can be seen that the roll angle of the IPS without controller is always 5.7 <sup>◦</sup>, which indicates that the IPS cannot recover upright only under the gyroscopic effect of two gyroscopes, and an additional control is needed to resist the external interference. In fact, the other two curves in Fig. 7(a) show that the roll TABLE 1. Parameters of mathematical model. angle of the IPS with SMC and that of the IPS with ASMC can be restored to zero in a short time, and then always be zero. However, the ASMC can make the IPS stand upright in an even shorter time, which demonstrates that it can guarantee the self-balance performance of the IPS more effectively. FIGURE 8. Response of IPSs at _α_ 0 = 28 _._ 7 <sup>◦</sup> . (a) Roll angle. (b) Gimbal angle. (c) Control input. (d) Gimbal torque. The gimbal angle, corresponding control input and gimbal torque of the three models are illustrated in Figs. 7(b), 7(c), and 7(d). For the IPS without controller, the gimbal angle grows with straight-line from zero (shown in Fig. 7(b)), the control input fluctuates around 0.1rad/s during this period (shown in Fig. 7(c)), and the gimbal torque generated by the gyroscope effect vibrates around 100Nm and its maximum value is 200Nm (shown in Fig. 7(d)), which is too small to make the IPS stand upright. For the IPS with SMC, the gimbal angle remains unchanged after increasing from 0 <sup>◦</sup> to 2.3 <sup>◦</sup> (shown in Fig. 7(b)), the control input decreases after increasing to 0.23rad/s, then oscillates around 0rad/s, and remains 0rad/s after 1.4s. (shown in Fig. 7(c)), and the gimbal torque vibrates nearby 0Nm and keeps 0Nm from 1.4s after changing from 0Nm to −500Nm (shown in Fig. 7(d)). For the IPS with ASMC, the gimbal angle increases from 0 <sup>◦</sup> to 6.4 <sup>◦</sup>, then decreases to 3.9 <sup>◦</sup> and remains constant (shown in Fig. 7(b)), the control input decreases rapidly from 1rad/s to -0.06rad/s, then increases to 0rad/s slowly and remains unchanged (shown in Fig. 7(c)), and the gimbal torque changes from -2000Nm to 125Nm, then decreases gradually and reaches 0Nm after 0.8s (shown in Fig. 7(d)). From the above analysis, it can be concluded that the control effect of ASMC on the IPS is better because it can produce a larger gimbal torque and make the IPS recover upright faster. In order to better illustrate the performances of the controllers designed, three models with a larger initial roll angle (28.7 <sup>◦</sup> ) are also simulated. Fig. 8 shows the results of the three models. Fig. 8(a) is the roll angle curves of the three models, and it can be concluded that when there is no controller applied, the roll angle of the IPS remains unchanged at 28.7 <sup>◦</sup> in 2s, the reason is that the gimbal torque produced by the precession of gyroscopes is not large enough to restore the IPS to upright position. Therefore, an additional controller is needed to resist the external interference. From the other two curves in Fig. 8(a), it can be seen that under the actions of SMC and ASMC, the roll angles of the IPSs can be restored to zero within 2s, and then remain unchanged, which indicates FIGURE 9. Response of IPSs when turning ( _α_ r = 5 <sup>◦</sup> ). (a) Roll angle. (b) Gimbal angle. (c) Control input. (d) Gimbal torque. that the controllers designed can effectively guarantee the self-balance performance of the IPS even when the initial roll angle is increased. However, the control time of the IPS with SMC is relatively longer. Therefore, the ASMC can effectively improve the anti-interference ability of the IPS. The gimbal angles _β_ 1 of the three models are shown in Fig. 8(b). It can be concluded that due to the precession of gyroscopes, the gimbal angle of the IPS without controller increases continuously, and those of the other two models maintain constant values after short period of changes. As shown in Fig. 8(c), the control inputs of the IPS with SMC and IPS with ASMC change rapidly at the beginning, then for the IPS with SMC, its control input remains 0rad/s after oscillation around that value, while for the IPS with ASMC, the control input gradually increases from −0.3rad/s to 0rad/s. As shown in Fig. 8(d), the maximum values of gimbal torques for the three models are 960Nm, 2620Nm and 3133Nm, respectively. In fact, the gimbal torque of the IPS without controller is too small to make it stand upright, while those of the IPSs with SMC and ASMC are large enough to resist the disturbance so as to restore the IPS. However, the ASMC can better meet the self-balance requirement of the IPS under different initial roll angles. _B._ _SIMULATION OF TURNING_ When the DATWSB vehicle turns on a curve with a radius, _r_, and at a certain longitudinal speed, _v_, it can be considered that the vehicle is performing a circular motion. In this case, the moment balance condition of the vehicle at the point that contacts with the ground can be expressed as _mbghb_ sin _α_ = _Fchb_ cos _α_ (49) In order to make the vehicle turn stably, it is necessary to tilt the vehicle at a roll angle to the inner side of the corner. With this roll angle, the gravitational force becomes the counteracting force to the centrifugal force, which prevents the vehicle from being pulled out of the track. The centrifugal force, _Fc_, acting on the vehicle is _F_ c = <sup>_<u>mbv</u>_</sup> <sup>2</sup> (50) _r_ FIGURE 10. Response of IPSs when turning ( _α_ r = 20 _._ 7 <sup>◦</sup> ). (a) Roll angle. (b) Gimbal angle. (c) Control input. (d) Gimbal torque. According to (49) and (50), the required reference roll angle expression can be obtained _αref_ = arctan <sup>_<u>v</u>_</sup> <sup>2</sup> (51) _rg_ In practical applications, the centrifugal force can be determined by measuring the lateral acceleration with a sensor or by measuring the instantaneous turning radius of the longitudinal velocity using a global positioning system (GPS). Therefore, the centrifugal force and the corresponding reference roll angle _αref_ can be calculated by (50) and (51). When the vehicle speed is 25km/h and the turning radius is 57.86m, the centrifugal force acting on the vehicle calculated by (50) is 302.36N, and reference roll angle obtained by (51) is 5 <sup>◦</sup> . At the same speed, the calculated centrifugal force and reference roll angle are respectively 1344.88N and 20.7 <sup>◦</sup> when the turning radius is 13m. The simulation results of the three models under these two turning conditions are shown in Figs. 9 and 10. When the reference roll angle is 5 <sup>◦</sup>, for the IPS without controller, the roll angle is always 0 <sup>◦</sup> (shown in Fig. 9(a)), FIGURE 11. Comparison of IPS model and Bikesim model. which means the IPS doesn’t turn at all. And the gimbal angle increases linearly from zero (shown in Fig. 9(b)), the control input oscillates near 0.07rad/s during this period (shown FIGURE 12. Roll angles. (a) Straight running ( _α_ 0 = 5 _._ 7 <sup>◦</sup> ). (b) Straight running ( _α_ 0 = 20 _._ 7 <sup>◦</sup> ). (c) Turning ( _α_ r = 5 <sup>◦</sup> ). (d) Turning ( _α_ r = 20 _._ 7 <sup>◦</sup> ). in Fig. 9(c)), the maximum gimbal torque generated by the gyroscope effect is 125Nm (shown in Fig. 9(d)), which cannot make the IPS achieve the ideal turning effect. Therefore, additional controllers are required. In Fig. 9(a), the roll angle of the IPS with SMC can reach the reference roll angle (5 <sup>◦</sup> ) at 1.5s and then keeps constant, while it only needs about 0.3s to reach the reference roll angle for the IPS with ASMC. For the IPS with SMC, the gimbal angle keeps increasing (shown in Fig. 9(b)), the control input grows from 0rad/s to 0.15rad/s (shown in Fig. 9(c)), and the gimbal torque changes from 0Nm to -300N (shown in Fig. 9(d)). However, for the IPS with ASMC, at the very beginning, the gimbal angle changes greatly (shown in Fig. 9(b)), and then increases uniformly, the control input oscillates around 0.09rad/s after a short period of change (shown in Fig. 9(c)), the maximum gimbal torque acting on the IPS reaches 5681Nm (shown in Fig. 9(d)). It can be concluded from the above analysis that when the reference roll angle is small, both SMC and ASMC can ensure that the IPS can reach the required roll angle value, while the ASMC can provide a larger torque for the IPS to turn, and the adjusting time needed is shorter. Fig. 10 shows the control results of the three IPSs when the _αref_ is 20.7 <sup>◦</sup> . Fig. 10(a) is the roll angles of three models, which can be seen that for the IPS without controller, the roll angle is 0 <sup>◦</sup> and unchanged. However, the other two curves in Fig. 10 (a) show that the roll angles of the IPSs with SMC and ASMC can quickly reach 20.7 <sup>◦</sup> and then remain unchanged. Therefore, the designed controllers can effectively ensure the turning function of the IPS when the reference roll angle is large. In Fig. 10(b), for the IPS without controller, the gimbal angle keeps growing to 33 <sup>◦</sup> from 0 <sup>◦</sup> in 2s, the control input oscillates between 0rad/s and 0.52rad/s (shown in Fig. 10(c)), and the gimbal torque generated by the gyroscope effect is around 500Nm, which is not enough for the IPS to reach the reference roll angle when steering. For the IPS with ASMC, the variation range of the gimbal angle is larger than that of the IPS with SMC (shown in Fig. 10(b)), and its control input is much larger than that of the IPS with SMC at the beginning (shown in Fig. 10(c)). Finally, the control inputs of the IPSs with SMC and ASMC are 0.6rad/s and 0.4rad/s respectively, and remain unchanged. Fig. 10(d) shows the corresponding gimbal torques. For the IPS with SMC, the gimbal torque changes from 0Nm to 1000Nm in 2s. However, for the IPS with ASMC, the gimbal torque finally becomes -600Nm after the rapid change from 23700Nm to -31500Nm in 0.2s, which is why the roll angle can quickly increase from 0 <sup>◦</sup> to 20.7 <sup>◦</sup> in a short time. To sum up, when the IPS adopts controllers, the gimbal frame can rotate at a larger angle, and can provide enough torque to ensure that the IPS turns at the reference roll angle. The adjustment time of ASMC in the process of realizing the IPS stable steering is shorter. Therefore, the ASMC has the higher adjustment efficiency. _C._ _EXPERIMENT OF IPS WITH ASMC_ In order to implement and test the designed ASMC, the commercial software Bikesim and Matlab/Simulink are used, and a sports bike is selected as the DATWSB vehicle model, which is called Bikesim model for short. Considering that the function of the two gyroscopes is to produce the gimbal torque to balance the vehicle, we define a roll moment acting on vehicle centroid as the import channel, which can provide the gimbal torque generated by the gyroscopes to the model, and a roll angle as the output channel respectively. When we provide the gimbal torque of the IPS without controller to the Bikesim model, the responses of the IPS model without controller and the Bikesim model without controller with the initial roll angle (5.7 <sup>◦</sup> ) are shown in Fig. 11. It can be seen from Fig. 11 that the responses of the two models are almost the same, and their maximum offset is only 0.016 <sup>◦</sup>, which shows that the Bikesim model can accurately describe the IPS model and can be used to simulate the realtime dynamic behavior of the system. Form the aforementioned analysis, we have come to a conclusion that the ASMC has better control effect on the IPS under straight running and turning conditions. Therefore, the Bikesim model with ASMC under the same conditions with the IPS model is carried out to test the designed controller. The control results are shown in Fig. 12. It can be seen from Figs. 12(a) and 12(b) that when the Bikesim models with different initial roll angles are in straight running, their roll angles can quickly return to 0 <sup>◦</sup> under the control of the ASMC and then remain unchanged. The roll angle curves of the Bikesim models are very close to those of the IPS models, which indicate that the ASMC can ensure the self-balancing function of the DATWSB vehicle in straight running. Figs 12(c) and 12(d) show the roll angle curves of the two models when the reference roll angle are 5 <sup>◦</sup> and 20.7 <sup>◦</sup> respectively. It can be seen that the roll angles of the Bikesim models with ASMC can quickly increase from 0 <sup>◦</sup> to the reference value and then keep constant, so as to ensure the vehicle can turn steadily. And the results also show that the response of the Bikesim model under the turning condition is the same as that of the IPS model, so the ASMC can effectively guarantee the turning ability of the DATWSB vehicle. VI. CONCLUSION In this paper, the controls of straight running and turning of DATWSB vehicles are studied. The DATWSB vehicle is simplified to the IPS with gyroscopic effect, which is modelled by Lagrange equation. Simulation results show that the SMC and ASMC can make the gyroscopes produce larger effective torques to ensure the balance and stability of the IPSs. However, when the vehicle goes straight, the ASMC can make the IPS recover from tilt to upright state faster, and better maintain the balance of the system. When the vehicle is turning, compared with the SMC, the ASMC can make the roll angle of the IPS reach the reference value in a shorter time, which can better ensure the turning requirements of the vehicle. In addition, a DATWSB vehicle model with self-balancing function is established by combining Bikesim and Matlab/Simulink. And the experiment results also show that the ASMC can ensure the anti-interference ability and stable turning ability of the vehicle. In the future, we will make a prototype to further test the control effect of ASMC. REFERENCES [1] Y. Liu, X. Huang, T. Wang, Y. Zhang, and X. Li, ‘‘Nonlinear dynamics modeling and simulation of two-wheeled self-balancing vehicle,’’ _Int._ _J. Adv. Robot. Syst._, vol. 13, no. 6, Nov. 2016, Art. no. 172988141667372. [2] H. K. Lam, T. H. Lee, F. H. F. Leung, and P. K. S. Tam, ‘‘Fuzzy model reference control of wheeled mobile robots,’’ in _Proc._ _27th_ _Annu._ _Conf._ _IEEE Ind. Electron. Soc._, vol. 1, Feb. 2001, pp. 570–573. [3] H. Sun, H. Zhou, X. Li, Y. Wei, and X. Li, ‘‘Design of two-wheel self balanced electric vehicle based on MEMS,’’ in _Proc. 4th IEEE Int. Conf._ _Nano/Micro Eng. Mol. Syst._, vol. 1, Jan. 2009, pp. 143–146. [4] Z. C. Yang and B. H. Wang, ‘‘Study on two-wheeled self-balancing electric vehicle based on fuzzy PD control algorithm,’’ _Adv. Mater. Res._, vol. 1056, pp. 162–165, Oct. 2014. [5] P. Y. Lam, ‘‘Gyroscopic stabilization of a kid-size bicycle,’’ in _Proc. IEEE_ _5th Int. Conf. Cybern. Intell. Syst._, Sep. 2011, pp. 247–252. [6] D. N. Anisimov, T. S. Dang, S. Banerjee, and T. A. Mai, ‘‘Design and implementation of fuzzy-PD controller based on relation models: A crossentropy optimization approach,’’ _Eur._ _Phys._ _J._ _Special_ _Topics_, vol. 226, no. 10, pp. 1–14, 2017. [7] M. Yue, X. Wei, and Z. Li, ‘‘Adaptive sliding-mode control for two wheeled inverted pendulum vehicle based on zero-dynamics theory,’’ _Non-_ _linear Dyn._, vol. 76, no. 1, pp. 459–471, Nov. 2013. [8] P. Petrov and M. Parent, ‘‘Dynamic modeling and adaptive motion control of a two-wheeled self-balancing vehicle for personal transport,’’ in _Proc._ _13th Int. IEEE Conf. Intell. Transp. Syst._, Sep. 2010, pp. 1013–1018. [9] P. Oryschuk, A. Salerno, A. M. Al-Husseini, and J. Angeles, ‘‘Exper imental validation of an underactuated two-wheeled mobile robot,’’ _IEEE/ASME Trans. Mechatronics_, vol. 14, no. 2, pp. 252–257, Apr. 2009. [10] N. N. Son and H. P. H. Anh, ‘‘Adaptive backstepping self-balancing control of a two-wheel electric scooter,’’ _Int. J. Adv. Robot. Syst._, vol. 11, no. 10, p. 165, Oct. 2014. [11] P. Xia and Y. Li, ‘‘The control of two-wheeled self-balancing vehicle based on reinforcement learning in a continuous domain,’’ in _Proc._ _32nd_ _Youth_ _Acad. Annu. Conf. Chin. Assoc. Autom. (YAC)_, May 2017, pp. 1084–1089. [12] S. Li, L. Kong, X. Nie, and J. Li, ‘‘Design and realization of two-wheeled auto-balancing vehicle,’’ in _Proc. 4th Int. Conf. Adv. Inf. Technol. Sensor_ _Appl. (AITS)_, Aug. 2015, pp. 36–38. [13] T.-D. Chu and C.-K. Chen, ‘‘Design and implementation of model predic tive control for a gyroscopic inverted pendulum,’’ _Appl. Sci._, vol. 7, no. 12, p. 1272, Dec. 2017. [14] J. Huang, Z.-H. Guan, T. Matsuno, T. Fukuda, and K. Sekiyama, ‘‘Sliding mode velocity control of mobile-wheeled inverted-pendulum systems,’’ _IEEE Trans. Robot._, vol. 26, no. 4, pp. 750–758, Aug. 2010. [15] M. Yue, W. Sun, and P. Hu, ‘‘Path following of a class of non-holonomic mobile robot with underactuated vehicle body,’’ _IET Control Theory Appl._, vol. 4, no. 10, pp. 1898–1904, Oct. 2010. [16] A. Ghaffari, A. Shariati, and A. H. Shamekhi, ‘‘A modified dynamical for mulation for two-wheeled self-balancing robots,’’ _Nonlinear Dyn._, vol. 83, nos. 1–2, pp. 217–230, Aug. 2015. [17] V. I. Utkin, ‘‘Sliding mode control,’’ in _Variable Structure Systems: From_ _Principles_ _to_ _Implementation_, vol. 66. London, U.K.: IEE Control Eng. Ser., 2004, pp. 319–332. [18] J. LaSalle and S. Lefschetz, _Stability_ _By_ _Lyapunov’s_ _Direct_ _Method_ . New York, NY, USA: Academic, 1961. JIE TIAN received the B.S. degree in mechanical engineering and automobile engineering and the M.S. degree in mechanics from the Wuhan University of Technology, Wuhan, China, in 1995 and 1998, respectively, the Ph.D. degree in vehicle engineering from Jiangsu University, in 2011, and the Ph.D. degree in mechanical engineering from Nanjing Forestry University, Nanjing, China, in 2017. From 2015 to 2016, she was a Senior Visiting Scholar with Texas Tech University, USA. She is currently an Associate Professor with Nanjing Forestry University. Her current research interests include vehicle system dynamics and control, and vehicle design CAD/CAE. JIE DING received the B.S. degree in vehicle engineering from Nanjing Forestry University, Nanjing, China, in 2018, where she is currently pursuing the M.S. degree in vehicle engineering with the Department of Traffic and Transportation. Her research interests include vehicle system dynamics and control. YONGPENG TAI received the B.S. and M.S. degrees in mechanical engineering from Nanjing Forestry University, Nanjing, China, in 2006 and 2009, respectively, and the Ph.D. degree from the School of Mechanical Engineering, Southeast University, Nanjing, in 2015. He is currently a Lecturer with Nanjing Forestry University. His current research interests include MEMS and control and vehicle dynamics. ZHESHU MA received the B.S. and M.S. degrees in energy and power engineering from the Jiangsu University of Science and Technology, Jiangsu, China, in 1996 and 1999, respectively, and the Ph.D. degree in man-machine and environmental engineering from the Nanjing University of Aeronautics and Astronautics, Jiangsu, in 2004. From February 2008 to January 2009, he was a Senior Visiting Professor with The University of Manchester, U.K. From March 2014 to March 2015, he was also a Senior Visiting Professor with the University of Virginia, USA. He is currently a Full Professor with Nanjing Forestry University, Jiangsu. His current research interests include new energy vehicle technology and advanced thermal management.

섹션 본문 86문단 · 30,555자

(제목 없음)

1This paper investigates the controls of straight running and turning of a different-axis twowheeled self-balancing (DATWSB) vehicle. The inverted pendulum system (IPS) with gyroscopic effect is used to describe the uncertainty caused by the working conditions. Based on the generalized coordinate systems, the nonlinear mathematical model of the IPS is established according to Lagrange equation. The sliding mode controller (SMC) and adaptive sliding mode controller (ASMC) are respectively designed to control the system, in which the roll angle feedback is used. The simulation results of three models with/without the controllers are presented, which indicate that the ASMC can make the IPS recover upright faster in straight running, and better achieve the desired roll angle in turning compared with the SMC. Bikesim, a commercial software, is used to build a two-wheeled vehicle model with self-balancing function in combination with Matlab/Simulink. The results show that the ASMC can guarantee the anti-interference and turning abilities of the DATWSB vehicle.INDEX TERMS Different-axis two-wheeled self-balancing vehicle, gyroscopic effect, inverted pendulum, sliding mode control, adaptive sliding mode control.VOLUME 8, 2020This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/

I. INTRODUCTION

2In recent years, two-wheeled self-balancing (TWSB) vehicles have begun to be welcomed by more and more green-travel enthusiasts because they are not only energy-saving and environmentally friendly, but also have the advantages of simple structure, flexible operation, and portability [1].

3In 1986, Yamato Gaoqiao, professor of Tokyo Electric Communication University, designed a small electric vehicle with two wheels placed left and right, due to the limitation of sensor technology and computer technology at that time, the self-balance control effect of this vehicle was not good, so it had not received much attention [2]. In 2002, the first real TWSB vehicle in the world, Segway, was successfully produced [3]. And a concept TWSB vehicle called PUMA, which added two traditional car seats compared with the Segway, was successfully developed in 2009. With the popularization of coaxial TWSB vehicles, people began to transfer their inspiration to TWSB vehicles with two wheels placed front The associate editor coordinating the review of this manuscript and approving it for publication was Feiqi Deng . and rear. In 2012, the first DATWSB electric vehicle named Lit Motors C1 was born in the world.

4Up to now, there are two kinds of the TWSB vehicle, one is the coaxial TWSB vehicle with two wheels placed left and right (shown in Fig. 1), the other is DATWSB vehicle with two wheels placed front and rear (shown in Fig. 2). At the same time, many researchers are devoted to the stability analysis and control of the coaxial TWSB vehicles.

5Various control methods, such as the closed-loop PID, fuzzy PID, linear feedback control (LFC) and adaptive control, were used in the control of TWSB vehicles. A lowcost hardware platform was developed and the closed-loop PID controllers were designed to maintain the balance of the TWSB vehicle [4]. Authors in [5] designed a double closed-loop PD controller to stabilize the tilt angle of the TWSB vehicle model, but the classical input-output feedback cannot eliminate the influence of the coupling term, and cannot effectively control the precession angle back to zero. A fuzzy PID algorithm was designed to realize the self-balancing of a TWSB vehicle. The PID parameters were estimated by the fuzzy algorithm, and the cross entropy optimization method was used to optimize the parameters of the fuzzy controller. The simulation results showed that the performance of fuzzy PID was better than that of the traditional LFC [6].

6The displacement and velocity of the TWSB vehicle as the input variables were controlled by fuzzy PD controller, and the PD controller was designed to control the tilt angle and angular velocity, the simulation results showed that the system had good robustness [7]. LFC was used to track the TWSB vehicle's path and reduce the vibration, which can effectively maintain the vehicle's stability in straight-line driving, turning and climbing [8]. In addition, Yang C et al.

7proposed an optimized adaptive control to realize the trajectory tracking of TWSB vehicles [9]. Petrov proposed an adaptive motion controller to realize the self-balancing control and turning control of TWSB vehicles [10]. The authors in [11] proposed an adaptive inversion control algorithm and the anti-interference performance of the TWSB vehicle was verified by simulation. In [12], an incremental PID algorithm was used to form a closed-loop control system for TWSB vehicles, and a Kalman filter was used to compensate for the disadvantage of the instability of the accelerometer output and the drift of the gyroscope during the motion. Literature [13] proposed a common Actor-Critic algorithm, composed of an adaptive search network and an adaptive review network, to control TWSB vehicles in continuous domain. However, the above mentioned methods were based on accurate mathematical models, which were lack of robustness to model errors and external disturbances.

8Two sliding mode controllers (SMCs) were proposed for the coaxial TWSB vehicle, and simulation results verified that the controller can guarantee the effectiveness and robustness of the balance control and the speed tracking control [14]. The trajectory tracking control of the coaxial TWSB vehicle was realized by the SMC, and its parameters were estimated adaptively to improve the anti-interference performance of the system [15]. A SMC was used in the balance control for the coaxial TWSB vehicle, a nonlinear coupling term was added to the mathematical model, the simulation results showed that the controller had better trajectory tracking ability than the controller derived from the traditional system equation [16].

9In summary, the aforementioned researches focused on the modeling and control of the coaxial TWSB vehicles and aiming to control them to achieve balances. However, the DATWSB vehicles can take at least two persons, and more importantly, they have closed bodies. Furthermore, they have the advantages of portability, long battery life and good acceleration performance, etc., compared with four-wheeled vehicles. Therefore, it is necessary to use the DATWSB vehicles as a convenient transportation for people instead of the bulky four-wheel vehicles in special areas. However, the research on DATWSB vehicles had not been reported in the literatures.

10In fact, the working principles of coaxial TWSB vehicles and DATWSB vehicles are quite different from each other. For the former, the upright under impact disturbances when the vehicle goes straight and the steering of the vehicle are controlled by the acceleration and differential speed of the wheels, respectively. However, for the latter, they are controlled by the precession of the gyroscopes. In addition, a DATWSB vehicle requires a stable roll angle under the centrifugal force of turning. In this study, the gyroscopic effect is applied to design an assistant system for DATWSB vehicles that can actively stabilize the vehicle in cases with and without centrifugal forces.

11The innovations of this paper are as follows: (1) The research object is the DATWSB vehicle with two gyroscopes, which is quite different from the coaxial TWSB vehicle widely studied at present; (2) In the process of dynamic modeling, the DATWSB vehicle with gyroscopes is simplified to an IPS with gyroscope effect, and Lagrange equation is used to carry out the mathematical modeling;

12(3) Considering the nonlinearity, parameter uncertainty and disturbance of the system, the SMC and adaptive sliding mode controller (ASMC) are designed to control the balances of the DATWSB vehicle in straight running and turning; (4) The SMC and ASMC of the DATWSB vehicles are simulated, and the response curve, required effective torque and robustness are compared; (5) Combined with Bikesim and Matlab/Simulink, a TWSB vehicle model is established. The straight running and turning conditions of the vehicle are The organizational structure of this paper is as follows: Section I is the introduction, which is also a summary of the current research status of the DATWSB vehicles. The working principle of a DATWSB vehicle is introduced, and the reasonable simplified system is modeled in Section II. Section III states the problems. The SMC and ASMC are designed in Section IV. In Section V, the control effect of ASMC is compared with that of SMC, and the experimental results are presented. Section VI puts forward the conclusion.

II. VEHICLE MODELS

13In this section, we will first analyze the working principle of a DATWSB vehicle with two gyroscopes, and then simplify it into an IPS with gyroscope effect. Finally, we establish kinematic coordinate systems and derive the vehicle's dynamic model according to the Lagrange equation.

A. WORKING PRINCIPLE

14The self-balance function of a DATWSB vehicle is realized by two gyroscopes with gyroscopic effect. As shown in Fig. 3, the two gyroscopes are respectively carried by the two gimbal frames, which are fixed on the chassis of the vehicle. Therefore, when the gimbal frames are rotated by the two DC motors, the gyroscopes will rotate the same angles, β 1 and β 2 . There are other two motors used to power the gyroscopes to rotate at angular velocities,φ 1 andφ 2 . These four DC motors are not shown in Fig. 3.

15For a single gyroscope, take the right gyroscope in Fig. 3 as an example (shown in Fig. 4), when the precession angular velocityβ is controlled by the DC motor, a torque will generate along the x axis and its direction and magnitude can be defined as:

16where I is the mass moment of inertia. At the precession angle β, the generated torques around the horizontal and vertical axes are: where T H is the torque that can help stabilize the vehicle in the horizontal axis, T V is the torque that may cause the yaw motion of the vehicle in the vertical axis. In order to maximize the effective torque in the horizontal axis, the two gyroscopes rotate in the opposite direction at the same speed. Therefore, the torques on the vertical axis of two gyroscopes will cancel each other, and the maximum effective torque acting on the vehicle body is the sum of each gyroscope, which can be expressed as:

17It can be concluded from (4) that with the increase ofφ 1 anḋ ϕ 2 , the gyroscopes will be able to generate a larger reaction torque. This means that the DATWSB vehicle can achieve stability under a larger initial tilt angle or in the presence of larger disturbances.

B. DYNAMIC MODLE

18Assuming that the wheels of the DATWSB vehicle are rolling discs with point contact on the road surface where has no longitudinal or lateral sliding, the body roll angle is fixed at a constant value, α, the vehicle can be simplified into an IPS with gyroscope effect as shown in Fig. 5.

19There are four coordinate systems, where the (O-XYZ) fixed on the ground is the reference coordinate system, the VOLUME 8, 2020

20is mounted on the inverted pendulum at the point O, and the (o-x gi y gi z gi ) (i = 1, 2) on the gimbal's revolute jionts o gi (i = 1, 2), respectively. For the (o-x b y b z b ), it can be referred to as the position after the (O-XYZ) rotated by α angle around the X axis. The cosine matrix corresponding to the rotation is:

21And for the (o-x g1 y g1 z g1 ) and (o-x g2 y g2 z g2 ), both of them can be regarded as the coordinate systems after the (o-x b y b z b ) rotated by β 1 and β 2 about the y b axis, and the z g1 and z g2 axes are the rotation axes of gyroscopes. The cosine matrix corresponding to the rotation is:

22The angular velocities of the inverted pendulum, gimbal frames and gyroscopes, ω b , ω gi , and ω fi (i = 1, 2), can be expressed as

23The linear velocities of the inverted pendulum, gimbal frames, and gyroscopes are calculated as

24The kinetic energy of the IPS is the sum of linear and rotational kinetic energy of each part. According to (7) - (12), it can be obtained by

25where b, g i and f i (i = 1, 2) are the centroids of the inverted pendulum, gimbal frames and gyroscopes, respectively; h b , h gi and g fi (i = 1, 2) are the centroid heights of the three parts from the ground, respectively; m b , m gi , and m fi (i = 1, 2) are the masses of the inverted pendulum, gimbal frames and gyroscopes, respectively; and I bx is the moment of inertia of the inverted pendulum about the X axis, I gix , I giy , I giz (i = 1, 2) are the moment of inertia of the ist gimbal frame about the x gi , y gi , and z gi axes, respectively; and ω gix , ω giy , and ω giz (i = 1, 2) are the components of the angular velocity of the ist gimbal frame along the x gi , y gi , and z gi axes, respectively; I fix , I fiy , I fiz (i = 1, 2) are the moments of inertia of the ist gyroscope about the x fi , y fi , and z fi axes, respectively; and ω fix , ω fiy , and ω fiz (i = 1, 2) are the components of the ist gyroscope's angular velocity along the x fi , y fi , and z fi axes, respectively. The total potential energy of the system can be expressed as

26where U b , U gi and U fi (i = 1, 2) are the potential energy of the inverted pendulum, gimbal frames and gyroscopes, respectively.

27By applying the Lagrange equation for (16) and (17), the mathematical model of the system can be obtained.

28where L is a Lagrange function and

29is the generalized force corresponding to each generalized coordinate.

30Then L can be expressed as

31Lagrange's equation about α, β i can be expressed as

32Bring (19) into (20) and (21), we can get the acceleration of vehicle body inclination and gyroscope precession angles

33β 1 = I f 1zαφ1 cos β 1 + I g1z + I f 1z α 2 sin β 1 cos β 1 − I g1x + I f 1x α 2 sin β 1 cos β 1 / I g1y + I f 1y (23)

34It can be seen from (22) that the precession motions of gyroscopes play an important role in upright stability of the DATWSB vehicle.

III. PROBLEM FORMULATION

35Due to the gyroscopic effect, the IPS equipped with double gyroscopes can have a certain anti-interference ability. However, the ability is too limited. When the external moment acting on the IPS is large, the sum of the effective moments generated by the two gyroscopes on the horizontal axis will not be enough to ensure the balance of the IPS. In addition, when the DATWSB vehicle is turning, it is necessary to keep the roll angle stable. Therefore, an extra controller should be used.

36The IPS is an unstable, multivariable and coupled system, which is also affected by a series of factors such as the nonlinearity, parameter uncertainty and un-modeled dynamics. For this reason, a SMC, which is not sensitive to the unmodeled dynamics and noise disturbances, is designed to stabilize the vehicle in cases with and without centrifugal forces. In addition, an ASMC algorithm is also proposed to compare with the SMC. The diagram of control design is depicted in Fig. 6.

IV. CONTROLLER DESIGN

37Considering SMC is not sensitive to the parameter changes and noise disturbances, it may be a more appropriate method to deal with the uncertain TWSB vehicle system. In this section, SMC and ASMC are designed to make the IPS have the anti-interference ability and steering ability.

A. DESIGN OF SMC

38The two gyroscopes on the IPS, which have the same parameters and rotate the same angle in the opposite direction around their vertical axes, aim to produce the maximum effective torque.

39Define ϕ = ϕ 1 = ϕ 2 , after the linearization of (22), the following can be obtained

40can be expressed by the following state space model.

41Hence, the roll angle can be expressed as

42Define the state error between the actual roll angle and its ideal one as

43To determine the gain of the SMC, the following surface equation is considered

44where c 1 > 0. The derivative of the surface equation can be expressed aṡ

45we can get

46The system will be globally asymptotically stable when the following reachability condition is satisfied.

47Therefore, the following selected control gains [17] will satisfy the reachability condition and guarantee conditions.

B. DESIGN OF ASMC

48Adaptive control is a control method which can modify its own characteristics to adapt to the dynamic characteristics of the object and disturbance. Robust control means that the control system can maintain some performance characteristics under certain parameter perturbation. By using adaptive robust sliding mode control method, the control system can achieve better performance. Define u =β 1 , we can rewrite (27) as

49In order to realize the adaptive control without physical model, the physical parameters are arranged according to the following formula

50Then (35) can be expressed as

51It can be seen that the physical parameters of the IPS are included in φ 1 and φ 2 . Let x 1 = α, x 2 =α and the disturbance be dt, then (37) can be described as

52The error state e 2 between the actual value of the roll angle and its ideal one can be expressed as

53and the sliding mode function is

54where c 2 is a positive number. The Lyapunov function can be expressed as

55where γ i > 0, andφ i is the estimate of φ i . Then,

56Let V 1 = φ 1 s 2ṡ2 , the following equation can be obtaineḋ

57The control law can be designed as

58Submit (44) into (43), we can geṫ

59The adaptive law can be designed as

60According to the LaSalle invariance principle [18], the closed-loop system is asymptotically stable, i.e., when t → ∞, s 2 → 0.

V. RESULT ANALYSIS

61In this section, three models, i.e., the IPS without controller, IPS with SMC and IPS with ASMC, are simulated by Matlab/Simulink. Then, the commercial software Bikesim and the Matlab/Simulink are used to establish a DATWSB vehicle model which is consistent with the IPS response for real-time simulation. The parameters involved in the simulation are shown in Table 1. The simulation results are described in the following sections.

A. SIMULATION OF STRAIGHT RUNNING

62In this simulation, the IPS without controller, the IPS with SMC and the IPS with ASMC are simulated with the same initial roll angle (5.7 • ), and the simulation results are shown in Fig. 7. Fig. 7(a) shows the roll angles of the three models. It can be seen that the roll angle of the IPS without controller is always 5.7 • , which indicates that the IPS cannot recover upright only under the gyroscopic effect of two gyroscopes, and an additional control is needed to resist the external interference. In fact, the other two curves in Fig. 7(a) show that the roll angle of the IPS with SMC and that of the IPS with ASMC can be restored to zero in a short time, and then always be zero. However, the ASMC can make the IPS stand upright in an even shorter time, which demonstrates that it can guarantee the self-balance performance of the IPS more effectively.

63The gimbal angle, corresponding control input and gimbal torque of the three models are illustrated in Figs. 7(b), 7(c), and 7(d).

64For the IPS without controller, the gimbal angle grows with straight-line from zero (shown in Fig. 7(b)), the control input fluctuates around 0.1rad/s during this period (shown in Fig. 7(c)), and the gimbal torque generated by the gyroscope effect vibrates around 100Nm and its maximum value is 200Nm (shown in Fig. 7(d)), which is too small to make the IPS stand upright.

65For the IPS with SMC, the gimbal angle remains unchanged after increasing from 0 • to 2.3 • (shown in Fig. 7(b)), the control input decreases after increasing to 0.23rad/s, then oscillates around 0rad/s, and remains 0rad/s after 1.4s. (shown in Fig. 7(c)), and the gimbal torque vibrates nearby 0Nm and keeps 0Nm from 1.4s after changing from 0Nm to −500Nm (shown in Fig. 7(d)).

66For the IPS with ASMC, the gimbal angle increases from 0 • to 6.4 • , then decreases to 3.9 • and remains constant (shown in Fig. 7(b)), the control input decreases rapidly from 1rad/s to -0.06rad/s, then increases to 0rad/s slowly and remains unchanged (shown in Fig. 7(c)), and the gimbal torque changes from -2000Nm to 125Nm, then decreases gradually and reaches 0Nm after 0.8s (shown in Fig. 7(d)).

67From the above analysis, it can be concluded that the control effect of ASMC on the IPS is better because it can produce a larger gimbal torque and make the IPS recover upright faster.

68In order to better illustrate the performances of the controllers designed, three models with a larger initial roll angle (28.7 • ) are also simulated. Fig. 8 shows the results of the three models. Fig. 8(a) is the roll angle curves of the three models, and it can be concluded that when there is no controller applied, the roll angle of the IPS remains unchanged at 28.7 • in 2s, the reason is that the gimbal torque produced by the precession of gyroscopes is not large enough to restore the IPS to upright position. Therefore, an additional controller is needed to resist the external interference. From the other two curves in Fig. 8(a), it can be seen that under the actions of SMC and ASMC, the roll angles of the IPSs can be restored to zero within 2s, and then remain unchanged, which indicates that the controllers designed can effectively guarantee the self-balance performance of the IPS even when the initial roll angle is increased. However, the control time of the IPS with SMC is relatively longer. Therefore, the ASMC can effectively improve the anti-interference ability of the IPS.

69The gimbal angles β 1 of the three models are shown in Fig. 8(b). It can be concluded that due to the precession of gyroscopes, the gimbal angle of the IPS without controller increases continuously, and those of the other two models maintain constant values after short period of changes. As shown in Fig. 8(c), the control inputs of the IPS with SMC and IPS with ASMC change rapidly at the beginning, then for the IPS with SMC, its control input remains 0rad/s after oscillation around that value, while for the IPS with ASMC, the control input gradually increases from −0.3rad/s to 0rad/s. As shown in Fig. 8(d), the maximum values of gimbal torques for the three models are 960Nm, 2620Nm and 3133Nm, respectively. In fact, the gimbal torque of the IPS without controller is too small to make it stand upright, while those of the IPSs with SMC and ASMC are large enough to resist the disturbance so as to restore the IPS. However, the ASMC can better meet the self-balance requirement of the IPS under different initial roll angles.

B. SIMULATION OF TURNING

70When the DATWSB vehicle turns on a curve with a radius, r, and at a certain longitudinal speed, v, it can be considered that the vehicle is performing a circular motion. In this case, the moment balance condition of the vehicle at the point that contacts with the ground can be expressed as

71In order to make the vehicle turn stably, it is necessary to tilt the vehicle at a roll angle to the inner side of the corner. With this roll angle, the gravitational force becomes the counteracting force to the centrifugal force, which prevents the vehicle from being pulled out of the track.

72The centrifugal force, F c , acting on the vehicle is According to (49) and (50), the required reference roll angle expression can be obtained

73In practical applications, the centrifugal force can be determined by measuring the lateral acceleration with a sensor or by measuring the instantaneous turning radius of the longitudinal velocity using a global positioning system (GPS). Therefore, the centrifugal force and the corresponding reference roll angle α ref can be calculated by (50) and (51).

74When the vehicle speed is 25km/h and the turning radius is 57.86m, the centrifugal force acting on the vehicle calculated by (50) is 302.36N, and reference roll angle obtained by (51) is 5 • . At the same speed, the calculated centrifugal force and reference roll angle are respectively 1344.88N and 20.7 • when the turning radius is 13m. The simulation results of the three models under these two turning conditions are shown in Figs. 9 and 10.

75When the reference roll angle is 5 • , for the IPS without controller, the roll angle is always 0 • (shown in Fig. 9(a)), which means the IPS doesn't turn at all. And the gimbal angle increases linearly from zero (shown in Fig. 9(b)), the control input oscillates near 0.07rad/s during this period (shown in Fig. 9(c)), the maximum gimbal torque generated by the gyroscope effect is 125Nm (shown in Fig. 9(d)), which cannot make the IPS achieve the ideal turning effect. Therefore, additional controllers are required.

76In Fig. 9(a), the roll angle of the IPS with SMC can reach the reference roll angle (5 • ) at 1.5s and then keeps constant, while it only needs about 0.3s to reach the reference roll angle for the IPS with ASMC. For the IPS with SMC, the gimbal angle keeps increasing (shown in Fig. 9(b)), the control input grows from 0rad/s to 0.15rad/s (shown in Fig. 9(c)), and the gimbal torque changes from 0Nm to -300N (shown in Fig. 9(d)). However, for the IPS with ASMC, at the very beginning, the gimbal angle changes greatly (shown in Fig. 9(b)), and then increases uniformly, the control input oscillates around 0.09rad/s after a short period of change (shown in Fig. 9(c)), the maximum gimbal torque acting on the IPS reaches 5681Nm (shown in Fig. 9(d)).

77It can be concluded from the above analysis that when the reference roll angle is small, both SMC and ASMC can ensure that the IPS can reach the required roll angle value, while the ASMC can provide a larger torque for the IPS to turn, and the adjusting time needed is shorter. Fig. 10 shows the control results of the three IPSs when the α ref is 20.7 • . Fig. 10(a) is the roll angles of three models, which can be seen that for the IPS without controller, the roll angle is 0 • and unchanged. However, the other two curves in Fig. 10 (a) show that the roll angles of the IPSs with SMC and ASMC can quickly reach 20.7 • and then remain unchanged. Therefore, the designed controllers can effectively ensure the turning function of the IPS when the reference roll angle is large.

78In Fig. 10(b), for the IPS without controller, the gimbal angle keeps growing to 33 • from 0 • in 2s, the control input oscillates between 0rad/s and 0.52rad/s (shown in Fig. 10(c)), and the gimbal torque generated by the gyroscope effect is around 500Nm, which is not enough for the IPS to reach the reference roll angle when steering.

79For the IPS with ASMC, the variation range of the gimbal angle is larger than that of the IPS with SMC (shown in Fig. 10(b)), and its control input is much larger than that of the IPS with SMC at the beginning (shown in Fig. 10(c)). Finally, the control inputs of the IPSs with SMC and ASMC are 0.6rad/s and 0.4rad/s respectively, and remain unchanged. Fig. 10(d) shows the corresponding gimbal torques. For the IPS with SMC, the gimbal torque changes from 0Nm to -1000Nm in 2s. However, for the IPS with ASMC, the gimbal torque finally becomes -600Nm after the rapid change from 23700Nm to -31500Nm in 0.2s, which is why the roll angle can quickly increase from 0 • to 20.7 • in a short time.

80To sum up, when the IPS adopts controllers, the gimbal frame can rotate at a larger angle, and can provide enough torque to ensure that the IPS turns at the reference roll angle. The adjustment time of ASMC in the process of realizing the IPS stable steering is shorter. Therefore, the ASMC has the higher adjustment efficiency.

C. EXPERIMENT OF IPS WITH ASMC

81In order to implement and test the designed ASMC, the commercial software Bikesim and Matlab/Simulink are used, and a sports bike is selected as the DATWSB vehicle model, which is called Bikesim model for short. Considering that the function of the two gyroscopes is to produce the gimbal torque to balance the vehicle, we define a roll moment acting on vehicle centroid as the import channel, which can provide the gimbal torque generated by the gyroscopes to the model, and a roll angle as the output channel respectively. When we provide the gimbal torque of the IPS without controller to the Bikesim model, the responses of the IPS model without controller and the Bikesim model without controller with the initial roll angle (5.7 • ) are shown in Fig. 11.

82It can be seen from Fig. 11 that the responses of the two models are almost the same, and their maximum offset is only 0.016 • , which shows that the Bikesim model can accurately describe the IPS model and can be used to simulate the realtime dynamic behavior of the system.

83Form the aforementioned analysis, we have come to a conclusion that the ASMC has better control effect on the IPS under straight running and turning conditions. Therefore, the Bikesim model with ASMC under the same conditions with the IPS model is carried out to test the designed controller. The control results are shown in Fig. 12.

84It can be seen from Figs. 12(a) and 12(b) that when the Bikesim models with different initial roll angles are in straight running, their roll angles can quickly return to 0 • under the control of the ASMC and then remain unchanged. The roll angle curves of the Bikesim models are very close to those of the IPS models, which indicate that the ASMC can ensure the self-balancing function of the DATWSB vehicle in straight running.

85Figs 12(c) and 12(d) show the roll angle curves of the two models when the reference roll angle are 5 • and 20.7 • respectively. It can be seen that the roll angles of the Bikesim models with ASMC can quickly increase from 0 • to the reference value and then keep constant, so as to ensure the vehicle can turn steadily. And the results also show that the response of the Bikesim model under the turning condition is the same as that of the IPS model, so the ASMC can effectively guarantee the turning ability of the DATWSB vehicle.

VI. CONCLUSION

86In this paper, the controls of straight running and turning of DATWSB vehicles are studied. The DATWSB vehicle is simplified to the IPS with gyroscopic effect, which is modelled by Lagrange equation. Simulation results show that the SMC and ASMC can make the gyroscopes produce larger effective torques to ensure the balance and stability of the IPSs. However, when the vehicle goes straight, the ASMC can make the IPS recover from tilt to upright state faster, and better maintain the balance of the system. When the vehicle is turning, compared with the SMC, the ASMC can make the roll angle of the IPS reach the reference value in a shorter time, which can better ensure the turning requirements of the vehicle. In addition, a DATWSB vehicle model with self-balancing function is established by combining Bikesim and Matlab/Simulink. And the experiment results also show that the ASMC can ensure the anti-interference ability and stable turning ability of the vehicle. In the future, we will make a prototype to further test the control effect of ASMC.

참고문헌 17건

  1. Path following of a class of non-holonomic mobile robot with underactuated vehicle body IET Control Theory and Applications · Institution of Engineering and Technology · 2010 10.1049/iet-cta.2009.0617
  2. A modified dynamical formulation for two-wheeled self-balancing robots Nonlinear Dynamics · Springer Science+Business Media · 2015 10.1007/s11071-015-2321-9
  3. Design of two-wheel self-balanced electric vehicle based on MEMS 2009 10.1109/nems.2009.5068545
  4. Adaptive sliding-mode control for two-wheeled inverted pendulum vehicle based on zero-dynamics theory Nonlinear Dynamics · Springer Science+Business Media · 2013 10.1007/s11071-013-1139-6
  5. Gyroscopic stabilization of a kid-size bicycle 2011 10.1109/iccis.2011.6070336
  6. Study on Two-Wheeled Self-Balancing Electric Vehicle Based on Fuzzy PD Control Algorithm Advanced materials research · Trans Tech Publications · 2014 10.4028/www.scientific.net/amr.1056.162
  7. Experimental Validation of an Underactuated Two-Wheeled Mobile Robot IEEE/ASME Transactions on Mechatronics · Institute of Electrical and Electronics Engineers · 2009 10.1109/tmech.2008.2007482
  8. Sliding-Mode Velocity Control of Mobile-Wheeled Inverted-Pendulum Systems IEEE Transactions on Robotics · Institute of Electrical and Electronics Engineers · 2010 10.1109/tro.2010.2053732
  9. Dynamic modeling and adaptive motion control of a two-wheeled self-balancing vehicle for personal transport 2010 10.1109/itsc.2010.5625196
  10. Adaptive Backstepping Self-balancing Control of a Two-wheel Electric Scooter International Journal of Advanced Robotic Systems · SAGE Publishing · 2014 10.5772/59100
  11. Fuzzy model reference control of wheeled mobile robots 2002 10.1109/iecon.2001.976547
  12. Sliding mode control for automobile applications Institution of Engineering and Technology eBooks · Institution of Engineering and Technology · 2004 10.1049/pbce066e_ch14
  13. Design and Realization of Two-Wheeled Auto-Balancing Vehicle 2015 10.1109/aits.2015.16
  14. Nonlinear dynamics modeling and simulation of two-wheeled self-balancing vehicle International Journal of Advanced Robotic Systems · SAGE Publishing · 2016 10.1177/1729881416673725
  15. Design and implementation of fuzzy-PD controller based on relation models: A cross-entropy optimization approach The European Physical Journal Special Topics · Springer Science+Business Media · 2017 10.1140/epjst/e2017-70069-y
  16. The control of two-wheeled self-balancing vehicle based on reinforcement learning in a continuous domain 2017 10.1109/yac.2017.7967572
  17. Design and Implementation of Model Predictive Control for a Gyroscopic Inverted Pendulum Applied Sciences · Multidisciplinary Digital Publishing Institute · 2017 10.3390/app7121272