Project - Speed Control of a Direct Current (DC) motor
By considering mathematical model of DC motor
we have
A & B mtrices are
A = [-B/J Kt/J; -Km/La -Ra/La]
B1 = [0; 1/La]
C & D matrix are constant hence not considered.
Sript for obtaining Kd, Kp & ki gains and for defining parameter of PID design for speed control of DC motor.
Kd & Kp are obtaine by pole placement method and Ki tunned manually.
Matlab script to define modeling and control design parameters

Simulink model to simulate and verify the design

Scope output for reference speed & actual speed

In scope output we can see reference speed & actual speed are met overshoot, undershoot whithin limits.
Hence we can conclude that objective of speed control achived.