window detector
A special type of comparator which provides an indication of whether the input voltage is within a specified range.
window detector: voltage within range, or out of bounds
A window detector is a comparator circuit that checks whether an analog input voltage falls inside or outside a defined band, or window. It uses two threshold voltages, typically called the upper and lower trip points, to define the acceptable range. The circuit outputs a logic signal indicating whether the input is within that window, above it, or below it. This is distinct from a single-threshold comparator, which only tells you whether a signal is higher or lower than one fixed voltage.
The circuit typically contains two separate comparators working in parallel. One comparator monitors the upper threshold, the other monitors the lower threshold. Their outputs are combined through logic gates (usually NAND or AND gates) to produce a final window signal. When the input voltage stays between the two thresholds, the output remains in one defined state; when the input drifts outside the window in either direction, the output switches to indicate a fault or out-of-range condition. Some designs use a single IC package containing both comparators and the necessary logic.
Window detectors are essential in battery management systems, where you need to alarm if cell voltage drops below minimum discharge voltage or climbs above maximum charge voltage. They monitor temperature sensors in equipment that must remain within tight operating bounds: power supplies might use a window detector to verify that internal reference voltages stay stable, triggering shutdown if they drift too far in either direction. Machinery often employs window detection on pressure transducers or current sensors to detect both under-range and over-range faults simultaneously.
The window width determines sensitivity. A tight window catches small deviations immediately but risks nuisance trips from noise; a wide window tolerates measurement noise but may miss early drift. Hysteresis is often added to the thresholds to prevent chatter when the input signal oscillates near a trip point. The response time depends on the comparator speed: fast comparators (nanoseconds) suit protection functions, while slower ones (microseconds) suffice for monitoring and indication.
The name reflects the function: you are looking through a window at the acceptable voltage range. Outside the window is out-of-spec territory. This terminology distinguishes the device from threshold detectors (which have one edge) and from analog measurement circuits (which report the actual voltage value). Window detectors are sometimes called window comparators or dual-threshold comparators in manufacturer datasheets.