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

the parameters which are required for describing the dc motor such as moment of inertia(J),motor viscous friction constant(B),motor torque(kt),etc has been defined in the m script

to find the kp and kd values as usual the place command is used and jacobian matrices are used to define the matrices of A,B.

simulink model has been designed as illustrated in the diagram. the PID controllers are implemented and then speed of the motor is obtained via scope


the ki value is tuned to 100 and speed of the motor is obtained