You are on page 1of 5

Vibration and_Control lab

Experiment DC Motor

Laith Suleiman
20151102034
Code for DC Motor:

Open-loop Transfer Function :


Figure (Open-loop Response):

Closed-loop Transfer Function Kp=100, Ki=0, Kd=0 :

Figure ( Closed-loop Response):


Closed-loop Transfer Function Kp=70, Ki=1, Kd=1 :

Figure :

Closed-loop Transfer Function Kp=100, Ki=200, Kd=1 :


Figure :

Closed-loop Transfer Function Kp=100, Ki=200, Kd=4 :

Figure :
Closed-loop Transfer Function Kp=100, Ki=200, Kd=6 :

Figure :

Conclusion :

In this experiment we study first the DC Motor transfer function open


loop system with step input, and show how is the final value for the
response is too from 1. Then we make a closed loop system (PID) with
feedback and how the response is close form 1, but we still don’t have
the best response, then we change the Ki=200 to get the best settling
time less than 2s, and Kd=6 for the overshoot is must be less than 5%. It
showed how the IPD controller improved the Response to get the best
one.

You might also like