Make your own free website on Tripod.com

Objective of the Q-Array

Note: step-by-step explanation of circuit flow is at the bottom.

-The goal of this project is to create an easy to operate, user-programmable, portable circuit that is capable of operating photographic equipment at precise intervals of 4 to 8 milliseconds.

-An OOPic2+ microcontroller will be used to read input from a hexadecimal keypad. The value received from the keypad activates the appropriate photographic equipment according to the onboard programmed pattern that corresponds to the received keypress value.

-Several of the OOPic2+ module's IO Lines will be used to power 30 solenoid coils in the following ways: one at a time, two at a time, and all at once.

-The solenoid coils will be used as an actuated version of a shutter release cable and will be used to operate thirty cameras.

-The most vital and indispensible operational demands of this circuit are as follows:

1 - This circuit must succeed at achieving an overall elapsed time of no more than 1/8 of a second during the process of triggering the solenoid coils from unit 1 to unit 30.

2 - Because of the reaction time of the pistons in the coils, they must be charged for no less than 8ms in order to fully extend. This means two coils must be on at the same time after 4ms and before 124ms.

Example Chart

  0ms 4ms 8ms 12ms 16ms 20ms
Coil 1 on --> off      
Coil 2   on --> off    
Coil 3     on --> off  
Coil 4       on --> off

Therefore, 120ms will be needed for the 30 coils plus 8ms for coils 29 and 30 to switch off, giving a total of 128ms.

3 - In addition, the circuit must be able to route power to all 30 coils at the same time for a duration of 8ms.

4 - It's of paramount importance that the circuit is fast enough to compute Algebraic equations without any perceivible slowdown.
The specific equation in it's simplest form is as follows:

[a+[(b-a)/2]]+[cos[x/(t/6.25)]]*[[(b-a)/2]] == c

Where:
a = the minimum value in milliseconds,
b = the maximum value in milliseconds,
c = the total amount of delay in milliseconds at any given point along the curve.
t = how many iterations the formula will calculate through,
x = an integer of how many iterations of t have passed,
6.25 = a constant value that creates the proper wavelength to render 1 cycle of the sinewave within the amount specified by t.

This will be used to ramp in and out of 250 frames per second from 30 frames per second.

(When graphing this, make sure you set your xMin and xMax so that the total horizontal Range equals t.)

5 - Finally, this circuit is intended to be a DIY thing, so it needs to run on either 120 Volt AC current (for the Wall-Wart) or directly off a DC generator. Whichever source, it has to be as stable as possible.

Estimated Parts List

List #
Qty
Description
1.
1
Convertor/Wall-wart
(163651, JameCo.Com)
2.
1
Hexadecimal Keypad
(SWT1067, B.G. Micro)
4.
1
Project Enclosure
(8309, ArtBin.Com)
5.
1
OOPic2+ starter kit
(OOPic.Com)
6.
1
Hat Switch
 
7.
2
Cooling Fans
 
9.
30
Red T-1 3/4 LEDs
(LED-1, AllElectronics.Com)
11.
30
Intersil N-Channel Enhancement MOSFETs
(RFP12N10L, AllElectronics.Com)
12.
30
Diodes
 
13.
30
100V Rated Resistors
 
14.
30
Solenoid Coils
(SOL-52, AllElectronics.Com)
10.
60
220 Ohm Resistors
 
15.
60
Terminals
 
16.
??
Perf Board (one with entire circuit, or parceled on to stacked 2" x 3.5" boards)
17.
??
74155 Demultiplexors (Demux)
...or similar part
18.
??
Circuitry needed for Fan Driver(s)
 
Proposed Schematic - Revision 1 (PWM Fan Driver Still Not Designed Yet, Demux ICs Not Shown)
Please Note: The lefthand OOPic module is completely superfluous at this point.
Once I figure out the Demux, it'll disappear from the design.
Electronic Schematic
Description of Circuit Flow

When the Circuit is plugged in:

•  A "Wall-wart" (JameCo, #163651) converts U.S. standard +120 Volts AC to +24 Volts DC.

•  Positive current from the Wall-wart enters the circuit, which is primarily in parallel formation.

•  The Wall-wart's positive current is spliced to the Source terminals of 30 N-Channel Enhancement MOSFETs, where it waits for a gate to be thrown.

(Lefthand wire of each MOSFET is Source.)

•  At this point the AC-to-DC current just sits there doing nothing to the coils until the micro is given instructions.

•  Needless to say, the MOSFETs will be thoroughly heat sinked and insulated from each other to prevent shorting through the sink itself.

(Top Left wire of each MOSFET is the connection to Ground, usually where the unit screws down to the heatsink. The Ground that these feed into is supposed to illustrate this, however, it may be wiser to attach a Vcc here, whatever that is. ? )

How the Circuit is armed:

•  A Hat Switch is used to "power on" the OOPic micro, which is juiced by either a 9 Volt or 12 Volt DC Battery.

•  Once the OOPic is alive, a PWM Fan Driver kicks in on one of the I/O Lines and proceeds to cool the MOSFETs. After the PWM Fan Driver is in operation, it stays on for as long as the OOPic is on.

Ideally, this would be independent of the OOPic and would be brought to life by the Wall-wart current for greatest operational safety.

•  A Hexadecimal Keypad (B.G. Micro, #SWT1067, 4 x 4 matrix) is attached on I/O Lines 8 thru 15 on the OOPic2+ module.

•  When a key is pressed on SWT1067, the OOPic2+ receives it and proceeds to initiate and run a programmed pattern that is assigned to that keypress value.

•  The pattern is used to send output charges to I/O Lines, which tie into Demux ICs (such as the 74155, not shown) that are used to send cascaded output charges in the pattern needed to fulfill the example timing chart above without requiring 30 I/O Lines to do it.


How the Coils are fired:

•  First of all, a clarification. The I/O Lines will no longer be spliced by switches, they will be activated very rapidly in the code of the pattern itself to achieve near-simultaneous action.

•  When an I/O Line is charged, its +5 Volts of DC current travels from the Demux ICs and through a 220 ohm Resistor, then it's applied to the Gate terminal of a MOSFET.

(Middle wire of each MOSFET is the Gate.)

•  Before reaching the 220 ohm Resistor in-line with the MOSFET, the I/O Line's +5 Volt DC current is forked off through a 20mA Red T-1 3/4 LED, then travels through another 220 ohm Resistor before connecting to the Ground on the 40-Pin Header of the OOPic's PCB.

(Don't ask me, I think the order in which the +5 Volt DC current comes in contact with these components is wrong, but that's what I was told by somebody. Also, the wire crossing all the I/Os represents the 40-Pin Ground.)

•  Once the MOSFET's Gate is charged, the switch is closed and the Wall-wart's +24 Volt DC current is allowed to go to the MOSFET's Drain terminal.

(Righthand wire on each MOSFET is the Drain.)

•  From the Drain of the MOSFET, the Wall-wart's +24 Volt DC current is sent to a Wire terminal (either screw-type or something similar), which is accessed and connected to on the outside of the circuit's Enclosure.

•  Upon reaching the terminal, the Wall-wart's positive voltage is sent to the Solenoid coil via a 16 to 18 AWG wire (speaker wire) with a length of 29 feet.

(This length is necessary to accomodate the following measurements in feet:
Square root of [(10^2) + (16^2)] or approximately 19, plus 10. This gives the hypotenuse of a maximum safe distance of 10 feet from the cameras and a 16 foot horizontal width of the track for the cameras, added to a ten foot maximum allowable vertical height for the camera mount. This will allow for the bulk of the circuit to be placed in the middle or at either end of the camera mount with no risk of pulling loose any wires leading to the coils.)


•  After passing through the Solenoid coil, the Wall-wart's +24 Volt DC current is sent to Ground via the negative wire of the Wall-Wart.

•  To protect the MOSFETs and the rest of the circuit from the Reverse Peak Voltage of the Solenoids when they're switched off, Coil Supressors are placed across the coils' positive and ground wires. These consist of a Reverse-Biased Diode and a 100 Volt rated Resistor.


Denouement:

•  The path of the flow is complete once the +24 Volt DC current from the Wall-wart has been sent to Ground via the Negative wire of the Wall-wart.