SlideShare a Scribd company logo
Slide Title
• INTRODUCTION OF MATLAB
• CONTROL SYSTEM TOOLBOX
• TRANSFER FUNCTION
– Poles & Zeroes
– Multiplication Of Transfer Functions
– Closed-loop Transfer Function
• TIME RESPONSE OF A CONTROL SYSTEM
– Impulse
– Step
– Ramp
• STATE SPACE REPRESENTATION
– State space to transfer function
– Transfer function to state space
INTRODUCTION
What is MATLAB
• MATLAB is a programming platform designed
specifically for engineers and scientists.
• MATLAB=Matrix + laboratory
• The heart of MATLAB is the MATLAB language, a
matrix-based language.
• MATLAB features a family of application-specific
solutions called toolboxes.
• Areas in which toolboxes are available include signal
processing, control systems, neural networks, fuzzy
logic and many others.
View of MATLAB
What can you do with MATLAB?
• Using MATLAB, you can:
• Analyze data
• Develop algorithms
• Create models and
applications
CONTROL SYSTEM TOOLBOX
LINEAR CONTROL SYSTEM
• A linear control system may be
presented either by a set of
differential equations or by a transfer
function.
Transfer Function
• A transfer function is defined as the ratio of the
Laplace transform of output to the Laplace transform
of the input.
• Transfer functions are defined in MATLAB by storing
the coefficients of the numerator and the denominator
in vectors.
• For example,
T/F IN MATLAB
• 𝐺 𝑠 =
100
𝑠2
+14𝑠+100
• Here we type the following code
• num = 100;
• den = [1 14 100];
• To check your entry you can
use the command printsys
as shown below:
– printsys(num,den);
– Or G=tf(num,den)
POLES & ZEROS
• We can find poles with the help of following MATLAB
command.
• poles = roots(den)
𝐺 𝑠 =
100
𝑠2
+14𝑠+100
• We can find Zeros with the help of following
MATLATLABAB command
• zeros = roots(num)
PZMAP
• To plot the poles and zeros of any transfer function
there is a built in function pzmap in the MATLAB
• pzmap(num,den)
MULTIPLICATION OF TRANSFER FUNCTIONS
• num1 = [1 0];
• den1 = [9 17];
• num2 = 9*[1 3];
• den2 = [2 9 27];
• [num, den] = series (num1,den1,num2,den2);
printsys(num,den);
CLOSED-LOOP TRANSFER FUNCTION
• num = 9;
• den = [1 5];
• [numt,dent] = cloop(num,den,-1);
• printsys(numt,dent)
TIME RESPONSE OF CONTROL SYSTEM
TIME RESPONSE OF A CONTROL SYSTEM
• Step Response
• G(S)=
𝟏𝟎𝟎
𝑺 𝟐
+𝟏𝟒𝑺+𝟏𝟎𝟎
• To find the step response of the system
• num = 100;
• den = [1 14 100];
• step(num,den)
IMPULSE RESPONSE
• G(S)=
𝟏𝟎𝟎
S2+14S+100
• To find the step response of the system
• num = 100;
• den = [1 14 100];
• impulse(num,den)
Ramp Response
• G(S)=
100
S2+14S+100
• To find the ramp response of the system:
• t = 0:0.01:10;
• r = t;
• num = 100;
• den = [1 14 100];
• lsim(num,den,r,t)
TRANSFER FUNCTION TO STATE SPACE
• num = [12 59];
•
• den = [1 6 8];
•
• [A,B,C,D] = tf2ss(num,den);
•
• printsys(A,B,C,D)
STATE SPACE TO TRANSFER FUNCTION
• A = [-5 -1; 3 -1]
• B = [1 ; 0];
• C = [1 2];
• D = [0];
• [num,den]= ss2tf(A,B,C,D);
•
• printsys(num,den)
ANY QUESTION?
Control System toolbox in Matlab

More Related Content

What's hot

Digital control systems
Digital control systemsDigital control systems
Digital control systems
avenkatram
 
Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI Systems
Amr E. Mohamed
 
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Amr E. Mohamed
 
