SlideShare a Scribd company logo
1 of 39
AE 590
Special Topics:
Digital Techniques in
Aerospace
Engineering
Semester 231
Dr. Syed Saad Azhar Ali
75-110
syed.ali@kfupm.edu.sa
Digital Controller Design
Design and analyze digital controller using transform method for SISO systems
The learning outcomes related to Digital control design.
• Have basic knowledge and understanding of the methods
used for digital control system analysis and design.
• Be able to design a PI/PID digital controller for a system.
What are we going to cover…?
Digital Control Systems
Discretization of Continuous Time Systems
Digital PI & PID Controller Design
)
(
1
)
(
1
s
s
s
G


Determine the z-transfer function of the equivalent digital plant, using a sampling period of T = 1 sec.
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
Example 1
ZOH G(s) Y(s)
U(s)
T=1 sec
Zero order hold
The output can be expressed as,
Therefore, GZOH (s), the transfer function of ZOH is:
Remember that the input is an
impulse… R(s) = 1
ZOH
r(t) r*(t) c(t)
r(t)=
c(t)
(t)
T
Time
s
e sT
sT

 




1
e
s
1
s
1
C(s)
T)
u(t-
-
u(t)
c(t)
s
e sT



1
)
(s
GZOH
First Order and Second Order Hold .. ?
• First Order Hold: Rather than a flat line, slopes are taken. Straight line from
one sample to the next one.
• Second Order Hold: rather than straight line, parabolic lines from one
sample to the next one.
Effect of Zero Order Hold
Analog System
Zero Order
Hold
…Continued Effect of ZOH
• Now if GZA(s) is sampled and then converted to Z-domain…
{Ref: FYI see handout for derivation}
Zero Order
Hold
Analog
System
• Transform GZA(s) into time domain by taking
Laplace inverse to get gZA(t).
• Then sample it to get gZAS(t)…
• Then take Z-Transform to get GZAS(s)
the resulting TF is:
So whenever you see an analog
system with ZOH…
How to get
– Impulse Invariance Method with sampling Period T
• Obtain partial fraction expansion for G(s) as
𝐺 𝑠 =
𝐴1
𝑠−𝑝1
+
𝐴2
𝑠−𝑝2
+
𝐴3
𝑠−𝑝3
…
• Obtain G(Z) as
𝐺 𝑍 =
𝐴1𝑇
1−𝑒𝑝1𝑇𝑍−1+
𝐴2𝑇
1−𝑒𝑝2𝑇𝑍−1+
𝐴3𝑇
1−𝑒𝑝3𝑇𝑍−1…
– Bilinear Transformation Method
• Replace 𝑠 =
2
𝑇
𝑍−1
𝑍+1
to get G(Z)
Determine the closed-loop transfer function, Y(z)/R(z).
a. The sampled-data control system of the plant in its closed-loop form
is as shown.
)
(
1
)
(
1
s
s
s
G


ZOH G(s) Y(s)
R(s)
T=1 sec
+
-
Example 2
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.
The corresponding partial fraction expansion with 1/s is
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.
• This method works if the sampling rate is high enough. Normally 30 times
faster than the system bandwidth.
• Further refinement is necessary for the case where the sampling rate is not
high enough. Normally less than 10 times the bandwidth.
Digital control system design using emulation
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%.
• Let us try a PI controller, i.e.,
• The first component is proportional to the error and the second
consists of an integration action.
…. P I D
• Following results derived earlier, we have
Design Example 4
Deriving ζ and ωn from the design specifications
Calculating desired controller parameters
Recall from ( * ) the closed-loop transfer function of the cruise control
system with the PI control law, i.e.,
and the desired transfer function that produces desired performance
Comparing the coefficients on the denominators, we have
Verification through SIMULINK
Effective
Bandwidth
at -3dB
1.8rad/sec
Digital controller with a sampling rate 30 times the bandwidth
We first discretize the
continuous-time PI
control law with
T = 1/(30×0.3) ≈ 0.1
seconds, using a
bilinear
transformation
method, i.e.,
Remark:
Performance is about
the same as the
continuous-time case.
Digital controller with a sampling rate 6 times the bandwidth
We now
discretize the
continuous-time
PI control law
with T =
1/(6×0.3) ≈ 0.6
seconds using
the bilinear
transformation
method, i.e.,
Remarks:
Performance is not as
good as the
continuous-time case.
Observe Overshoot
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%.
• Let us try a PI controller, i.e.,
• The first component is proportional to the error and the second
consists of an integration action.
…. P I D
• Following results derived earlier, we have
Design Example 4
Deriving ζ and ωn from the design specifications
Calculating desired controller parameters
Recall from ( * ) the closed-loop transfer function of the cruise control
system with the PI control law, i.e.,
and the desired transfer function that produces desired performance
Comparing the coefficients on the denominators, we have
Verification through SIMULINK
Effective
Bandwidth
at -3dB
1.8rad/sec
Digital controller with a sampling rate 30 times the bandwidth
We first discretize the
continuous-time PI
control law with
T = 1/(30×0.3) ≈ 0.1
seconds, using a
bilinear
transformation
method, i.e.,
Remark:
Performance is about
the same as the
continuous-time case.
Digital controller with a sampling rate 6 times the bandwidth
We now
discretize the
continuous-time
PI control law
with T =
1/(6×0.3) ≈ 0.6
seconds using
the bilinear
transformation
method, i.e.,
Remarks:
Performance is not as
good as the
continuous-time case.
Observe Overshoot
Digital PID control system design via pole placement technique
In this approach,
• we discretize the continuous-time plant first and
• then design a digital controller using the well known PID framework.
PID Control
PID control is widely used in process control and most of industrial control systems.
Unknown source reports that more than 90% of industrial processes are actually
controlled by PID type of controllers. PID control consists of three essential components,
namely, P (proportional control), I (integral control) and D (derivative control).
Proportional Control
• A discrete implementation of proportional control is identical to continuous.
The continuous is
• The discrete is
where e(t) or e(k) is the error signal as given in the feedback block diagram.
PID Control
• Derivative Control
• The continuous derivative control is
• The discrete derivative control is
PID Control
• Integral Control
• The continuous Integral control is
• The discrete integral control is
PID Control (Conventional)
PID Control (Bilinear Transformation)
Calculating desired controller parameters
Design example:
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%.
Assuming the sampling period T = 0.6 seconds, design a digital PI controller that achieve the above
specifications.
First Step..??
Discretized plant with digital PI controller:
The resulting closed-loop transfer function from r to y is given by
Deriving ζ and ωn from the design specifications
Constant ζ and ωn contours in the z-plane.
ζ values
ωn values
e.g.
ζ = 0.1
ωn = 0.4
𝜋
𝑇
Desired closed-loop transfer function
From the design, we obtain the desired ζ = 0.7 and ωn = 0.82 in continuous setting, which
would achieve the design specifications. Using the following chart with T = 0.6
ζ = 0.7
Determination of the PI controller parameters
Comparing the denominator of the actual closed-loop transfer function
with that of the desired one
we obtain
and a digital PI controller
Note: We cannot do much with the numerators of these transfer
functions. It does affect the overall performance.
Simulation of the digital controller with discretized plant
We simulate the digital controller with the discretized plant to see whether the specifications are
fulfilled in the discrete-time setting:
Remark: The overshoot is slightly larger than the
design specification. But, the settling time meets the specification. The performance can be fine tuned by re-
selecting the desired pole locations in z-plane.
Simulation of the digital controller with actual plant
We simulate the digital controller with the actual plant.
Remark: When the control law is implemented onto the
actual continuous-time plant, the overshoot and the
settling time are about the same as those obtained with
the discretized system. All design specifications are met
with a sampling period T = 0.6 seconds.

More Related Content

What's hot

Smps half bridge ir2153 2.0 esquema
Smps half bridge ir2153 2.0   esquemaSmps half bridge ir2153 2.0   esquema
Smps half bridge ir2153 2.0 esquemaDonde ya tu sabes!!!
 
Solutions manual for cmos digital integrated circuits analysis and design 4th...
Solutions manual for cmos digital integrated circuits analysis and design 4th...Solutions manual for cmos digital integrated circuits analysis and design 4th...
Solutions manual for cmos digital integrated circuits analysis and design 4th...Blitzer567
 
Asco Series 551, 552, 553, Pilot Solenoid Valves, Atex Hazardous Areas - Proc...
Asco Series 551, 552, 553, Pilot Solenoid Valves, Atex Hazardous Areas - Proc...Asco Series 551, 552, 553, Pilot Solenoid Valves, Atex Hazardous Areas - Proc...
Asco Series 551, 552, 553, Pilot Solenoid Valves, Atex Hazardous Areas - Proc...Thorne & Derrick UK
 
Summer Internship Report on PLC
Summer Internship Report on PLCSummer Internship Report on PLC
Summer Internship Report on PLCSudeep Giri
 
Cavitation Control in Process Control Valves
Cavitation Control in Process Control ValvesCavitation Control in Process Control Valves
Cavitation Control in Process Control ValvesAnalynk Wireless, LLC
 
SCADA Masterclass Presentation on power transmission substations
SCADA Masterclass Presentation on power transmission substationsSCADA Masterclass Presentation on power transmission substations
SCADA Masterclass Presentation on power transmission substationsBeatrice Terer
 
Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)Elaf A.Saeed
 
