Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #465314 > unrolled thread

Comparator as operational amplifier

Started byKlaus Kragelund <klauskvik@hotmail.com>
First post2017-06-23 00:22 -0700
Last post2017-07-06 12:10 -0700
Articles 20 on this page of 26 — 8 participants

Back to article view | Back to sci.electronics.design


Contents

  Comparator as operational amplifier Klaus Kragelund <klauskvik@hotmail.com> - 2017-06-23 00:22 -0700
    Re: Comparator as operational amplifier "Tim Williams" <tiwill@seventransistorlabs.com> - 2017-06-23 02:30 -0500
      Re: Comparator as operational amplifier Klaus Kragelund <klauskvik@hotmail.com> - 2017-06-23 01:01 -0700
    Re: Comparator as operational amplifier Klaus Kragelund <klauskvik@hotmail.com> - 2017-06-23 00:33 -0700
      Re: Comparator as operational amplifier Klaus Kragelund <klauskvik@hotmail.com> - 2017-06-23 00:53 -0700
    Re: Comparator as operational amplifier tabbypurr@gmail.com - 2017-06-23 02:07 -0700
      Re: Comparator as operational amplifier tabbypurr@gmail.com - 2017-06-23 02:08 -0700
        Re: Comparator as operational amplifier Klaus Kragelund <klauskvik@hotmail.com> - 2017-06-23 02:10 -0700
      Re: Comparator as operational amplifier Klaus Kragelund <klauskvik@hotmail.com> - 2017-06-23 02:09 -0700
        Re: Comparator as operational amplifier tabbypurr@gmail.com - 2017-06-23 02:43 -0700
          Re: Comparator as operational amplifier Klaus Kragelund <klauskvik@hotmail.com> - 2017-06-23 03:31 -0700
      Re: Comparator as operational amplifier Klaus Kragelund <klauskvik@hotmail.com> - 2017-06-23 02:11 -0700
    Re: Comparator as operational amplifier piglet <erichpwagner@hotmail.com> - 2017-06-23 10:34 +0100
      Re: Comparator as operational amplifier "Tim Williams" <tiwill@seventransistorlabs.com> - 2017-06-23 05:33 -0500
        Re: Comparator as operational amplifier "Tim Williams" <tiwill@seventransistorlabs.com> - 2017-06-23 05:41 -0500
      Re: Comparator as operational amplifier Klaus Kragelund <klauskvik@hotmail.com> - 2017-06-23 03:34 -0700
      Re: Comparator as operational amplifier Klaus Kragelund <klauskvik@hotmail.com> - 2017-07-04 14:18 -0700
        Re: Comparator as operational amplifier Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-07-04 15:38 -0700
          Re: Comparator as operational amplifier Klaus Kragelund <klauskvik@hotmail.com> - 2017-07-05 15:39 -0700
            Re: Comparator as operational amplifier Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-07-05 16:13 -0700
    Re: Comparator as operational amplifier John Larkin <jjlarkin@highlandtechnology.com> - 2017-06-23 03:31 -0700
      Re: Comparator as operational amplifier Winfield Hill <hill@rowland.harvard.edu> - 2017-07-05 18:39 -0700
    Re: Comparator as operational amplifier bloggs.fredbloggs.fred@gmail.com - 2017-07-06 03:55 -0700
      Re: Comparator as operational amplifier John Larkin <jjlarkin@highlandtechnology.com> - 2017-07-06 07:39 -0700
      Re: Comparator as operational amplifier Klaus Kragelund <klauskvik@hotmail.com> - 2017-07-06 10:25 -0700
        Re: Comparator as operational amplifier bloggs.fredbloggs.fred@gmail.com - 2017-07-06 12:10 -0700

Page 1 of 2  [1] 2  Next page →


#465314 — Comparator as operational amplifier

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2017-06-23 00:22 -0700
SubjectComparator as operational amplifier
Message-ID<bdb43ce4-02c3-445b-a662-edab96f6414d@googlegroups.com>
Hi

So as always, I am looking for the last cent

I have a design where I need a pretty fast opamp, something that settles the output within 1 us

I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp

So first attempt was this:

https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs

(please let me know if the link does not work, Dropbox has changed the way links can be shared)

How it works?:

The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider

The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.

So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered

The circuit works, but I wonder if there is a better way to do it?

Regards

Klaus

[toc] | [next] | [standalone]


#465316

