Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
[Slightly off-topic request]
Hi. As of the other post of mine, another part of my weekend was spent trying to get a XOR gate to oscillate with a XTAL. I have a working 74HC14 oscillator: "One gate of a 74HC14. 470ohm resistor from gate output to the parallel of 1Mohm//XTAL. 10pF and 33pF (from the junkbox) capacitors to ground on each side of the XTAL." Since my project calls for a frequency doubler, which I want to implement with a XOR gate, I wanted to use one XOR gate of a 74HC86 as oscillator. Remaining gates would work as buffer, delay line, digital mixer. (I have Googled newsgroups and found an interesting discussion about XOR frequency doublers, so I am aware of its limitations.) So I moved the oscillator circuitry (R; C; R, XTAL; C) from the 74HC14 to the 74HC86, pulling the other input of the XOR gate to "1", so that I would produce an inverter. Nothing happens. I used a 10.0 MHz XTAL. I understand that the 74HC14 has Schmitt trigger inputs and that a 74HC86 might have higher propagation delays. Still, is it possible to use a XOR gate as an inverter and oscillator? Do I overlook something? In the end I recovered the 74HC14 oscillator, but this adds one component to the final circuit I have in mind that wastes energy, space and is underutilized. Looking forward to your always helpful replies! Paolo IK1ZYW |
#2
![]() |
|||
|
|||
![]()
Hello again.
Go back to fundamentals. An oscillation occurs when there is positive feedback with a circuit gain of 1. That is, the signal is not inverted at the desired oscillation frequency. Another way to say this is that the phase of the signal at the input and output are the same. If the gain is less than one, the oscillation will die out---inother words it will not oscillate at all. If the gain is greater than one the circuit will 'lock up' at either 0 volts or the power supply voltage. Most oscilaltors have some type of phase shift device between the input and output to ensure that the phase of the input and oputpuit signal are the same. Note that in some circuits the feedback and phase shift may not be obvious. A vacuum tube oscillator, for example. Here the feedback is sometimes provided by the capacitance inside the tube. Everything must be just right for the oscillation to occur and be stable. With an oscillator built from inverting logic gates, you need two gates so there is no overall phase inversion through the gates. If you are using XOR gates, I would recommend tying one of the input lines on each gate high, That way it will act as an logic inverter. Jim N8EE "PaoloC" wrote in message ... [Slightly off-topic request] Hi. As of the other post of mine, another part of my weekend was spent trying to get a XOR gate to oscillate with a XTAL. I have a working 74HC14 oscillator: "One gate of a 74HC14. 470ohm resistor from gate output to the parallel of 1Mohm//XTAL. 10pF and 33pF (from the junkbox) capacitors to ground on each side of the XTAL." Since my project calls for a frequency doubler, which I want to implement with a XOR gate, I wanted to use one XOR gate of a 74HC86 as oscillator. Remaining gates would work as buffer, delay line, digital mixer. (I have Googled newsgroups and found an interesting discussion about XOR frequency doublers, so I am aware of its limitations.) So I moved the oscillator circuitry (R; C; R, XTAL; C) from the 74HC14 to the 74HC86, pulling the other input of the XOR gate to "1", so that I would produce an inverter. Nothing happens. I used a 10.0 MHz XTAL. I understand that the 74HC14 has Schmitt trigger inputs and that a 74HC86 might have higher propagation delays. Still, is it possible to use a XOR gate as an inverter and oscillator? Do I overlook something? In the end I recovered the 74HC14 oscillator, but this adds one component to the final circuit I have in mind that wastes energy, space and is underutilized. Looking forward to your always helpful replies! Paolo IK1ZYW |
#3
![]() |
|||
|
|||
![]()
Hello again.
Go back to fundamentals. An oscillation occurs when there is positive feedback with a circuit gain of 1. That is, the signal is not inverted at the desired oscillation frequency. Another way to say this is that the phase of the signal at the input and output are the same. If the gain is less than one, the oscillation will die out---inother words it will not oscillate at all. If the gain is greater than one the circuit will 'lock up' at either 0 volts or the power supply voltage. Most oscilaltors have some type of phase shift device between the input and output to ensure that the phase of the input and oputpuit signal are the same. Note that in some circuits the feedback and phase shift may not be obvious. A vacuum tube oscillator, for example. Here the feedback is sometimes provided by the capacitance inside the tube. Everything must be just right for the oscillation to occur and be stable. With an oscillator built from inverting logic gates, you need two gates so there is no overall phase inversion through the gates. If you are using XOR gates, I would recommend tying one of the input lines on each gate high, That way it will act as an logic inverter. Jim N8EE "PaoloC" wrote in message ... [Slightly off-topic request] Hi. As of the other post of mine, another part of my weekend was spent trying to get a XOR gate to oscillate with a XTAL. I have a working 74HC14 oscillator: "One gate of a 74HC14. 470ohm resistor from gate output to the parallel of 1Mohm//XTAL. 10pF and 33pF (from the junkbox) capacitors to ground on each side of the XTAL." Since my project calls for a frequency doubler, which I want to implement with a XOR gate, I wanted to use one XOR gate of a 74HC86 as oscillator. Remaining gates would work as buffer, delay line, digital mixer. (I have Googled newsgroups and found an interesting discussion about XOR frequency doublers, so I am aware of its limitations.) So I moved the oscillator circuitry (R; C; R, XTAL; C) from the 74HC14 to the 74HC86, pulling the other input of the XOR gate to "1", so that I would produce an inverter. Nothing happens. I used a 10.0 MHz XTAL. I understand that the 74HC14 has Schmitt trigger inputs and that a 74HC86 might have higher propagation delays. Still, is it possible to use a XOR gate as an inverter and oscillator? Do I overlook something? In the end I recovered the 74HC14 oscillator, but this adds one component to the final circuit I have in mind that wastes energy, space and is underutilized. Looking forward to your always helpful replies! Paolo IK1ZYW |
#4
![]() |
|||
|
|||
![]()
Some further comments...
Most oscillators that use a single active device (transistor or tube) are linear analog circuits. You are trying to use a nonlinear (that is, digital) device in an analog application. The circuit using two inverting gates chasing each other's tail is called a ring oscillator. It can be made to work without a crystal but will be relatively unstable. Most such circuits I have seen using a crystal are in non ciritical applications. I suspect that it will be not too stable (temperature wise) and may not be suitable for use in a radio circuit. Also, you will need to use a good filter becasue the signal will be full of harmonics. Jim N8EE "PaoloC" wrote in message ... [Slightly off-topic request] Hi. As of the other post of mine, another part of my weekend was spent trying to get a XOR gate to oscillate with a XTAL. I have a working 74HC14 oscillator: "One gate of a 74HC14. 470ohm resistor from gate output to the parallel of 1Mohm//XTAL. 10pF and 33pF (from the junkbox) capacitors to ground on each side of the XTAL." Since my project calls for a frequency doubler, which I want to implement with a XOR gate, I wanted to use one XOR gate of a 74HC86 as oscillator. Remaining gates would work as buffer, delay line, digital mixer. (I have Googled newsgroups and found an interesting discussion about XOR frequency doublers, so I am aware of its limitations.) So I moved the oscillator circuitry (R; C; R, XTAL; C) from the 74HC14 to the 74HC86, pulling the other input of the XOR gate to "1", so that I would produce an inverter. Nothing happens. I used a 10.0 MHz XTAL. I understand that the 74HC14 has Schmitt trigger inputs and that a 74HC86 might have higher propagation delays. Still, is it possible to use a XOR gate as an inverter and oscillator? Do I overlook something? In the end I recovered the 74HC14 oscillator, but this adds one component to the final circuit I have in mind that wastes energy, space and is underutilized. Looking forward to your always helpful replies! Paolo IK1ZYW |
#5
![]() |
|||
|
|||
![]()
Some further comments...
Most oscillators that use a single active device (transistor or tube) are linear analog circuits. You are trying to use a nonlinear (that is, digital) device in an analog application. The circuit using two inverting gates chasing each other's tail is called a ring oscillator. It can be made to work without a crystal but will be relatively unstable. Most such circuits I have seen using a crystal are in non ciritical applications. I suspect that it will be not too stable (temperature wise) and may not be suitable for use in a radio circuit. Also, you will need to use a good filter becasue the signal will be full of harmonics. Jim N8EE "PaoloC" wrote in message ... [Slightly off-topic request] Hi. As of the other post of mine, another part of my weekend was spent trying to get a XOR gate to oscillate with a XTAL. I have a working 74HC14 oscillator: "One gate of a 74HC14. 470ohm resistor from gate output to the parallel of 1Mohm//XTAL. 10pF and 33pF (from the junkbox) capacitors to ground on each side of the XTAL." Since my project calls for a frequency doubler, which I want to implement with a XOR gate, I wanted to use one XOR gate of a 74HC86 as oscillator. Remaining gates would work as buffer, delay line, digital mixer. (I have Googled newsgroups and found an interesting discussion about XOR frequency doublers, so I am aware of its limitations.) So I moved the oscillator circuitry (R; C; R, XTAL; C) from the 74HC14 to the 74HC86, pulling the other input of the XOR gate to "1", so that I would produce an inverter. Nothing happens. I used a 10.0 MHz XTAL. I understand that the 74HC14 has Schmitt trigger inputs and that a 74HC86 might have higher propagation delays. Still, is it possible to use a XOR gate as an inverter and oscillator? Do I overlook something? In the end I recovered the 74HC14 oscillator, but this adds one component to the final circuit I have in mind that wastes energy, space and is underutilized. Looking forward to your always helpful replies! Paolo IK1ZYW |
#6
![]() |
|||
|
|||
![]()
PaoloC wrote:
[Slightly off-topic request] Hi. As of the other post of mine, another part of my weekend was spent trying to get a XOR gate to oscillate with a XTAL. I have a working 74HC14 oscillator: "One gate of a 74HC14. 470ohm resistor from gate output to the parallel of 1Mohm//XTAL. 10pF and 33pF (from the junkbox) capacitors to ground on each side of the XTAL." Since my project calls for a frequency doubler, which I want to implement with a XOR gate, I wanted to use one XOR gate of a 74HC86 as oscillator. Remaining gates would work as buffer, delay line, digital mixer. (I have Googled newsgroups and found an interesting discussion about XOR frequency doublers, so I am aware of its limitations.) So I moved the oscillator circuitry (R; C; R, XTAL; C) from the 74HC14 to the 74HC86, pulling the other input of the XOR gate to "1", so that I would produce an inverter. Nothing happens. I used a 10.0 MHz XTAL. I understand that the 74HC14 has Schmitt trigger inputs and that a 74HC86 might have higher propagation delays. Still, is it possible to use a XOR gate as an inverter and oscillator? Do I overlook something? In the end I recovered the 74HC14 oscillator, but this adds one component to the final circuit I have in mind that wastes energy, space and is underutilized. Looking forward to your always helpful replies! Paolo IK1ZYW Frankly I'm surprised that you're getting it to work at all with the 74HC14. I'd recommend that you use a 74HCU04 (an _unbuffered_ inverter), or a transistor oscillator with an output tuned to get the signal strong enough to tickle a CMOS gate. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com |
#7
![]() |
|||
|
|||
![]()
PaoloC wrote:
[Slightly off-topic request] Hi. As of the other post of mine, another part of my weekend was spent trying to get a XOR gate to oscillate with a XTAL. I have a working 74HC14 oscillator: "One gate of a 74HC14. 470ohm resistor from gate output to the parallel of 1Mohm//XTAL. 10pF and 33pF (from the junkbox) capacitors to ground on each side of the XTAL." Since my project calls for a frequency doubler, which I want to implement with a XOR gate, I wanted to use one XOR gate of a 74HC86 as oscillator. Remaining gates would work as buffer, delay line, digital mixer. (I have Googled newsgroups and found an interesting discussion about XOR frequency doublers, so I am aware of its limitations.) So I moved the oscillator circuitry (R; C; R, XTAL; C) from the 74HC14 to the 74HC86, pulling the other input of the XOR gate to "1", so that I would produce an inverter. Nothing happens. I used a 10.0 MHz XTAL. I understand that the 74HC14 has Schmitt trigger inputs and that a 74HC86 might have higher propagation delays. Still, is it possible to use a XOR gate as an inverter and oscillator? Do I overlook something? In the end I recovered the 74HC14 oscillator, but this adds one component to the final circuit I have in mind that wastes energy, space and is underutilized. Looking forward to your always helpful replies! Paolo IK1ZYW Frankly I'm surprised that you're getting it to work at all with the 74HC14. I'd recommend that you use a 74HCU04 (an _unbuffered_ inverter), or a transistor oscillator with an output tuned to get the signal strong enough to tickle a CMOS gate. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com |
#8
![]() |
|||
|
|||
![]() "PaoloC" wrote in message ... [Slightly off-topic request] Hi. As of the other post of mine, another part of my weekend was spent trying to get a XOR gate to oscillate with a XTAL. I have a working 74HC14 oscillator: "One gate of a 74HC14. 470ohm resistor from gate output to the parallel of 1Mohm//XTAL. 10pF and 33pF (from the junkbox) capacitors to ground on each side of the XTAL." Since my project calls for a frequency doubler, which I want to implement with a XOR gate, I wanted to use one XOR gate of a 74HC86 as oscillator. Remaining gates would work as buffer, delay line, digital mixer. (I have Googled newsgroups and found an interesting discussion about XOR frequency doublers, so I am aware of its limitations.) So I moved the oscillator circuitry (R; C; R, XTAL; C) from the 74HC14 to the 74HC86, pulling the other input of the XOR gate to "1", so that I would produce an inverter. Nothing happens. I used a 10.0 MHz XTAL. I understand that the 74HC14 has Schmitt trigger inputs and that a 74HC86 might have higher propagation delays. Still, is it possible to use a XOR gate as an inverter and oscillator? Do I overlook something? In the end I recovered the 74HC14 oscillator, but this adds one component to the final circuit I have in mind that wastes energy, space and is underutilized. Looking forward to your always helpful replies! Paolo IK1ZYW Yes, you can get each XOR of the 74HC86 to work as an inverting stage by tying one input high. Then you can get it to act like a linear inverting amplifier by putting a 1 Meg resistor from output to the other input. Now, if you have two of these linear inverting amplifiers in cascade, a feedback path from the second output through a crystal to the first input should produce oscillation. You may even find that just one of the linear inverting stages will be sufficient, since there will be a phase shift if you put a 30pf capacitor in series with the crystal. You can control the feedback with the capacitors to ground that you mentioned. To run a doubler, you need a non-symmetrical square wave or pulse waveform, since a symmetrical square wave has no second harmonic content (only odd harmonics). With vacuum tube amplifiers, this was called Class C operation, since conduction occurred for considerable less than 1/2 the cycle and doubling was easy. Doubling requires about 90 degree conduction (1/4 cycle). You should get yourself an oscilloscope, if you are a sighted person. Chuck |
#9
![]() |
|||
|
|||
![]() "PaoloC" wrote in message ... [Slightly off-topic request] Hi. As of the other post of mine, another part of my weekend was spent trying to get a XOR gate to oscillate with a XTAL. I have a working 74HC14 oscillator: "One gate of a 74HC14. 470ohm resistor from gate output to the parallel of 1Mohm//XTAL. 10pF and 33pF (from the junkbox) capacitors to ground on each side of the XTAL." Since my project calls for a frequency doubler, which I want to implement with a XOR gate, I wanted to use one XOR gate of a 74HC86 as oscillator. Remaining gates would work as buffer, delay line, digital mixer. (I have Googled newsgroups and found an interesting discussion about XOR frequency doublers, so I am aware of its limitations.) So I moved the oscillator circuitry (R; C; R, XTAL; C) from the 74HC14 to the 74HC86, pulling the other input of the XOR gate to "1", so that I would produce an inverter. Nothing happens. I used a 10.0 MHz XTAL. I understand that the 74HC14 has Schmitt trigger inputs and that a 74HC86 might have higher propagation delays. Still, is it possible to use a XOR gate as an inverter and oscillator? Do I overlook something? In the end I recovered the 74HC14 oscillator, but this adds one component to the final circuit I have in mind that wastes energy, space and is underutilized. Looking forward to your always helpful replies! Paolo IK1ZYW Yes, you can get each XOR of the 74HC86 to work as an inverting stage by tying one input high. Then you can get it to act like a linear inverting amplifier by putting a 1 Meg resistor from output to the other input. Now, if you have two of these linear inverting amplifiers in cascade, a feedback path from the second output through a crystal to the first input should produce oscillation. You may even find that just one of the linear inverting stages will be sufficient, since there will be a phase shift if you put a 30pf capacitor in series with the crystal. You can control the feedback with the capacitors to ground that you mentioned. To run a doubler, you need a non-symmetrical square wave or pulse waveform, since a symmetrical square wave has no second harmonic content (only odd harmonics). With vacuum tube amplifiers, this was called Class C operation, since conduction occurred for considerable less than 1/2 the cycle and doubling was easy. Doubling requires about 90 degree conduction (1/4 cycle). You should get yourself an oscilloscope, if you are a sighted person. Chuck |
#10
![]() |
|||
|
|||
![]()
Using CMOS inverters to build oscillators works best when using "unbuffered"
inverters. These can be identified by the letter "U" in the part number, as in "74HCU04". If you use a buffered part or a part that has Schmitt trigger inputs, then the input-output transfer function becomes very steep (too much gain) and the oscillation becomes hard to control. When this happens, the circuit often oscillates, but at some frequency much higher than the crystal frequency. I've made oscillators out of XOR gates, but if it doesn't come up on the right frequency it can be hard to debug without a scope. To determine if it's oscillating at all, I suggest measuring the DC current consumption with the feedback removed (crystal out of circuit), and then with the feedback closed (crystal in circuit). When the circuit is oscillating, the current will be markedly higher. Once you know it's oscillating, then you have to determine where it's oscillating. This might be challenging if all you have is a receiver. Joe W3JDR "PaoloC" wrote in message ... [Slightly off-topic request] Hi. As of the other post of mine, another part of my weekend was spent trying to get a XOR gate to oscillate with a XTAL. I have a working 74HC14 oscillator: "One gate of a 74HC14. 470ohm resistor from gate output to the parallel of 1Mohm//XTAL. 10pF and 33pF (from the junkbox) capacitors to ground on each side of the XTAL." Since my project calls for a frequency doubler, which I want to implement with a XOR gate, I wanted to use one XOR gate of a 74HC86 as oscillator. Remaining gates would work as buffer, delay line, digital mixer. (I have Googled newsgroups and found an interesting discussion about XOR frequency doublers, so I am aware of its limitations.) So I moved the oscillator circuitry (R; C; R, XTAL; C) from the 74HC14 to the 74HC86, pulling the other input of the XOR gate to "1", so that I would produce an inverter. Nothing happens. I used a 10.0 MHz XTAL. I understand that the 74HC14 has Schmitt trigger inputs and that a 74HC86 might have higher propagation delays. Still, is it possible to use a XOR gate as an inverter and oscillator? Do I overlook something? In the end I recovered the 74HC14 oscillator, but this adds one component to the final circuit I have in mind that wastes energy, space and is underutilized. Looking forward to your always helpful replies! Paolo IK1ZYW |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IP3 for xtal filter. | Equipment | |||
Oscillating 3rd overtone XTAL at fundamental? | Homebrew | |||
WTB: Tempo One Xtal | Boatanchors | |||
WTB:Collins xtal board | Boatanchors | |||
WTB:COLLINS xTAL dECK | Boatanchors |