PID gains from a Transfer Function of a mass-spring-damper system
2 views (last 30 days)
Show older comments
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!
0 Comments
Answers (1)
Arkadiy Turevskiy
on 24 Jun 2014
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.
0 Comments
See Also
Categories
Find more on PID Controller Tuning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!