A comparator is usually a circuit that compares an analog voltage signal with a reference voltage and belongs to a logic chip. The two inputs of the comparator are analog signals, and the output is binary signals, which are divided into zero-crossing comparator, voltage comparator, hysteresis comparator, window comparator and digital comparator according to the working principle. Selection suggestions: 1, the actual comparator input impedance can not be infinite, bias current is used to measure the influence of the input impedance. 2, the input offset voltage generally changes with the change of temperature and power supply voltage. The power supply rejection ratio (PSRR) is commonly used to measure this effect. 3, for high-speed applications, pay attention to the transmission delay time parameter.