Jump to content
Electronics-Lab.com Community

inverter oscillator


Recommended Posts

I built an inverter oscillator with two inverters connected by a capacitor and a pullup on the first inverter. The output of the second inverter is fed to the input of the first inverter. The problem I'm having is that it will only oscillate when I touch the side of the capacitor, which shortens the charge/discharge because of the path to ground from my finger. I tried to add a high resistance to ground, but I can't seem to find the correct value. Can anybody tell me why I need my finger resistance to get the thing oscillating.

Link to comment
Share on other sites


Kevin, a two gate oscillator is unstable. A three gate oscillator is more stable and will give you a better result. I have posted an application note about this in a thread about a radar detector project. You can find the link with a search. It is an interesting article regarding this subject. If you cannot find it, let me know and I will search.

MP

Link to comment
Share on other sites

Kevin,
Why don't you use a stable and popular, 2 inverter "Classic CMOS Oscillator"? I described its operation in the other post, here:
http://www.electronics-lab.com/forum/index.php?board=15;action=display;threadid=883
R1 is optional since it makes the output frequency easier to calculate, and less variation with supply voltage changes.

Your "oscillator" seems to be 2 inverters connected in a positive-feedback loop, creating a latch. If your R1 pulls-up the input of Inv 1, then its low output connecting to Inv 2's input makes Inv 2's output high. Therefore your C1 has no voltage across it and the inverters stay that way, latched.
When you touch C1, your resistance brings down the input voltage of Inv 1, so that it becomes a linear high-gain amplifier, and the circuit either oscillates at a very high uncontrolled frequency, or just amplifies mains hum injected by your finger.

post-1706-14279141646802_thumb.jpg

Link to comment
Share on other sites

MP,
The Fairchild application note does NOT say that a CMOS two-inverter oscillator is unstable.
It simply says that a two-inverter oscillator will "fail to start" if its capacitor becomes disconnected. It says that the ONLY advantage of using a three-inverter oscillator is that it will oscillate (but at an extremely high frequency) if its capacitor becomes disconnected.
The app. note also says that if a CMOS oscillator is designed correctly (R, C and supply voltage not too small) then it (either two or three inverters) is fairly stable.
That is why the CMOS two-inverter oscillator is so popular and is a "classic".

Link to comment
Share on other sites

The word unstable was my description. It states that if the capacitance becomes too small, it will fail to oscillate. You have misread when you state it can only fail when the oscillator is disconnected.
...but here is the section from page 3. Everyone can make their own assumption of stability.

MP

post-555-14279141647573_thumb.jpg

Link to comment
Share on other sites

Right.
I had a standard CMOS 2-inverter oscillator running at 1.6MHz (4049 buffer or HC territory) using only a 27pF cap and a multi-turn trimpot to calibrate its frequency. It never failed and never varied more than 1 percent. That's stable!
They say that lower frequency CMOS oscillators are even more stable.

Link to comment
Share on other sites

The pullup is on the output of the first inverter. By the way, I stumbled upon the fix. I used a 10M resistor from the input of the second inverter to it's output. I would have thought that a resistor to ground on the input of the second inverter would work. But it seems that the complimetary voltage works better. I guess you can call this arrangement a fed back inverter.

Link to comment
Share on other sites

Kevin,
Is this your circuit?
It doesn't need a pull-up resistor, especially not at an inverter's output. Inv 2 will self-bias itself near mid-supply, and in turn, will also bias Inv 1. So both inverters become high gain linear amplifiers, with positive feedback sustaining oscillation as the capacitor charges and discharges into the resistor.

post-1706-14279141648142_thumb.jpg

Link to comment
Share on other sites

Audioguru, thank you for describing my circuit. I used a pullup because the example in my book uses a pullup. The pullup is on the output of the first inverter. I did not happen to notice that I constructed a classic CMOS oscillator, though it appears to be. I have this clock hooked to a BCD counter. The BCD counter should actually be called a counter decoder because it has 10 ouputs for a clocked input. I would have preferred a regular counter fed to a decoder, but the BCD counter seems to fulfill this purpose.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...