Project - Speed Control of a Direct Current (DC) motor
For this project I am Submitted .m file and slx file
In m file I have all parameters from that I got K values using k = place(A,B,P)
>> K
K =
38.3133 -2.8584
>> Kp = K(1)
Kp =
38.3133
>> Kd = K(2)
Kd =
-2.8584
From This i got Kp and Kd values
Ki values I took Manually to get desired output.
plot(out.time,out.x1);grid;
In this I took model settings as ode4 method.step is 0.

Hence I got expected output.