Simulation_CS_I
Simulation_CS_I
Create the required script in MATLAB to solve the questions given below. Submit a single
document that includes the code, plots, results, and screenshots of the MATLAB window.
1
1) Create the transfer function 𝐺(𝑠) = (𝑠+0.5)(𝑠−0.5).
a) Plot the pole zero map.
b) Plot the open loop step response and display the transient and steady state
response specifications in the plot.
c) Calculate the closed loop system transfer function and plot the pole zero map.
d) Plot the closed loop step response with negative unity feedback and display the
transient and steady state response specifications in the plot.
(𝑠+2)
2) Create the transfer function 𝐺(𝑠) = 𝑠(𝑠−2).
a) Plot the Root locus. Mark the imaginary axis crossing, and the breakaway points.
b) Graphically obtain the gain K for which the closed loop system has a damping ratio
of 0.4.
c) Use SISO tool and design appropriate compensator such that −1 + 𝑗𝑎 is part of the
root locus, where 𝑎 = (𝑥 + 𝑦 + 𝑧)/5 if your roll number is 𝐵23𝑤𝑥𝑦𝑧𝐸𝐸.
d) Plot the closed loop response and get the settling time and overshoot.
400
3) Create the transfer function 𝐺(𝑠) = 𝑠(𝑠+5)(𝑠+10)
a) Plot the Nyquist plot and assess the closed loop stability.
b) Sketch the Bode plot of the transfer function. Mark the phase crossover frequency
and gain crossover frequency and obtain the gain and phase margin. Comment on
the closed loop stability.
c) Use SISO tool and design appropriate compensator such that phase margin is
60° + 𝑏, where 𝑏 = 1.5𝑧 if your roll number is 𝐵23𝑤𝑥𝑦𝑧𝐸𝐸.