Project - Speed Control of a Direct Current (DC) motor
Objective
Use the Proportional, Integral, and Derivative (PID) control design knowledge gained in the training to design, develop and test a controller to maintain a desired speed for the motor.

Report
Initially,A Simulink model of Dc Motor is constructed

Matlab parameters
% Assumed Parameters
J = 0.01 % Moment of inertia
B = 0.1 % Motor viscous Friction
Km = 0.01 % Back EMF
Kt = 0.01 % Motor torque constant
Ra = 1 % Armature resistance
La = 0.5 % Armature indutance

Initial DC motor behaviour without any controller
Voltage

LA

Torque

Speed

Back EMF

Then,we make the DC motor as a subsystem and PID Controller is used to control desired speed.

PID Control System

While Maintaining a desired speed of motor at 100

While maintaing a desired speed of motor at 230v

Both the conditions resulted in the same plot, indicating maintaining desired speed