This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LM339 faulty behavior possible defect

Other Parts Discussed in Thread: LM339

I have a circuit that has been in use for years and in at least 100 units, but there have been one or two returned for repair that seem to have a faulty LM339 at the root of their problems.  The circuit is a latching over-current sensor that uses a quad comparator LM339N to detect excessive current, start a capacitor timer, and set a latch if the timer timer times out.

The reported problem was that the latch would occasionally set when there was no excessive current.  Upon investigation we were able to replicate the problem but saw that not only did the latch occasionally set for no good reason, but far more often the output of the latch would briefly fall without setting the latch, violating the rules of the comparator.  Digging deeper I found several aspects of the circuit that I think can only be explained by faulty IC, but wanted to understand better how this could be the behavior of the IC before assuming so.  

This graph is one of the 251 events captured over the course of 20 hours where the fault reporting output dipped below 4V.  The first trace to look at is the white one which is the scope trigger, showing that one of the two comparators whose outputs are tied together pulled low.  The next thing to notice is the blue and green traces.  Neither of these two inputs should have budged as there is nothing going on to the sensor.  The green trace rising to 3V while being pulled down with 470Ω indicates to me more than 6mA being injected into the node from the comparator input at pin 4.  Meanwhile the 10V reference falls below a volt despite the 12V rail not moving a bit, indicating a 50uA sink at the pin 5 input.  The two traces stay 80mV apart as they rise together.  The next thing to notice is the red trace which falls below the 5.5V reference without setting the latch at pin 9.  

It's as if the comparator breaks all rules for itself over the course of this 500us.  Then for reasons unknown, the 6mA current source releases at .023s and the 470nF discharges into the 470Ω resistor with expected time constant.  

 

I've reviewed the supply for aberrations that could explain this. I've checked the sensor input.  I've checked the static levels (shown in the schematic).  My next move is probably to replace the IC and re-collect the same data to see if that fixed it.  But I'm hoping someone can explain what causes the two inputs to snap together like this.  

 

Thanks

Rob Hingle

  • Hi Rob,

    Is this a TI device or National device? What is the full part number and datecode? Both companies made an "N" version in the past and they are different internally.

    I do not see any immediate red flags on the circuit as shown, though you are running close to the common mode limit (1.5V below V+) on the fault trigger circuit (U101A). This could be an issue if you expect temperature extremes.

    There is also the potential that C26 and C30 can hold a charge during quick power-up and power down cycles - providing enough current to cause a latch if the inputs exceed the supply (supply falls faster than the inputs) The 339 should not really have an issue with inputs going above V+, but operation below minimum supply is undetermined. Put a resistor in series with the caps to limit the surge current to less than 1mA and see if that makes a difference. Pulling the inputs below V- can cause latching.

    Are there any transients or large currents switched nearby that may cause glitches or negative currents? The inputs to the fault timer are fairly high impedance (>200K), and can could be susceptible to induced transients.

    What is the ambient temperature? Do you notice the 339 getting warm during the latch? Can you measure the positive supply current?

    Also, can you provide a "good" event scope photo (on same scales) for reference?

    Regards,