How can I produce an LQR controller that minimises state trajectories?

4 views (last 30 days)
Folks,
I need to build a simulation of an LQR servo controller that follows a set point. So far I have calculated gains using LQR and using these gains in my model the output always returns to zero. How can I use matlab to generate LQR gains that will minimise the errors in state trajectories rather than minimising the states themselves?
Thanks

Answers (0)

Community Treasure Hunt

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

Start Hunting!