PID gains from a Transfer Function of a mass-spring-damper system

5 次查看(过去 30 天)
I am looking to calculate the PID gains (Kp, Ki -> Ti, Kd -> Td) of a PID controller in Matlab. From the state-space model, I calculated the transfer function to be:
I tried doing this tutorial but I am having trouble using the feedback function since the numerator of the transfer function doesn't match the other parameter.
Does anyone have any advice?
For reference, my system model is:
Thank you!

回答(1 个)

Arkadiy Turevskiy
Arkadiy Turevskiy 2014-6-24
Well, your system has 1 input (force) and 2 outputs (x1,x2), so it is a single input - multi output system. The tutorial you tried to follow is showing how to design a PID Controller for a single-input single-output system.
What do you need to control in your system, is it x2? That would be most reasonable thing to do.
If that is the case, then the transfer function you should be looking at is F to x2.

类别

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