MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › How to handle unused logic gate inputs
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (600 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

How to handle unused logic gate inputs

Unused inputs done wrong make CMOS misbehave and TTL noise prone. This page gives the correct tie for AND OR and their inverted forms.

1. How it works

Tie unused inputs of AND or NAND high, because AND outputs 0 on any 0, so a 1 does not matter; tie unused OR or NOR inputs low, because OR outputs 1 on any 1, so a 0 does not matter. Never float them, especially in CMOS where the level is undefined and noise flips it and even raises power.

2. Practice and pitfalls

You may parallel the unused input to an used one of the same gate to save routing, or pull it to VCC through 1 to 10 k (safe for both families), or tie directly to VCC or ground only when clean and same voltage. CMOS must have a definite level; TTL floats high but is noise prone, so pull up too. Treat every extra input of a multi input gate, none left.

3. Unused input handling

GateTie toWhy
AND NANDhigh0 forces 0
OR NORlow1 forces 1
CMOSdefiniteno float
TTLpull upnoise
Methodparallel pullsave wire
Wrongground on ANDlocks 0

4. Notes

Tie AND or NAND unused inputs high and OR or NOR low; CMOS must never float, pull up or parallel. Do not ground an AND input (locks 0) or raise an OR input (locks 1). Use 1 to 10 k pull up and handle unused pins even in fast circuits to cut input capacitance.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Digital handling per GB/T 4728; control to GB/T 5226.1 and IEC 60204-1. Always check the device datasheet and the product design file for ratings and derating.

6. Cautions

⚠️ Three common pitfalls:
① Floating CMOS unused input flips logic and can latch up and burn.
② Grounding an AND unused input locks the output at 0.
③ Raising an OR unused input locks the output at 1.

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL