SlideShare a Scribd company logo
Department of Avionics Engineering
Modern Control Systems
Experiment No.4
Analysis and Design of PID controller with control parameters in
MATLAB and SIMULINK
Prepared for
By:
Name:
ID:
Section:
Semester:
Total Mark:_____________
Obtained Marks:________
Signature:___________
Date:__________________
Objectives
• To learn the need of controller
• Types of Basic Controllers (P, I and D Controllers) and their properties.
• Controller combinations (PI, PD and PID Controllers) and their properties.
• PID tunning by MATLAB.
• Comparative performance analysis of PI, PD and PID Controllers.
Theory:
Why we need Controllers?
Performance of a system is usually analyzed on few basic parameters. These parameters are of time
domain as well as of frequency domain. Following are parameters:
Domain Parameters Desired Value Effect of Parameter
Rise Time (𝑇𝑟) Lower is Better
Lower value makes system's
response faster
Maximum Overshoot
(𝑀𝑝)
Lower is Better
Lower value makes system more
stable
Time
Domain
Settling Time (Ts) Lower is Better
Output settles faster to final
values if it has lower value
Steady State Error (𝑒𝑠𝑠)
Lower is Better (Zero
required)
Output reaches to desired value
if steady state error is zero
Phase Margin (PM) Higher is better
System becomes more stable
(More stability margins)
Frequency
Domain
Gain crossover frequency
(𝑤𝑔) & Phase crossover
frequency (𝑤𝑝)
𝑤𝑝>𝑤𝑔 𝑤𝑝 > 𝑤𝑔 makes system stable
• Controllers are actually system response modifiers.
• A controller is introduced with main plant transfer function in feed forward loop as shown below:
Different types of controllers:
Basic Modes:
• Proportional (P) Controller
• Integral (I) Controller
• Derivative (D) Controller
Combination Mode
• Proportional + Integral (PI) Controller
• Proportional + Derivative (PD) Controller
• Proportional + Integral + Derivative (PID)
Controller
Proportional (P) Controller
• Proportional Controller is simply an amplifier.
• Its transfer function is 𝐺𝑐(𝑠)=𝐾𝑝 . It does not add any new pole or zero to the system.
Derivative (D) Controller
used alone.
• Its transfer function is 𝐺𝑐(𝑠) = 𝐾𝑑 𝑠 . It adds a
zero to the system.
• D-Controllers give faster action when input
changes rapidly. However, D-Controllers are not
With P-ControIIer, response of closed loop
system becomes faster. But maximum
overshoot also increases. The large value of Kp
can make system unstable.
P-ControIIer cannot handle steady state error.
It provides offset error too.
• Because, if error e(t) is constant then its output is zero and hence actuator's output will also be
zero.
• Also, if error e(t) changes suddenly (Step) then output of D-controller will be impulsive.
Integral (I) Controller:
• Its transfer function is 𝐺𝑐(𝑠)= 𝐾 𝑠𝑖 It adds a pole and hence increases the order of the system
by 1.
PID in MATLAB and SIMULINK:
In MATLAB, the best way to stabilize the plant response so to have the desired output response is by
using PID Tuner tool in both Simulink and MATLAB coding.
Syntax:
pidTuner(sys)
//Where “sys” will be your transfer function
Example:
• With I-Controller, offset error of P-
controllers is removed.
• Steady state error in step response is also
eliminated.
• However, system's response becomes
slightly slower.
• Oscillations in system's response
increase. Maximum overshoot increases.
This can make system
• unstable.
Lab Task:
Lab Tasks:
Parameters
(kp, kd and ki)
Required response
setting
Type of
Controller
Simulink Model:
Use PID tuner for the following transfer functions on MATLAB and change the stability
parameters to achieve a stable response with PI, PD and PID controller
a)
b)
Screenshot the graph and Parameters
Simulink Modeling:
On which P, I and D value the response of the plant will be as per given graph:
Figure 1: Graph without PID controller Figure 2: Graph with PID controller

