Although this is not a new subject, in this video I have managed to levitate a static magnet using only a single OpAmp controlling an electromagnet with a hall-effect. It will give the beginner an appreciation of control theory, and how to calculate hysteresis.
https://youtu.be/uwqpJiWcLQw