Tabela das transformada de laplace
Tabela das transformada de laplaceTabela das transformada de laplace
Tabela das transformada de laplaceMarcio Chagas
 
Designing of 8 BIT Arithmetic and Logical Unit and implementing on Xilinx Ver...
Designing of 8 BIT Arithmetic and Logical Unit and implementing on Xilinx Ver...Designing of 8 BIT Arithmetic and Logical Unit and implementing on Xilinx Ver...
Designing of 8 BIT Arithmetic and Logical Unit and implementing on Xilinx Ver...Rahul Borthakur
 
Fundamentos de VHDL em Lógica Programável v1.1
Fundamentos de VHDL em Lógica Programável v1.1Fundamentos de VHDL em Lógica Programável v1.1
Fundamentos de VHDL em Lógica Programável v1.1Alcides Costa
 
Practical Distributed Control Systems (DCS) for Engineers and Technicians
Practical Distributed Control Systems (DCS) for Engineers and TechniciansPractical Distributed Control Systems (DCS) for Engineers and Technicians
Practical Distributed Control Systems (DCS) for Engineers and TechniciansLiving Online
 
Stahl 8579 - 63Amp Plugs & Switched Sockets & Couplers Zone 1 & 2 (ATEX IECEx)
Stahl 8579 - 63Amp Plugs & Switched Sockets & Couplers Zone 1 & 2 (ATEX IECEx)Stahl 8579 - 63Amp Plugs & Switched Sockets & Couplers Zone 1 & 2 (ATEX IECEx)
Stahl 8579 - 63Amp Plugs & Switched Sockets & Couplers Zone 1 & 2 (ATEX IECEx)Thorne & Derrick International
 