More Related Content

What's hot

Block diagram reduction techniques
Block diagram reduction techniquesBlock diagram reduction techniques
Block diagram reduction techniques
parimalagandhi ayyavu
 
Time Response Analysis
Time Response AnalysisTime Response Analysis
Time Response Analysis
Manthan Kanani
 
08 pid.controller
08 pid.controller08 pid.controller
08 pid.controller
Mahmoud Hussein
 
Frequency response analysis
Frequency response analysisFrequency response analysis
Frequency response analysis
SatheeshCS2
 
Control engineering module 2 18ME71 (PPT Cum Notes)
Control engineering  module 2 18ME71 (PPT Cum Notes)Control engineering  module 2 18ME71 (PPT Cum Notes)
Control engineering module 2 18ME71 (PPT Cum Notes)
Mohammed Imran
 
Chapter 3.pdf
Chapter 3.pdfChapter 3.pdf
Chapter 3.pdf
AkliluAyele3
 
Transfer function and mathematical modeling
Transfer  function  and  mathematical  modelingTransfer  function  and  mathematical  modeling
Transfer function and mathematical modeling
vishalgohel12195
 
8178001772 control
8178001772 control8178001772 control
8178001772 controlMaRwa Hamed
 
Control Systems
Control SystemsControl Systems
Control Systems
Poonam Desai
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of Systems
Amr E. Mohamed
 
Optimal control systems
Optimal control systemsOptimal control systems
Optimal control systems
masmuhtadi
 
PID Controller and its design
PID Controller and its designPID Controller and its design
PID Controller and its design
KonirDom1
 
Week 14 pid may 24 2016 pe 3032
Week  14 pid  may 24 2016 pe 3032Week  14 pid  may 24 2016 pe 3032
Week 14 pid may 24 2016 pe 3032
Charlton Inao
 
pid controller
 pid controller pid controller
pid controller
shurjeel amjad
 
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
Waqas Afzal
 
First & second order of the control systems
First & second order of the control systemsFirst & second order of the control systems
First & second order of the control systems
SatheeshCS2
 
TIME RESPONSE ANALYSIS
TIME RESPONSE ANALYSISTIME RESPONSE ANALYSIS
TIME RESPONSE ANALYSIS
Syed Saeed
 
time response analysis
time response analysistime response analysis
time response analysis
Raviraj solanki
 
Tutorials questions
Tutorials questionsTutorials questions
Tutorials questions
mohammed mahmood
 
P, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERP, PI AND PID CONTROLLER
P, PI AND PID CONTROLLER
karan sati
 

What's hot (20)

Block diagram reduction techniques
Block diagram reduction techniquesBlock diagram reduction techniques
Block diagram reduction techniques
 
Time Response Analysis
Time Response AnalysisTime Response Analysis
Time Response Analysis
 
08 pid.controller
08 pid.controller08 pid.controller
08 pid.controller
 
Frequency response analysis
Frequency response analysisFrequency response analysis
Frequency response analysis
 
Control engineering module 2 18ME71 (PPT Cum Notes)
Control engineering  module 2 18ME71 (PPT Cum Notes)Control engineering  module 2 18ME71 (PPT Cum Notes)
Control engineering module 2 18ME71 (PPT Cum Notes)
 
Chapter 3.pdf
Chapter 3.pdfChapter 3.pdf
Chapter 3.pdf
 
Transfer function and mathematical modeling
Transfer  function  and  mathematical  modelingTransfer  function  and  mathematical  modeling
Transfer function and mathematical modeling
 
8178001772 control
8178001772 control8178001772 control
8178001772 control
 
Control Systems
Control SystemsControl Systems
Control Systems
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of Systems
 
Optimal control systems
Optimal control systemsOptimal control systems
Optimal control systems
 
