Azzera filtri
Azzera filtri

In matlab coding of PID, can I convolve error with pid equation

1 visualizzazione (ultimi 30 giorni)
I want to write Matlab code for pid controller.Since I am new to controllers so can anyone please guide me that to write code shall I take Laplace inverse of the equation C=Kp + Ki/s + Kd*s; And then convolve it with the error which is a scalar value e.g 3. Is this an appropriate way or not?
  1 Commento
Arkadiy Turevskiy
Arkadiy Turevskiy il 2 Gen 2013
It is not clear what exactly you are trying to do. Please be more specific in what you are trying to calculate/design/simulate.
If you want to simulate a closed loop control system, your error term would not be constant and you do not need to do convolutions to calculate time-domain responses.

Accedi per commentare.

Risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by