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

10 vues (au cours des 30 derniers jours)
Tb
Tb le 7 Déc 2020
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 !!
  1 commentaire
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.

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