MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Gate delay and race hazard phenomena
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)(每月更新中)

Gate delay and race hazard phenomena

When a signal reaches a gate through different path lengths it arrives at different times, making a glitch called a race hazard. This page covers cause, recognition and removal.

1. How it works

Every gate has propagation delay of a few to tens of ns, so in combinational logic the same signal on different path lengths arrives at a gate input at different times, briefly creating an unwanted intermediate state; that is a race. If that state is amplified into an output glitch, it is a hazard. For example A reaching an AND through a long AND and a short NOT arrives first on one side, producing a narrow pulse.

2. Practice and pitfalls

Algebraically a hazard appears when complementary terms change together; on a Karnaugh map it shows as two touching but unmerged loops, and the touch point is the risk. The common static hazard is an input change where output should stay put yet emits a narrow glitch. On site a scope shows the narrow spike, often near clock or enable edges, occasionally false triggering a later flip flop.

3. Race hazard points

ConceptCauseCure
Gate delaypropagationinherent
Racepath skewarrive diff
Hazardglitch outscope it
Staticshould staynarrow pulse
RecognizeK map touchsee loops
Removeredundant Schmittmask

4. Notes

Gate delay makes same signal arrive at different times (race), amplified to a glitch is hazard, predictable by touching loops on a Karnaugh map. Remove with redundant terms, Schmitt shaping or a strobe that masks the glitch window; synchronize async signals to avoid metastability.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Timing and hazard 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:
① Glitch false triggers later stages; rare garbage hard to find, scope it.
② Async signal unsynced enters clock domain and goes metastable.
③ Adding buffers for neat delay still adds delay and drifts with temperature.

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