Make: Projects

Magnetic levitation with PID control

This project uses Arduino Duemilanove to realize a PID controller and levitate a magnet in stable condition.

Magnetic levitation with PID control

PID control (Proportional, Integral and Derivative control) is a widely used control algorithm. It can be used to control position of an object, temperature of an oven, speed of a car and so on. Here we are using it to control the position of a magnet in air.

Steps

Step #1:

Next
Magnetic levitation with PID control
  • This is a view of the magnet (the white disk in air) floating stably.

Step #2:

Next
Magnetic levitation with PID control
  • The coils are made by winding wires to a core shown in this picture, which is made from a piece of pencil and two pieces of paper board.

Step #3:

Magnetic levitation with PID control
  • There are two Hall sensors in the center of the four coils to detect the position of the floating magnet. There is a big ring magnet underneath the four coils (not seen from this picture since it under the wood board). The ring magnet provides the force to push the floating magnet up, however, it is not stable. The four coils stabilize the floating magnet in x and y directions.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

%d bloggers like this: