Challenge

Project - Speed Control of a Direct Current (DC) motor

%CONSTRUCTION

1)Based on the above diagram we are creating the simulink model

2)for that model the values of J,B,Kt,Km,Ra,La are initiated

3)using the gain,sum,to workspace,transfer function block,reference block the simulink model is created

4)initiating the PID block after the error input

5)inside the the PID the value for proportional,integral,derevative gains are inputed as Kp,Kd,Ki from the workspace

6)the values are plotted

7) the Kp,Kd,Ki gains are altered accordingly to stablize the output as much as possible

8)the most equivalent value is plotted in the graph

%EDITOR

J=0.01;
B=0.1;
Km=0.01;
Kt=0.01;
Ra=1.0;
La=0.5;
Kp=1000;
Kd=30;
Ki=2000;
subplot(321);plot(out.time,out.Vs);grid;title('Supply voltage');
subplot(322);plot(out.time,out.Vb);grid;title('Back EMF');
subplot(323);plot(out.time,out.ia);grid;title('Armature Current');
subplot(324);plot(out.time,out.t);grid;title('Motor Torque');
subplot(325);plot(out.time,out.w);grid;title('Speed');

%RESULT

The simulink model for the DC motor is made and the PID control system is initiated to get the output and the output is stablized by altering the Kp,Kd,Ki gains

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.