Tri-state logic: High impedance as an input to a logic gate

Click For Summary
SUMMARY

This discussion centers on the implications of high-impedance inputs in logic gates, particularly in TTL and CMOS technologies. High-impedance inputs can lead to floating states, which are detrimental as they can introduce noise and increase current consumption. The consensus is that leaving logic inputs floating is inadvisable; instead, they should be tied off with pull-up or pull-down resistors or configured as outputs to ensure stable operation.

PREREQUISITES
  • Understanding of bi-state logic (0s and 1s) in digital circuits
  • Familiarity with TTL (Transistor-Transistor Logic) chip schematics
  • Knowledge of CMOS (Complementary Metal-Oxide-Semiconductor) gate operation
  • Basic concepts of pull-up and pull-down resistors in circuit design
NEXT STEPS
  • Study the operation of TTL chips and their input characteristics
  • Learn about CMOS gate behavior and the effects of floating inputs
  • Research best practices for using pull-up and pull-down resistors in digital circuits
  • Explore methods to mitigate noise in PCB design related to floating inputs
USEFUL FOR

Electronics engineers, digital circuit designers, and students learning about logic gate functionality and circuit stability.

Bipolarity
Messages
773
Reaction score
2
So I am well familiar with how bi-state logic (with 0s and 1s) works in gates. 0+0=0; 0+1=1+0=1+1=1 etc.

What happens if an input to a gate is neither 0 nor 1, but has an high-impedance value? Will it disable the logic gate from working? Will the logic gate simply ignore that input? Anyone have any clues? Perhaps it depends on what series chip one is using?

Really appreciate it! Thanks!

BiP
 
Engineering news on Phys.org
Perhaps it depends on what series chip one is using?

yes.

Look at a TTL chip schematic. It pulls its input high through a resistor on base, emitter goes to input pin..
One asserts input by sinking I think 1.6ma of emitter current.
So it'll probably interpret open circuit as logic high.
Trouble is, an open inputs is susceptible to noise - the pcb track connected to it is an antenna so you get errors.
Floating inputs are troublemakers.
 
As Jim says, floating logic inputs are a bad thing. In addition to picking up noise and possibly oscillating, when the input to a CMOS gate floats near the middle voltage between Vdd and Vss, the gate output circuit can go into a conducting state, where both the pullup and pulldown transistors are ON. That increases the current consumption of the logic gate by quite a bit.

So the design rule is generally that you do not want to leave any logic inputs floating. Either tie them off with a pullup or pulldown resistor, or configure them as outputs (like the IOs of a microcontroller).
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
6K
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
9K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
6
Views
5K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
6K