Browsing by Author "Boudane, Khalid"
Now showing 1 - 1 of 1
Results Per Page
Sort Options
- Velocity control of a dc motor using pid and cdm method based on matlab/simulink and arduinoPublication . Boudane, Khalid; Gonçalves, José; Coelho, João Paulo; Tahraoui, SouadThe control of the speed of a (direct current) DC motor is very important as any change can lead to instability of the closed loop system. The aim of this project is to show how a DC motor can be controlled using a PID controller and the CDM Coefficient Diagram method in MATLAB/Simulink. The DC motor will be interfaced to MATLAB using an Arduino Mega 2560. The speed of the motor will be set by creating a Simulink model for the PID controller and CDM Coefficient Diagram Method in MATLAB. This last will send a serial command to the DC motor using the PWM pins on the Arduino board. The DC motor will run at the speed defined by the user. The velocity of the DC motor will be measured using the encoder. From the encoder, the output is sent to the controller (PID/CDM) in Simulink via Arduino. The controller compares the actual velocity of the motor with the setpoint velocity.
