Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #392114
| From | Winfield Hill <hill@rowland.harvard.edu> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: Simple toggle circuit? |
| Date | 2016-01-04 08:49 -0800 |
| Organization | Rowland Institute |
| Message-ID | <n6e7qb0148r@drn.newsguy.com> (permalink) |
| References | <6scf8bdv3v6j5jmcscnooprsvd2k3jg0ns@4ax.com> |
Terry Pinnell wrote...
>
> I'd appreciate recommendations for a simple toggle
> circuit please. Typically I've used half of a 4013 ...
Hi Terry. Surely you remember the lengthy thread
we had on s.e.d. in 2002, on single pushbutton
toggle circuits. I enhanced one of the better
ones for our book, see Figure 3.99 page 196.
It features zero-power when in the off state.
Bill Bowden's 2001 web page helped start us off:
http://www.bowdenshobbycircuits.info/page9.htm
High Current MOSFET Toggle Switch with Debounced Push Button,
adapted from "Toggle Switch Debounced Pushbutton" by John Lundgren
There were 164 posts on s.e.d. in 2002, with
the subject "zero-power toggle circuit".
Win's 2016 comment:
In all of the circuits below the output power switch
is a weak point. It's preferable to use a protected
high-side power-switch IC, see Table 12.5, page 826.
Many of these ICs have low quiescent current draws,
and some that use p-channel switches, are zero.
OK, let's take a quick look through these 164 posts,
and a few others as well.
2002, Fred Bloggs, with output mods:
Rf 33k ,----------------+----(O)
,---------/\/\/\------- | --, |
| Rf<<Rs | | | MOSFET
| | \ | \ | 100 ||--+ p-channel
+----| O ----+------| O --+--/\/\--||->' "as big as
| | / | | / |--, one wants"
| CD4069 \ 1.0M | |
| / Rs gnd '----(O)
| _|_ | to LOAD
'-----o o-----+ SIMPLE INVERTER TOGGLE
| C
--- 0.1uF
--- SW NOT GND'D
| Rs C >> SW BOUNCE
gnd
2002, Win Hill, modified to power up in the OFF state
. ,---- 1M --- gnd
. | 1uF +
. ,--|<|--+--||--- V+
. | V+ V+ <--+----(O)
. +------ Rf 33k ----- | --, |
. | Rf<<Rs | | | MOSFET
. | | \ | \ | ||--+ p-channel
. +----| O----+----| O---+-- 100 --||->' "as big as
. | | / | | / |--, one wants"
. | CD4069 1.0M | |
. | Rs gnd '----(O)
. | _|_ | to LOAD
. '----o o-----+
. C |
. 0.1uF ---
. --- SIMPLE INVERTER TOGGLE
. | SW NOT GND'D
. gnd Rs C >> SW BOUNCE
And of course some may want powerup in the ON state:
. ,---- 1M --- V+
. | 0.1uF
. ,--|>|--+--||--- gnd
. | V+ V+ <--+----(O)
. +------ Rf 33k ----- | --, |
. | Rf<<Rs | | | MOSFET
. | | \ | \ | ||--+ p-channel
. +----| O----+----| O---+-- 100 --||->' "as big as
. | | / | | / |--, one wants"
. | CD4069 1.0M | |
. | Rs gnd '----(O)
. | _|_ | to LOAD
. '----o o-----+
. C |
. 0.1uF ---
. --- SIMPLE INVERTER TOGGLE
. | SW NOT GND'D
. gnd Rs C >> SW BOUNCE
2002, Win Hill, contact to ground (not zero power)
. ,---------------------+---+-----(O) +13
. | | |
. 1.0M 100k_|_
. | | /_\
. +-------, ,--330k---+ |
. ,------+ any \ / +---+-----(O) SW
. | Q1 | npn / |
. | 2n c / \ |--' Q2
. | 4401 b --+-' '--+--|| IRF540
. R1 | e | | |--,S
. 4.7M | 10k 1k |
. | gnd | | +---------(O) COM
. | | +13 | |
. C1 +-------o o--' | | gnd
. 0.22uF | ,-|<|--2.2k--' |
. === | optoFET |
. | | |
. gnd (O) (O)
. /toggle /reset
2002, Win Hill, 20A zero-power transistor + MOSFET switch
(Zero power when off, only 0.01% power when on.)
improvements by Jonathan Kirwan, SPICE by Terry Pinnell
> ,------+--------------+----------+-----(o)---+---- power
> | C1 | R3 6.8k | | | 7 - 18V
> +| 1uF '--/\/\--, | | __|__
> === 25V | |/V Q1 __|__ | |
> | R2 +---| 2n4403 / \ D1 | |
> | _|_ 330 | |\ /___\ | LOAD
> +---o o---/\/\--+ | | | |
> | toggle | | R4 22k | |_____|
> | '---- | --/\/\---+ |
> | R1 470k | +-----(o) --' to 15A
> '-----/\/\------------+ |
> | |---'
> | ||<--, Q2
> +-----||---+ IRF540 etc
> | |
> | R5 6.8k |
> '---\/\/---+-----(o)------ return
Certainly the part values are not optimum. For example, currents
could be scaled down 10x, increasing all R's by 10 and C1 = 0.1uF
ceramic. Q2 can be almost any n-channel MOSFET, small to large.
2002, "Wafer", in "zero-power toggle circuit" thread.
ASCII drawn by Win Hill, with reduced resistor values,
further improved by Fred Bloggs.
: ,--------+----(O) V+
: | |
: R4 |
: 10k |
: | |
: +----||--+ Q2
: | ||>-'
: ,-----------------------+ |--,
: | R2 | |
: R1 ,-- 220k --- | -------+--+---(o)
: 1M5 S1 | | | |
: | _|_ | |--' _|_ |
: +---o o----+ ||<-, Q1 /_\ LOAD
: | +--------||--+ 2N7000 | |
: | 0.1uF | | | |
: === C1 R3 gnd +---(O)
: | 100k |
: gnd | gnd
: gnd
Terry Pinnell wrote that it failed in simulation
to turn off with some Q2 types. Wafer claimed
it worked in real life. R4 was originally 100k.
Fred argued for lowering R4. Helmut Sennewald
worried about Q1's Vgs(th) and suggested changing
R2 to 100k. Terry did further SPICE analysis,
getting better results if he ramped up the power
supply (a few us) rather than suddenly applying it.
Jonathan Kirwan's redrawn version, with separated
switch V+ and ground.
: ^ V+
: |
: \ R4
: / 100k ^ V+
: \ |
: | |
: x----||--x Q2
: | ||>-' BSS110
: \ R5 |--,
: / 10k |
: \ |
: | |
: ,-----------------------x |
: | | |
: | ,----------- | -------x
: | | | |
: | \ R2 | --- D1
: \ R1 / 220k | \ /
: / 1M5 \ |--' Q1 ---
: \ | ||<-, 2N7000 |
: | S1 x--------||--x o
: | _|_ | |
: x---o o----x | LOAD
: | | ---
: | C1 \ R3 gnd o
: === .1uF / 100k |
: | \ |
: | | ---
: --- | gnd
: gnd ---
: gnd
Comment: low-side switching is dangerous, shorts to
ground can cause damage, low-side switching is better.
2002, Fred Bloggs, zero-power toggle circuit
Vdd
+--------------+---------+-----------------+
| | | pnp-2N4403 |
| | | npn-2N4401 |
| | / |
| 4007A | +-----|npn |
+-+ +-+ | \ |
+-| |P +-| |P | |e | |--+
| +-+ | +-+ | 4.7K | 10 | |
+--+ +----+---+ +--+-/\/\-+-------/\/\-| |->+
| | +-+ | | +-+ | | |
| +-| |N / +-| |N | |e | |--+
| +-+ \ +-+ | / |
| | 1.5M | +-----|pnp |
| -+- | \ | | \ L
+--o o-- | ---| | | | O
| sw | ---0.1u | | | A
| | --- | | | D
| | | | | | |
| +----+---------+---------+ Vss GND
| 15K |
+-----------------/\/\-----+
From: Tony Williams
There's a spare inverter in that 4007A Fred. Might as well make it
earn its keep. Strap it's input in parallel with the input of the
right-hand inverter in the above circuit. Then two choices of what
to do with the new o/p.
a) Strap it in parallel with the present o/p,
for increased output drive.
b) Dedicate it to driving the 15k, so that the
feedback is totally independant of the load.
Might be interesting to see what happens if that bottom-left N-Fet
is disconnected and replaced with a 10k pulldown.
Date: 2002-11-24 13:29:17 PST
Fred Bloggs wrote...
>
> Option b) is definitely the ticket here...
> ... But adding a 10K pull-down to the inverter output makes the
> turn-on state OFF under any circumstances. I ran the circuit
> through its paces with ...
> Vdd
> +-------------------+---------+----------+-----------+
> | | | | |
> | | 2N4401/ | |
> | 4007A | +-----|npn | |
> INV1 +-+ INV2 +-+ | \ | |
> +-| |P +-| |P | |e | | |--+
> | +-+ | +-+ | 4.7K | | 10 | |
> +--+ +----+-----+--+ +--+-/\/\-+------------/\/\-| |->+
> | | +-+ | | | +-+ | | | |
> | +-| |N / / +-| |N | |e | | |--+
> | +-+ \ \ | +-+ | / | |
> | | 1.5M 10k | | +-----|pnp INV3 +-+ |
> | -+- | \ \ | | 2N4403\ +-| |P L
> +--o o-- | ---+ | | | | | +-+ O
> | sw | --- | +-----|---------|----+ +---+ A
> | | --- | | | | +-+ | D
> | | 0.1u | | | +-| |N | |
> | | | | | | +-+ | GND
> | +----+-----+--------+---------+----------+ |
> | Vss |
> | 15K |
> +--/\/\-----------------------------------------------+
From: Winfield Hill
Or use a 4069 and have four spare inverters. :)
2002, Fred Bloggs
Rf
+---------/\/\/\ ----------------+
| |
| Rf<<Rs |
| | \ | \ |
| | \ | \ |
+----| O -----+------| O --+-->
| | / | | /
| | / / Rs | / <---PWR
| \ MOSFET
| \ / /
| --- |
+--------o o-----+ SIMPLE INVERTER TOGGLE
|
--- SW NOT GND'D
---C
| RsC >> SW BOUNCE
_|_
-
My redrawing:
Rf 33k ,----------------+----(O)
,---------/\/\/\------- | --, |
| Rf<<Rs | | | MOSFET
| | \ | \ | 100 ||--+ p-channel
+----| O ----+------| O --+--/\/\--||->' "as big as
| | / | | / |--, one wants"
| CD4069 \ 1.0M | |
| / Rs gnd '----(O)
| _|_ | to LOAD
'-----o o-----+ SIMPLE INVERTER TOGGLE
| C
--- 0.1uF
--- SW NOT GND'D
| Rs C >> SW BOUNCE
gnd
Many applications could be served by paralleling the left-over
inverter sections. R_on (pullup) for five CD4069 sections at
10V is about 220/5 = 44 ohms, able to drive 25mA with a 1V drop.
Or use CD4049 for 70mA.
2002, Tony Williams
"an interesting "npn/pnp" bistable can be realised in just
one gate of a 4066"
TG= 4066 Transmission Gate |Vcc
+----------------------+-----+-->P-Fet
| | | Source
| 100pF? * \
| + 0v--||----+----TG1>/ /10k
P/B->| | * \
| + | 1meg | |
| ,---------/\/\--------+-->P-Fet
| | | 220k | | Gate
| | +--/\/\--+ |
| | * | *
+-/\/\----TG2>/ +-TG3>/
| | * | *
\ +------+ \ |
10k/ | 10k/ |
\ C1===0.1u \ |
| | | |
+------+---------------+-----+-->0v
TG1 (and the 220k) is the 1-gate bistable.
TG2 connects C1 when the P/B is pressed.
TG3 is the output inverter, driving the P-FET, and providing
the charging volts for C1.
TG4 is spare... could be used (in conjunction with a sense-R and
pnp Tr) as an overload controller.
Several possibilities available.
a) Simple current-limit, no unlatch.
(PNP shorting the P-FET drive volts.)
b) Force an unlatch for a current overload.
(TG4 between TG1 gate and 0v.)
c) Unlatch only if there is an overcurrent AND
the P-Fet drain is pulled far away from Vcc.
(TG4 between TG1 gate and P-FET drain.)
d) Any of the above, but with a simple RC delay
to allow for load switch-on surge.
PS; A small diode, pointing upwards from the top of C1 to Vcc.
This is to help protect the gate of TG1 (from the energy in C1)
during a fast power down.
Terry Pinnell: This looks good! I simulated it with
CircuitMaker using Tony's original component values.
It worked fine from Vcc = 5 to 16 V with 22 of the
32 MOSFET types I tested:
MOSFET Result
------------------- ------
IRF7104 20V 2A OK
IRF7205 20V 5A OK
IRF9141 80V 19A OK
IRF9142 100V 15A OK
IRF9143 80V 15A Failed
IRF9240 200V 11A OK
IRF9512 100V 2A OK
IRF9513 80V 2A Failed
IRF9530S 100V 12A OK
IRF9540 100V 19A OK
MMDF2P01HD 12V 3A OK
MMDF2P02E 25V 2A OK
MMFT2955E 60V 1A OK
MTB23P06V 60V 23A OK
MTB50P03HDL 30V 50A OK
MTD20P03HDL 30V 19A OK
MTP2P50E 500V 2A OK
MTSF2P02HD 20V 2A OK
RF1S30P05 50V 30A Failed
RF1S9530 100V 12A OK
RF1S9640SM 200V 11A OK
RFD8P06E 60V 8A OK
RFD8P06LESM 60V 8A Failed
RFD8P06LESM 60V 8A OK
RFT1P06E 60V 1A Failed
SI3455DV 30V 4A Failed
SI4948EY 60V 3A Failed
SI6459DQ 60V 3A Failed
SI9934DY 2V 5A Failed
SUP65P06-20 60V 65A Failed
ZVP2106 60V .28A OK
ZVP2106G 60V .45A OK
2005, Chris Foley, "Looking for latch circuit advice"
___
.------|___|------.
| 10K |
| |\ |\ |
o--| >O--o---| >O-'
| |/ | |/
| .-.
| | |220K
| | |
| T '-'
| --- | ||
'--o o---o-----||--.
|| |
.1uF |
===
GND
--
Thanks,
- Win
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Simple toggle circuit? Terry Pinnell <me@somewhere.invalid> - 2016-01-02 11:35 +0000
Re: Simple toggle circuit? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-02 09:06 -0700
Re: Simple toggle circuit? Terry Pinnell <me@somewhere.invalid> - 2016-01-02 22:08 +0000
Re: Simple toggle circuit? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-02 15:13 -0700
Re: Simple toggle circuit? "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-01-03 17:08 -0500
Re: Simple toggle circuit? "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-01-03 18:38 -0500
Re: Simple toggle circuit? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-03 16:48 -0700
Re: Simple toggle circuit? "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-01-03 19:57 -0500
Re: Simple toggle circuit? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-03 18:09 -0700
Re: Simple toggle circuit? "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-01-03 20:10 -0500
Re: Simple toggle circuit? terrypingm@gmail.com - 2016-01-04 05:44 -0800
Re: Simple toggle circuit? Joe Hey <joehey@mailinator.com> - 2016-01-04 15:33 +0000
Re: Simple toggle circuit? "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-01-04 10:35 -0500
Re: Simple toggle circuit? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-04 08:58 -0700
Re: Simple toggle circuit? terrypingm@gmail.com - 2016-01-04 12:28 -0800
Re: Simple toggle circuit? "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-01-04 15:56 -0500
Re: Simple toggle circuit? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-04 14:16 -0700
Re: Simple toggle circuit? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-04 15:51 -0700
Re: Simple toggle circuit? Terry Pinnell <me@somewhere.invalid> - 2016-01-05 09:34 +0000
Re: Simple toggle circuit? bloggs.fredbloggs.fred@gmail.com - 2016-01-05 07:14 -0800
Re: Simple toggle circuit? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-05 09:10 -0700
Re: Simple toggle circuit? bloggs.fredbloggs.fred@gmail.com - 2016-01-05 08:17 -0800
Re: Simple toggle circuit? terrypingm@gmail.com - 2016-01-05 10:42 -0800
Re: Simple toggle circuit? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-04 16:03 -0700
Re: Simple toggle circuit? whit3rd <whit3rd@gmail.com> - 2016-01-02 12:25 -0800
Re: Simple toggle circuit? Terry Pinnell <me@somewhere.invalid> - 2016-01-02 22:24 +0000
Re: Simple toggle circuit? tabbypurr@gmail.com - 2016-01-03 08:52 -0800
Re: Simple toggle circuit? bloggs.fredbloggs.fred@gmail.com - 2016-01-04 07:02 -0800
Re: Simple toggle circuit? terrypingm@gmail.com - 2016-01-04 10:19 -0800
Re: Simple toggle circuit? Terry Pinnell <me@somewhere.invalid> - 2016-01-05 10:18 +0000
Re: Simple toggle circuit? bloggs.fredbloggs.fred@gmail.com - 2016-01-05 07:40 -0800
Re: Simple toggle circuit? kevin93 <kevin@whitedigs.com> - 2016-01-06 12:05 -0800
Re: Simple toggle circuit? bloggs.fredbloggs.fred@gmail.com - 2016-01-06 15:13 -0800
Re: Simple toggle circuit? terrypingm@gmail.com - 2016-01-07 05:57 -0800
Re: Simple toggle circuit? Bob Engelhardt <BobEngelhardt@comcast.net> - 2016-01-05 10:51 -0500
Re: Simple toggle circuit? krw <krw@nowhere.com> - 2016-01-05 14:04 -0500
Re: Simple toggle circuit? Winfield Hill <hill@rowland.harvard.edu> - 2016-01-04 08:49 -0800
Re: Simple toggle circuit? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-01-04 18:26 +0000
Re: Simple toggle circuit? George Herold <gherold@teachspin.com> - 2016-01-04 11:06 -0800
Re: Simple toggle circuit? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-01-04 19:31 +0000
Re: Simple toggle circuit? George Herold <gherold@teachspin.com> - 2016-01-04 12:22 -0800
Re: Simple toggle circuit? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-01-04 21:30 +0000
Re: Simple toggle circuit? George Herold <gherold@teachspin.com> - 2016-01-04 16:42 -0800
Re: Simple toggle circuit? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-01-05 07:10 +0000
Re: Simple toggle circuit? Spehro Pefhany <speffSNIP@interlogDOTyou.knowwhat> - 2016-01-05 02:54 -0500
Re: Simple toggle circuit? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-01-05 09:11 +0000
Re: Simple toggle circuit? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-01-05 14:45 +0000
Re: Simple toggle circuit? Terry Pinnell <me@somewhere.invalid> - 2016-01-04 23:00 +0000
Re: Simple toggle circuit? Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-01-05 07:41 +0000
Re: Simple toggle circuit? Terry Pinnell <me@somewhere.invalid> - 2016-01-05 09:46 +0000
Re: Simple toggle circuit? Terry Pinnell <me@somewhere.invalid> - 2016-01-05 09:54 +0000
Re: Simple toggle circuit? John Devereux <john@devereux.me.uk> - 2016-01-06 18:59 +0000
csiph-web