Control Lab 02
Control Lab 02
Section: _________________________________EEE 6A
Student Task:
Use the Matlab/Simulink environment to model and simulate the 3DOF
system shown in Figure Take the step response and discuss the results.
Provide the complete and solid analysis on the system response. Lab report
should be presented under the instructions provided in the earlier lab.
0 (i1 i3 ) 2(i3 i2 ) 3
d
dt
1
i3 i2 1 i dt
3
5 (5)
Solution:-
Simulation Circuit:-
Simulation Code:-
plot(simout.time,output.signals.values)
xlabel('Time','fontweight','bold','fontsize',9)
ylabel('Amplitude','fontweight','bold','fontsize',9)
title('Step Response for system G(s)=1/(s+1)','fontweight','bold','fontsize',10)
legend('Step Response',1)
grid on
Output Diagram:-
0.2
0.1
Current
-0.1
-0.2
-0.3
-0.4
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time