%DC Motor Physical Parameters R 5.35,8 Electric Resistance L 3 . 93E-6; %Electri
ID: 2314241 • Letter: #
Question
%DC Motor Physical Parameters R 5.35,8 Electric Resistance L 3 . 93E-6; %Electric Inductance J = 8.75E-6; % Total Moment of Inertia of the Motor -L ad b = 3.867E-6; % Mot r viscus friction constant K = 0.0316 ;% motor torgue constant s = tf ( 's') sys-K/ (s* ((J* s+b)*(L*s+R) +K^ 2 )) %open-loop transfer function of the motor t = 0:0.01:10 u 45 *ones (1,1001); y-lsim (sys,u,t) plot (t, y) grid 1400 12000 1000 8000 6000 4000 2000 8 10 PID Kp=5, Ki - 40 Kd = 0.93; sys_1 = feedback (C*sys, 1) ;%Close-loop transfer function of the motor t = 0:0.01:10 u 45*ones (1,1001) plot (t, y) ylabel 'Position, Theta degree) qrid Response 50 40 30 S 20 10 -10 4 10 HOW WE CAN p1 t VOLATGE AND TIME (t,v)Explanation / Answer
Here input is u.., so that you used instruction as plot(t,u).., or you may use plot(u)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.