View on GitHub

DC-motor-control-simulation

A Matlab and Simulink model for controlling a DC motor with and without PWM

A simulation of a control loop for a DC motor.

Two control strategies have been implemented through the use of a PI regulator:

  1. Linear voltage control
  2. PWM control

The files in this repository are the following:

The regulator was tuned with some overshoot using the tuning utility in Matlab.

Control loop

PWM control Linear voltage control

DC motor model implementation

dc-motor

Speed [rad/s] over time [s]

speed-control-example