Next Article in Journal
Effect of ElectroSpark Process Parameters on the WE43 Magnesium Alloy Deposition Quality
Previous Article in Journal
Unexpected-Behavior Detection Using TopK Rankings for Cybersecurity
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Trajectory Tracking of Flexible-Joint Robots Actuated by PMSM via a Novel Smooth Switching Control Strategy

School of Automation, Qingdao University, Qingdao 266000, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2019, 9(20), 4382; https://doi.org/10.3390/app9204382
Submission received: 24 July 2019 / Revised: 11 October 2019 / Accepted: 14 October 2019 / Published: 17 October 2019
(This article belongs to the Section Electrical, Electronics and Communications Engineering)

Abstract

:
This paper presents the trajectory tracking control of a flexible-joint manipulator driven by permanent magnet synchronous motor (PMSM). Combining the PMSM electrical equation and mechanical equation of robotic manipulators, a novel smooth switching control scheme is proposed. Firstly, the position loop controller of the system is designed, with an improved hierarchical sliding mode control (IHSMC) algorithm proposed to further the response speed of the system, additionally, a robust interconnection and damping assignment passivity-based controller (IDA-PBC) is designed to improve the steady state performance of the system. Then, the IDA-PBC control strategy is leveraged to design the current loop controller of the system, on which basis a hybrid controller with smooth switching is designed. Furthermore, Gaussian function is applied as the smooth switching function of the hybrid controller to promote the switching performance. As a result, the hybrid controller has both good dynamic and steady performance. The simulation results verify the effectiveness of the algorithms.

1. Introduction

Flexible-joint robots are widely used in industrial fields, with a broad application prospect such as aerospace, defense, and medical [1,2,3,4,5]. The articulated flexible robot mostly adopts the harmonic reducer as its transmission mechanism. The harmonic reducer not only has the advantages of small volume, high transmission precision, and high bearing capacity, but also brings joint flexibility into the robots. The introduction of joint flexibility increases the difficulty of control Permanent magnet synchronous motor (PMSM), which has been widely used in the servo system of flexible-joint robots due to their small torque ripple, large torque inertia ratio, and high efficiency. In the past, the dynamic model of servo motors as actuators is often neglected in the controller design of mechanical systems [6,7]. The reason for this is that considering the actuator complicates the design of the controller. However, regardless of the dynamics model of the actuator, the performance of the closed-loop system may be degraded or even have instability [8].
Most scholars have studied how to better combine electrical dynamics with mechanical dynamics, on which basis the position tracking controller of the robot is designed. An adaptive fuzzy voltage control strategy for a DC-driven rigid-joint robot with uncertainty compensation is proposed in [9]. In [10], an observer-based robust control strategy for DC-driven flexible joint robots without speed sensors is proposed. An adaptive fuzzy control strategy for a PMSM-driven rigid-joint robot is proposed in [11], but this article did not make a specific analysis of the controller performance. A global proportion–integral–derivate (PID) control strategy for a PMSM-driven rigid-joint robot and a global stability proof method of PID control are proposed in [12]. Obviously, PMSM-driven flexible-joint robots have been rarely researched until now.
This paper presents a hybrid controller for PMSM-driven flexible-joint robots. In order to make the control system take into account both good dynamic and steady state performance, some researchers have begun to propose to combine two control strategies with different points through smooth switching, to achieve a hybrid control strategy based on time switching [13,14]. However, it is difficult to determine the switching time point, which is one of the disadvantages of such control strategies. In addition, it is difficult to ensure the control effect when facing unknown disturbances by using the hybrid control strategy with time function as the switching function. Therefore, in this paper, a Gaussian switching function based on velocity error is proposed to realize smooth switching of hybrid controllers. The hybrid controller mainly includes a sliding mode controller and port-controlled Hamiltonian (PCH) controller. Sliding mode control is widely used in flexible manipulators due to its excellent robustness and excellent dynamic performance [15,16]. Therefore, an improved hierarchical sliding mode control strategy is designed to improve the dynamic performance of the system. The chattering cannot be eliminated due to sliding mode control. Hence, IDA-PBC control is designed for the system, with good steady-state performance. As we all know, IDA-PBC has a good control effect on systems whose dynamics are difficult to accurately model [17,18,19]. The state error PCH system of the flexible joint is constructed to achieve better tracking effect [20]. The added PID outer ring control can effectively reduce the influence of external disturbance on the system and improve the steady state performance of the system [21,22]. On this basis, the electrical subsystem of the PMSM is written in the form of PCH, and the IDA-PBC control is designed for current loop control.
This paper is organized as follows. In Section 2, the system dynamics model proposed in this paper is established. In Section 3, the IHSMC controller and PID-IDA-PBC are designed for the mechanical subsystem, and the IDA-PBC controller is designed for the electrical subsystem. Based on this, a hybrid controller is proposed. Simulation results and analysis are presented in Section 4.

