Control Systems EEN-210: Branch
Control Systems EEN-210: Branch
CONTROL SYSTEMS
EEN-210
function.
3. S=tf('s');
G=1/(S+2);
step(G);
Conclusion:
In first order transfer function the maximum
value of power of ‘s’ is 1 in numerator as well as
denominator. The plot of step response is
observed as shown above.
EXPERIMENT 2
Aim: To simulate time response of second order transfer function using Matlab
Software required: Matlab
Procedure: 1. Open Matlab on your PC and load the Simulink Library
2. Create a model for first order function using the following elements from the Library: Step,
Transfer Fcn, Scope and Powergui
3. Run the model and copy the resultant graph
4. Use the Matlab editor to write codes and compile them by using Matlab command
window.
5. Copy all observations into a document.
Theory:
The transfer function is defined as the ratio of the output and the input in the
Laplace domain. It describes the dynamic characteristics of the system.
𝐺(𝐺) = 𝐺𝐺𝐺𝐺𝐺𝐺/𝐺𝐺𝐺𝐺𝐺
5. Rearrange the equation to get the ratio of the (out/in) in one side and th
e other parameters in the other side (the resulting is the transfer function).
Observations:
Graph:
Aim
To study what is stepinfo command and observe
its effect on the plot.
Software Required:
MATLAB 2017
Theory :
S = stepinfo(sys)computes the step-response
characteristics for a dynamic system model sys.
The function returns the characteristics in a
structure containing the fields:
Rise Time:
Time it takes for the response to rise from 10% to
90% of the steady-state response.
Settling Time:
Time it takes for the error |y(t) - yfinal| between the
response y(t) and the steady-state response yfinal to
fall to within 2% of yfinal.
Settling Min:
Minimum value of y(t) once the response has
risen.
Settling Max:
Maximum value of y(t) once the response has
risen.
Overshoot:
Percentage overshoot, relative to yfinal .
Undershoot:
Percentage undershoot.
Peak:
Peak absolute value of y(t).
Peak Time:
Time at which the peak value occurs.
Procedure:
1) Open the MATLAB window.
2) Open a blank script.
3) Write the code as written below in script.
4) Run the script and observe the results.
Code:
s=tf('s');
g= (2*s+1)/(2*s*s+4*s+3);
step(g);
stepinfo(g)
Graph:
Parameters:
RiseTime: 0.3753
SettlingTime: 4.2420
SettlingMin: 0.3024
SettlingMax: 0.4828
Overshoot: 44.8477
Undershoot: 0
Peak: 0.4828
PeakTime: 1.3355
Conclusion:
This function is very useful as it gives various
parameters of the given transfer function directly
through simulation in a very short period of time,
giving an advantage of saving of time that we will
spend on finding the parameters by calculations.
Moreover it gives us the peak points and the time
at which the function is achieving that value. So
this command is very useful.
EXPERIMENT - 4
Aim:
A. Overdamped response
k=1;
zeta1=1.2;
wn=5;
s=tf('s');
P1=(k*wn^2)/(s^2+2*(zeta1)*wn*s+(wn)^2);
step(P1);
B. Critically Damped Response
k=1;
zeta2=1;
wn=5;
s=tf('s');
P2=(k*wn^2)/(s^2+2*(zeta2)*wn*s+(wn)^2);
step(P2);
C. Underdamped Response
k=1;
zeta3=0.1;
wn=5;
s=tf('s');
P3=(k*wn^2)/(s^2+2*(zeta3)*wn*s+(wn)^2);
step(P3);
D. Undamped Response:
k=1;
zeta4=0;
wn=1000;
s=tf('s');
P4=(k*wn^2)/(s^2+2*(zeta4)*wn*s+(wn)^2);
step(P4);
Conclusion:
There are two important observations that we
make through this experiment:
1) When we decrease the value of zeta in
overdamped response the peak value of the
response is attained faster as compare to the
case when the value of zeta is more.
EXPERIMENT - 5
Aim:
To plot the poles and zeroes of a given transfer
function.
Software Required:
MATLAB
Theory:
1. Definition:
2. Determination:
3. Amount:
4. Determination of output:
Code:
s=tf('s');
G=(s^2+4*s+8)/(s^2+22*s+14);
step(G);
pzmap(G);
stepinfo(G);
Graph:
Procedure:
1. Open the MATLAB window.
2. Open a blank script.
3. Write the code as written below in script.
4. Run the script and observe the results
Conclusion:
Poles and Zeroes decide the stability of a given
transfer function, so study of poles and zeroes are
important.
In this experiment we have successfully observed
the nature of poles and zeroes & plotted them.