Nyquist Stability Criterion
Nyquist  Stability CriterionNyquist  Stability Criterion
Nyquist Stability Criterion
Hussain K
 
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
 
Tuning of pid controller
Tuning of pid controllerTuning of pid controller
Tuning of pid controller
Subhankar Sau
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier Transform
Abhishek Choksi
 
Nyquist plot
Nyquist plotNyquist plot
Nyquist plot
Mrunal Deshkar
 
Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20
Ali Rind
 
Stability of Control System
Stability of Control SystemStability of Control System
Stability of Control System
vaibhav jindal
 
control engineering revision
control engineering revisioncontrol engineering revision
control engineering revision
ragu nath
 
Polar Plot
Polar PlotPolar Plot
Polar Plot
Hussain K
 
Compensators
CompensatorsCompensators
Compensators
jawaharramaya
 
pid controller
 pid controller pid controller
pid controller
shurjeel amjad
 
Control system unit(1)
Control system unit(1)Control system unit(1)
Control system unit(1)
Mohammed Waris Senan
 
Z Transform
Z TransformZ Transform
Z Transform
Darshan Bhatt
 
Controllability and observability
Controllability and observabilityControllability and observability
Controllability and observability
jawaharramaya
 
Pid controller
Pid controllerPid controller
Pid controller
Dr. Chetan Bhatt
 
inverse z transform
inverse z transforminverse z transform
inverse z transform
Zlatan Ahmadovic
 
Lag lead compensator design in frequency domain 7th lecture
Lag lead compensator design in frequency domain  7th lectureLag lead compensator design in frequency domain  7th lecture
Lag lead compensator design in frequency domain 7th lecture
Khalaf Gaeid Alshammery
 

What's hot (20)

Digital control systems
Digital control systemsDigital control systems
Digital control systems
 
Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI Systems
 
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
 
Nyquist Stability Criterion
Nyquist  Stability CriterionNyquist  Stability Criterion
Nyquist Stability Criterion
 
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
 
Tuning of pid controller
Tuning of pid controllerTuning of pid controller
Tuning of pid controller
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier Transform
 
Nyquist plot
Nyquist plotNyquist plot
Nyquist plot
 
Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20
 
Stability of Control System
Stability of Control SystemStability of Control System
Stability of Control System
 
control engineering revision
control engineering revisioncontrol engineering revision
control engineering revision
 
Polar Plot
Polar PlotPolar Plot
Polar Plot
 
Compensators
CompensatorsCompensators
Compensators
 
pid controller
 pid controller pid controller
pid controller
 
Control system unit(1)
Control system unit(1)Control system unit(1)
Control system unit(1)
 
Z Transform
Z TransformZ Transform
Z Transform
 
Controllability and observability
Controllability and observabilityControllability and observability
Controllability and observability
 
Pid controller
Pid controllerPid controller
Pid controller
 
inverse z transform
inverse z transforminverse z transform
inverse z transform
 
Lag lead compensator design in frequency domain 7th lecture
Lag lead compensator design in frequency domain  7th lectureLag lead compensator design in frequency domain  7th lecture
Lag lead compensator design in frequency domain 7th lecture
 

Similar to Control System toolbox in Matlab

Basic concept of MATLAB.ppt
Basic concept of MATLAB.pptBasic concept of MATLAB.ppt
Basic concept of MATLAB.ppt
aliraza2732
 
Mat lab workshop
Mat lab workshopMat lab workshop
Mat lab workshop
Vinay Kumar
 
MatlabIntro (1).ppt
MatlabIntro (1).pptMatlabIntro (1).ppt
MatlabIntro (1).ppt
AkashSingh728626
 
Matlab pt1
Matlab pt1Matlab pt1
Matlab pt1
Austin Baird
 
Matlab_Harshal.pptx
Matlab_Harshal.pptxMatlab_Harshal.pptx
Matlab_Harshal.pptx
HarshalGosavi8
 
MATLAB & Image Processing
MATLAB & Image ProcessingMATLAB & Image Processing
MATLAB & Image Processing
Techbuddy Consulting Pvt. Ltd.
 
DSJ_Unit I & II.pdf
DSJ_Unit I & II.pdfDSJ_Unit I & II.pdf
DSJ_Unit I & II.pdf
Arumugam90
 
