Author Topic: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit  (Read 6295 times)

0 Members and 1 Guest are viewing this topic.

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
I have a current pump circuit that converts 0-5V to 4-20mA.  When the circuit was online for 30 minutes the LM358 got hot and finally blew. I thought that the cause could be the possible high temperature environment and replace the LM358 with the high temperature variant LM2904.

After changed the opamp to the LM2904 I found that after 30 mins of operation the LM2904 would blow and get hot. There are some high voltages in the proximity and I wanted to add TVS protection, it seems that with TVS if the voltage is below the threshold adding the TVS would have no affect unless a TVS event occurs.

Would the attached circuit cause the LM2904/LM358 to fail without a transient event ?

What is the best way to protect the circuit with TVS diodes ?

P0-0 = +24V DC

1661206-0" alt="" class="bbc_img" />

In addition I have included a schematic showing the TVS devices.



« Last Edit: December 11, 2022, 11:49:13 pm by djzulu »
 

Offline srb1954

  • Super Contributor
  • ***
  • Posts: 1091
  • Country: nz
  • Retired Electronics Design Engineer
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #1 on: December 11, 2022, 10:39:29 pm »
You stand a better chance of getting an answer if you post a better quality schematic that is sufficiently readable so we can actually see the component values and other details.
 
The following users thanked this post: djzulu

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #2 on: December 11, 2022, 11:35:14 pm »
I've updated the Schematic.
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 7860
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #3 on: December 11, 2022, 11:46:21 pm »
What package are you using?
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #4 on: December 11, 2022, 11:50:14 pm »
All components are SMC, the LM2904 is SOIC-8.
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 7860
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #5 on: December 11, 2022, 11:58:49 pm »
At first glance it doesn't look like you're actually over thermal limits unless your ambient is pretty high, like 50-60C--then you'd be getting close.  However, the way it fails does seem like a thermal issue.  Reducing the supply voltage would help if that is feasible with your design.  24V is pretty close to the design limit as well.  What compliance voltage is required for the 4-20mA output?
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #6 on: December 12, 2022, 01:17:47 am »
The initial PCB had the LM358 op-amps, the card was in a terminal box that could have experienced temperatures up to 60C in summer. After a few failures we realized that the thermal limit was too low and opted to use the high temperature version of the LM358, the LM2904 which is rated to 125C. After replacement of the boards in winter when the temperatures were close to freezing we experienced failures. The failure mode was interesting, the boards would operate fine, some would run for weeks and others would fail almost immediately, once failed the LM2904 would get too hot to touch.

There are some coils in the vicinity that have secondary voltages in the 30-50kV range, to my best bet there is a transient event that is blowing the LM2904/LM358 and causing an internal short which is raising the temperature.

Note we have other op-amps on the board, i.e MCP6002 that have never failed, these appear to be just as exposed to transients are the LM358's are.

The 4-20mA voltage lop does not have a required voltage, anything between 12 and 24V would work, we are measuring a voltage over a 475ohm shunt resistor.
« Last Edit: December 12, 2022, 01:19:45 am by djzulu »
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 7860
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #7 on: December 12, 2022, 03:23:17 am »
You might just try putting a ~6V zener in series with your supply to drop the voltage down to 18V.  If your failures stop, that tells you where the problem is, if they continue, then you know where it isn't.
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 

Offline Swainster

  • Frequent Contributor
  • **
  • Posts: 259
  • Country: sg
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #8 on: December 12, 2022, 03:28:41 am »
When specifying TVS diodes, you need to allow some headroom for component variation - perhaps something like 10% i.e. for the 5V regulator, your Vrwm should ideally be above 5.5V, which would bump your TVS diode up to the next available size. That said:

1) You seem to straying quite close to the datasheet limits of lm358/2904, and as such should be careful with part substitution - not all manufacturers' lm358/2904s will have exactly the same limits.
2) Seems like this circuit is subject to proper industrial conditions, and mounted on the end on a cable. This adds a whole extra dimension to the design requirements. Hard to know where to start...
3) Current loop transmitters are typically supplied from the far end of the cable (receiver end) - is this the case here?
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #9 on: December 12, 2022, 01:18:51 pm »
I am not sure why I am at the limits of the LM358, it does sound plausible because only the lm358's are failing. The maximum supply valve voltage from the datasheet is 32 volts and I am supplying the LM358 from the board with 24 volts.

