14K views

Uploaded by Nima Fouladinejad

By: Nima Fouladinejad
Mat. No: MM081053 Email: Nima.Fouladinejad@gmail.com
How to draw Bode Diagram, Polar Plot and Nyquist Diagram for Control Systems via MATLAB Nima Fouladinejad
Faculty of Mechanical Engineering, Universiti Teknologi Malaysia Nima.fouladinejad@gmail.com
1. Example (6.8) To draw the bode diagram in MATLAB we simply write these in the command window of MATLAB. s=tf('s') Transfer function: s h=(10*(1+.5*s))/(s*(1+10*s)*(1+2*s)) %write the transfer function in MATLAB (sys name

- Nyquist Stability Criterion
- -stability bode nyquist pdf-
- Root Locus and matlab programming
- Ee2257 Control System Lab Manual
- Sustainable Energy Technology in Malaysia and Iran
- Automatic Control System S Hasan Saeed
- Homework 2
- Lqr Control With Matlab
- Nyquist
- BODE PLOTS With Examples
- control system notes.pdf
- Sketch Bode Plot
- Lag and Lead compensators
- Design of Nano-Satellite Communication Subsystem
- The Frbm Act
- Transgenic Animals
- Transgenic Animals and Plants
- Prospects of biofertilizers by Raj Vakil
- aids awareness
- Simulink Based Generalized Model of PV Module

You are on page 1of 5

com

How to draw Bode Diagram, Polar Plot and Nyquist Diagram for Control Systems via

MATLAB

Nima Fouladinejad

Nima.fouladinejad@gmail.com

1. Example (6.8)

To draw the bode diagram in MATLAB we simply write these in the command window of MATLAB.

Transfer function:

Transfer function:

5 s + 10

-------------------------

20 s^3 + 12 s^2 + s

And here is the MATLAB Bode diagram for this exercise. You can see the Gain Margin, Phase

Margin, correspond frequency and the stability of the system in the figure.

By: Nima Fouladinejad Mat. No: MM081053 Email: Nima.Fouladinejad@gmail.com

Exercise 6.1:

Draw the polar plot of the frequency response diagram for the system shown bellow.

u y

We can simply use this transfer function and draw the Nyquist diagram in MATLAB as follow.

>> s=tf('s') %to identify the transfer function variable

Transfer function:

s

>> G=(1/s)*(10/(1+0.1*s))*(1/(1+0.02*s)) %write the transfer function in MATLAB

Transfer function:

10

------------------------------

By: Nima Fouladinejad Mat. No: MM081053 Email: Nima.Fouladinejad@gmail.com

>> nyquist(G) %command to Draw the Nyquist diagram

And here is the MATLAB Nyquist diagram for this exercise. You can see the Gain Margin, Phase

Margin, correspond frequency and the stability of the system in the figure.

Exercise 6.2:

For the control system shown below, plot the Nyquist diagram for K=1, and obtain the gain margin

and phase margin. Verify the answer by calculation.

We can simply use this transfer function and draw the Nyquist diagram in MATLAB as follow.

>> s=tf('s') %to identify the transfer function variable

Transfer function:

s

>> G=10/((s*(1+0.1*s)*(1+0.02*s))+10) %write the transfer function in MATLAB

Transfer function:

By: Nima Fouladinejad Mat. No: MM081053 Email: Nima.Fouladinejad@gmail.com

10

------------------------------

0.002 s^3 + 0.12 s^2 + s+10

>> nyquist(G) %command to Draw the Nyquist diagram

And here is the MATLAB Nyquist diagram for this exercise. You can see the Gain Margin, Phase

Margin, correspond frequency, Minimum Stability Margin, Peak Gain and the stability of the system

in the figure.

Exercise 6.3:

For the control system shown bellow, draw the Bode diagram for K=1. From the bode diagram, obtain

the gain and phase margin.

u y

We can simply use this transfer function and draw the Bode diagram in MATLAB as follow.

>> s=tf('s') %to identify the transfer function variable

Transfer function:

s

>> >> G=40/((s*(s+4)*(s+5))+40) %write the transfer function in MATLAB

By: Nima Fouladinejad Mat. No: MM081053 Email: Nima.Fouladinejad@gmail.com

Transfer function:

40

----------------------------

s^3 + 9 s^2 + 20 s + 40

And here is the MATLAB Bode diagram for this exercise. You can see the Gain Margin, Phase

Margin, correspond frequency, Peak Gain and the stability of the system in the figure.

- Nyquist Stability CriterionUploaded bymoosuhaib
- -stability bode nyquist pdf-Uploaded byapi-3755845
- Root Locus and matlab programmingUploaded byshaista005
- Ee2257 Control System Lab ManualUploaded bychristorec
- Sustainable Energy Technology in Malaysia and IranUploaded byNima Fouladinejad
- Automatic Control System S Hasan SaeedUploaded byYogesh Suthar
- Homework 2Uploaded byscribdrnv
- Lqr Control With MatlabUploaded bymurali306
- NyquistUploaded byHosein Kerdar
- BODE PLOTS With ExamplesUploaded byPacymo Dubelogy
- control system notes.pdfUploaded byMohammed Faizan
- Sketch Bode PlotUploaded byJunlene Ng
- Lag and Lead compensatorsUploaded byHariPriyan
- Design of Nano-Satellite Communication SubsystemUploaded byPramath Keny
- The Frbm ActUploaded bysachin
- Transgenic AnimalsUploaded byRushil
- Transgenic Animals and PlantsUploaded bynarayanappam
- Prospects of biofertilizers by Raj VakilUploaded byRaj Vakil
- aids awarenessUploaded bydr.narinder1967
- Simulink Based Generalized Model of PV ModuleUploaded byAneek Islam
- Malaria 2003Uploaded byDr.U.P.Rathnakar.MD.DIH.PGDHM
- UnemploymentUploaded byKajal Saini
- Bio FuelsUploaded byneleaparingit2820087954
- Transgenic milkUploaded byeditorveterinaryworld
- Fluid mechanics.pdfUploaded bymohapatramugdha99
- povertyUploaded byjyothibandi
- Tissue CultureUploaded byNasir Hussain Faraz

- Phase Transitions in Materials - Brent FultzUploaded byClever Ricardo Chinaglia
- Function.pptUploaded byriva
- Attrition_and_University_Retention_PaperLast.pdfUploaded byJustin Paul Conge
- Mrkic - Nikola Tesla - The European Years (1856-1884)Uploaded byharishkumarsingh
- classnote-5604e12da1f93Uploaded byHarshitShukla
- SAP Product Costing Interview QuestionsUploaded bySuneetha Mathukumalli
- Bartolomeo Ramis de Pareia's Tuning System and Greek Tradition.pdfUploaded byNeilHicks
- Chapter 14 SlidesUploaded bysuperwebon
- Lecture 5Uploaded bylockas222
- Intro 123Uploaded byGaurav Pawar
- ConJoint Analysis OverviewUploaded bySiddharth Venkataraman
- NEW AGE_Mechanical and Production Engineering Catalogue 2013-2014Uploaded byJadhav Pritam
- Intro to TensorsUploaded byjohnsmith37788
- MSCUploaded byAriel Carandang
- 10.1.1.576.6297Uploaded byAnonymous LU3Dz3TKtV
- Log Rank TestUploaded byDivyashri Jain
- miaa 320 task analysis docx finalUploaded byapi-278126519
- Physical Principles and Formalisms of Electrical Excitability.Uploaded byalkemir
- Ground Grid DesignUploaded byReza Torkaman
- Lawvere - Quantifiers and SheavesUploaded byLuke Fraser
- Electronic Amplifier NotesUploaded byganeshkailas
- Intro Duccion SwiftUploaded byRandy Urtubia
- model paper mathematics class 4Uploaded byAloma Fonseca
- 5. PROJECTION OF LINES.pptUploaded byFawad Ahmad
- Grenon Spatio-Temporality in Basic FormalUploaded byKátia Cardoso Coelho
- DynamicsUploaded bypunjabian43
- Electric Current in ConductorsUploaded bythinkiit
- MatLabsUploaded bylynnlynn23
- Hampton University TranscriptUploaded byFVCproductions
- Neutrosophic AHP-Delphi Group decision making model based on trapezoidal neutrosophic numbersUploaded byMia Amalia