PID Controller and its design
PID Controller and its designPID Controller and its design
PID Controller and its design
 
Week 14 pid may 24 2016 pe 3032
Week  14 pid  may 24 2016 pe 3032Week  14 pid  may 24 2016 pe 3032
Week 14 pid may 24 2016 pe 3032
 
pid controller
 pid controller pid controller
pid controller
 
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
 
First & second order of the control systems
First & second order of the control systemsFirst & second order of the control systems
First & second order of the control systems
 
TIME RESPONSE ANALYSIS
TIME RESPONSE ANALYSISTIME RESPONSE ANALYSIS
TIME RESPONSE ANALYSIS
 
time response analysis
time response analysistime response analysis
time response analysis
 
Tutorials questions
Tutorials questionsTutorials questions
Tutorials questions
 
P, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERP, PI AND PID CONTROLLER
P, PI AND PID CONTROLLER
 

Similar to Analysis and Design of PID controller with control parameters in MATLAB and SIMULINK

control system lab 02 - PID tuning
control system lab 02 - PID tuning control system lab 02 - PID tuning
control system lab 02 - PID tuning
nalan karunanayake
 
PID Controller Simulator Design for Polynomials Transfer Function
PID Controller Simulator Design for Polynomials Transfer FunctionPID Controller Simulator Design for Polynomials Transfer Function
PID Controller Simulator Design for Polynomials Transfer Function
MIbrar4
 
4470838.ppt
4470838.ppt4470838.ppt
4470838.ppt
MuhammadMubeen58
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singh
Adarsh Singh
 
Pid controller
Pid controllerPid controller
Pid controller
Dr. Chetan Bhatt
 
UNIT-V.ppt
UNIT-V.pptUNIT-V.ppt
Di34672675
Di34672675Di34672675
Di34672675
IJERA Editor
 
Screenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdfScreenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdf
muhammadsubhan626458
 
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
IRJET Journal
 
ppipdcontroller-190829154906.pdf
ppipdcontroller-190829154906.pdfppipdcontroller-190829154906.pdf
ppipdcontroller-190829154906.pdf
JeevaJeeva410662
 
PIDtutorial.pdf
PIDtutorial.pdfPIDtutorial.pdf
PIDtutorial.pdf
Phương Nam
 
Design of imc based controller for industrial purpose
Design of imc based controller for industrial purposeDesign of imc based controller for industrial purpose
Design of imc based controller for industrial purpose
375ankit
 
Mechatroincs universitty for students .ppt
Mechatroincs universitty for students .pptMechatroincs universitty for students .ppt
Mechatroincs universitty for students .ppt
mohamed abd elrazek
 
Mechatroincs universitty for students .ppt
Mechatroincs universitty for students .pptMechatroincs universitty for students .ppt
Mechatroincs universitty for students .ppt
mohamed abd elrazek
 
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
 
Pid controllers
Pid controllersPid controllers
Pid controllers
Abhishek Mehta
 
Basics of Controller
Basics of ControllerBasics of Controller
Basics of Controller
Sharique Ahmad
 
D04954148
D04954148D04954148
D04954148
IOSR-JEN
 
Paper id 21201482
Paper id 21201482Paper id 21201482
Paper id 21201482IJRAT
 

Similar to Analysis and Design of PID controller with control parameters in MATLAB and SIMULINK (20)

control system lab 02 - PID tuning
control system lab 02 - PID tuning control system lab 02 - PID tuning
control system lab 02 - PID tuning
 
PID Controller Simulator Design for Polynomials Transfer Function
PID Controller Simulator Design for Polynomials Transfer FunctionPID Controller Simulator Design for Polynomials Transfer Function
PID Controller Simulator Design for Polynomials Transfer Function
 
1578385.ppt
1578385.ppt1578385.ppt
1578385.ppt
 
4470838.ppt
4470838.ppt4470838.ppt
4470838.ppt
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singh
 