Matlab
MatlabMatlab
Matlab
sandhya jois
 
Matlab
MatlabMatlab
Matlab
sandhya jois
 
Introduction to Matlab.ppt
Introduction to Matlab.pptIntroduction to Matlab.ppt
Introduction to Matlab.ppt
Ravibabu Kancharla
 
Data structure and algorithm using java
Data structure and algorithm using javaData structure and algorithm using java
Data structure and algorithm using java
Narayan Sau
 
Matlab ppt
Matlab pptMatlab ppt
Matlab ppt
Dhammpal Ramtake
 
MATLAB workshop lecture 1MATLAB work.ppt
MATLAB workshop lecture 1MATLAB work.pptMATLAB workshop lecture 1MATLAB work.ppt
MATLAB workshop lecture 1MATLAB work.ppt
ssuserdee4d8
 
DSP Mat Lab
DSP Mat LabDSP Mat Lab
Matlab intro
Matlab introMatlab intro
Matlab intro
Chaitanya Banoth
 
Matlab lec1
Matlab lec1Matlab lec1
Matlab lec1
Amba Research
 
NVIDIA 深度學習教育機構 (DLI): Image segmentation with tensorflow
NVIDIA 深度學習教育機構 (DLI): Image segmentation with tensorflowNVIDIA 深度學習教育機構 (DLI): Image segmentation with tensorflow
NVIDIA 深度學習教育機構 (DLI): Image segmentation with tensorflow
NVIDIA Taiwan
 
Mbd dd
Mbd ddMbd dd
Python basics
Python basicsPython basics
Python basics
Hoang Nguyen
 
Python basics
Python basicsPython basics
Python basics
Young Alista
 

Similar to Control System toolbox in Matlab (20)

Basic concept of MATLAB.ppt
Basic concept of MATLAB.pptBasic concept of MATLAB.ppt
Basic concept of MATLAB.ppt
 
Mat lab workshop
Mat lab workshopMat lab workshop
Mat lab workshop
 
MatlabIntro (1).ppt
MatlabIntro (1).pptMatlabIntro (1).ppt
MatlabIntro (1).ppt
 
Matlab pt1
Matlab pt1Matlab pt1
Matlab pt1
 
Matlab_Harshal.pptx
Matlab_Harshal.pptxMatlab_Harshal.pptx
Matlab_Harshal.pptx
 
MATLAB & Image Processing
MATLAB & Image ProcessingMATLAB & Image Processing
MATLAB & Image Processing
 
DSJ_Unit I & II.pdf
DSJ_Unit I & II.pdfDSJ_Unit I & II.pdf
DSJ_Unit I & II.pdf
 
Matlab
MatlabMatlab
Matlab
 
Matlab
MatlabMatlab
Matlab
 
Introduction to Matlab.ppt
Introduction to Matlab.pptIntroduction to Matlab.ppt
Introduction to Matlab.ppt
 
Data structure and algorithm using java
Data structure and algorithm using javaData structure and algorithm using java
Data structure and algorithm using java
 
Matlab ppt
Matlab pptMatlab ppt
Matlab ppt
 
MATLAB workshop lecture 1MATLAB work.ppt
MATLAB workshop lecture 1MATLAB work.pptMATLAB workshop lecture 1MATLAB work.ppt
MATLAB workshop lecture 1MATLAB work.ppt
 
DSP Mat Lab
DSP Mat LabDSP Mat Lab
DSP Mat Lab
 
Matlab intro
Matlab introMatlab intro
Matlab intro
 
Matlab lec1
Matlab lec1Matlab lec1
Matlab lec1
 
NVIDIA 深度學習教育機構 (DLI): Image segmentation with tensorflow
NVIDIA 深度學習教育機構 (DLI): Image segmentation with tensorflowNVIDIA 深度學習教育機構 (DLI): Image segmentation with tensorflow
NVIDIA 深度學習教育機構 (DLI): Image segmentation with tensorflow
 
Mbd dd
Mbd ddMbd dd
Mbd dd
 
Python basics
Python basicsPython basics
Python basics
 