The supplier is different to loop powered 4-20 milliamp circuits, we are powering the op-amps at the board. The signal cables are typically 400 m long and I'll terminated with a shunt resistor to ground. The shunt resistors value is 360 ohms (475R was error), this provides a measuring range of 1.44V to 7.2V.

The input BUF is from an op-amps power by 5V.
« Last Edit: December 12, 2022, 01:26:28 pm by djzulu »
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 6779
  • Country: pl
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #10 on: December 12, 2022, 01:47:50 pm »
Simply driving 20mA DC output causes the chip to dissipate 17V·20mA = 340mW.

Are you sure it isn't oscillating at a few hundred kHz on top of that?
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #11 on: December 12, 2022, 01:55:38 pm »
The lm358 is that 4 milliamps for the most part, the 20 milliamp output is a seldom event and it's a peak output when it occurs.

I have not put an oscilloscope on the output but we will try that.
 

Offline Andy Watson

  • Super Contributor
  • ***
  • Posts: 2086
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #12 on: December 12, 2022, 01:56:57 pm »
The signal cables are typically 400 m long and I'll terminated with a shunt resistor to ground.
Are these complete loops or is the remote ground connected to a common point that is assumed to be 0V?
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #13 on: December 12, 2022, 01:58:35 pm »
The remote connection is connected to ground 0v at the shunt resistor. We monitor the voltage over the shunt resistor using an ADC.
« Last Edit: December 12, 2022, 02:03:06 pm by djzulu »
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #14 on: December 12, 2022, 04:10:15 pm »
You might just try putting a ~6V zener in series with your supply to drop the voltage down to 18V.  If your failures stop, that tells you where the problem is, if they continue, then you know where it isn't.

I do not understand how a Zener in series would reduce the voltage, I can reduce the voltage at the power supply from 24V to 18V and try to fail the components.
 

Offline Kean

  • Supporter
  • ****
  • Posts: 2099
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #15 on: December 12, 2022, 04:29:52 pm »
The remote connection is connected to ground 0v at the shunt resistor. We monitor the voltage over the shunt resistor using an ADC.

Are you sure there isn't any potential difference (e.g large transients) between the "grounds" at each end of that 400m cable?
Do you see the same temperature rise and/or failures when the output is just terminated with a shunt resistor and no remote measuring equipment?  (with or without the long cable)
 

Offline Kean

  • Supporter
  • ****
  • Posts: 2099
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #16 on: December 12, 2022, 04:34:42 pm »
You might just try putting a ~6V zener in series with your supply to drop the voltage down to 18V.  If your failures stop, that tells you where the problem is, if they continue, then you know where it isn't.

I do not understand how a Zener in series would reduce the voltage, I can reduce the voltage at the power supply from 24V to 18V and try to fail the components.

A reverse biased zener in series between P0-0 and the opamp power supply pin will provide a voltage drop.  You'd want to have a local decoupling capacitor for the opamp (you don't show any in the schematic).
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 7860
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #17 on: December 12, 2022, 04:57:09 pm »
I do not understand how a Zener in series would reduce the voltage, I can reduce the voltage at the power supply from 24V to 18V and try to fail the components.

OK, if you can just reduce the power supply voltage some other way for testing, that's good enough.

Yikes, a 400m cable?  What form exactly is the cable--a twisted pair?  What kind of environment is it in? Do the failures occur in testing without that cable?  Can you connect an oscilloscope and record what goes on at the output of your current source? 
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: djzulu

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #18 on: December 12, 2022, 05:18:05 pm »
are you sure they are not oscillating at very high frequency ( MHz ). where is your power supply decoupling ?
Opamps can be unreliable when the input difference gets large. put two diodes antiparallel between the inputs. that way there can never be more than 0.6 volts of delta.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 
The following users thanked this post: Kean

Offline wraper

  • Supporter
  • ****
  • Posts: 16866
  • Country: lv
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #19 on: December 12, 2022, 05:31:29 pm »
The initial PCB had the LM358 op-amps, the card was in a terminal box that could have experienced temperatures up to 60C in summer. After a few failures we realized that the thermal limit was too low and opted to use the high temperature version of the LM358, the LM2904 which is rated to 125C.
That was quite pointless, it's exactly the same IC but with tighter binning. It's just a guarantee that IC will meet specs in wider temperature range. Maximum junction and storage temperatures are exactly the same for all variants.
 
