G-switch Timer

Home | What's New | Photos | Videos | Projects | Flight Data | Misc Info  | Links | Email

Home

What's New 

Photo Gallery

 

My Best Photos

Coldfire

Angelfire

Starfire

Wildfire

Vulcan

Scorpion

Nike Dart

Tempest

Black Widow

Sentinel

Hybrid Dart

Arcas

Scott's Rockets

The Early Years

Aerial Photos

Tripoli Idaho Photos

LDRS 26  (2007)

     Angelfire at LDRS 26

     Starfire    at LDRS 26

     Wildfire   at LDRS 26

     Scott's Flights at LDRS 26

LDRS 24  (2005)

Desert Heat 2008

Desert Heat 2006

Desert Heat 2005

Summer Skies 2008

Summer Skies 2007

Summer Skies 2006

Summer Skies 2005

Orange Crush Loop

XPRS 2008 Photos

XPRS 2007 Photos

XPRS 2006 Photos

     Starfire    at XPRS 2006

     Angelfire at XPRS 2006

     Wildfire   at XPRS 2006

     Nike Dart at XPRS 2006

XPRS 2005 Photos

XPRS 2004 Photos

FITS 2009 Photos

FITS 2007 Photos

FITS 2006 Photos

FITS 2003 Photos

Vulcan Ignition

Other Photos

Video Gallery

 

Angelfire

Starfire

Wildfire

Vulcan

Scorpion

Other Videos

Video Help          

Projects

 

Coldfire

     Components

     Airframe fiberglassing

     Fin slots

     Motor tube construction

     Fin attachment

     Nitrous vent

     Booster bulkhead

     Fin fillets and finishing

     Nosecone

     Altimeter bay

     Recovery system

     Motor adapter & tailcone

     Decals

     Rail guides

Angelfire

     Booster

     Fin fillets

     Nosecone

     Altimeter bay

     Altimeter electronics

     GPS electronics

     Recovery components

     Painting

     Finishing

Starfire

      Booster

      Fins & motor tubes

      Fin slots

      Body tubes

      Coupler tubes

      Bulkheads

      Mirror hood

      Altimeter bay

      Antizipper band

      Antizipper straps

      Booster Elec-bay

      Camera module

      Camcorder module

      Paint & decals

      Rail guides

Wildfire

Vulcan

Scorpion

Nike Dart

GPS Radio Downlink

Wildfire Camera Module

TV Transmitters

      Transmitter #1

      Transmitter #2

Launch Controller

G-switch Timer

Flight Data

 

Angelfire GPS Trajectories

Angelfire Altimeter Data

Flight Log

Misc Info

 

Altimeters

Altimeter Port Sizing

Altitude Charts

CAD Drawing Software

Centering Rings

Metal Plates

Delay Time Charts

Ejection Charge Sizing

Epoxy

Igniters

Launch Pads

Parachutes (etc)

Rocket Finding

Links

 

General Information

Clubs & Organizations

Rocketry Vendors

Kits and Components

Rocket Motors

Fun & Useful Sites

Electronics

Construction Supplies

Software Tools

Rocketry Magazines

Photographers

NASA

Email Vern

 

This page shows a home made G-switch timer that I designed and built in 1996.  It was flown many times in my Tempest hybrid rocket as a back-up to the on-board altimeter in order to fire the parachute ejection charge. I would typically set it for a 17 second delay so that it would fire the ejection charge about 2 seconds after expected apogee.  That way the altimeter should fire first and right at apogee if all went well. If the altimeter failed for some reason then this timer would put out the parachute.

I eventually quit using this timer because it was specifically designed to fire a flash bulb to set off the ejection charge.  I stopped using flash bulbs because I preferred the higher reliability of purpose built igniters like the Daveyfire brand.  I never actually had a flash bulb fail me, but they seem rather fragile. They were never really designed to be able to handle high G accelerations or high vibration environments.  Regular igniters are much more rugged but typically require a little more current to fire them.  I suspect this timer would work with the sensitive N28B Daveyfire igniters or the BlackSky sensitive HiRMI brand, but I have never actually tested it.  The problem is, I built it with two small AAA batteries.  Therefore it provides less than 3 volts to the igniter and it will not be able to deliver a lot of current either.

