MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Why flip-flop outputs run through or oscillate
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)(每月更新中)

Why flip-flop outputs run through or oscillate

Run-through and oscillation are two ways a flip-flop misbehaves, both rooted in level triggering or a structural defect. This page explains how each arises and why master-slave and edge structures cure them.

1. How it works

Run-through means the output toggles more than once inside one active clock period. A level-triggered gated RS with feedback from Q to the inputs can toggle back and forth during the whole CP 1 window, so a counter treats one pulse as several. Run-through is not oscillation: it is redundant toggling inside one valid level, and counting always goes wrong.

2. Numbers and practice

Oscillation means Q and Qbar keep flipping with no clock event at all, seen when a basic RS picks up noise or a master-slave part is driven with a wrong clock pulse width. If the cross-coupled positive feedback never locks, the outputs self-oscillate between high and low. On the factory floor supply noise and ground bounce trigger it; the symptom is LEDs flickering madly and counters running away.

3. Pitfalls and fixes

The cure: a master-slave flip-flop splits the cell in two, the master listens while CP 1 and the slave holds, and the master value is handed to the slave only at the falling edge, so the output updates once per cycle and run-through disappears. Edge triggering goes further and samples only at the instant. Modern sequential design uses edge or master-slave parts almost exclusively; transparent latches remain only for bus windows.

4. Run-through versus oscillation comparison

PhenomenonTrigger conditionConsequenceCountermeasure
Run-throughLevel triggered, CP 1Many toggles per beatMove to edge or master-slave
OscillationFeedback never locksSelf-excited flippingFilter and steady the supply
Counting errorCaused by run-throughOver or under countSample on one edge
Master-slaveTwo-stage isolationOne update per cycleRecommended structure
Noise inducedGround bounceOccasional runawayDecoupling and filtering
Transparent latchBus window useNot for countingLimit the scenario

5. Notes

Use edge or master-slave flip-flops for all counting and dividing; never stand in a level latch. When a counter runs away on site, check supply decoupling and grounding first, then clock quality.

6. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Sequential circuit reliability per GB/T 4728 and IEC 60748 series. Always check the device datasheet and the product design file for ratings and derating.

7. Cautions

⚠️ Three common pitfalls:
① Level latch standing in for a counter flip-flop:run-through during CP 1 turns one pulse into many
② Poor decoupling and ground bounce:oscillation self-excites and the counter runs away
③ Master-slave clock pulse width wrong:the master is handed over before locking and data corrupts

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