MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Counter chips: enable and carry signals that make cascades work
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (698 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)(每月更新中)

Counter chips: enable and carry signals that make cascades work

Cascaded counters live or die on enable and carry handshaking. This page covers the 74LS161 control pins, ripple versus synchronous cascades, and programmable-modulus traps.

1. How it works

The 74LS161 is a synchronous 4-bit binary counter (0~15) with CEP and CET enables (both high to count), a synchronous LOAD̄, asynchronous CLR̄, and RCO - carry output - high when the count is 1111 with CET=1, for exactly one clock period. Priority runs CLR̄ over LOAD̄ over counting. The 163 differs only in synchronous clear, which matters: the 161 asynchronous clear generates a decode glitch when making arbitrary moduli, so prefer the 163 or the load method.

2. Practice and pitfalls

Two cascade styles. Ripple: each RCO drives the next CEP/CET - simple, but the carry crawls chip by chip, ten LS161s at 20ns each eat 200ns and a 5MHz clock starts mis-counting. Synchronous: one clock to all chips, each RCO to the next CEP with CET chained - the whole train updates on the same edge and 25MHz is comfortable. Arbitrary modulus: decode N−1 into LOAD̄ for a glitch-free synchronous reload; the 161 clear-at-N method leaves a tens-of-nanoseconds ghost state that downstream logic occasionally samples. And do not treat RCO as a general output - one-clock-wide pulses lose beats.

3. Cascade methods quick table

MethodWiringMax clockSuitable for
Ripple cascadeRCO to next CEP/CETLimited by n-stage delaySlow instrumentation
Synchronous cascadeShared clock, RCO to CEP, CET chainOne-stage limited, 25MHzHigh-speed counting
Modulus by loadDecode N−1 into LOAD̄Glitch-freeRecommended
Modulus by 161 clearDecode N into CLR̄GlitchyLow speed only
Modulus with 163Decode N−1 into CLR̄Clears on the edgeFirst choice
RCO purposeCarry/enable handshakeOne-period pulseNever a clock source

4. Notes

Motto: synchronous for speed, ripple for simplicity; arbitrary modulus by load or 163; wire the P inputs solid, never forget CET, and let RCO carry - not clock.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Digital IC specification per GB/T 17574 (IEC 60748 series); logic symbols per GB/T 4728. Always check the device datasheet and the product design file for ratings and derating.

6. Cautions

⚠️ Three common pitfalls:
① Ripple cascade pushed too fast:the carry outruns the clock and counts scramble
② 161 clear-at-N modulus:a nanosecond ghost state sampled downstream at random
③ CET left low:the counter walks on while RCO stays flat and the chain is broken

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