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

7 vues (au cours des 30 derniers jours)
Tb
Tb le 7 Déc 2020
Commenté : Habiba le 28 Avr 2025
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.

Réponses (1)

Amrtanshu Raj
Amrtanshu Raj le 22 Déc 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 !!
  2 commentaires
Alejandro Fernández
Alejandro Fernández le 14 Mar 2021
Modifié(e) : Alejandro Fernández le 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.
Habiba
Habiba le 28 Avr 2025
Hey, please if you an answer for your question can you please help me cause I'm stuck with the same problem. Thanks in advance!

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by