The following users thanked this post: Kean, djzulu

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #20 on: December 12, 2022, 07:00:39 pm »
The remote connection is connected to ground 0v at the shunt resistor. We monitor the voltage over the shunt resistor using an ADC.

Are you sure there isn't any potential difference (e.g large transients) between the "grounds" at each end of that 400m cable?
Do you see the same temperature rise and/or failures when the output is just terminated with a shunt resistor and no remote measuring equipment?  (with or without the long cable)

Under steady state conditions there is no temperature rise, the temperature seems to spike just before a failure.
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #21 on: December 12, 2022, 07:07:42 pm »
are you sure they are not oscillating at very high frequency ( MHz ). where is your power supply decoupling ?
Opamps can be unreliable when the input difference gets large. put two diodes antiparallel between the inputs. that way there can never be more than 0.6 volts of delta.


We will add the diodes and a decoupling capacitor to the +24V rail, as the failure occurs with a lab power supply we do not believe that this is the issue, we do not know the reason for the failure.
« Last Edit: December 13, 2022, 12:45:45 am by djzulu »
 

Offline Swainster

  • Frequent Contributor
  • **
  • Posts: 259
  • Country: sg
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #22 on: December 13, 2022, 01:16:01 am »
Being able to duplicate the fault on the bench is very interesting - it would take most of the environmental conditions out of the equation. Presumably this was with the receiver closely connected to the transmitter?

Talking of the receiver, is this a standard loop receiver or did you roll your own? If it is an off the shelf part, is it supplying the loop power? If this is the case then supplying power to the output of an lm358 will quickly burn it out.

Ignoring the bench failure for the moment, with a long enough cable, especially in an industrial environment, if the supplies at either end are not fully floating with respect to each other (e.g. if they are partially or fully tied to local ground), then significant common current will flow in the loop conductors. This could burn out the transmitter (and has been known to melt wires, at least in communication cables).
 
The following users thanked this post: Kean

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #23 on: December 13, 2022, 01:26:34 am »

Talking of the receiver, is this a standard loop receiver or did you roll your own? If it is an off the shelf part, is it supplying the loop power? If this is the case then supplying power to the output of an lm358 will quickly burn it out.

The received is a simple shunt resistor 360R, we measure voltage of 1.9 to 7.2V over the resistor. I have one card that has been running for 2 months with a shunt on the output in the lab.



Ignoring the bench failure for the moment, with a long enough cable, especially in an industrial environment, if the supplies at either end are not fully floating with respect to each other (e.g. if they are partially or fully tied to local ground), then significant common current will flow in the loop conductors. This could burn out the transmitter (and has been known to melt wires, at least in communication cables).

If I short the outputs this would drive 20mA through the LM358, would this rule out cabling or are you concerned about transient conditions too ?
 

Offline Swainster

  • Frequent Contributor
  • **
  • Posts: 259
  • Country: sg
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #24 on: December 13, 2022, 02:07:47 am »
Shorting the lm358 will rule out current being driven into the output, though it will heat up the op-amp a fair bit - not all lm358s are rated for constant short at 24V (are any of them?). Typically constant short to gnd for lm358 assumes room temperature and an equal split supply I.e. only shorting about 15V to ground. I guess you would already be pushing abs max power for the package at 15V, never mind at 24V
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #25 on: December 13, 2022, 03:22:07 am »
Shorting the lm358 will rule out current being driven into the output, though it will heat up the op-amp a fair bit - not all lm358s are rated for constant short at 24V (are any of them?). Typically constant short to gnd for lm358 assumes room temperature and an equal split supply I.e. only shorting about 15V to ground. I guess you would already be pushing abs max power for the package at 15V, never mind at 24V

The Circuit has resistors to allow for a short, we plan to increase the shunt resistors load.

Is there anything else to consider? We still feel that transient voltages from the local HV 45kV coil could be leaking through to the circuit, this we are trying to simulate in the lab.
 

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 7007
  • Country: ca
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #26 on: December 13, 2022, 05:03:24 am »
Have you run this with a capacitive load? Real world 4-20mA has a lot of cable capacitance, between the two wires as well as the shield.
I always use an emitter follower rather than a lone op-amp to drive 4-20mA but use higher compliance voltage of 24VDC rail. It's generally a catastrophe if the output shorts and goes full tilt, in most plant equipment. So I monitor the ouput voltage well to detect that fault.
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 7860
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #27 on: December 13, 2022, 07:03:40 am »
the temperature seems to spike just before a failure.

That might support the idea mentioned earlier by others that the circuit may be breaking up into oscillations.  You'd need to get a scope hooked up and see.  If it is, you might try increasing C1603, perhaps by quite a lot.
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 6779
  • Country: pl
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #28 on: December 13, 2022, 10:45:33 am »
:scared:

Do you see the weird phase dip in the closed loop response of the current sense amplifier (U1601B) near 10kHz? That's C1603 ;)
Also Cload effects are involved a little, due to the voltage follower path to "amp" node through the noninverting input of U1601B with C1603 providing unity feedback starting from a few kHz.

I don't get the point of C1603 at all.
That being said, none of it obviously looks like the whole circuit should oscillate just yet. I think.

On the other hand, C1602 could be increased.
« Last Edit: December 13, 2022, 11:08:51 am by magic »
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #29 on: December 13, 2022, 01:06:16 pm »
the temperature seems to spike just before a failure.

That might support the idea mentioned earlier by others that the circuit may be breaking up into oscillations.  You'd need to get a scope hooked up and see.  If it is, you might try increasing C1603, perhaps by quite a lot.

If I reduce C1603 will that increase the oscillations and help to validate the failure mode?
« Last Edit: December 13, 2022, 01:55:57 pm by djzulu »
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #30 on: December 13, 2022, 02:05:41 pm »
:scared:

Do you see the weird phase dip in the closed loop response of the current sense amplifier (U1601B) near 10kHz? That's C1603 ;)

I don't get the point of C1603 at all.

On the other hand, C1602 could be increased.

For our application we are really not interested in any of the frequencies that are above 1 kilohertz, there is actually a smoothing capacitor on the 5 volt input to the circuit The smooths the input to about 5 Hertz. The reason is that this is a very simple circuit that takes the output of an instrument in voltage 0 to 5V and converts it to a 4 to 20 milliamp signal for transmission.

I believe that the original intention of the capacitors was to spoothen out the output if this is causing harmonics then we need to change them I can certainly increase the value of c1602 and remove c1603.

Does this explanation help regarding the oscillations and is there a way to clamp these down so that there is no possibility of oscillations causing the LM358 failure?
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 6779
  • Country: pl
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #31 on: December 13, 2022, 03:04:31 pm »
But can you see what C1603 is doing?

It decreases closed loop differential gain of U1601B, which means that U1601C is mislead to believe that transmitted AC current is lower than in reality. If you remove the filter and test with 10kHz signal, you would likely find that the regulator transmits more current than at 10Hz, for the same input amplitude.

Furthermore, it ruins AC common mode rejection. Common mode signal present at the positive end of R1613 is simply passed to the output of U1601B at unity gain, due to direct feedback through C1603. This causes all sorts of extra oddities, dependent on load reactance.

The whole thing looks like its exact behavior is needlessly difficult to predict. But no, I don't have any sim example where it clearly oscillates. The phase dip I have shown is not -90°.


I don't think there would be much wrong with:
- removing C1603, to make U1601B work as proper differential amplifier, giving accurate (amplified) image of R1613 current, up to tens of kHz that this chip ought to be capable of
- increasing C1602 to a few nF (or more) to dumb down U1601C a little more; above a few kHz it will simply be a voltage follower, ignoring any feedback coming from U1601B
 
The following users thanked this post: djzulu

Offline jwet

  • Frequent Contributor
  • **
  • Posts: 461
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #32 on: December 13, 2022, 03:28:26 pm »
Have you heard of Action Paks?   They are little isolated voltage converters that do conversions like this- zero to 5 to 4-20 mA is a standard function.  They are completely isolated with their own internal supplies for the low voltage input and the output. They come in old style relay packs and with a socket on the bottom that can go into a standard relay socket for screw terminations.  They're calibratable with a span and zero pot. This is the kind of thing you need- with Isolation.  There are other vendors and they're available for DIN rails too.  I think this little pump with a bare op-amp output heading out into a dirty plant driving a bunch of cable needs more than a tweak of some caps values.  We haven't talked about grounds yet, I suspect this is the real issue.  If you take your delicate little op-amp output, go through a bunch of cable and then a single ended sense resistor that is grounded at the receiver, you just negated most of purpose of 4-20 mA.  4-20 mA loops need to exist as loops with the sender floating and the return current coming back to the sender.  You can establish a ground at only one point.  This application requires isolation.  You also have your input referenced to ground which is getting pulled or pushed by the remote receiver's ground.  Grounds in a industrial environment 400m away have nothing to do with  your ground.  I suspect that there are ground imbalances that are pulling that little LM358 way out of its abs maxes.  Put in an Action Pack and call it a day- fully isolated problem solvers.  Keep this circuit as a summer intern project for the future and maybe a lesson on 4-20 mA loops that the student will never forget.

You could use a 4-20 mA to 4-20 mA to preserve this circuit on your board.  Run your 4-20 mA in and let it produce isolated 4-20 mA for the industrial run.  Cleaner probably.
« Last Edit: December 13, 2022, 06:01:52 pm by jwet »
 

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 7007
  • Country: ca
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #33 on: December 13, 2022, 04:40:09 pm »
It looks like OP using a PWM DAC with a 1st order LPF. What carrier frequency? I would expect a lot of HF ripple coming in to the op-amp which might aggravate things.
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #34 on: December 13, 2022, 06:46:33 pm »
Have you heard of Action Paks?   They are little isolated voltage converters that do conversions like this- zero to 5 to 4-20 mA is a standard function.  They are completely isolated with their own internal supplies for the low voltage input and the output. They come in old style relay packs and with a socket on the bottom that can go into a standard relay socket for screw terminations.  They're calibratable with a span and zero pot. This is the kind of thing you need- with Isolation.  There are other vendors and they're available for DIN rails too.  I think this little pump with a bare op-amp output heading out into a dirty plant driving a bunch of cable needs more than a tweak of some caps values.  We haven't talked about grounds yet, I suspect this is the real issue.  If you take your delicate little op-amp output, go through a bunch of cable and then a single ended sense resistor that is grounded at the receiver, you just negated most of purpose of 4-20 mA.  4-20 mA loops need to exist as loops with the sender floating and the return current coming back to the sender.  You can establish a ground at only one point.  This application requires isolation.  You also have your input referenced to ground which is getting pulled or pushed by the remote receiver's ground.  Grounds in a industrial environment 400m away have nothing to do with  your ground.  I suspect that there are ground imbalances that are pulling that little LM358 way out of its abs maxes.  Put in an Action Pack and call it a day- fully isolated problem solvers.  Keep this circuit as a summer intern project for the future and maybe a lesson on 4-20 mA loops that the student will never forget.

You could use a 4-20 mA to 4-20 mA to preserve this circuit on your board.  Run your 4-20 mA in and let it produce isolated 4-20 mA for the industrial run.  Cleaner probably.

We know of IC's that perform conversion, these even have regulators built in for powering the circuit. Due to the chip shortage out PCB assembly folks cant get these and we are doing it old school. In reality I don't see why using op-amps would not work, we have this exact circuit working on a slightly different application for 3 years without any issues.
 
The following users thanked this post: jwet

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #35 on: December 13, 2022, 06:50:50 pm »
It looks like OP using a PWM DAC with a 1st order LPF. What carrier frequency? I would expect a lot of HF ripple coming in to the op-amp which might aggravate things.

We are not interested in harmonics, only interested in having a stable constant current circuit for converting the 0-5V board signal to 4-20mA. If we are introducing harmonics it is not deliberate and should be conditioned.
 

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 7007
  • Country: ca
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #36 on: December 13, 2022, 08:12:33 pm »
What is the source of the analog current command? Nice steady pure DC? Circuit diagram says otherwise. It's not harmonics, it's attenuation of the PWM carrier with the LPF.
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #37 on: December 13, 2022, 08:31:10 pm »
What is the source of the analog current command? Nice steady pure DC? Circuit diagram says otherwise. It's not harmonics, it's attenuation of the PWM carrier with the LPF.

The 5V is the output of an amplifier, this amplifies a signal from a Piezo sensor. It is usually stable and changes very little with time. 1663225-0

 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #38 on: December 13, 2022, 08:50:12 pm »
Have you run this with a capacitive load? Real world 4-20mA has a lot of cable capacitance, between the two wires as well as the shield.
I always use an emitter follower rather than a lone op-amp to drive 4-20mA but use higher compliance voltage of 24VDC rail. It's generally a catastrophe if the output shorts and goes full tilt, in most plant equipment. So I monitor the ouput voltage well to detect that fault.

I thought that this diagram may help to illustrate the local high voltage that we had thought was leading to a transient voltage spike.

 

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 7007
  • Country: ca
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #39 on: December 13, 2022, 10:41:46 pm »
Assuming the LM2904 is oscillating (or slewing), you can upsize C1601 and see if that helps, try a different (better) op-amp, where is a decoupling cap for pin 8 VCC?
I would make sure the current command is smooth DC, not HF with noise as the active rectifier is not band-limited.

Your grounding could be a problem as well, the 'common' from the HV return is extremely noisy and full of RF. The 4-20mA cable can act as a RF return as well.
It looks like a car ignition coil, which is going to kill electronics just for fun.
How your PC board is (earth) grounded is critical. I would also check the HV wiring is not leaking/corona.
 

Online vk6zgo

  • Super Contributor
  • ***
  • Posts: 7589
  • Country: au
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #40 on: December 14, 2022, 12:49:50 am »
Simply driving 20mA DC output causes the chip to dissipate 17V·20mA = 340mW.

Are you sure it isn't oscillating at a few hundred kHz on top of that?

358s are rather fond of oscillating.

We had a radio transmitter design, where a LM358 was part of the control circuit to select various power settings.
Several power supplies failed catastrophically while the thing was set to its lowest power setting.

This was counter-intuitive, but we found that on that setting, the 358 was oscillating.
The resulting 78kHz rectangular waveform went "rail to rail" Amplitude Modulating the Tx PAs between cutoff & saturation, and
killing the PSU.
The average power meter was quite happy, however!

A 220 ohm resistor between the output pin & the controlled circuit stopped the oscillation---shame the "rent a EE's" the manufacturer used didn't include that as a precaution.
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #41 on: December 14, 2022, 02:18:37 pm »
Assuming the LM2904 is oscillating (or slewing), you can upsize C1601 and see if that helps, try a different (better) op-amp, where is a decoupling cap for pin 8 VCC?
I would make sure the current command is smooth DC, not HF with noise as the active rectifier is not band-limited.

The 5V on the pre amp is well decoupled, the 24V VCC on pin 8 does not have decoupling. We are going to add decoupling to the PCB.

Your grounding could be a problem as well, the 'common' from the HV return is extremely noisy and full of RF. The 4-20mA cable can act as a RF return as well.
It looks like a car ignition coil, which is going to kill electronics just for fun.
How your PC board is (earth) grounded is critical. I would also check the HV wiring is not leaking/corona.

The Coil is an ignition coil with an internal switching circuit, I does create a lot of corona, we have been trying to make the coil fail the LM348 to no avail, I have even sparked to the ground pin of the LM348 and it has not failed. That being said the components all need TVS diodes for protection.
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #42 on: December 14, 2022, 02:25:11 pm »
Simply driving 20mA DC output causes the chip to dissipate 17V·20mA = 340mW.

Are you sure it isn't oscillating at a few hundred kHz on top of that?

358s are rather fond of oscillating.

We had a radio transmitter design, where a LM358 was part of the control circuit to select various power settings.
Several power supplies failed catastrophically while the thing was set to its lowest power setting.

This was counter-intuitive, but we found that on that setting, the 358 was oscillating.
The resulting 78kHz rectangular waveform went "rail to rail" Amplitude Modulating the Tx PAs between cutoff & saturation, and
killing the PSU.
The average power meter was quite happy, however!

A 220 ohm resistor between the output pin & the controlled circuit stopped the oscillation---shame the "rent a EE's" the manufacturer used didn't include that as a precaution.

I will do my best to change C1602 and C1603 to eliminate any change of oscillation. My Experience with oscillations is that its not a matter of throwing components at the problem, but rather simulating changes and then testing the board.

Any idea what I should use for C1602 and C1603 instead of the 470pf capacitors?
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #43 on: December 14, 2022, 02:28:46 pm »
But can you see what C1603 is doing?

It decreases closed loop differential gain of U1601B, which means that U1601C is mislead to believe that transmitted AC current is lower than in reality. If you remove the filter and test with 10kHz signal, you would likely find that the regulator transmits more current than at 10Hz, for the same input amplitude.

Furthermore, it ruins AC common mode rejection. Common mode signal present at the positive end of R1613 is simply passed to the output of U1601B at unity gain, due to direct feedback through C1603. This causes all sorts of extra oddities, dependent on load reactance.

The whole thing looks like its exact behavior is needlessly difficult to predict. But no, I don't have any sim example where it clearly oscillates. The phase dip I have shown is not -90°.


I don't think there would be much wrong with:
- removing C1603, to make U1601B work as proper differential amplifier, giving accurate (amplified) image of R1613 current, up to tens of kHz that this chip ought to be capable of
- increasing C1602 to a few nF (or more) to dumb down U1601C a little more; above a few kHz it will simply be a voltage follower, ignoring any feedback coming from U1601B

I ran your LTSpice model and noticed the Oscillation, I tried to change the values of C1602 and C1603 and could not  smooth out the ripple.
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #44 on: December 16, 2022, 03:16:49 pm »
358s are rather fond of oscillating.

Should I remove the two 470pf capacitors ?
 

Offline RogerThat

  • Regular Contributor
  • *
  • Posts: 83
  • Country: se
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #45 on: December 16, 2022, 04:11:52 pm »
I would suggest the following.

Groupe R1604 and R1606 in to one 1.2M...reduce BOM.
Remove: D1705
Move: D1706 to be in parallel to C1601. Most likely you can remove this one also, not needed due the high input resistance.
Add( isolation) resistors on both op amp outputs, 25-1000ohm, to avoid oscillations. some op amp don't like to directly drive capacitors. If you don't wont to add isolation resistors you could remove c1602,c1612 for testing.

A trick to greatly improve ESD tolerance is to put small resistor on all inputs/outputs to your chips. Resistors in the size of 10-100ohm helps a lot. In your circuit all inputs/outputs all ready have resistors in front of them except the powersupply...I would investigate the power supply further.

It's not clear from your schematics(where does +MA go? I hope it doesn't go, thru a uninterrupted cable, 400m to the receiver) but make sure you have isolation between the circuit and the line driver...
« Last Edit: December 16, 2022, 04:39:54 pm by RogerThat »
 

Offline RogerThat

  • Regular Contributor
  • *
  • Posts: 83
  • Country: se
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #46 on: December 16, 2022, 04:31:06 pm »
The SMBJ24A have a maximum clamping voltage of 38.9V, I would choose a SMBJ18A instead and adjust supply voltage accordingly. Maximum voltage for the lm358 is 32V. LM2904 is 26V maximum.
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #47 on: December 20, 2022, 10:26:31 pm »
It's not clear from your schematics(where does +MA go? I hope it doesn't go, thru a uninterrupted cable, 400m to the receiver) but make sure you have isolation between the circuit and the line driver...

The 4-20mA is connected to a ~400 Foot (can be meters) cable to a shunt resistor where we monitor the volt drop over a resistor. The cable is powered by the op-amp.

How would I add Isolation between the circuit and the driver?
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #48 on: December 20, 2022, 10:29:25 pm »
Maximum voltage for the lm358 is 32V. LM2904 is 26V maximum.

We are using the onsemi LM2904, this has a max voltage of 32V.

https://datasheet.lcsc.com/lcsc/1811012110_onsemi-LM2904DR2G_C18229.pdf
 

Offline jwet

  • Frequent Contributor
  • **
  • Posts: 461
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #49 on: December 21, 2022, 02:53:37 am »
Look back to post 32- this is what I was talking about.  This is your problem.
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #50 on: December 21, 2022, 07:59:18 pm »
I did not find any IC 4-20mA to 4-20mA Isolation modules to add the the board.
 

Offline RogerThat

  • Regular Contributor
  • *
  • Posts: 83
  • Country: se
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #51 on: December 21, 2022, 09:25:50 pm »
You can build an isolator from two optocouplers, an op amp and some resistors. One optocoupler to adjust the current in the loop and one for feedback, the op amp as "controller". There is no need for a specific IC.

Edit: I normal 4-20mA circuits you define who is powering the current loop: sender or reciver. The one who is not powering the loop need to interact with the loop thru an isolator. The isolator prevents current flowing from sender to reciver. You migh have the case where the ground might be hundreds of volts different between the two...you can figure out what happens if that is the case and you don't have isolation.


« Last Edit: December 21, 2022, 09:31:45 pm by RogerThat »
 

Offline djzuluTopic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: LM358 failed after 30 minutes and gets hot in 4-20mA pump circuit
« Reply #52 on: December 23, 2022, 12:06:25 am »
Here is a timeline of the failure,

1670394-0

The one channel failed relatively fast, it failed concurrently with a high voltage event.

It failed and then recovered before failing permanently.

We have now added TVS diodes to the inputs and the outputs of the board and will evaluate the board in January.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf