SlideShare a Scribd company logo
Department of Avionics Engineering
AE-3452
Modern Control Systems
Experiment No.6
Design Compensator Using Automated PID Tuning for a water tank
Prepared for
By:
Name:
ID:
Section:
Semester:
Total Marks: ________________
Obtained Marks: _____________
Signature: __________________
Date: ___________________
Design Compensator Using Automated PID Tuning for a water tank
Objective:
To design a compensator for a Simulink model using automated PID tuning in the Control System
Designer app. It then shows how to fine tune the compensator design using the open-loop Bode editor.
Theory:
A compensator is a form of controller designed to alter certain characteristics (such as gain/phase) of the
open-loop system. A compensator is a component in the control system and it is used to regulate another
system. ... In order to make the system behave as desired, it is necessary to redesign the system and add
a compensator, a device which compensates for the deficient performance of the original system.
Control system compensation is the strategy used by the control system designed to improve system
dynamic performance through the addition of dynamic elements in order to mitigate some of the
undesirable features of the control elements present in the system.
Lab Task:
Perform the Following case as per the steps defined in the manual and compensate the response of the
system with different controllers.
System Model:
Here we have assumed a model of water tank case in order to control water tank input according to the
output as well as the other parameters:
• H is the height of water in the tank.
• Vol is the volume of water in the tank.
• V is the voltage applied to the pump.
• A is the cross-sectional area of the tank.
• b is a constant related to the flow rate into the tank.
• a is a constant related to the flow rate out of the tank.
Water enters the tank from the top at a rate proportional to the voltage applied to the pump. The water
leaves through an opening in the tank base at a rate that is proportional to the square root of the water
height in the tank. The presence of the square root in the water flow rate results in a nonlinear plant. Based
on these flow rates, the rate of change of the tank volume is:
Design Requirements
Tune the PID controller to meet the following closed-loop step response design requirements:
• Overshoot less than 5%
• Rise time less than five seconds
System Model:
This model contains a Water-Tank System plant model and a PID controller in a single-loop feedback
system. To view the water tank model, open the Water-Tank System subsystem.
Open Control System Designer
To open Control System Designer, in the Simulink model window, in the Apps gallery, click Control
System Designer.
Control System Designer opens and automatically opens the Edit Architecture dialog box.
Specify Blocks to Tune:
To specify the compensator to tune, in the Edit Architecture dialog box, click Add Blocks. In the Select
Blocks to Tune dialog box, in the left pane, click the Controller subsystem. In the Tune column, check the
box for the PID Controller.
Click OK.
In the Edit Architecture dialog box, the app adds the selected controller block to the list of blocks to tune
on the Blocks tab. On the Signals tab, the app also adds the output of the PID Controller block to the list
of analysis point Locations.
When Control System Designer opens, it adds any analysis points previously defined in the Simulink
model to the Locations list:
• Desired Water Level block output — Reference signal for the closed-loop step response
• Water-Tank System block output — Output signal for the closed-loop step response
To linearize the Simulink model and set the control architecture, click OK.
By default, Control System Designer linearizes the plant model at the model initial conditions.
The app adds the PID controller to the Data Browser, in the Controllers and Fixed Blocks section.
The app also computes the open-loop transfer function at the output of the PID Controller block and adds
this response to the Data Browser.
Plot Closed-Loop Step Response
To analyze the controller design, create a closed-loop transfer function of the system and plot its step
response.
On the Control System tab, click New Plot, and select New Step.
In the New Step to plot dialog box, in the Select Response to Plot drop-down list, select New Input-
Output Transfer Response.
To add an input signal, in the Specify input signals area, click +. In the drop-down list, select the output of
the Desired Water Level block.
To add an output signal, in the Specify output signals area, click +. In the drop-down list, select the output
of the Water-Tank System block.
To create the closed-loop transfer function and plot the step response, click Plot.
Tune Compensator Using Automated PID Tuning
To tune the compensator using automated PID tuning,
click Tuning Methods, and select PID Tuning.
In the PID Tuning dialog box, in
the Specifications section, select the following
options:
• Tuning method — Robust response time
• Controller Type — PI
Click Update Compensator. The app updates the closed-loop response for the new compensator settings
and updates the step response plot.
Fine Tune Controller Using Compensator Editor:
To tune the parameters of your compensator directly, use the compensator editor. In the Bode Editor,
right-click the plot area, and select Edit Compensator.
In the Compensator Editor dialog box, on the Parameter tab, tune the PID controller gains. For more
information on editing compensator parameters, see Tune Simulink Blocks Using Compensator Editor.
Why we use Compensator?
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
What parameters should be change to stable a system?
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________

More Related Content

PPTX
K11619 rishabh jain
PPTX
Pu Hall Calculations_2
PPT
Recovery from a process saturation condition benefits of using delta v pid_plus
PPTX
Session 24 - Control Systems
PPSX
Mobile Inventory
PPTX
Process Design and control
PPTX
Process control
PPTX
Process dynamics
K11619 rishabh jain
Pu Hall Calculations_2
Recovery from a process saturation condition benefits of using delta v pid_plus
Session 24 - Control Systems
Mobile Inventory
Process Design and control
Process control
Process dynamics

What's hot (20)

PPT
Block diagrams
PPTX
Bioreactor control system
PPT
Blendingwith DeltaV
PPT
Blending with deltav
PPTX
Control Loop Foundation - Batch And Continous Processes
PPTX
Control Systems
PDF
Pid logix wp008--en-p
PPT
Process control 4 chapter
PDF
PID Controller Simulator Design for Polynomials Transfer Function
PPT
Process control
PPTX
Automated process control systems
DOCX
Process control examples and applications
DOC
Process control handout new1
PDF
Atlas copco compressors aircraft engineering
PPT
Interfacing delta v to motorized actuators addressing control applications
PPTX
Meaning of sqc
PPTX
HPLC Chromeleon Software
PPT
Process control 2 chapter
PPTX
On off controller
PPTX
Override control system
Block diagrams
Bioreactor control system
Blendingwith DeltaV
Blending with deltav
Control Loop Foundation - Batch And Continous Processes
Control Systems
Pid logix wp008--en-p
Process control 4 chapter
PID Controller Simulator Design for Polynomials Transfer Function
Process control
Automated process control systems
Process control examples and applications
Process control handout new1
Atlas copco compressors aircraft engineering
Interfacing delta v to motorized actuators addressing control applications
Meaning of sqc
HPLC Chromeleon Software
Process control 2 chapter
On off controller
Override control system
Ad

Similar to Design Compensator Using Automated PID Tuning for a water tank (20)

DOCX
--Liquid level in a tank.docx ddd dddddds
PDF
The Control Analysis of Single Capacity Water Tank Liquid Level System Based ...
PDF
[IJET-V1I4P12] Authors :Nang Khin Su Yee, Theingi, Kyaw Thiha
PDF
EHR ATTRIBUTE-BASED ACCESS CONTROL (ABAC) FOR FOG COMPUTING ENVIRONMENT
PDF
IRJET- Advanced Control Strategies for MIMO System
PDF
Design and Control of a Hydraulic Servo System and Simulation Analysis
PDF
LECTURE 1. Control Systems Engineering_MEB 4101.pdf
PDF
IRJET-Smart Controlling and Monitoring of Water System
PDF
ModelicaModeling_final
PDF
Controller Tuning Method for Non-Linear Conical Tank System
PDF
Pid output fuzzified water level control in mimo coupled tank system
PDF
Design and Implementation of Microcontroller Based SelfSwitching Control and ...
PDF
Step variation studies of arm7 microcontroller based fuzzy logic
PDF
Cost effective and efficient industrial tank cleaning process
PDF
Cost effective and efficient industrial tank cleaning process
PDF
Real-time monitoring and control of flow rate in transportation pipelines usi...
PDF
introduction-to-control-systDJKFNJKDSFJSD
PDF
Compensator Design and parameters modification using Bode plot and root locus
PDF
Design, simulation and implementation of an Arduino microcontroller based aut...
PPTX
DOC-20230916-WA0003..pptx
--Liquid level in a tank.docx ddd dddddds
The Control Analysis of Single Capacity Water Tank Liquid Level System Based ...
[IJET-V1I4P12] Authors :Nang Khin Su Yee, Theingi, Kyaw Thiha
EHR ATTRIBUTE-BASED ACCESS CONTROL (ABAC) FOR FOG COMPUTING ENVIRONMENT
IRJET- Advanced Control Strategies for MIMO System
Design and Control of a Hydraulic Servo System and Simulation Analysis
LECTURE 1. Control Systems Engineering_MEB 4101.pdf
IRJET-Smart Controlling and Monitoring of Water System
ModelicaModeling_final
Controller Tuning Method for Non-Linear Conical Tank System
Pid output fuzzified water level control in mimo coupled tank system
Design and Implementation of Microcontroller Based SelfSwitching Control and ...
Step variation studies of arm7 microcontroller based fuzzy logic
Cost effective and efficient industrial tank cleaning process
Cost effective and efficient industrial tank cleaning process
Real-time monitoring and control of flow rate in transportation pipelines usi...
introduction-to-control-systDJKFNJKDSFJSD
Compensator Design and parameters modification using Bode plot and root locus
Design, simulation and implementation of an Arduino microcontroller based aut...
DOC-20230916-WA0003..pptx
Ad

