How to connect a PID signal to a H-bridge driver
12 次查看(过去 30 天)
显示 更早的评论
Hello, a very simple question, but how do you connect a PID to the input of a H-bridge driver? I have read the relevant documentation on the H-bridge driver and tried using a simulink-PS converter however, none of these work, please could someone show me how to do this. Thanks.
0 个评论
回答(1 个)
Amrtanshu Raj
2020-12-22
Hi,
The simplest way to convert between simulink and Simscape electrical Voltage is use a Controlled Voltage source block. In the attached model I have integrated PID Controller to the PWM DC motor Control example.
Hope this helps !!
1 个评论
Alejandro Fernández
2021-3-14
编辑:Alejandro Fernández
2021-3-14
Sorry but I had a question about the model you shared, what control are you implementing, could it be modified to perform speed control?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/549463/image.png)
Because if what I do is to regulate the PID with the speed output, the tuning option tells me that it does not find a solution to linearize the plant.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!