Divider building with flip-flops is a digital basic: one edge-triggered D flip-flop is a divide-by-two. This page covers the single stage, ripple cascades and the synchronous approach.
Single stage: wire the D input of a D flip-flop to its own Qbar and feed the clock into CK. Q toggles once per rising edge, so the output frequency is half the clock with a 50 percent duty cycle. This is the cleanest divide-by-two there is, far steadier than counting pulses with gates, naturally synchronous and glitch free.
Cascading: clock the next stage from the Q or Qbar of the previous one, and n stages give 2^n division. The ripple arrangement is simple, stage 1 halves, stage 2 quarters and so on, but each stage adds delay, so at high frequency the high bits lag and the duty cycle drifts. The synchronous arrangement clocks every stage together and forms each D from combinational logic on the previous stages, fast with aligned edges.
Non-power-of-two ratios: for divide-by-10 or the like, let a counter reach a chosen value then reset or load, and latch the output with a flip-flop; the 74LS90 is internally exactly such a chain. Divider outputs feed displays, buzzers and stepper pulse trains, and the frequency accuracy is that of the crystal, stable to ppm level with little temperature drift.
| Stages n | Divide ratio | Output from 10MHz in | Typical use |
|---|---|---|---|
| 1 | 2 | 5MHz | Clock |
| 2 | 4 | 2.5MHz | Mid band |
| 3 | 8 | 1.25MHz | Pulse |
| 4 | 16 | 625kHz | Beat |
| 5 | 32 | 312.5kHz | Scan |
| 6 | 64 | 156.25kHz | Tone scale |
Ripple chains lag in the high bits, so use synchronous division at speed. Ratios that are not powers of two are built with the counter reset or load method.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Dividers and counting per GB/T 4728 and IEC 60617 symbols. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.