To analyse the open loop and closed loop system having G(S)=1/(S^2+10S+20) when an unit step input is applied using MATLAB.
Computer with MATLAB software
In this system, the output doesn’t change the action of the control system. It doesn’t have any feedback. It is very simple, needs low maintenance, quick operation, and cost-effective. The accuracy of this system is low and less dependable.
The closed-loop control system can be defined as the output of the system that depends on the input of the system. This control system has one or more feedback loops among its input & output. This system provides the required output by evaluating its input. This kind of system produces the error signal and it is the main disparity between the output and input of the system.
Consider a system having plant G(S)= 1/(S^2+10S+20), H(S) = 1(negative unity feedback system) and Controller C(S) = 300. C(S) and G(S) are in series, 300/(S^2+10S+20) 300/(S^2+10S+20) and H(S) are in negative feedback. Therefore, Closed loop transfer function, (C(S))/(R(S))=300/(S^2+10S+320)
num=[1] den=[1 10 20] sys=tf(num,den) step(sys)
num=[300] den=[1 10 320] sys= tf(num,den) t=0:0.01:0,0.2 step(sys,t)
Open MATLAB software
Open a new script file.
Type the program.
Save and Execute the program.
Analyse the result.


Thus the open loop and closed loop system are analysed and the following conclusions are arrived.
Steady State Error = 0.95 Settling Time = 2.01
Steady State Error = 0.3 Settling Time = 0.863