Acionamento de máquinas elétricas richard stephan
Acionamento de máquinas elétricas   richard stephanAcionamento de máquinas elétricas   richard stephan
Acionamento de máquinas elétricas richard stephanSamuel Leite
 
DCS ( Distributed Control System )
DCS ( Distributed Control System )DCS ( Distributed Control System )
DCS ( Distributed Control System )Automation123
 
Scada system ( Overview )
Scada system ( Overview )Scada system ( Overview )
Scada system ( Overview )Ali Al Sarraf
 

What's hot (20)

Robótica com Arduino
Robótica com ArduinoRobótica com Arduino
Robótica com Arduino
 
Smps half bridge ir2153 2.0 esquema
Smps half bridge ir2153 2.0   esquemaSmps half bridge ir2153 2.0   esquema
Smps half bridge ir2153 2.0 esquema
 
Solutions manual for cmos digital integrated circuits analysis and design 4th...
Solutions manual for cmos digital integrated circuits analysis and design 4th...Solutions manual for cmos digital integrated circuits analysis and design 4th...
Solutions manual for cmos digital integrated circuits analysis and design 4th...
 
Perfil u americano
Perfil u americanoPerfil u americano
Perfil u americano
 
Rs 422
Rs 422Rs 422
Rs 422
 
Asco Series 551, 552, 553, Pilot Solenoid Valves, Atex Hazardous Areas - Proc...
Asco Series 551, 552, 553, Pilot Solenoid Valves, Atex Hazardous Areas - Proc...Asco Series 551, 552, 553, Pilot Solenoid Valves, Atex Hazardous Areas - Proc...
Asco Series 551, 552, 553, Pilot Solenoid Valves, Atex Hazardous Areas - Proc...
 
