Author Topic: Comparator as op amp in oscillator circuits?  (Read 955 times)

0 Members and 1 Guest are viewing this topic.

Offline InfravioletTopic starter

  • Super Contributor
  • ***
  • Posts: 1152
  • Country: gb
Comparator as op amp in oscillator circuits?
« on: April 15, 2023, 05:00:09 pm »
For circuits where an op-amp is usually used, but in a positive feedback scenario such as an oscillator (such as this sort of thing https://circuitdigest.com/sites/default/files/inlineimages/u1/Op-Amp-Based-Colpitts-Oscillator.png) can a comparator be used instead? particualrly in circumstances where you need the speed of a comparator as the LC tank is tuned for frequencies higher than a typical op amp will happily handle.

I was thinking mainly in the case of an oscillator with a high enough gain to give only a square wave output rather than a sine wave, but I'd be intersted to know if such a substitution of comparator for op amp could work for sine wave generating lower gain oscillators.

Thanks
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14778
  • Country: de
Re: Comparator as op amp in oscillator circuits?
« Reply #1 on: April 15, 2023, 05:14:54 pm »
The linked circuit still has the OP-amp working in linear mode. For comparators the behavior in linear modes is not well defined and it depends on the model. Some behave like a not compensated  (or only for high gain) OP-amp and may work for high gain. Others can have hysteresis and would behave odd if tried to use them as linear.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19938
  • Country: gb
  • 0999
Re: Comparator as op amp in oscillator circuits?
« Reply #2 on: April 16, 2023, 12:04:27 pm »
Just one question: why not use a crystal oscillator IC such as the 74LVC1404 or 74LVC1GX04?
https://www.ti.com/lit/ds/symlink/sn74lvc1404.pdf
https://assets.nexperia.com/documents/data-sheet/74LVC1GX04.pdf
 

Offline dobsonr741

  • Frequent Contributor
  • **
  • Posts: 697
  • Country: us
Re: Comparator as op amp in oscillator circuits?
« Reply #3 on: April 16, 2023, 02:08:33 pm »
Try it and let us know what happens.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17146
  • Country: us
  • DavidH
Re: Comparator as op amp in oscillator circuits?
« Reply #4 on: April 16, 2023, 03:36:16 pm »
Your example has the operational amplifier operating in its linear region, however comparators are useful at higher frequencies in oscillator circuits, including crystal oscillators, although it is not very common.

 

Offline InfravioletTopic starter

  • Super Contributor
  • ***
  • Posts: 1152
  • Country: gb
Re: Comparator as op amp in oscillator circuits?
« Reply #5 on: April 17, 2023, 12:17:10 am »
Thanks, I'll check if I've got a comparator IC lying around in DIP format and breadboard it. With luck I might even have a comparator with the same pinout as the op amps I've breadboarded this with before, swapping back and forth will make differences in behavious very clear, if the comparator version will behave at all.

Why not a crystal? This is for an application where I'm using colpitts frequency as a meaure of inductance and eddy current sensing.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19938
  • Country: gb
  • 0999
Re: Comparator as op amp in oscillator circuits?
« Reply #6 on: April 17, 2023, 12:48:54 pm »
Why not a crystal? This is for an application where I'm using colpitts frequency as a meaure of inductance and eddy current sensing.
I ICs I suggested in my previous post, should work in a Colpitts LC oscillator circuit.
 

Offline InfravioletTopic starter

  • Super Contributor
  • ***
  • Posts: 1152
  • Country: gb
Re: Comparator as op amp in oscillator circuits?
« Reply #7 on: April 18, 2023, 09:21:32 pm »
Thank you, I thought you were meaning a crystal as an alternative to a colpitts. Now you say it like that though I can see what you're suggesting.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19938
  • Country: gb
  • 0999
Re: Comparator as op amp in oscillator circuits?
« Reply #8 on: April 18, 2023, 10:25:19 pm »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf