5
\$\begingroup\$

I have a specific design issue and do not know how to start. We have a supply of about 9-13 VDC, battery-powered. The circuit I'm looking for acts as a power switch for this supply voltage. By default, it should be closed. When a 3.3 V "kill" signal is asserted, however, the switch should sever the connection and latch this "killed" state until all power is removed (then at next turn-on it should be default closed again). It is critical that the power consumption in the "killed" state is as low as possible (ideally less than 10 µA).

My thought on this so far: I'm looking for a P-channel MOSFET to do the switching, with a large resistor pulldown on the gate (1 MOhm between G and GND). MOSFET S goes to power in, D goes to power out. I need some sort of low-power "latching" circuitry now that overrides the "default on" state, probably by using bipolar transistors (to ensure they don't accidentally fire on power up, i.e., driven by current not voltage). Once engaged, they would pull the G to S. But I do not know how start this, any hints?

Edit: I have put a draft of my idea in LTspice, but power consumption in the "killed" state is way too high, about 11 mA:

LTspice schematic

\$\endgroup\$
9
  • \$\begingroup\$ "By default, it should be closed" - is that closed as in a water valve or closed as in a contact closing and making contact? \$\endgroup\$
    – Andy aka
    Commented Sep 27, 2020 at 8:35
  • \$\begingroup\$ Closed as in making contact. I.e., it should be "always on" except for when the kill signal comes, then it severs the connection and keeps it severed until reset. \$\endgroup\$ Commented Sep 27, 2020 at 8:46
  • \$\begingroup\$ @JonasMechtheim May it fairly be said that you are looking for an ultra-lower-power version of this behavior? \$\endgroup\$
    – jonk
    Commented Sep 27, 2020 at 10:45
  • \$\begingroup\$ @JonasMechtheim It can actually all be done with just four BJTs and one PFET and guaranteed below \$10\:\mu\text{A}\$, as well. Just tested an idea. It's also robust in that a pulse train is generated only when power exists. This pulse train is required to keep the PFET on via re-triggering. Without that, the PFET goes off. So it is continually monitoring the voltage supply and doesn't require any sequential logic. That's the approach I'd recommend you consider. It's just a couple of RCs, a voltage trigger, an SCR from BJTs and diodes, and some positive feedback. \$\endgroup\$
    – jonk
    Commented Sep 27, 2020 at 11:32
  • 3
    \$\begingroup\$ @JonasMechtheim I don't design or write for one person. My time is dedicated here to teaching as many as possible, using questions as foils upon which to do so. I have a specific design, which tested in LTspice came out well. But I'll need to write about how to get there and do some diligence on it, too. That takes time. I'll see about getting the ideas out in twelve hours or so. Might be a day later. Not sure. I want people to learn to fish, not be given a fish. ;) We need to pass on knowledge so that it stays alive in the minds of others. The flame of discrete design needs to be kept alive. \$\endgroup\$
    – jonk
    Commented Sep 27, 2020 at 12:31

2 Answers 2

1
\$\begingroup\$

Here is an alternate latch circuit based on standard logic gates.

R1-C1 form the power-on-reset that forces the circuit into the closed state. A 3 V Kill signal latches the output off by turning off the voltage translation transistor Q1. R3 ensures that the MOSFET is completely off. for a more "firm" turn-off, decrease it to 10K.

When the output is off, the circuit static current should be in the uA range, just the static current of the two gates. There is no off-state current through any of the resistors.

NOTE: Instead of AC series CMOS, use single-gate low voltage devices such as the Picogate series from Nexperia. TI has two gates in one package: https://www.ti.com/product/SN74LVC2G132

NOTE - Schematic is incorrect; gates should be NOR's. Update coming.

enter image description here

