This is a multi-part message in MIME format. ------=_NextPart_000_0028_01C61ABE.8EFC0FB0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit > I have learned a lot from your messages on this topic (I'd always > assumed that "saturated" was pretty-much a > single constant state, and it never occurred to me that there could > be such a change in Vce). > > However, this: > >> (10:1 = 3.32 BITS FWIW). > > is one of the daftest things I've seen you write! :-) That's as maybe :-). Entirely correct though :-) ( ie 1 / log10(2) = 3.32 ...) (to 3, excessive in the context , significant figures.) I was attempting to forestall the inevitable comment about ratios when my two preceding 'bits of accuracy' related comments were compared. >> My first attempt used a single floating transistor but this >> (stupidly) >> included the base drive in the lower divider resistor. Usually >> that's >> reasonably irrelevant. Here it's fatal. So I now have two >> transistors >> in a classic bipolar high side drive. > Are you going to publish the circuit, for those of us lacking in > classical education? :-) Possibly useful, so, OK. Very simple but still needs a little design. For battery ~= 12 V. RBatt3 could be eg 100k - value non critical. Rbatts ensures that base current of QBatt1 is about (12-Vbe) / 10k ~= 1 mA. Ic of QBatt1 is about 12/78k ~= 0.15 mA so Beta =~ 0.15/1 = about 0.1 ish in this instance. Rbatt5 & Rbatt4 divide the 12 volts to put it in the ADC conversion range. 68k/10k chosen for my application. Alter as needed. The combination has impedance < 10k so meets ADC conversion speed spec (which is not overly important here as voltage only varies verrrrrrrrrrry slowly). QBatt2 is shown with NO base pulldown resistor - turns off fine when if uP drive is active low BUT if the uP is fully powered off it should have a large value R to ground (1 M or 100k OK) to ensure transistor stays off when it oughta. Output UVBAT is never outside processor allowable range (by design) and there is no applied voltage and no current drain when off. > To my rather > simplistic understanding, Gain (Beta) is Collector current / Base > current. To get this < 1, Ic must be less > than Ib. Where does the "extra" Base current go? (I was never any > good at transistor electronics - digital > is my thing :-) See diagram. Battery supplies Ie = Ic + Ib. Output divider sees just Ic while the rest exits stage left (here) via RBatt2. Battery load is of no import here as main load is >> divider load. > Is significant settling time needed between turning on the divider > and measuring the voltage? (You don't > actually say you're measuring battery voltage, but this sort-of > falls out from the fact that you're connecting > it to an ADC). I haven't done any actual ADC measurements yet, but no. The input will come up to voltage in a small time compared to processing speed. (10k and 1 NF has a time constant of 10 uS. Actual pin capacitanmce will be << 1 NF so N Tcs settling allowed. Also, once on it can (& will) be left on while uP is operating so it is fully transparent. Russell McMahon ------=_NextPart_000_0028_01C61ABE.8EFC0FB0 Content-Type: image/gif; name="adcsw40.gif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="adcsw40.gif" R0lGODlhNAEQAYAAAAAAAP///yH5BAAAAAAALAAAAAA0ARABQAL/jI+py+0Po5y02ouz3rz7D4bi SJbmiaYqCLSA8iJue8xxYNeuXK/+DwwKDbai8YhMKpdM2vAJjUpHN1R1is1qtVeil7oNi8VO2SyR 03Vhi9i68x7L56mieXcv45x6HlvdlxFHR1hoyIBEZPeQ6Hf4CBnZg2aEiKP21TC4d6mod3O11oX3 BHoZ+ufoCHqWuWkKqMqYChtRu9mmCUEqCOPGKquD+BYoaVwYh7uD68B8vEs7m7o62flcZzuc3Hzd 7a3S6JapeYT2fY5+IjrOku6O3iq8V1W8bh3i/K6/P10tvmGPn8CBusx1ypeLTTFOisw0JAhxTpov LxAmNBgxo0CL/xYCavwIpqI/QKj6sePYi9s4kSM99UEJkkOgifOEwPynLqaHW7zmsSIVTxDNoXxg ShjUEyHHf6N0MmoCNarUJPimWi0HkAIxrE6P3ap2yuQ9jBiQllna0ZLYrmx/5Jto1A+9iwzl1WW4 sK1eEXHlUqS7VyvYCX1tptyJeGywwIyjXC1MtnHauSuBDm7zSetLwHczQpYMmtLDu1uHma7QKLTq 1axbu34NO7bs2bRr274tiWdSwOs84v7teMVn4LHtDY9MPHlBg8cXK4/4ctnPivSoL1dFU0Pz56oD 0siblrv463Ypo76s1trXk5wV+whKXnD4+B/A7+ypkj6mRdnGK/9/XElWotWVGWYOnWaYFNu980oz mxHmH3cW3cROhMT5xpeF42E4WXoa6hWdXZwUiJx8vgT44W8cQtjegil2NRxO7lk32lnVjf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jlLNvq2dizU7+f2uSxinjFSb4TXznWYM9h Ore+FvaG4yXrlxkKrunjDXPZa9l6ZMW7girajrGESmcs6+BsTausdHjp4bVvGYoi+cFC1/CYN6+7 Rs5nn6W7GqPdsVvLZj4etom+3zQQu7Rf1nUogz7mn5/YzBZWEaTny14gVHdHjevjxt44s5b3ltc9 rFn3Ko5fc6IR0D5No6UWpWGzI5uw9la79D6uIOE8udz+GXSwA40FqPgcUnTmM2Dp/tNBerF+w/J6 +Cj8xr8q3sCDM9jeXevVy2seRk345mQfwrvPin7UT/48yUrjyc3LI/RPqSyddG7Kz3c2r6Ontepv j/vc6373vO+9738P/OALf/jEB04BAAA7 ------=_NextPart_000_0028_01C61ABE.8EFC0FB0 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist ------=_NextPart_000_0028_01C61ABE.8EFC0FB0--