2. Dynamic Model of Robots

The dynamic model of an n-degree-of-freedom flexible-joint robot driven by a permanent magnet synchronous motor can be expressed as
M q q ¨ + C q , q ˙ q ˙ + G q = K ( r θ q ) + D ( r θ ˙ q ˙ ) J m θ ¨ + K ( r θ q ) + D ( r θ ˙ q ˙ ) = r τ m L d d i d d t + R s i d n p θ ˙ L q i q = u d L q d i q d t + R s i q + n p ω L d i d + n p ω Φ = u q
τ m = n p ( L d L q ) i d i q + Φ i q
where the mechanical subsystem dynamics model is derived from the model proposed in [23], and the electrical subsystem model is the electrical equation of the PMSM in the d–q coordinate system. q is the vector of joint positions, θ is the motor position vector, M q R n × n is the inertial matrix, C q , q ˙ R n × n is the Coriolis force and centripetal force matrix, G q R n is the gravity torque vector, K = d i a g K i R n × n is the robotic joint stiffness matrix, D = d i a g D i R n × n is the robotic joint damping matrix, J m = r 2 J m = d i a g J m i R n × n is the constant diagonal matrix, J m is the motor inertia matrix, L d , L q , R s , Φ , and n p are constant diagonal matrices, which represent the inductance, stator resistance, flux linkage, and pole pair of PMSM, u q = [ u q 1 , u q 2 , . . . , ] T R n , u d = [ u d 1 , u d 2 , . . . , ] T R n are the stator voltage at the q and d axes, respectively, i q = [ i q 1 , i q 2 , . . . , ] T R n , i d = [ i d 1 , i d 2 , . . . , ] T R n , are the stator voltage at the q and d axes, correspondingly, and r is the reduction ratio.
According to [19], the basic properties of some mechanical subsystems can be obtained to facilitate control the design.
Property 1.
The matrix is symmetric and positive definite.
Property 2.
q ˙ T [ M ˙ ( q ) 2 C ( q , q ˙ ) ] q ˙ = 0 , q , q ˙ R .

3. Hybrid Control Design and Analysis

In this section, we uses double closed-loop control. The outer loop is a position loop, and two position controllers are designed according to the IHSMC and PID-IDA-PBC algorithms, respectively. In order to realize the advantages of the two control algorithms, the Gaussian function is adopted as the switching function, and the smooth switching is performed according to the rate of change of the position error. For the purpose of simplifying the controller design, we use a surface PMSM as the servo motor. In order to achieve current tracking control, this paper will use the IDA-PBC control strategy as the current controller. The system diagram of the hybrid control system is as follows in Figure 1.

3.1. Hierarchical Sliding Mode

The paper [2,3,4,5,24] proposes an improved hierarchical sliding mode control. Firstly, the first sliding surface is improved, and a nonlinear super-curved sliding surface is adopted. This sliding surface is superior to the traditional linear sliding surface, so that the system can reach the equilibrium point at a higher speed. Then, the secondary sliding surface is designed on the basis of the first sliding surface. Finally, a double power reaching law is designed and the asymptotic stability of the subsystem is proved [25].
Define q d as the desired angular position of the link, θ d is the desired angular position of the motor. Then define the state error as q e = q q d , θ e = θ θ d . Designing the first layer sliding surface s q , s θ as
s q = q ˙ e + a 1 q e q 1 / p 1 + b 1 q e p 2 / q 2
s θ = θ ˙ e + a 2 θ e q 3 / p 3 + b 2 θ e p 4 / q 4
where a 1 > 0 , a 2 > 0 , b 1 > 0 , b 2 > 0 are constant, p 1 > q 1 > 0 , p 2 > q 2 > 0 , p 3 > q 3 > 0 , p 4 > q 4 > 0 are odd.
The following simulation results verify that the nonlinear hyperboloid sliding surface application has a good application effect in the layered sliding mode controller. On the basis of a first layer of sliding surface, the second layer sliding surface is designed.
s = α s q + β s θ
where α , β are the constants to be designed.
The double power reaching law is defined as follows
s ˙ = r 1 s k 1 sgn ( s ) r 2 s k 2 sgn ( s ) k 3 s + k 4 ( s q T s ˙ q )
where s > 0 , k 1 > 1 , 1 > k 2 > 0 , r 1 , r 2 are the constants to be designed, depending on the requirements of the system’s disturbance–resistance performance, k 3 is a positive integer, k 4 is a positive number that approaches to zero.
From Equations (3)–(5)
s ˙ q = q ¨ e + a 1 q 1 p 1 q ˙ e q 1 / p 1 + b 1 p 2 q 2 q ˙ e p 2 / q 2
s ˙ θ = θ ¨ e + a 2 q 3 p 3 θ ˙ e q 3 / p 3 + b 2 p 4 q 4 θ ˙ e p 4 / q 4
s ˙ = α s ˙ q + β s ˙ θ
Substituting Equations (6)–(8) into Equation (9) yields
τ s m = α J m β M 1 ( q ) K ( θ q ) + D ( θ ˙ q ˙ ) C ( q , q ˙ ) q G ( q ) q ¨ d + a 1 q 1 p 1 q ˙ e q 1 / p 1 + b 1 p 2 q 2 q ˙ e p 2 / q 2 + J m β r 1 s k 1 sgn ( s ) r 2 s k 2 sgn ( s ) k 3 s + k 4 ( s q T s ˙ q ) + K ( θ q ) + D ( θ ˙ q ˙ ) + J m ( θ ¨ d a 2 q 3 p 3 θ ˙ e q 3 / p 3 b 2 p 4 q 4 θ ˙ e p 4 / q 4 )
The Lyapunov function is defined as
V H S M = 1 2 s T s + 1 2 s q T s q V ˙ H S M = s T s ˙ + s q T s ˙ q = s T s ˙ + s q T s ˙ q = s T ( α s ˙ q + β s ˙ θ ) + s q T s ˙ q = s T ( r 1 s k 1 sgn ( s ) + r 2 s k 2 sgn ( s ) + k 3 s + k 4 ( s q T s ˙ q ) ) + s q T s ˙ q
According to [24], the following properties can be obtained
Property 3.
Provided on the outer bound of unknown disturbance is M D , when k 3 > 1 , the second layer sliding surface is bounded stable. s can converge to any small area Ω for a limited time. Ω can be expressed as
Ω = s | s max M D r 1 , M D r 2 , k 4
Property 4.
If s is bounded then s q is bounded.
Therefore, the first layer sliding surface and the second layer sliding surface are both bounded and stable.

3.2. PID-IDA-PBC

In this section, the mechanical subsystem table is first written in the form of a PCH. Then, the state error PCH system is constructed by the IDA-PBC control strategy, and the PID outer loop controller is designed to improve the anti-interference ability and steady state performance of the control system. Finally, the asymptotic stability of the subsystem is proved. The dynamics model of the mechanical subsystem can be expressed in the form of a PCH system as follows [19]
x ˙ = [ J ( x ) R ( x ) ] H ( x ) x + g ( x ) τ p b c y = g T ( x ) H ( x ) x
where x = ( q , θ , p q , p θ ) T . Hamiltonian function is set as
H ( q , θ , p q , p θ ) = 1 2 p q T M 1 ( q ) p q + 1 2 p θ T J m p θ + V g ( q ) + V k ( q , θ )
where p q = M q q ˙ , p θ = J m θ ˙ are momentum, V g ( q ) is gravitational potential energy, V k ( q , θ ) = 1 2 K θ q 2 + 1 2 D ( θ ˙ q ˙ ) 2 is elastic potential energy, J m is a positive number that is not zero.
Define the state error of the system as x ˜ = x x d . Then, the feedback control law τ p b c = β ( x ) is obtained by the IDA-PBC control strategy, and the closed-loop state error PCH system is obtained as follows [20]
x ˜ ˙ = [ J d ( x ˜ ) R d ( x ˜ ) ] H d ( x ˜ ) x ˜
where J d ( x ˜ ) is a skew-symmetric matrix, R d ( x ˜ ) is a positive semi-definite matrix.
The new Hamiltonian function is set as H d ( x ˜ ) = 1 2 p ˜ q T M d 1 ( q ˜ ) p ˜ q + 1 2 p ˜ θ T J m d 1 p ˜ θ + V g ( q ) + V k ( q , θ ) V g ¯ ( θ ) . System (15) is a PCH system that is asymptotically stable at equilibrium point x ˜ = 0 . The designed state feedback control law can be expressed as
τ p b c = K ( θ q ) + D ( θ ˙ q ˙ ) λ 1 M d 1 ( q ˜ ) p ˜ q λ 2 J m d 1 p ˜ θ J m d J m K ( θ q ) + D ( θ ˙ q ˙ ) + k d q ˜ g ( q )
where λ 1 , λ 2 , J m d , k d are positive diagonal matrix, J m d is a positive number that is not zero.
In this paper, in order to improve the steady state performance and the disturbance–resistance performance of the system. We consider the system (15) to be expressed as [22]
x ˜ ˙ = [ J ( x ˜ ) R ( x ˜ ) ] H d ( x ˜ ) x ˜ + g ( x ) v
where v is is a dynamic controller to improve the anti-interference performance of the system.
Introduce the globally defined transform of coordinates z = ψ ( x ˜ , γ ) given by
z 1 = q ˜ z 2 = θ ˜ z 3 = p ˜ q z 4 = ϑ ( x ˜ , γ ) z 5 = γ
where γ R n is the state of the outer loop controller. An extended PCH system consisting of a new variable z can be expressed as
z ˙ 1 z ˙ 2 z ˙ 3 z ˙ 4 z ˙ 5 = J d ( x ˜ ) R d ( x ˜ ) 0 η 2 0 η 1 0 η 2 0 η 1 ξ H z ( z ) z
H z ( z ) = 1 2 z 3 T M d 1 ( q ) z 3 + 1 2 z 4 T J m d 1 z 4 + 1 2 z 5 T η 3 z 5 + V d ( z )
where ξ = J m d 1 J m η 1 η 2 , η 1 , η 2 , η 3 are positive diagonal matrix.
From Equations (15), (17)–(19)
z 4 = ϑ ( x ˜ , γ ) = p ˜ θ + J m η 2 η 3 γ
According to the Equations (15), (17), (19), and (21), the outer loop control law can be obtained as follows
v = λ 2 H d p ˜ θ λ 2 J m θ ˜ ˙ + η 2 η 3 η 2 H d p ˜ θ + η 1 J d 1 J θ ˜ ˙ d t η 1 η 3 η 2 H d p ˜ θ + η 1 J d 1 J θ ˜ ˙ d t J m η 2 η 3 η 2 H d p ˜ θ + η 1 J d 1 J θ ˜ ˙
According to the Equations (16), (17), and (22), the PID-IDA-PBC law can be expressed as
τ p b c = H θ ˜ J m d J m H d θ ˜ λ 1 H d p ˜ d λ 2 J m θ ˜ ˙ + η 2 η 3 η 2 H d p ˜ θ + η 1 J d 1 J θ ˜ ˙ d t η 1 η 3 η 2 H d p ˜ θ + η 1 J d 1 J θ ˜ ˙ d t J m η 2 η 3 η 2 H d p ˜ θ + η 1 J d 1 J θ ˜ ˙
The Lyapunov function of the subsystem is defined as Hamiltonian function
V P C H = H z z > 0
V ˙ P C H = H ˙ z z = d H z z d t = H z z z T R ( z ) H z z z 0
According to LaSalle’s invariance principle, if the largest invariant set of the closed-loop system is included in the set
z ˙ R n | H z z z T R ( z ) H z z z = 0
then subsystem is asymptotically stable at the point of z = 0 .

