Engineering

Activities

Resources

Enrichment Program

Summer School

Contact Us

 

Mechatronics Learning Studio

 

The Electromagnetic Solenoid Cannon

 

Michelle Bolton, Mike de Jong, Chris Warren, Dept. of Mechanical Engineering, University of Ottawa

 

 

 

 

 

OBJECTIVES

 -          Utilize the energy storage capabilities of capacitors to convert a current into an electromagnetic field by way of a coil of wire

(creating a solenoid)

-          Use the electromagnetic field created to displace a magnetic object placed within the solenoid to a location outside the solenoid

-          Demonstrate the effects of the solenoid by building a model cannon using the solenoid as a cannon barrel

-          Control the rotation of a bipolar stepper motor through the use of an Arduino Duemilanove microcontroller and a potentiometer

-          Create a horizontal positioning system by integrating the bipolar stepper motor control with the solenoid cannon  

 

MATERIALS

 

 Solenoid Cannon Materials

 

-          TIC116 D SCR (silicon-controlled rectifier)

-          (2×) 1N4002LED, red

-          Transformer, 110V to 24V, 2 amp

-          20 Ω x 2-watt wire bound resistor

-          (3x) 47 kΩ x 1/4 watt resistor (yellow, violet, orange)

-          1.2 kΩ x 1/4 watt resistor (brown, red, red)

-          3300 µF capacitor

-          (3×) 4700 µF capacitor

-          6800 µF capacitor

-          SPST switch (on/off)

-          (2×) pushbutton switches

-          1A fuse and holder

-          Ferrous projectiles

-          Length of enamelled motor winding wire

-          Terminal strip

-          Steel circuit enclosure

-          Straws

 

 

Targeting System Materials

-          Arduino Duemilanove

-          USB A to B cable

-          L293D duel H-bridge motor driver chip (SN75441ONE)

-          Bipolar stepper motor

-          10 kΩ single-turn potentiometer

-          Breadboard

-           (2×) 9V batteries and battery wire adapter

 

Additional Materials

 

-          Plastic cannon chassis (frame)

-          Insulated circuit wires

-          Bonding agents (super glue, Velcro, double-sided foam tape, duct tape)

-          Cardboard circuit enclosure

-          Soldering iron

-          Solder

 

CIRCUIT DIAGRAM FOR SOLENOID CANNON:

 

 

 circuit.jpg

 

 

CIRCUIT DIAGRAM FOR TARGETING SYSTEM:

 

 

 

CONSTRUCTION PROCESS:

 

• Creating Solenoids (Winding Coils)

 

  005.JPG 015.JPG

 

016.JPG

 

• Building the Solenoid Cannon Circuit

 

006.JPG DSC_1632.JPG 

DSC_1632.JPG  DSC_1632.JPG

 

• Arduino Duemilanove, Bipolar Stepper Motor and H-Bridge Assembly

 

DSCN1441.JPG    DSCN1437.JPG

 

DSCN1436.JPG    DSCN1439.JPG

 

OPERATING PROCEDURE

 

1.      Connect the solenoid cannon circuit to the AC power supply (120V in most areas) and position the desired projectile within the cannon barrel.

2.      Connect the Arduino Duemilanove microcontroller and the bipolar stepper motor to their respective 9V battery power supplies.  

3.      Close switch 1 (the power or on/off switch) to supply power to the circuit, lighting the Power LED.

4.      Press charging button (switch 2) and keep pushed for approximately 15 seconds, charging the capacitors to their fullest. The Charging LED’s brightness indicates amount of charge.

5.      Rotate the dial on the potentiometer to rotate the solenoid barrel to the desired position.

6.      Once the capacitors are fully charged, press the trigger (switch 3) to discharge the energy stored in the capacitors through the coil. The electromagnetic field produced by the current through the wire will propel the projectile.

 

 

PROBLEMS ENCOUNTERED

 

 -          Finding adequate projectiles for solenoid cannon

o   Lightweight

o   Magnetic

o   Correct geometry and size

o   Inexpensive and accessible

 -          Winding the solenoid cannon coils

o   Thickness of wire

o   Involuntary stripping of the insulation on the wire

o   Number of wound layers

o   Length of the solenoid

 

-          Operation of bipolar stepper motor and Arduino Duemilanove

o   Encounters noise from Arduino Duemilanove causing vibrations

o   Weight of cannon barrel on stepper motor hinders motion

§  Horizontal orientation favourable

o   Difficulty in finding / creating functioning Arduino code

o   Difficulty uploading code to the Arduino

o   Adequate power supply for Arduino and stepper motor

o   Making connections between Arduino, H-bridge and stepper motor

§  Many loose connections with wires disconnecting from the breadboard

 

REFERENCES

 Braga, Newton C. Mechatronics for the Evil Genius. New York: McGraw-Hill, 2006.

 Arduino. Circuit for Bipolar Stepper Motor – Four Pins. Retrieved from

http://arduino.cc/en/Reference/StepperBipolarCircuit.