SlideShare a Scribd company logo
Department of Avionics Engineering
AE-3452
Modern Control Systems
Experiment No.2
Provided MATLAB functions, convert the State Space Model into a
classical control system and vice versa
Prepared for
By:
Name:
ID:
Section:
Semester:
Total Marks: ________________
Obtained Marks: _____________
Signature: __________________
Date: _____________________
Provided MATLAB functions, convert the State Space Model into a
classical control system and vice versa
Objective:
To transform the system model from transfer function to state space, and vice versa on MATLAB
Theory:
Given a transfer function of the form:
MATALB can be used to obtain a state-space representation of the transfer function with the following
command
It is important to note that the state space representation is not unique, i.e. there are many state-space
representations for the same system. The MATLAB command gives just one possible state-space
equation.
Example: Consider the transfer function
A possible state-space representation for this system is:
For the example transfer function, MATLAB produces the following state-space representation:
With the following program to get the matrices:
>> num = [0 0 1 0];
>> den = [1 14 56 160];
>> [A, B, C, D] = tf2ss(num, den)
State Space to Transfer Function
To obtain the transfer function from state-space equations, use the following MATLAB code
where num_in must be specified for systems with more than one input. For example, if there is only one
input, then num_in = 1, if there are two inputs then num_in = 2, etc. For systems with only one input,
then the following code is allowed
Example. Given the state-space equations:
MATLAB produces the following system transfer function:
The MATLAB implementation of this is given by the following code:
>> A = [0 1 0; 0 0 1; -5 -25 -5];
>> B = [0; 25; -120];
>> C = [1 0 0];
>> D = [0];
Lab Task 01: Using MATLAB, obtain the transfer function for the control system in the figure below:
Where:
Note: Use the series command to combine the states pace of two systems.
Lab Task 02:
By using the state-space matrices in Lab task 01, perform according to the given block diagram using
parallel command.

More Related Content

What's hot

RTL-Design for beginners
RTL-Design  for beginnersRTL-Design  for beginners
RTL-Design for beginners
Dr.YNM
 
Paper battery
Paper batteryPaper battery
Paper battery
eshu455
 
Aircraft Simulation Model and Flight Control Laws Design Using Scilab and XCos
Aircraft Simulation Model and Flight Control Laws Design Using Scilab and XCosAircraft Simulation Model and Flight Control Laws Design Using Scilab and XCos
Aircraft Simulation Model and Flight Control Laws Design Using Scilab and XCos
Scilab
 
Paper battery
Paper batteryPaper battery
Paper battery
Student
 
Paper battery The Future of Batteries
Paper battery The Future of BatteriesPaper battery The Future of Batteries
Paper battery The Future of Batteries
Shri Savitribai Phule Polytechnic Pune
 
Electric vehicle batteries
Electric vehicle batteriesElectric vehicle batteries
Electric vehicle batteries
Justin Sunny
 
BATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLES
BATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLESBATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLES
BATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLES
BhagavathyP
 
EE6602 Embedded System
EE6602 Embedded SystemEE6602 Embedded System
EE6602 Embedded System
rmkceteee
 
Embedded Systems - Training ppt
Embedded Systems - Training pptEmbedded Systems - Training ppt
Embedded Systems - Training ppt
Nishant Kayal
 
Supercapacitor
SupercapacitorSupercapacitor
Supercapacitor
Shubham Pratap
 
paper battery
paper batterypaper battery
paper battery
Giridhar Singh
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
Arti Parab Academics
 
Energy storage systems for electric & hybrid vehicles
Energy storage systems for electric & hybrid vehiclesEnergy storage systems for electric & hybrid vehicles
Energy storage systems for electric & hybrid vehicles
College Of Engineering Pune
 
embedded-systems-for-beginners
embedded-systems-for-beginnersembedded-systems-for-beginners
embedded-systems-for-beginners
mohamed gaber
 
Power Measurement with IoT
Power Measurement with IoTPower Measurement with IoT
Power Measurement with IoT
Rama Jalamanchili
 
