Author |
Message |
mike page

Joined: Sep 26, 2016 Posts: 134 Location: norwich, uk
|
Posted: Tue Dec 07, 2021 3:37 am Post subject:
op amp as schmitt trigger problem |
 |
|
Hi all.
I'm designing a table top synth that runs on 9v single supply.
It needs a high audio rate 'oscillator in', and the circuitry down stream requires a nice >7v+ noise free square to work properly.
I can get it working by using an op amp as a comparator then a 40106 to clean it up, but ideally i'd like to use the other half of the op amp as a schmitt trigger.
Ive followed schematics applying positive feedback & tried lots of different resistor values and lots of different op amps, but nothing seems to work like the 40106. any advice?
Cheers
[/img] [img][/img] |
|
Back to top
|
|
 |
elektrouwe
Joined: May 27, 2012 Posts: 146 Location: Germany
|
Posted: Tue Dec 07, 2021 3:55 am Post subject:
|
 |
|
hi Mike,you probably need a rail-to-rail opamp, or at least one swinging close to GND. A TL072 will not work, maybe a LM358 or TLC272.
But if you wantl to clock a CMOS counter, these can be too slow.
I would use a LM393 or similar comparator and add positive feedback to make it a Schmitt Trigger (you don't need an extra one) |
|
Back to top
|
|
 |
dk
Joined: Feb 12, 2019 Posts: 115 Location: Europe
|
Posted: Tue Dec 07, 2021 11:40 am Post subject:
|
 |
|
Just out of curiosity, why would you want the second op-amp in the chain to be a Schmitt trigger? Isn't the point of adding hysteresis to avoid the first comparator from improperly changing state on a non-digital input signal? The output of your first comparator should be (close to) digital, in which case the second op-amp shouldn't be seeing a signal that would otherwise require hysteresis... unless there is something else at play?
Is the high audio rate oscillator also running off your single supply? If so, and the output is unipolar, you could just run straight into a 40106 without using an op-amp... unless you're set on using the op-amp and not using a 40106... _________________ Horrors Of Dial-Up! on Facebook
Horrors Of Dial-Up! on Instagram |
|
Back to top
|
|
 |
mike page

Joined: Sep 26, 2016 Posts: 134 Location: norwich, uk
|
Posted: Wed Dec 08, 2021 6:58 am Post subject:
|
 |
|
Cheers for the replies. My thinking was the comparator would boost any signal to near rail to rail, then a schmitt trigger would give it a nice clean up.
after a little more experimenting i found a simple single transistor buffer does the job just fine! |
|
Back to top
|
|
 |
|