The G-switch itself uses a cantilevered metal bar that pivots down as the rocket accelerates upward.  The metal bar actuates a small micro-switch that triggers a digital counter to begin the timing sequence.  The timer is designed so that it will not start unless the micro-switch has been activated for a duration of at least 0.5 seconds.  This prevents the timer from being triggered accidentally while still on the ground.  The desired delay time is set by six small switches that each add progressively more delay.  S1 = 0.5 sec, S2 = 1 sec, S3 = 2 sec, S4 = 4 sec, S5 = 8 sec, and S6 = 16 sec.  Therefore any delay time between 0.5 sec and 31.5 sec can be set by selecting the correct combination of switches.

To confirm the delay has been set correctly and that the device is operating properly, the user can simply hold down the G-switch for about 1 sec and then release it.  The timer will become activated and begin counting up.  Each second it will produce a short beep and when it matches the switch settings it will illuminate the "fire" LED.  The user can either time how long it actually took, or just count the number of one-second beeps. Of course all of this should be done prior to connecting the ejection charge!

The timer was built using a small prototyping circuit board and point-to-point wiring.  It is shown in the pictures below. 

Click on any photo to see a larger version of it.
G-switch timer, top view. Top view.
G-switch timer, side view. Side view.
G-switch timer, bottom view. Bottom view.
   
G-switch Operation  
G-switch in the full up position.

G-switch in full up position.

G-switch part way down. G-switch part way down.
G-switch all the way down. G-switch in full down position.
   
Major Components  
Click here to see the major components identified.  

There are two small toggle switches on the timer.  One is for power, the other is a safety switch that can be used to arm the unit once power is on and the rocket is ready to launch.  The safety switch also resets the timer logic so that it starts from zero.  I built the timer into my Tempest so that I could access these small toggle switches through a small hole that also served as the altimeter pressure port.  Once the rocket was on the launch pad I could switch-on the power switch and then the arming switch.

There are three small LEDs just to the right of the toggle switches.  The yellow LED indicates power is on.  The green LED indicates there is continuity through the flash bulb in order to confirm it is properly connected.  These two LEDs are what you want to see when it is armed and ready for launch.  The red LED indicates the timer has reached the final count and has fired the flash bulb. This is used for checking proper operation of the unit prior to connecting the bulb.  It will also be lit once the rocket has been recovered and in that case it indicates the timer did indeed get triggered by the acceleration of the rocket and eventually fired the charge.

The flash bulbs had wire leads that connected into a two terminal screw type connector.

The G-switch was made from a cantilevered aluminum bar that I cut from a piece of scrap bar stock.  Using something heavier like steel or brass would make it more sensitive but the aluminum worked fine for me.  I drilled a hole through one end of it and inserted a small bolt that serves as the pivot point.  The micro-switch has a spring loaded arm with a small roller on it that is depressed by the cantilevered bar when the unit is accelerated upward.  A swing test can be used to check the G level at which the unit will activate.

   
Circuit Schematic  
Schematic diagram of G-switch timer circuit.  

The timer is built using four small inexpensive CMOS integrated circuits. This allows it to run on just 3V from two small AAA batteries.  U1 is a 74HC688 8-bit equality comparator.  It compares the switch settings to the counter output and will set pin U1-19 low when they match.  The actual counter is U2.  It is a 74HC4060 14-stage binary ripple counter with built-in oscillator.  The oscillator is set to run at about 16Hz by the two resistors and one capacitor that are connected to pins 9, 10, and 11 on U2.  This oscillator frequency provides the proper time scale factors for the six programming switches.  S1 = 0.5 sec, S2 = 1 sec, S3 = 2 sec, S4 = 4 sec, S5 = 8 sec, and S6 = 16 sec.  Therefore any time delay between 0.5 sec and 31.5 sec can be set by selecting the correct combination of switches.

U3 is a 74HC74 D-type flip-flop that is used as part of the triggering logic.  U3-12 will be low when the counter matches the switch settings.  Consequently, on the next oscillator clock edge from U2-9 the flip-flop output at U3-9 will go low. This is the event that activates the 2N4403 transistor that fires the flash bulb.  It also activates the 2N3906 transistor and illuminates the red "fire" LED.  A 2N4403 transistor was selected to fire the flash bulb because it has higher gain at higher current levels than the 2N3906.

The other half of U3 is a flip-flop that is used to ensure that the timer does not actually continue counting unless the G-switch has been activated for at least 0.5 seconds.  This is a safety feature that prevents the timer from triggering if the rocket is jostled or even tips over or falls down after the timer is armed. 

