Author Topic: Will this overvoltage circuit LATCH?  (Read 7670 times)

0 Members and 1 Guest are viewing this topic.

Offline LooseJunkHaterTopic starter

  • Frequent Contributor
  • **
  • Posts: 398
  • Country: de
Will this overvoltage circuit LATCH?
« on: January 05, 2024, 05:16:23 pm »
Background: Refer to image 1: Essentially the MAX6397 is an overvoltage-protection I.C which DOES NOT offer latching options (and other I.C's that offer latching do not support a 72v input voltage; only lower). The REG pin provides a 3.3v @ 100ma output, no matter the input voltage. SET is used to set the overvoltage protection. When the overvoltage condition is triggered, the output FET is pulled LOW, stopping power from going to the power output. The SHDN pin when pulled low also pulls the FET low, HOWEVER the REG pin continues to output 3.3v.

The 74AUP2G132DC is a simple dual-NAND Gate I.C, which I configured into an S-R Latch.

The circuit: Refer to image 2: Switch-2 is used to enable/disable the "latching" function. The SR latch should be triggered when the MAX6397 Gate pin is pulled LOW. Q3 would pull the SHDN pin LOW.

Question: Does this circuit make sense? Will it work to essentially add a latching function to the MAX6397? I think if I used a simple dual-NOR gate I.C (again configured as an SR latch) then I could avoid using Q4?

Datasheets:
https://www.analog.com/media/en/technical-documentation/data-sheets/MAX6397-MAX6398.pdf
https://www.mouser.ca/datasheet/2/916/74AUP2G132-1541831.pdf

 

Offline LooseJunkHaterTopic starter

  • Frequent Contributor
  • **
  • Posts: 398
  • Country: de
Re: Will this overvoltage circuit LATCH?
« Reply #1 on: January 05, 2024, 11:39:10 pm »
« Last Edit: January 05, 2024, 11:54:26 pm by LooseJunkHater »
 


Offline pqass

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: ca
Re: Will this overvoltage circuit LATCH?
« Reply #3 on: January 06, 2024, 02:00:17 am »
A number of issues in no particular order WRT your 2.png schematic...

U4 GATE output is limited to IN+10V so Q4 gate could be destroyed if U4 IN is >20V over U4 REG output (3.3V).

Don't leave logic gate inputs "flapping in the breeze" (SPST switch open or FET in off position); should put a pullup/down to whichever is the idle state for the SR-latch.

SR-latches have an invalid state; both inputs are H, or both L for NOR-SR, NAND-SR, respectively. Make sure that never occurs by only ever triggering one SR-latch input at one time.

NAND SR-latch inputs use H as the idle state; whereby L will change its state.
NOR SR-latch inputs use L as the idle state; whereby H will change its state.
If Q4 is conducting (due to U4 GATE going to GND) then it tries to pull the NAND SR-latch to H (U4 REG through 10K) but this won't change anything for a NAND SR-latch.  If /SHDN is L then Q4 can never be on unless its gate is below GND.  Therefore, the NAND SR-latch can never be set.

How is Q4 ever on; ie. its gate grounded? Datasheet only says U4 "GATE falls to OUT within 100ns". I couldn't find a mention of the U4 GATE voltage WRT GND when chip is in the overvoltage state.  Why not just use a resistor divider from Q2 source (aka. U4 OUT). In overvoltage state, that should be 0V (L) to trigger (set NAND SR-latch) U1 1A. In a non-overvoltage state, it'll be a fraction of the output (clamped to U4 REG; 3.3V).

How is the SR-latch guaranteed to be in the correct state upon power-up?

I'm assuming SW1 and SW2 are momentary types and, in the case of SW1, is to manually reset the latch; not sure about SW2 purpose.  I think if U4 POK (with 100K pullup to REG) is connected to U1 2B, then upon power-up the NAND SR-latch would be put in the reset state by default. I'm assuming there is a lag while REG is below <3.3V POK is GNDed giving a momentary L to U1 2B as it's powering up. 

For both set and reset triggers, I think you should use an RC network to just give a pulse in order to avoid an SR-latch invalid state when either input is kept triggered (ie. when U4 GATE remains in overvoltage state AND user keeps reset button pressed).  However, it may be easier to prevent the momentary reset button triggering the SR-latch while the set (U1 1A) is in the L state (via N-FET gate to U1 1A and drain to left leg SW1 and source to /SHDN); since you shouldn't be allowed to reset if U4 is still in an overvoltage state.

See working simulation of what I have in mind here.
« Last Edit: January 06, 2024, 05:38:35 am by pqass »
 
The following users thanked this post: LooseJunkHater

Offline LooseJunkHaterTopic starter

  • Frequent Contributor
  • **
  • Posts: 398
  • Country: de
Re: Will this overvoltage circuit LATCH?
« Reply #4 on: January 11, 2024, 09:24:55 pm »
Wow thanks for the amazing and thorough reply!

U4 GATE output is limited to IN+10V so Q4 gate could be destroyed if U4 IN is >20V over U4 REG output (3.3V).

I don't quite understand what this means? Does that mean if the input voltage is 60v, it WOULD destroy Q4 because the gate would see 70v? Or is it because the +10v at the P-MOS would destroy it (as the P-MOS expects to only see negative voltages)?

How is the SR-latch guaranteed to be in the correct state upon power-up?

I don't expect it to; I was thinking to simply flip SW1 to trigger it into the correct state (essentially waiting for OVP).

Do you recommend me going with the S-R latch to add latching to the MAX6397 circuit, or should I go another route?
« Last Edit: January 11, 2024, 09:26:56 pm by LooseJunkHater »
 

Offline LooseJunkHaterTopic starter

  • Frequent Contributor
  • **
  • Posts: 398
  • Country: de
Re: Will this overvoltage circuit LATCH?
« Reply #5 on: January 11, 2024, 09:29:31 pm »
See working simulation of what I have in mind here.

Okay so is this essentially what I would need to do to enable latching of the MAX6397?
 

Offline Solder_Junkie

  • Frequent Contributor
  • **
  • Posts: 523
  • Country: gb
Re: Will this overvoltage circuit LATCH?
« Reply #6 on: January 11, 2024, 09:53:53 pm »
I have built many over Voltage protection boards (they also protect for over current) using an LTC4368, the device is tiny, but the circuit is less complex than the one using the MAX IC. Would it suffice for your purpose? I use a switch on surge add-on, which is Cx and Rx in the attached diagram.

https://www.analog.com/en/products/ltc4368.html#product-overview

There is a model of the LTC4368 in LT Spice for computer testing too.

SJ
 

Offline LooseJunkHaterTopic starter

  • Frequent Contributor
  • **
  • Posts: 398
  • Country: de
Re: Will this overvoltage circuit LATCH?
« Reply #7 on: January 11, 2024, 10:18:11 pm »
I have built many over Voltage protection boards (they also protect for over current) using an LTC4368, the device is tiny, but the circuit is less complex than the one using the MAX IC. Would it suffice for your purpose? I use a switch on surge add-on, which is Cx and Rx in the attached diagram.

https://www.analog.com/en/products/ltc4368.html#product-overview

There is a model of the LTC4368 in LT Spice for computer testing too.

SJ

I've looked into the LTC4368 but I got a bunch of the MAX6397 for cheap from a Newark sale hence wanting to use them (and because the LTC4368 is quite expensive). I'll likely use the LM5069-1 (latching variety; cheaper than the LTC4368) in the future but I personally don't even want to use that part due to the higher BOM (shunt resistor, timing capacitors, additional resistors), as all I care about is latching, OVP, and the I.C to handle greater than 72v input voltages.
« Last Edit: January 11, 2024, 10:19:59 pm by LooseJunkHater »
 

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2666
  • Country: gb
  • Recovering Electrical Engineer
Re: Will this overvoltage circuit LATCH?
« Reply #8 on: January 12, 2024, 04:12:46 pm »
Simple SR latches can't be relied upon to start up in a known state.
That can cramp your style.
For a couple of cents more I'd use a D-type with power on reset eg a CD4013
 

Offline pqass

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: ca
Re: Will this overvoltage circuit LATCH?
« Reply #9 on: January 13, 2024, 07:07:59 am »
Quote
I don't quite understand what this means? Does that mean if the input voltage is 60v, it WOULD destroy Q4 because the gate would see 70v? Or is it because the +10v at the P-MOS would destroy it (as the P-MOS expects to only see negative voltages)?

WRT 2.png...

The MAX6397 will produce a voltage on its GATE output that is +10V above IN in order to turn on Q2; an N-FET.
With a greater than +10V IN and SW2 closed, Q4 gate to source voltage would exceed the usual ±20 Vgs maximum allowed (see device specific datasheet). 
Regardless if Q2 is on, there is a resistor to RES (+3.3V) which may still be way below the GATE output (couldn't find in the datasheet GATE to GND voltage in OV state, although not sure about "GATE pulls low when SHDN is low." on page 7).
So, it's not because Q4 P-FET saw positive voltages. It's that it went above its Vgs maximum (at least when Q2 is on).


Quote
I don't expect it to; I was thinking to simply flip SW1 to trigger it into the correct state (essentially waiting for OVP).

Do you recommend me going with the S-R latch to add latching to the MAX6397 circuit, or should I go another route?

Upon power up, if a particular state isn't assured then the SR-latch may default to shutting down the MAX6397 even though there was no overvoltage condition yet. 
ie. may intermittently require a reset button press on power up.  This can be annoying.

Do I recommend an SR-latch? 
It depends on your... costs and number of components (minimum complexity). I think it can be made to work. See below.


Quote
Okay so is this essentially what I would need to do to enable latching of the MAX6397?

Unfortunately, my previous simulation isn't quite right. If Q2 state is off (in overvoltage state; switch is open), that keeps the SET line low in the SR-latch.
The circuit should really only trigger a momentary low (on switch open) since an extended low condition will keep the reset switch from doing its job (via N-FET blocking the reset switch).
Forcing a reset won't work either since that breaks the two simultaneous low inputs rule (invalid state for NAND SR-latches).

I've since modified the simulation to add an RC network and it seems to work. See below for a screenshot of the moment Q2 is open; sending a momentary low to the SET line.  When the reset momentary is pressed, SR-latch is reset and the SHDN goes high resulting in Q2 closing if the overvoltage state has passed (or Q2 will close when it eventually passes).  Although, there is a tiny chance of invalid SR-latch state if the reset button is held while an overvoltage state occurs.

Notice the 12V zener protecting the N-FET gate from exceeding Vgs due to post Q2 voltage (OUT).

Although it needs testing, I think the RESET line of the SR-latch can be directly connected to the POK output to assure the SR-latch is properly reset on power up.  Page 7 of datasheet: "POK: Open-Drain Output. POK remains low until REG exceeds 92.5% or 87.5% of REG nominal output voltage."
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf