NOT Gate Feedback: Explaining Output Voltage Changes

  • Thread starter Thread starter n0_3sc
  • Start date Start date
  • Tags Tags
    Feedback Gate
AI Thread Summary
A TTL NOT gate with feedback will oscillate continuously due to the nature of its configuration. If two NOT gates are connected in series with feedback, they can store a single bit of static memory. The oscillation frequency is influenced by reactive impedance, and a multimeter may not detect the rapid oscillations, requiring an oscilloscope for accurate observation. Digital gates typically operate in saturated and cutoff regions, and when feedback is applied, the output and input stabilize near mid-rail. This configuration can lead to marginal stability, potentially resulting in oscillations if phase shifts and noise are introduced.
n0_3sc
Messages
238
Reaction score
1
If I have a simple TTL NOT gate and had a feedback line from the output to the input, then how would I explain what happens to the output voltage for certain inputs?
Does it just simply oscillate continuously?
 
Engineering news on Phys.org
yeah, it does. but if you want a little self-taught lesson in the the conceptuallization of 1 bit of static memory, you might want to ask yourself what would happen if it were two NOT gates in series and you feed the output back into the input. then what do you get?
 
Thats pretty cool - the double gate would just store a single bit.
But with my original question, what would happen if you put a multimeter on it - I assume its oscillating too fast to be detected?
 
that would be up to the switching speed of the device.

would need an oscilloscope to really see the effect
 
n0_3sc said:
Thats pretty cool - the double gate would just store a single bit.

sorry for continuing to diverge from the original question (it's not very interesting, of course it would oscillate and very quickly), but now that you can see that 2 NOT gates in a loop can be stable with either a 1 or a 0 at the output of the 2nd gate which is the same as the input to the first gate. now, how would you revise the circuit so that you can force the output to be 1 or 0 before allowing for that value to be saved? if you follow this and replace the NOT gates with either NOR oe NAND gates, you will see you have an RS flip-flop. add a little more and you have a D flip-flop. add a little more and you have a master-slave D flip-flop (that's pretty much what a single bit of static memory is).
 
n0_3sc said:
If I have a simple TTL NOT gate and had a feedback line from the output to the input, then how would I explain what happens to the output voltage for certain inputs?
Does it just simply oscillate continuously?

A simple CMOS inverter with the output connected to the input is biased in the linear region, and the output and input will generally hold near mid-rail. It takes some reactive impedance to get the inverter to oscillate, like in figure 4 in the following datasheet for the 74HCU04:

http://www.onsemi.com/pub_link/Collateral/74HCU04.REV0.PDF
 
berkeman said:
A simple CMOS inverter with the output connected to the input is biased in the linear region, and the output and input will generally hold near mid-rail. It takes some reactive impedance to get the inverter to oscillate, like in figure 4 in the following datasheet for the 74HCU04:

http://www.onsemi.com/pub_link/Collateral/74HCU04.REV0.PDF

How does the biasing in the linear region imply that the voltage will "hold near mid-rail"? Aren't most gates (TTL/CMOS) all biased in the linear region anyway?
Also, doesn't the reactive impedance just set the oscillation frequency rather than the rapid oscillation it may intrinsically do?
 
n0_3sc said:
How does the biasing in the linear region imply that the voltage will "hold near mid-rail"? Aren't most gates (TTL/CMOS) all biased in the linear region anyway?
Also, doesn't the reactive impedance just set the oscillation frequency rather than the rapid oscillation it may intrinsically do?

No, digital gates operate in the saturated region and cutoff region of the constituent transistors. So if the input of an inverter gate is low, then the output pullup transistor is saturated (on), and the pulldown transistor is cutoff (off). When the input transitions low-to-high, after the input passes the crossover point, the output transistors snap the other way.

But if you tie the output back to the input, you get basically a configuration similar to an opamp where you tie the output back to the "-" input, which is a follower. But there is no "+" input to the gate in this configuration to follow, so the configuration is generally marginally stable, with the bias point stabilizing mid-rail for both output and input. But there is a moderate amount of gain there, so if there is a phase shift introduced between output and input (like with the reactive impedance of the crystal oscillator circuit), and there is a tiny bit of perturbing noise to start the oscillation, then you can get an amplitude-limited oscillation at the resonant frequency of the crystal, and hence the classic crystal oscillator based on an (unbuffered, usually) inverter gate.
 
Thanks berkeman - that all makes sense and I'm back to being happy.
 
Back
Top