3.3. Design of Current Controller

The research found that the design and parameter selection of the current loop controller also affects the control accuracy of the system. According to the literature [26,27], in order to obtain a better tracking effect of the current loop, the electrical subsystem of the system (1) is expressed as the PCH form
x ˙ = [ J e ( x ) R e ( x ) ] H e ( x ) x + g ( x ) u y = g T ( x ) H e ( x ) x
H e = 1 2 ( L i d 2 + 1 2 L i q 2 )
The IDA-PBC and energy shaping control technique are used to find the feedback control to form a closed-loop system as [19]
x ˙ = J e d ( x ) R e d ( x ) H e d ( x ) x
H e d = 1 2 ( L i ˜ d 2 + 1 2 L i ˜ q 2 )
where J e d ( x ) is desired interconnection matrix, R e d ( x ) is desired damping matrix, and
J e d = J e d T = J e + J e a R e d = R e d T = R e + R e a 0
J e a ( x ) = 0 μ μ 0 , R e a ( x ) = μ 1 0 0 μ 2
where μ is the desired interconnection parameter; μ 1 , μ 2 are the desired damping parameter.
From Equations (24)–(26) the Hamiltonian current controller can be derived as
u d = R s i d * + n p ω L q i q * + μ 1 ( i d * i d ) μ ( i q * i q ) u q = R s i q * + n p ω L d i d * + n p ω Φ + μ 2 ( i q * i q ) + μ ( i d * i d )
According to [26,27], the electrical subsystem is globally asymptotically stable.

3.4. Hybrid Control Strategy

