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 » Lunettas - circuits inspired by Stanley Lunetta
Problems making an LFO with a 7414 schmitt trigger
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [13 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Fri Nov 25, 2011 3:52 pm    Post subject:  Problems making an LFO with a 7414 schmitt trigger
Subject description: SOLUTION DISCOVERED!
Reply with quote  Mark this post and the followings unread

The propblem:
Earlier this night I attempted to make a low frequency oscillator with a 7414 inverting schmitt trigger/buffer. I used the standard circuit for a CMOS schmitt trigger oscillator with one resistor between input and output and one cap from input to ground.
It didn't work.
Any resistance greater than about 2k didn't work and/or resulted in a distored square wave or triangle wave at the output.

The question:
Why?

I found out that this chip (the 7414) uses transistor logic (TTL) which requires more current than CMOS which is probably why the larger resistances didnt work. I've done that much of my own research but I want to know what you chaps say too and whether I am on the right track.

Last edited by JingleJoe on Mon Nov 28, 2011 3:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cynosure
Site Admin


Joined: Dec 11, 2010
Posts: 1000
Location: Toronto, Ontario - Canada
Audio files: 82

PostPosted: Fri Nov 25, 2011 5:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

When i made my first synth circuit over a year ago i used a 7414 because that is what the person in the video tutorial used. It didnt work, but luckily he also mentioned 40106 in the video so I had bought some of those too. I switched the chip and never went back to any 7xxx ic's. I thought it was me being a newb, but it looks like maybe that wasnt the case.

The triangle wave doesnt sound like a bad thing though. What sort of frequency range do you get with the triangle? Can you take a shot of the waveform on your scope?
Back to top
View user's profile Send private message
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Sat Nov 26, 2011 3:11 am    Post subject: Reply with quote  Mark this post and the followings unread

Cynosure wrote:

The triangle wave doesnt sound like a bad thing though. What sort of frequency range do you get with the triangle? Can you take a shot of the waveform on your scope?

The frequency range is pretty small, at best I got about an octave and even then with alot of "pulse width" change.
The wave itself was tiny though, only about half a volt peak to peak when using 5V supply and it's peak to peak voltage would increase and decrease as it's frequency changed, untill it became a wonky square wave then finally a pulse wave.
I could stick it through one of the other schmitt triggers to get a pulse wave, never got totally square though.

See attachment below for wonky waveform example.


wonky_triangle_wave.png
 Description:
a simetrix simulation of a circuit which produces the same waveform I observed
 Filesize:  192.4 KB
 Viewed:  420 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

wonky_triangle_wave.png


Back to top
View user's profile Send private message
Kabzoer



Joined: Feb 07, 2011
Posts: 82
Location: Belgium

PostPosted: Sat Nov 26, 2011 8:05 am    Post subject: Reply with quote  Mark this post and the followings unread

You can put it trough a divider to get an exactly square wave with 50-50 symmetry, found that trick in the CMOS cookbook
_________________
http://soundcloud.com/contraspect
Back to top
View user's profile Send private message Visit poster's website
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Sat Nov 26, 2011 9:09 am    Post subject: Reply with quote  Mark this post and the followings unread

Kabzoer wrote:
You can put it trough a divider to get an exactly square wave with 50-50 symmetry, found that trick in the CMOS cookbook

Thats the good ol' multivibrator/flip flop circuit, correct?
Back to top
View user's profile Send private message
Kabzoer



Joined: Feb 07, 2011
Posts: 82
Location: Belgium

PostPosted: Sat Nov 26, 2011 10:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Yup, 'cause a 4040 divider is 12 cascaded T-flip-flops!
I heard, that in the 74xx series, the middle letters really make the difference, so for example, your circuit might work with a 74C14, but not with a 74HC14 or 74HCT14... But I don't really know what difference that makes....

_________________
http://soundcloud.com/contraspect
Back to top
View user's profile Send private message Visit poster's website
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Sat Nov 26, 2011 11:04 am    Post subject: Reply with quote  Mark this post and the followings unread

Kabzoer wrote:
Yup, 'cause a 4040 divider is 12 cascaded T-flip-flops!
I heard, that in the 74xx series, the middle letters really make the difference, so for example, your circuit might work with a 74C14, but not with a 74HC14 or 74HCT14... But I don't really know what difference that makes....

It's my understanding that the HC or HCT means it is compatible with CMOS logic levels, but would still probably require the greater current of non-lettered TTL varieties.

4040: Good to know thanks! I may get one of those for other projects but for this one I really wanted the triangle wave from the cap.

Speaking of that, I have another thread to make ...
Back to top
View user's profile Send private message
Kabzoer



Joined: Feb 07, 2011
Posts: 82
Location: Belgium

PostPosted: Sun Nov 27, 2011 1:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

If you want a 50-50 triangle, then I think the symmetry of a 7414/40106 is just too low (especially at low frequencies) so if you want something better, you can use the one in the atonement, essentially it works the same, but it uses Op-amps, and is optimized for symmetry at these frequencies... You can go with your wonky one too, to keep things simple....

http://bit.ly/uXRemx


synthkit_lfo_noise_power_001.gif
 Description:
 Filesize:  20.05 KB
 Viewed:  461 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

synthkit_lfo_noise_power_001.gif



_________________
http://soundcloud.com/contraspect
Back to top
View user's profile Send private message Visit poster's website
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Mon Nov 28, 2011 2:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

Accuracy is unimportant, having a semblance of stability and acctually working is all that really matters Laughing
I was experimenting with an oscillator very similar to that one just last night, but I still prefer these nice simple CMOS schmitt oscillators.
Back to top
View user's profile Send private message
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Mon Nov 28, 2011 2:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

Just had an idea after posting that reply (see circuit in attachment for my idea) this circuit should still supply the current needed for the TTL schmitt trigger to work while giving the cap adjustable charge/discharge speed. A diode could be connected in parallel with R2 to make the output a pulse or saw wave. R2 should be a pot too to acheive variable frequency.
Values are guessed, my simulator didn't want to run this circuit so it is untested, experimentation time! Very Happy


TTL osc untested.png
 Description:
 Filesize:  2.81 KB
 Viewed:  13036 Time(s)

TTL osc untested.png


Back to top
View user's profile Send private message
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Mon Nov 28, 2011 3:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

experiment results are in:

The above diagram only sort of works, the wave from the top of R2 is really nice and odd Very Happy

However simply using resistor values below about 3k and the original circuit configuration works okay! Very Happy It has a nice big frequency range but the triangle wave is very lop-sided and the square wave is a pulse, at high frequencies it's a very sloppy pulse, but it works! Wink

Additionally putting the control pot of about 5k in parallel with a 1 or 2 k resistor gives a perculiar frequency response and allows enough current for the chip's input when the pot is turned all the way up to highest resistance (too little current would make the oscillator work improperly, outputting a very high frequency and wonky wave as mentioned above).
Back to top
View user's profile Send private message
richardc64



Joined: Jun 01, 2006
Posts: 679
Location: NYC
Audio files: 26

PostPosted: Wed Nov 30, 2011 8:16 am    Post subject: Reply with quote  Mark this post and the followings unread

Symmetry is elusive, even with CMOS.

The attached recordings were made from an actual 40106 with actual resistors and capacitors. I will never completely trust simulations.

With a 1k feedback resistor the waveform looks 50-50. At 100k symmetry is beginning to slip, and gets more and more unequal as R is increased. This pattern held for different value caps. The ramp waveform available at the capacitor would likewise be asymmetric.

Although I have a nostalgic fondness for TTL, I wouldn't give myself headaches trying get a predicable or consistent squarewave from a 7414 as an oscillator.


asym_2.gif
 Description:
 Filesize:  11.79 KB
 Viewed:  292 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

asym_2.gif



_________________
Revenge is a dish best served with a fork... to the eye
Back to top
View user's profile Send private message Visit poster's website
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Wed Nov 30, 2011 1:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

richardc64 wrote:
Symmetry is elusive, even with CMOS.

The attached recordings were made from an actual 40106 with actual resistors and capacitors. I will never completely trust simulations.

Me neither, but they are handy to get an idea of what is happening and graphs!


richardc64 wrote:

Although I have a nostalgic fondness for TTL, I wouldn't give myself headaches trying get a predicable or consistent squarewave from a 7414 as an oscillator.

I'll get the ibuprofen ready because I broke my 4093 CMOS chips Rolling Eyes and all I have in the schmitt trigger area are these 7414's.


Those comparisons are great to see, very intriguing, I managed to get pretty jolly symetrical triangle waves/square waves from a 4093 based oscillator.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [13 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 » Lunettas - circuits inspired by Stanley Lunetta
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