Python basics
Python basicsPython basics
Python basics
 

More from Abdul Sami

L#1 active and passive voice
L#1 active and passive voiceL#1 active and passive voice
L#1 active and passive voice
Abdul Sami
 
L#5 sentences which cannot be changed into passive voice
L#5 sentences which cannot be changed into passive voiceL#5 sentences which cannot be changed into passive voice
L#5 sentences which cannot be changed into passive voice
Abdul Sami
 
L#4 Passive voice for imperative sentences
L#4 Passive voice for imperative sentencesL#4 Passive voice for imperative sentences
L#4 Passive voice for imperative sentences
Abdul Sami
 
8-Difference between phrase and clause
8-Difference between phrase and clause8-Difference between phrase and clause
8-Difference between phrase and clause
Abdul Sami
 
7-What is a clause
7-What is a clause7-What is a clause
7-What is a clause
Abdul Sami
 
5-Types of sentences-structure wise
5-Types of sentences-structure wise5-Types of sentences-structure wise
5-Types of sentences-structure wise
Abdul Sami
 
4 types of sentences
4 types of sentences4 types of sentences
4 types of sentences
Abdul Sami
 
3 subject
3 subject3 subject
3 subject
Abdul Sami
 
2 sentence
2 sentence2 sentence
2 sentence
Abdul Sami
 
1 article
1 article1 article
1 article
Abdul Sami
 
Partial Discharge and it's measurement
Partial Discharge and it's measurementPartial Discharge and it's measurement
Partial Discharge and it's measurement
Abdul Sami
 
Generation of HVDC
Generation of HVDCGeneration of HVDC
Generation of HVDC
Abdul Sami
 
Generation of HVAC
Generation of HVACGeneration of HVAC
Generation of HVAC
Abdul Sami
 
Impulse generator
Impulse generatorImpulse generator
Impulse generator
Abdul Sami
 
Problems of Power Distribution and Utilization
Problems of Power Distribution and UtilizationProblems of Power Distribution and Utilization
Problems of Power Distribution and Utilization
Abdul Sami
 
Communication media
Communication mediaCommunication media
Communication media
Abdul Sami
 
Tariff Problems
Tariff ProblemsTariff Problems
Tariff Problems
Abdul Sami
 
Transducers and it's types
Transducers and it's typesTransducers and it's types
Transducers and it's types
Abdul Sami
 

More from Abdul Sami (18)

L#1 active and passive voice
L#1 active and passive voiceL#1 active and passive voice
L#1 active and passive voice
 
L#5 sentences which cannot be changed into passive voice
L#5 sentences which cannot be changed into passive voiceL#5 sentences which cannot be changed into passive voice
L#5 sentences which cannot be changed into passive voice
 
L#4 Passive voice for imperative sentences
L#4 Passive voice for imperative sentencesL#4 Passive voice for imperative sentences
L#4 Passive voice for imperative sentences
 
8-Difference between phrase and clause
8-Difference between phrase and clause8-Difference between phrase and clause
8-Difference between phrase and clause
 
7-What is a clause
7-What is a clause7-What is a clause
7-What is a clause
 
5-Types of sentences-structure wise
5-Types of sentences-structure wise5-Types of sentences-structure wise
5-Types of sentences-structure wise
 
4 types of sentences
4 types of sentences4 types of sentences
4 types of sentences
 
3 subject
3 subject3 subject
3 subject
 
2 sentence
2 sentence2 sentence
2 sentence
 
1 article
1 article1 article
1 article
 
Partial Discharge and it's measurement
Partial Discharge and it's measurementPartial Discharge and it's measurement
Partial Discharge and it's measurement
 
Generation of HVDC
Generation of HVDCGeneration of HVDC
Generation of HVDC
 
Generation of HVAC
Generation of HVACGeneration of HVAC
Generation of HVAC
 
Impulse generator
Impulse generatorImpulse generator
Impulse generator
 
Problems of Power Distribution and Utilization
Problems of Power Distribution and UtilizationProblems of Power Distribution and Utilization
Problems of Power Distribution and Utilization
 
Communication media
Communication mediaCommunication media
Communication media
 
Tariff Problems
Tariff ProblemsTariff Problems
Tariff Problems
 
Transducers and it's types
Transducers and it's typesTransducers and it's types
Transducers and it's types
 

Recently uploaded

New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
HODECEDSIET
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
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
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
Aditya Rajan Patra
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
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
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 

Recently uploaded (20)

New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
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
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
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
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 

Control System toolbox in Matlab

  • 1.
  • 2.
  • 3. Slide Title • INTRODUCTION OF MATLAB • CONTROL SYSTEM TOOLBOX • TRANSFER FUNCTION – Poles & Zeroes – Multiplication Of Transfer Functions – Closed-loop Transfer Function • TIME RESPONSE OF A CONTROL SYSTEM – Impulse – Step – Ramp • STATE SPACE REPRESENTATION – State space to transfer function – Transfer function to state space
  • 5. What is MATLAB • MATLAB is a programming platform designed specifically for engineers and scientists. • MATLAB=Matrix + laboratory • The heart of MATLAB is the MATLAB language, a matrix-based language. • MATLAB features a family of application-specific solutions called toolboxes. • Areas in which toolboxes are available include signal processing, control systems, neural networks, fuzzy logic and many others.
  • 7. What can you do with MATLAB? • Using MATLAB, you can: • Analyze data • Develop algorithms • Create models and applications
  • 9. LINEAR CONTROL SYSTEM • A linear control system may be presented either by a set of differential equations or by a transfer function.
  • 10. Transfer Function • A transfer function is defined as the ratio of the Laplace transform of output to the Laplace transform of the input. • Transfer functions are defined in MATLAB by storing the coefficients of the numerator and the denominator in vectors. • For example,
  • 11. T/F IN MATLAB • 𝐺 𝑠 = 100 𝑠2 +14𝑠+100 • Here we type the following code • num = 100; • den = [1 14 100]; • To check your entry you can use the command printsys as shown below: – printsys(num,den); – Or G=tf(num,den)
  • 12. POLES & ZEROS • We can find poles with the help of following MATLAB command. • poles = roots(den) 𝐺 𝑠 = 100 𝑠2 +14𝑠+100 • We can find Zeros with the help of following MATLATLABAB command • zeros = roots(num)
  • 13. PZMAP • To plot the poles and zeros of any transfer function there is a built in function pzmap in the MATLAB • pzmap(num,den)
  • 14. MULTIPLICATION OF TRANSFER FUNCTIONS • num1 = [1 0]; • den1 = [9 17]; • num2 = 9*[1 3]; • den2 = [2 9 27]; • [num, den] = series (num1,den1,num2,den2); printsys(num,den);
  • 15. CLOSED-LOOP TRANSFER FUNCTION • num = 9; • den = [1 5]; • [numt,dent] = cloop(num,den,-1); • printsys(numt,dent)
  • 16. TIME RESPONSE OF CONTROL SYSTEM
  • 17. TIME RESPONSE OF A CONTROL SYSTEM • Step Response • G(S)= 𝟏𝟎𝟎 𝑺 𝟐 +𝟏𝟒𝑺+𝟏𝟎𝟎 • To find the step response of the system • num = 100; • den = [1 14 100]; • step(num,den)
  • 18. IMPULSE RESPONSE • G(S)= 𝟏𝟎𝟎 S2+14S+100 • To find the step response of the system • num = 100; • den = [1 14 100]; • impulse(num,den)
  • 19. Ramp Response • G(S)= 100 S2+14S+100 • To find the ramp response of the system: • t = 0:0.01:10; • r = t; • num = 100; • den = [1 14 100]; • lsim(num,den,r,t)
  • 20.
  • 21. TRANSFER FUNCTION TO STATE SPACE • num = [12 59]; • • den = [1 6 8]; • • [A,B,C,D] = tf2ss(num,den); • • printsys(A,B,C,D)
  • 22. STATE SPACE TO TRANSFER FUNCTION • A = [-5 -1; 3 -1] • B = [1 ; 0]; • C = [1 2]; • D = [0]; • [num,den]= ss2tf(A,B,C,D); • • printsys(num,den)