As indicated above, both different position control methods have advantages and characteristics. IHSMC controller has fast response speed and good dynamic performance, but the problem is that it is difficult to eliminate chattering. The PID-IDA-PBC controller has high accuracy and strong disturbance effects, but it is difficult to take into account both dynamic and steady performance. In this section, we propose a smooth switching strategy based on velocity error to complement the advantages of the two control strategies. In order to avoid the instability of the system in the switching point neighborhood, a Gaussian function is introduced as a smooth switching factor. Compared with the problem that the switching point is difficult to be determined in previous studies [13,14,28], the rate of change of velocity can be used as the switching index to solve this problem. Then the smooth switching function
f ( α ) = e ( α l ) 2 2 c 2
where α = e ˙ = q ˙ q ˙ d is rate of position error, c is a constant, l is upper limit of speed error switching.
Then hybrid control strategy can be expressed as
i q i * = i q s m i * i q i * = 1 f ( α i ) i q s m i * + f ( α i ) i q p b c i * i q i * = i q p b c i * h i α i l i α i h i α i l i
where h is upper limit of speed error switching, i = 1 , , n .
The use of the position error change ratio as a basis for smooth switching is considered to be that the faster the error convergence speed for a stable system, the higher its response rate. For the trajectory tracking system, a higher the position error change ratio means a faster the response rate and when the system enters the steady-state, we expect the position error to change slowly and gradually approach zero. Hence, the switching interval is selected and the size of the switching function parameter is adjusted according to the rate of change of the position error. In the steady state, due to the high-frequency small chattering caused by the disturbance, the hybrid control process is newly entered until the chattering is eliminated. Hence, when h i α i , the IHSMC control strategy is adopted to improve the dynamic performance of the system; when α i l i , the PID-IDA-PBC control strategy is used to improve the control accuracy and anti-interference ability of the system; when l i < α i < h i , the smoothing switch is realized by smoothing function.

4. Simulation and Comparative Analysis

In this section, we will verify the control algorithm proposed in Section 3 by simulation. In order to facilitate the simulation, we consider 2DOF flexible manipulator as the controlled object. Firstly, the IHSMC algorithm proposed in this paper is simulated and compared with the traditional HSMC algorithm. The superiority of the control strategy is verified. Then, a PID-IDA-PBC proposed in this paper is simulated and implemented with the IDA-PBC algorithm. In comparison, it is verified that the PID-IDA-PBC algorithm has better steady state performance and disturbance–resistance ability. In the end, we proceed simulations using hybrid control. We use the parameter values of robot manipulator reported in [29]. In this simulation we assume that each joint of the flexible-joint robot is driven by PMSM. The parameters of PMSM are given as R s = 0 . 901 Ω , L q = L d = 0 . 0065 H , n p = 4 , Φ = 0 . 031 Wb , J = 0 . 00012 Kg · m 2 , r = 0 . 01 . The initial state is set as q 1 ( 0 ) = q 2 ( 0 ) = θ 1 ( 0 ) = θ 2 ( 0 ) = 0 , we require the expected position vector to be q d = sin t , sin t T , θ d = K 1 g ( q ) + q d . Lastly, we agree that the counterclockwise direction is the positive direction of the rotation of robot.
For the IHSMC algorithm, the selected controller parameters are a 1 = d i a g { 1 , 1 } , a 2 = d i a g { 20 , 20 } , a 3 = d i a g { 15 , 14 } , b 1 = d i a g { 0 . 5 , 0 . 1 } , b 2 = d i a g { 0 . 5 , 0 . 1 } , b 3 = d i a g { 30 , 30 } , r 1 = d i a g { 20 , 10 } , r 2 = d i a g { 1 , 0 . 8 } , k 1 = 2 , k 2 = 0 . 8 , k 3 = 2 , k 4 = d i a g { 0 . 00005 , 0 . 00005 } , p 1 = p 2 = 9 , p 2 = p 4 = 5 , q 1 = q 3 = 7 , q 2 = q 4 = 3 . The parameter selection of the joint 1 current controller are μ = 2 , μ 1 = μ 2 = 40 . The original HSMC control law can be expressed as [24]
τ s m = α J m β M 1 ( q ) K ( θ q ) + D ( θ ˙ q ˙ ) C ( q , q ˙ ) q G ( q ) q ¨ d + a 1 q ˙ e + J m β r 1 s k 1 sgn ( s ) r 2 s k 2 sgn ( s ) 2 s + k 4 ( s q T s ˙ q ) k 5 s + K ( θ q ) + D ( θ ˙ q ˙ ) + J m ( θ ¨ d a 2 θ ˙ e )
where k 5 = d i a g { 10 , 10 } . According to the results shown in Figure 2, joint 1 and joint 2 enter a steady state after a dynamic process of about 0.4 s, but there is still a small chattering in the system at steady state. Compared with the original HSMC algorithm, the IHSMC algorithm has a faster response speed and chattering is effectively suppressed. Figure 3 shows the simulation curves of u d , u q under IHSMC and HSMC method.
The simulation experiment of the PID-IDA-PBC algorithm is divided into two parts. Firstly, the performance difference between the algorithm and the traditional IDA-PBC algorithm is compared without disturbance. Then, a constant value disturbance signal of 2 N·m is added at the System dynamic Equation (2) at 4 s to verify the disturbance–resistance performance of the algorithm. Parameters of PID-PBC-PCH controller: k d = d i a g { 1200 , 100 } , λ 1 = d i a g { 1 , 1 } , λ 2 = d i a g { 100 , 100 } , η 1 = d i a g { 0 . 95 , 0 . 93 } , η 2 = d i a g { 1 , 1 } , η = d i a g { 1 . 08 , 1 . 02 } . According to Figure 4, it can be concluded that the PID-IDA-PBC has improved dynamic performance and steady-state performance compared to the conventional IDA-PBC control. The PID-IDA-PBC control algorithm can improve the steady-state performance by adjusting v. Figure 5 shows the simulation curves of u d , u q under IDA-PBC and PID-IDA-PBC method. At the same time, it will reduce the dynamic performance. In order to validate the robustness of the PID-IDA-PBC algorithm, constant-size perturbations of different sizes are added to the drive motors of joint 1 and joint 2 at 4 s. The result is shown in Figure 6. The PID-IDA-PBC algorithm has excellent disturbance–resistance performance.
According to the above, it can be concluded that a single control algorithm finds it difficult to balance both dynamic performance and steady state performance. Therefore, this paper proposes a hybrid control strategy that attempts to combine the advantages of the two control algorithms. The simulation experiment of the hybrid control strategy was divided into three parts. First, we compared the control effects of hybrid control and single control algorithms. Then, a disturbance was added at 4 s to verify the immunity of the hybrid control. Finally, a simulation experiment was designed to analyze the effect of switching parameters on the effects of hybrid control. The hybrid controller parameter selection is c 1 = 0 . 08 , c 2 = 0 . 008 , l 1 = 0 . 03 , l 2 = 0 . 003 , h 1 = 0 . 7 , h 2 = 0 . 2 .
According to the simulation results in Figure 7, it can be concluded that the hybrid control strategy combines the advantages of the two control algorithms well, and has good dynamic performance and high tracking accuracy. Figure 8 shows the simulation curves of u d , u q under Hybrid control method. The smoothing function curve in Figure 9 reflects the proportion of PID-IDA-PBC control during the switching process. Figure 10 is the trajectory curves when there is a disturbance imposed at the time of t = 4 s . The result shows that even if the system generates small high-frequency chattering due to disturbance, it can eventually eliminate chattering. The simulation results in Figure 11 show that the control effect of the hybrid control strategy is related to the switching parameter c. The curve with smooth switching function under different parameters is shown in Figure 12. According to the results in Figure 11 and Figure 12, it can be concluded that the effect of the hybrid control is affected by the parameter c and the switching interval [ l , h ] . The larger the c value, the earlier the position error change ratio is affected by the PID-IDA-PBC algorithm. According to the value of c, the appropriate switching interval is selected to achieve smooth switching, and the abrupt change of the switching is avoided.

5. Conclusions

This paper proposes a hybrid control strategy based on velocity error for the position tracking control of flexible-joint robots driven by PMSM. The IHSMC algorithm is used to improve the dynamic performance of the system. On the other hand, the PID-IDA-PBC is used to improve the steady-state performance of the system in order to boost its anti-interference ability. In consideration of the influence of the servo driver on the control effect, the IDA-PBC control algorithm is used to control the electrical subsystem controls. Gaussian function is used as the smooth switching function of the hybrid control algorithm. Simulation results illustrate that hybrid control strategy can fully combine the advantages of the two control algorithms, which in turn result in a system with both good dynamic performance and control precision. In brief, the control algorithm has threefold advantages, which are simple structure and application value. In the future research, intelligent algorithms will be used to optimize the switching process to find the optimal switching time (internal) and switching parameters. On the other hand, we will consider how to suppress the sliding mode chattering and reduce the impact of chattering on the system.

Author Contributions

Y.W. designed the control strategy, completed the simulation experiment, analyzed the simulation data, and wrote the manuscript. H.Y. and X.L. conceived the structure of the paper, proposed amendments and provided funding support. J.Y. and H.W. proposed amendments and analyzed the simulation data.

Funding

This research was funded by the National Natural Science Foundation of China under Grant 61573203.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Saab, S.S.; Ghanem, P. A Multivariable Stochastic Tracking Controller for Robot Manipulators without Joint Velocities. IEEE Trans. Autom. Control 2018, 63, 2481–2494. [Google Scholar] [CrossRef]
  2. Rubio, J.D.J. Robust feedback linearization for nonlinear processes control. ISA Trans. 2018, 74, 155–164. [Google Scholar] [CrossRef] [PubMed]
  3. Rubio, J.D.J.; Pieper, J.; Campana, J.A.M. Modeling and regulation of two mechanical systems. IET Sci. Meas. Technol. 2018, 12, 657–665. [Google Scholar] [CrossRef]
  4. Sun, Y.G.; Qiang, H.Y.; Mei, X.; Teng, Y.Y. Modified repetitive learning control with unidirectional control input for uncertain nonlinear systems, Neural Computing and Applications. Nevral Comput. Appl. 2018, 30, 2003–2012. [Google Scholar] [CrossRef]
  5. Rubio, J.D.J. Structure control for the disturbance rejection in two electromechanical processes. J. Frankl. Inst. 2016, 353, 3610–3631. [Google Scholar] [CrossRef]
  6. Xu, S.S.D.; Huang, H.C.; Chiu, T.C.; Lin, S.K. Biologically-Inspired Learning and Adaptation of Self-Evolving Control for Networked Mobile Robots. Appl. Sci. 2019, 9, 1034. [Google Scholar] [Green Version]
  7. Qin, H.J.; Li, Y.W.; Xiong, X.C. Workpiece Pose Optimization for Millingwith Flexible-Joint Robots to Improve Quasi-Static Performance. Appl. Sci. 2019, 9, 1044. [Google Scholar] [CrossRef]
  8. Galvána, J.V.; Guzmán, V.M.H.; Sakanassi, J.O. PID position regulation in one-degree-of-freedom Euler–Lagrange systems actuated by a PMSM. Int. J. Control 2012, 91, 285–296. [Google Scholar]
  9. Fateh, M.M.; Khorashadizadeh, S. Robust control of electrically driven robots by adaptive fuzzy estimation of uncertainty. Nonlinear Dyn. 2012, 69, 1465–1477. [Google Scholar] [CrossRef]
  10. Chang, Y.C.; Yen, H.M. Robust tracking control for a class of electrically driven flexible-joint robots without velocity measurements. Int. J. Control 2012, 85, 194–212. [Google Scholar] [CrossRef]
  11. Khorashadizadeh, S.; Sadeghijaleh, M. Adaptive fuzzy tracking control of robot manipulators actuated by permanent magnet synchronous motors. Comput. Electr. Eng. 2018, 72, 100–111. [Google Scholar] [CrossRef]
  12. Guzmán, V.M.H.; Sakanassi, J.O. Global PID control of robot manipulators equipped with PMSMS. Asian J. Control 2018, 20, 236–249. [Google Scholar]
  13. Chi, J.R.; Yu, H.S.; Yu, J.P. Hybrid Tracking Control of 2-DOF SCARA Robot via Port-Controlled Hamiltonian and Backstepping. IEEE Access 2018, 6, 17354–17360. [Google Scholar] [CrossRef]
  14. Sun, W.W.; Wu, Y.; Wang, L.P. Trajectory tracking of constrained robotic systems via a hybrid control strategy. Neurocomputing 2019, 330, 188–195. [Google Scholar] [CrossRef]
  15. Yang, L.; Yang, J.Y. Nonsingular fast terminal sliding-mode control for nonlinear dynamical systems. Int. J. Robust Nonlinear Control 2010, 21, 1865–1879. [Google Scholar] [CrossRef]
  16. Pham, D.B.; Lee, S.G. Aggregated Hierarchical Sliding Mode Control for a Spatial Ridable Ballbot. Int. J. Precis. Eng. Manuf. 2018, 9, 1291–1302. [Google Scholar] [CrossRef]
  17. Ott, C.; Schá</i>¨ffer, A.A.; Kugi, A.; Hirzinger, G. On the Passivity-Based Impedance Control of Flexible Joint Robots. IEEE Tran. Robot. 2008, 24, 416–429. [Google Scholar] [CrossRef]
  18. Schá</i>¨ffer, A.A.; Ott, C.; Hirzinger, G. A Unified Passivity based Control Framework for Position, Torque and Impedance Control of Flexible Joint Robots. Int. J. Robot. Res. 2007, 26, 23–39. [Google Scholar]
  19. Ortega, R.; Schaft, A.V.D.; Maschke, B.; Escobar, G. Interconnection and damping assignment passivity-based control of port-controlled Hamiltonian systems. Automatica 2002, 38, 585–596. [Google Scholar] [CrossRef] [Green Version]
  20. Yu, H.S.; Yu, J.P.; Liu, J. Nonlinear control of induction motors based on state error PCH and energy-shaping principle. Nonlinear Dyn. 2013, 72, 49–59. [Google Scholar] [CrossRef]
  21. Donaire, A.; Junco, S. On the addition of integral action to port-controlled Hamiltonian systems. Automatica 2009, 45, 1910–1916. [Google Scholar] [CrossRef]
  22. Donaire, A.; Romero, G.J.; Ortega, R.; Sicilianol, B.; Crespo, M. Robust IDA-PBC for underactuated mechanical systems subject to matched disturbances. Int. J. Robust Nonlinear Control 2017, 27, 1000–1016. [Google Scholar] [CrossRef]
  23. Spong, M.W. Modeling and Control of Elastic Joint Robots. Math. Comput. Model. 1987, 109, 310–319. [Google Scholar] [CrossRef]
  24. Yao, W.; Zhang, D.D.; Guo, Y.; Wu, Y.F.; Guo, J. Improved hierarchical sliding mode control for flexible-joint manipulator. J. Southeast Univ. 2018, 48, 201–206. [Google Scholar]
  25. Zhang, H.X.; Fan, J.S.; Meng, F. A new double power reaching law for sliding mode control. Control Decis. 2013, 28, 289–293. [Google Scholar]
  26. Liu, X.D.; Yu, H.S.; Yu, J.P.; Zhao, Y. A Novel Speed Control Method Based on Port-Controlled Hamiltonian and Disturbance Observer for PMSM Drives. IEEE Access 2019, 7, 111115–111123. [Google Scholar] [CrossRef]
  27. Liu, X.D.; Yu, H.S.; Yu, J.P.; Zhao, L. Combined Speed and Current Terminal Sliding Mode Control with Nonlinear Disturbance Observer for PMSM Drive. IEEE Access 2018, 6, 29594–29600. [Google Scholar] [CrossRef]
  28. Jin, N.Z.; Wang, X.D. Current Sliding Mode Control with Gain-Scheduled Parameters for Permanent Magnet Synchronous Machines. Int. J. Inf. Electron. Eng. 2014, 4, 450–455. [Google Scholar] [CrossRef]
  29. Mohamed, Z.; Khairudin, M.; Husain, A.R.; Subudhi, B. Linear matrix inequality-based robust proportional derivative control of a two-link flexible manipulator. J. Vib. Control 2016, 22, 1244–1256. [Google Scholar] [CrossRef]
