Background
I am working on a summer project to design labs for undergraduate students. One of the topics is feedback and there is already quite a lot of stuff about passive feedback, so we might add some active feedback stuff. One really cool active feedback process is balancing the inverted pendulum (e.g. like in this video). I would like to create something like this, but purely electrical, because motors and mechanical parts are more expensive and cheap ones tend to jam quite easily (cheap enough for the labs is very cheap...).
What makes the inverted pendulum cool
So what we are looking for is an intrinsically unstable electrical configuration that needs to be actively adjusted (e.g. by a voltage from a programmable chip). Now one could e.g. think of a charged capacitor. It would discharge unless "balanced". But the balancing here is trivial, one just puts a voltage on and it becomes stable. In the mechanical analogy this would be just fixing the rotation axis in place. So another condition is that this "electrical pendulum" is unstable at all times like in the video and some parameter (e.g. a voltage) has to be adjusted constantly to keep it stable.
So the question is: Is there an electrical equivalent of this inverted pendulum balancing process?