Influence of low temperature conditions on lithium ion batteries
Influence of low temperature conditions on lithium ion batteriesInfluence of low temperature conditions on lithium ion batteries
Influence of low temperature conditions on lithium ion batteries
Ratul
 
Traffic density dependent taffic light controller pdf
Traffic density dependent taffic light controller pdf Traffic density dependent taffic light controller pdf
Traffic density dependent taffic light controller pdf
NAVODITA KUMARI
 
Analog to Digital converter in ARM
Analog to Digital converter in ARMAnalog to Digital converter in ARM
Analog to Digital converter in ARM
Aarav Soni
 
Home automation system using gsm
Home automation system using gsmHome automation system using gsm
Home automation system using gsm
Rohit Sinha
 
BATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLES
BATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLESBATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLES
BATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLES
BhagavathyP
 

What's hot (20)

RTL-Design for beginners
RTL-Design  for beginnersRTL-Design  for beginners
RTL-Design for beginners
 
Paper battery
Paper batteryPaper battery
Paper battery
 
Aircraft Simulation Model and Flight Control Laws Design Using Scilab and XCos
Aircraft Simulation Model and Flight Control Laws Design Using Scilab and XCosAircraft Simulation Model and Flight Control Laws Design Using Scilab and XCos
Aircraft Simulation Model and Flight Control Laws Design Using Scilab and XCos
 
Paper battery
Paper batteryPaper battery
Paper battery
 
Paper battery The Future of Batteries
Paper battery The Future of BatteriesPaper battery The Future of Batteries
Paper battery The Future of Batteries
 
Electric vehicle batteries
Electric vehicle batteriesElectric vehicle batteries
Electric vehicle batteries
 
BATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLES
BATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLESBATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLES
BATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLES
 
EE6602 Embedded System
EE6602 Embedded SystemEE6602 Embedded System
EE6602 Embedded System
 
Embedded Systems - Training ppt
Embedded Systems - Training pptEmbedded Systems - Training ppt
Embedded Systems - Training ppt
 
Supercapacitor
SupercapacitorSupercapacitor
Supercapacitor
 
paper battery
paper batterypaper battery
paper battery
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
 
Energy storage systems for electric & hybrid vehicles
Energy storage systems for electric & hybrid vehiclesEnergy storage systems for electric & hybrid vehicles
Energy storage systems for electric & hybrid vehicles
 
embedded-systems-for-beginners
embedded-systems-for-beginnersembedded-systems-for-beginners
embedded-systems-for-beginners
 
Power Measurement with IoT
Power Measurement with IoTPower Measurement with IoT
Power Measurement with IoT
 
Influence of low temperature conditions on lithium ion batteries
Influence of low temperature conditions on lithium ion batteriesInfluence of low temperature conditions on lithium ion batteries
Influence of low temperature conditions on lithium ion batteries
 
Traffic density dependent taffic light controller pdf
Traffic density dependent taffic light controller pdf Traffic density dependent taffic light controller pdf
Traffic density dependent taffic light controller pdf
 
Analog to Digital converter in ARM
Analog to Digital converter in ARMAnalog to Digital converter in ARM
Analog to Digital converter in ARM
 
Home automation system using gsm
Home automation system using gsmHome automation system using gsm
Home automation system using gsm
 
BATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLES
BATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLESBATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLES
BATTERY MANAGEMENT SYSTEM (BMS) IN ELECTRIC VEHICLES
 

Similar to Provided MATLAB functions, convert the State Space Model into a classical control system and vice versa

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
 
Control system Lab record
Control system Lab record Control system Lab record
Control system Lab record
Yuvraj Singh
 
MODELLING, ANALYSIS AND SIMULATION OF DYNAMIC SYSTEMS USING CONTROL TECHNIQUE...
MODELLING, ANALYSIS AND SIMULATION OF DYNAMIC SYSTEMS USING CONTROL TECHNIQUE...MODELLING, ANALYSIS AND SIMULATION OF DYNAMIC SYSTEMS USING CONTROL TECHNIQUE...
MODELLING, ANALYSIS AND SIMULATION OF DYNAMIC SYSTEMS USING CONTROL TECHNIQUE...
shivamverma394
 