From"Tim Williams" <tiwill@seventransistorlabs.com>
Date2017-06-23 02:30 -0500
Message-ID<oiifs5$1k8$1@dont-email.me>
In reply to#465314
You might want to put that on public share, or just post it on Imgur or 
something like that and avoid the huge pile that is Dropbox.

Tim

-- 
Seven Transistor Labs, LLC
Electrical Engineering Consultation and Contract Design
Website: http://seventransistorlabs.com


"Klaus Kragelund" <klauskvik@hotmail.com> wrote in message 
news:bdb43ce4-02c3-445b-a662-edab96f6414d@googlegroups.com...
Hi

So as always, I am looking for the last cent

I have a design where I need a pretty fast opamp, something that settles the 
output within 1 us

I have a free 25ns propagation delay comparator in the design, so I thought 
I could trick that comparator into changing gender to a opamp

So first attempt was this:

https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs

(please let me know if the link does not work, Dropbox has changed the way 
links can be shared)

How it works?:

The input is a step signal from 100mV to 200mV, which I would like to have 
amplified 15 times, hence the resistive divider

The output goes to an ADC, and before the ADC gets triggered, the switch U3 
is closed. So the RC filter R4 and C3 oscillates around the output voltage 
of 3V. The RC ramp is set so the output will ramp up in about 300ns.

So now the capacitor is charged to about the correct voltage, but with a lot 
of ripple. Then, the switch is opened up, and the ripple is now low since 
the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that 
allows the output to settle to the correct value before the ADC is triggered

The circuit works, but I wonder if there is a better way to do it?

Regards

Klaus 

[toc] | [prev] | [next] | [standalone]


#465320

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2017-06-23 01:01 -0700
Message-ID<7a1bac2f-9cb4-428b-8f73-a27697c77166@googlegroups.com>
In reply to#465316
On Friday, June 23, 2017 at 9:30:51 AM UTC+2, Tim Williams wrote:
> You might want to put that on public share, or just post it on Imgur or 
> something like that and avoid the huge pile that is Dropbox.
> 
I didn't know that one, just registred, thanks :-)

Link with Imgur:

http://imgur.com/WOOs17V

Cheers

Klaus

[toc] | [prev] | [next] | [standalone]


#465317

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2017-06-23 00:33 -0700
Message-ID<15cb4bf1-a5a8-449d-ba2c-00fd29a287f4@googlegroups.com>
In reply to#465314
On Friday, June 23, 2017 at 9:22:24 AM UTC+2, Klaus Kragelund wrote:
> Hi
> 
> So as always, I am looking for the last cent
> 
> I have a design where I need a pretty fast opamp, something that settles the output within 1 us
> 
> I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp
> 
> So first attempt was this:
> 
> https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs
> 
> (please let me know if the link does not work, Dropbox has changed the way links can be shared)
> 
> How it works?:
> 
> The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider
> 
> The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.
> 
> So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered
> 
> The circuit works, but I wonder if there is a better way to do it?
> 
Note, there is a small error on the output. This error is caused by the function of the circuit, namely that the output is a filtered version of the voltage in the Out25 node. And the voltage in the Out25 node is not symmetric, since the output voltage is charged from 5V and discharged to 0V.

That could be solved by symmetric current sources instead in both rails, but that is a cost added :-(

Cheers

Klaus

[toc] | [prev] | [next] | [standalone]


#465319

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2017-06-23 00:53 -0700
Message-ID<d652d503-0065-4844-8bab-8e1c5d94444d@googlegroups.com>
In reply to#465317
On Friday, June 23, 2017 at 9:33:22 AM UTC+2, Klaus Kragelund wrote:
> On Friday, June 23, 2017 at 9:22:24 AM UTC+2, Klaus Kragelund wrote:
> > Hi
> > 
> > So as always, I am looking for the last cent
> > 
> > I have a design where I need a pretty fast opamp, something that settles the output within 1 us
> > 
> > I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp
> > 
> > So first attempt was this:
> > 
> > https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs
> > 
> > (please let me know if the link does not work, Dropbox has changed the way links can be shared)
> > 
> > How it works?:
> > 
> > The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider
> > 
> > The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.
> > 
> > So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered
> > 
> > The circuit works, but I wonder if there is a better way to do it?
> > 
> Note, there is a small error on the output. This error is caused by the function of the circuit, namely that the output is a filtered version of the voltage in the Out25 node. And the voltage in the Out25 node is not symmetric, since the output voltage is charged from 5V and discharged to 0V.
> 
> That could be solved by symmetric current sources instead in both rails, but that is a cost added :-(
> 

The error can be removed almost, by letting R6 sense on the output (Filt25)

Cheers

Klaus

[toc] | [prev] | [next] | [standalone]


#465322

Fromtabbypurr@gmail.com
Date2017-06-23 02:07 -0700
Message-ID<9202385c-0b11-4769-89ee-51d09ecb5cbf@googlegroups.com>
In reply to#465314
On Friday, 23 June 2017 08:22:24 UTC+1, Klaus Kragelund  wrote:
> Hi
> 
> So as always, I am looking for the last cent
> 
> I have a design where I need a pretty fast opamp, something that settles the output within 1 us
> 
> I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp
> 
> So first attempt was this:
> 
> https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs
> 
> (please let me know if the link does not work, Dropbox has changed the way links can be shared)
> 
> How it works?:
> 
> The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider
> 
> The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.
> 
> So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered
> 
> The circuit works, but I wonder if there is a better way to do it?
> 
> Regards
> 
> Klaus

Could your comparator operate linearly? C in the nfb to give stability.


NT

[toc] | [prev] | [next] | [standalone]


#465323

Fromtabbypurr@gmail.com
Date2017-06-23 02:08 -0700
Message-ID<126de026-4b8c-4704-b36e-adf98b4f43e2@googlegroups.com>
In reply to#465322
On Friday, 23 June 2017 10:07:10 UTC+1, tabby wrote:
> On Friday, 23 June 2017 08:22:24 UTC+1, Klaus Kragelund  wrote:
> > Hi
> > 
> > So as always, I am looking for the last cent
> > 
> > I have a design where I need a pretty fast opamp, something that settles the output within 1 us
> > 
> > I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp
> > 
> > So first attempt was this:
> > 
> > https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs
> > 
> > (please let me know if the link does not work, Dropbox has changed the way links can be shared)
> > 
> > How it works?:
> > 
> > The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider
> > 
> > The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.
> > 
> > So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered
> > 
> > The circuit works, but I wonder if there is a better way to do it?
> > 
> > Regards
> > 
> > Klaus
> 
> Could your comparator operate linearly? C in the nfb to give stability.
> 
> 
> NT

Or the other way round, could one of your comparators be replaced by an opamp, leaving you a spare opamp?


NT

[toc] | [prev] | [next] | [standalone]


#465325

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2017-06-23 02:10 -0700
Message-ID<e0e6d1cc-e12c-4dc2-a658-2e3ee064590e@googlegroups.com>
In reply to#465323
On Friday, June 23, 2017 at 11:08:07 AM UTC+2, tabb...@gmail.com wrote:
> On Friday, 23 June 2017 10:07:10 UTC+1, tabby wrote:
> > On Friday, 23 June 2017 08:22:24 UTC+1, Klaus Kragelund  wrote:
> > > Hi
> > > 
> > > So as always, I am looking for the last cent
> > > 
> > > I have a design where I need a pretty fast opamp, something that settles the output within 1 us
> > > 
> > > I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp
> > > 
> > > So first attempt was this:
> > > 
> > > https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs
> > > 
> > > (please let me know if the link does not work, Dropbox has changed the way links can be shared)
> > > 
> > > How it works?:
> > > 
> > > The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider
> > > 
> > > The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.
> > > 
> > > So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered
> > > 
> > > The circuit works, but I wonder if there is a better way to do it?
> > > 
> > > Regards
> > > 
> > > Klaus
> > 
> > Could your comparator operate linearly? C in the nfb to give stability.
> > 
> > 
> > NT
> 
> Or the other way round, could one of your comparators be replaced by an opamp, leaving you a spare opamp?
> 
> 
That is not possible, sorry

[toc] | [prev] | [next] | [standalone]


#465324

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2017-06-23 02:09 -0700
Message-ID<a1f9de22-5aec-4877-98c1-658299b4a27e@googlegroups.com>
In reply to#465322
On Friday, June 23, 2017 at 11:07:10 AM UTC+2, tabb...@gmail.com wrote:
> On Friday, 23 June 2017 08:22:24 UTC+1, Klaus Kragelund  wrote:
> > Hi
> > 
> > So as always, I am looking for the last cent
> > 
> > I have a design where I need a pretty fast opamp, something that settles the output within 1 us
> > 
> > I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp
> > 
> > So first attempt was this:
> > 
> > https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs
> > 
> > (please let me know if the link does not work, Dropbox has changed the way links can be shared)
> > 
> > How it works?:
> > 
> > The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider
> > 
> > The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.
> > 
> > So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered
> > 
> > The circuit works, but I wonder if there is a better way to do it?
> > 
> > Regards
> > 
> > Klaus
> 
> Could your comparator operate linearly? C in the nfb to give stability.
> 
> 
I tried that, but it doesn't work right

Cheers

Klaus

[toc] | [prev] | [next] | [standalone]


#465332

Fromtabbypurr@gmail.com
Date2017-06-23 02:43 -0700
Message-ID<508d7cc2-84e2-4ea6-8bd3-7f3737b7371c@googlegroups.com>
In reply to#465324
On Friday, 23 June 2017 10:10:02 UTC+1, Klaus Kragelund  wrote:
> On Friday, June 23, 2017 at 11:07:10 AM UTC+2, tabby wrote:
> > On Friday, 23 June 2017 08:22:24 UTC+1, Klaus Kragelund  wrote:
> > > Hi
> > > 
> > > So as always, I am looking for the last cent
> > > 
> > > I have a design where I need a pretty fast opamp, something that settles the output within 1 us
> > > 
> > > I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp
> > > 
> > > So first attempt was this:
> > > 
> > > https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs
> > > 
> > > (please let me know if the link does not work, Dropbox has changed the way links can be shared)
> > > 
> > > How it works?:
> > > 
> > > The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider
> > > 
> > > The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.
> > > 
> > > So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered
> > > 
> > > The circuit works, but I wonder if there is a better way to do it?
> > > 
> > > Regards
> > > 
> > > Klaus
> > 
> > Could your comparator operate linearly? C in the nfb to give stability.
> > 
> > 
> I tried that, but it doesn't work right
> 
> Cheers
> 
> Klaus

What you've posted seems to work, but if you need to add a transistor & control for it for the ripple filter, are you really much ahead on just using a 1 tr amplifier stage & no opamp/comparator?


NT

[toc] | [prev] | [next] | [standalone]


#465335

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2017-06-23 03:31 -0700
Message-ID<912817d1-2c20-4538-ac4a-13c3cdcb916c@googlegroups.com>
In reply to#465332
On Friday, June 23, 2017 at 11:43:51 AM UTC+2, tabb...@gmail.com wrote:
> On Friday, 23 June 2017 10:10:02 UTC+1, Klaus Kragelund  wrote:
> > On Friday, June 23, 2017 at 11:07:10 AM UTC+2, tabby wrote:
> > > On Friday, 23 June 2017 08:22:24 UTC+1, Klaus Kragelund  wrote:
> > > > Hi
> > > > 
> > > > So as always, I am looking for the last cent
> > > > 
> > > > I have a design where I need a pretty fast opamp, something that settles the output within 1 us
> > > > 
> > > > I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp
> > > > 
> > > > So first attempt was this:
> > > > 
> > > > https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs
> > > > 
> > > > (please let me know if the link does not work, Dropbox has changed the way links can be shared)
> > > > 
> > > > How it works?:
> > > > 
> > > > The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider
> > > > 
> > > > The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.
> > > > 
> > > > So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered
> > > > 
> > > > The circuit works, but I wonder if there is a better way to do it?
> > > > 
> > > > Regards
> > > > 
> > > > Klaus
> > > 
> > > Could your comparator operate linearly? C in the nfb to give stability.
> > > 
> > > 
> > I tried that, but it doesn't work right
> > 
> > Cheers
> > 
> > Klaus
> 
> What you've posted seems to work, but if you need to add a transistor & control for it for the ripple filter, are you really much ahead on just using a 1 tr amplifier stage & no opamp/comparator?
> 
I can add a PMOSFET for the switch, and control that from the microcontroller. Just place a timer ahead of the DMA that triggers the ADC, so I have 500ns to do the trick

I am looking at the very last cent, and in this case I save 7 cents even though I have to place a MOSFET in there. My fellow peers at work will probably need some convincing, not all of them like to play to many tricks .-)

Cheers

Klaus

[toc] | [prev] | [next] | [standalone]


#465326

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2017-06-23 02:11 -0700
Message-ID<83e502bd-f132-4b0f-82b6-357667b00b76@googlegroups.com>
In reply to#465322
On Friday, June 23, 2017 at 11:07:10 AM UTC+2, tabb...@gmail.com wrote:
> On Friday, 23 June 2017 08:22:24 UTC+1, Klaus Kragelund  wrote:
> > Hi
> > 
> > So as always, I am looking for the last cent
> > 
> > I have a design where I need a pretty fast opamp, something that settles the output within 1 us
> > 
> > I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp
> > 
> > So first attempt was this:
> > 
> > https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs
> > 
> > (please let me know if the link does not work, Dropbox has changed the way links can be shared)
> > 
> > How it works?:
> > 
> > The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider
> > 
> > The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.
> > 
> > So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered
> > 
> > The circuit works, but I wonder if there is a better way to do it?
> > 
> > Regards
> > 
> > Klaus
> 
> Could your comparator operate linearly? C in the nfb to give stability.
> 
> 
Crap, I just found out I used a comparator for the simulation with internal hysteresis. I will replace and get back

Cheers

Klaus

[toc] | [prev] | [next] | [standalone]


#465330

Frompiglet <erichpwagner@hotmail.com>
Date2017-06-23 10:34 +0100
Message-ID<oiin55$n2g$1@dont-email.me>
In reply to#465314
On 23/06/2017 08:22, Klaus Kragelund wrote:
> Hi
>
> So as always, I am looking for the last cent
>
> I have a design where I need a pretty fast opamp, something that settles the output within 1 us
>
> I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp
>
> So first attempt was this:
>
> https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs
>
> (please let me know if the link does not work, Dropbox has changed the way links can be shared)
>
> How it works?:
>
> The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider
>
> The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.
>
> So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered
>
> The circuit works, but I wonder if there is a better way to do it?
>
> Regards
>
> Klaus
>

NatSemi AN-74 showed how to compensate the LM339 comparator to amplify 
but those strategies may be too slow for your app also a series RC 
between the inputs may reduce input Z too much.

Your self osc PWM may be fast enough but cleaning the ripple quickly 
might need an op-amp :)

