Ah yes, thanks for catching that! I calculated it, bu then forgot to cut-n-paste the result consistently...Note that #16 AWG wire is 4 milliohms per FOOT - 30 feet is 0.12 Ohms, this is about 15 % of your total igniter circuit resistance.
Ah yes, thanks for catching that! I calculated it, bu then forgot to cut-n-paste the result consistently...Note that #16 AWG wire is 4 milliohms per FOOT - 30 feet is 0.12 Ohms, this is about 15 % of your total igniter circuit resistance.
That's what I am thinking...Just general comments. The voltages that your trying to measure are too small. They would require amplification.
....
So, my suggestion starts with a current source and tries to get the voltages out of the noise floor.
....
So, I'm guessing you want open, in range and short.
Open seems easier to do of the max voltage is known. And better yet, if the voltage is regulated below what would cause ignition.
I definitely liked the idea of limiting the firing time.
Yes, the RSO Box will have a small display. Thought is that I might show more info (all three igniter states) on it than we try to show to the Scouts/LCOs (just simple On/Off LED). Then again, We could make those RGB LEDs, and show all three states--letting the Scouts/LCOs "own" even more of the experience. But to date, we've kept the electrical wiring, continuity & misfire diagnosis, and corrections out of their hands. Reduces risk, and speeds throughput... But while one leader works the circuit, another always explains what was wrong, what is being done to correct it, and how this generally relates to engineering--and to overcoming challenges in life generally!So, if you have a display, you could display % nominal resistance or "Power expected"
Yes, thanks. https://www.rocketryforum.com/threads/16-rocket-semi-simultaneous-launch-controller.165991/Haven't read the whole thread, and maybe you already did this, but have you posted over at https://www.rocketryforum.com ?
Yes, I am planning to use Modbus, over RS485, over either STP CatX or XLR/DMX cables. The Arduino Modbus library should take care of everything up to the app layer. Then (for added safety) my code will send double byte data packets....DestinationID, CommandID, ChannelSelectionBits, Checksum.Since these things will be connected and disconnected frequently, I'd make sure they have ESD protection.
Not sure if it would make your job easier or harder, but MODBUS is something to consider especially if there are libraries written. https://www.arduino.cc/en/ArduinoModbus/ArduinoModbus
Latest update... Thoughts?
Pins 6 & 9 on what?You might want to make pins 6 & 9 test points. You might want to use Phoenix contact pluggable terminals for the ignitor.
To adjust the range on the continuity measurements, I made both the pre-igniter resistor and the post-igniter resistor adjustable pots. Would also let it be tailored for different ignitors. Someone suggested instead of simple trim pots to use rotary knobs with positive incremental stops. Not sure....haven't seem simple pots "drift" inside of a box.No idea what the resistor on pin 10 of the relay is all about? No idea what the resistor after the current source is all about?
Yes, and want to take that down to like 25mA (half of what Estes says is safe for testing). But then do I need one per channel....since variable number of channels may be active at any time? Started by simply sourcing from an Arduino pin and resistor....but 10 rockets (NAR max) times this current may max out the Arduino...Your limited to 200 mA with 1 LT3092.
I'm looking at 5V Arduinos. Yes, need to "lighten up" the FETs....also because we are on limited batteries.Is the processor 3 or 5V? You need to check whether FET will turn on?
Maybe, but only helpful diagnosing when looking inside the box. So maybe not spend the power?Would you want to put an LED and resistor across the relay coil?
Yes. The primary items shown here are the Pad Box, which is to be a Modbus "slave."The thing your drawing is the "slave device", right?
Yes, each of the three boxes will have their own batteries. Better to have the high launch current at the short igniter leads, rather than having to send it 100' from the RSO/LCOs. Planning to have shape-keyed power connectors, with the batteries in-box. But yes, good safety to add diode.Will each have an independent battery? Put a series diode, so you can;t hook it up backwards? Schotkey or ideal diode controller. e.g. https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4372-4373.pdf
I originally showed a subordinate 5V bus for the logic parts. But was told to simplify to just drive all of the parts directly off of the 12V. (Heard Arduino prefers 9V input, but can do 12V.) Not sure, but...You have 12V going into your processor?
Huh? Sample? Getting a _lot_ of complaints from others about the dedicated "flashbulb safe" constant current supply. I've never used one, but seems better than pulling too much from the Arduino.Make the input to U7 a voltage source like the LT3042, so you can more easily detect open.
Huh? Sample? Not sure I follow.the app note earlier had a differential amplifier which you can use. You cab use an LM7705 https://www.ti.com/product/LM7705 to generate a slightly negative power supply voltage, so you can get 0V out for 0V in. You can put your differental amplifier at pins 4 and 9 of the relay with resistors to ground to sink the bias current.
At least when 0 is at mid supply, you can read small voltages better.
Thought is to run the continuity circuit into the Arduino's analog input pins. Need to register the tri-state of each igniter at the Pad Box (which then may disable empty or faulty channels), the forward the data over the 100' of Modbus to the RSO Box (where it is then displayed). I am still somewhat unsure how this whole continuity test will work....the biggest thing I've been asking everyone to contribute examples for...Are you thinking of an A/D converter and driving LED's or a stand-alone comparitors?
if your using an A/D converter, you might want to reference 0v to 1/2 the power supply voltage and use the ratiometric reference. What would be the range of the A/D?
Microchip has some I2C dual slope converters: http://ww1.microchip.com/downloads/en/DeviceDoc/21686a.pdf
e.g. The TC510: https://www.microchip.com/wwwproducts/en/TC510 It does have differential inputs. No stock at Digikey. Not good. $5.00 USD. You might have to measure the supply instead of using a regulator to get the difference voltage across the current source.
Yes, the RSO Box will have the "god view" of everything on a local display. Almost certainly I2C. Will continue to fan out a simpler per-channel Continuity LED, removable Safety Key, & Launch button in front of each Scout/LCO.Bi-color LED? An LCD display might actually be better because it's readable in bright sunlight. There are some inexpensive LCD displays here https://wiki.seeedstudio.com/Grove-16x2_LCD_Series/ for Arduino with a library.
In addition to the on-panel indicators, there are the range-mounted indicators. An "idiot light" strobe and siren on a pole. Also a Countdown Clock that doubles for range status messages (SETUP, HOLD, T-SS.d, LAUNCH, T+SS.d).What about two of them.
One for your count down clock and one for status messages, errors in reverse video?
Yep. Arduino Nano works for 8 rockets. But if we got to the NAR-allowed 10, then we might need more pins...There are always I2C port expanders to get more digitl ports if you need them.
Yes. A NY NAR chapter (non-Arduino, 20+ year old, analog) system has a multi-purpose voltmeter on the RSO's panel. Initially it shows local battery, pick a pad bank and it shows the pad's battery, pick a rocket, it shows the continuity, launch and it shows the current usage. Could not quickly see how to adapt his high-power rocketry measurements down to our needs, and then into the Arduino.Something else to think about is some sort of battery test. Maybe measure ESR. Two ways I know of:
1) Impress a small AC voltage and measure the AC current and voltage
2) Use two loads and ΔV/ Δ I
the latter is probably easier.
Huh?Would an encoder be neccessary? or have that sort of information done at the master CPU?
ABSOLUTELY! "The only dumb question is one that was not asked until _after_ something went wrong."This is all what I would call "thinking out loud". This is where you throw out all ideas no matter how absurd and then whittle it away.
Yep. Taking longer that I had hoped (but not expected). Beginning to think the Countdown Clock display may have to wait until next year. :-( (Doing this as a donation to Scouting while unemployed, and almost certainly needing to get a lot 3D printed...)This could be one of these "added features". Don't add the parts right away, but you can add them later.
Yes, one of the things I like about the pre-made 8 channel driver/relay boards....isolation.For controlling the FET, there is a photovoltaic optocoupler that is sometimes used. It actually uses an LED and generates a voltage. You have such things as a high side driver e.g. https://www.rohm.com/products/power-management/ipds/smart-high-side-switch-ics/bd1hc500efj-c-product It has an integral charge pump, so it can turn on a FET fully. Vgs of the FET is hen the FET just starts to turn on. You have to look at the graphs to make sure it turns on at say 5V or 3.3V.
Hmmm. Notice how I am carrying power for a single relay from the RSO Box to the Pad Box? If _any_ of three items fails, there is no power to the igniter bus: Local Power switch to "Remote Control," RSO's "Master Key" is On (to send power), and both the full set of Arduinos and RS485 must carry the correctly validated signals.i wonder if you can use a FRAM memory chip. It doesn;t require power or have a write limitation in a way such that when the RS485 goes away, the board gets locked. It can't work without the main processor.
Yes, since the Pad Boxes are "slaves," the RSO Box will have a loop polling them. Now the Pad Box might use an indicator of lost connectivity, visible without going back 100' to see on the RSO Box.Heartbeat? Watchdog timer?
DEC, Digital Equipment Corp??? I _loved_ VAX/VMS!!! Definitely not going the IBM AS/400 "weighted slots" path. (When I first introduced our cluster to Ethernet over Frame Relay instead of Token Ring over a Leased Line... Well this fresh-out-of-college "PC Boy" was getting all kinds of praise from the AS/400 crew....for about five minutes--then the whole system crashed! We retried....same. Reseated....same. Took the IBM rep two weeks to come back with details that the Ethernet card could _only_ be used in one particular slot--not the one they had installed it in!)How would a slave report to the master that something is wrong? What if you added two wires or more going to the slave for interrupts. I forget how DEC did it, but the interrupt line was daisy chained or passed through each device. Interrupts also had a priority. if the slots were empty you had to add a bus grant card.
it's probably in here http://web.frainresearch.org:8080/projects/pdp-11/lsi-11.php somewhere. Interrupts are described here. https://en.wikipedia.org/wiki/PDP-11_architecture#Interrupts
So, just maybe you could daisy chain the slaves somehow and implement interrupts where a slave card would assert the interrupt and it's up to the master to find out who. If you in the middle of a countdown and something happens, the card has a way of telling the master it needs to stop the count and then the master would poll to figure out what went wrong.
Not allowed by NAR Safety Code. There is a minimum distance required from rocket to personnel. Even if we got rid of the igniter cables' vertical drop by raising the Pad Box from the ground onto a table, then we could still _only_ launch the _one_ rocket at the far end of the set of launch rods. And if we go up in engine power, we need at least 100' separation--one reason for building a new system.What about your fire button on the slave unit?
Good stuff! Keep it coming!This is a lot of stuff to munch on.
Which one? The reference shows a resistor dirrectly off of both the Output and Set pins.The extra resistor in-line with the current source serves no purpose.
To be able to dial in the pre-igniter and post-igniter resistances....trying to get a better range on what we read from the actual igniter.The pot on the relay- why?
I moved that to be parallel, to reduce impedence on the firing. But want a passive "oh shit, back away" alert if the relay contacts weld (or anything else fails) so there is power on the igniter cable when someone comes to the launch pads.The buzzer in series with the ignitor- why? It will not fire.
So as to make both the continuity test and the launch separate and simple. To add the post-igniter resister to the continuity test, yet keep it out of the launch path, cannot simply take the igniter to ground.Switching both ends of the ignitor - why?
That's my real fear. I keep hoping against hope that someone will contribute an example circuit that helps solve this!The continuity voltage straight to the Arduino? The continuity voltage is too low to be measured by the ADC correctly.
The ADC inside the ATMEGA168 is 10 bits, if the full-scale range is 5V, each bit represents 0.0048 Volts, a "good" ignitor will read only 12 counts, out of 1024...
So pleasse re-check me here... Worst case, complete battery short: 10 igniters x 2A each + 1A logic. But I pad the batter yfuse to 30A instead of just 21A. If the individual igniter channels fail, 2A each....but I fuse them at 5A. Although 12V automotive relays, none should require 1A on the coils, so pad to 1A. Yeah, once all of the logic chips are included, may have to raise the fuse on the logic stuff.If your "auto-reset fuse" is a PTC type fuse, you need to rate them much higher than the intended operating current, else they will "nuisance trip" when no fault is present.
The IRF 540 is a poor choice for 5V gate operation, it will probably work here, but there are better parts for the job.
Yes. Updated. But I still show a simplified, partial circuit....without connectors or twisted pair callouts...Note that RS485 really does need a ground, your link shows only 2 wires.
Yes, and want to take that down to like 25mA (half of what Estes says is safe for testing). But then do I need one per channel....since variable number of channels may be active at any time? Started by simply sourcing from an Arduino pin and resistor....but 10 rockets (NAR max) times this current may max out the Arduino...Your limited to 200 mA with 1 LT3092.
the parts are either 3.3 or 5V. Logic may be 5V tolerant or not. you can't expect the Arduno pin to accept 12V or output 12V There is linear regulator (A 7805 is good for 1-1.5Amps) on some boards. The power dissipation gets exceeded and you need 3V minimum for the regulator to work, so 8VDC. 9V adapters are common.I originally showed a subordinate 5V bus for the logic parts. But was told to simplify to just drive all of the parts directly off of the 12V. (Heard Arduino prefers 9V input, but can do 12V.) Not sure, but...
The component in KiCAD doesn't show a pin 6 on either relay.[QUOTE="KeepItSimpleStupid", post: 1629202, member: 234053]
Pins 6 and 9 of the relay.
I kinda got the idea of each kid has a launch controller which is some distance away from the rocket and then some sort of firing thingy, like a dental x-ray or "nurse call" button some distance away.I'm considering a 12pin aviation connector....8 igniters in one quick connection on the outside of the box!
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
P | Need to Spec a Battery Pack for a Rocket Launcher | Power Electronics | 22 | |
K | Hobby rocket guidance by servos | Automation, Robotics & Control | 25 | |
Schematic Review: Rocket flight controller + Advice | Homework Help | 5 | ||
K | Hobby rocket telemetry | Wireless & RF Design | 4 | |
Model Rocket Continuity Check on 6 pyros | Microcontrollers | 4 |