Path: csiph.com!weretis.net!feeder6.news.weretis.net!feeder7.news.weretis.net!goblin2!goblin.stu.neva.ru!spln!extra.newsguy.com!newsp.newsguy.com!drn From: Winfield Hill Newsgroups: sci.electronics.design Subject: Re: DC Voltage level sensing Date: 14 Nov 2019 19:13:38 -0800 Organization: Rowland Institute Lines: 80 Message-ID: References: <0d9410a3-94eb-4543-95ba-5a25c70abd17@googlegroups.com> NNTP-Posting-Host: p210859c4638e28d91c59b41e077f5426ef07f55ab000c5c2.newsdawg.com User-Agent: Direct Read News 5.60 Xref: csiph.com sci.electronics.design:566551 Rick C wrote... > > On November 14, 2019 , dagmarg...@yahoo.com wrote: >> On November 11, 2019, Winfield Hill wrote: >>> Cursitor Doom wrote... >>>> Jasen Betts wrote: >>>> >>>>> TL341 seems rated for automotive use. >>>>> http://www.ti.com/lit/ds/symlink/tl431.pdf >>>> >>>> This is what Win suggested earlier and since these are >>>> simple to configure and cheap as chips, I intend to go >>>> down that route for the sake of expediency. The cig >>>> lighter sockets on this car are 'always on' ... >>> >>> Jasen Betts also wrote... >>>> >>>> http://www.ti.com/lit/ds/symlink/tl431.pdf figure 25 >>> >>> No, sorry, not Figure 25. Although this is a perfect >>> application for a TL431, none of the figures in any of >>> the datasheets show it. Here's the circuit I had in >>> mind, time for an ASCII drawing: >>> >>>. turn-on output, if Vin > Vp >>>. >>>. P-MOSFET >>>. --+----+-. .------+--- switched Vout >>>. | | | | | >>>. | - ^ - | >>>. | ----. R4 >>>. | | | >>>. | | | >>>. +-- R3 --+ | pass voltage Vp: >>>. | .----|------' Vp =3D 2.5 (1 + R2/R1) >>>. R2 | | R1 =3D 2.49k >>>. | | ---- R2 =3D R1 ( Vp/2.5 - 1 )=20 >>>. +---+--->/\ e.g. R2 =3D 11.0k for 13.5V >>>. | | TL431 >>>. R1 | R3 =3D 3.3k pullup >>>. | --- >>>. --- R2 could include a trimpot >> >> Hi Win, >> >> Your drawing was fine. Just for fun, I've added your R4 >> for hysteresis. Only viewable with club membership and our >> secret decoder rings :-) > > It took me a bit to figure out what this circuit is doing. > This is the comparator circuit, fig 25 on page 22 of the > TI data sheet with the FET and a resistor added for hysteresis. ??? Figure 25 is a crowbar, with very different operation. > I'm not sure why a FET is used in place of a bipolar device. > The threshold of the FET becomes part of the accuracy/precision > budget and they tend to not be so accurate or precise. [snip] The gain for the TL431 is very high. Acting as a comparator, the change in the R2 R1 threshold voltage, dealing with the MOSFET's Vth variation, is very small. Using a BJT would require knowledge of the maximum load, which was not known. > I would also suggest that hysteresis will also detract from > this budget by definition. The desired threshold must be > within a window of voltage set by the state of charge of the > battery, the temperature and potentially the loads that are > on at any given time. [ snip ] Maybe, I'm not sure. My observations of battery voltage, once the engine is running, show the charging regulator in full control, setting the voltage above 14 volts. So whether a 13.5 or 13.7 or whatever voltage setting isn't critical. Some real-world testing will reveal the answer. -- Thanks, - Win