piglet

[toc] | [prev] | [next] | [standalone]


#465336

From"Tim Williams" <tiwill@seventransistorlabs.com>
Date2017-06-23 05:33 -0500
Message-ID<oiiqis$2d4$1@dont-email.me>
In reply to#465330
"piglet" <erichpwagner@hotmail.com> wrote in message 
news:oiin55$n2g$1@dont-email.me...
> NatSemi AN-74 showed how to compensate the LM339 comparator to amplify but 
> those strategies may be too slow for your app also a series RC between the 
> inputs may reduce input Z too much.
>

It basically consists of loading the output with "way too much" C, shifting 
the poles down (in frequency) low enough that they sneak back onto the left 
half-plane.

Or squashing them down so small that they're invisible at a glance 
(meanwhile the comparator continues singing away the few millivolts and 
millamperes it has).

I recall reading one of the LT "fast" comparators was stable in some way, 
but I can't find a reference.


> Your self osc PWM may be fast enough but cleaning the ripple quickly might 
> need an op-amp :)

In other words, how fast and quiet do you need it -- how desperate for an 
op-amp are you?

Tim

-- 
Seven Transistor Labs, LLC
Electrical Engineering Consultation and Contract Design
Website: http://seventransistorlabs.com 

[toc] | [prev] | [next] | [standalone]


#465339

From"Tim Williams" <tiwill@seventransistorlabs.com>
Date2017-06-23 05:41 -0500
Message-ID<oiir27$3rq$1@dont-email.me>
In reply to#465336
"Tim Williams" <tiwill@seventransistorlabs.com> wrote in message 
news:oiiqis$2d4$1@dont-email.me...
> I recall reading one of the LT "fast" comparators was stable in some way, 
> but I can't find a reference.
>

Think it was the LT1016:
https://cds.linear.com/docs/en/datasheet/1016fc.pdf
Headline suggests it's "stable" within the active output region (i.e., the 
inputs near zero offset, in the linear range), though with respect to supply 
current and/or PSRR, not output with respect to input.  It's also claimed to 
have 50 GHz GBW.

Presumably, you wouldn't be able to use it at very low noise gain. :)

Tim

-- 
Seven Transistor Labs, LLC
Electrical Engineering Consultation and Contract Design
Website: http://seventransistorlabs.com 

[toc] | [prev] | [next] | [standalone]


#465337

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2017-06-23 03:34 -0700
Message-ID<6e4c79f7-b020-4eb4-8ae8-6c518a03584c@googlegroups.com>
In reply to#465330
On Friday, June 23, 2017 at 11:35:03 AM UTC+2, piglet wrote:
> On 23/06/2017 08:22, Klaus Kragelund wrote:
> > Hi
> >
> > So as always, I am looking for the last cent
> >
> > I have a design where I need a pretty fast opamp, something that settles the output within 1 us
> >
> > I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp
> >
> > So first attempt was this:
> >
> > https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs
> >
> > (please let me know if the link does not work, Dropbox has changed the way links can be shared)
> >
> > How it works?:
> >
> > The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider
> >
> > The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.
> >
> > So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered
> >
> > The circuit works, but I wonder if there is a better way to do it?
> >
> > Regards
> >
> > Klaus
> >
> 
> NatSemi AN-74 showed how to compensate the LM339 comparator to amplify 
> but those strategies may be too slow for your app also a series RC 
> between the inputs may reduce input Z too much.
> 

Yes, the reason it did not work was since I had that opamp model with intrinsic hysteresis. Without it, the loop behaves, and the cap compensate method works now, and that's a better solution than triggering a MOSFET to change the RC constant

> Your self osc PWM may be fast enough but cleaning the ripple quickly 
> might need an op-amp :)
> 

Yes. Correct. The ADC is a 12 bit one, so I need to have the ripple down in close to 1mV in order not to introduce to much error

Cheers

Klaus

[toc] | [prev] | [next] | [standalone]


#466899

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2017-07-04 14:18 -0700
Message-ID<da543c6f-f7d6-45ce-9681-51f6cc10a684@googlegroups.com>
In reply to#465330
On Friday, June 23, 2017 at 11:35:03 AM UTC+2, piglet wrote:
> On 23/06/2017 08:22, Klaus Kragelund wrote:
> > Hi
> >
> > So as always, I am looking for the last cent
> >
> > I have a design where I need a pretty fast opamp, something that settles the output within 1 us
> >
> > I have a free 25ns propagation delay comparator in the design, so I thought I could trick that comparator into changing gender to a opamp
> >
> > So first attempt was this:
> >
> > https://www.dropbox.com/l/scl/AAA0Q564c4zABf23i2HmIUbsbcyWmFTynLs
> >
> > (please let me know if the link does not work, Dropbox has changed the way links can be shared)
> >
> > How it works?:
> >
> > The input is a step signal from 100mV to 200mV, which I would like to have amplified 15 times, hence the resistive divider
> >
> > The output goes to an ADC, and before the ADC gets triggered, the switch U3 is closed. So the RC filter R4 and C3 oscillates around the output voltage of 3V. The RC ramp is set so the output will ramp up in about 300ns.
> >
> > So now the capacitor is charged to about the correct voltage, but with a lot of ripple. Then, the switch is opened up, and the ripple is now low since the charge time is a lot longer (RC ramp is now R¤/R5 and C3), but that allows the output to settle to the correct value before the ADC is triggered
> >
> > The circuit works, but I wonder if there is a better way to do it?
> >
> > Regards
> >
> > Klaus
> >
> 
> NatSemi AN-74 showed how to compensate the LM339 comparator to amplify 
> but those strategies may be too slow for your app also a series RC 
> between the inputs may reduce input Z too much.
> 

The app note referenced translates to this circuit in my simulation, that converts a comparator to an opamp:

https://www.dropbox.com/pri/get/Public/ComparatorAsOpampRev2.pdf?_subject_uid=44228185&w=AADFVEPm7mOnFSvS9gfm-DIf4O7LU9cYf3A3fI3wwi7W-w


App note page 26:

http://www.ti.com/lit/an/snoa654a/snoa654a.pdf

But, doesn't the function of the feedback capacitor assume that the output of the comparator is in a linear mode with respect to the feedback?

Lets say the comparator is burried inside a microcontroller and the output of the comparator is inverted 2 times due to pin buffers on the microcontroller, would the feedback trick still work when propagation delay effects come into play?

Regards

Klaus

[toc] | [prev] | [next] | [standalone]


#466904