Figure 1. The figure of the hybrid control system.
Figure 1. The figure of the hybrid control system.
Applsci 09 04382 g001
Figure 2. Improved hierarchical sliding mode control (IHSMC) and HSMC position tracking comparison curve.
Figure 2. Improved hierarchical sliding mode control (IHSMC) and HSMC position tracking comparison curve.
Applsci 09 04382 g002
Figure 3. Control voltage of each joint motor.
Figure 3. Control voltage of each joint motor.
Applsci 09 04382 g003
Figure 4. Interconnection and damping assignment passivity-based controller (IDA-PBC) and proportion–integral–derivate (PID)-IDA-PBC position tracking comparison curve.
Figure 4. Interconnection and damping assignment passivity-based controller (IDA-PBC) and proportion–integral–derivate (PID)-IDA-PBC position tracking comparison curve.
Applsci 09 04382 g004
Figure 5. Control voltage of each joint motor.
Figure 5. Control voltage of each joint motor.
Applsci 09 04382 g005
Figure 6. Curves with effect of interference of each joint.
Figure 6. Curves with effect of interference of each joint.
Applsci 09 04382 g006
Figure 7. Curves with different control algorithm of each joint.
Figure 7. Curves with different control algorithm of each joint.
Applsci 09 04382 g007
Figure 8. Curve with control voltage of each joint motor.
Figure 8. Curve with control voltage of each joint motor.
Applsci 09 04382 g008
Figure 9. Curve with smoothing function.
Figure 9. Curve with smoothing function.
Applsci 09 04382 g009
Figure 10. Curve with hybrid control tracking error under the influence of disturbance.
Figure 10. Curve with hybrid control tracking error under the influence of disturbance.
Applsci 09 04382 g010
Figure 11. Curve with tracking error of hybrid control under the different parameters.
Figure 11. Curve with tracking error of hybrid control under the different parameters.
Applsci 09 04382 g011
Figure 12. Curve with smoothing function under the different parameters.
Figure 12. Curve with smoothing function under the different parameters.
Applsci 09 04382 g012

Share and Cite

MDPI and ACS Style

Wang, Y.; Yu, H.; Yu, J.; Wu, H.; Liu, X. Trajectory Tracking of Flexible-Joint Robots Actuated by PMSM via a Novel Smooth Switching Control Strategy. Appl. Sci. 2019, 9, 4382. https://doi.org/10.3390/app9204382

AMA Style

Wang Y, Yu H, Yu J, Wu H, Liu X. Trajectory Tracking of Flexible-Joint Robots Actuated by PMSM via a Novel Smooth Switching Control Strategy. Applied Sciences. 2019; 9(20):4382. https://doi.org/10.3390/app9204382

Chicago/Turabian Style

Wang, Yue, Haisheng Yu, Jinpeng Yu, Herong Wu, and Xudong Liu. 2019. "Trajectory Tracking of Flexible-Joint Robots Actuated by PMSM via a Novel Smooth Switching Control Strategy" Applied Sciences 9, no. 20: 4382. https://doi.org/10.3390/app9204382

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop