electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software
op amp as schmitt trigger problem
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
mike page



Joined: Sep 26, 2016
Posts: 134
Location: norwich, uk

PostPosted: Tue Dec 07, 2021 3:37 am    Post subject: op amp as schmitt trigger problem Reply with quote  Mark this post and the followings unread

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]Posted Image, might have been reduced in size. Click Image to view fullscreen.[img][/img]
Back to top
View user's profile Send private message
elektrouwe



Joined: May 27, 2012
Posts: 146
Location: Germany

PostPosted: Tue Dec 07, 2021 3:55 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
dk



Joined: Feb 12, 2019
Posts: 115
Location: Europe

PostPosted: Tue Dec 07, 2021 11:40 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
mike page



Joined: Sep 26, 2016
Posts: 134
Location: norwich, uk

PostPosted: Wed Dec 08, 2021 6:58 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use