Author Topic: Discharge through an Op-Amp/Comparator output?  (Read 1012 times)

0 Members and 1 Guest are viewing this topic.

Offline luissizzleTopic starter

  • Newbie
  • Posts: 9
  • Country: us
Discharge through an Op-Amp/Comparator output?
« on: August 03, 2021, 01:07:44 am »
An ideal Op-Amp has 0Ohm output impedance. Would I be able to discharge a capacitor through the output of an op-amp? In my design, im actually using a comparator, which I assume has an op-amp at it's output. Im using the LT1017.

I simulated this in LTSpice, and it works, but i'd appreciate any feedback from the analog veterans on here. Thanks!
- Luis Barragan
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3035
  • Country: us
Re: Discharge through an Op-Amp/Comparator output?
« Reply #1 on: August 03, 2021, 03:20:47 am »
I'm no analog veteran, but the datasheet should answer this.

The output sink current has a typical value of 65 mA.

Note the asymmetry in source and sink current capability. Op-amps typically can source and sink the same amount of current, but since some comparators have open-collector outputs you really need to check the datasheet.



Datasheet link: https://www.analog.com/media/en/technical-documentation/data-sheets/10178ff.pdf
 
The following users thanked this post: luissizzle

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2389
  • Country: gb
  • Recovering Electrical Engineer
Re: Discharge through an Op-Amp/Comparator output?
« Reply #2 on: August 03, 2021, 07:52:00 am »
The 0R resistance is created by the negative feedback, the equivalent output impedance referred to the driving capabilty not an internal resistance as such. Discharching a high value cap will just melt the output stage of the opamp.
Why would you want to do that?
 
The following users thanked this post: luissizzle

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: Discharge through an Op-Amp/Comparator output?
« Reply #3 on: August 03, 2021, 08:11:27 am »
Op-amps normally have a current limited output and won't be damaged. Some comparators have a current limited output, others not. As long as the capacitor isn't too big, it can be discharged into an op-amp or comparator, without damaging it. Either way, read the data sheet.
 
The following users thanked this post: luissizzle

Offline luissizzleTopic starter

  • Newbie
  • Posts: 9
  • Country: us
Re: Discharge through an Op-Amp/Comparator output?
« Reply #4 on: August 03, 2021, 03:15:08 pm »
I've never noticed that spec on a datasheet before. Thank you! I was looking for discharge characteristics, but couldn't find much.

I'm no analog veteran, but the datasheet should answer this.

The output sink current has a typical value of 65 mA.

Note the asymmetry in source and sink current capability. Op-amps typically can source and sink the same amount of current, but since some comparators have open-collector outputs you really need to check the datasheet.

(Attachment Link)

Datasheet link: https://www.analog.com/media/en/technical-documentation/data-sheets/10178ff.pdf
- Luis Barragan
 

Offline luissizzleTopic starter

  • Newbie
  • Posts: 9
  • Country: us
Re: Discharge through an Op-Amp/Comparator output?
« Reply #5 on: August 03, 2021, 03:15:43 pm »
It's not a huge cap, and the discharge rate is designed to be very slow. There is no risk of burning the output stage of the comparator, especially after looking at the output sink current spec noted above. I just needed to verify that there was a path to ground. Thanks for your input!

The 0R resistance is created by the negative feedback, the equivalent output impedance referred to the driving capabilty not an internal resistance as such. Discharching a high value cap will just melt the output stage of the opamp.
Why would you want to do that?
- Luis Barragan
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: Discharge through an Op-Amp/Comparator output?
« Reply #6 on: August 03, 2021, 04:17:39 pm »
It's not a huge cap, and the discharge rate is designed to be very slow. There is no risk of burning the output stage of the comparator, especially after looking at the output sink current spec noted above. I just needed to verify that there was a path to ground. Thanks for your input!
Define not huge? What voltage will it be charge to? And how often will it occur? You need to think in terms of energy and the frequency of the discharge.

An op-amp will only have a very low resistance, with negative feedback, up to a certain current. Beyond that, the output resistance will rise dramatically. The output of an op-amp, with negative feedback, is also inductive, which can cause oscillation, when a capacitor is connected to it.
 

Offline luissizzleTopic starter

  • Newbie
  • Posts: 9
  • Country: us
Re: Discharge through an Op-Amp/Comparator output?
« Reply #7 on: August 04, 2021, 12:39:07 am »
There is a 22uF capacitor that discharges through a series 402K resistor at the output of the comparator. The maximum discharge current is 12uA. This doesn't happen often at all. It's part of an undervoltage detection circuit. When the comparator goes low for around 8s, given by the RC circuit, a secondary circuit gets enabled.

It's not a huge cap, and the discharge rate is designed to be very slow. There is no risk of burning the output stage of the comparator, especially after looking at the output sink current spec noted above. I just needed to verify that there was a path to ground. Thanks for your input!
Define not huge? What voltage will it be charge to? And how often will it occur? You need to think in terms of energy and the frequency of the discharge.

An op-amp will only have a very low resistance, with negative feedback, up to a certain current. Beyond that, the output resistance will rise dramatically. The output of an op-amp, with negative feedback, is also inductive, which can cause oscillation, when a capacitor is connected to it.
- Luis Barragan
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf