Study guide

5.3 Sequential Logic, Flip-Flops, Counters, and Displays

ASTM NCATT Aircraft Electronics Technician AET

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: DC Electricity and Circuit Fundamentals

1.1 DC Basic Terms, Atomic Structure, and Charge 1.2 Ohm's Law and Electrical Power 1.3 Series and Parallel DC Circuits 1.4 Voltage Drop, Circuit Protection, and Aircraft Batteries 1.5 Basic Circuit Troubleshooting

2 Chapter 2: AC Electricity

2.1 AC Fundamentals and Sine Wave Metrics 2.2 Inductive Reactance and Inductance 2.3 Capacitive Reactance and Capacitance 2.4 Impedance, Resonance, Power Factor, and Three-Phase Systems

3 Chapter 3: Passive Components and Transformers

3.1 Resistors and Resistor Color Codes 3.2 Inductors, Capacitors, and RC/RL Time Constants 3.3 Transformers and Magnetic Circuits

4 Chapter 4: Semiconductor Devices and Active Circuits

4.1 Diodes, Rectifiers, and Zener Diodes 4.2 Transistors, Relays, and Switches 4.3 Filters, Oscillators, and Multivibrators 4.4 Limiter Circuits

5 Chapter 5: Digital Techniques and Logic Systems

5.1 Numbering Systems and Conversions 5.2 Logic Gates and Logic Families 5.3 Sequential Logic, Flip-Flops, Counters, and Displays

6 Chapter 6: Maintenance, Safety, and Documentation

6.1 Electrical Safety, PPE, First Aid, and Noise Exposure 6.2 ESD Control, FOD Prevention, and Hazmat 6.3 Use of Common Tools 6.4 Test Equipment Operation 6.5 Aviation Regulations, Publications, and Documentation

7 Chapter 7: Aircraft Fundamentals and Wiring Systems

7.1 Aircraft Wiring Harnesses and Conductors 7.2 Wiring Installation Practices, Safety Wire, and Corrosion 7.3 Wire Maintenance and Continuity Testing 7.4 Aircraft Structures, Aerodynamics, Flight Controls, and Ground Handling

5.3 Sequential Logic, Flip-Flops, Counters, and Displays

Key Takeaways Explain This Topic AI

Flip-flops serve as fundamental 1-bit memory cells where output state depends on both current inputs and previous clock-edge history, operating in edge-triggered modes.

JK flip-flops resolve the invalid state condition of SR flip-flops (S=1, R=1), providing a deterministic toggle mode (Q_n+1 = NOT Q_n) when J=1 and K=1 under active clock transitions.

Asynchronous (ripple) counters exhibit propagation delays as clock pulses cascade sequentially through flip-flop stages, whereas synchronous counters trigger all flip-flops simultaneously from a master clock to eliminate cumulative skew.

7-segment LED/LCD decoders drive numerical displays using Common Anode (active-low segment driving) or Common Cathode (active-high segment driving) configurations to present flight parameters to the flight crew.

Last updated: July 2026

5.3 Sequential Logic, Flip-Flops, Counters, and Displays

While combinational logic gates process inputs instantaneously, modern aircraft computers require memory elements to store data, count events, synchronize data transfers, and drive flight deck instrumentation. Sequential logic circuits incorporate feedback paths and storage components whose output states depend on both current inputs and previous operational history. This section details bistable multivibrators (SR, D, and JK flip-flops), synchronous and asynchronous binary counters, and 7-segment display decoder interfaces used in avionics systems.

Fundamentals of Sequential Logic and Clocking

The fundamental building block of sequential logic is the bistable multivibrator (flip-flop or latch), a circuit capable of remaining indefinitely in one of two stable voltage states (Logic 0 or Logic 1) until triggered by an external input signal.

Sequential circuits are governed by clock signals:

Level-Triggered Latches : Change output states whenever the clock input is held at a specific continuous voltage level (High or Low).

Edge-Triggered Flip-Flops : Sample input data and update output states exclusively during a rapid clock voltage transition. A positive-edge triggered flip-flop responds on the rising edge ( ↑ \uparrow ↑ , 0 to 1), whereas a negative-edge triggered flip-flop responds on the falling edge ( ↓ \downarrow ↓ , 1 to 0).

  • Flip-Flop Architectures
  • 1. Set-Reset (SR) Flip-Flop

The SR flip-flop possesses two control inputs: S S S (Set) and R R R (Reset).

When S = 1 S=1 S = 1 and R = 0 R=0 R = 0 , the output Q Q Q sets to 1.

When S = 0 S=0 S = 0 and R = 1 R=1 R = 1 , the output Q Q Q resets to 0.

When S = 0 S=0 S = 0 and R = 0 R=0 R = 0 , the output Q Q Q holds its previous state ( Q n Q_n Q n ​ ).

When S = 1 S=1 S = 1 and R = 1 R=1 R = 1 , an invalid (forbidden) state occurs. Both outputs Q Q Q and Q ˉ \bar{Q} Q ˉ ​ attempt to drive Low simultaneously, causing unpredictable outputs and race conditions when inputs transition back to 0.

2. Data (D) Flip-Flop

The D flip-flop resolves the SR invalid state by routing a single Data input ( D D D ) to the Set input while feeding an inverted version ( D ˉ \bar{D} D ˉ ) to the Reset input.

On the active clock transition, output Q Q Q assumes the exact logic value present at input D D D ( Q n + 1 = D Q_{n+1} = D Q n + 1 ​ = D ).

D flip-flops serve as 1-bit storage cells in data registers, buffer latches, and serial-to-parallel shift registers within ARINC 429 bus receiver ICs.

3. Jack-Kilby (JK) Flip-Flop

The JK flip-flop is a versatile, universal flip-flop that completely eliminates the invalid condition of the SR flip-flop.

When J = 0 J=0 J = 0 and K = 0 K=0 K = 0 , the output holds its state ( Q n + 1 = Q n Q_{n+1} = Q_n Q n + 1 ​ = Q n ​ ).

When J = 1 J=1 J = 1 and K = 0 K=0 K = 0 , output Q Q Q sets to 1.

When J = 0 J=0 J = 0 and K = 1 K=1 K = 1 , output Q Q Q resets to 0.

When J = 1 J=1 J = 1 and K = 1 K=1 K = 1 , the flip-flop enters Toggle Mode ( Q n + 1 = Q ˉ n Q_{n+1} = \bar{Q}_n Q n + 1 ​ = Q ˉ ​ n ​ ). On every active clock pulse, the output inverts to its opposite state.

In level-triggered JK circuits, holding J = 1 J=1 J = 1 and K = 1 K=1 K = 1 while the clock remains High causes continuous uncontrolled output toggling (race-around condition). Master-Slave or edge-triggered internal structures prevent race-around by sampling inputs during the rising clock edge and latching outputs on the falling edge.

Binary Counters: Asynchronous vs. Synchronous

Digital counters consist of cascaded flip-flops configured to count clock pulses, divide frequencies, or measure time intervals in flight control systems.

Asynchronous (Ripple) Counters

In an asynchronous (ripple) counter, only the first flip-flop receives the master external clock signal. Each subsequent flip-flop is clocked by the output ( Q Q Q or Q ˉ \bar{Q} Q ˉ ​ ) of the preceding stage.

Advantage : Simple circuit design requiring minimal logic gating.

Disadvantage : Cumulative Propagation Delay . Each flip-flop introduces an internal propagation delay ( t p d t_{pd} t p d ​ ). For an N N N -stage counter, the total delay before the final bit settles is t total = N × t p d t_{\text{total}} = N \times t_{pd} t total ​ = N × t p d ​ .

At high clock frequencies, this cumulative delay causes intermediate output state decoding errors ("glitches"). Consequently, ripple counters are restricted to low-frequency timing applications in avionics.

