Weekend Project: DIY Square Wave Oscillator based on CD4069 - diyAudio
Go Back   Home > Forums > Design & Build > Equipment & Tools

Equipment & Tools From test equipment to hand tools

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old Yesterday, 05:40 PM   #1
diyAudio Member
 
Join Date: Nov 2009
Location: Ghaziabad (Delhi NCR)
Default Weekend Project: DIY Square Wave Oscillator based on CD4069

Dear Experts,

I need your corrections and optimization suggestions for attached square wave oscillator circuit.

This circuit is working on breadboard but if there is any scope for further optimiztion I'll incorporate it before proceeding to PCB layout.

Regards,
Sameer Dhiman
Attached Files
File Type: pdf CD4069-SQ-Osc.pdf (37.7 KB, 21 views)
__________________
Regards,
Sameer Dhiman
  Reply With Quote
Old Yesterday, 09:34 PM   #2
Elvee is offline Elvee  Belgium
diyAudio Member
 
Elvee's Avatar
 
Join Date: Sep 2006
Quote:
Originally Posted by sameerdhiman View Post

This circuit is working on breadboard but if there is any scope for further optimiztion I'll incorporate it before proceeding to PCB layout.
I do not want to be too discouraging, but there is more than scope for optimization: first thing would be to drop the 4069 for another, much more suitable CMOS circuit: the 4047. It is an actual oscillator, having a decent stability and an exact 50% duty cycle (and low current drain).

Even if the 4069 is non-negotiable, the circuit can be very much improved: for example, do not parallel the gates you did (they will simply increase the current consumption, the heating of the chip and instabilities), but use them for compensating the non perfect threshold of the other gates (or leave them unused, it will also be better).
The topology of the oscillator can also be changed for the better.
The output buffer should preferably not be linear since the upstream circuit isn't: a push-pull operating in digital mode will work better, have a lower consumption and a better fan out.
Could be a follower to keep things extra-simple, or common emitter for really good performances (also applies to the 4047).

But if you just want to build your own brew of circuit, why not? That's OK by me, but in this case, do not ask for opinions....
__________________
. .Circlophone your life !!!! . .
♫♪ My little cheap Circlophone© ♫♪
  Reply With Quote
Old Today, 04:55 AM   #3
diyAudio Member
 
Join Date: Nov 2009
Location: Ghaziabad (Delhi NCR)
Thank you Elvee.

I built above circuit from parts which were lying in my box. The intention to build is to test audio amp.

Please forgive my limited knowledge/skills in electronics. I have few questions

1. How can I compensate the threshold of other gates ? Need the example circuit to visualize.
2. Example circuit of better topology.
3. How the push-pull in digital mode (assuming use of mosfet) give the option to control output level because they will acting as switches ?
__________________
Regards,
Sameer Dhiman
  Reply With Quote
Old Today, 10:24 AM   #4
Elvee is offline Elvee  Belgium
diyAudio Member
 
Elvee's Avatar
 
Join Date: Sep 2006
Quote:
Originally Posted by sameerdhiman View Post
1. How can I compensate the threshold of other gates ? Need the example circuit to visualize.
2. Example circuit of better topology.
3. How the push-pull in digital mode (assuming use of mosfet) give the option to control output level because they will acting as switches ?
A better topology is that of a function generator: the parameters and behavior are much more deterministic.

This is an example of such a generator, and it includes an automatic threshold compensation using one of the spare inverters, U3 and a few other components.
Here in the sim, the symetry isn't (yet) perfect, because the sim time was too short to allow for complete stabilization (C4 must be large enough to have a negligible effect at the lowest operating frequency).
Note that I have tweaked the 4069 model to exagerate its imperfection.
For most circuit samples, the polarity of C4 will be correct, but it might be reversed with a few others. The voltage will always be <1V, so it's not a big deal, but you can use a bipolar cap, or measure the actual polarity on the working circuit and correct it accordingly.

A bonus with this circuit is that you also have a triangle output, if you need it.

You are right about the OP buffer: with the level control, it cannot be digital.
It is posible to improve it significantly however
Attached Images
File Type: png 4069FuncGen.png (120.0 KB, 6 views)
__________________
. .Circlophone your life !!!! . .
♫♪ My little cheap Circlophone© ♫♪
  Reply With Quote
Old Today, 11:14 AM   #5
diyAudio Member
 
Join Date: Nov 2009
Location: Ghaziabad (Delhi NCR)
WOW...!!!

Definitely I'll give it a try on coming Saturday. Thanks a lot Elvee.
__________________
Regards,
Sameer Dhiman
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DIY Sine Wave Oscillator Trouble crosstowndude Analog Line Level 12 23rd February 2015 04:50 PM
Linn Lingo vs. Dr. Fuß or Square-Wave vs. Sine Wave Oscillator for Motor Control tiefbassuebertr Analogue Source 62 15th December 2013 11:23 PM
Wanted: HP 209A Sine/Square Wave Oscillator scott17 Swap Meet 0 15th March 2012 03:58 AM
DIY square wave oscillator zigzagflux Equipment & Tools 10 31st January 2009 05:24 AM
The Square Wave Project Bill Fitzpatrick Multi-Way 51 16th November 2002 09:34 PM


New To Site? Need Help?

All times are GMT. The time now is 11:21 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2015 DragonByte Technologies Ltd.
Copyright ©1999-2015 diyAudio

Content Relevant URLs by vBSEO 3.3.2