MatLab Assignment
MatLab Assignment
MatLab Assignment
CONTROL ENGINEERING
(McE – 42077)
MATLAB
Assignment
Solution
(a) The transfer functions from R(s) to Y(s) for K= 10, 20, 50, 100.
(b) The transfer functions from D(s) to Y(s) for K= 10, 20, 50, 100.
(c) The system response; for K= 10, 20, 50, 100; due to a unit step disturbance –
r(t)
Input Code:
Output
(d) The system response; for K= 10, 20, 50, 100; due to a unit step disturbance –
r(t)
Input Code:
Output
(e) The percent overshoot, rise time, settling time, steady state of y(t) due to a
unit step input-r(t)
The percent overshoot, rise time, settling time, steady state of y(t) due to a unit step
disturbance-d(t)
(f) Comparison between the unit step input and unit step disturbance
Percent Rise Time Settling Time Steady State
Overshoot
K
Step Distu- Step Distu- Step Distu- Step Distu-
Input rbance Input rbance Input rbance Input rbance
10 0 0 0.2045 2.4509 0.3893 4.4361 1 0.1
(g)
In the unit step disturbance, we got percent overshoot value zero for K=10, 20,
which means that the system is overdamped. And we got underdamped system for
K=50 ,100.
Therefore, the larger the controller gain, the more like the system to be
underdamped.
The steady state value of system response decreases while increasing in controller
gain.
The rising time and the settling time also take longer due to the disturbance except
for the settling time in underdamped system.
Exercise 2: Design of a Second order feedback system based on performances. For
the motor system given below, we need to design feedback such that the overshoot
is limited and there is less oscillatory nature in the response based on the
specifications provided in the table. Assume no disturbance (D(s)=0).
Solution
Input Code:
Output
Ka 20 30 50 60 80
♦♦♦♦♦