It appears you have not yet registered with our community. To register for free click here
Rebreather World
       
Go Back Rebreather World Rebreather Models Other Rebreathers Home Build Rebreathers

Discussion - eCCR controller - price and what's gotta be there



Reply
 
LinkBack Thread Tools Display Modes
Old 12th December 2005, 03:31   #1 (permalink)
Bubbless Box of Death
 
Genesis's Avatar

Current Rebreather/s:
Home Build

Other Rebreather/s:
Home Build
 
Join Date: Oct 2005
Location: Sunny Florida
Posts: 1,453
Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold
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:
  1. PO2 control/reporting
    • Monitor 3 sensors (2 optional).
    • Operate solenoid only if all agree within reasonable tolerance (explicitly declare a "fault" on a cell error, suspend solenoid function, instead of trying to "vote one out" and assuming that the two are good and one bad. In the event of a cell fault PO2 display is still active - your brain becomes the computer ) This is known as a "complacency reducer".....
    • Adaptive injection based on distance of the loop from desired PO2, user-controllable minimum interval between injection events (trade-off here is between a possible runaway in the event of a current-limited set of cells or electrical fault .vs. the "tightness" of control of the loop PO2)
    • PO2 settable from 0.7 - 1.6 in steps of 0.1
    • Declares "critical fault" and alarms (minimum flashing backlight on LCD, optional buzzer) on PO2 < .20 or >1.6 on any sensor.
    • Operates "common" solenoids with current draws up to 500ma @ 6V using a standard and common driver IC.
  2. RTC, date/time, non-volatile backed up to some extent (either large capacitor or secondary lithium coin cell)
  3. Backlight timeout in 10 second intervals from 10-50 seconds. Light illuminates on any keypress.
  4. Data logging to EEPROM ("black box") sufficient to cover the maximum reasonable/possible single dive, not user clearable (builder read-out only.) Must log sensor mv readings, depth (if sensor is fitted), selected PO2 and other user-initiated parameter changes, and timestamps (e.g. timestamp when scrubber lid last opened, cal run, etc)
  5. RTC display on handset at all times (useful for timing stops, etc)
  6. Automatic calibration/verification demand on a timed interval (e.g. one week since last calibrate.) Must calibrate in atmospheric air (open scrubber), detected with either a reed switch or photocell sensor. Forced verification using O2 flush after calibration. Refuse to go into "dive mode" if calibration is out of date or fails. Refuse to calibrate if sensor is marginal in air (indicating potential current limited sensor at depth.)
  7. DESIRABLE: Verification of hyperbaric PO2 (e.g. 1.6) required on the same interval or the unit will not allow a setpoint over 1.0 to be selected.
  8. LCD "dive mode" display (2x16 LCD, backlight programmable selective) has all three PO2 displays, setpoint, and RTC in normal operation.
  9. Two-button support (magnetic reed or hall-effect) for menu/select and increment/confirm buttons. Press of any button when LCD is off turns it on but takes no action. No repeat on buttons EXCEPT for set-time function (otherwise it takes forever to actually set the time/date!)
  10. Low power consumption in operation, microamp draw when "sleeping".
  11. Operates on commonly-available battery options (e.g. 6VDC) easily built up.
  12. DESIRABLE: Wet contacts to put the unit to "sleep" when out of the water.
Any adds, changes, or deletions out there from others? What would YOU like in there?

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)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 12th December 2005, 08:54   #2 (permalink)
New Member
 
lilou's Avatar

Current Rebreather/s:
Optima

Other Rebreather/s:
Not Bought Yet
 
Join Date: May 2005
Location: South of the France
Posts: 54
lilou is an unknown quantity at this point
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)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 12th December 2005, 10:01   #3 (permalink)
Holger Berghäuser
 
TR300's Avatar

Current Rebreather/s:
Other CCR
Dolphin
Other SCR
Home Build

Other Rebreather/s:
Not Bought Yet
Other CCR
Dolphin
Other SCR
Home Build
 
Join Date: Jan 2005
Location: Weinheim, Germany
Posts: 217
TR300 is a jewel in the rough TR300 is a jewel in the rough TR300 is a jewel in the rough TR300 is a jewel in the rough TR300 is a jewel in the rough TR300 is a jewel in the rough TR300 is a jewel in the rough TR300 is a jewel in the rough
Send a message via Skype™ to TR300
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)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 12th December 2005, 10:17   #4 (permalink)
Submerge Productions
 
PCDiver's Avatar

Current Rebreather/s:
Inspiration Vision

Other Rebreather/s:
Inspiration Classic
 
Join Date: Feb 2005
Location: Belgium
Posts: 1,003
PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all
Send a message via Skype™ to PCDiver
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)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 12th December 2005, 13:21   #5 (permalink)
e/mCCR Dolphin Pilot
 
Scuba_Vixen's Avatar

Current Rebreather/s:
Other CCR
Home Build

Other Rebreather/s:
Other CCR
Home Build
 
Join Date: May 2005
Location: St. Croix USVI
Posts: 557
Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough Scuba_Vixen is a jewel in the rough
Re: why not wireless?

Quote: (Originally Posted by PCDiver)
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.
How about for the same reason that no one diving at tech levels uses a wireless computer for tank pressure data:

There's wayyy to little gain for the additional failure possibilities.


Darlene
(Offline)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 12th December 2005, 13:35   #6 (permalink)
Bubbless Box of Death
 
Genesis's Avatar

Current Rebreather/s:
Home Build

Other Rebreather/s:
Home Build
 
Join Date: Oct 2005
Location: Sunny Florida
Posts: 1,453
Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold
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)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 12th December 2005, 13:59   #7 (permalink)
Submerge Productions
 
PCDiver's Avatar

Current Rebreather/s:
Inspiration Vision

Other Rebreather/s:
Inspiration Classic
 
Join Date: Feb 2005
Location: Belgium
Posts: 1,003
PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all PCDiver is a name known to all
Send a message via Skype™ to PCDiver
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:

There's wayyy to little gain for the additional failure possibilities.


Darlene
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?

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)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 12th December 2005, 14:22   #8 (permalink)
Bubbless Box of Death
 
Genesis's Avatar

Current Rebreather/s:
Home Build

Other Rebreather/s:
Home Build
 
Join Date: Oct 2005
Location: Sunny Florida
Posts: 1,453
Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold
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)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 12th December 2005, 14:52   #9 (permalink)
Bubbless Box of Death
 
Genesis's Avatar

Current Rebreather/s:
Home Build

Other Rebreather/s:
Home Build
 
Join Date: Oct 2005
Location: Sunny Florida
Posts: 1,453
Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold Genesis is a splendid one to behold
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)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 12th December 2005, 15:01   #10 (permalink)
Custom Title Allowed!
 
steevke's Avatar

Current Rebreather/s:
Inspiration Vision

Other Rebreather/s:
Sport Kiss
 
Join Date: Jul 2005
Location: Belgium
Posts: 317
steevke has a spectacular aura about steevke has a spectacular aura about steevke has a spectacular aura about steevke has a spectacular aura about steevke has a spectacular aura about steevke has a spectacular aura about
Send a message via MSN to steevke Send a message via Skype™ to steevke
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)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



RebreatherWorld.Com ©2005 - 2008
Rebreather World, RBW and the Rebreather World Logo are Trademarks
All rights reserved, no republishing of content without written permission.
By using this website you have agreed to our Terms & Conditions of Use

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423