Speed Control of a dc motor with a speed sensor using pid control L298N driver
30 views (last 30 days)
Show older comments
I am trying to control a dc motor using simulink ,this dc motor will be driven by L298N driver as well. speed sensor with an encoder disk having 20 holes is also integrated to the system. I need some help in how to draw the blocks in simulink .
0 Comments
Answers (1)
Prasanna Gude
on 6 Mar 2020
The PID Controller for controlling the speed of a DC Motor can be implemented using ‘Simulink Control Design’. There is a new block in Simulink Arduino Support Package to handle the Arduino pins.
Refer to the following link to know about the Simulink implementation of PID Control of a DC Motor:
To know more about Speed Control of DC Motor driven by L298N using PID Control, go through the following link:
Go through the following example to know about building the PID Controller:
0 Comments
See Also
Categories
Find more on Electromechanical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!