Re:Show HN: 2D PID controller simulation
by CompelTechnic on Saturday May 02, 2015 @09:37AM
(#9476978)
Is "state feedback" synonymous with P-only control?
I've got an intake valve at work that we're controlling with P-only control, It basically iterates based on incremental voltage being proportional to current error in valve position.
Just trying to brush up on my lingo.
Re:Show HN: 2D PID controller simulation
by icegreentea on Saturday May 02, 2015 @10:08AM
(#9477084)
I think its a reference to state space control. Traditionally, PID controllers fell under 'classical control', which is basically the entirety of control theory before the rise cheap computing. They involved devising all sorts of "tricks" to make designing controllers tractable by hand (more or less) - stuff like frequency domain representation, pole-zero plots, root locus method.
State-space representation is a strictly time domain approach, where you break your model and controller into a bunch of 1st degree DEs. This method is really only tractable with computing support.
In general, state-space and frequency domain models can in theory accomplish the same goals. You could for many situations design a PID controller using classical methods, and then take the same situation and use a state space approach, and in the end result in the equivalent controller/behavior.
There are limitations of PID and what it can and cant be used for. There are also other ways of controlling systems (like state feedback).
I might have made some errors in the above statements because I haven't done control theory in a long time, but any control theory course at a university would cover PID control.
In relation to what the post is about, it seems like they've tuned a PID control loop to perform PID error calculations based on where you click and where the circle currently is, then move the circle to that position with a force (/acceleration) determined by the controller.