Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
azan
azan le 3 Déc 2012
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 commentaire
Arkadiy Turevskiy
Arkadiy Turevskiy le 2 Jan 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.

Connectez-vous pour commenter.

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by