MATLAB sessions Laboratory 1MAT 275 Laboratory 1Introdu.docx
MATLAB sessions Laboratory 1MAT 275 Laboratory 1Introdu.docxMATLAB sessions Laboratory 1MAT 275 Laboratory 1Introdu.docx
MATLAB sessions Laboratory 1MAT 275 Laboratory 1Introdu.docx
andreecapon
 
Modern control system
Modern control systemModern control system
Modern control system
Pourya Parsa
 
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
 
Matlab booklet
Matlab bookletMatlab booklet
Matlab booklet
Sourabh Bhattacharya
 
Control Systems Lab 2
Control Systems Lab 2Control Systems Lab 2
Control Systems Lab 2
Julia London
 
Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...
Saad Mohammad Araf
 
Matlab ch1 intro
Matlab ch1 introMatlab ch1 intro
Matlab ch1 intro
Ragu Nathan
 
Using matlab simulink
Using matlab simulinkUsing matlab simulink
Using matlab simulink
Marilyn Barragán Castañeda
 
Using matlab simulink
Using matlab simulinkUsing matlab simulink
Using matlab simulink
Marilyn Barragán Castañeda
 
BCA DATA STRUCTURES ALGORITHMS AND PRELIMINARIES MRS SOWMYA JYOTHI
BCA DATA STRUCTURES ALGORITHMS AND PRELIMINARIES MRS SOWMYA JYOTHIBCA DATA STRUCTURES ALGORITHMS AND PRELIMINARIES MRS SOWMYA JYOTHI
BCA DATA STRUCTURES ALGORITHMS AND PRELIMINARIES MRS SOWMYA JYOTHI
Sowmya Jyothi
 
PID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB ApproachPID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB Approach
Waleed El-Badry
 
Lecture_03_EEE 363_Control System.pptx
Lecture_03_EEE 363_Control System.pptxLecture_03_EEE 363_Control System.pptx
Lecture_03_EEE 363_Control System.pptx
TasnimAhmad14
 
EE380-4 Course project Experimental determination of a Ser.docx
EE380-4  Course project Experimental determination of a  Ser.docxEE380-4  Course project Experimental determination of a  Ser.docx
EE380-4 Course project Experimental determination of a Ser.docx
jack60216
 
EPE821_Lecture3.pptx
EPE821_Lecture3.pptxEPE821_Lecture3.pptx
EPE821_Lecture3.pptx
Ihtisham Uddin
 
State space analysis.pptx
State space analysis.pptxState space analysis.pptx
State space analysis.pptx
RaviMuthamala1
 
Matlab-3.pptx
Matlab-3.pptxMatlab-3.pptx
Matlab-3.pptx
aboma2hawi
 
TRANSFER FUNCTION (4).pptx
TRANSFER FUNCTION (4).pptxTRANSFER FUNCTION (4).pptx
TRANSFER FUNCTION (4).pptx
ankit317032
 

Similar to Provided MATLAB functions, convert the State Space Model into a classical control system and vice versa (20)

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
 
Control system Lab record
Control system Lab record Control system Lab record
Control system Lab record
 
MODELLING, ANALYSIS AND SIMULATION OF DYNAMIC SYSTEMS USING CONTROL TECHNIQUE...
MODELLING, ANALYSIS AND SIMULATION OF DYNAMIC SYSTEMS USING CONTROL TECHNIQUE...MODELLING, ANALYSIS AND SIMULATION OF DYNAMIC SYSTEMS USING CONTROL TECHNIQUE...
MODELLING, ANALYSIS AND SIMULATION OF DYNAMIC SYSTEMS USING CONTROL TECHNIQUE...
 
MATLAB sessions Laboratory 1MAT 275 Laboratory 1Introdu.docx
MATLAB sessions Laboratory 1MAT 275 Laboratory 1Introdu.docxMATLAB sessions Laboratory 1MAT 275 Laboratory 1Introdu.docx
MATLAB sessions Laboratory 1MAT 275 Laboratory 1Introdu.docx
 
Modern control system
Modern control systemModern control system
Modern control system
 
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
 
Matlab booklet
Matlab bookletMatlab booklet
Matlab booklet
 