Summer Internship Report on PLC
Summer Internship Report on PLCSummer Internship Report on PLC
Summer Internship Report on PLC
 
Cavitation Control in Process Control Valves
Cavitation Control in Process Control ValvesCavitation Control in Process Control Valves
Cavitation Control in Process Control Valves
 
SCADA Masterclass Presentation on power transmission substations
SCADA Masterclass Presentation on power transmission substationsSCADA Masterclass Presentation on power transmission substations
SCADA Masterclass Presentation on power transmission substations
 
Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)
 
Tabela das transformada de laplace
Tabela das transformada de laplaceTabela das transformada de laplace
Tabela das transformada de laplace
 
Designing of 8 BIT Arithmetic and Logical Unit and implementing on Xilinx Ver...
Designing of 8 BIT Arithmetic and Logical Unit and implementing on Xilinx Ver...Designing of 8 BIT Arithmetic and Logical Unit and implementing on Xilinx Ver...
Designing of 8 BIT Arithmetic and Logical Unit and implementing on Xilinx Ver...
 
ECAD lab manual
ECAD lab manualECAD lab manual
ECAD lab manual
 
Fundamentos de VHDL em Lógica Programável v1.1
Fundamentos de VHDL em Lógica Programável v1.1Fundamentos de VHDL em Lógica Programável v1.1
Fundamentos de VHDL em Lógica Programável v1.1
 
Practical Distributed Control Systems (DCS) for Engineers and Technicians
Practical Distributed Control Systems (DCS) for Engineers and TechniciansPractical Distributed Control Systems (DCS) for Engineers and Technicians
Practical Distributed Control Systems (DCS) for Engineers and Technicians
 
Stahl 8579 - 63Amp Plugs & Switched Sockets & Couplers Zone 1 & 2 (ATEX IECEx)
Stahl 8579 - 63Amp Plugs & Switched Sockets & Couplers Zone 1 & 2 (ATEX IECEx)Stahl 8579 - 63Amp Plugs & Switched Sockets & Couplers Zone 1 & 2 (ATEX IECEx)
Stahl 8579 - 63Amp Plugs & Switched Sockets & Couplers Zone 1 & 2 (ATEX IECEx)
 
Acionamento de máquinas elétricas richard stephan
Acionamento de máquinas elétricas   richard stephanAcionamento de máquinas elétricas   richard stephan
Acionamento de máquinas elétricas richard stephan
 
Yokogawa Centum VP
Yokogawa Centum VPYokogawa Centum VP
Yokogawa Centum VP
 
DCS ( Distributed Control System )
DCS ( Distributed Control System )DCS ( Distributed Control System )
DCS ( Distributed Control System )
 
Scada system ( Overview )
Scada system ( Overview )Scada system ( Overview )
Scada system ( Overview )
 

Similar to 10 Discrete Time Controller Design.pptx

05 tuning.pid.controllers
05 tuning.pid.controllers05 tuning.pid.controllers
05 tuning.pid.controllersMahmoud Hussein
 
PID-Control_automation_Engineering_chapter6.ppt
PID-Control_automation_Engineering_chapter6.pptPID-Control_automation_Engineering_chapter6.ppt
PID-Control_automation_Engineering_chapter6.pptmohamed abd elrazek
 
Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...MIbrar4
 
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...IRJET Journal
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningAmr E. Mohamed
 
Control tutorials for matlab and simulink introduction pid controller desig...
Control tutorials for matlab and simulink   introduction pid controller desig...Control tutorials for matlab and simulink   introduction pid controller desig...
Control tutorials for matlab and simulink introduction pid controller desig...ssuser27c61e
 
