Speed Control of a dc motor with a speed sensor using pid control L298N driver

30 次查看(过去 30 天)
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 .

回答(1 个)

Prasanna Gude
Prasanna Gude 2020-3-6
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:

类别

Help CenterFile Exchange 中查找有关 Electromechanical 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by