\$\endgroup\$
4
  • \$\begingroup\$ Hello, this would be a nice solution but unfortunately, we don't have 3.3V available when the power is shut off (it kills the SMPS). The clarity of a discrete flipflop is nice. \$\endgroup\$ Commented Sep 28, 2020 at 7:53
  • \$\begingroup\$ So - when power is re-applied, you want the FET to default to ON so the supply can start up and supply the 3.3 V? If yes, I can fix that. \$\endgroup\$
    – AnalogKid
    Commented Sep 29, 2020 at 1:08
  • \$\begingroup\$ Also, does the 3.3 V "Kill" signal come from a system powered by this same supply, or from somewhere separately powered? \$\endgroup\$
    – AnalogKid
    Commented Sep 29, 2020 at 1:09
  • \$\begingroup\$ Thinking about this again, I think that your solution with an RS flipflop also would work if you replaced the 74AC by 4011 or 4001s. Those run up to 15V and have a current draw in the nA range. \$\endgroup\$ Commented Sep 29, 2020 at 13:07
2
\$\begingroup\$

Mutual Understanding

Obviously, the first step in anything like this is making sure we understand each other. It's usually better if you spend the time needed to communicate well and given what I read from you I thought I might be close enough. But this is where a picture is worth a lot and, next time with something like this, please do consider the idea of adding a behavioral diagram of some kind. It goes a lot way in sharpening up what's being said.

The only correction you made to the following:

enter image description here

...was that you don't care about the active voltage for the \$3.3\:\text{V}\$ clear action. But that it otherwise seemed right to you.

Imagination and a Mental Walk-Through

There is an important reason for this section. We listen our betters to gain access to how they think about problems. Not for their conclusions, as even the best among them are mostly wrong about everything they conclude. It is their process of thinking about things that's what makes them worth listening to and learning from. I want to share my mental process. Not because it's necessarily a good one and certainly not because I count myself among those betters. I don't. But merely in the hope that perhaps in this particular case it may be slightly useful.

The above diagram is not necessarily intended to cause thinking to stop. It's just intended to help clarify communication. So, upon seeing a diagram like this (okay, so I created it too -- that's just a detail) I wonder not only about implementing exactly that function, but also about other concepts that might achieve similar results.

The first thing that was obvious is that the right hand side really is a FET of some kind. That's a close match on how they work. The only choice (these days with 4-pin FETs being hard to find except in IC packages and even then, rare; and with depletion-mode also mostly off the table) is between enhancement mode PFETs and NFETs. The PFET is the better logical fit unless you have some kind of special need for an NFET that a PFET can't achieve for you (high stand-off voltage?) But then you need a higher-still gate voltage, which is harder to come by. So PFET it is.

The next thing that crossed my mind was about a proper, reliable reset of the FF (not shown.) You can just assume it. But I'd prefer not to. More, I'd probably want some kind of power-on delay, anyway. So it started getting to be a bit of a tar-ball. Which led my mind towards something else -- a relaxation oscillator. And that's where I decided to go, once that thought arrived. They can be very good at low power.

So, push the PFET away for a moment and focus on the relaxation oscillator. This can be done with a PUJT (2N6027 and 2N6028) pretty easily. (See this detailed discussion from me.) But they are few and far between, never having really caught on much. So, back to the BJT, again.

In keeping with the PUJT idea, though, this oscillator should drive a small current pulse through a resistor to generate a voltage pulse. One end of the resistor should be referenced to ground to keep the use of that pulse more handy to use. With that in hand, we can drive another BJT whose job it is to reset an RC arranged to turn the PFET off if the pulses don't regularly arrive (or if the power supply fades out.) So this just means the relaxation oscillator should have a voltage-dependent frequency (lower frequency with lower voltage and no frequency at all if the supply voltage drops below some value) and that we can use a final BJT and RC to drive the PFET.

Sweeping one's imagination over all of that, it seems like it still should work okay and meet your desires. It's not exactly the same thing as we originally agreed was a behavioral model. Still, it should achieve the primary goals. The only thing missing is the ability to turn it off and keep it off.

