NHA2414 - Lecture - 1-2 Control System Introduction
NHA2414 - Lecture - 1-2 Control System Introduction
(Module NHA2414))
LECTURE 1-2
CONTROL SYSTEM INTRODUCTION
Dr Bo Liang
Department of Engineering and Technology.
University of Huddersfield
1
Control system
Generally speaking, a control system is a system
that is used to realize a desired output or
objective.
2
Control System Configurations
Speed
output
4
Closed-loop control system for a car driving (with feedback)
5
Open-loop and Closed-loop Control Response
6
Another example for an open and closed loop control of disk speed
FIGURE (a) Open-loop (without feedback) control of the speed of a rotating disk. (b) Block diagram model.
FIGURE (a) Closed-loop control of the speed of a rotating disk. (b) Block diagram model
A few concepts for differential equations
What are differential equations?
Equations containing derivatives are differential equations (DE).
𝑑𝑥 𝑑2𝑥 𝑑 𝑛
𝑥
𝑥ሶ = 𝑥ሷ = 2 ….. 𝑥 (𝑛) = 𝑛
𝑑𝑡 𝑑𝑡 𝑑𝑡
First ODE Second ODE nth ODE
Why differential equations?
In order to understand and to investigate problems involving a dynamic
system, we need to build up mathematical modals for the system. Normally
differential equations are the bases and tools for a mathematical modelling of
the dynamic system.
Homogenous and Nonhomogeneous DE?
3𝑥ሷ + 7𝑥ሶ + 2𝑥 = 0 3𝑥ሷ + 7𝑥ሶ + 2𝑥 = 5 + 𝑠𝑖𝑛𝑡
Normally we call the dependant variable as the solution or response (put them on the left
side of =), and any other independent constants or functions of time on the right side of =
If the right hand side is zero, the equation is homogenous DE Otherwise, it is nonhomogeneous DE.
8
First order differential equation (ODE) modelling for a car
63% Vss
(𝜏)
9
1𝜏
Second order differential equation (ODE) modelling for a car suspension
(without ground moving up and down)
𝑘
→ 𝑦ሷ + 2𝜉𝜔𝑛 𝑦ሶ + 𝜔𝑛2 𝑦 = 0
𝜔𝑛 = rad/s
𝑚
𝑐 𝑐 𝑐
𝜉= = =
𝑐𝑐 2 𝑚𝑘 2𝑚𝜔𝑛
𝑑 2 𝑦1 𝑑(𝑦1 − 𝑦2 )
𝑚 = −𝑘(𝑦1 − 𝑦2 ) − 𝑐
𝑑𝑡 2 𝑑𝑡
𝑑 2 𝑦1 𝑑𝑦1 𝑑𝑦2
→ 𝑚 2 + 𝑘𝑦1 + 𝑐 = 𝑘𝑦2 + 𝑐
𝑑𝑡 𝑑𝑡 𝑑𝑡 11
Asteroid exploration
Segway scooter
Aircraft control
17
Matlab/Simulink Software
(Mathworks)
18
Matlab/Simulink Software
(Mathworks)
19
Example: An airplane roll angle control
The control of the roll angle of an airplane is achieved by using the torque
developed the ailerons. A linear model of the roll control system for a small
experimental aircraft is shown. Where
1
𝐺 𝑠 = 2
𝑠 + 4𝑠 + 9
Select the appropriate gain values for kp , kI and kd that will give a desirable
transient response for the airplane.
kI
C (s) = k p + + kD s
s
Φr e u Φ
Controller airplane
+
_ C(s) G(s)
Close-loop system
20
PID controller for airplane roll angle control (Matlab code)
% PID controller for airplane roll angle control
% The plane transfer function: 1/(s2+4s+9)
𝑘
% The controller transfer function: (𝑘𝑝 + 𝑠𝑖 + 𝑘𝑑 𝑠)
num=1;
denom=[1 4 9];
G_plane=tf(num,denom);
H=1;
No_pid_control=feedback(G_plane,H)
step(No_pid_control)
axis([0 5 0 1.6])
grid, hold on
With_pid_controller=feedback(pid_controller*G_plane,H);
step(With_pid_controller)
21
The Multibody Dynamics Simulation Solution
There are many Multibody Dynamics Software which are used by leading
companies in multiple industries to develop and test the products we see
everyday
22
End
23