Question: Exercise - MATLAB: Proportional control system using MATLAB Suppose we have a simple mass, spring, and damper problem The modeling equation of this system is

Exercise -MATLAB: Proportional control system using MATLAB
Suppose we have a simple mass, spring, and damper problem
The modeling equation of this system is
Mx+bx+kx=F
Taking the Laplace transform of the modeling equation (1)
Ms2x(s)+bsx(s)+kx(s)=F(s)
The transfer function between the displacement x(s) and the input F(s) then becomes
x((s))F((s))=1Ms2+bs+k
Let
M=1kg
b=10N.sm
k=20Nm
F(s)=1
Plug these values into the above transfer function
x(s)F(s)=1s2+10s+20
Now consider the proportional controller ( Kp ) reduces the rise time, increases the overshoot, and reduces the steady-state error. The closed-loop transfer function of the above system with a proportional controller is:x(s)F(s)=Kps2+10s+(20+Kp)
Now, for a step input and closed loop transfer function show the effect of Kp for increasing the stability of the system.
Consider values of Kp=1,100,200,300
** Include the response figure in your lab report with the code.
** Explain how the rise time, stability, steady-state error changes with the change of Kp.
Note: The Matlab function called cloop can be used to obtain a closed-loop transfer function directly from the open-loop transfer function
Exercise - MATLAB: Proportional control system

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!