This can be made to work okay by allowing the \$3.3\:\text{V}\$ signal to interfere with the relaxation oscillator. If the oscillator becomes blocked (which is really easy to manage, as it is hard enough to make it work right in the first place), then the final BJT+RC won't get pulses and the PFET will just turn off. And if the relaxation oscillator doesn't have sufficient applied voltage, it's pulse rate diminishes and then stops, anyway. So even if your \$3.3\:\text{V}\$ signal derives from the load supply in some fashion, the whole thing still achieves the goals.

So, at that point I think we may have an approach worth wasting more time on.

The Re-Imagined Behavior

A simple RC makes a great start. You can arrange these using appropriate resistor and capacitor values. But they need a method to reset the capacitor in some fashion. For that, we'll need some kind of voltage level trigger and an SCR thing. We'll probably need some positive feedback in order to really ensure this circuit doesn't go off and find some nice, stable equilibrium point that would destroy its purpose. This will be followed by some 2nd RC we are using to gradually move towards shutting off the PFET and a BJT to continually keep the PFET on so long as the relaxation oscillator is running. Other than that, it's just the PFET.

Keeping the positive feedback as internal to the triggering system, we have this sketch of the idea:

schematic

simulate this circuit – Schematic created using CircuitLab

\$R_1\$ and \$C_1\$ form what amounts to a poor-man's current source into a capacitor. The capacitor's voltage will rise mostly at a fixed rate. At some point, the voltage trigger will fire the SCR and cause it to dump most of the charge in \$C_1\$. This quick-dump of charge becomes a current that is driven through \$R_2\$ and \$R_3\$ to cause \$Q_1\$ to pull down its collector and discharge \$C_2\$ (part of yet another poor-man's current source, \$R_4\$, into itself), which has otherwise been charging up so as to finally turn off \$Q_2\$. The regular pulses will hopefully be sufficiently frequent that \$Q_2\$ stays on and the lack of such pulses should mean that \$Q_2\$ eventually is turned off.

Nothing in this circuit requires precision references or precision values. The exact timing isn't important to its function. So thermal effects and the vagaries of resistor and capacitor values or the variations of FET gate voltages or BJT base-emitter junction voltages aren't an important concern. The basic idea works, regardless. It just varies a bit, is all. Oh, well. You didn't specify some precision need, so this should be fine.

The values of \$R_1\$ and \$C_1\$, as well as the values for \$R_4\$ and \$C_2\$, can be arranged to draw arbitrarily small currents from your supply rail. (Something you said you wanted.) All of the current drawn from the supply to charge up \$C_1\$ isn't wasted, by just dumping it to ground. Instead, it's conserved and then re-used efficiently to drive \$Q_1\$'s base. So nothing of the current feeding \$C_1\$ is wasted. The only remaining issue is the periodic dump of \$C_2\$'s charge. That represents a lost current. But there's little to be done for that and it serves an important purpose. (It will probably double the current draw. But I think it can be lived with, here.)

More?

Note that the above circuit should be able to draw on the order of \$5\:\mu\text{A}\$, even when your power supply is fully active and the load is drawing power. It will draw likely half that much when inactivated by the control signal. In short, you'll barely notice it no matter what it is doing for you.

Before I go any further with this, does this represent what appears to you to be a workable solution for your needs?

\$\endgroup\$
2
  • \$\begingroup\$ It had not crossed my mind to use a SCR. Looking at your approach it is very unlike what I had originally designed, I'll definitely try to simulate, build it and play around with it. Gave me some great ideas, thank you! \$\endgroup\$ Commented Sep 28, 2020 at 7:56
  • \$\begingroup\$ @JonasMechtheim Let me know if you need some thoughts. I have a completely prepared (and tested) schematic that appears to work well enough. But I think it is better if you develop your own, as well. I constructed the SCR using BJTs and diodes. Something that isn't taught anymore, but used to be taught. You may struggle with that. Worse, if you actually use an SCR the circuit becomes quite more complex than it needs to be. The trigger circuit starts to look gnarly to me, then. So I've combined the SCR and trigger system so that it requires only a few BJTs and two diodes. \$\endgroup\$
    – jonk
    Commented Sep 28, 2020 at 8:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.