MAGNETIC LEVITATION

 

NTRODUCTION

Magnetic Levitation is lifting small magnets with the bigger ones.

The concept is quite simple: using the U3503 Hall Effect Sensor, the Uno is constantly measuring the magnetic field generated by the permanent magnet ( some neodymium magnets in this case). Then it calculates the error between the reading and my setpoint and feed the number to a PID equation, which then adjusts the strength of PWM output. The PWM controls the on-off of the MOSFET. The sensor is put under the electromagnet coiled with enameled copper wire. Some magnets are put on top of the electromagnet to enhance the field. The hard part was to tune the PID values.

Here you don’t have to put stress on the word PID, TECEX will be explaining the full concept of PID Controllers in their next post soon.

HARDWARE USED

  • Arduin Uno
  • Power MOSFET N-Channel
  • Enameled Copper Wire
  • Copper Wire
  • Resistors – 221R, 221K,
  • LED’s Generic
  • IN4007 PN junction Diode
  • 3503 Hall Effect Sensor
  • Neodymium Magnets

SOFTWARE USED

  • Arduino IDE

SCHEMATICS

 

SOURCE CODE

SOURCE CODE LINK
Advertisements

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 )

Google+ photo

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

Connecting to %s