摘要 |
The present invention provides a switching circuit and an electronic device, which relate to the field of electronic technologies, so as to improve reliability of image processing. The switching circuit includes a comparator circuit, a first switch circuit, a second switch circuit, a first drive voltage source, and a second drive voltage source. Two input ends of the comparator circuit respectively receive an input voltage and a reference voltage, an output end is separately connected to an input end of the first switch circuit and an input end of the second switch circuit; The comparator circuit determines whether the input voltage is greater than the reference voltage, outputs a high level when determining that the input voltage is greater than the reference voltage, and outputs a low level when determining that the input voltage is not greater than the reference voltage. |
主权项 |
1. A switching circuit, comprising a comparator circuit, a first switch circuit, a second switch circuit, a first drive voltage source, and a second drive voltage source, wherein the comparator circuit comprises a first input end, a second input end, and an output end; the first switch circuit and the second switch circuit both comprise an input end, an output end, and a drive end;
the first input end of the comparator circuit is configured to receive an input voltage; the second input end of the comparator circuit is configured to receive a reference voltage; the output end of the comparator circuit is separately connected to the input end of the first switch circuit and the input end of the second switch circuit; the drive end of the first switch circuit is connected to the first drive voltage source; the drive end of the second switch circuit is connected to the second drive voltage source; the comparator circuit is configured to determine whether the input voltage is greater than the reference voltage; output a high level if it is determined that the input voltage is greater than the reference voltage; and output a low level if it is determined that the input voltage is not greater than the reference voltage; the first switch circuit is configured to, when the comparator circuit outputs the high level, switch on and output, by using the output end of the first switch circuit, a first drive voltage provided by the first drive voltage source; and switch off when the comparator circuit outputs the low level; and the second switch circuit is configured to, when the comparator circuit outputs the low level, switch on and output, by using the output end of the second switch circuit, a second drive voltage provided by the second drive voltage source; and switch off when the comparator circuit outputs the high level. |