Project Review ppt for reference only for PG students
Project Review ppt for reference only for PG studentsProject Review ppt for reference only for PG students
Project Review ppt for reference only for PG studentsssusere28fc7
 
PID Control of Runaway Processes - Greg McMillan Deminar
PID Control of Runaway Processes - Greg McMillan DeminarPID Control of Runaway Processes - Greg McMillan Deminar
PID Control of Runaway Processes - Greg McMillan DeminarJim Cahill
 
Simulation of an Active Suspension Using PID Control
Simulation of an Active Suspension Using PID ControlSimulation of an Active Suspension Using PID Control
Simulation of an Active Suspension Using PID ControlSuzana Avila
 
Design of multiloop controller for
Design of multiloop controller forDesign of multiloop controller for
Design of multiloop controller forijsc
 
PID Control of True Integrating Processes - Greg McMillan Deminar
PID Control of True Integrating Processes - Greg McMillan DeminarPID Control of True Integrating Processes - Greg McMillan Deminar
PID Control of True Integrating Processes - Greg McMillan DeminarJim Cahill
 
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy ControllerIRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy ControllerIRJET Journal
 
Development of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterDevelopment of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterIJPEDS-IAES
 
BALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptxBALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptxOthmanBensaoud
 
Design of Multiloop Controller for Three Tank Process Using CDM Techniques
Design of Multiloop Controller for Three Tank Process Using CDM Techniques  Design of Multiloop Controller for Three Tank Process Using CDM Techniques
Design of Multiloop Controller for Three Tank Process Using CDM Techniques ijsc
 
PPT ON BODE INTEGRAL METHOD FOR HEADBOX
PPT ON BODE INTEGRAL METHOD FOR HEADBOXPPT ON BODE INTEGRAL METHOD FOR HEADBOX
PPT ON BODE INTEGRAL METHOD FOR HEADBOXSheikh Ishfaq
 

Similar to 10 Discrete Time Controller Design.pptx (20)

1578385.ppt
1578385.ppt1578385.ppt
1578385.ppt
 
Pid controller
Pid controllerPid controller
Pid controller
 
05 tuning.pid.controllers
05 tuning.pid.controllers05 tuning.pid.controllers
05 tuning.pid.controllers
 
PID-Control_automation_Engineering_chapter6.ppt
PID-Control_automation_Engineering_chapter6.pptPID-Control_automation_Engineering_chapter6.ppt
PID-Control_automation_Engineering_chapter6.ppt
 
Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...
 
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
Robust PID Controller Design for Non-Minimum Phase Systems using Magnitude Op...
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
 
Control tutorials for matlab and simulink introduction pid controller desig...
Control tutorials for matlab and simulink   introduction pid controller desig...Control tutorials for matlab and simulink   introduction pid controller desig...
Control tutorials for matlab and simulink introduction pid controller desig...
 
Project Review ppt for reference only for PG students
Project Review ppt for reference only for PG studentsProject Review ppt for reference only for PG students
Project Review ppt for reference only for PG students
 
PID Control
PID ControlPID Control
PID Control
 
PID Control of Runaway Processes - Greg McMillan Deminar
PID Control of Runaway Processes - Greg McMillan DeminarPID Control of Runaway Processes - Greg McMillan Deminar
PID Control of Runaway Processes - Greg McMillan Deminar
 
Simulation of an Active Suspension Using PID Control
Simulation of an Active Suspension Using PID ControlSimulation of an Active Suspension Using PID Control
Simulation of an Active Suspension Using PID Control
 
Design of multiloop controller for
Design of multiloop controller forDesign of multiloop controller for
Design of multiloop controller for
 
PID Control of True Integrating Processes - Greg McMillan Deminar
PID Control of True Integrating Processes - Greg McMillan DeminarPID Control of True Integrating Processes - Greg McMillan Deminar
PID Control of True Integrating Processes - Greg McMillan Deminar
 
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy ControllerIRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
 
Development of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterDevelopment of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck Converter
 
BALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptxBALLANDBEAM_GROUP7.pptx
BALLANDBEAM_GROUP7.pptx
 
Design of Multiloop Controller for Three Tank Process Using CDM Techniques
Design of Multiloop Controller for Three Tank Process Using CDM Techniques  Design of Multiloop Controller for Three Tank Process Using CDM Techniques
Design of Multiloop Controller for Three Tank Process Using CDM Techniques
 
PPT ON BODE INTEGRAL METHOD FOR HEADBOX
PPT ON BODE INTEGRAL METHOD FOR HEADBOXPPT ON BODE INTEGRAL METHOD FOR HEADBOX
PPT ON BODE INTEGRAL METHOD FOR HEADBOX
 
Co36544546
Co36544546Co36544546
Co36544546
 

Recently uploaded

Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 

Recently uploaded (20)

Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 

10 Discrete Time Controller Design.pptx

  • 1. AE 590 Special Topics: Digital Techniques in Aerospace Engineering Semester 231 Dr. Syed Saad Azhar Ali 75-110 syed.ali@kfupm.edu.sa
  • 2. Digital Controller Design Design and analyze digital controller using transform method for SISO systems The learning outcomes related to Digital control design. • Have basic knowledge and understanding of the methods used for digital control system analysis and design. • Be able to design a PI/PID digital controller for a system.
  • 3. What are we going to cover…? Digital Control Systems Discretization of Continuous Time Systems Digital PI & PID Controller Design
  • 4. ) ( 1 ) ( 1 s s s G   Determine the z-transfer function of the equivalent digital plant, using a sampling period of T = 1 sec. 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 Example 1 ZOH G(s) Y(s) U(s) T=1 sec
  • 5. Zero order hold The output can be expressed as, Therefore, GZOH (s), the transfer function of ZOH is: Remember that the input is an impulse… R(s) = 1 ZOH r(t) r*(t) c(t) r(t)= c(t) (t) T Time s e sT sT        1 e s 1 s 1 C(s) T) u(t- - u(t) c(t) s e sT    1 ) (s GZOH
  • 6. First Order and Second Order Hold .. ? • First Order Hold: Rather than a flat line, slopes are taken. Straight line from one sample to the next one. • Second Order Hold: rather than straight line, parabolic lines from one sample to the next one.
  • 7. Effect of Zero Order Hold Analog System Zero Order Hold
  • 8. …Continued Effect of ZOH • Now if GZA(s) is sampled and then converted to Z-domain… {Ref: FYI see handout for derivation} Zero Order Hold Analog System • Transform GZA(s) into time domain by taking Laplace inverse to get gZA(t). • Then sample it to get gZAS(t)… • Then take Z-Transform to get GZAS(s) the resulting TF is: So whenever you see an analog system with ZOH…
  • 9. How to get – Impulse Invariance Method with sampling Period T • Obtain partial fraction expansion for G(s) as 𝐺 𝑠 = 𝐴1 𝑠−𝑝1 + 𝐴2 𝑠−𝑝2 + 𝐴3 𝑠−𝑝3 … • Obtain G(Z) as 𝐺 𝑍 = 𝐴1𝑇 1−𝑒𝑝1𝑇𝑍−1+ 𝐴2𝑇 1−𝑒𝑝2𝑇𝑍−1+ 𝐴3𝑇 1−𝑒𝑝3𝑇𝑍−1… – Bilinear Transformation Method • Replace 𝑠 = 2 𝑇 𝑍−1 𝑍+1 to get G(Z)
  • 10. Determine the closed-loop transfer function, Y(z)/R(z). a. The sampled-data control system of the plant in its closed-loop form is as shown. ) ( 1 ) ( 1 s s s G   ZOH G(s) Y(s) R(s) T=1 sec + - Example 2
  • 11. 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.
  • 12. The corresponding partial fraction expansion with 1/s is
  • 13. 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. • This method works if the sampling rate is high enough. Normally 30 times faster than the system bandwidth. • Further refinement is necessary for the case where the sampling rate is not high enough. Normally less than 10 times the bandwidth. Digital control system design using emulation
  • 14. 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%. • Let us try a PI controller, i.e., • The first component is proportional to the error and the second consists of an integration action. …. P I D • Following results derived earlier, we have Design Example 4
  • 15. Deriving ζ and ωn from the design specifications
  • 16. Calculating desired controller parameters Recall from ( * ) the closed-loop transfer function of the cruise control system with the PI control law, i.e., and the desired transfer function that produces desired performance Comparing the coefficients on the denominators, we have
  • 18. Digital controller with a sampling rate 30 times the bandwidth We first discretize the continuous-time PI control law with T = 1/(30×0.3) ≈ 0.1 seconds, using a bilinear transformation method, i.e., Remark: Performance is about the same as the continuous-time case.
  • 19. Digital controller with a sampling rate 6 times the bandwidth We now discretize the continuous-time PI control law with T = 1/(6×0.3) ≈ 0.6 seconds using the bilinear transformation method, i.e., Remarks: Performance is not as good as the continuous-time case. Observe Overshoot
  • 20. 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%. • Let us try a PI controller, i.e., • The first component is proportional to the error and the second consists of an integration action. …. P I D • Following results derived earlier, we have Design Example 4
  • 21. Deriving ζ and ωn from the design specifications
  • 22. Calculating desired controller parameters Recall from ( * ) the closed-loop transfer function of the cruise control system with the PI control law, i.e., and the desired transfer function that produces desired performance Comparing the coefficients on the denominators, we have
  • 24. Digital controller with a sampling rate 30 times the bandwidth We first discretize the continuous-time PI control law with T = 1/(30×0.3) ≈ 0.1 seconds, using a bilinear transformation method, i.e., Remark: Performance is about the same as the continuous-time case.
  • 25. Digital controller with a sampling rate 6 times the bandwidth We now discretize the continuous-time PI control law with T = 1/(6×0.3) ≈ 0.6 seconds using the bilinear transformation method, i.e., Remarks: Performance is not as good as the continuous-time case. Observe Overshoot
  • 26. Digital PID control system design via pole placement technique In this approach, • we discretize the continuous-time plant first and • then design a digital controller using the well known PID framework.
  • 27. PID Control PID control is widely used in process control and most of industrial control systems. Unknown source reports that more than 90% of industrial processes are actually controlled by PID type of controllers. PID control consists of three essential components, namely, P (proportional control), I (integral control) and D (derivative control). Proportional Control • A discrete implementation of proportional control is identical to continuous. The continuous is • The discrete is where e(t) or e(k) is the error signal as given in the feedback block diagram.
  • 28. PID Control • Derivative Control • The continuous derivative control is • The discrete derivative control is
  • 29. PID Control • Integral Control • The continuous Integral control is • The discrete integral control is
  • 31. PID Control (Bilinear Transformation)
  • 32. Calculating desired controller parameters Design example: 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%. Assuming the sampling period T = 0.6 seconds, design a digital PI controller that achieve the above specifications. First Step..??
  • 33. Discretized plant with digital PI controller: The resulting closed-loop transfer function from r to y is given by
  • 34. Deriving ζ and ωn from the design specifications
  • 35. Constant ζ and ωn contours in the z-plane. ζ values ωn values e.g. ζ = 0.1 ωn = 0.4 𝜋 𝑇
  • 36. Desired closed-loop transfer function From the design, we obtain the desired ζ = 0.7 and ωn = 0.82 in continuous setting, which would achieve the design specifications. Using the following chart with T = 0.6 ζ = 0.7
  • 37. Determination of the PI controller parameters Comparing the denominator of the actual closed-loop transfer function with that of the desired one we obtain and a digital PI controller Note: We cannot do much with the numerators of these transfer functions. It does affect the overall performance.
  • 38. Simulation of the digital controller with discretized plant We simulate the digital controller with the discretized plant to see whether the specifications are fulfilled in the discrete-time setting: Remark: The overshoot is slightly larger than the design specification. But, the settling time meets the specification. The performance can be fine tuned by re- selecting the desired pole locations in z-plane.
  • 39. Simulation of the digital controller with actual plant We simulate the digital controller with the actual plant. Remark: When the control law is implemented onto the actual continuous-time plant, the overshoot and the settling time are about the same as those obtained with the discretized system. All design specifications are met with a sampling period T = 0.6 seconds.