SlideShare a Scribd company logo
1 of 4
% Experiment-2 Identifiation of Pole and Zero of the given control system
%Ayush choudhary, Section A, Roll no. 18ESKEE024
%System-1
a=[1 2 13 45];
b=[10 12 14 15];
G=tf(a,b)% Creating transfer function of give coefficients
disp('Poles of the system are:')
pole(G) % Obtaining poles of the system
disp('Zeros of the system are:')
zero(G) % Obtaining Zeros of the system
disp('Zero Pole and Gain form of the given system is:')
zpk(G) % Creating transfer function (Pole and Zero)
disp('Step Response of the system is')
step(G) % Step response of the given system
Solution:
Transfer function:
s^3 + 2 s^2 + 13 s + 45
---------------------------
10 s^3 + 12 s^2 + 14 s + 15
Poles of the system are:
ans =
-1.1329
-0.0335 + 1.1502i
-0.0335 - 1.1502i
Zeros of the system are:
ans =
0.4449 + 3.9209i
0.4449 - 3.9209i
-2.8899
Zero Pole and Gain form of the given system is:
Zero/pole/gain:
0.1 (s+2.89) (s^2 - 0.8899s + 15.57)
------------------------------------
(s+1.133) (s^2 + 0.06708s + 1.324)
Step Response of the system is
Figure 1. Step Response of the System-1
0 50 100 150
0
1
2
3
4
5
Step Response
Time (sec)
Amplitude
% Experiment-2 Identifiation of Pole and Zero of the given control system
%Dr. Akash Saxena Section C-2, Roll no. SKITEE2021
%System-2
a=[17 22 13];
b=[100 12 65 14 15 97];
G=tf(a,b)% Creating transfer function of give coefficients
disp('Poles of the system are:')
pole(G) % Obtaining poles of the system
disp('Zeros of the system are:')
zero(G) % Obtaining Zeros of the system
disp('Zero Pole and Gain form of the given system is:')
zpk(G) % Creating transfer function (Pole and Zero)
disp('Step Response of the system is')
step(G) % Step response of the given system
Response
Transfer function:
17 s^2 + 22 s + 13
----------------------------------------------
100 s^5 + 12 s^4 + 65 s^3 + 14 s^2 + 15 s + 97
Poles of the system are:
ans =
0.6705 + 0.6889i
0.6705 - 0.6889i
-0.2848 + 1.0470i
-0.2848 - 1.0470i
-0.8914
Zeros of the system are:
ans =
-0.6471 + 0.5882i
-0.6471 - 0.5882i
Zero Pole and Gain form of the given system is:
Zero/pole/gain:
0.17 (s^2 + 1.294s + 0.7647)
----------------------------------------------------------
(s+0.8914) (s^2 - 1.341s + 0.9242) (s^2 + 0.5696s + 1.177)
Step Response of the system is
Figure 2. Step Response of System-2
0 5 10 15 20 25
-2
-1.5
-1
-0.5
0
0.5
1
x 10
6
Step Response
Time (sec)
Amplitude
% Experiment-2 Identifiation of Pole and Zero of the given control system
%Dr. Akash Saxena Section C-2, Roll no. SKITEE2021
%System-3
a=[17 22 ];
b=[12 65 97];
G=tf(a,b)% Creating transfer function of give coefficients
disp('Poles of the system are:')
pole(G) % Obtaining poles of the system
disp('Zeros of the system are:')
zero(G) % Obtaining Zeros of the system
disp('Zero Pole and Gain form of the given system is:')
zpk(G) % Creating transfer function (Pole and Zero)
disp('Step Response of the system is')
step(G) % Step response of the given system
Response
Transfer function:
17 s + 22
------------------
12 s^2 + 65 s + 97
Poles of the system are:
ans =
-2.7083 + 0.8650i
-2.7083 - 0.8650i
Zeros of the system are:
ans =
-1.2941
Zero Pole and Gain form of the given system is:
Zero/pole/gain:
1.4167 (s+1.294)
----------------------
(s^2 + 5.417s + 8.083)
Step Response of the system is
Figure 3. Step Response of System-3
0 0.5 1 1.5 2 2.5 3
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
Step Response
Time (sec)
Amplitude
% Experiment-2 Identifiation of Pole and Zero of the given control system
%Dr. Akash Saxena Section C-2, Roll no. SKITEE2021
%System-4
a=[17 15 ];
b=[14 65 97];
G=tf(a,b)% Creating transfer function of give coefficients
disp('Poles of the system are:')
pole(G) % Obtaining poles of the system
disp('Zeros of the system are:')
zero(G) % Obtaining Zeros of the system
disp('Zero Pole and Gain form of the given system is:')
zpk(G) % Creating transfer function (Pole and Zero)
disp('Step Response of the system is')
step(G) % Step response of the given system
Response
Transfer function:
17 s + 15
------------------
14 s^2 + 65 s + 97
Poles of the system are:
ans =
-2.3214 + 1.2408i
-2.3214 - 1.2408i
Zeros of the system are:
ans =
-0.8824
Zero Pole and Gain form of the given system is:
Zero/pole/gain:
1.2143 (s+0.8824)
----------------------
(s^2 + 4.643s + 6.929)
Step Response of the system is
Figure 4. Step Response of System-4
0 0.5 1 1.5 2 2.5 3
0
0.05
0.1
0.15
0.2
0.25
Step Response
Time (sec)
Amplitude

More Related Content

What's hot (9)

Control chap8
Control chap8Control chap8
Control chap8
 
LiquidHeatControl
LiquidHeatControlLiquidHeatControl
LiquidHeatControl
 
Reactive Collections
Reactive CollectionsReactive Collections
Reactive Collections
 
Control systems
Control systemsControl systems
Control systems
 
Amth250 octave matlab some solutions (4)
Amth250 octave matlab some solutions (4)Amth250 octave matlab some solutions (4)
Amth250 octave matlab some solutions (4)
 
Control chap4
Control chap4Control chap4
Control chap4
 
The Ring programming language version 1.7 book - Part 28 of 196
The Ring programming language version 1.7 book - Part 28 of 196The Ring programming language version 1.7 book - Part 28 of 196
The Ring programming language version 1.7 book - Part 28 of 196
 
observer based state feedback controller design in Matlab (Simulink).
observer based state feedback controller design in Matlab (Simulink).observer based state feedback controller design in Matlab (Simulink).
observer based state feedback controller design in Matlab (Simulink).
 
One way to solve the problem 411 in clojure
One way to solve the problem 411 in clojureOne way to solve the problem 411 in clojure
One way to solve the problem 411 in clojure
 

Similar to Ayush exp 2

12EE62R11_Final Presentation
12EE62R11_Final Presentation12EE62R11_Final Presentation
12EE62R11_Final Presentation
Amritesh Maitra
 
Control tutorials for matlab and simulink introduction pid controller desig...
Control tutorials for matlab and simulink   introduction pid controller desig...Control tutorials for matlab and simulink   introduction pid controller desig...
Control tutorials for matlab and simulink introduction pid controller desig...
ssuser27c61e
 
Project Presentation
Project PresentationProject Presentation
Project Presentation
Tabish Fawad
 
Chapter 4 time domain analysis
Chapter 4 time domain analysisChapter 4 time domain analysis
Chapter 4 time domain analysis
Bin Biny Bino
 

Similar to Ayush exp 2 (20)

Ae11 sol
Ae11 solAe11 sol
Ae11 sol
 
The Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space ApproachThe Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space Approach
 
Time-Response Lecture
Time-Response LectureTime-Response Lecture
Time-Response Lecture
 
Chapter10
Chapter10Chapter10
Chapter10
 
Modeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armModeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic arm
 
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
 
Linear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentLinear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller Assignment
 
12EE62R11_Final Presentation
12EE62R11_Final Presentation12EE62R11_Final Presentation
12EE62R11_Final Presentation
 
lecture 1 courseII (2).pptx
lecture 1 courseII (2).pptxlecture 1 courseII (2).pptx
lecture 1 courseII (2).pptx
 
Control tutorials for matlab and simulink introduction pid controller desig...
Control tutorials for matlab and simulink   introduction pid controller desig...Control tutorials for matlab and simulink   introduction pid controller desig...
Control tutorials for matlab and simulink introduction pid controller desig...
 
Project Presentation
Project PresentationProject Presentation
Project Presentation
 
Digitalcontrolsystems
DigitalcontrolsystemsDigitalcontrolsystems
Digitalcontrolsystems
 
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
Modern Control - Lec 03 - Feedback Control Systems Performance and Characteri...
 
Assignment2 control
Assignment2 controlAssignment2 control
Assignment2 control
 
Chapter 4 time domain analysis
Chapter 4 time domain analysisChapter 4 time domain analysis
Chapter 4 time domain analysis
 
Tarea1 francisco moya_mena_a74449_grupo02
Tarea1 francisco moya_mena_a74449_grupo02Tarea1 francisco moya_mena_a74449_grupo02
Tarea1 francisco moya_mena_a74449_grupo02
 
Block diagrams
Block diagramsBlock diagrams
Block diagrams
 
control system Lab 01-introduction to transfer functions
control system Lab 01-introduction to transfer functionscontrol system Lab 01-introduction to transfer functions
control system Lab 01-introduction to transfer functions
 
A simplified method of designing a phase lead compensator to improve the m-s-...
A simplified method of designing a phase lead compensator to improve the m-s-...A simplified method of designing a phase lead compensator to improve the m-s-...
A simplified method of designing a phase lead compensator to improve the m-s-...
 
A simplified method of designing a phase lead compensator to improve the m-s-...
A simplified method of designing a phase lead compensator to improve the m-s-...A simplified method of designing a phase lead compensator to improve the m-s-...
A simplified method of designing a phase lead compensator to improve the m-s-...
 

Recently uploaded

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 

Recently uploaded (20)

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 

Ayush exp 2

  • 1. % Experiment-2 Identifiation of Pole and Zero of the given control system %Ayush choudhary, Section A, Roll no. 18ESKEE024 %System-1 a=[1 2 13 45]; b=[10 12 14 15]; G=tf(a,b)% Creating transfer function of give coefficients disp('Poles of the system are:') pole(G) % Obtaining poles of the system disp('Zeros of the system are:') zero(G) % Obtaining Zeros of the system disp('Zero Pole and Gain form of the given system is:') zpk(G) % Creating transfer function (Pole and Zero) disp('Step Response of the system is') step(G) % Step response of the given system Solution: Transfer function: s^3 + 2 s^2 + 13 s + 45 --------------------------- 10 s^3 + 12 s^2 + 14 s + 15 Poles of the system are: ans = -1.1329 -0.0335 + 1.1502i -0.0335 - 1.1502i Zeros of the system are: ans = 0.4449 + 3.9209i 0.4449 - 3.9209i -2.8899 Zero Pole and Gain form of the given system is: Zero/pole/gain: 0.1 (s+2.89) (s^2 - 0.8899s + 15.57) ------------------------------------ (s+1.133) (s^2 + 0.06708s + 1.324) Step Response of the system is Figure 1. Step Response of the System-1 0 50 100 150 0 1 2 3 4 5 Step Response Time (sec) Amplitude
  • 2. % Experiment-2 Identifiation of Pole and Zero of the given control system %Dr. Akash Saxena Section C-2, Roll no. SKITEE2021 %System-2 a=[17 22 13]; b=[100 12 65 14 15 97]; G=tf(a,b)% Creating transfer function of give coefficients disp('Poles of the system are:') pole(G) % Obtaining poles of the system disp('Zeros of the system are:') zero(G) % Obtaining Zeros of the system disp('Zero Pole and Gain form of the given system is:') zpk(G) % Creating transfer function (Pole and Zero) disp('Step Response of the system is') step(G) % Step response of the given system Response Transfer function: 17 s^2 + 22 s + 13 ---------------------------------------------- 100 s^5 + 12 s^4 + 65 s^3 + 14 s^2 + 15 s + 97 Poles of the system are: ans = 0.6705 + 0.6889i 0.6705 - 0.6889i -0.2848 + 1.0470i -0.2848 - 1.0470i -0.8914 Zeros of the system are: ans = -0.6471 + 0.5882i -0.6471 - 0.5882i Zero Pole and Gain form of the given system is: Zero/pole/gain: 0.17 (s^2 + 1.294s + 0.7647) ---------------------------------------------------------- (s+0.8914) (s^2 - 1.341s + 0.9242) (s^2 + 0.5696s + 1.177) Step Response of the system is Figure 2. Step Response of System-2 0 5 10 15 20 25 -2 -1.5 -1 -0.5 0 0.5 1 x 10 6 Step Response Time (sec) Amplitude
  • 3. % Experiment-2 Identifiation of Pole and Zero of the given control system %Dr. Akash Saxena Section C-2, Roll no. SKITEE2021 %System-3 a=[17 22 ]; b=[12 65 97]; G=tf(a,b)% Creating transfer function of give coefficients disp('Poles of the system are:') pole(G) % Obtaining poles of the system disp('Zeros of the system are:') zero(G) % Obtaining Zeros of the system disp('Zero Pole and Gain form of the given system is:') zpk(G) % Creating transfer function (Pole and Zero) disp('Step Response of the system is') step(G) % Step response of the given system Response Transfer function: 17 s + 22 ------------------ 12 s^2 + 65 s + 97 Poles of the system are: ans = -2.7083 + 0.8650i -2.7083 - 0.8650i Zeros of the system are: ans = -1.2941 Zero Pole and Gain form of the given system is: Zero/pole/gain: 1.4167 (s+1.294) ---------------------- (s^2 + 5.417s + 8.083) Step Response of the system is Figure 3. Step Response of System-3 0 0.5 1 1.5 2 2.5 3 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 Step Response Time (sec) Amplitude
  • 4. % Experiment-2 Identifiation of Pole and Zero of the given control system %Dr. Akash Saxena Section C-2, Roll no. SKITEE2021 %System-4 a=[17 15 ]; b=[14 65 97]; G=tf(a,b)% Creating transfer function of give coefficients disp('Poles of the system are:') pole(G) % Obtaining poles of the system disp('Zeros of the system are:') zero(G) % Obtaining Zeros of the system disp('Zero Pole and Gain form of the given system is:') zpk(G) % Creating transfer function (Pole and Zero) disp('Step Response of the system is') step(G) % Step response of the given system Response Transfer function: 17 s + 15 ------------------ 14 s^2 + 65 s + 97 Poles of the system are: ans = -2.3214 + 1.2408i -2.3214 - 1.2408i Zeros of the system are: ans = -0.8824 Zero Pole and Gain form of the given system is: Zero/pole/gain: 1.2143 (s+0.8824) ---------------------- (s^2 + 4.643s + 6.929) Step Response of the system is Figure 4. Step Response of System-4 0 0.5 1 1.5 2 2.5 3 0 0.05 0.1 0.15 0.2 0.25 Step Response Time (sec) Amplitude