magnetic manipulator

21
Magnetic Manipulator Team 125

Upload: annot

Post on 30-Jan-2016

35 views

Category:

Documents


0 download

DESCRIPTION

Magnetic Manipulator. Team 125. Meet Team 125!. Chad Perkins (Spring Team Lead) John Olennikov(Web Master ) Ben Younce Marley Rutkowski(Fall Team Lead) Professor Robert J. Albright (Faculty Advisor) Andy McConnell (In dustry Advisor). What We Did. Magnetic Levitation! - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Magnetic Manipulator

Magnetic Manipulator

Team 125

Page 2: Magnetic Manipulator

Chad Perkins (Spring Team Lead)John Olennikov(Web Master)

Ben YounceMarley Rutkowski(Fall Team Lead)

Professor Robert J. Albright (Faculty Advisor)Andy McConnell (Industry Advisor)

Meet Team 125!

Page 3: Magnetic Manipulator

What We Did...

• Magnetic Levitation!o Has been implemented with

control interface that allows a user to raise and lower a neodymium magnet suspended below a solenoid

o The magnet can be suspended indefinitely

Page 4: Magnetic Manipulator

How We Did It...

• Electromagnet controlled by a microcomputer

• 2 Hall sensors sense magnetic fields

• Adjust electromagnetic strengtho Pulse width modulation (PWM)

defines strengtho Power transistor turn power on/off

at high frequency

• PID algorithm for control

Page 5: Magnetic Manipulator

State Machine (Arduino code)• This runs on the Arduino

• Start at System Initialize

• Calibrate Mode gets necessary values

• Idle Mode means the solenoid is waiting for a magnet to come within range of the Hall sensors

Page 6: Magnetic Manipulator

State Machine (Arduino code)• PID Control Mode means

that the system is executing algorithm to levitate object in range

• Off Mode means that the magnet is too close and the solenoid shuts off

• The lights on the top of the Mag-Lev tell us what state it is in

Page 7: Magnetic Manipulator

Hardware Overview

• Arduinoo Computer(GUI

)o Transistor

Circuito System state

LEDS

Page 8: Magnetic Manipulator

Hardware Overview

• Electromagneto Levitating

Objecto Bottom Hall

sensoro Top Hall

sensor

Page 9: Magnetic Manipulator

Hardware Overview

• Hall Processing Circuit o data to

Arduino

• Enable switch

Page 10: Magnetic Manipulator

Computer/Graphical User Interface

• Why a GUI?

• Arduino can levitate magnet without computer

• Processing Codeo User Interfaceo Debugo Data Display

Page 11: Magnetic Manipulator

Computer/GUI - Functional vs OOP

• Why OOP over functional programming?o Contained

variables (avoid conflicts)

o Blueprintso Hierarchy

Page 12: Magnetic Manipulator

Computer/GUI – Functional vs OOP

Page 13: Magnetic Manipulator

Computer/GUI – Humble Beginnings

• Text Fields

• Buttons

Page 14: Magnetic Manipulator

Computer/GUI - Layout

• Text Fields

• Text Input/Console

• Buttons

• Graph

Page 15: Magnetic Manipulator

Computer/GUI – Final Layout

Page 16: Magnetic Manipulator

Software Challenges

• Analog to Digital Converter (ADC)o Problems

Unstable values analogRead() not fast enough

o Solution; average over space & time Moving Mean 8 timer triggered synchronous ADCs

• No support for Arduino Due, required reading CPU manual

Page 17: Magnetic Manipulator

Software Challenges

• Pulse Width Modulation (PWM)o Problems

analogWrite()• uncustomizable low frequency• not precise (only 256 values)

Software interrupt PWM• too much CPU load

o Solution Utilize Atmel PWM module

Page 18: Magnetic Manipulator

Challenges - Noise

• Power Sourceso Filter Capacitors

• Signal Wireso Grounded Shield Wireso Lead Lengths

• Power Transistor Circuit Isolationo Separate, more Robust board

Page 19: Magnetic Manipulator

Challenges - Field Calculations

• The magnetic field of the coilo Educated “guesses”

• Real Time measurementso Second Hall Effect Sensoro New op amp circuit addition

Page 20: Magnetic Manipulator

Conclusion

Success!

• “Eyes were bigger than our stomachs”

• A few setbacks

• Digital feedback control systemo PIDo PWM

• Interesting and Interactive GUI

Success!!!

Page 21: Magnetic Manipulator

That’s All, Folks!

Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions?Questions? Questions? Questions?