Pid controller
Pid controllerPid controller
Pid controller
 
UNIT-V.ppt
UNIT-V.pptUNIT-V.ppt
UNIT-V.ppt
 
Di34672675
Di34672675Di34672675
Di34672675
 
Screenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdfScreenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdf
 
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
 
ppipdcontroller-190829154906.pdf
ppipdcontroller-190829154906.pdfppipdcontroller-190829154906.pdf
ppipdcontroller-190829154906.pdf
 
PIDtutorial.pdf
PIDtutorial.pdfPIDtutorial.pdf
PIDtutorial.pdf
 
Design of imc based controller for industrial purpose
Design of imc based controller for industrial purposeDesign of imc based controller for industrial purpose
Design of imc based controller for industrial purpose
 
Mechatroincs universitty for students .ppt
Mechatroincs universitty for students .pptMechatroincs universitty for students .ppt
Mechatroincs universitty for students .ppt
 
Mechatroincs universitty for students .ppt
Mechatroincs universitty for students .pptMechatroincs universitty for students .ppt
Mechatroincs universitty for students .ppt
 
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...
 
Pid controllers
Pid controllersPid controllers
Pid controllers
 
Basics of Controller
Basics of ControllerBasics of Controller
Basics of Controller
 
D04954148
D04954148D04954148
D04954148
 
Paper id 21201482
Paper id 21201482Paper id 21201482
Paper id 21201482
 

More from MIbrar4

Architecture of ARINC 629 Data Bus For Boeing 777-200ER Commercial Aircraft.pdf
Architecture of ARINC 629 Data Bus For Boeing 777-200ER Commercial Aircraft.pdfArchitecture of ARINC 629 Data Bus For Boeing 777-200ER Commercial Aircraft.pdf
Architecture of ARINC 629 Data Bus For Boeing 777-200ER Commercial Aircraft.pdf
MIbrar4
 
Ethical Problem-Solving Techniques.pptx
Ethical Problem-Solving Techniques.pptxEthical Problem-Solving Techniques.pptx
Ethical Problem-Solving Techniques.pptx
MIbrar4
 
Demonstrate the implementation PI controller to regulate speed of DC Servo Mo...
Demonstrate the implementation PI controller to regulate speed of DC Servo Mo...Demonstrate the implementation PI controller to regulate speed of DC Servo Mo...
Demonstrate the implementation PI controller to regulate speed of DC Servo Mo...
MIbrar4
 
State-Space Realizations Using Control Canonical Form and Simulation Diagram
State-Space Realizations Using Control Canonical Form and Simulation DiagramState-Space Realizations Using Control Canonical Form and Simulation Diagram
State-Space Realizations Using Control Canonical Form and Simulation Diagram
MIbrar4
 
Design Compensator Using Automated PID Tuning for a water tank
Design Compensator Using Automated PID Tuning for a water tank Design Compensator Using Automated PID Tuning for a water tank
Design Compensator Using Automated PID Tuning for a water tank
MIbrar4
 
Provided MATLAB functions, convert the State Space Model into a classical con...
Provided MATLAB functions, convert the State Space Model into a classical con...Provided MATLAB functions, convert the State Space Model into a classical con...
Provided MATLAB functions, convert the State Space Model into a classical con...
MIbrar4
 
Compensator Design and parameters modification using Bode plot and root locus
Compensator Design and parameters modification using Bode plot and root locusCompensator Design and parameters modification using Bode plot and root locus
Compensator Design and parameters modification using Bode plot and root locus
MIbrar4
 
Department of Avionics Engineering The Superior University, Lahore Lab Manual...
Department of Avionics Engineering The Superior University, Lahore Lab Manual...Department of Avionics Engineering The Superior University, Lahore Lab Manual...
Department of Avionics Engineering The Superior University, Lahore Lab Manual...
MIbrar4
 
PAF buy retired and old Mirage fighter jets.pptx
PAF buy retired and old Mirage fighter jets.pptxPAF buy retired and old Mirage fighter jets.pptx
PAF buy retired and old Mirage fighter jets.pptx
MIbrar4
 
Types of Screwdriver.docx
Types of Screwdriver.docxTypes of Screwdriver.docx
Types of Screwdriver.docx
MIbrar4
 
WHAT IS MEMS ? MEMS Accelerometer MEMS Gyroscope MEMS Magnetometer
WHAT IS MEMS ? MEMS Accelerometer MEMS Gyroscope MEMS MagnetometerWHAT IS MEMS ? MEMS Accelerometer MEMS Gyroscope MEMS Magnetometer
WHAT IS MEMS ? MEMS Accelerometer MEMS Gyroscope MEMS Magnetometer
MIbrar4
 
Writing Research Paper.pptx
Writing Research Paper.pptxWriting Research Paper.pptx
Writing Research Paper.pptx
MIbrar4
 
Pulse Doppler Airborne Radar
Pulse Doppler Airborne RadarPulse Doppler Airborne Radar
Pulse Doppler Airborne Radar
MIbrar4
 
US Airways Flight 1549 (Sully) A-3.docx
US Airways Flight 1549 (Sully) A-3.docxUS Airways Flight 1549 (Sully) A-3.docx
US Airways Flight 1549 (Sully) A-3.docx
MIbrar4
 
Ethical Problem-Solving Techniques
Ethical Problem-Solving TechniquesEthical Problem-Solving Techniques
Ethical Problem-Solving Techniques
MIbrar4
 
The Disaster at Bhopal
The Disaster at BhopalThe Disaster at Bhopal
The Disaster at Bhopal
MIbrar4
 
