MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Register circuits built from flip-flops: parallel, shift and the 595
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)(每月更新中)

Register circuits built from flip-flops: parallel, shift and the 595

D flip-flops sharing a clock are a register; chained, a shift register. This page covers latch-versus-edge types, setup and hold, and the three-wire 74HC595.

1. How it works

A register is simply n D flip-flops sharing clock and clear. Level-enabled versions (74HC373 latches) pass data while enabled - transparent, cheap, but glitches walk through during that window; edge versions (74HC273/374) sample on the rising edge and suit synchronous buses. Timing numbers that matter: setup time about 20ns, hold a few nanoseconds, clock-to-output about 20ns on HC parts - violate setup or hold and you harvest metastability.

2. Practice and pitfalls

Shift registers chain flip-flops nose-to-tail. The 74HC595 (serial-in, parallel-out) runs on three wires - data, shift clock, latch clock - and its separate output register means the pins hold still while the next word shifts in, so multiplexed displays never flicker. Cascade via QH' into the next SER pin: 3 wires drive 8n outputs, the standard behind LED matrices and relay banks. Pitfalls: never assert shift and latch clocks on the same edge; buffer shift clocks through a Schmitt on long runs; synchronize asynchronous inputs through two flip-flops before clocking anything; and tie the 595 OE pin low or driven - floating OE parks the outputs high-impedance and the display looks dead on power-up.

3. Register device selection quick table

DeviceTypeKey specsTypical use
74HC2738D edge, cleartsu 20ns, tCO 20nsBus output register
74HC3748D edge, 3-statetCO 20nsBus-connected register
74HC3738D transparent latchTransparent while enabledAddress latch with ALE
74HC595Serial-in parallel-out3 wires per 8 bits, cascadableDisplays, driver banks
74HC165Parallel-in serial-out3 wires read 8 bitsKey matrix scanning
74HC5748D edge, 3-stateImproved 374 pinoutData bus buffering

4. Notes

Rules: edge types for buses, latches for address holds, 595 and 165 for serial expansion; synchronize asynchronous inputs through two stages, condition long-line clocks, and never let OE float.

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:
① An asynchronous line clocking a register:metastable flips at random, no pattern to debug
② Latch and shift clocks on one edge:outputs skew, characters lose segments
③ OE floating on a 595:dead-looking display blamed on a broken board

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