SlideShare a Scribd company logo
Bulletin of Electrical Engineering and Informatics
Vol. 10, No. 2, April 2021, pp. 569~579
ISSN: 2302-9285, DOI: 10.11591/eei.v10i2.2370  569
Journal homepage: http://beei.org
Hardware-in-the-loop based comparative analysis of speed
controllers for a two-mass system using an induction motor
drive with ideal stator current performance
Vo Thanh Ha1
, Tung Lam Nguyen2
, Vo Thu Ha3
1
Faculty of Electrical and Electrical Engineering, University of Transport and Communications, Vietnam
2
School of Electrical Engineering, Hanoi University of Science and Technology, Vietnam
3
Faculty of Electrical Engineering, University of Economics-Technology for Industries, Vietnam
Article Info ABSTRACT
Article history:
Received Sep 5, 2020
Revised Dec 12, 2020
Accepted Jan 5, 2021
A comparative study of speed control performance of an induction motor
drive system connecting to a load via a non-rigid shaft. The nonrigidity of the
coupling is represented by stiffness and damping coefficients deteriorating
speed regulating operations of the system and can be regarded as a two-mass
system. In the paper, the ability of flatness based and backstepping controls
in control the two-mass system is verified through comprehensive hardware-
in-the-loop experiments and with the assumption of ideal stator current loop
performance. Step-by-step control design procedures are given, in addition,
system responses with classical PID control are also provided for parallel
comparisons.
Keywords:
Backstepping
Field oriented control
Flatness-based control
Hardware-in-the-loop
Speed control This is an open access article under the CC BY-SA license.
Corresponding Author:
Tung Lam Nguyen
School of Electrical Engineering
Hanoi University of Science and Technology
1 Đại Cồ Việt, Bách Khoa, Hai Bà Trưng, Hà Nội, Vietnam
Email: lam.nguyentung@hust.edu.vn
1. INTRODUCTION
Asynchronous electrical drive system is found in enormous applications and is considered as well-
established thank to the advancement in current loop control [1]. However, facing mechanical loads, speed
control loop design takes a decisive role, especially when the non-rigidity and backlash of the motor-to-load
connection is taken into account [2-5]. Flexible coupling phenomenon is studied in [6], the authors develop
an elegant control scheme integrated with a state observer for estimating motor and load torques. Brock et al.
[7] propose a filter accompanied with a neural adaptive controller to eliminate high resonance frequencies.
The controlled system is analysed through extensive experiments proving the effectiveness of the proposed
solution. For a class of multi-mass electrical drive systems where measurement is not always available, a
system parameter identification method is presented in [8]. The authors employ pseudo random binary signal
and chirp wave to excite necessary information. The approach might be difficult to apply in a wide range of
practical systems. A 2DOF PI control is systematically designed in [9] for a two-mass drive coupled via a
toothed belt. The tracking results are compared with 1DOF and 1DOF with feedforward controls confirm that
the method exhibits robustness and load torque rejection. Due to flat property of the system, Thomsen et al.
[10] formulate a flatness based control for a finite stiffness coupling drive system fed by an inverter with
speed feedback signal. Backstepping control is developed for a multi-motor system which is vastly found in
 ISSN: 2302-9285
Bulletin of Electr Eng & Inf, Vol. 10, No. 2, April 2021: 569 – 579
570
rewinding systems in [11] suppressing flexible coupling phenomenon in linear speed and tension control
system. In order to deal with nonlinear stiffness, the authors in [12] implement adaptive backstepping to
reduce connecting shaft oscillations. However, system stiffness characteristic must be known to carry out the
control, this requirement might be very challenging in practice. Recently, a active disturbance rejection
control (ADRC) is considered as an alternative to classical PID control, an application of ADRC to two-mass
system can be found in [13]. A fuzzy based control for a three-mass system is presented in [14, 15], where
fuzzy term is selected to modify IPD control. Other control approaches can be found in [16-22].
In general, there is a lack of comprehensive study on how popular control methods react when
applying to two-mass drive system operating in nominal range. In the paper, we carry out a hardware-in-the-
loop based comparative analysis of speed responses using backstepping and flatness-based controls in
nominal and field-weakening modes. Initially, we present the two-mass drive system in a view of ideal
current loop. Subsequently, PID, backstepping, and flatness control design steps are given in details. Finally,
hardware-in-the-loop results of three controls are compared and some important conclusions are drawn.
2. TWO-MASS MODEL SYSTEM WITH IDEAL CURRENT LOOP RESPONSE
Typical configuration of a two-mass system is shown in Figure 1.
Figure 1. Typical configuration of a two-mass system
When operating in field weakening region, the model of the system can be given as [2].
𝑑𝑖𝑠𝑑
𝑑𝑡
= − (
1
𝜎𝑇𝑠
+
1 − 𝜎
𝜎𝑇𝑟
) 𝑖𝑠𝑑 + 𝜔𝑠𝑖𝑠𝑞 +
1 − 𝜎
𝜎𝑇𝑟
+
1
𝜎𝐿𝑠
𝑢𝑠𝑑
𝑑𝑖𝑠𝑞
𝑑𝑡
= −𝜔𝑠𝑖𝑠𝑑 − (
1
𝜎𝑇𝑠
+
1 − 𝜎
𝜎𝑇𝑟
) 𝑖𝑠𝑞 −
1 − 𝜎
𝜎
𝜔𝑖𝑚 +
1
𝜎𝐿𝑠
𝑢𝑠𝑞
𝑑𝜓𝑟𝑑
𝑑𝑡
= −
1
𝑇𝑟
𝜓𝑟𝑑 +
𝐿𝑚
𝑇𝑟
𝑖𝑠𝑑
𝑑𝜓𝑟𝑞
𝑑𝑡
=
𝐿𝑚
𝑇𝑟
𝑖𝑠𝑞 − (𝜔𝑠 − 𝜔)𝜓𝑟𝑑𝑖𝑠𝑑 −
1
𝑇𝑟
𝜓𝑟𝑞
𝜓𝑟𝑞
𝐿𝑚
𝜑̈1 = −
𝑑
𝐽1
𝜑̇1 −
𝑐
𝐽1
𝛥𝜑 +
𝑑
𝐽1
𝜑̇2 +
1
𝐽1
𝑚𝑀
𝛥𝜑̇ = 𝜑̇1 − 𝜑̇2
𝜑̈2 =
𝑑
𝐽2
𝑑/𝐽2𝜑̇1 +
𝑐
𝐽2
𝛥𝜑 −
𝑑
𝐽2
𝜑̇2 −
1
𝐽2
𝑚𝐿
(1)
In which, 𝑖𝑠𝑑; 𝑖𝑠𝑞 are𝑑𝑞 components of the stator current; 𝜔, 𝜔𝑠 rotor and synchronous speeds,
respectively; 𝜓𝑟𝑑
,
, 𝜓𝑟𝑞
,
are rotor flux dq components;𝜎 is total leakage factor; 𝑇𝑟is rotor time constant:𝑢𝑠𝑑,
𝑢𝑠𝑞are stator voltage 𝑑𝑞 components; 𝐿𝑠is stator inductance, 𝜑̇1, 𝜑̇2are motor and load speeds; 𝜑̈1, 𝜑̈2are
motor and load angle accelerations; 𝜑is rotor angle; 𝑑is the coupling shaft damping coefficient; 𝑐is shaft
Bulletin of Electr Eng & Inf ISSN: 2302-9285 
Hardware-in-the-loop based comparative analysis of speed controllers… (Vo Thanh Ha)
571
stiffness. It can be seen that the system of dynamical (1) is of 7th
order. With the assumption of t perfectly
designed current controller, the system model can be reduced as:
𝑑𝑖𝑚
𝑑𝑡
=
1
𝑇𝑟
𝑖𝑠𝑑 −
1
𝑇𝑟
𝑖𝑚
𝜑̈1 = −
𝑑
𝐽1
𝜑̇1 −
𝑐
𝐽1
𝛥𝜑 +
𝑑
𝐽1
𝜑̇2 +
1
𝐽1
𝑚𝑀
𝛥𝜑̇ = 𝜑̇1 − 𝜑̇2
𝜑̈2 =
𝑑
𝐽2
𝜑̇1 +
𝑐
𝐽2
𝛥𝜑 −
𝑑
𝐽2
𝜑̇2 −
1
𝐽2
𝑚𝐿
(2)
where: 𝑖𝑚 =
𝜓𝑟𝑑
𝐿𝑚
. The state (2) is of 4nd
order, stator current isd is used to control the motor flux and isq is
dedicated to speed control. For control design purpose (2) is rewritten in the following state-space form:
[
𝑖̇𝑚
𝜑̈1
𝛥𝜑̇
𝜑̈2
] =
[
−1
𝑇𝑟
0 0 0
0
−𝑑
𝐽1
−𝑐
𝐽1
𝑑
𝐽1
0 1 0 −1
0
𝑑
𝐽2
𝑐
𝐽2
−𝑑
𝐽2 ]
[
𝑖𝑚
𝜑̇1
𝛥𝜑
𝜑̇2
] +
[
1
𝑇𝑟
0
0
𝑘𝜔𝑖𝑚
𝐽1
0 0
0 0 ]
[
𝑖𝑠𝑑
𝑖𝑠𝑞
] +
[
0
0
0
−1
𝐽2 ]
𝑚𝐿 (3)
where we have defined,
𝑦𝑇
= [𝑖𝑚, 𝜑̇2]; [
𝑖𝑚
𝜑̇2
] = [
1 0 0 0
0 0 0 1
] [
𝑖𝑚
𝜑̇1
𝛥𝜑
𝜑̇2
] (4)
3. SPEED CONTROL DESIGN
3.1. PI control
PI controller is designed according to the symmetric optimal standard, so we have the PI control
structure shown as Figure 2. The design of PI for the system is well-established, readers can refer to [23, 24]
for more details.
Figure 2. Block diagram of PI control algorithm of a two-mass system
3.2. Backstepping control
For designing step, it is assumed that all feedback signals from the motor, the shaft and the load
sides are available. As in Figure 2, the backstepping control is divided into two steps. In each step, a
subsystem will be studied and controlled. Selecting a proper Lyapunov candidate function for each design
step can guarantees the asymptotic stability of the corresponding subsystem. After completing all two steps,
the asymptotic stability of the whole system can be achieved [25]. The speed control equation is given:
 ISSN: 2302-9285
