Hi everyone,
I would like to share a magnetic levitation project that I have been working on intensively over the last few months.
The system is fully built and operational and is based on a custom-designed PCB. Unlike many simple DIY levitation setups, where a magnet is only suspended underneath a single electromagnet, this system uses active digital feedback control to stabilize the levitating object.
A Hall sensor continuously provides the position feedback used by the controller. The electromagnets are then driven with corresponding PWM signals to correct the position of the object in real time.
In addition to the hardware, I developed a dedicated analysis and control application.
Current features- Real-time display of the Hall sensor value and PWM signals
- Live adjustment of the PID parameters Kp, Ki and Kd
- No recompilation or firmware flashing required for controller tuning
- Dynamic adjustment of the target position and levitation height
- Integrated calibration and diagnostic functions
- Direct observation of the physical response to controller changes
One possible use would be an interactive educational platform for control engineering. The influence of the PID parameters could be demonstrated directly on a real levitating object instead of only through simulations and diagrams.
However, I am currently considering a more visual follow-up project:
A clock with a levitating handThe idea is to build a clock where the hand floats freely above the clock face without a visible mechanical connection.
The levitating hand would have to remain stable while its angular position is controlled so that it indicates the current time. One of the main technical challenges would therefore be to generate a controlled contactless torque without significantly disturbing the levitation.
At the moment, the clock is only a concept. The magnetic levitation platform itself is already working.
I would be very interested in your opinion:
- Would a clock with a levitating hand be an interesting next project?
- Do you think it could become more than a technical demonstration?
- How would you approach the contactless rotation of the hand?
- Do you see a better application for the existing levitation system?
Other possible applications could include:
- An educational control engineering demonstrator
- A levitating product or exhibition display
- An interactive trade-show exhibit
- A kinetic art installation
- A physical laboratory platform for control experiments
I am also considering releasing the firmware, PCB design files and control application as an open-source project if there is sufficient interest.
Technical criticism, alternative concepts and honest feedback are very welcome.
Best regards,
Dominic