How to connect a PID signal to a H-bridge driver

15 views (last 30 days)
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.

Answers (1)

Amrtanshu Raj
Amrtanshu Raj on 22 Dec 2020
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 Comment
Alejandro Fernández
Alejandro Fernández on 14 Mar 2021
Edited: Alejandro Fernández on 14 Mar 2021
Sorry but I had a question about the model you shared, what control are you implementing, could it be modified to perform speed control?
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!