English: Illustration of how a comparator works. The schematic diagram (left) shows a comparator A with a constant voltage VREF equal to half the supply voltage VCC/2 applied to its inverting input by a voltage divider consisting of the two resistors R, and a triangle wave VIN applied to its noninverting input. The graph (right) shows the input and output waveforms. The output of the comparator VOUT is in a high state (saturated) when VIN > VREF and zero when VIN < VREF. A comparator consists of a specialized high speed op amp.
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.