[A#5]_[BAEM-F18-025]_[M IBRAR].docx
[A#5]_[BAEM-F18-025]_[M IBRAR].docx[A#5]_[BAEM-F18-025]_[M IBRAR].docx
[A#5]_[BAEM-F18-025]_[M IBRAR].docx
MIbrar4
 
Understanding Ethical Problems
Understanding Ethical ProblemsUnderstanding Ethical Problems
Understanding Ethical Problems
MIbrar4
 
Moral Dilemmas: 1. Kickbacks 2. Waste dumping 3. I have a wife and kids...sho...
Moral Dilemmas: 1. Kickbacks 2. Waste dumping 3. I have a wife and kids...sho...Moral Dilemmas: 1. Kickbacks 2. Waste dumping 3. I have a wife and kids...sho...
Moral Dilemmas: 1. Kickbacks 2. Waste dumping 3. I have a wife and kids...sho...
MIbrar4
 
Case Study: The Intel Pentium Chip
Case Study: The Intel Pentium ChipCase Study: The Intel Pentium Chip
Case Study: The Intel Pentium Chip
MIbrar4
 

More from MIbrar4 (20)

Architecture of ARINC 629 Data Bus For Boeing 777-200ER Commercial Aircraft.pdf
Architecture of ARINC 629 Data Bus For Boeing 777-200ER Commercial Aircraft.pdfArchitecture of ARINC 629 Data Bus For Boeing 777-200ER Commercial Aircraft.pdf
Architecture of ARINC 629 Data Bus For Boeing 777-200ER Commercial Aircraft.pdf
 
Ethical Problem-Solving Techniques.pptx
Ethical Problem-Solving Techniques.pptxEthical Problem-Solving Techniques.pptx
Ethical Problem-Solving Techniques.pptx
 
Demonstrate the implementation PI controller to regulate speed of DC Servo Mo...
Demonstrate the implementation PI controller to regulate speed of DC Servo Mo...Demonstrate the implementation PI controller to regulate speed of DC Servo Mo...
Demonstrate the implementation PI controller to regulate speed of DC Servo Mo...
 
State-Space Realizations Using Control Canonical Form and Simulation Diagram
State-Space Realizations Using Control Canonical Form and Simulation DiagramState-Space Realizations Using Control Canonical Form and Simulation Diagram
State-Space Realizations Using Control Canonical Form and Simulation Diagram
 
Design Compensator Using Automated PID Tuning for a water tank
Design Compensator Using Automated PID Tuning for a water tank Design Compensator Using Automated PID Tuning for a water tank
Design Compensator Using Automated PID Tuning for a water tank
 
Provided MATLAB functions, convert the State Space Model into a classical con...
Provided MATLAB functions, convert the State Space Model into a classical con...Provided MATLAB functions, convert the State Space Model into a classical con...
Provided MATLAB functions, convert the State Space Model into a classical con...
 
Compensator Design and parameters modification using Bode plot and root locus
Compensator Design and parameters modification using Bode plot and root locusCompensator Design and parameters modification using Bode plot and root locus
Compensator Design and parameters modification using Bode plot and root locus
 
Department of Avionics Engineering The Superior University, Lahore Lab Manual...
Department of Avionics Engineering The Superior University, Lahore Lab Manual...Department of Avionics Engineering The Superior University, Lahore Lab Manual...
Department of Avionics Engineering The Superior University, Lahore Lab Manual...
 
PAF buy retired and old Mirage fighter jets.pptx
PAF buy retired and old Mirage fighter jets.pptxPAF buy retired and old Mirage fighter jets.pptx
PAF buy retired and old Mirage fighter jets.pptx
 
Types of Screwdriver.docx
Types of Screwdriver.docxTypes of Screwdriver.docx
Types of Screwdriver.docx
 
WHAT IS MEMS ? MEMS Accelerometer MEMS Gyroscope MEMS Magnetometer
WHAT IS MEMS ? MEMS Accelerometer MEMS Gyroscope MEMS MagnetometerWHAT IS MEMS ? MEMS Accelerometer MEMS Gyroscope MEMS Magnetometer
WHAT IS MEMS ? MEMS Accelerometer MEMS Gyroscope MEMS Magnetometer
 
Writing Research Paper.pptx
Writing Research Paper.pptxWriting Research Paper.pptx
Writing Research Paper.pptx
 
Pulse Doppler Airborne Radar
Pulse Doppler Airborne RadarPulse Doppler Airborne Radar
Pulse Doppler Airborne Radar
 
US Airways Flight 1549 (Sully) A-3.docx
US Airways Flight 1549 (Sully) A-3.docxUS Airways Flight 1549 (Sully) A-3.docx
US Airways Flight 1549 (Sully) A-3.docx
 
Ethical Problem-Solving Techniques
Ethical Problem-Solving TechniquesEthical Problem-Solving Techniques
Ethical Problem-Solving Techniques
 
The Disaster at Bhopal
The Disaster at BhopalThe Disaster at Bhopal
The Disaster at Bhopal
 
[A#5]_[BAEM-F18-025]_[M IBRAR].docx
[A#5]_[BAEM-F18-025]_[M IBRAR].docx[A#5]_[BAEM-F18-025]_[M IBRAR].docx
[A#5]_[BAEM-F18-025]_[M IBRAR].docx
 
Understanding Ethical Problems
Understanding Ethical ProblemsUnderstanding Ethical Problems
Understanding Ethical Problems
 
Moral Dilemmas: 1. Kickbacks 2. Waste dumping 3. I have a wife and kids...sho...
Moral Dilemmas: 1. Kickbacks 2. Waste dumping 3. I have a wife and kids...sho...Moral Dilemmas: 1. Kickbacks 2. Waste dumping 3. I have a wife and kids...sho...
Moral Dilemmas: 1. Kickbacks 2. Waste dumping 3. I have a wife and kids...sho...
 
Case Study: The Intel Pentium Chip
Case Study: The Intel Pentium ChipCase Study: The Intel Pentium Chip
Case Study: The Intel Pentium Chip
 

Recently uploaded

J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 

Recently uploaded (20)

J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 

Analysis and Design of PID controller with control parameters in MATLAB and SIMULINK

  • 1. Department of Avionics Engineering Modern Control Systems Experiment No.4 Analysis and Design of PID controller with control parameters in MATLAB and SIMULINK Prepared for By: Name: ID: Section: Semester: Total Mark:_____________ Obtained Marks:________ Signature:___________ Date:__________________
  • 2. Objectives • To learn the need of controller • Types of Basic Controllers (P, I and D Controllers) and their properties. • Controller combinations (PI, PD and PID Controllers) and their properties. • PID tunning by MATLAB. • Comparative performance analysis of PI, PD and PID Controllers. Theory: Why we need Controllers? Performance of a system is usually analyzed on few basic parameters. These parameters are of time domain as well as of frequency domain. Following are parameters: Domain Parameters Desired Value Effect of Parameter Rise Time (𝑇𝑟) Lower is Better Lower value makes system's response faster Maximum Overshoot (𝑀𝑝) Lower is Better Lower value makes system more stable Time Domain Settling Time (Ts) Lower is Better Output settles faster to final values if it has lower value Steady State Error (𝑒𝑠𝑠) Lower is Better (Zero required) Output reaches to desired value if steady state error is zero Phase Margin (PM) Higher is better System becomes more stable (More stability margins) Frequency Domain Gain crossover frequency (𝑤𝑔) & Phase crossover frequency (𝑤𝑝) 𝑤𝑝>𝑤𝑔 𝑤𝑝 > 𝑤𝑔 makes system stable • Controllers are actually system response modifiers. • A controller is introduced with main plant transfer function in feed forward loop as shown below: Different types of controllers:
  • 3. Basic Modes: • Proportional (P) Controller • Integral (I) Controller • Derivative (D) Controller Combination Mode • Proportional + Integral (PI) Controller • Proportional + Derivative (PD) Controller • Proportional + Integral + Derivative (PID) Controller Proportional (P) Controller • Proportional Controller is simply an amplifier. • Its transfer function is 𝐺𝑐(𝑠)=𝐾𝑝 . It does not add any new pole or zero to the system. Derivative (D) Controller used alone. • Its transfer function is 𝐺𝑐(𝑠) = 𝐾𝑑 𝑠 . It adds a zero to the system. • D-Controllers give faster action when input changes rapidly. However, D-Controllers are not With P-ControIIer, response of closed loop system becomes faster. But maximum overshoot also increases. The large value of Kp can make system unstable. P-ControIIer cannot handle steady state error. It provides offset error too.
  • 4. • Because, if error e(t) is constant then its output is zero and hence actuator's output will also be zero. • Also, if error e(t) changes suddenly (Step) then output of D-controller will be impulsive. Integral (I) Controller: • Its transfer function is 𝐺𝑐(𝑠)= 𝐾 𝑠𝑖 It adds a pole and hence increases the order of the system by 1. PID in MATLAB and SIMULINK: In MATLAB, the best way to stabilize the plant response so to have the desired output response is by using PID Tuner tool in both Simulink and MATLAB coding. Syntax: pidTuner(sys) //Where “sys” will be your transfer function Example: • With I-Controller, offset error of P- controllers is removed. • Steady state error in step response is also eliminated. • However, system's response becomes slightly slower. • Oscillations in system's response increase. Maximum overshoot increases. This can make system • unstable.
  • 5. Lab Task: Lab Tasks: Parameters (kp, kd and ki) Required response setting Type of Controller Simulink Model:
  • 6. Use PID tuner for the following transfer functions on MATLAB and change the stability parameters to achieve a stable response with PI, PD and PID controller a) b) Screenshot the graph and Parameters Simulink Modeling: On which P, I and D value the response of the plant will be as per given graph: Figure 1: Graph without PID controller Figure 2: Graph with PID controller