More from MIbrar4 (20)

PDF
Architecture of ARINC 629 Data Bus For Boeing 777-200ER Commercial Aircraft.pdf
PPTX
Ethical Problem-Solving Techniques.pptx
PDF
Analysis and Design of PID controller with control parameters in MATLAB and S...
PDF
Demonstrate the implementation PI controller to regulate speed of DC Servo Mo...
PDF
State-Space Realizations Using Control Canonical Form and Simulation Diagram
PDF
Provided MATLAB functions, convert the State Space Model into a classical con...
PDF
Department of Avionics Engineering The Superior University, Lahore Lab Manual...
PPTX
PAF buy retired and old Mirage fighter jets.pptx
DOCX
Types of Screwdriver.docx
PPTX
WHAT IS MEMS ? MEMS Accelerometer MEMS Gyroscope MEMS Magnetometer
PPTX
Writing Research Paper.pptx
PDF
Pulse Doppler Airborne Radar
DOCX
US Airways Flight 1549 (Sully) A-3.docx
DOCX
Ethical Problem-Solving Techniques
DOCX
The Disaster at Bhopal
DOCX
[A#5]_[BAEM-F18-025]_[M IBRAR].docx
DOCX
Understanding Ethical Problems
DOCX
Moral Dilemmas: 1. Kickbacks 2. Waste dumping 3. I have a wife and kids...sho...
DOCX
Case Study: The Intel Pentium Chip
DOCX
SPACE SHUTTLE CHALLENGER
Architecture of ARINC 629 Data Bus For Boeing 777-200ER Commercial Aircraft.pdf
Ethical Problem-Solving Techniques.pptx
Analysis and Design of PID controller with control parameters in MATLAB and S...
Demonstrate the implementation PI controller to regulate speed of DC Servo Mo...
State-Space Realizations Using Control Canonical Form and Simulation Diagram
Provided MATLAB functions, convert the State Space Model into a classical con...
Department of Avionics Engineering The Superior University, Lahore Lab Manual...
PAF buy retired and old Mirage fighter jets.pptx
Types of Screwdriver.docx
WHAT IS MEMS ? MEMS Accelerometer MEMS Gyroscope MEMS Magnetometer
Writing Research Paper.pptx
Pulse Doppler Airborne Radar
US Airways Flight 1549 (Sully) A-3.docx
Ethical Problem-Solving Techniques
The Disaster at Bhopal
[A#5]_[BAEM-F18-025]_[M IBRAR].docx
Understanding Ethical Problems
Moral Dilemmas: 1. Kickbacks 2. Waste dumping 3. I have a wife and kids...sho...
Case Study: The Intel Pentium Chip
SPACE SHUTTLE CHALLENGER

Recently uploaded (20)

PPT
Project quality management in manufacturing
PDF
composite construction of structures.pdf
PPTX
Artificial Intelligence
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Current and future trends in Computer Vision.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
R24 SURVEYING LAB MANUAL for civil enggi
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
Digital Logic Computer Design lecture notes
PPT
introduction to datamining and warehousing
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
UNIT 4 Total Quality Management .pptx
Project quality management in manufacturing
composite construction of structures.pdf
Artificial Intelligence
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
CH1 Production IntroductoryConcepts.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Mechanical Engineering MATERIALS Selection
Current and future trends in Computer Vision.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
R24 SURVEYING LAB MANUAL for civil enggi
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Digital Logic Computer Design lecture notes
introduction to datamining and warehousing
additive manufacturing of ss316l using mig welding
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Operating System & Kernel Study Guide-1 - converted.pdf
OOP with Java - Java Introduction (Basics)
UNIT 4 Total Quality Management .pptx

Design Compensator Using Automated PID Tuning for a water tank

  • 1. Department of Avionics Engineering AE-3452 Modern Control Systems Experiment No.6 Design Compensator Using Automated PID Tuning for a water tank Prepared for By: Name: ID: Section: Semester: Total Marks: ________________ Obtained Marks: _____________ Signature: __________________ Date: ___________________
  • 2. Design Compensator Using Automated PID Tuning for a water tank Objective: To design a compensator for a Simulink model using automated PID tuning in the Control System Designer app. It then shows how to fine tune the compensator design using the open-loop Bode editor. Theory: A compensator is a form of controller designed to alter certain characteristics (such as gain/phase) of the open-loop system. A compensator is a component in the control system and it is used to regulate another system. ... In order to make the system behave as desired, it is necessary to redesign the system and add a compensator, a device which compensates for the deficient performance of the original system. Control system compensation is the strategy used by the control system designed to improve system dynamic performance through the addition of dynamic elements in order to mitigate some of the undesirable features of the control elements present in the system. Lab Task: Perform the Following case as per the steps defined in the manual and compensate the response of the system with different controllers. System Model: Here we have assumed a model of water tank case in order to control water tank input according to the output as well as the other parameters: • H is the height of water in the tank. • Vol is the volume of water in the tank. • V is the voltage applied to the pump. • A is the cross-sectional area of the tank. • b is a constant related to the flow rate into the tank. • a is a constant related to the flow rate out of the tank. Water enters the tank from the top at a rate proportional to the voltage applied to the pump. The water leaves through an opening in the tank base at a rate that is proportional to the square root of the water height in the tank. The presence of the square root in the water flow rate results in a nonlinear plant. Based on these flow rates, the rate of change of the tank volume is: Design Requirements Tune the PID controller to meet the following closed-loop step response design requirements: • Overshoot less than 5% • Rise time less than five seconds
  • 3. System Model: This model contains a Water-Tank System plant model and a PID controller in a single-loop feedback system. To view the water tank model, open the Water-Tank System subsystem. Open Control System Designer To open Control System Designer, in the Simulink model window, in the Apps gallery, click Control System Designer. Control System Designer opens and automatically opens the Edit Architecture dialog box. Specify Blocks to Tune:
  • 4. To specify the compensator to tune, in the Edit Architecture dialog box, click Add Blocks. In the Select Blocks to Tune dialog box, in the left pane, click the Controller subsystem. In the Tune column, check the box for the PID Controller. Click OK. In the Edit Architecture dialog box, the app adds the selected controller block to the list of blocks to tune on the Blocks tab. On the Signals tab, the app also adds the output of the PID Controller block to the list of analysis point Locations. When Control System Designer opens, it adds any analysis points previously defined in the Simulink model to the Locations list: • Desired Water Level block output — Reference signal for the closed-loop step response
  • 5. • Water-Tank System block output — Output signal for the closed-loop step response To linearize the Simulink model and set the control architecture, click OK. By default, Control System Designer linearizes the plant model at the model initial conditions. The app adds the PID controller to the Data Browser, in the Controllers and Fixed Blocks section. The app also computes the open-loop transfer function at the output of the PID Controller block and adds this response to the Data Browser. Plot Closed-Loop Step Response To analyze the controller design, create a closed-loop transfer function of the system and plot its step response. On the Control System tab, click New Plot, and select New Step. In the New Step to plot dialog box, in the Select Response to Plot drop-down list, select New Input- Output Transfer Response. To add an input signal, in the Specify input signals area, click +. In the drop-down list, select the output of the Desired Water Level block.
  • 6. To add an output signal, in the Specify output signals area, click +. In the drop-down list, select the output of the Water-Tank System block. To create the closed-loop transfer function and plot the step response, click Plot. Tune Compensator Using Automated PID Tuning To tune the compensator using automated PID tuning, click Tuning Methods, and select PID Tuning. In the PID Tuning dialog box, in the Specifications section, select the following options: • Tuning method — Robust response time • Controller Type — PI
  • 7. Click Update Compensator. The app updates the closed-loop response for the new compensator settings and updates the step response plot. Fine Tune Controller Using Compensator Editor: To tune the parameters of your compensator directly, use the compensator editor. In the Bode Editor, right-click the plot area, and select Edit Compensator. In the Compensator Editor dialog box, on the Parameter tab, tune the PID controller gains. For more information on editing compensator parameters, see Tune Simulink Blocks Using Compensator Editor. Why we use Compensator? _____________________________________________________________________________________ _____________________________________________________________________________________ _____________________________________________________________________________________ What parameters should be change to stable a system? _____________________________________________________________________________________ _____________________________________________________________________________________ _____________________________________________________________________________________