| |
![]() | |
| | #1 (permalink) |
| Bubbless Box of Death Current Rebreather/s: Home Build Other Rebreather/s: Home Build Join Date: Oct 2005 Location: Sunny Florida
Posts: 1,453
| Discussion - eCCR controller - price and what's gotta be there I'd like to open a discussion about what everyone thinks "has to be there" in a homebrew eCCR controller. My intent here is to toss out some ideas that I've come up with (and which are either going into or ARE in the one I'm building right now), along with some targets. First, targets - I believe that its reasonable to shoot for: 1. Housing cost under $150 in small quantities (two magnetic switches, one cable gland, housing itself proof tested in a pot to 10 ATA minimum) 2. Controller cost under $200 complete, less consumables and external items (e.g. sensors.) This is DEFINITELY doable, even in quantity 1. Controller goes in the head - the actual uP is less than 1 inch square, discretes and associated ICs (solenoid driver IC, ADC, DS I2c RTC, op amp, bypass caps, protection zeners and misc "stuff") will push this to roughly 2" on a side on a through-hole PCB or wire-wrap; display requires five wires (three for the LCD, +5V, GND, DATA and one each additional for each switch) on a fischer or E/O-style connector (the latter is what I prefer but those will blow the budget from the pricing I've been able to obtain thus far.) Alternatively you could hard-wire the cord cheap with two cable glands. Power can either go in the head or for super-long life and easy to build use a small (e.g. 4.5ah) delrin light can. Secondary HUD display, if you want one, would be well under an additional $100; there's an argument in that case to be made for putting the Opamps on a small driver board IN THE LOOP; the ADCs I'm using are 12 bit and with a 10:1 amplification ratio return sensor values to within 0.1mv assuming you use discrete components with tight enough tolerances. This puts the whole shooting match well under $500, including solenoid and sensors (of course sensors need replacement every year or so.) Here's my thoughts on the control and monitoring functions:
About 90% of what's in this list right now is in the firmware/unit that I have running on my workbench, and the rest is a matter of coding and verification (the calibration/verification has to wait until I have loop construction finished and can run tests - simulation accuracy is difficult without that) The controller costs are running WELL under the target as things stand right now.... with no expectation they will go up, as I've got all the hardware here already. I've got a LOT of space (only about 20% consumed) remaining for code as things sit right now..... This is running code on a running controller right now - not a "design goal". The attached images show some of the screens - the "*" in the first one indicates that injection is actually occurring at that moment (took a few tries to catch that with the cam) - the "verify" of the bump in the PO2 from injection is currently commented out since I do not have a "real" loop at the moment and I'm running some "worst case" power consumption tests at the moment on it (thus the locked-on backlight as well in the config - set to "zero" timeout, or infinitely on.) The others are some of the setting screens.... No mock-ups here - this is all fully-functional (on a breadboard, natch) right now - all the settings can be modified, and do what you'd expect. Display is 2x16, approximately 3.25" x 1.5"; should fit in a nice compact housing..... nice big display too; great for people with "less than perfect vision" ![]() Sorry about the focus on some of these; my cam is having a shizfit due to low light levels with the backlight - probably more camera shake there than real focus trouble ![]() ![]() ![]() ![]() ![]() ![]() Last edited by Genesis : 12th December 2005 at 05:03. |
| (Offline) | |
| | #2 (permalink) |
| New Member Current Rebreather/s: Optima Other Rebreather/s: Not Bought Yet Join Date: May 2005 Location: South of the France
Posts: 54
| Re: Discussion - eCCR controller - price and what's gotta be there Hello Genesis, Interesting work, on which micro controller do you work ? Best regards Lilian |
| (Offline) | |
| | #3 (permalink) |
| Holger Berghäuser Current Rebreather/s: | Re: Discussion - eCCR controller - price and what's gotta be there Hi Genesis, I also playing around with this Ideas. My Idea was to have an "allround" usable controller, best with to watersealed connectors, one for the Sensor and one for the selenoid so it can be fixed on a bunch of rebreathers. The main controller should be in the housing. Holger
__________________ If it makes bubbles it means its brocken Visit: www.tr300.com, Missions: www.rebreatherteam.de |
| (Offline) | |
| | #4 (permalink) |
| Submerge Productions Current Rebreather/s: | why not wireless? Why don't you guys try wireless? Main computer in the box while all other peripheral devices like HUD, consoles, buddy display on the back, ... communicate with the controller via some underwater wireless protocol. It needs to be two-way. Commands from the console to the computer and status info from the computer to all other devices. Just an idea. |
| (Offline) | |
| | #5 (permalink) |
| e/mCCR Dolphin Pilot Current Rebreather/s: Other CCR Home Build Other Rebreather/s: Other CCR Home Build Join Date: May 2005 Location: St. Croix USVI
Posts: 557
| Re: why not wireless? Quote: (Originally Posted by PCDiver) Why don't you guys try wireless? How about for the same reason that no one diving at tech levels uses a wireless computer for tank pressure data: Main computer in the box while all other peripheral devices like HUD, consoles, buddy display on the back, ... communicate with the controller via some underwater wireless protocol. It needs to be two-way. Commands from the console to the computer and status info from the computer to all other devices. Just an idea. There's wayyy to little gain for the additional failure possibilities. Darlene |
| (Offline) | |
| | #6 (permalink) |
| Bubbless Box of Death Current Rebreather/s: Home Build Other Rebreather/s: Home Build Join Date: Oct 2005 Location: Sunny Florida
Posts: 1,453
| Re: Discussion - eCCR controller - price and what's gotta be there I code for several general-purpose microcontrollers (both in various HLLs and assembly) but this particular implementation is running on a BS2pe. The code has to be written very "tightly" due to extremely limited RAM space but that has not proven to be a significant issue thus far... There's nothing preventing this from going in the handset; the "gotcha" with putting it there rather than in the head is the number of wires necessary. For integrity reasons I do not want sensors and power-level stuff in the same wire - that's a severe engineering "no-no" in this sort of environment. Last edited by Genesis : 12th December 2005 at 13:38. |
| (Offline) | |
| | #7 (permalink) |
| Submerge Productions Current Rebreather/s: | Re: why not wireless? Quote: (Originally Posted by Scuba_Vixen) How about for the same reason that no one diving at tech levels uses a wireless computer for tank pressure data: Isn't the main reason that tech divers don't use wireless computers for tank data, that they tend to have multiple tanks and not enough receivers/transmitters?There's wayyy to little gain for the additional failure possibilities. Darlene Having reliable underwater data transmission, even short range like a couple of meters, would make other features available. Think about data logging, instructor monitoring, even controlling the unit of a student. One big benefit is that all the "peripheral devices" are isolated. So failure of one does not compromise the integrity of the main unit. It would also make CCRs cheaper. Less expensive cables, less connectors. A handset breaks down ... no problem, just take a spare one and link it to the CCR. It would even be possible to create a standard interface protocol for third party devices. |
| (Offline) | |
| | #8 (permalink) |
| Bubbless Box of Death Current Rebreather/s: Home Build Other Rebreather/s: Home Build Join Date: Oct 2005 Location: Sunny Florida
Posts: 1,453
| Re: Discussion - eCCR controller - price and what's gotta be there I ran a wireless pressure transducer (Vytec) for a couple of years. I stopped not due to reliability problems but due to deciding to go with Apeks DS4s, which wouldn't route cleanly with it. There was one nasty glitch I discovered, which was that if you did a valve shutdown it would reset its pairing code and thus you'd lose pressure info! Not good! Suunto sent me a new unit with different firmware that avoid that "gotcha". Wireless though has a number of problems - RF doesn't penetrate the water well at all unless its very-low-frequency, the power required is MUCH higher than wireline signalling - even higher than optical - and it also runs afoul of FCC regs in the states (read: expensive rules relating to making something you can sell commercially) unless you use specific unlicensed bands which happen to be not in the right places for underwater use. There is also the possibility of interference with others with the same gear; you have to be careful in your engineering to preclude this sort of thing, otherwise you could have a handset that is reading your BUDDY'S loop instead of yours! That could be REAL bad.... Another possibility is optical signalling. This avoids housing penetrations as well (e.g. sealing things in 1 ATA "capsules" becomes entirely reasonable), its easy and cheap (just a phototransistor and IR led pair at the minimum), if you define a protocol you can insure data integrity (e.g. CRCs or checksums) and it also enables "plug and play". For the cables you could easily use the home audio "Toslink" light-pipes - they're inexpensive ($20 in 3' length) and have no metal parts in them nor any airspaces - ergo, no corrosion concerns. It also provides complete isolation between components. The bad side is that this "isolation" comes with a cost - each "item" now needs its own independant power source (some would say this is a feature rather than a bug) |
| (Offline) | |
| | #9 (permalink) |
| Bubbless Box of Death Current Rebreather/s: Home Build Other Rebreather/s: Home Build Join Date: Oct 2005 Location: Sunny Florida
Posts: 1,453
| Re: Discussion - eCCR controller - price and what's gotta be there BTW, to expand on the "what controller" question a bit... this is what's currently "on the breadboard"..... uP - BS2pe (Parallax) - 32kb EEPROM program, 32kb EEPROM data ("black box"), very low power - 15ma run, 36ua in sleep mode. LCD - Generic serial LCD display - this one needs some work to get power consumption down, as it is, comparatively, a pig (20ma) ADC - TLC2543CN, 11 channel, 12 bit ADC, serial I/O (Data/Clock/Chipselect) RTC - DS1307 (very cute I2c device - has a coin cell battery input for backup and automatic power switching. Also has some scratchpad "RAM" that is battery-protected) Solenoid driver - L293DNE, general-purpose 4-channel high-current driver |
| (Offline) | |
| | #10 (permalink) |
| Custom Title Allowed! Current Rebreather/s: | Re: Discussion - eCCR controller - price and what's gotta be there Genesis, look into polymer led displays. I used one of those for a design project lately and they are very very yummie! http://be.farnell.com/jsp/endecaSear...=4141921&N=401 Regards Steven |
| (Offline) | |