I needed a 24 KHz oscillator so I thought I would use the one shown in Figure 5.30, p285 of A of E (schematic below, view with fixed font). My first version, which used a SN74LVC2G04, would not oscillate. The second version using 2 SN74HC1G04s did. My question is: why didn't the LVC version oscillate? Both were made with SM parts on PC board.
Didn't find your answer? Ask the community — no account required.
B
brent
on
In order for an oscillator to work there needs to be:
More gain than losses around the loop
The phase must be correctly lined up so that the feed back signal is correctly phased.
One or the other or both is your problem
T
Tim Williams
You switched the RC.
Analogous to the frequency-domain statement made above, you need positive feedback over a short period, and negative feedback over a long period (DC).
As shown, you have two negative feedback loops. At best, you'll get oscillation due to the propagation delay of the inverter (at a frequency other than intended).
The canonical circuit is:
U1 has DC negative feedback through R, and positive AC feedback through U2 and C. Note Ri prevents overloading the input protection diodes on U1, important for large C.
Other circuits are common, using different connections of resistors or more inverters (often 3 total). None of these make any sense when two works.
If you don't mind depending on a device parameter, you can also make one with a single schmitt trigger inverter. The time constant corresponds to the input hysteresis band, which will generally be smaller than the approx. half supply worth in the above circuit.
Tim
Deep Friar: a very philosophical monk.
Website: http://webpages.charter.net/dawill/tmoranwms
"garyr" wrote in message
news:i9stt3$vct$1@speranza.aioe.org...
>I needed a 24 KHz oscillator so I thought I would use the one shown in
> Figure 5.30, p285 of A of E (schematic below, view with fixed font). My
> first version, which used a SN74LVC2G04, would not oscillate. The second
> version using 2 SN74HC1G04s did. My question is: why didn't the LVC
> version
> oscillate? Both were made with SM parts on PC board.
>
> +--/\/\--+-- -||--+
> | 36k | 0.01 |
> | \ |
> | /1.88k |
> | |\ \ |\ |
> | | \ | | \ |
> + -| >0-+---| >0+-
> | / | /
> |/ |/
>
>
>
B
Bill Sloman
on
formatting link
might be worth reading.
-- Bill Sloman, Nijmegen
J
Jim Thompson
Not to mention that there are far better configurations, such as...
formatting link
...Jim Thompson
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I can see November from my house :-)
J
John Fields
--- My guess would be that the output impedance of the rightmost inverter, coupled through the voltage divider formed by the 1.88K and the
0.01µF, attenuated the signal enough so that it couldn't reach the leftmost inverter's threshold voltage.
This beauty is from TI's 1989 High Speed CMOS Data Book and has _always_ worked for me:
A caveat, but what makes it always work, is that the voltage swing across C is 2Vcc.
Another caveat is that, like with most oscillators of this type, on power-up the first cycle will be longer than the rest.
After that, t ~ 1.8 RC
But, if you're using tiny logic, why don't you just implement your oscillator with a single Schmitt trigger inverter?
--- JF
J
John Fields
In what respect?
JF
J
Jim Thompson
It has a lot of words that Slowman doesn't understand... thus he thinks, "...might be worth reading." ;-) ...Jim Thompson
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I can see November from my house :-)
B
Bill Bowden
ion
Did you ever have problems with the input voltage to the left inverter going above Vcc or below ground? Some circuits I see use a high value resistor in series with the inverter input to limit discharge current through the protection diodes. Maybe it depends on the size of the capacitor? How much current can those protection diodes take?
-Bill
R
Rich Grise
I dunno - last time I needed a clock, I made a pierce oscillator:
formatting link
(scroll down to "Pierce Crystal Oscillator.")
Cheers! Rich
T
Tim Williams
A naked gate input would be best, since the protection diodes sink current which messes up the time constant.
Analysis is simple: assume the switching threshold is in the middle, so whichever state it's in, when the capacitor charges or discharges to +V/2 (which apparently occurs in t_1/2 = R*C*ln(2), assuming an initial voltage of +V), it switches. That puts +V*3/2 on the input, so the cap is forced down by +V/2 due to input diodes.
Input diodes typically handle
F
F. Bertolazzi
garyr:
Warning: SPAM! ;-)
formatting link
What about downloading a single Java program (no installation required, if you don't like it, you simply delete it) that runs on any PC for free?
Saluti
G
garyr
Thanks to all for your replies to my post.
G
garyr
"Jim Thompson" wrote in message news: snipped-for-privacy@4ax.com...
Perfect! I just happen to have a triple-inverter IC in a SOT23-8 package, a (believe it or not) 74V2G04.
B
Bill Sloman
y
nd
rsion
It makes the simple point that an odd number of inverters will always oscillate, something that the OP might find useful.
-- Bill Sloman, Nijmegen
B
Bill Sloman
n
My
ond
ersion
The vocabulary isn't demanding - though a hill-billy red-neck like Jim might find it difficult. One wonders why John Fields couldn't have read the note - it isn't long - and found out for himself.
-- Bill Sloman, Nijmegen
B
Bill Sloman
y
nd
rsion
The amount of current the protection diodes can take isn't the only question you should be asking. The protection diodes dump charge carriers into the substrate, and they have been known to create odd effects in other devices on the same substrate.
-- Bill Sloman, Nijmegen
J
John Fields
version
I read it years and years ago.
J
Jim Thompson
version
Slowman is such a f*ck-head. Probably doesn't even know the real derivation of "red-neck".
I have one of the ORIGINAL RCA CMOS manuals, the oscillator section of which was re-posted on my website years ago...
formatting link
IIRC, There is a minor derivation error in that Application Note.
Wonder if Slowman can properly derive the correct frequency?
We already know the answer, don't we? No chance. ...Jim Thompson
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I can see November from my house :-)
B
Bill Sloman
n in
). My
second
C version
Haven't we all? So why the stupid question?
-- Bill Sloman, Nijmegen
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.