Professional Documents
Culture Documents
Engineering
Design of Digital Controller
Dr. Syed Saad Azhar Ali
saad.azhar@petronas.com.my
23-03-06
7838
Reminder
Course Outcomes
Upon the completion of the course, you are expected to be able to:
1.
2.
Analyze and design of linear control systems for stability, controllability and
observability
3.
Design and analyze digital controller using transform method for SISO systems
4.
5.
used forfor
digital
system analysis and design.
LQRcontrol
systems
Construct optimal control strategy
Last Lesson
Introduction
What and why of Digital Control
Review of Continuous and Discrete-time signals and systems
Basic block diagram of Digital Control System
A/D and D/A
This Lesson . . .
Effect of Zero Order Hold
Overall transfer function
keep output fixed at latest digital value until the next sample time arrives
The ZOH introduces a significant time delay unless the sampling frequency is
very high.
r*(t)
ZOH
c(t)
(t)
c(t)
Time
s s
s
Second Order Hold: rather than straight line, parabolic lines from one sample to the
next one.
Analog
System
Continued
Effect of ZOH
Zero Order
Hold
So whenever you see an
analog system with ZOH
Analog
System
How to get
Review from DSP
Impulse Invariance Method with sampling Period T
Obtain partial fraction expansion for G(s) as
++
Obtain G(Z) as
++
Bilinear Method
Replace to get G(Z)
Example 1
A sampled-data system for a plant in open-loop form is shown in
the figure. The open-loop transfer function of the plant G(s), is given as
1
G (s)
s ( s 1)
ZOH
U(s)
G(s)
Y(s)
T=1 sec
a.
b.
Example 2
a.The sampled-data control system of the plant in its closed-loop form
is as shown.
1
G (s)
s ( s 1)
ZOH
R(s)
-
G(s)
T=1 sec
Y(s)
Example 3
Find GZAS(Z) for the cruise control system for the vehicle, where u is
the input force, v is the velocity of the car, and b is the viscous friction coefficient.
In this approach,
we design a continuous-time controller
(Simple PI Controller that meets all design
specifications.
Then discretize it using a bilinear
transformation or other discretization
technique to obtain an equivalent digital
controller.
Design Example 4
Consider a car (BMW), which has a weight m = 1000 kg.
Assuming the average friction coefficient b = 100, design a
cruise control system such that the car can reach 100 km/h
from 0 km/h in 8 s with an overshoot less 20%.
V erif i
cation th rou g h S IM U LIN K
Effective
Bandwidth
at -3dB
1.8rad/sec
We first discretize
the continuoustime PI control law
with
T = 1/(300.3)
0.1 seconds, using
a bilinear
transformation
method, i.e.,
Remark:
Performance is
about
the same as the
continuous-time
case.
Observe Overshoot
We now
discretize the
continuoustime PI control
law with T =
1/(60.3)
0.6 seconds
using the
bilinear
transformatio
n method, i.e.,
Remarks:
Performance is not
as good as the
continuous-time
case.
End of Lecture 2
This lecture covered
Effects of ZOH
How to obtain overall TF with Sampler and
ZOH
Design of a simple Digital PI controller
Next Lecture
Detailed analysis of Digital Control