Synchronous Counters

In a synchronous counter, the master clock signal is connected in parallel to the clock inputs of all flip-flops simultaneously. Logic gates process the Q Q Q outputs to drive the J J J and K K K enable inputs of subsequent stages.

Advantage : All output bits toggle at the exact same instant, eliminating cumulative propagation delay skew.

Application : Synchronous counters are mandatory for high-speed avionics timing generators, master clock dividers, and digital tachometer systems.

7-Segment Decoders and Cockpit Display Drivers

7-segment displays arrange seven individual light-emitting diode (LED) or liquid crystal display (LCD) segments (labeled a , b , c , d , e , f , g a, b, c, d, e, f, g a , b , c , d , e , f , g ) in a figure-8 pattern to form digits 0 through 9.

Decoder/Driver Integrated Circuits

Decoder ICs (such as the 74LS47 or 74HC4511) accept 4-bit Binary Coded Decimal (BCD) input lines ( D , C , B , A D, C, B, A D , C , B , A ) and decode them into 7 distinct output lines to energize the correct display segments.

Display Electrical Configurations

Common Anode Display : The positive anodes of all seven segment LEDs are tied together to + V C C +V_{CC} + V CC ​ . To illuminate a segment, the decoder output connected to that segment's cathode must drive Low ( 0 V 0\text{V} 0 V ) to sink current. Common Anode displays require active-low decoder outputs (such as the 74LS47).

Common Cathode Display : The negative cathodes of all seven segment LEDs are tied together to Ground ( 0 V 0\text{V} 0 V ). To illuminate a segment, the decoder output must drive High ( + 5 V +5\text{V} + 5 V ) to source current. Common Cathode displays require active-high decoder outputs (such as the 74HC4511).

Flip-Flop Operational Characteristics Summary

Flip-Flop Type Inputs Clock Trigger Active Inputs & Function Special Operational Mode

SR S, R Level or Edge S = 1 , R = 0 → Q = 1 S=1, R=0 \rightarrow Q=1 S = 1 , R = 0 → Q = 1 ; S = 0 , R = 1 → Q = 0 S=0, R=1 \rightarrow Q=0 S = 0 , R = 1 → Q = 0 S = 1 , R = 1 → S=1, R=1 \rightarrow S = 1 , R = 1 → Invalid State (Forbidden)

D D Edge ( ↑ \uparrow ↑ or ↓ \downarrow ↓ ) D = 1 → Q = 1 D=1 \rightarrow Q=1 D = 1 → Q = 1 ; D = 0 → Q = 0 D=0 \rightarrow Q=0 D = 0 → Q = 0 Data Latch ( Q n + 1 = D Q_{n+1} = D Q n + 1 ​ = D )

JK J, K Edge ( ↑ \uparrow ↑ or ↓ \downarrow ↓ ) J = 1 , K = 0 → Q = 1 J=1, K=0 \rightarrow Q=1 J = 1 , K = 0 → Q = 1 ; J = 0 , K = 1 → Q = 0 J=0, K=1 \rightarrow Q=0 J = 0 , K = 1 → Q = 0 J = 1 , K = 1 → J=1, K=1 \rightarrow J = 1 , K = 1 → Toggle Mode ( Q n + 1 = Q ˉ n Q_{n+1} = \bar{Q}_n Q n + 1 ​ = Q ˉ ​ n ​ )

Avionics Technical Traps & Exam Watch

Ripple Counter Glitch Trap : Attempting to decode intermediate counter states from an asynchronous ripple counter while it is counting at high frequencies will lead to spurious control pulses. Technicians diagnosing erratic system resets must check if high-speed logic is improperly driven by a ripple counter rather than a synchronous counter.

Decoder-Display Polarity Mismatch Trap : Connecting an active-low decoder IC (74LS47 designed for Common Anode displays) to a Common Cathode display causes inverted display behavior: segments that should be dark will illuminate, and segments that should be lit will turn off, displaying corrupted visual symbols.