Hacker News new | ask | show | jobs
by agoetz 4066 days ago
Yes. Reformulate the systems transfer function into a state space representation, and then solve the algebraic ricatti equation to find an optimal gain matrix. This is know and the LQR problem.

http://en.m.wikipedia.org/wiki/Linear-quadratic_regulator

Switching the output from 100% to -100% is another viable approach, known as bang-bang control, but it is not necessarily optimal