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

1 次查看(过去 30 天)
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 个评论
Arkadiy Turevskiy
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 PID Controller Tuning 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by