Control Systems Lab 2
Control Systems Lab 2Control Systems Lab 2
Control Systems Lab 2
 
Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...
 
Matlab ch1 intro
Matlab ch1 introMatlab ch1 intro
Matlab ch1 intro
 
Using matlab simulink
Using matlab simulinkUsing matlab simulink
Using matlab simulink
 
Using matlab simulink
Using matlab simulinkUsing matlab simulink
Using matlab simulink
 
BCA DATA STRUCTURES ALGORITHMS AND PRELIMINARIES MRS SOWMYA JYOTHI
BCA DATA STRUCTURES ALGORITHMS AND PRELIMINARIES MRS SOWMYA JYOTHIBCA DATA STRUCTURES ALGORITHMS AND PRELIMINARIES MRS SOWMYA JYOTHI
BCA DATA STRUCTURES ALGORITHMS AND PRELIMINARIES MRS SOWMYA JYOTHI
 
PID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB ApproachPID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB Approach
 
Lecture_03_EEE 363_Control System.pptx
Lecture_03_EEE 363_Control System.pptxLecture_03_EEE 363_Control System.pptx
Lecture_03_EEE 363_Control System.pptx
 
EE380-4 Course project Experimental determination of a Ser.docx
EE380-4  Course project Experimental determination of a  Ser.docxEE380-4  Course project Experimental determination of a  Ser.docx
EE380-4 Course project Experimental determination of a Ser.docx
 
EPE821_Lecture3.pptx
EPE821_Lecture3.pptxEPE821_Lecture3.pptx
EPE821_Lecture3.pptx
 
State space analysis.pptx
State space analysis.pptxState space analysis.pptx
State space analysis.pptx
 
Matlab-3.pptx
Matlab-3.pptxMatlab-3.pptx
Matlab-3.pptx
 
TRANSFER FUNCTION (4).pptx
TRANSFER FUNCTION (4).pptxTRANSFER FUNCTION (4).pptx
TRANSFER FUNCTION (4).pptx
 

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
 
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
 
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
 
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
 
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
 
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
 
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...
 
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...
 
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
 
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
 
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

IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
GauravCar
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...
IJECEIAES
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
Madan Karki
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
bijceesjournal
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 

Recently uploaded (20)

IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 

Provided MATLAB functions, convert the State Space Model into a classical control system and vice versa

  • 1. Department of Avionics Engineering AE-3452 Modern Control Systems Experiment No.2 Provided MATLAB functions, convert the State Space Model into a classical control system and vice versa Prepared for By: Name: ID: Section: Semester: Total Marks: ________________ Obtained Marks: _____________ Signature: __________________ Date: _____________________
  • 2. Provided MATLAB functions, convert the State Space Model into a classical control system and vice versa Objective: To transform the system model from transfer function to state space, and vice versa on MATLAB Theory: Given a transfer function of the form: MATALB can be used to obtain a state-space representation of the transfer function with the following command It is important to note that the state space representation is not unique, i.e. there are many state-space representations for the same system. The MATLAB command gives just one possible state-space equation. Example: Consider the transfer function A possible state-space representation for this system is: For the example transfer function, MATLAB produces the following state-space representation: With the following program to get the matrices:
  • 3. >> num = [0 0 1 0]; >> den = [1 14 56 160]; >> [A, B, C, D] = tf2ss(num, den) State Space to Transfer Function To obtain the transfer function from state-space equations, use the following MATLAB code where num_in must be specified for systems with more than one input. For example, if there is only one input, then num_in = 1, if there are two inputs then num_in = 2, etc. For systems with only one input, then the following code is allowed Example. Given the state-space equations: MATLAB produces the following system transfer function: The MATLAB implementation of this is given by the following code: >> A = [0 1 0; 0 0 1; -5 -25 -5]; >> B = [0; 25; -120]; >> C = [1 0 0]; >> D = [0]; Lab Task 01: Using MATLAB, obtain the transfer function for the control system in the figure below:
  • 4. Where: Note: Use the series command to combine the states pace of two systems. Lab Task 02: By using the state-space matrices in Lab task 01, perform according to the given block diagram using parallel command.