flip-flop
A bistable; an electronic switching circuit that has either two stable states (switching between them in response to a trigger) or a stable and an unstable state (switching from one to the other and back again in response to a trigger), and which is thereby capable of serving as one bit of memory.
flip-flop: the circuit that holds a single bit
A flip-flop is a digital circuit that can lock into one of two stable voltage states and hold that state until a trigger signal forces it to switch. It is the fundamental building block of digital memory and counters across power generation control systems, protective relays, and logic circuits in substations. A single flip-flop stores one bit of information: the output is either high (logic 1) or low (logic 0), and it remains there indefinitely until clocked or triggered to change.
The most common industrial variants are the SR (set-reset), JK, D, and T flip-flops, each responding to input signals differently. An SR flip-flop has two inputs: set makes the output go high, reset makes it go low. A D flip-flop captures the input state on one edge of a clock pulse and holds it until the next pulse. A JK flip-flop combines features of SR and D types and can toggle (switch state) with each clock pulse. The T flip-flop toggles whenever its trigger input is asserted. In power system protection, these circuits are wired together to create counters, latches, and sequence generators that coordinate relay operations during faults.
Operation in control circuits
Flip-flops are built from logic gates (NAND, NOR, or combinations thereof) that create positive feedback: the high output of one gate drives the low output, and vice versa, locking the circuit in place. This bistable nature makes them immune to noise and transient disturbances; a momentary pulse or voltage spike cannot flip the state unless it meets the circuit's trigger threshold and timing requirements. In relay logic and programmable controllers, flip-flops act as latches: once a fault condition is detected and acknowledged, the flip-flop holds the alarm signal active until the operator explicitly resets it, preventing nuisance clearing during a sustained disturbance.
The term flip-flop reflects the abrupt two-state behavior: the circuit flips from one state to the other and flops back again. In older literature it is also called a bistable multivibrator. The timing of state changes is governed by clock inputs; setup time (how long the input must be stable before a trigger edge) and hold time (how long it must remain stable after) are critical parameters in industrial designs operating at frequencies up to tens or hundreds of megahertz. Violation of these timing windows causes metastability, where the output momentarily enters an undefined voltage region, risking erratic behavior in the rest of the system.
Modern industrial applications embed flip-flops in application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), and microcontroller firmware rather than as discrete gate packages. However, the flip-flop remains the conceptual unit of logic design; every digital counter, shift register, and state machine in a power plant control system relies on arrays of flip-flops functioning in concert. Understanding flip-flop behavior is essential for troubleshooting timing faults, logic lock-ups, and unexpected relay responses in critical infrastructure.