FALL DESIGN REPORT Magnetic Levitation Demonstration Apparatus

advertisement
Team #11
Embodiment Design Report
MECH 4010 & 4015
Design Project I
FALL DESIGN REPORT
Magnetic Levitation Demonstration Apparatus
Team #11
Ajay Puppala
Fuyuan Lin
Marlon McCombie
Xiaodong Wang
Submitted: December 3, 2013
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 1 of 49
Team #11
Fall Term Report
Table of Contents
List of Figures ................................................................................................................................. 4
List of Tables .................................................................................................................................. 4
1.
Project Information ................................................................................................................ 5
1.1.
1.2.
1.3.
1.4.
Project Title .................................................................................................................... 5
Project Customer ............................................................................................................ 5
Group Members .............................................................................................................. 5
Useful Definitions and Acronyms .................................................................................. 5
2.
Executive Summary............................................................................................................... 6
3.
Background and Context ....................................................................................................... 7
3.1.
3.2.
Background and Overall Objective ................................................................................ 7
Requirements .................................................................................................................. 8
4.
Summary of Design Alternatives .......................................................................................... 9
5.
System Architecture ............................................................................................................ 11
5.1.
5.2.
6.
Selected Design ............................................................................................................ 11
Subsystems / Components ............................................................................................ 11
Levitation: Electromagnet ................................................................................................... 14
6.1.
6.2.
7.
Component Description ................................................................................................ 14
Component Design ....................................................................................................... 14
System Feedback: Sensor .................................................................................................... 17
7.1.
8.
Component Description ................................................................................................ 17
Microcontroller Unit ............................................................................................................ 18
8.1.
9.
Component Description ................................................................................................ 18
Signal Conditioning : Control Circuit ................................................................................. 20
9.1.
9.2.
10.
Component Description ................................................................................................ 20
Component Design ....................................................................................................... 20
User Interface ...................................................................................................................... 23
10.1. Component Description ................................................................................................ 23
10.2. Component Design ....................................................................................................... 23
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 2 of 49
Team #11
Fall Term Report
11.
Feasibility & Risk Assessment ............................................................................................ 25
12.
Testing and Verification Plan .............................................................................................. 26
13.
Cost Estimates & Budget..................................................................................................... 27
14.
Progress Report ................................................................................................................... 29
15.
Future Considerations .......................................................................................................... 31
15.1. Preliminary Apparatus Design ..................................................................................... 31
16.
Project Management Plan .................................................................................................... 33
16.1. Organizational Responsibilities .................................................................................... 33
16.2. Work Breakdown Structure .......................................................................................... 34
16.3. Schedule ....................................................................................................................... 42
16.4. Specialized Facilities and Resources ............................................................................ 44
16.4.1. Facilities ............................................................................................................. 44
16.4.2. Additional Advisors ........................................................................................... 44
17.
References ........................................................................................................................... 45
Appendix A Simulink block diagram for electromagnetic levitation ........................................... i
Appendix C Sample Programs ....................................................................................................... iii
Appendix B Design Calculations for Electromagnet ................................................................... v
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 3 of 49
Team #11
Fall Term Report
List of Figures
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Figure 20
Figure 21
Design Alternatives .................................................................................................... 9
Single electromagnet design with Hall Effect sensor ................................................ 11
General Schematic of demonstration device .............................................................. 12
Functional block diagram for the magnetic levitation apparatus ............................... 13
Magnetic field generated by the current carrying coil (courtesy of
superconductors.solidchem.net) ................................................................................. 14
Picture of Hall Effect Sensor ..................................................................................... 17
Picture of Arduino UNO. ........................................................................................... 18
Electromagnetic coil driving circuit (Mekonikuv)..................................................... 21
Sensor with amplifier circuit (Mekonikuv). ............................................................... 21
Arduino Simulink block diagram example ............................................................... 24
Hall Effect sensor output with and without permanent magnet (object) .................. 29
Actual control circuit ................................................................................................ 30
Proposed Apparatus design ........................................................................................ 32
Fall term work breakdown structure .......................................................................... 35
Research work breakdown structure .......................................................................... 36
Product design work breakdown structure ................................................................. 37
Concept evaluation breakdown structure ................................................................... 38
Fall term WBS critical path chart .............................................................................. 39
Winter term work breakdown structure ..................................................................... 40
Winter term WBS critical path chart.......................................................................... 41
Simulink block diagram for electromagnetic levitation ................................................ i
List of Tables
Table 1
Table 2
Table 3
Table 4
Table 5
Table 6
Table 7
Table 8
Table 9
Selected criteria (highlighted) for physical apparatus design ...................................... 9
Arduino UNO specification summary ....................................................................... 19
Component and materials cost breakdown ................................................................ 27
Required engineering expertise .................................................................................. 33
Allocation of team responsibilities ............................................................................ 34
Summary of project tasks for fall 2013 term ............................................................. 42
Breakdown of remaining hours of work for the winter break.................................... 43
Summary of project tasks for winter 2013 term ........................................................ 43
Design calculations for electromagnet ......................................................................... v
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 4 of 49
Team #11
1.
Fall Term Report
Project Information
1.1.
Project Title
Magnetic Levitation Demonstration Apparatus
1.2.
Project Customer
Dr Robert Bauer
Professor
Mechanical Engineering Department
Dalhousie University
1.3.
Group Members
Ajay Puppala
Fuyuan Lin
Marlon McCombie
Xiaodong Wang
1.4.
email: aj874646@dal.ca
email: fy330663@dal.ca
email:mr587226@dal.ca
email: xd367973@dal.ca
Useful Definitions and Acronyms
PID
P
PI
GUI
PC
PPE
PCB
MagLev
EM
MCU
PWM
I/O
EOPD
RISC
CMOS
AVR
ISCP
EEPROM
SRAM
DC
AC
WBS
MECH4010/4015
-
Proportional Integral Derivative Control
Proportional Control
Proportional Integra Control
Graphical User Interface
Personal Computer
Personal Protective Equipment
Printed Circuit Board
Magnetic Levitation
Electromagnet
Microcontroller Unit
pulse width modulation
Input/output
Electro-Optical Proximity Detector
Reduced instruction set computing
Complementary metal-oxide semiconductor
no meaning
In-circuit serial programming
Electrically Erasable Programmable Read-Only Memory
Static random-access memory
Direct current
Alternating current
Work Breakdown Structure
Magnetic Levitation Demonstration Apparatus
Page 5 of 49
Team #11
2.
Embodiment Design Report
Executive Summary
This report outlines the design process of the Magnetic Levitation Demonstration
Apparatus through the fall term of the final year Mechanical Engineering design project at
Dalhousie University. The contents of the document include project requirements, design
alternatives, subsystems for the selected design, current progress, future considerations,
testing plan, updated budget, technical drawings, and finally a plan of action for the winter
term.
The goal of our project is to design and build a portable and compact device that
magnetically levitates an object to demonstrate different control design theories presented in
MECH4900 Systems II. The theories must be tested using Mathworks Simulink. A Graphical User
Interface (GUI) in Simulink is desired so users can interact with the system conveniently.
The group made significant progress during the term in building a prototype for magnetic
levitation. A coil driver circuit and sensory signal conditioning circuit were built (using an existing
example) and were successfully tested using the Arduino; however, levitation has not been
achieved. The group is confident to achieve levitation in a day or two of working on the code
necessary to control the Arduino to perform levitation. A Simulink block diagram was developed
using existing diagrams for magnetic levitation. Moving forward, the group has planned to complete
the necessary programming for levitation and continue work on the Simulink block diagram during
the winter break. Additionally, materials required for the prototype will be ordered as most of them
were sourced from Dr. Bauer, our project supervisor, and Mr. Jonathan MacDonald, the Electrician
for the Mechanical Engineering department at the university.
The work breakdown structure (WBS) and corresponding schedule was completed and is
attached to this document in the Project Management section. The group has a very good
understanding of the project progress and tasks ahead.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 6 of 49
Team #11
3.
Fall Term Report
Background and Context
Background and Overall Objective
3.1.
Demonstrations provide the opportunity for students to predict theoretical outcomes of real
life applications of course material which in turn allow them to confirm their initial understanding
of those same concepts. Where students are not able to confirm their understanding of a given
concept, the instructor can use demonstrations to discuss any differences between their initial
understanding and what the demonstration actually shows. Visual demonstrations help to bridge
the gap between the applications of course material and what is being taught in class; this can be
illustrated using graphical analyses of the concepts to represent real life examples. Consequently,
the purpose of this project is to design a magnetic levitation demonstration apparatus or the
purpose of demonstrating the different design control theories presented in the Mechanical
Engineering course MECH4900-Control Systems II. The apparatus is intended to serve as a platform
for a real-life example of the implementation of control theories such as proportional, derivative,
integral, and a combination of the three control methods. Control Systems II not only makes use of
the design theories mentioned but also includes the graphical representation and analyses of these
control theory responses. The use of a live demonstration will provide real-life feedback of the
manipulation of control theories so that students may see, first-hand, the application of the course
material. Although diagrams may be a step further to having a better visual understanding of a
concept, a demonstration that produces live feedback vastly improves the delivery of course
material. This concept is similar to a salesman increasing the appeal of a product by showing its
many uses through infomercials; i.e. demonstrations of the basic use of a known concept (e.g.
blending with the Magic Bullet). The only difference for course material from this analogy is that
the concepts being taught are new to students and may not be initially understood from course
lectures.
Thus, the scope of our project is to design and build a portable and compact device that
magnetically levitates an object to demonstrate different control design theories presented in
MECH4900 Systems II.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 7 of 49
Team #11
3.2.



Fall Term Report
Requirements
Purpose
o
Build portable demonstration device
o
Magnetically levitate object
o
Demonstrate theories presented in MECH4900(4905) Control Systems II
Visual Requirements
o
Shall be viewable from the back of a classroom (15-20ft) and/or using cameras
o
Levitate object for range of approximately 15 mm
User Convenience & Safety
o
Easy to carry; i.e. lightweight

Levitated object will be approximately 30mm in diameter and weigh no
more than 10 g

Apparatus shall be no more than 1.5 kg (or about the weight of a standard
laptop)

No steel toed boots shall be required for transportation of apparatus (i.e.
there shall be no crushing potential to user’s feet)
o

Apparatus shall pose no electrical risk to user
Power Requirements
o
Conventional 120 VAC input from a conventionally purchased (and thus
replaceable) power supply



User Interactive Requirements
o
User shall interact with the device using a graphical user interface (GUI)
o
Device shall be ready to operate once plugged into PC
Demonstrative Requirements
o
Comparison of desired, simulated, manipulated, and measured controller variables
o
Nyquist plots
o
Bode diagrams
o
Lag, lead, lag-lead compensation techniques
o
P, PI, PID control
Miscellaneous
o
Shall be an active controller
o
Budget no more than $1,000
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 8 of 49
Team #11
4.
Fall Term Report
Summary of Design Alternatives
Different concepts were generated based on different levitation techniques, object motion,
and sensors shown in Table 1. The circuitry and microcontroller were excluded from the concept
selection as these components do not affect the physical design of the apparatus.
Table 1
Selected criteria (highlighted) for physical apparatus design
Levitation
Technique
Permanent
Magnets
Material
Chrome Steel
Object
Shape
Rectangular
prism
Motion
Horizontal
Electromagnetic
Regular Steel
Circular disk
Vertical
Electrodynamics
Superconducting
Neodymium
Composite
Solid sphere
Hollow sphere
Angled
Microcontroller
Sensor
Arduino
Hall Effect
LEGO Mindstorm
NXT 2.0
BeagleBoard
Altera DE2
Diamagnetic
Reflective
Optical Proximity
Photoelectric
Capacitive
Displacement
Inductive
Proximity
Ultrasonic
The following figure includes the major concepts generated during the brainstorming
process of the design selection process.
Figure 1
Design Alternatives
The first concept is the single electromagnet with a Hall Effect sensor. This design is simple
and easy to configure. A major disadvantage of this design is that it the Hall Effect sensor senses
magnetic field strength which must be converted to a position for the levitated object. To
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 9 of 49
Team #11
Fall Term Report
compensate for this problem, a photoelectric sensor can be used (concept 2) in which case the
stand design has to be changed to accommodate LED bulbs and an associated photoelectric sensor.
An underlining problem for both the first and second concepts is that the field strength may not be
sufficient to levitate the object in the desired range (see requirements).
Consequently, the next few design alternatives were proposed to allow a greater magnetic
field strength for the system. Concept 3 shows two electromagnets which could possibly extend the
range of the magnetic levitation. However, this design may pose other problems in terms of stability
and obtaining levitation since two electromagnets must be coordinated to achieve levitation.
Alternative four was proposed to improve stability by using electrodynamic levitation instead of
electromagnetic with multiple coils in a parallel configuration. The major cause for concern for
concept four is that the visibility of levitation may be reduced due to obstruction by the coils. Also,
the total cost for building the device would increase substantially considering the number coils
used in the design.
Concept five, a MagLev Track Design, is different from the latter designs. For the MagLev
Track design, the levitating disk is properly constrained to move along a vertical path. This implies
proper stability for motion of the object and levitation can be seen through the gaps between the
electromagnets. The demonstrative requirements could jeopardized as it may seem that the disk is
supported by the tracks. Additionally, it would cost more money to build compared to other design
due to the increased material needed for the tracks.
The last concept considered for design alternatives is Concept six, a Torodial coil design.
The object is levitated in a circular transparent tube with electromagnets at regular intervals. When
power is supplied to the magnets, the object is expected to spin depending on the force of attraction
and/or repelled by the magnets. The major trouble with this design is actually building and testing
the device. The complexity of the design is too high and if it can be done it will be very impressive.
All the concepts consider for design alternatives were evaluated using a rubric that is
presented in the Appendix. The basic requirements are weighted the most for selection criteria
compared to the parts, design, and cost assessment. Based on the evaluation, it was decided that
the single coil electromagnetic sensor is best for the design. Consequently, concepts one
and two were determined to be the best solutions.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 10 of 49
Team #11
5.
Fall Term Report
System Architecture
5.1.
Selected Design
It was decided to move forward with a single coil electromagnetic source as shown in Figure 2,
using a Hall Effect sensor. A single coil electromagnet was chosen for the design since it is more
simplistic to build and test and has been used for electromagnetic levitation before (Mekonikuv
Blog, Lieberman). The Hall Effect sensor was chosen mainly because it was used in the example
used for the coil driving and sensor amplifying circuit by Lieberman. It is important to note that all
the above components were also chosen because of their low cost.
Figure 2
5.2.
Single electromagnet design with Hall Effect sensor
Subsystems / Components
Figure 3 shows a general schematic of the system components needed to build a functional
magnetic levitation demonstration apparatus based on the specified requirements.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 11 of 49
Team #11
Figure 3
Fall Term Report
General Schematic of demonstration device
For magnetic levitation to be achieved for the purpose of demonstrating various design
techniques presented in Control Systems II, a user would need to vary a magnetic field which in
theory should vary the position of a levitating object. A varying magnetic field is most commonly
achieved by a non-permanent magnet or more specifically by using an electromagnet.
Electromagnets allows for a varying input current to be applied to them for the purpose of
manipulating a magnetic field and hence the position of a magnetically levitating object. In Figure 3,
the electromagnet is represented by the magnetic source.
It is required to use MATLAB/Simulink to design controllers for demonstration of the
different control theories presented in Systems II. The designed controllers must then be able to
control the apparatus to achieve the desired control being demonstrated; this is achieved through
the microcontroller unit. Using MATLAB/Simulink a user will be able to communicate with the
microcontroller which would then execute the desired I/O signals to perform the desired control of
the electromagnetic field. Once this communication is achieved, some form of feedback becomes
necessary to inform the designed controller of the output result of its input to the electromagnet. A
sensor will be responsible for providing this feedback. Generally, the microcontroller would be
instructed, by the user/designed controller through MATLAB/Simulink, to retrieve necessary data
from the sensor during the implementation of the control demonstration. The microcontroller then
sends this information back to MATLAB/Simulink where it is presented to the user in graphical
form.
The amount of current and voltage required to power an electromagnet (usually 12V) to
levitate a reasonably visible object is more than the amount that can be supplied by a
microcontroller unit which usually gives a maximum output voltage of 5V. Consequently, an
external power supply is required. Therefore, before any input is given to the electromagnet or any
data is retrieved from the sensor, some form of signal conditioning is required to:
1. Maintain a relatively steady magnetic field
2. Sensitize system feedback
3. Protect the system and the user from electrical harm
Signal conditioning is handled by the circuitry. In order to maintain a steady magnetic field, a steady
input current must be supplied to the electromagnet. In addition, a more sensitive sensor would
produce a more sensitive feedback on the position of the levitating object. Finally, it is required to
design and build a safe-to-use apparatus; thus, it is required to have protective measures designed
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 12 of 49
Team #11
Fall Term Report
into the systems signal transmission so that users are protected from electrical injury and the
apparatus is protected from electrical damage. The next figure summarizes the required
functionality of the operating device. The final design shall meet these major functionality
requirements.
INPUT
PROCESS
OUTPUT
Control method generated in
MATLAB/Simulink
Execute the control method from
MATLAB/Simulink through
microcontroller
Position feedback of object from
sensor
Current supplied to the magnetic
coil
Maintain the desired position of a
levitated object using position
feedback from sensor(s)
Graphical display of recorded data
Record data from sensor(s) over a
specified duration of the
demostration
Figure 4
Functional block diagram for the magnetic levitation apparatus
In addition, an Arduino UNO was used for the project because it was one of two readily available
microcontrollers for testing from the University. The other microcontroller was a LEGO
Minsdstorms NXT 2.0 but this microcontroller was decided against because it is more expensive
than the Arduino. The requirements of the microcontroller are minimal; i.e. not many I/O digital or
analog pins are required for any of the design alternatives presented. The required I/O capabilities
of the microcontroller can be achieved with either the Arduino or LEGO NXT.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 13 of 49
Team #11
6.
Fall Term Report
Levitation: Electromagnet
Component Description
6.1.
Electromagnets are a type of magnet that can generate a magnetic field when current is
allowed to pass through it (see figure 4). The field induces flux on ferromagnetic material that is
introduced in the field. It is important to design an electromagnet that would meet the
requirements of the project in terms of range of levitation of the object, required flux to hold the
object in place, duration of levitation, and power supply limitations. Off the shelf electromagnets
are available; however, they are designed and used for different purposes. Finding the right one and
testing it would be cumbersome. Instead, designing an electromagnet based on the required
strength of the magnetic field is suitable and most appropriate for this project.
Figure 5
6.2.
Magnetic field generated by the current carrying coil (courtesy of
superconductors.solidchem.net)
Component Design
The electromagnet design is based on a few assumptions which are listed as follows:

The magnetic ball is subjected to gravitational and magnetic forces

air friction and damping effects are legible

The air gap range is assumed to be between 30 to 50mm

The electromagnet core diameter is 30mm and its length is 100mm

The number of turns in the solenoid is 1000 turns

The diameter of the levitated object is 25mm

The length of solenoid is 100mm and

The stacking factor is 0.9
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 14 of 49
Team #11
Fall Term Report
Based on assumptions made on the diameter of the levitating object as well as the density of steel, it
is easy to get the volume as well as the mass of levitating objects. Air gap is an important parameter
that will determine the amount of current that goes through the electromagnet and the force
required to levitate the magnetic ball. Since the air gap is assumed, the force balance on the object
𝑚
is Fmagnet = Fgravity = mg = 0.01kg ∗ 9.81 𝑠2 = 0.981kg, where m is the mass of the object, g is
gravitational acceleration. Pole area is calculated as A=0.0017m2 with the magnetic force, the
magnetic field needed to levitate the object can be calculated by using the following equation:
2
B= √
2 ∗ μo ∗ Fmagnet 2 2 ∗ (4 ∗ 𝜋 ∗ 10−7 ) ∗ 0.981
=√
= 0.0027wb/m^2
𝐴
0.0017
where F is the magnetic force (N), B is the magnetic field generated by the electromagnet (T), A is
the pole area of the electromagnet (m2), and µo is the permeability of free space for air it is always
4π x 10-7 HM-1. The calculation is to estimate the maximum magnetic field needed. Another factor is
that the magnetic field B saturated at certain value, which is approximately 1.6T. This will set a limit
on the maximum force per unit core area that the electromagnet can exert The strength of magnetic
field B can be used to calculate the flux density, Ф in the air gap ,A the surface area of magnetic core
using the equation:
Φ = BA
The magnetizing force H in the air gap can be calculated using the following equation:
H=
B
0.0027
=
= 2145.35 𝐴𝑇/𝑚
μo 4 ∗ 𝜋 ∗ 10−7
The magneto- motive force (mmf). It primarily depends on magnetizing force, H and air gap l. It is
possible to calculate the current value based on the assumption made on the air gap and number of
turns that are mounted on the magnetic core. The following is the equation used to calculate the
current,
I=
mmf
H × 𝑙 2145.35 ∗ 0.01
=
=
= 0.714 𝐴
N
N
1000
The current value will be used to choose the wire gage. Each gage has the maximum current that
can tolerate. It is necessary to compare the calculated current values with those limits on each gage
wire. Finally the gage 30 wire is chosen. The wire diameter for gage 30 wire is 0.254mm.The
maximum number of turns on the first layer is 69.38 calculated by dividing the length of solenoid
by the wire diameter of gage 30. The total number of layers is 1.7 calculated by total number of
turns (1000) dividing the total number of turns on the first layer and stack factor of 0.9. The total
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 15 of 49
Team #11
Fall Term Report
length of wire is found to be 69.38𝑚. the total length of wire for the cylinder is 12.29 m or 40 ft
approximately. Based on the unit resistor of chosen wire, it is easy to calculate the resistance of
wire is 0.32Ω (Shuaibu & Adamu).
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 16 of 49
Team #11
7.
7.1.
Fall Term Report
System Feedback: Sensor
Component Description
The Hall Effect sensor was chosen for the project as it is a commonly used magnetic sensor
found most commonly in motor vehicles to detect the position of rotating parts. Figure 6 shows an
example of a Hall Effect sensor.
Figure 6
Picture of Hall Effect Sensor
The Hall Effect sensor is an analog position sensor that operates by generating a steady electrical
output, when excited, which can be altered to a higher state when a magnetic field is placed near its
body (Honeywell SS49 datasheet). The Hall Effect sensor output voltage intensifies with decreasing
distance between its body and a magnetic source. The Hall Effect sensor is an important component
of the apparatus as it is responsible for position sensing of the levitating object and thus, for
providing position feedback to designed controllers.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 17 of 49
Team #11
8.
Fall Term Report
Microcontroller Unit
8.1.
Component Description
The selected Microcontroller for the project is the Arduino UNO (Figure 7). The Arduino UNO is
based on the ATmega328 (Arduino UNO webpage), a low-power CMOS 8-bit microcontroller based
on AVR enhanced RISC architecture. The ATmega328 is designed to optimize power consumption
versus processing speed (ATmega238 datasheet). The Arduino UNO consists of 14 digital I/O pins
(including six pins that can be used as PWM outputs), six analog inputs, a 16 MHz ceramic
resonator, a USB connection, a power jack, an ICSP header, and a reset button. Additionally, it can
be powered through USB or with an AC-to-DC adapter or battery. Unlike preceding boards, the UNO
uses Atmega16U2 programmed as a USB-to-serial. Table 2 summarizes the specifications of the
Arduino UNO board.
Figure 7
Picture of Arduino UNO.
The Arduino can be described as the hub of the magnetic levitation device and will be
responsible for controlling the power input of the electromagnet, retrieving data from the device’s
sensor, and returning the retrieved data back to MATLAB/Simulink to be plotted and displayed on a
PC. Consequently, the Arduino will be responsible for executing the function of controllers designed
in MATLAB/Simulink. For the Arduino to be controlled using MATLAB/Simulink, special I/O
integration toolboxes are needed. These toolboxes allow users to interface with and command the
Arduino using MATLAB syntax or by uploading controllers through Simulink.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 18 of 49
Team #11
Table 2
Fall Term Report
Arduino UNO specification summary
MCU Component
Specification
Microcontroller
ATmega328
Operating Voltage
5V
Input Voltage (recommended)
7-12V
Input Voltage (limits)
6-20V
Digital I/O Pins
14 (of which 6 provide PWM output)
Analog Input Pins
6
DC Current per I/O Pin
40 mA
DC Current for 3.3V Pin
50 mA
Flash Memory
32 KB (ATmega328) of which 0.5 KB used by bootloader
SRAM
2 KB (ATmega328)
EEPROM
1 KB (ATmega328)
Clock Speed
16 MHz
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 19 of 49
Team #11
9.
9.1.
Fall Term Report
Signal Conditioning : Control Circuit
Component Description
Now that the processing control and sensing components of the apparatus are defined,
some form of signal conditioning is needed for the input current to the electromagnet and the
retrieval of the output voltage (data) coming from the sensor. Signal conditioning is crucial to the
manipulation of the raw I/O signals for further processing. For instance, a smooth electrical signal
is required to provide stable magnetic polarity and also a stable magnetic field strength in the
electromagnet. Additionally, it is required to amplify the electrical output of the sensor for further
use by MATLAB/Simulink for graphical display of data.
9.2.
Component Design
As mentioned in the description, the electromagnet requires a steady current flow through
its coils to be able to provide stable magnetic polarity and also a stable magnetic field strength.
However, current is transmitted in the form of an analog signal; thus, its signal varies or oscillates
during transmission. Consequently, a raw current signal would not be most suitable for powering
the electromagnet. Therefore, it is necessary to implement a form of signal conditioning that would
allow for a relatively steady flow of current into the electromagnet and hence a relatively steady
magnetic field strength. This conditioning can be supplemented by the use of a capacitor which is
often used in electrical circuits to smooth the output of power supplies (i.e. the power supplied by
the Arduino). In addition to this some form of switch is required to control the magnetic field
strength based on position of the levitating object (provided by the sensor). Figure 8 shows a
configuration of an electromagnet coil driving circuit that makes use of the above signal
conditioning methods (Mekonikuv).
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 20 of 49
Team #11
Figure 8
Fall Term Report
Electromagnetic coil driving circuit (Mekonikuv)
The driving circuit is setup to receive input from the Arduino (Digitalout3), to provide a smooth
electrical signal by use of a capacitor (C1), to switch the coil on and off with a transistor, and finally
to protect the transistor from fly-back currents using a rectifier diode (1N4001). Note that the coil
component in the coil driver circuit is the electromagnet coil.
The sensor of choice for the project was a Hall Effect sensor. On its own the Hall Effect
sensor does not produce a suitable enough feedback. For a given input voltage, when disengaged
from a magnetic field, the Hall Effect sensor produces an output voltage of about 2.48V and when
engaged, it produces an output voltage of about 4.0V. For more sensitive feedback, the sensor
output must be amplified; thus, an amplifying circuit must be built using operational amplifiers (opamps). The output of the sensor is connected through two op-amps which in turn is output to an
analog input pin of the Arduino. The amplifying circuit used by Mekonikuv is shown below:
Figure 9
Sensor with amplifier circuit (Mekonikuv).
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 21 of 49
Team #11
Fall Term Report
The output signal from the sensor is used to determine the position of the levitated object;
then, this data is used to provide feedback to the system which determines the necessary current to
be supplied to the electromagnet to maintain the levitating object at a required position. The opamp configuration used in Figure 9
Sensor with amplifier circuit (Mekonikuv).
subtracts approximately 1.5V at the first op-amp stage and then amplifies by a factor of
approximately 3V (Mekonikuv). Another sensing method was also proposed by Lieberman that
makes use of a differential setup of Hall Effect sensors (two sensors fixed above and below the
electromagnet) to isolates the magnetic field of the levitating object.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 22 of 49
Team #11
Fall Term Report
10. User Interface
10.1.
Component Description
The required user interface for the project is MATLAB and Simulink. MATLAB is a high-level
programming language and interactive environment for numerical computation, visualization, and
programming (MathWorks MATLAB website). Simulink is a block diagram environment for
multidomain simulation and model-based design. It supports system-level design, simulation,
automatic code generation, and continuous test and verification of embedded systems (MathWorks
website). MATLAB and Simulink are both frequently used environments for the Systems II course.
Consequently, it is a required component of this project to be able to design and demonstrate
magnetic levitation using the design theories taught in Systems II using MATLAB and/or Simulink.
The Arduino is commonly controlled using its own development environment which uses
proprietary C language; this is different from the language used in MATLAB and does not
incorporate use of block diagrams for code execution. However, it is possible to communicate with
the Arduino using MATLAB and Simulink through available Arduino support packages or
Toolboxes. MATLAB and Simulink each require a separate toolbox for the Arduino which can be
downloaded from the MathWorks website. The toolboxes are based on a server program running
on the board which listens to I/O commands arriving via serial port.
10.2.
Component Design
As mentioned above, Simulink is a block diagram environment. Essentially, the magnetic
levitation system can be simulated in Simulink using a block diagram specifically designed to
control magnetic levitation. Appendix B shows an example of a block diagram designed by the team
for testing.
It was designed to be complemented by a driving MATLAB script; however, for the project,
it is required to upload the designed block diagram to the Arduino for demonstration of a designed
controller. Uploading Simulink block diagrams to the Arduino is facilitated by the support toolbox
mentioned above. Figure 10 shows an example of the block diagrams made available by the
Arduino Simulink toolbox.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 23 of 49
Team #11
Figure 10
Fall Term Report
Arduino Simulink block diagram example
The main purpose of MATLAB is mainly for the project design to substitute Simulink block diagram
commands to test out required functions of the various components of the apparatus until more
information is acquired on how to use Simulink to achieve the desired control of the Arduino.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 24 of 49
Team #11
Fall Term Report
11. Feasibility & Risk Assessment
The concept design, single electromagnet design with the Hall Effect sensor, was selected
after evaluating all concepts. The major components of the design include the single electromagnet
levitation, permanent magnet made of Neodymium, Hall Effect sensor, and Arduino
microcontroller. Almost all of the components are available in retail stores in Halifax, N.S. except
for the electromagnet which may has to be ordered custom-made or hand built according to the
magnetic field strength requirement. This concept design has the option of conducting ether
repulsion or attraction levitation depending on its position/orientation on the apparatus.
Consequently, this design provides the option of testing out both methods of electromagnetic
levitation (i.e. attraction or repulsion). Testing of the device and the operating circuitry can also be
a cause for concern in the project as these components determine the feasibility of the design to
meet the project’s requirements.
In terms of availability of materials, the Hall Effect sensor and Arduino microcontroller can
be obtained from a local electronics store in Halifax called Jentronics. Permanent magnets made of
Neodymium are available at Princess Auto; however, these are disk shaped. Initial prototype and
testing phase can be carried out with the available magnet size but further research is needed to
find a spherical neodymium magnet locally; these can be purchased online. The circuit needed for
the system can be built with a prototype board, wires, and electrical components that can be bought
at Jentronics. Putting them together according to the requirement may require research into
electric circuits and guidance from Electrical advisors. Once the layout for the circuitry is
determined it can be made into a permanent circuit using a perforated prototype board or using a
custom made PCB design that can be prointed at a local PCB contract manufacturer, Sunsel Systems.
There are multiple options for the electromagnet design. Calculations in Appendix C
indicate the initial approach towards building the electromagnet. There are various limitations and
parameters that need to be determined. Off the shelf electromagnets are available; however, testing
is required to determine whether this is suitable or needs to be built based on specified calculations
for the apparatus.
A major challenge anticipated for the project is the integration of the components to achieve
functionality through input methods from MATLAB/Simulink. The group has so far successful
interfaced the microcontroller with MATLAB and Simulink. Other challenges include building a
block diagram, executing control methods from Control Systems II course syllabus, retrieving data
from
the
MECH4010/4015
sensor,
and
adhering
to
the
project
Magnetic Levitation Demonstration Apparatus
requirements.
Page 25 of 49
Team #11
Fall Term Report
12. Testing and Verification Plan
There are a variety of different shapes of magnets that can be tested to confirm the concerns
of shape on object levitation. As mentioned above in the Feasibility section, different materials and
shapes of magnets are available for purchase; thus, tests will be conducted on as many different
shapes before making a final decision. In addition, it is possible to purchase electromagnets at local
hardware stores for testing, as opposed to purchasing wires and electromagnet core materials
separately without certainty of success. The electromagnets available for purchase come in the
form of pneumatic switches and igniters; these can be taken apart to retrieve the electromagnet
solenoid.
Given that the MCU must act as an I/O hub, it is important to test out this basic functionality
in the simplest manner possible to verify its usefulness to the project. A common means of testing
out I/O applications is by toggling LEDs on and off to determine whether signal transmission is
possible. However, this may not be the most effective means of confirming data retrieval from the
MCU for the intended purpose of magnetic levitation. Consequently, a viable alternative to testing
data retrieval would be to connect a simple sensor to be powered and read by the MCU; for
example, a temperature sensor. Successful execution of basic I/O tests, as mentioned, will prove
that the necessary control of a magnetic levitating device can be achieved. Toggling the on/off state
of an LED is proof of concept that the required external supply to the electromagnet can be
regulated as needed; but being able to regulate an electromagnet would be a better proof of concept
of levitation. Retrieving data from a sensor will also be proof of concept that it is possible to retrieve
position data for feedback for the levitation. The next step in testing and verification would be to
attempt the same test mentioned above, but this time using the Simulink toolboxes. Successfully
accomplishing communication or control of the MCU using Simulink would prove that it is possible
to control the magnetic levitation device using the chosen MCU and Simulink. In other words, this
would fulfill part of the necessary functional requirements of the project.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 26 of 49
Team #11
Fall Term Report
13. Cost Estimates & Budget
Table 2 outlines the expected project expenses. Most of the electronic components are
bought from Digi-key which is probably the cheapest supplier in market. Materials have to be
ordered through Digi-Key website, which incurs shipment and handling cost. Princess Auto and
Home Depot are local stores in Dartmouth; there is no additional shipment charge. The total project
cost is $565 including taxes and shipment. Additional 10% contingency cost is added to account for
any uncertainty in cost estimation.
The estimated budget is well within the $1,000 allowance. The extra $600 will be used to
print the circuit board and order extra materials that may be exhausted during testing of the device;
such as, electrical components and other sensors like the photoelectric sensor.
Table 3
Component and materials cost breakdown
Materials
Unit
Cost
Amount
Cost
Supplier
Part Number
ELECTRONICS
Arduino
$30.31
2
$60.62
Digi-Key
A000073
Perforated Prototype Board
$15.35
1
$15.35
Digi-Key
A000032
USB Cable
$2.23
1
$2.23
Digi-Key
Hall Effect Sensor
$1.00
2
$2.00
Digi-Key
140 pc. Wire Kit
$10.12
1
$10.12
Digi-Key
3021001-03
AH337WGTR-ND
438-1049-ND
60 pc resistor kit
$27.00
1
$27.00
Digi-Key
RS105-ND
Potentiometer
$27.40
2
$54.80
Digi-Key
5310-ND
Capacitors
$0.40
5
$2.00
Digi-Key
Rectifier
$0.15
5
$0.75
Digi-Key
Transistor
$0.55
5
$2.75
Digi-Key
Operation Amplifier
$0.64
5
$3.20
Digi-Key
12 V wall adaptor
$77.42
1
$77.42
Neodymium Magnet
$4.99
1
$4.99
Electromagnet
$12.99
3
$38.97
Digi-Key
Princess
Auto
Princess
Auto
P15819CT-ND
1N4007DICTND
MPSA06-ND
AP358SGDICT
-ND
285-2021-ND
Knotty Pine (2x3x6)
$6.15
3
$18.45
H. Paulin Nails
$8.96
1
$8.96
Black Corrosion-Resistant 1100 Aluminum Foil,
24" X10' Roll
$33.66
1
$33.66
Sub Total
$363.27
8183915
8465254
RAW MATERIALS
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Home
Depot
Home
Depot
McMaster
Carr
228268
832514
7073T26
Page 27 of 49
Team #11
Fall Term Report
Billing Total
$363.27
Taxes
Estimated
Shipping
& Handling
$54.49
Total
10%
Contingency
MECH4010/4015
$150.00
$512.57
$567.76
Magnetic Levitation Demonstration Apparatus
Page 28 of 49
Team #11
Fall Term Report
14. Progress Report
The group made significant advancements towards building a functional prototype for the
project. The control circuit is now complete and was thoroughly tested. Initial solenoid testing was
done using an igniter solenoid which was rated at 80A; the current solenoid being tested is rated
for 1.3A. It was possible to achieve magnetic field manipulation of the solenoid using the Arduino.
There were some initial problems with burning out transistors which was solved by using a power
supply that was rated for a higher current than the solenoid being tested.
The sensor signal conditioning circuit was also successfully tested with the Arduino. Data
from the Hall Effect sensor was acquired through Arduino for different pole engagements of a
permanent magnet (during activating of the solenoid) and the data was recorded as shown in
Figure 11. The program code used to accomplish the figure below is given in the Appendix.
Hall Effect Sensor Response to
PWM Magnetic Field
Hall Effect Sensor Output
650
600
550
Without
Object
500
With Object
450
400
350
0
Figure 11
200
400
600
Sample Number
800
Hall Effect sensor output with and without permanent magnet (object)
The permanent magnet was introduced in addition to the solenoid’s field to understand the
effect on the sensor output. Results clearly indicate an increase or decrease in the signal amplitude
based on the orientation of the magnet. The excel graph from test results is provided in the
Appendix. In addition, an emergency mechanism from an existing levitation program was used to
shut off the signal to the coil when the magnet got too close to the solenoid. This clearly indicated
that levitation using this prototype is imminent but further examination of the Arduino code is
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 29 of 49
Team #11
Fall Term Report
required to achieve the this outcome. Figure 12 shows the completed sensor signal conditioning
circuit and the coil driver circuit.
Figure 12
Actual control circuit
Concurrent to the work on the prototype, the group made progress with the Simulink block
diagram presented in the Appendix of this document. We developed a full understanding of the
components required for the block diagram like the saturation block, low pass filter for signal
conditioning, and input functions/parameters. The driver file required to verify the block diagram
has to be written before all the parameters for the individual blocks can to be determined. In
summary, a control circuit for levitation was built and successfully tested for manipulation of a
solenoid and retrieval of feedback data from a Hall Effect sensor. Additionally, a Simulink block
diagram was design based on existing magnetic levitation projects.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 30 of 49
Team #11
Fall Term Report
15. Future Considerations
Completion of the prototype is the foremost goal for the group. The plan to test out the full
working prototype is postponed for the winter break. Programming the sensor signal conditioning
circuit is needed to achieve levitation and it is the current task in hand. A program written in the
Arduino’s IDE will be used to differentiate the magnetic field generated by the solenoid and the
object to be used as feedback to determine the necessary magnetic field generation for levitation.
The next major task for the group is to complete the Simulink block diagram to replicate the
Arduino code for levitation (once completed) using the Simulink Arduino toolbox support and then
to integrate System II control theories. Additionally, an UI for the Simulink block diagram needs to
be designed and will act as the front end application for the device.
The fall term comes to an end with the submission of the fall design report and peer
assessments. Parts would be ordered during the break so that they would arrive when the building
phase begins in winter term. Building phase would involve completion building a stand for the
apparatus based on the proposed 3D model and building an electromagnet based on calculated
requirements. Integration and testing of the devices would follow after the building phase. The
summary of all tasks and estimated duration for completion is listed in the Schedule section of the
Project Management Plan.
If the range of levitation is too low, the group will need to consider building a more powerful
electromagnet or adding an extra electromagnet to repel the levitated object from the bottom to
extend the range, basically switching to double electromagnet suspension design. The cost of
adding an extra electromagnet is also considered in the budget.
15.1.
Preliminary Apparatus Design
A 3D model of the intended apparatus chassis was altered completely for a realistic and
feasible design (Figure 13). More details are incorporated in this model including a power supply
unit, the control circuit, and the Arduino. It was decided to place the electromagnet inside the
chassis. It was decided that the chassis be made of wood and sheet metal (for easy access to
components). The cost of the building material was considered in the budget analysis section of the
document. Workshop facilities in Dalhousie engineering department would be used for the
construction of the chassis.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 31 of 49
Team #11
Figure 13
Fall Term Report
Proposed Apparatus design
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 32 of 49
Team #11
Fall Term Report
16. Project Management Plan
16.1.
Organizational Responsibilities
This project is a collective obligation that requires individual members to communicate,
cooperate and coordinate. In the Conceptual Design Report, a table is created to list the anticipated
engineering expertise required for project.
Table 4
Required engineering expertise
Technical Area
Technical
Communication
Research &
Development
Team Member
Responsible
Ajay Puppala
Fuyuan Lin
Xiadong Wang
Marlon McCombie
Ajay Puppala
Fuyuan Lin
Xiadong Wang
Circuit Analysis
Marlon McCombie
Fuyuan Lin
Microcontrollers
Marlon McCombie
MATLAB/Simulink
Controller Design
Ajay Puppala
Xiadong Wang
Marlon McCombie
Level of Expertise Required
Intermediate
This skill is important for the necessary
documentation and communication
required for the duration of the project
Intermediate
Detail research must be carried out. This
will help to determine the parameters
necessary for levitation and component
selection and testing. This expertise is
important to the overall success of the
project
Intermediate
A clear understanding of the function of
circuit components is required for reliable
and effective transfer of power and data
among the components.
Amateur
A basic understanding of microcontrollers
and programming is required to be able to
test and communicate with the system
components and the required GUI.
Intermediate
An intermediate level of understanding for
this technical area is required for
successful communication and testing
between the microcontroller and the
required GUI and simulation and testing of
the apparatus’ ability to meet the projects
main requirement for demonstration.
Apart from the technical point of view, it is also important to look at roles of individuals from a
project management point of view:
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 33 of 49
Team #11
Table 5
Fall Term Report
Allocation of team responsibilities
Name
Ajay Puppala
Title
Project Manager
Marlon McCombie
Chief Technology Officer
Fuyuan Lin
Chief Design Specialist
Xiadong Wang
Chief Financial Officer
Responsibilities
- Division of work and duties
- Keep track of developments in
the project
- External Communication
- In charge of research and
application of technology
required for the project
- Study of various design
- Development of Solid Works
model
- Development of Budget
- Study ways to cut costs and
optimize design.
The roles designated above are only nominal. It is expected by individuals to contribute in other
areas as required.
16.2.
Work Breakdown Structure
The design cycle for the project mainly consists of research, product design, development,
and testing. Figure 14 maps the first level of the work breakdown structure (WBS). A 3 level WBS
was adopted in the project management which is explained in the subsequent pages. Apart from the
regular product development, budget for material purchase for development prototype acts as a
constraining factor for the selection and implementation of concepts generated during the design
generation stage. Documentation that needs to be completed during the project is also listed in the
following figure.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 34 of 49
Team #11
Fall Term Report
Fall term WBS
1. Research
2. Product Design
3. Product
Developement
4. Financial
Management
5. Documentation
1.1
Requirements
2.1
Concept
Generation
3.1
Calculations &
Solid Works
Model
4.1
Bill of
Materials
5.1
Requirements
Document
1.2
Focus Groups
2.2
Concept
Evalution
3.2
List of Materials
4.2
Budget
Analysis
5.2
Conceptual
Report
1.3
Survey
2.3
Concept
Selection
3.3
Prototype
5.3
Embodiment Report
1.4
Research
Analysis
2.4
Feasibility
Analysis
3.4
Prototype
Testing
5.4
Interim
Presentations
1.5
Findings &
Evaluation
2.5
Method of
Testing
3.5
Design Verification
& Improvements
5.5
Web Page
5.6
Term Report
Figure 14
Fall term work breakdown structure
The subsections are further divided with an effort to get good insight and understand the
specifics of each element. This is the level 2 of the WBS. The research phase of the project comprises
determination of requirements, division into focus groups, and survey of literature using different
techniques, and summary and analysis of the findings. Figure 15 explains what should be done for
each of the subsections. For example, the requirements should consider the purpose of the project,
visual requirements, power and demonstrative requirements.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 35 of 49
Team #11
Fall Term Report
1. Research
1.1
Requirements
1.2
Focus Groups
1.3
Survey
1.1.1
Purpose
1.2.1
Magnetic Levitation
1.3.1
Journals &
Publications
1.1.2
Visual Requirements
1.2.2
Levitated Object
1.3.2
Vendor Sites &
Catalogues
1.1.3
User Convenience &
Safety
1.2.3
Sensors
1.3.3
Databases
1.1.4
Power Requirements
1.2.4
Microcontroller
1.3.4
MECH 4900
Textbooks & Lecture
Notes
1.1.5
Interactive
Rrequirements
1.2.5
Circuitory
1.4
Research
Analysis
1.5
Findings &
Evaluation
1.1.6
Demonstrative
Requirements
Figure 15
Research work breakdown structure
Similar to the research section, the product design is also divided into specific categories
that might help to conduct and optimize the design selection process.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 36 of 49
Team #11
Fall Term Report
2. Prodcut Design
2.1 Concept
Generation
Figure 16
2.2 Concept
Evalution
2.3 Concept Selection
2.4 Feasibility
Analysis
2.5 Method of Testing
2.1.1
Electromagnetic
Suspension
2.2.1
Basic Requirements
2.4.1
Avaliability
of Materials
2.5.1
Levitation
2.1.2
Electrodynamic
Replusion
2.2.2
Parts Requirements
2.4.2
Supporting
Calculations
2.5.2
Sensor
2.1.3
Vertical Maglev
Track
2.2.3
Design Assessment
2.4.3
Challenges
2.5.3
Matlab/Simulink
2.1.4
Toroidal
Electromagnetic
Track
2.2.4
Cost Assessment
2.5.4
MCU
Product design work breakdown structure
Each component in the concept evaluation section can be further broken down to get a good
understanding of the criteria for evaluating designs generated in the 2.1 section. Careful evaluation
of each one of these criteria is necessary to select appropriate design for the project. This was
already done in the concept selection report.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 37 of 49
Team #11
Fall Term Report
2.2 Concept
Evaluation
2.2.1 Basic
Requirements
Figure 17
2.2.2 Parts
Requirements
2.2.3 Design
Assessment
2.2.4 Cost
Assessment
2.2.1.1
Viewability &
Stability
2.2.2.1
Electromagnet
2.2.3.1 Design
Complexity
2.2.4.1
Cost of wiring for
electromagnet
2.2.1.2
Portablility
2.2.2.2
Sensor
Effectiveness
2.2.3.2 Ease to
Build
2.2.4.2
Cost of sensor
2.2.1.3
Simulink
& GUI
2.2.2.3
MCU
2.2.3.3 Holistic
Judgement
2.2.4.3
Cost of
microprocessor
2.2.1.4
Implementation of
Control Design
Theories
2.2.2.4
Displacement of
Levitating Object
2.2.4.4 Cost of
frame
2.2.2.5 Frame
Support
2.2.4.5 Cost of
circuitory
Concept evaluation breakdown structure
The structure helps to identify the steps involved in the design selection and development
process. Critical path shown in Figure 16 in the following page indicates the sequence of steps
required for proper completion of the project for this term. A spiral design method is adopted for
the development. The documentation and budgetary input are also incorporated into the flow
chart.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 38 of 49
Team #11
Embodiment Design Report
Fall Term WBS
2. Product
Design
1. Research
1.1
1.2
1.4
1.3
4. Financial
Management
3. Product
Developement
2.1
2.2
2.4
2.3
3.1
3.2
4.1
3.4
3.3
4.2
3.5
1.5
5.1
Requirements
Document
5.2
Conceptual
Report
5.3
Embodiment
Report
5.6
Term Report
DOCUMENTATION
Figure 18
Fall term WBS critical path chart
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 39 of 49
Team #11
Embodiment Design Report
The work requirement for the project during winter mainly consists of gathering parts,
coding with Simulink, system integration, and testing. A 2 level WBS was developed for the winter
term. Documentation that needs to be completed during the project is also listed in the Figure 17.
Winter Term WBS
1. Building Phase
Figure 19
2. System
Integration
3. Testing Phase
4. Financial
Management
4. Documentation
1.1
Gather Parts
2.1 Simulink &
Microcontroller
3.1
Testing System
Components
4.1 Purchasing
Parts
4.1
Build Report
1.2 Build
Simulink Block
Diagram
2.2
Microcontroller
& Circuitry
3.2
Test Integrated
Subsystems
4.2 Updating
Cost Analysis
4.2 Winter
Presentations
1.3 Build
Electromagnet
2.3
Circuitry &
Physical Levit.
3.3
Full scale
testing
1.4 Build
Circuitry
3.4 Collect and
Sample data
1.5
Build Chasis
3.5 Validate
Model
4.3
Final Report
Winter term work breakdown structure
The above structure helps to identify the steps involved in the building phase, integration of
subsystems, and testing the integrated device. Figure 18 in the following page indicates the
sequence of steps required for building, testing, and validating the model. It clearly shows steps to
take if the model does not function properly or meet the requirements of the project. The
documentation and budgetary input are also incorporated into the flow chart.
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 40 of 49
Team #11
Embodiment Design Report
Winter Term WBS
1.1
1.4
4. Financial
Management
1. Building Phase
2. Integration
1.2
2.1
3.1
3.2
4.1
2.2
3.4
3.3
4.2
1.3
1.5
2.3
5.1
Build Report
3. Testing Phase
Model Does
not meet
Requirements
or its not fully
functional
3.5
Model Meets
Requirements &
Fully Functional
5.2
Winter Presentation
5.3
Final Report
5. Documentation
Figure 20
MECH4010/4015
Winter term WBS critical path chart
Magnetic Levitation Demonstration Apparatus
Page 41 of 49
Team #11
16.3.
Embodiment Design Report
Schedule
The following schedule is generated based on the WBS from the last section. Most of the
work for this term is almost completed except for the prototype and initial testing. The schedule in
Table 5 is adjusted to complete the tasks by the end of the break so that we are back on schedule for
the winter term. The next major objective for the group is to complete the prototype and order the
materials by 17th December, 2013. This is the last possible date for the group to work together after
which some of us planning to go home for holidays.
Table 6
Summary of project tasks for fall 2013 term
Task Name
Duration
Start
Finish
Responsibility
Preliminary Research
Group organization &
house keeping
6 days
9/25/13
10/2/13
Individual Effort
% Work
Completed
100%
3 days
9/26/13
9/29/13
Group Effort
100%
Focus Groups for
Subsystems
Scope/Requirements
Analysis Review Pannel
Inputs
Summary of Findings of
Focus Groups
Concept Generation and
Selection
Theory Evaluation and
Calculations
Conceptual Design
Report
Solid Works Model
List of Materials required
for Prototype
Material Collection
Embodiment Report
Prototype Building
Prototype Testing
Interim Presentation
Fall Design Report
Purchase Parts
7 days
9/30/13
10/8/13
4 days
10/15/13
10/18/13
Electromagnetic Theory &
Calculations
- Fuyuan & Xiadong,
Microcontroller & Circuitry Marlon,
Design & Sensors - Ajay
Marlon & Ajay
1 day
10/20/13
10/20/13
Group
100%
2 days
10/20/13
10/21/13
Individual
100%
3 days
10/24/13
10/27/13
Group
100%
3 days
10/31/13
11/4/13
Fuyuan & Xiadong
100%
3 days
11/5/13
11/7/13
Marlon & Ajay
100%
1 day
11/20/13
11/20/13
Fuyuan & Xiadong
100%
1 day
11/20/13
11/20/13
Group
100%
5 days
3 days
14 days
4 days
5 days
5 days
1 day
11/4/13
11/20/13
11/10/13
11/24/13
11/24/13
11/27/13
12/10/13
11/8/13
11/22/13
11/27/13
11/27/13
11/28/13
12/3/13
12/11/13
Ajay
Group Effort
Marlon & Ajay
Marlon
Group Effort
Group Effort
Group
100%
100%
85%
45%
100%
100%
85%
100%
100%
The group personally invested money to purchase the parts needed for the prototype with
the exception of the control circuit components and the power supply. Invoices from purchases will
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 42 of 49
Team #11
Fall Term Report
be submitted to the Mechanical Department office with consent from the project supervisor to
claim the sum.
Next table in the section indicates the required number hours from individual team
members and as group to finish the remaining tasks left in this term. We are planning to work in the
break so we are well prepared for the 2014 winter term.
Table 7
Breakdown of remaining hours of work for the winter break
Team Member Name
Marlon McCombie
Ajay Puppala
Fuyuan Lin
Xiadong Wang
Group
Total Hours of Work Required
Major Responsibility
Complete Prototype for
Levitation
MathWorks Simulink
Solid Works Modeling
MathWorks Simulink
Ordering Required Materials
Hours of Work Required
12
10
6
8
5
41
Winter term, 2014 schedule is laid out based on WBS from Figures 17 and 18. The following
table estimates the time it takes to complete the tasks due in the term. It also indicates the
percentage of work completed for each task. A value higher than zero (please note the values are
only an approximation) suggests that work from fall term can be used directly towards completion
of the tasks in the winter term.
Table 8
Summary of project tasks for winter 2013 term
Task Name
Duration
Finish
Responsibility
Gather Parts
Review Fall Report
Building Phase
Prototype Testing
Complete Simulink Block Diagram
Implement Control Theories
Build GUI using Simulink
Rebuild circuitry
Build Stand & Electromagnet
System Integration
Testing Phase
Set up System in Lab
Testing system
Collect and Sample data
Test completion
Deliverables
Build Report
Update Website
Final Report
Final Presentations
2 days
1 day
1st week January
1st week January
Marlon & Ajay
Group task
% Work
Completed
15%
0%
3 days
7 days
4 days
4 days
1 day
3 days
5 days
1st -2nd week January
2nd -3rd week January
3rd week January
4th week January
4th week January
4th week January
2nd week February
Marlon & Xiadong
Fuyuan & Ajay
Group
Fuyuan & Ajay
Marlon
Xiadong
Group task
30%
25%
0%
0%
85%
5%
35%
3 days
15 days
10 days
2 days
2nd week February
3rd– 4th wk. February
1st -3rd week March
4th week March
Group task
Group task
Scheduling
Marlon & Ajay
0%
0%
0%
0%
4 days
2 days
4 days
2 days
2nd week February
1st week April
1st week April
1st week April
Group task
Ajay
Group task
Group task
20%
15%
15%
10%
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 43 of 49
Team #11
16.4.
Fall Term Report
Specialized Facilities and Resources
16.4.1. Facilities
The following is a list of facilities that are required for the project duration and a short
description for their necessity:

Design workbench
o
For testing prototype apparatus and for storing materials and components
to allow easy access by team members

Measurements Laboratory (C255)
o
For testing EM with varying current input using an bench power supply;
especially in the unlikely case that the currents needed for levitation are
potentially dangerous

Machine Shop/Carpentry Shop
o
For fabricating a suitable chassis for the final apparatus
16.4.2. Additional Advisors
Name:
Position:
Email:
Dr. Ya-Jun Pan
Professor, Mechanical Dept.
yajun.pan@dal.ca
Name:
Position:
Email:
Dr. Timothy Little
Professor, Electrical Dept.
timothy.little@dal.ca
Name:
Position:
Email:
Jonathan MacDonald
Electrical Technician, Mechanical Dept.
jon.macdonald@dal.ca
Name:
Position:
Email:
Angus MacPherson
Mechanical Technician, Mechanical Dept.
angus.macpherson@dal.ca
Name:
Position:
Email:
Corey MacNeil
Automation Specialist, Jentronics Ltd.
corey@jentronics.ca
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 44 of 49
Team #11
Fall Term Report
17. References
Brandt, E. H. "Levitation in Physics." N.p., 20 Jan. 1989. Web. 28 Oct. 2013.]
"Electronic Components Distributor | DigiKey Corp. | CA Home Page. N.p., n.d. Sat. 03 Nov. 2013
“LEGO Mindstorms Online Store.” http://shop.lego.com/en-CA/LEGO-MINDSTORMS-NXT-2-08547. Retrieved November 6, 2013
“Liquidware Online Store” http://www.liquidware.com/shop/show/ARD-UNO/. Retrieved
November 6, 2013
"RobotShop : The World's Leading Robot Store." RobotShop. N.p., n.d. Sat. 03 Nov. 2013
Thompson, Marc T. "Eddy Current Magnetic Levitation: Models and Experiments." IEEE. N.p., 200.
Web. 28 Oct. 2013.
Williams, Lance. "Electromagnetic Levitation Thesis." N.p., 2005. Web. 28 Oct. 2013.
Shuaibu, D. S. S. & Adamu, S. S., “Design, Development and Testing of an Electromagnet for magnetic
levitation system”, Nigeria, Publication date unknown
“MathWorks MATLAB/Simulink website.” http://www.mathworks.com/products/simulink/. Retrieved
November 20, 2013
Lieberman, J. 2005, “Magnetic levitation project.” http://bea.st/sight/levitation/. Retrieved
November 20, 2013
Mikonikuv Blog, “Arduino Magnet Levitation – detailed description.”
http://mekonik.wordpress.com/2009/03/17/arduino-magnet-levitation/. Retrieved
November 20, 2013
Arduino UNO webpage. http://arduino.cc/en/Main/arduinoBoardUno. Retrieved November 20,
2013
ATmega238 datasheet. http://www.atmel.com/Images/doc8161.pdf. Retrieved November 20,
2013
Honeywell SS49 datasheet. http://www.wellsve.com/sft503/Counterpoint3_1.pdf. Retrieved
November 20, 2013
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page 45 of 49
Team #11
Fall Term Report
Appendix A Simulink block diagram for electromagnetic levitation
Figure 21
MECH4010/4015
Simulink block diagram for electromagnetic levitation
Magnetic Levitation Demonstration Apparatus
Page i of 49
Team #11
Fall Term Report
Appendix C Sample Programs
This example code was modified from examples supplied by the Arduino IDE.
int led = 3;
#define sensorPin 0
int monitoring = false;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
Serial.begin(9600);
Serial.println("Ready");
Serial.println("m - toggle monitoring");
}
// the loop routine runs over and over again forever:
void loop() {
// fade in from min to max in increments of 5 points:
for(int fadeValue = 0 ; fadeValue <= 255; fadeValue +=5) {
// sets the value (range from 0 to 255):
analogWrite(led, fadeValue);
// wait for 15 milliseconds to see the dimming effect
delay(15);
int sensor=analogRead(sensorPin);
checkSerial();
if (monitoring)
{
Serial.println(sensor);
}
}
// fade out from max to min in increments of 5 points:
for(int fadeValue = 255 ; fadeValue >= 0; fadeValue -=5) {
// sets the value (range from 0 to 255):
analogWrite(led, fadeValue);
// wait for 15 milliseconds to see the dimming effect
delay(15);
int sensor=analogRead(sensorPin);
checkSerial();
if (monitoring)
{
Serial.println(sensor);
}
}
}
void checkSerial()
{
if (Serial.available())
{
char ch = Serial.read();
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page iii of 49
Team #11
Fall Term Report
if (ch == 'm')
{
monitoring = ! monitoring;
}
}
}
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page iv of 49
Team #11
Fall Term Report
Appendix B Design Calculations for Electromagnet
Table 9
Design calculations for electromagnet
Options
1.000
2.000
3.000
4.000
Limitation
Core Diameter (former) (mm)
30.000
30.000
30.000
30.000
30.000
7850.000
7850.000
7850.000
7850.000
7850.000
Diameter of object (mm)
25.000
25.000
25.000
25.000
25.000
Volume of ball (m^3)
0.000
0.000
0.000
0.000
0.000
Mass of ball (kg)
0.064
0.064
0.064
0.064
0.064
Gravity
9.810
9.810
9.810
9.810
10.810
Pole area
0.001
0.001
0.001
0.001
0.001
B (wb/m^2)
0.059
0.059
0.059
0.059
0.059
Air gap (mm)
100.000
90.000
80.000
0.000
300.000
Turns (n)
1000.000
1000.000
1000.000
1000.000
1000.000
r (half diameter of core) (mm)
15.000
15.000
15.000
15.000
15.000
Length of former (mm)
100.000
100.000
100.000
100.000
100.000
0.011
0.011
0.011
0.011
0.011
H (AT/m)
46997.891
46997.891
46997.891
46997.891
46997.891
Magneto-motive force (mmf)
4699.789
4229.810
3759.831
0.000
14099.367
I (A)
4.700
4.230
3.760
0.000
14.099
F (N)
15.042
15.042
15.042
15.042
15.042
AWG 19 gage() (mm)
0.912
0.912
0.912
0.912
0.912
Maximum number of
wires in the first layer
Stacking factor
109.666
109.666
109.666
109.666
109.666
0.900
0.900
0.900
0.900
0.900
Density of object (kg/m^3)
Cylinder (total area) (m^2)
Wire chosen
Total # of layers
10.132
10.132
10.132
10.132
10.132
1039.264
1039.264
1039.264
1039.264
1039.264
102574.682
102574.682
102574.682
102574.682
102574.682
102.575
102.575
102.575
102.575
102.575
The unitl Resistor of
chosen wire (Ohms per 1000
ft)
Total Resistor
8.051
8.051
8.051
8.051
8.051
2.709
2.709
2.709
2.709
2.709
Total Voltage
12.734
11.460
10.187
0.000
38.201
Heat produced by wire
34.501
31.051
27.601
0.000
103.502
Total length of wire (layers)
Total length of wire
(total cylinder) (mm)
(m)
MECH4010/4015
Magnetic Levitation Demonstration Apparatus
Page v of 49
Download