FromJim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com>
Date2017-07-04 15:38 -0700
Message-ID<m26olcthq1dfng7fqk2rfoshnugdqab50u@4ax.com>
In reply to#466899
On Tue, 4 Jul 2017 14:18:24 -0700 (PDT), Klaus Kragelund
<klauskvik@hotmail.com> wrote:

[snip]
>> 
>
>The app note referenced translates to this circuit in my simulation, that converts a comparator to an opamp:
>
>https://www.dropbox.com/pri/get/Public/ComparatorAsOpampRev2.pdf?_subject_uid=44228185&w=AADFVEPm7mOnFSvS9gfm-DIf4O7LU9cYf3A3fI3wwi7W-w

Can't view, requires login.

>
>
>App note page 26:
>
>http://www.ti.com/lit/an/snoa654a/snoa654a.pdf
>
>But, doesn't the function of the feedback capacitor assume that the output of the comparator is in a linear mode with respect to the feedback?
>
>Lets say the comparator is burried inside a microcontroller and the output of the comparator is inverted 2 times due to pin buffers on the microcontroller, would the feedback trick still work when propagation delay effects come into play?
>
>Regards
>
>Klaus

Probably going to sing, but you might get lucky with the extra delays,
if short enough, the effective pole locations will occur beyond the
GBW.
		
                                        ...Jim Thompson
-- 
| James E.Thompson                                 |    mens     |
| Analog Innovations                               |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| STV, Queen Creek, AZ 85142    Skype: skypeanalog |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |

             I'm looking for work... see my website.

     Thinking outside the box... producing elegant solutions.

[toc] | [prev] | [next] | [standalone]


#467083

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2017-07-05 15:39 -0700
Message-ID<503c6204-ae5f-44c7-81b6-8f373c9405b6@googlegroups.com>
In reply to#466904
On Wednesday, July 5, 2017 at 12:38:55 AM UTC+2, Jim Thompson wrote:
> On Tue, 4 Jul 2017 14:18:24 -0700 (PDT), Klaus Kragelund
> <klauskvik@hotmail.com> wrote:
> 
> [snip]
> >> 
> >
> >The app note referenced translates to this circuit in my simulation, that converts a comparator to an opamp:
> >
> >https://www.dropbox.com/pri/get/Public/ComparatorAsOpampRev2.pdf?_subject_uid=44228185&w=AADFVEPm7mOnFSvS9gfm-DIf4O7LU9cYf3A3fI3wwi7W-w
> 
> Can't view, requires login.
> 

Here is it on another page, including 2x stages simulating a port (with 2N7002 and BSS84, way to slow, I know):

http://imgur.com/fZmSP8x

Cheers

Klaus

[toc] | [prev] | [next] | [standalone]


#467087

FromJim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com>
Date2017-07-05 16:13 -0700
Message-ID<6qrqlcd2g480seac9vapvmr66e9ii2pbdf@4ax.com>
In reply to#467083
On Wed, 5 Jul 2017 15:39:41 -0700 (PDT), Klaus Kragelund
<klauskvik@hotmail.com> wrote:

>On Wednesday, July 5, 2017 at 12:38:55 AM UTC+2, Jim Thompson wrote:
>> On Tue, 4 Jul 2017 14:18:24 -0700 (PDT), Klaus Kragelund
>> <klauskvik@hotmail.com> wrote:
>> 
>> [snip]
>> >> 
>> >
>> >The app note referenced translates to this circuit in my simulation, that converts a comparator to an opamp:
>> >
>> >https://www.dropbox.com/pri/get/Public/ComparatorAsOpampRev2.pdf?_subject_uid=44228185&w=AADFVEPm7mOnFSvS9gfm-DIf4O7LU9cYf3A3fI3wwi7W-w
>> 
>> Can't view, requires login.
>> 
>
>Here is it on another page, including 2x stages simulating a port (with 2N7002 and BSS84, way to slow, I know):
>
>http://imgur.com/fZmSP8x
>
>Cheers
>
>Klaus

The response is going to be dominated by the output load capacitance.
The equivalent overall gm is going to be very high.  Analyzing that
will be nigh on impossible.  Experiment and pray ;-)
		
                                        ...Jim Thompson
-- 
| James E.Thompson                                 |    mens     |
| Analog Innovations                               |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| STV, Queen Creek, AZ 85142    Skype: skypeanalog |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |

             I'm looking for work... see my website.

     Thinking outside the box... producing elegant solutions.

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | sci.electronics.design


csiph-web