U4 is a 74HC00 quad 2-input NAND gate.  When the G-switch is activated, the input to a NAND gate at U4-2 will go low.  This forces the output at U4-3 to go high. If the arming switch is in the "arm" position then both inputs at U4-4 and U4-5 will be high. This forces U4-6 low and releases the clear input to the counter at U2-12.  This allows the counter U2 to begin counting up.  So long as the G-switch continues to be activated, the counter will continue to count up.  If the G-switch deactivates, even very briefly, the counter will be immediately reset via the NAND gate path from U4-3 and U4-6.  However, once the counter has counted for 0.5 seconds, then its output at U2-7 will transition high. This clocks the flip-flop at U3-3 and causes its output at U3-5 to go low.  This essentially represents a "point of no return" because once U3-5 goes low, it will no longer matter what the G-switch does.  The output at U4-3 will remain high and the counter will be allowed to continue to count even if the G-switch deactivates.  This is of course very desirable since the acceleration on the rocket will cease once the motor burns out and we want the counter to continue to count as the rocket coasts to apogee.

The counter output at U2-7 is also buffered by another U4 NAND gate and used to drive a small piezoelectric beeper. (Beeper is Radio Shack part number 273-074 and operates from 3-16 volts.)  This beeper is activated for 0.5 seconds every 1.0 seconds while the counter is counting.  It provides an easy way for the operator (me) to verify that the correct switch settings have be set.  All I have to do is count the beeps to determine how long the counter delay time is set for.  The beeper also provides a safety feature in that it warns that the timer has been activated and is about to fire the charge.  If for some reason the timer should be accidentally activated while the rocket was still on the ground, then the timer would start beeping and I would be warned to get back out of the way before it sets off the ejection charge.  Fortunately this has never happened.

Another NAND in U4 is used as part of a continuity check circuit to make sure that the flash bulb is properly connected and has good continuity through it.  If no flash bulb is connected, then the inputs at U4-9 and U4-10 are pulled low with a 100K resistor.  This causes the output at U4-8 to go high and turns-off the green "continuity" LED.  However, once a flash bulb has been connected, and if it has good continuity through it, then a 10K resistor will provide a low level of current (0.3ma) that will pass through the flash bulb (without setting it off) and put the inputs at U4-9 and U4-10 both high.  This forces the output at U4-8 low which turns-on the green "continuity" LED.

Power is provided by two AAA 1.5V alkaline batteries.  A yellow "power" LED is connected directly to the output from the power toggle switch.  The power is then separated into two legs.  VP is the high current power leg that is used to fire the flash bulb and to run the LEDs.  All of the digital logic ICs (U1-U4) are powered from VDD.  VDD is created from VP via a 100 ohm resistor and 300uF of capacitance.  (Two 150uf capacitors in parallel.)   This arrangement ensures that the digital logic supply VDD does not sag while the flash bulb is drawing lots of current from the batteries when it is being fired.  This avoids any potential problems whereby power supply sag might cause the digital logic to switch off the 2N4403 driver transistor before the flash bulb had a chance to get hot enough to burn. I wanted to make sure the 2N4403 transistor would be driven hard on once the timer fired it, regardless of the power supply to the flash bulb itself.  There are some oscilloscope waveforms presented below that show actual measurements of the power supply sag and the isolating effect of the 100ohm/300uF filter.   Without the filter, I measured 1.1 V sags in the battery voltage when the flash bulb was drawing large currents.  With the filter the sag basically became completely insignificant.

Oscilloscope traces of power supply sag during ignition Oscilloscope waveforms of initial tests conducted to  determine optimum filter configuration for isolating the digital logic power supply from the battery voltage sag that occurs when the flash bulb is fired.

Test #1 showed a 1.1V maximum sag in battery voltage when the flash bulb was fired.  Approx 0.5us in duration.

Oscilloscope traces of power supply sag with isolation filter Test #2 used 100ohm and 300uF and showed no significant sag in the VDD digital logic supply voltage.

 

Test #3 used 100ohm and 150uF and showed 0.2 V sag in the VDD digital supply.

The other interesting thing from these measurements was that the flash bulb typically burned in about 6-8ms.  The flash bulbs typically measured about 1 ohm prior to use.
 
Previous Project

Back to Top

Next Project

 

 

 

 

 

  Home | What's New | Photos | Videos | Projects | Flight Data | Misc Info  | Links | Email

 

 

 All photos not otherwise credited were taken by Vern Knowles

Vern Knowles © 2002, 2003, 2004, 2005, 2006, 2007 All Rights Reserved