Bulletin of Electr Eng & Inf, Vol. 10, No. 2, April 2021: 569 – 579
572
𝑑𝜑
̇ 2
𝑑𝑡
= −
𝑑
𝐽2
𝜑̇2 +
𝑐
𝐽2
𝛥𝜑 +
𝑑
𝐽2
𝜑̇1 −
1
𝐽2
𝑚𝐿
𝑑𝜑
̇ 1
𝑑𝑡
= −
𝑑
𝐽1
𝜑̇1 −
𝑐
𝐽1
𝛥𝜑 +
𝑑
𝐽1
𝜑̇2 −
𝑘𝜔.𝜓𝑟𝑑
′
𝐽1
𝑖𝑠𝑞
(5)
where 𝑚𝑀 = 𝑘𝜔(𝜓𝑟𝑑/𝐿𝑚)𝑖𝑠𝑞; 𝑘𝜔 = (3/2)𝑧𝑝(𝐿𝑚/𝐿𝑟) is motor torque. For ease of deploying
control design, we define:
𝑥1 = 𝜑̇2
𝑥2 = 𝜑̇1
𝑢 = 𝑖𝑠𝑞
𝑦 = 𝑥1 = 𝜑̇2
(6)
where 𝑥1 and 𝑥2are state variables; u is the control input and y is the output (the load rotating speed). Since
then the system is expressed in the strict feedback form as (7):
𝑥̇1 = (
𝑑𝜑̇2
𝑑𝑡
) = 𝑓1(𝑥1, 𝑥2)
𝑥̇2 = (
𝑑𝜑
̇ 1
𝑑𝑡
) = 𝑓2(𝑥1, 𝑥2, 𝑢) (7)
𝑦 = 𝑥1 = 𝜑̇2
In order to implement backstepping control we define:
𝑧1 = 𝑥1 − 𝑥1𝑑 = 𝜑̇2 − 𝜑̇2𝑑
𝑧2 = 𝑥2 − 𝑥2𝑑𝑘𝑎 = 𝜑̇1 − 𝜑̇1𝑑𝑘𝑎 (8)
where 𝑥1𝑑 = 𝜑̇2𝑑is the set value of the output variable and 𝑥2𝑑𝑘𝑎 = 𝜑̇1𝑑𝑘𝑎is the virtual control. Selecting the
Lyapunov candidate function as (9):
𝑉1 =
1
2
𝑧1
2
(9)
Taking derivative of (9) results in:
𝑉̇1 = 𝑧1𝑧̇1 (10)
Because of 𝜑̈1𝑑 = 0 so that (8) rendered as 𝑧̇1 = 𝜑̈2, substitution 𝑧̇1from (5) into (10) yields:
𝑉̇1 = 𝑧1 [−𝑘1𝑧1 +
𝑑
𝐽2
𝜑̇1 + (𝑘1𝑧1 +
𝑐
𝐽2
𝛥𝜑 −
1
𝐽2
𝑚𝐿 −
𝑑
𝐽2
𝜑̇2)] (11)
Considering𝜑̇1 as the virtual control variable in such a way that 𝜑̇1 = 𝜑̇1𝑑𝑘𝑎so that:
𝑑
𝐽2
𝜑̇1𝑑𝑘𝑎 = −(𝑘1𝑧1 +
𝑐
𝐽2
𝛥𝜑 −
1
𝐽2
𝑚𝐿 −
𝑑
𝐽2
𝜑̇2) (12)
If 𝑉̇1 = −𝑘1𝑧1
2
< 0, with ∀𝑘1 > 0 then the stable condition is satisfied. Defining:
𝐵𝑓 =
𝑐
𝐽2
𝛥𝜑 −
1
𝐽2
𝑚𝐿 −
𝑑
𝐽2
𝜑̇2 (13)
Substitution of (13) into (12) results in:
𝜑̇1𝑑𝑘𝑎 = −
𝐽2
𝑑
[𝑘1𝑧1 + 𝐵𝑓] (14)
The control specified in (14) ensures that the load speed tracks the desired value. Next, the control for the
motor side is designed. It is noted that𝑥1𝑑 = 𝜑̇2𝑑is constant, so that from (5), (8), and (13) can be shortened as:
𝑧̇1 =
𝑑𝜑
̇ 2
𝑑𝑡
= 𝜑̈2 =
𝑑
𝐽2
𝜑̇1 + 𝐵𝑓 (15)
Bulletin of Electr Eng & Inf ISSN: 2302-9285 
Hardware-in-the-loop based comparative analysis of speed controllers… (Vo Thanh Ha)
573
Select the Lyapunov candidate function as (16):
𝑉2 = 𝑉1 +
1
2
𝑧2
2
(16)
Taking derivative of (16) gives:
𝑉̇2 = 𝑉̇1 + 𝑧2𝑧̇2 (17)
From (11) and (12), we can write as:
𝑉̇2 = −𝑘1𝑧̇1
2
+
𝑑
𝐽2
𝑧1(𝜑̇1 − 𝜑̇1𝑑𝑘𝑎) + 𝑧2𝑧̇2 (18)
After some basic operations, it can be shown that:
𝑉̇2 = −𝑘1𝑧̇1
2
− 𝑘2𝑧2
2
+ 𝑘2𝑧2
2
+
𝑑
𝐽2
𝑧1(𝜑̇1 − 𝜑̇1𝑑𝑘𝑎) + 𝑧2𝑧̇2 (19)
where we have defined 𝜑̇1 − 𝜑̇1𝑑𝑘𝑎 = 𝑧2, so that:
𝑉̇2 = −𝑘1𝑧1
2
− 𝑘2𝑧2
2
+ 𝑧2(𝑘2𝑧2 +
𝑑
𝐽2
𝑧1 + 𝑧̇2) (20)
At this point in order to render𝑉̇2 < 0, the following conditions must be fullfied:
𝑘2 > 0 and 𝑘2𝑧2 +
𝑑
𝐽2
𝑧1 + 𝑧̇2 = 0 (21)
Conditions specified in (21) imply that:
𝜑̈1 − 𝜑̈1𝑑𝑘𝑎 = −𝑘2(𝜑̇1 − 𝜑̇1𝑑𝑘𝑎) −
𝑑
𝐽2
𝑧1 (22)
From (14), it indicates that:
𝜑̈1𝑑𝑘𝑎 = −
𝐽2
𝑑
(𝑘1𝑧̇1 + 𝐵̇𝑓) and 𝜑̇ − 𝜑̇1𝑑𝑘𝑎 = 𝜑̇1 +
𝐽2
𝑑
(𝑘1𝑧1 + 𝐵𝑓) (23)
Substituting (15) and (22) into (23) gives:
𝜑̈1 = −(𝑘1 + 𝑘2)𝜑̇1 − (
𝐽2
𝑑
𝑘1𝑘2 +
𝐽2
𝑑
)𝑧1 −
𝐽2
𝑑
(𝑘1 + 𝑘2)𝐵𝑓 −
𝐽2
𝑑
𝐵̇𝑓 (24)
To proceed to calculate the final expression of the control current, first of all, we substitution from the second
equation of the system (5) into (24) we have:
𝑘𝜔𝜓𝑟𝑑
′
𝐽1
. 𝑖𝑠𝑞 = [
𝑑
𝐽1
− (𝑘1 + 𝑘2)]𝜑̇1 −
𝑑
𝐽1
𝜑̇2 +
𝑐
𝐽1
𝛥𝜑 − (
𝐽2
𝑑
𝑘1𝑘2 +
𝑑
𝐽2
)𝑧1 −
𝐽2
𝑑
(𝑘1 + 𝑘2)𝐵𝑓 −
𝐽2
𝑑
𝐵̇𝑓
(25)
From the expression (25) and using fundamental calculation, we will get the final expression of isq is:
𝑖𝑠𝑞 =
𝐽1
𝑘𝜔𝜓𝑟𝑑
′ {
[
𝑑
𝐽1
+
𝑑
𝐽2
− (
𝑐
𝑑
+ 𝑘1 + 𝑘2)](𝜑̇1 − 𝜑̇2) + [
𝑐
𝐽1
+
𝑐
𝐽2
−
𝑐
𝑑
(𝑘1 + 𝑘2)]𝛥𝜑
−(
𝐽2
𝑑
𝑘1𝑘2 +
𝑑
𝐽2
)(𝜑̇2 − 𝜑̇2𝑑) +
𝑚𝑤
𝑑
(𝑘1 + 𝑘2 −
𝑑
𝐽2
)
} (26)
Based on (26), the proposed control structure for the two-mass system driven by the induction motor is
shown in Figure 3.
 ISSN: 2302-9285
Bulletin of Electr Eng & Inf, Vol. 10, No. 2, April 2021: 569 – 579
574
Figure 3. Block diagram of backstepping control algorithm of a two-mass system
3.3. Flatness-based control (FBC)
3.3.1. Feedforward control design
Feedforward control can be considered as the inverse mathematical model of the control object and
plays a decisive role in the FBC structure. From (5), the feedforward control can be derived as:
𝑖𝑠𝑑
𝑓𝑓
= 𝑖𝑚
∗
+ 𝑇𝑟
𝑑𝑖𝑚
∗
𝑑𝑡
𝑖𝑓𝑓
𝑠𝑞 =
𝐽1𝜑
̈ 1+𝐽2𝜑
̈ 2+𝑚𝐿
𝑘𝜔𝑖∗
𝑚
(27)
Based on equation 𝜑̈1 = −
𝐽2
𝐽1
𝜑̈2 +
1
𝐽1
(𝑚𝑀 − 𝑚𝐿) [26], it can be deduced that:
𝐽1𝜔̇1 + 𝐽2𝜔̇ 2 = 𝑚𝑀 − 𝑚𝐿 (28)
Assume that the load torque is not varying, then the load observer can be developed as:
𝑑𝑚
̂𝐿
𝑑𝑡
= −𝑙1(𝜔
̂2 − 𝜔2)
𝑑𝜔
̂2
𝑑𝑡
=
1
𝐽2
(𝑚𝑀 − 𝑚
̂𝐿 − 𝐽1𝜔̇
̂1) + 𝑙2(𝜔
̂2 − 𝜔2) (29)
where 𝑚𝑀 = 𝑘𝜔𝑖𝑚𝑖𝑠𝑞. then from (28) and (29), it is straightforward to show that:
𝑑(𝑚
̂𝐿 − 𝑚𝐿)
𝑑𝑡
= −𝑙1(𝜔
̂𝐿 − 𝜔𝐿)
𝑑(𝜔
̂𝐿−𝜔𝐿)
𝑑𝑡
= −
1
𝐽2
(𝑚
̂𝐿 − 𝑚𝐿 + 𝐽1𝜔̇
̂𝑀 − 𝐽1𝜔̇ 𝑀) + 𝑙2(𝜔
̂𝐿 − 𝜔𝐿) (30)
Defineing 𝜀𝑚 = 𝑚
̂𝐿 − 𝑚𝐿; 𝜀𝜔 = 𝜔
̂𝐿 − 𝜔𝐿 and substituting into.(30) give:
𝑑𝜀𝑚
𝑑𝑡
= −𝑙1𝜀𝜔
𝑑𝜀𝜔
𝑑𝑡
= −
1
𝐽2
𝜀𝑚 + 𝑙2𝜀𝜔 + 𝑓(𝜔̇
̂𝑀, 𝜔̇ 𝑀) (31)
The error model is:
Bulletin of Electr Eng & Inf ISSN: 2302-9285 
Hardware-in-the-loop based comparative analysis of speed controllers… (Vo Thanh Ha)
575
[
𝑑𝜀𝑚
𝑑𝑡
𝑑𝜀𝜔
𝑑𝑡
] = [
0 −𝑙1
−
1
𝐽2
𝑙2
] [
𝜀𝑚
𝜀𝜔
] + [
0
𝑓(𝜔̇
̂𝑀, 𝜔̇ 𝑀)
] (32)
The characteristic equation of (32) is:
𝑑𝑒𝑡[𝑠𝑰 − 𝑨] = 𝑠2
− 𝑙2𝑠 −
𝑙1
𝐽2
= 0 (33)
By selecting 𝑙1 and𝑙2 such that:
𝑙1 = −𝐽2𝑠1𝑠2;𝑙2 = 𝑠1 + 𝑠2 (34)
3.3.2. Design of the reference trajectories
The equation 𝒙 = 𝑃 (𝒚,
𝑑𝒚
𝑑𝑡
, … ,
𝑑𝑟𝒚
𝑑𝑡𝑟) ; 𝑟 ∈ 𝑁; 𝒖 = 𝑄 (𝒚,
𝑑𝒚
𝑑𝑡
, … ,
𝑑(𝑟+1)𝒚
𝑑𝑡(𝑟+1)) is also called the “inverse”
process model of the system corresponding to the output given in equation 𝒚 = [
𝑦1
⋮
𝑦𝑚
] = 𝐹 (𝒙, 𝒖,
𝑑𝒖
𝑑𝑡
, … ,
𝑑𝑙𝒖
𝑑𝑡𝑙
) ; 𝑙 ∈
𝑁Trajectories of flux reference:
𝑖𝑚
∗
+ 2𝑇1
𝑑𝑖𝑚
∗
𝑑𝑡
+ 𝑇1
2 𝑑2𝑖𝑚
∗
𝑑𝑡2 = 𝑖𝑚
𝑑
⇔
𝑑2𝑖𝑚
∗
𝑑𝑡2 =
1
𝑇1
2 (𝑖𝑚
𝑑
− 𝑖𝑚
∗
− 2𝑇1
𝑑𝑖𝑚
∗
𝑑𝑡
) (35)
‒ Speed reference trajectories
Trajectories of speed reference are given as:
𝜔∗(𝑡) = {
𝜔0 + 𝑎11𝑡 + 𝑎21𝑡2
+ 𝑎31𝑡3
+ 𝑎41𝑡4
0 ≤ 𝑡 ≤ 2𝑡0
𝜔0 + 𝐴𝑡0 + 𝐴(𝑡 − 2𝑡0) 2𝑡0 < 𝑡 ≤ 𝑡𝐸 − 2𝑡0
𝑎02 + 𝑎12𝜏 + 𝑎22𝜏2
+ 𝑎32𝜏3
+ 𝑎42𝜏4
𝑡𝐸 − 2𝑡0 < 𝑡 ≤ 𝑡𝐸
(36)
where:
𝐴 =
𝜔𝐸−𝜔0
𝑡𝐸−2𝑡0
;𝜏 = 𝑡 − (𝑡𝑐 − 2𝑡0);𝑎11 = 𝑎21 = 0;𝑎31 =
1
4𝑡0
2 𝐴;𝑎41 = −
1
16𝑡0
3 𝐴
3.3.3. Feedback control design
To handle the flux and the speed of the motor, the well-known PI controller is chosen. The detail
equations of the flux and speed controller are described by (37) and (38), respectively:
𝑅𝜓 = 𝑉𝜓
1+𝑑𝜓𝑧−1
1−𝑧−1 𝑤𝑖𝑡ℎ𝑉𝜓 ≈
1
3(1−𝑒
−𝑇𝜓
𝑇𝑟 )
; 𝑑𝜓 ≈ 𝑒
−𝑇𝜓
𝑇𝑟 (37)
𝛥𝑖𝑠𝑞 =
𝐽1𝐽2𝛥𝜔
⃛ 2+(𝑑𝐽1+𝑑𝐽2)𝛥𝜔
̈ 2
𝑘𝜔𝑖𝑚𝑎𝑐
+
(𝐽1𝑐+𝐽2𝑎𝑐)𝛥𝜔
̇ 2
𝑘𝜔𝑖𝑚𝑎𝑐
(38)
where: 𝛥𝑖𝑠𝑞 = 𝑖𝑠𝑞
∗
− 𝑖𝑠𝑞
∗𝑓𝑓
; 𝛥𝜔2 = 𝜔 2 − 𝜔2
∗
. Laplace transform of (38) provides the transfer function of
error speed and flux:
𝛥𝜔2(𝑠)
𝛥𝑖𝑠𝑞(𝑠)
=
𝑘𝜔𝑖𝑚𝑎𝑐
𝑠[𝐽1𝐽2𝑠2+(𝑑𝐽1+𝑑𝐽2)𝑠 +𝑐𝐽1+𝑎𝑐𝐽2]
(39)
Based on feedforward and feedback control design and trajectories of speed and flux reference the
proposed control scheme for the two-mass system driven by the induction motor with perfect stator current
controller is shown in Figure 4.
 ISSN: 2302-9285
Bulletin of Electr Eng & Inf, Vol. 10, No. 2, April 2021: 569 – 579
576
Figure 4. Block diagram flatness-based control of two-mass system
4. RESULT AND DISCUSSION
In this section, the proposed control strategy is verified by hardware-in-the-loop (HIL) simulation.
The system hardware is simulated in real time on the HIL platform with a time step of 1μs that means very
close to physical models, while the pulse width modulation carrier frequency is 5 kHz. Voltage and current
controllers are implemented in DSP TMS320F2808. The simulation parameters are: rated power=2.2 kW;
rated phase voltage=380/220 VRMS; rated frequency=50 Hz; d=0.015 Nm/rad; c=0.28 Nm/rad, J1=7.455
x10-5
Kgm2
; J2=5.5913x10-5
Kgm2
; with load torque is 1.5 Nm.
Simulation scenario is: at t=0s, the magnetic current is formed. Then at t=0.5s, the motor starts to
speed up to 1000 rpm. At t=2s, the reverse speed, the motor starts to reverse to -1000 rpm. In order to test the
system ability, low speed range of 1 rpm is also applied in the simulation. This section provides evaluation of
HIL results of speed response. The evaluation of difference speed control strategies for the two-mass system
is shown in Figure 5 and Table 1.
PI control Flatness-based control Backstepping method
(a)
PI control Flatness-based control Backstepping method
(b)
Figure 5. Speed response of Simulation/HIL platform at, (a) ±1 rpm, (b) ±1000 rpm
PI control Flatness-based control Backstepping method
w1
w2
+1rpm
-1rpm
+1rpm
-1rpm
+1rpm
-1rpm
At  1 rpm
w1
w2
+1000rpm
-1000rpm
+1000rpm
-1000rpm
+1000rpm
-1000rpm
At  1000 rpm
(a) (b) (c)
PI control Flatness-based control Backstepping method
w1
w2
+1rpm
-1rpm
+1rpm
-1rpm
+1rpm
-1rpm
At  1 rpm
w1
w2
+1000rpm
-1000rpm
+1000rpm
-1000rpm
+1000rpm
-1000rpm
At  1000 rpm
(a) (b) (c)
PI control Flatness-based control Backstepping method
w1
w2
+1rpm
-1rpm
+1rpm
-1rpm
+1rpm
-1rpm
At  1 rpm
w1
w2
+1000rpm
-1000rpm
+1000rpm
-1000rpm
+1000rpm
-1000rpm
At  1000 rpm
(a) (b) (c)
PI control Flatness-based control Backstepping method
w1
w2
+1rpm
-1rpm
+1rpm
-1rpm
+1rpm
-1rpm
At  1 rpm
w1
w2
+1000rpm
-1000rpm
+1000rpm
-1000rpm
+1000rpm
-1000rpm
At  1000 rpm
(a) (b) (c)
PI control Flatness-based control Backstepping method
w1
w2
+1rpm
-1rpm
+1rpm
-1rpm
+1rpm
-1rpm
At  1 rpm
w1
w2
+1000rpm
-1000rpm
+1000rpm
-1000rpm
+1000rpm
-1000rpm
At  1000 rpm
(a) (b) (c)
PI control Flatness-based control Backstepping method
w1
w2
+1rpm
-1rpm
+1rpm
-1rpm
+1rpm
-1rpm
At  1 rpm
w1
w2
+1000rpm
-1000rpm
+1000rpm
-1000rpm
+1000rpm
-1000rpm
At  1000 rpm
(a) (b) (c)
Bulletin of Electr Eng & Inf ISSN: 2302-9285 
Hardware-in-the-loop based comparative analysis of speed controllers… (Vo Thanh Ha)
577
Table 1. HIL results of the speed response
Speed control
At the speed of ±1 rpm At the speed of ±1000 rpm
Deadbeat PI Deadbeat
Backstepping
Deadbeat
Flatness
Deadbeat PI Deadbeat
Backstepping
Deadbeat
Flatness
Accelerating time (s) 50 50 0 50 50 0
Speed settling time (s) 2.5 2.0 1.0 3.0 2.5 1.0
It is found that the nonlinear control method based on the flatness-based control principle gives
better performance than the PI and backstepping controls, as the referenced load speed match with motor
speed after a short period of time, 0.3 seconds at (±) 1 rpm and 0.5 seconds at (±) 1000 rpm (at up and
reverse speed), without overshoot. That implies the speed controller based on the flatness-based control can
suppress resonance oscillation over the entire operating range of the IM motor.
From the results, it can be seen that the two-mass system with flexible couplings when operating at
the speed of (±) 1000 rpm and even at the low speed range (±) 1 rpm, the nonlinear control method, based on
the flatness-based control, has proved its advantage by solving the problem of resonant vibration suppression
at the spindle compared to the PI controller and backstepping. Besides of at times of transition with fast
setting time, without overshoot and load speed match with motor speed. In the following simulation scenario,
the motor is set in field-weakening region. The magnetizing current responses are shown in Figure 6 and
Figure 7. The three control methods show stable operation not only in nominal but also field weakening
range. However, it can be seen that the flatness-based control gives better transient response, i.e., without
overshoot, as seen in Figure 7, and shorter settling time (0.2s in comparison with 0.5s for PI control and
backstepping method).
(a) (b)
Figure 6. (a) Torque responses, (b) Speed responses
PI control Flatness-based control Backstepping control
(a)
(b)
Figure 7. Controlled system performance, (a) Flux responses, (b) speed responses
 ISSN: 2302-9285
Bulletin of Electr Eng & Inf, Vol. 10, No. 2, April 2021: 569 – 579
578
(c)
Figure 7. Controlled system performance, (c) torque responses (continued)
5. CONCLUSION
In this paper, the two-mass system with flexible couplings comprising of an induction motor and a load
is considered. At the motor side, the current response is assumed to be ideal leading to a simplified system
model. PI control, Flatness-based control, and backstepping control are employed to solve flux and speed
control problems of the system. The HIL based test shows better control performances of flatness control
compared to the other two schemes. This conclusion implies possibility of practical uses of flatness control in
dealing with systems with flexible couplings. In the future research, in order to give a concrete evaluation,
robustness experiments against varying system parameter and load disturbances will be carried out.
REFERENCES
[1] V. T. Ha, N. T. Lam, V. T. Ha, and V. Q. Vinh, “Advanced control structures for induction motors with ideal
current loop response using field oriented control,” Int. J. Power Electron. Drive Syst., vol. 10, no. 4, pp. 1758-
1771, 2019.
[2] D. Łuczak, “Mathematical model of multi-mass electric drive system with flexible connection,” 2014 19th Int.
Conf. Methods Model. Autom. Robot. MMAR 2014, 2014, pp. 590-595.
[3] C. Ma and Y. Hori, “Backlash vibration suppression control of torsional system by novel fractional order PIDk
controller,” IEEJ Trans. Ind. Appl., vol. 124, no. 3, pp. 312–317, 2004.
[4] P. J. Serkies and K. Szabat, “Model predictive control of the two-mass drive system with mechanical backlash,”
Comput. Appl. Electr. Eng., vol. 9, pp. 170-180, 2011.
[5] M. Mola, A. Khayatian, and M. Dehghani, “Backstepping position control of two-mass systems with unknown
backlash,” 2013 9th Asian Control Conf. ASCC, 2013, pp. 1-6.
[6] J. Vittek, V. Vavrúš, P. Briš, and L. Gorel, “Forced dynamics control of the elastic joint drive with single rotor
position sensor,” Autom.-J. Control. Meas. Electron. Comput. Commun., vol. 54, no. 3, pp. 337-347, 2013.
[7] S. Brock, D. Zuczak, K. Nowopolski, T. Pajchrowski, and K. Zawirski, “Two approaches to speed control for
multi-mass system with variable mechanical parameters,” IEEE Trans. Ind. Electron., vol. 64, no. 4, pp. 3338-
3347, 2016.
[8] J. Rigelsford, “Intelligent observer and control design for nonlinear systems,” Ind. Robot An Int. J., vol. 27, no. 4,
2000.
[9] S. E. Saarakkala, M. Hinkkanen, and K. Zenger, “Speed control of two-mass mechanical loads in electric drives,”
2012 IEEE Energy Convers. Congr. Expo. ECCE, 2012, pp. 1246-1253.
[10] S. Thomsen and F. W. Fuchs, “Flatness based speed control of drive systems with resonant loads,” IECON Proc.
(Industrial Electron. Conf.), 2010, pp. 120-125.
[11] L. T. Thi, L. N. Tung, C. Duc Thanh, D. N. Quang, and Q. N. Van, “Tension regulation of roll-to-roll systems with
flexible couplings,” in Proceedings of 2019 International Conference on System Science and Engineering, ICSSE,
2019, pp. 441-444.
[12] J. Kabzinski, “Adaptive control of two-mass drive system with nonlinear stiffness,” Przegląd Elektrotechniczny,
vol. 1, no. 3, pp. 51-56, 2018.
[13] S. Zhao and Z. Gao, “An active disturbance rejection based approach to vibration suppression in two-inertia
systems,” Asian J. Control, vol. 15, no. 2, pp. 350-362, 2013.
[14] H. Ikeda, T. Hanamoto, T. Tsuji, and M. Tomizuka, “Design of vibration suppression controller for 3-inertia system
using Taguchi Method,” Int. Symp. Power Electron. Electr. Drives, Autom. Motion, SPEEDAM, 2006, vol. 2006,
no. 3, pp. 1045-1050.
[15] H. Ikeda and T. Hanamoto, “Fuzzy controller of multi-inertia resonance system designed by differential evolution,”
2013 Int. Conf. Electr. Mach. Syst. ICEMS, 2013, vol. 3, no. 2, pp. 2291-2295.
[16] R. Zhang and C. Tong, “Torsional vibration control of the main drive system of a rolling mill based on an extended
state observer and linear quadratic control,” JVC/Journal Vib. Control, vol. 12, no. 3, pp. 313-327, 2006.
[17] Y. Hori, H. Sawada, and Y. Chun, “Slow resonance ratio control for vibration suppression and disturbance rejection
in torsional system,” IEEE Trans. Ind. Electron., vol. 46, no. 1, pp. 162-168, 1999.
Bulletin of Electr Eng & Inf ISSN: 2302-9285 
Hardware-in-the-loop based comparative analysis of speed controllers… (Vo Thanh Ha)
579
[18] D. Luczak, P. Siwek, and K. Nowopolski, “Speed controller for four-mass mechanical system with two drive
units,” Proc.-2015 IEEE 2nd Int. Conf. Cybern., CYBCONF, 2015, pp. 449-454.
[19] M. Valásek, “Design of nonlinear control of nonlinear multibody systems,” in Virtual Nonlinear Multibody
Systems, vol. 103, pp. 263-278, 2012.
[20] K. Nowopolski, B. Wicher, D. Łuczak, and P. Siwek, “Recursive neural network as speed controller for two-sided
electrical drive with complex mechanical structure,” 2017 22nd Int. Conf. Methods Model. Autom. Robot. MMAR,
2017, pp. 576-581.
[21] K. T. Nam, S. J. Lee, T. Y. Kuc, and H. Kim, “Position and velocity estimation for two-inertia system with
nonlinear stiffness based on acceleration sensor,” Sensors (Switzerland), vol. 16, no. 1, pp. 1-10, 2016.
[22] P. Serkies, “Comparison of the control methods of electrical drives with an elastic coupling allowing to limit the
torsional torque amplitude,” Eksploatacja i Niezawodnść, vol. 19, no. 2, pp. 203-210, 2017.
[23] G. Zhang and J. Furusho, “Speed control of two-inertia system by PI/PID control,” IEEE Trans. Ind. Electron., vol.
47, no. 3, pp. 603-609, 2000.
[24] K. Szabat and T. Orlowska-Kowalska, “Vibration suppression in a two-mass drive system using PI speed controller
and additional feedbacks-comparative study,” IEEE Trans. Ind. Electron., vol. 54, no. 2, pp. 1193-1206, 2007.
[25] V. T. Ha, N. D. N. Le Trong Tan, and N. P. Quang, “Backstepping control of two-mass system using induction
motor drive fed by voltage source inverter with ideal control performance of stator current,” Int. J. Power Electron.
Drive Syst., vol. 2088, no. 8694, pp. 720-730, 2019.
[26] V. T. Ha and N. P. Quang, “Flatness-based control design for two-mass system using induction motor drive fed by
voltage source inverter with ideal control performance of stator current,” Engineer of the XXI Century, Springer,
Cham, pp. 39-50, 2020.

More Related Content

PDF
Backstepping control of two-mass system using induction motor drive fed by vo...
PDF
Speed and Torque Control of Mechanically Coupled Permanent Magnet Direct Curr...
PDF
IRJET- Control of Induction Motor using Neural Network
PDF
Simulation and Analysis of Modified DTC of PMSM
PDF
L044065862
PDF
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
PDF
Discrete Time Optimal Tracking Control of BLDC Motor
PDF
A Lyapunov Based Approach to Enchance Wind Turbine Stability
Backstepping control of two-mass system using induction motor drive fed by vo...
Speed and Torque Control of Mechanically Coupled Permanent Magnet Direct Curr...
IRJET- Control of Induction Motor using Neural Network
Simulation and Analysis of Modified DTC of PMSM
L044065862
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
Discrete Time Optimal Tracking Control of BLDC Motor
A Lyapunov Based Approach to Enchance Wind Turbine Stability

What's hot (20)

PDF
Nonlinear control of WECS based on PMSG for optimal power extraction
PDF
G0362046052
PDF
Transient stability analysis and enhancement of ieee 9 bus system
PDF
Novelty Method of Speed Control Analysis of Permanent Magnet Brushless DC Motor
PDF
[8] implementation of pmsm servo drive using digital signal processing
PDF
Control of Wind Energy Conversion System and Power Quality Improvement in the...
PDF
C010511620
PDF
Comparison of cascade P-PI controller tuning methods for PMDC motor based on ...
PDF
1 s2.0-s0957415814001354-main
PDF
Backstepping Control for a Five-Phase Permanent Magnet Synchronous Motor Drive
PDF
The Neural Network-Combined Optimal Control System of Induction Motor
PDF
Speed Control of Dual Induction Motor using Fuzzy Controller
PDF
LMI based antiswing adaptive controller for uncertain overhead cranes
PDF
IRJET-Robust Intelligent Controller for Voltage Stabilization of dc-dc Boost ...
PDF
Performance evolution of a PMSG based WECS using maximum power point tracking...
PDF
Mechatronics design of ball and beam system education and research
PDF
Adaptive fuzzy sliding mode controller design for PMLSM position control
PDF
Fuzzy Adaptive Control for Direct Torque in Electric Vehicle
PDF
An enhanced mppt technique for small scale
PDF
A Novel 4WD Permanent Magnet Synchronous Motor for an Electrical Vehicle Cont...
Nonlinear control of WECS based on PMSG for optimal power extraction
G0362046052
Transient stability analysis and enhancement of ieee 9 bus system
Novelty Method of Speed Control Analysis of Permanent Magnet Brushless DC Motor
[8] implementation of pmsm servo drive using digital signal processing
Control of Wind Energy Conversion System and Power Quality Improvement in the...
C010511620
Comparison of cascade P-PI controller tuning methods for PMDC motor based on ...
1 s2.0-s0957415814001354-main
Backstepping Control for a Five-Phase Permanent Magnet Synchronous Motor Drive
The Neural Network-Combined Optimal Control System of Induction Motor
Speed Control of Dual Induction Motor using Fuzzy Controller
LMI based antiswing adaptive controller for uncertain overhead cranes
IRJET-Robust Intelligent Controller for Voltage Stabilization of dc-dc Boost ...
Performance evolution of a PMSG based WECS using maximum power point tracking...
Mechatronics design of ball and beam system education and research
Adaptive fuzzy sliding mode controller design for PMLSM position control
Fuzzy Adaptive Control for Direct Torque in Electric Vehicle
An enhanced mppt technique for small scale
A Novel 4WD Permanent Magnet Synchronous Motor for an Electrical Vehicle Cont...
Ad

Similar to Hardware-in-the-loop based comparative analysis of speed controllers for a two-mass system using an induction motor drive with ideal stator current performance (20)

PDF
Intelligent torque observer combined with backstepping sliding-mode control f...
PDF
Robust control for a tracking electromechanical system
PDF
Comparison of backstepping, sliding mode and PID regulators for a voltage inv...
PDF
Steady state stability analysis and enhancement of three machine nine bus pow...
PDF
G010525868
PDF
Hybrid nonlinear control strategies for performance enhancement of a doubly-f...
PDF
On finite-time output feedback sliding mode control of an elastic multi-motor...
PDF
A hybrid bacterial foraging and modified particle swarm optimization for mode...
PDF
Co-simulation of self-adjusting fuzzy PI controller for the robot with two-ax...
PDF
Min Max Model Predictive Control for Polysolenoid Linear Motor
PDF
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
PDF
PDF
On tracking control problem for polysolenoid motor model predictive approach
PDF
Experimental verification of SMC with moving switching lines applied to hoisti...
PDF
Optimization of Modified Sliding Mode Controller for an Electro-hydraulic Act...
PDF
Real Time Implementation of Fuzzy Adaptive PI-sliding Mode Controller for Ind...
PDF
A High Gain Observer Based Sensorless Nonlinear Control of Induction Machine
PDF
Advanced control scheme of doubly fed induction generator for wind turbine us...
PDF
76201978
PDF
An efficient predictive current controller with adaptive parameter estimation...
Intelligent torque observer combined with backstepping sliding-mode control f...
Robust control for a tracking electromechanical system
Comparison of backstepping, sliding mode and PID regulators for a voltage inv...
Steady state stability analysis and enhancement of three machine nine bus pow...
G010525868
Hybrid nonlinear control strategies for performance enhancement of a doubly-f...
On finite-time output feedback sliding mode control of an elastic multi-motor...
A hybrid bacterial foraging and modified particle swarm optimization for mode...
Co-simulation of self-adjusting fuzzy PI controller for the robot with two-ax...
Min Max Model Predictive Control for Polysolenoid Linear Motor
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
On tracking control problem for polysolenoid motor model predictive approach
Experimental verification of SMC with moving switching lines applied to hoisti...
Optimization of Modified Sliding Mode Controller for an Electro-hydraulic Act...
Real Time Implementation of Fuzzy Adaptive PI-sliding Mode Controller for Ind...
A High Gain Observer Based Sensorless Nonlinear Control of Induction Machine
Advanced control scheme of doubly fed induction generator for wind turbine us...
76201978
An efficient predictive current controller with adaptive parameter estimation...
Ad

More from journalBEEI (20)

PDF
Square transposition: an approach to the transposition process in block cipher
PDF
Hyper-parameter optimization of convolutional neural network based on particl...
PDF
Supervised machine learning based liver disease prediction approach with LASS...
PDF
A secure and energy saving protocol for wireless sensor networks
PDF
Plant leaf identification system using convolutional neural network
PDF
Customized moodle-based learning management system for socially disadvantaged...
PDF
Understanding the role of individual learner in adaptive and personalized e-l...
PDF
Prototype mobile contactless transaction system in traditional markets to sup...
PDF
Wireless HART stack using multiprocessor technique with laxity algorithm
PDF
Implementation of double-layer loaded on octagon microstrip yagi antenna
PDF
The calculation of the field of an antenna located near the human head
PDF
Exact secure outage probability performance of uplinkdownlink multiple access...
PDF
Design of a dual-band antenna for energy harvesting application
PDF
Transforming data-centric eXtensible markup language into relational database...
PDF
Key performance requirement of future next wireless networks (6G)
PDF
Noise resistance territorial intensity-based optical flow using inverse confi...
PDF
Modeling climate phenomenon with software grids analysis and display system i...
PDF
An approach of re-organizing input dataset to enhance the quality of emotion ...
PDF
Parking detection system using background subtraction and HSV color segmentation
PDF
Quality of service performances of video and voice transmission in universal ...
Square transposition: an approach to the transposition process in block cipher
Hyper-parameter optimization of convolutional neural network based on particl...
Supervised machine learning based liver disease prediction approach with LASS...
A secure and energy saving protocol for wireless sensor networks
Plant leaf identification system using convolutional neural network
Customized moodle-based learning management system for socially disadvantaged...
Understanding the role of individual learner in adaptive and personalized e-l...
Prototype mobile contactless transaction system in traditional markets to sup...
Wireless HART stack using multiprocessor technique with laxity algorithm
Implementation of double-layer loaded on octagon microstrip yagi antenna
The calculation of the field of an antenna located near the human head
Exact secure outage probability performance of uplinkdownlink multiple access...
Design of a dual-band antenna for energy harvesting application
Transforming data-centric eXtensible markup language into relational database...
Key performance requirement of future next wireless networks (6G)
Noise resistance territorial intensity-based optical flow using inverse confi...
Modeling climate phenomenon with software grids analysis and display system i...
An approach of re-organizing input dataset to enhance the quality of emotion ...
Parking detection system using background subtraction and HSV color segmentation
Quality of service performances of video and voice transmission in universal ...

Recently uploaded (20)

PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Digital Logic Computer Design lecture notes
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
PPT on Performance Review to get promotions
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
DOCX
573137875-Attendance-Management-System-original
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT
Mechanical Engineering MATERIALS Selection
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
CH1 Production IntroductoryConcepts.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Embodied AI: Ushering in the Next Era of Intelligent Systems
Digital Logic Computer Design lecture notes
UNIT-1 - COAL BASED THERMAL POWER PLANTS
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPT on Performance Review to get promotions
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
573137875-Attendance-Management-System-original
OOP with Java - Java Introduction (Basics)
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Mechanical Engineering MATERIALS Selection
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Operating System & Kernel Study Guide-1 - converted.pdf
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
CH1 Production IntroductoryConcepts.pptx

Hardware-in-the-loop based comparative analysis of speed controllers for a two-mass system using an induction motor drive with ideal stator current performance

  • 1. Bulletin of Electrical Engineering and Informatics Vol. 10, No. 2, April 2021, pp. 569~579 ISSN: 2302-9285, DOI: 10.11591/eei.v10i2.2370  569 Journal homepage: http://beei.org Hardware-in-the-loop based comparative analysis of speed controllers for a two-mass system using an induction motor drive with ideal stator current performance Vo Thanh Ha1 , Tung Lam Nguyen2 , Vo Thu Ha3 1 Faculty of Electrical and Electrical Engineering, University of Transport and Communications, Vietnam 2 School of Electrical Engineering, Hanoi University of Science and Technology, Vietnam 3 Faculty of Electrical Engineering, University of Economics-Technology for Industries, Vietnam Article Info ABSTRACT Article history: Received Sep 5, 2020 Revised Dec 12, 2020 Accepted Jan 5, 2021 A comparative study of speed control performance of an induction motor drive system connecting to a load via a non-rigid shaft. The nonrigidity of the coupling is represented by stiffness and damping coefficients deteriorating speed regulating operations of the system and can be regarded as a two-mass system. In the paper, the ability of flatness based and backstepping controls in control the two-mass system is verified through comprehensive hardware- in-the-loop experiments and with the assumption of ideal stator current loop performance. Step-by-step control design procedures are given, in addition, system responses with classical PID control are also provided for parallel comparisons. Keywords: Backstepping Field oriented control Flatness-based control Hardware-in-the-loop Speed control This is an open access article under the CC BY-SA license. Corresponding Author: Tung Lam Nguyen School of Electrical Engineering Hanoi University of Science and Technology 1 Đại Cồ Việt, Bách Khoa, Hai Bà Trưng, Hà Nội, Vietnam Email: lam.nguyentung@hust.edu.vn 1. INTRODUCTION Asynchronous electrical drive system is found in enormous applications and is considered as well- established thank to the advancement in current loop control [1]. However, facing mechanical loads, speed control loop design takes a decisive role, especially when the non-rigidity and backlash of the motor-to-load connection is taken into account [2-5]. Flexible coupling phenomenon is studied in [6], the authors develop an elegant control scheme integrated with a state observer for estimating motor and load torques. Brock et al. [7] propose a filter accompanied with a neural adaptive controller to eliminate high resonance frequencies. The controlled system is analysed through extensive experiments proving the effectiveness of the proposed solution. For a class of multi-mass electrical drive systems where measurement is not always available, a system parameter identification method is presented in [8]. The authors employ pseudo random binary signal and chirp wave to excite necessary information. The approach might be difficult to apply in a wide range of practical systems. A 2DOF PI control is systematically designed in [9] for a two-mass drive coupled via a toothed belt. The tracking results are compared with 1DOF and 1DOF with feedforward controls confirm that the method exhibits robustness and load torque rejection. Due to flat property of the system, Thomsen et al. [10] formulate a flatness based control for a finite stiffness coupling drive system fed by an inverter with speed feedback signal. Backstepping control is developed for a multi-motor system which is vastly found in
  • 2.  ISSN: 2302-9285 Bulletin of Electr Eng & Inf, Vol. 10, No. 2, April 2021: 569 – 579 570 rewinding systems in [11] suppressing flexible coupling phenomenon in linear speed and tension control system. In order to deal with nonlinear stiffness, the authors in [12] implement adaptive backstepping to reduce connecting shaft oscillations. However, system stiffness characteristic must be known to carry out the control, this requirement might be very challenging in practice. Recently, a active disturbance rejection control (ADRC) is considered as an alternative to classical PID control, an application of ADRC to two-mass system can be found in [13]. A fuzzy based control for a three-mass system is presented in [14, 15], where fuzzy term is selected to modify IPD control. Other control approaches can be found in [16-22]. In general, there is a lack of comprehensive study on how popular control methods react when applying to two-mass drive system operating in nominal range. In the paper, we carry out a hardware-in-the- loop based comparative analysis of speed responses using backstepping and flatness-based controls in nominal and field-weakening modes. Initially, we present the two-mass drive system in a view of ideal current loop. Subsequently, PID, backstepping, and flatness control design steps are given in details. Finally, hardware-in-the-loop results of three controls are compared and some important conclusions are drawn. 2. TWO-MASS MODEL SYSTEM WITH IDEAL CURRENT LOOP RESPONSE Typical configuration of a two-mass system is shown in Figure 1. Figure 1. Typical configuration of a two-mass system When operating in field weakening region, the model of the system can be given as [2]. 𝑑𝑖𝑠𝑑 𝑑𝑡 = − ( 1 𝜎𝑇𝑠 + 1 − 𝜎 𝜎𝑇𝑟 ) 𝑖𝑠𝑑 + 𝜔𝑠𝑖𝑠𝑞 + 1 − 𝜎 𝜎𝑇𝑟 + 1 𝜎𝐿𝑠 𝑢𝑠𝑑 𝑑𝑖𝑠𝑞 𝑑𝑡 = −𝜔𝑠𝑖𝑠𝑑 − ( 1 𝜎𝑇𝑠 + 1 − 𝜎 𝜎𝑇𝑟 ) 𝑖𝑠𝑞 − 1 − 𝜎 𝜎 𝜔𝑖𝑚 + 1 𝜎𝐿𝑠 𝑢𝑠𝑞 𝑑𝜓𝑟𝑑 𝑑𝑡 = − 1 𝑇𝑟 𝜓𝑟𝑑 + 𝐿𝑚 𝑇𝑟 𝑖𝑠𝑑 𝑑𝜓𝑟𝑞 𝑑𝑡 = 𝐿𝑚 𝑇𝑟 𝑖𝑠𝑞 − (𝜔𝑠 − 𝜔)𝜓𝑟𝑑𝑖𝑠𝑑 − 1 𝑇𝑟 𝜓𝑟𝑞 𝜓𝑟𝑞 𝐿𝑚 𝜑̈1 = − 𝑑 𝐽1 𝜑̇1 − 𝑐 𝐽1 𝛥𝜑 + 𝑑 𝐽1 𝜑̇2 + 1 𝐽1 𝑚𝑀 𝛥𝜑̇ = 𝜑̇1 − 𝜑̇2 𝜑̈2 = 𝑑 𝐽2 𝑑/𝐽2𝜑̇1 + 𝑐 𝐽2 𝛥𝜑 − 𝑑 𝐽2 𝜑̇2 − 1 𝐽2 𝑚𝐿 (1) In which, 𝑖𝑠𝑑; 𝑖𝑠𝑞 are𝑑𝑞 components of the stator current; 𝜔, 𝜔𝑠 rotor and synchronous speeds, respectively; 𝜓𝑟𝑑 , , 𝜓𝑟𝑞 , are rotor flux dq components;𝜎 is total leakage factor; 𝑇𝑟is rotor time constant:𝑢𝑠𝑑, 𝑢𝑠𝑞are stator voltage 𝑑𝑞 components; 𝐿𝑠is stator inductance, 𝜑̇1, 𝜑̇2are motor and load speeds; 𝜑̈1, 𝜑̈2are motor and load angle accelerations; 𝜑is rotor angle; 𝑑is the coupling shaft damping coefficient; 𝑐is shaft
  • 3. Bulletin of Electr Eng & Inf ISSN: 2302-9285  Hardware-in-the-loop based comparative analysis of speed controllers… (Vo Thanh Ha) 571 stiffness. It can be seen that the system of dynamical (1) is of 7th order. With the assumption of t perfectly designed current controller, the system model can be reduced as: 𝑑𝑖𝑚 𝑑𝑡 = 1 𝑇𝑟 𝑖𝑠𝑑 − 1 𝑇𝑟 𝑖𝑚 𝜑̈1 = − 𝑑 𝐽1 𝜑̇1 − 𝑐 𝐽1 𝛥𝜑 + 𝑑 𝐽1 𝜑̇2 + 1 𝐽1 𝑚𝑀 𝛥𝜑̇ = 𝜑̇1 − 𝜑̇2 𝜑̈2 = 𝑑 𝐽2 𝜑̇1 + 𝑐 𝐽2 𝛥𝜑 − 𝑑 𝐽2 𝜑̇2 − 1 𝐽2 𝑚𝐿 (2) where: 𝑖𝑚 = 𝜓𝑟𝑑 𝐿𝑚 . The state (2) is of 4nd order, stator current isd is used to control the motor flux and isq is dedicated to speed control. For control design purpose (2) is rewritten in the following state-space form: [ 𝑖̇𝑚 𝜑̈1 𝛥𝜑̇ 𝜑̈2 ] = [ −1 𝑇𝑟 0 0 0 0 −𝑑 𝐽1 −𝑐 𝐽1 𝑑 𝐽1 0 1 0 −1 0 𝑑 𝐽2 𝑐 𝐽2 −𝑑 𝐽2 ] [ 𝑖𝑚 𝜑̇1 𝛥𝜑 𝜑̇2 ] + [ 1 𝑇𝑟 0 0 𝑘𝜔𝑖𝑚 𝐽1 0 0 0 0 ] [ 𝑖𝑠𝑑 𝑖𝑠𝑞 ] + [ 0 0 0 −1 𝐽2 ] 𝑚𝐿 (3) where we have defined, 𝑦𝑇 = [𝑖𝑚, 𝜑̇2]; [ 𝑖𝑚 𝜑̇2 ] = [ 1 0 0 0 0 0 0 1 ] [ 𝑖𝑚 𝜑̇1 𝛥𝜑 𝜑̇2 ] (4) 3. SPEED CONTROL DESIGN 3.1. PI control PI controller is designed according to the symmetric optimal standard, so we have the PI control structure shown as Figure 2. The design of PI for the system is well-established, readers can refer to [23, 24] for more details. Figure 2. Block diagram of PI control algorithm of a two-mass system 3.2. Backstepping control For designing step, it is assumed that all feedback signals from the motor, the shaft and the load sides are available. As in Figure 2, the backstepping control is divided into two steps. In each step, a subsystem will be studied and controlled. Selecting a proper Lyapunov candidate function for each design step can guarantees the asymptotic stability of the corresponding subsystem. After completing all two steps, the asymptotic stability of the whole system can be achieved [25]. The speed control equation is given:
  • 4.  ISSN: 2302-9285 Bulletin of Electr Eng & Inf, Vol. 10, No. 2, April 2021: 569 – 579 572 𝑑𝜑 ̇ 2 𝑑𝑡 = − 𝑑 𝐽2 𝜑̇2 + 𝑐 𝐽2 𝛥𝜑 + 𝑑 𝐽2 𝜑̇1 − 1 𝐽2 𝑚𝐿 𝑑𝜑 ̇ 1 𝑑𝑡 = − 𝑑 𝐽1 𝜑̇1 − 𝑐 𝐽1 𝛥𝜑 + 𝑑 𝐽1 𝜑̇2 − 𝑘𝜔.𝜓𝑟𝑑 ′ 𝐽1 𝑖𝑠𝑞 (5) where 𝑚𝑀 = 𝑘𝜔(𝜓𝑟𝑑/𝐿𝑚)𝑖𝑠𝑞; 𝑘𝜔 = (3/2)𝑧𝑝(𝐿𝑚/𝐿𝑟) is motor torque. For ease of deploying control design, we define: 𝑥1 = 𝜑̇2 𝑥2 = 𝜑̇1 𝑢 = 𝑖𝑠𝑞 𝑦 = 𝑥1 = 𝜑̇2 (6) where 𝑥1 and 𝑥2are state variables; u is the control input and y is the output (the load rotating speed). Since then the system is expressed in the strict feedback form as (7): 𝑥̇1 = ( 𝑑𝜑̇2 𝑑𝑡 ) = 𝑓1(𝑥1, 𝑥2) 𝑥̇2 = ( 𝑑𝜑 ̇ 1 𝑑𝑡 ) = 𝑓2(𝑥1, 𝑥2, 𝑢) (7) 𝑦 = 𝑥1 = 𝜑̇2 In order to implement backstepping control we define: 𝑧1 = 𝑥1 − 𝑥1𝑑 = 𝜑̇2 − 𝜑̇2𝑑 𝑧2 = 𝑥2 − 𝑥2𝑑𝑘𝑎 = 𝜑̇1 − 𝜑̇1𝑑𝑘𝑎 (8) where 𝑥1𝑑 = 𝜑̇2𝑑is the set value of the output variable and 𝑥2𝑑𝑘𝑎 = 𝜑̇1𝑑𝑘𝑎is the virtual control. Selecting the Lyapunov candidate function as (9): 𝑉1 = 1 2 𝑧1 2 (9) Taking derivative of (9) results in: 𝑉̇1 = 𝑧1𝑧̇1 (10) Because of 𝜑̈1𝑑 = 0 so that (8) rendered as 𝑧̇1 = 𝜑̈2, substitution 𝑧̇1from (5) into (10) yields: 𝑉̇1 = 𝑧1 [−𝑘1𝑧1 + 𝑑 𝐽2 𝜑̇1 + (𝑘1𝑧1 + 𝑐 𝐽2 𝛥𝜑 − 1 𝐽2 𝑚𝐿 − 𝑑 𝐽2 𝜑̇2)] (11) Considering𝜑̇1 as the virtual control variable in such a way that 𝜑̇1 = 𝜑̇1𝑑𝑘𝑎so that: 𝑑 𝐽2 𝜑̇1𝑑𝑘𝑎 = −(𝑘1𝑧1 + 𝑐 𝐽2 𝛥𝜑 − 1 𝐽2 𝑚𝐿 − 𝑑 𝐽2 𝜑̇2) (12) If 𝑉̇1 = −𝑘1𝑧1 2 < 0, with ∀𝑘1 > 0 then the stable condition is satisfied. Defining: 𝐵𝑓 = 𝑐 𝐽2 𝛥𝜑 − 1 𝐽2 𝑚𝐿 − 𝑑 𝐽2 𝜑̇2 (13) Substitution of (13) into (12) results in: 𝜑̇1𝑑𝑘𝑎 = − 𝐽2 𝑑 [𝑘1𝑧1 + 𝐵𝑓] (14) The control specified in (14) ensures that the load speed tracks the desired value. Next, the control for the motor side is designed. It is noted that𝑥1𝑑 = 𝜑̇2𝑑is constant, so that from (5), (8), and (13) can be shortened as: 𝑧̇1 = 𝑑𝜑 ̇ 2 𝑑𝑡 = 𝜑̈2 = 𝑑 𝐽2 𝜑̇1 + 𝐵𝑓 (15)
  • 5. Bulletin of Electr Eng & Inf ISSN: 2302-9285  Hardware-in-the-loop based comparative analysis of speed controllers… (Vo Thanh Ha) 573 Select the Lyapunov candidate function as (16): 𝑉2 = 𝑉1 + 1 2 𝑧2 2 (16) Taking derivative of (16) gives: 𝑉̇2 = 𝑉̇1 + 𝑧2𝑧̇2 (17) From (11) and (12), we can write as: 𝑉̇2 = −𝑘1𝑧̇1 2 + 𝑑 𝐽2 𝑧1(𝜑̇1 − 𝜑̇1𝑑𝑘𝑎) + 𝑧2𝑧̇2 (18) After some basic operations, it can be shown that: 𝑉̇2 = −𝑘1𝑧̇1 2 − 𝑘2𝑧2 2 + 𝑘2𝑧2 2 + 𝑑 𝐽2 𝑧1(𝜑̇1 − 𝜑̇1𝑑𝑘𝑎) + 𝑧2𝑧̇2 (19) where we have defined 𝜑̇1 − 𝜑̇1𝑑𝑘𝑎 = 𝑧2, so that: 𝑉̇2 = −𝑘1𝑧1 2 − 𝑘2𝑧2 2 + 𝑧2(𝑘2𝑧2 + 𝑑 𝐽2 𝑧1 + 𝑧̇2) (20) At this point in order to render𝑉̇2 < 0, the following conditions must be fullfied: 𝑘2 > 0 and 𝑘2𝑧2 + 𝑑 𝐽2 𝑧1 + 𝑧̇2 = 0 (21) Conditions specified in (21) imply that: 𝜑̈1 − 𝜑̈1𝑑𝑘𝑎 = −𝑘2(𝜑̇1 − 𝜑̇1𝑑𝑘𝑎) − 𝑑 𝐽2 𝑧1 (22) From (14), it indicates that: 𝜑̈1𝑑𝑘𝑎 = − 𝐽2 𝑑 (𝑘1𝑧̇1 + 𝐵̇𝑓) and 𝜑̇ − 𝜑̇1𝑑𝑘𝑎 = 𝜑̇1 + 𝐽2 𝑑 (𝑘1𝑧1 + 𝐵𝑓) (23) Substituting (15) and (22) into (23) gives: 𝜑̈1 = −(𝑘1 + 𝑘2)𝜑̇1 − ( 𝐽2 𝑑 𝑘1𝑘2 + 𝐽2 𝑑 )𝑧1 − 𝐽2 𝑑 (𝑘1 + 𝑘2)𝐵𝑓 − 𝐽2 𝑑 𝐵̇𝑓 (24) To proceed to calculate the final expression of the control current, first of all, we substitution from the second equation of the system (5) into (24) we have: 𝑘𝜔𝜓𝑟𝑑 ′ 𝐽1 . 𝑖𝑠𝑞 = [ 𝑑 𝐽1 − (𝑘1 + 𝑘2)]𝜑̇1 − 𝑑 𝐽1 𝜑̇2 + 𝑐 𝐽1 𝛥𝜑 − ( 𝐽2 𝑑 𝑘1𝑘2 + 𝑑 𝐽2 )𝑧1 − 𝐽2 𝑑 (𝑘1 + 𝑘2)𝐵𝑓 − 𝐽2 𝑑 𝐵̇𝑓 (25) From the expression (25) and using fundamental calculation, we will get the final expression of isq is: 𝑖𝑠𝑞 = 𝐽1 𝑘𝜔𝜓𝑟𝑑 ′ { [ 𝑑 𝐽1 + 𝑑 𝐽2 − ( 𝑐 𝑑 + 𝑘1 + 𝑘2)](𝜑̇1 − 𝜑̇2) + [ 𝑐 𝐽1 + 𝑐 𝐽2 − 𝑐 𝑑 (𝑘1 + 𝑘2)]𝛥𝜑 −( 𝐽2 𝑑 𝑘1𝑘2 + 𝑑 𝐽2 )(𝜑̇2 − 𝜑̇2𝑑) + 𝑚𝑤 𝑑 (𝑘1 + 𝑘2 − 𝑑 𝐽2 ) } (26) Based on (26), the proposed control structure for the two-mass system driven by the induction motor is shown in Figure 3.
  • 6.  ISSN: 2302-9285 Bulletin of Electr Eng & Inf, Vol. 10, No. 2, April 2021: 569 – 579 574 Figure 3. Block diagram of backstepping control algorithm of a two-mass system 3.3. Flatness-based control (FBC) 3.3.1. Feedforward control design Feedforward control can be considered as the inverse mathematical model of the control object and plays a decisive role in the FBC structure. From (5), the feedforward control can be derived as: 𝑖𝑠𝑑 𝑓𝑓 = 𝑖𝑚 ∗ + 𝑇𝑟 𝑑𝑖𝑚 ∗ 𝑑𝑡 𝑖𝑓𝑓 𝑠𝑞 = 𝐽1𝜑 ̈ 1+𝐽2𝜑 ̈ 2+𝑚𝐿 𝑘𝜔𝑖∗ 𝑚 (27) Based on equation 𝜑̈1 = − 𝐽2 𝐽1 𝜑̈2 + 1 𝐽1 (𝑚𝑀 − 𝑚𝐿) [26], it can be deduced that: 𝐽1𝜔̇1 + 𝐽2𝜔̇ 2 = 𝑚𝑀 − 𝑚𝐿 (28) Assume that the load torque is not varying, then the load observer can be developed as: 𝑑𝑚 ̂𝐿 𝑑𝑡 = −𝑙1(𝜔 ̂2 − 𝜔2) 𝑑𝜔 ̂2 𝑑𝑡 = 1 𝐽2 (𝑚𝑀 − 𝑚 ̂𝐿 − 𝐽1𝜔̇ ̂1) + 𝑙2(𝜔 ̂2 − 𝜔2) (29) where 𝑚𝑀 = 𝑘𝜔𝑖𝑚𝑖𝑠𝑞. then from (28) and (29), it is straightforward to show that: 𝑑(𝑚 ̂𝐿 − 𝑚𝐿) 𝑑𝑡 = −𝑙1(𝜔 ̂𝐿 − 𝜔𝐿) 𝑑(𝜔 ̂𝐿−𝜔𝐿) 𝑑𝑡 = − 1 𝐽2 (𝑚 ̂𝐿 − 𝑚𝐿 + 𝐽1𝜔̇ ̂𝑀 − 𝐽1𝜔̇ 𝑀) + 𝑙2(𝜔 ̂𝐿 − 𝜔𝐿) (30) Defineing 𝜀𝑚 = 𝑚 ̂𝐿 − 𝑚𝐿; 𝜀𝜔 = 𝜔 ̂𝐿 − 𝜔𝐿 and substituting into.(30) give: 𝑑𝜀𝑚 𝑑𝑡 = −𝑙1𝜀𝜔 𝑑𝜀𝜔 𝑑𝑡 = − 1 𝐽2 𝜀𝑚 + 𝑙2𝜀𝜔 + 𝑓(𝜔̇ ̂𝑀, 𝜔̇ 𝑀) (31) The error model is:
  • 7. Bulletin of Electr Eng & Inf ISSN: 2302-9285  Hardware-in-the-loop based comparative analysis of speed controllers… (Vo Thanh Ha) 575 [ 𝑑𝜀𝑚 𝑑𝑡 𝑑𝜀𝜔 𝑑𝑡 ] = [ 0 −𝑙1 − 1 𝐽2 𝑙2 ] [ 𝜀𝑚 𝜀𝜔 ] + [ 0 𝑓(𝜔̇ ̂𝑀, 𝜔̇ 𝑀) ] (32) The characteristic equation of (32) is: 𝑑𝑒𝑡[𝑠𝑰 − 𝑨] = 𝑠2 − 𝑙2𝑠 − 𝑙1 𝐽2 = 0 (33) By selecting 𝑙1 and𝑙2 such that: 𝑙1 = −𝐽2𝑠1𝑠2;𝑙2 = 𝑠1 + 𝑠2 (34) 3.3.2. Design of the reference trajectories The equation 𝒙 = 𝑃 (𝒚, 𝑑𝒚 𝑑𝑡 , … , 𝑑𝑟𝒚 𝑑𝑡𝑟) ; 𝑟 ∈ 𝑁; 𝒖 = 𝑄 (𝒚, 𝑑𝒚 𝑑𝑡 , … , 𝑑(𝑟+1)𝒚 𝑑𝑡(𝑟+1)) is also called the “inverse” process model of the system corresponding to the output given in equation 𝒚 = [ 𝑦1 ⋮ 𝑦𝑚 ] = 𝐹 (𝒙, 𝒖, 𝑑𝒖 𝑑𝑡 , … , 𝑑𝑙𝒖 𝑑𝑡𝑙 ) ; 𝑙 ∈ 𝑁Trajectories of flux reference: 𝑖𝑚 ∗ + 2𝑇1 𝑑𝑖𝑚 ∗ 𝑑𝑡 + 𝑇1 2 𝑑2𝑖𝑚 ∗ 𝑑𝑡2 = 𝑖𝑚 𝑑 ⇔ 𝑑2𝑖𝑚 ∗ 𝑑𝑡2 = 1 𝑇1 2 (𝑖𝑚 𝑑 − 𝑖𝑚 ∗ − 2𝑇1 𝑑𝑖𝑚 ∗ 𝑑𝑡 ) (35) ‒ Speed reference trajectories Trajectories of speed reference are given as: 𝜔∗(𝑡) = { 𝜔0 + 𝑎11𝑡 + 𝑎21𝑡2 + 𝑎31𝑡3 + 𝑎41𝑡4 0 ≤ 𝑡 ≤ 2𝑡0 𝜔0 + 𝐴𝑡0 + 𝐴(𝑡 − 2𝑡0) 2𝑡0 < 𝑡 ≤ 𝑡𝐸 − 2𝑡0 𝑎02 + 𝑎12𝜏 + 𝑎22𝜏2 + 𝑎32𝜏3 + 𝑎42𝜏4 𝑡𝐸 − 2𝑡0 < 𝑡 ≤ 𝑡𝐸 (36) where: 𝐴 = 𝜔𝐸−𝜔0 𝑡𝐸−2𝑡0 ;𝜏 = 𝑡 − (𝑡𝑐 − 2𝑡0);𝑎11 = 𝑎21 = 0;𝑎31 = 1 4𝑡0 2 𝐴;𝑎41 = − 1 16𝑡0 3 𝐴 3.3.3. Feedback control design To handle the flux and the speed of the motor, the well-known PI controller is chosen. The detail equations of the flux and speed controller are described by (37) and (38), respectively: 𝑅𝜓 = 𝑉𝜓 1+𝑑𝜓𝑧−1 1−𝑧−1 𝑤𝑖𝑡ℎ𝑉𝜓 ≈ 1 3(1−𝑒 −𝑇𝜓 𝑇𝑟 ) ; 𝑑𝜓 ≈ 𝑒 −𝑇𝜓 𝑇𝑟 (37) 𝛥𝑖𝑠𝑞 = 𝐽1𝐽2𝛥𝜔 ⃛ 2+(𝑑𝐽1+𝑑𝐽2)𝛥𝜔 ̈ 2 𝑘𝜔𝑖𝑚𝑎𝑐 + (𝐽1𝑐+𝐽2𝑎𝑐)𝛥𝜔 ̇ 2 𝑘𝜔𝑖𝑚𝑎𝑐 (38) where: 𝛥𝑖𝑠𝑞 = 𝑖𝑠𝑞 ∗ − 𝑖𝑠𝑞 ∗𝑓𝑓 ; 𝛥𝜔2 = 𝜔 2 − 𝜔2 ∗ . Laplace transform of (38) provides the transfer function of error speed and flux: 𝛥𝜔2(𝑠) 𝛥𝑖𝑠𝑞(𝑠) = 𝑘𝜔𝑖𝑚𝑎𝑐 𝑠[𝐽1𝐽2𝑠2+(𝑑𝐽1+𝑑𝐽2)𝑠 +𝑐𝐽1+𝑎𝑐𝐽2] (39) Based on feedforward and feedback control design and trajectories of speed and flux reference the proposed control scheme for the two-mass system driven by the induction motor with perfect stator current controller is shown in Figure 4.
  • 8.  ISSN: 2302-9285 Bulletin of Electr Eng & Inf, Vol. 10, No. 2, April 2021: 569 – 579 576 Figure 4. Block diagram flatness-based control of two-mass system 4. RESULT AND DISCUSSION In this section, the proposed control strategy is verified by hardware-in-the-loop (HIL) simulation. The system hardware is simulated in real time on the HIL platform with a time step of 1μs that means very close to physical models, while the pulse width modulation carrier frequency is 5 kHz. Voltage and current controllers are implemented in DSP TMS320F2808. The simulation parameters are: rated power=2.2 kW; rated phase voltage=380/220 VRMS; rated frequency=50 Hz; d=0.015 Nm/rad; c=0.28 Nm/rad, J1=7.455 x10-5 Kgm2 ; J2=5.5913x10-5 Kgm2 ; with load torque is 1.5 Nm. Simulation scenario is: at t=0s, the magnetic current is formed. Then at t=0.5s, the motor starts to speed up to 1000 rpm. At t=2s, the reverse speed, the motor starts to reverse to -1000 rpm. In order to test the system ability, low speed range of 1 rpm is also applied in the simulation. This section provides evaluation of HIL results of speed response. The evaluation of difference speed control strategies for the two-mass system is shown in Figure 5 and Table 1. PI control Flatness-based control Backstepping method (a) PI control Flatness-based control Backstepping method (b) Figure 5. Speed response of Simulation/HIL platform at, (a) ±1 rpm, (b) ±1000 rpm PI control Flatness-based control Backstepping method w1 w2 +1rpm -1rpm +1rpm -1rpm +1rpm -1rpm At  1 rpm w1 w2 +1000rpm -1000rpm +1000rpm -1000rpm +1000rpm -1000rpm At  1000 rpm (a) (b) (c) PI control Flatness-based control Backstepping method w1 w2 +1rpm -1rpm +1rpm -1rpm +1rpm -1rpm At  1 rpm w1 w2 +1000rpm -1000rpm +1000rpm -1000rpm +1000rpm -1000rpm At  1000 rpm (a) (b) (c) PI control Flatness-based control Backstepping method w1 w2 +1rpm -1rpm +1rpm -1rpm +1rpm -1rpm At  1 rpm w1 w2 +1000rpm -1000rpm +1000rpm -1000rpm +1000rpm -1000rpm At  1000 rpm (a) (b) (c) PI control Flatness-based control Backstepping method w1 w2 +1rpm -1rpm +1rpm -1rpm +1rpm -1rpm At  1 rpm w1 w2 +1000rpm -1000rpm +1000rpm -1000rpm +1000rpm -1000rpm At  1000 rpm (a) (b) (c) PI control Flatness-based control Backstepping method w1 w2 +1rpm -1rpm +1rpm -1rpm +1rpm -1rpm At  1 rpm w1 w2 +1000rpm -1000rpm +1000rpm -1000rpm +1000rpm -1000rpm At  1000 rpm (a) (b) (c) PI control Flatness-based control Backstepping method w1 w2 +1rpm -1rpm +1rpm -1rpm +1rpm -1rpm At  1 rpm w1 w2 +1000rpm -1000rpm +1000rpm -1000rpm +1000rpm -1000rpm At  1000 rpm (a) (b) (c)
  • 9. Bulletin of Electr Eng & Inf ISSN: 2302-9285  Hardware-in-the-loop based comparative analysis of speed controllers… (Vo Thanh Ha) 577 Table 1. HIL results of the speed response Speed control At the speed of ±1 rpm At the speed of ±1000 rpm Deadbeat PI Deadbeat Backstepping Deadbeat Flatness Deadbeat PI Deadbeat Backstepping Deadbeat Flatness Accelerating time (s) 50 50 0 50 50 0 Speed settling time (s) 2.5 2.0 1.0 3.0 2.5 1.0 It is found that the nonlinear control method based on the flatness-based control principle gives better performance than the PI and backstepping controls, as the referenced load speed match with motor speed after a short period of time, 0.3 seconds at (±) 1 rpm and 0.5 seconds at (±) 1000 rpm (at up and reverse speed), without overshoot. That implies the speed controller based on the flatness-based control can suppress resonance oscillation over the entire operating range of the IM motor. From the results, it can be seen that the two-mass system with flexible couplings when operating at the speed of (±) 1000 rpm and even at the low speed range (±) 1 rpm, the nonlinear control method, based on the flatness-based control, has proved its advantage by solving the problem of resonant vibration suppression at the spindle compared to the PI controller and backstepping. Besides of at times of transition with fast setting time, without overshoot and load speed match with motor speed. In the following simulation scenario, the motor is set in field-weakening region. The magnetizing current responses are shown in Figure 6 and Figure 7. The three control methods show stable operation not only in nominal but also field weakening range. However, it can be seen that the flatness-based control gives better transient response, i.e., without overshoot, as seen in Figure 7, and shorter settling time (0.2s in comparison with 0.5s for PI control and backstepping method). (a) (b) Figure 6. (a) Torque responses, (b) Speed responses PI control Flatness-based control Backstepping control (a) (b) Figure 7. Controlled system performance, (a) Flux responses, (b) speed responses
  • 10.  ISSN: 2302-9285 Bulletin of Electr Eng & Inf, Vol. 10, No. 2, April 2021: 569 – 579 578 (c) Figure 7. Controlled system performance, (c) torque responses (continued) 5. CONCLUSION In this paper, the two-mass system with flexible couplings comprising of an induction motor and a load is considered. At the motor side, the current response is assumed to be ideal leading to a simplified system model. PI control, Flatness-based control, and backstepping control are employed to solve flux and speed control problems of the system. The HIL based test shows better control performances of flatness control compared to the other two schemes. This conclusion implies possibility of practical uses of flatness control in dealing with systems with flexible couplings. In the future research, in order to give a concrete evaluation, robustness experiments against varying system parameter and load disturbances will be carried out. REFERENCES [1] V. T. Ha, N. T. Lam, V. T. Ha, and V. Q. Vinh, “Advanced control structures for induction motors with ideal current loop response using field oriented control,” Int. J. Power Electron. Drive Syst., vol. 10, no. 4, pp. 1758- 1771, 2019. [2] D. Łuczak, “Mathematical model of multi-mass electric drive system with flexible connection,” 2014 19th Int. Conf. Methods Model. Autom. Robot. MMAR 2014, 2014, pp. 590-595. [3] C. Ma and Y. Hori, “Backlash vibration suppression control of torsional system by novel fractional order PIDk controller,” IEEJ Trans. Ind. Appl., vol. 124, no. 3, pp. 312–317, 2004. [4] P. J. Serkies and K. Szabat, “Model predictive control of the two-mass drive system with mechanical backlash,” Comput. Appl. Electr. Eng., vol. 9, pp. 170-180, 2011. [5] M. Mola, A. Khayatian, and M. Dehghani, “Backstepping position control of two-mass systems with unknown backlash,” 2013 9th Asian Control Conf. ASCC, 2013, pp. 1-6. [6] J. Vittek, V. Vavrúš, P. Briš, and L. Gorel, “Forced dynamics control of the elastic joint drive with single rotor position sensor,” Autom.-J. Control. Meas. Electron. Comput. Commun., vol. 54, no. 3, pp. 337-347, 2013. [7] S. Brock, D. Zuczak, K. Nowopolski, T. Pajchrowski, and K. Zawirski, “Two approaches to speed control for multi-mass system with variable mechanical parameters,” IEEE Trans. Ind. Electron., vol. 64, no. 4, pp. 3338- 3347, 2016. [8] J. Rigelsford, “Intelligent observer and control design for nonlinear systems,” Ind. Robot An Int. J., vol. 27, no. 4, 2000. [9] S. E. Saarakkala, M. Hinkkanen, and K. Zenger, “Speed control of two-mass mechanical loads in electric drives,” 2012 IEEE Energy Convers. Congr. Expo. ECCE, 2012, pp. 1246-1253. [10] S. Thomsen and F. W. Fuchs, “Flatness based speed control of drive systems with resonant loads,” IECON Proc. (Industrial Electron. Conf.), 2010, pp. 120-125. [11] L. T. Thi, L. N. Tung, C. Duc Thanh, D. N. Quang, and Q. N. Van, “Tension regulation of roll-to-roll systems with flexible couplings,” in Proceedings of 2019 International Conference on System Science and Engineering, ICSSE, 2019, pp. 441-444. [12] J. Kabzinski, “Adaptive control of two-mass drive system with nonlinear stiffness,” Przegląd Elektrotechniczny, vol. 1, no. 3, pp. 51-56, 2018. [13] S. Zhao and Z. Gao, “An active disturbance rejection based approach to vibration suppression in two-inertia systems,” Asian J. Control, vol. 15, no. 2, pp. 350-362, 2013. [14] H. Ikeda, T. Hanamoto, T. Tsuji, and M. Tomizuka, “Design of vibration suppression controller for 3-inertia system using Taguchi Method,” Int. Symp. Power Electron. Electr. Drives, Autom. Motion, SPEEDAM, 2006, vol. 2006, no. 3, pp. 1045-1050. [15] H. Ikeda and T. Hanamoto, “Fuzzy controller of multi-inertia resonance system designed by differential evolution,” 2013 Int. Conf. Electr. Mach. Syst. ICEMS, 2013, vol. 3, no. 2, pp. 2291-2295. [16] R. Zhang and C. Tong, “Torsional vibration control of the main drive system of a rolling mill based on an extended state observer and linear quadratic control,” JVC/Journal Vib. Control, vol. 12, no. 3, pp. 313-327, 2006. [17] Y. Hori, H. Sawada, and Y. Chun, “Slow resonance ratio control for vibration suppression and disturbance rejection in torsional system,” IEEE Trans. Ind. Electron., vol. 46, no. 1, pp. 162-168, 1999.
  • 11. Bulletin of Electr Eng & Inf ISSN: 2302-9285  Hardware-in-the-loop based comparative analysis of speed controllers… (Vo Thanh Ha) 579 [18] D. Luczak, P. Siwek, and K. Nowopolski, “Speed controller for four-mass mechanical system with two drive units,” Proc.-2015 IEEE 2nd Int. Conf. Cybern., CYBCONF, 2015, pp. 449-454. [19] M. Valásek, “Design of nonlinear control of nonlinear multibody systems,” in Virtual Nonlinear Multibody Systems, vol. 103, pp. 263-278, 2012. [20] K. Nowopolski, B. Wicher, D. Łuczak, and P. Siwek, “Recursive neural network as speed controller for two-sided electrical drive with complex mechanical structure,” 2017 22nd Int. Conf. Methods Model. Autom. Robot. MMAR, 2017, pp. 576-581. [21] K. T. Nam, S. J. Lee, T. Y. Kuc, and H. Kim, “Position and velocity estimation for two-inertia system with nonlinear stiffness based on acceleration sensor,” Sensors (Switzerland), vol. 16, no. 1, pp. 1-10, 2016. [22] P. Serkies, “Comparison of the control methods of electrical drives with an elastic coupling allowing to limit the torsional torque amplitude,” Eksploatacja i Niezawodnść, vol. 19, no. 2, pp. 203-210, 2017. [23] G. Zhang and J. Furusho, “Speed control of two-inertia system by PI/PID control,” IEEE Trans. Ind. Electron., vol. 47, no. 3, pp. 603-609, 2000. [24] K. Szabat and T. Orlowska-Kowalska, “Vibration suppression in a two-mass drive system using PI speed controller and additional feedbacks-comparative study,” IEEE Trans. Ind. Electron., vol. 54, no. 2, pp. 1193-1206, 2007. [25] V. T. Ha, N. D. N. Le Trong Tan, and N. P. Quang, “Backstepping control of two-mass system using induction motor drive fed by voltage source inverter with ideal control performance of stator current,” Int. J. Power Electron. Drive Syst., vol. 2088, no. 8694, pp. 720-730, 2019. [26] V. T. Ha and N. P. Quang, “Flatness-based control design for two-mass system using induction motor drive fed by voltage source inverter with ideal control performance of stator current,” Engineer of the XXI Century, Springer, Cham, pp. 39-50, 2020.