CN-122001378-A - Analog-to-digital converter with voltage monitoring function
Abstract
The application discloses an analog-to-digital converter with a voltage monitoring function, which comprises a voltage comparator and a control logic circuit. The control logic circuit is used for switching the working modes of the analog-to-digital converter, wherein the working modes comprise a data acquisition mode and a real-time monitoring mode. When operating in the data acquisition mode, the voltage comparator is used for converting the analog electrical signal input into the analog-to-digital converter into discrete digital logic level signals so as to output the digital signals according to the digital logic level signals. When the device works in the real-time monitoring mode, the voltage comparator is used for comparing the input analog electric signal with the threshold setting electric signal and outputting a monitoring result signal obtained by comparison. The voltage comparator of the analog-to-digital converter is fully applied in a mode of switching the working modes, so that the circuit complexity of the signal acquisition chip in a scene that the analog signal to be subjected to analog-to-digital conversion has a voltage value limitation is simplified, and the cost is reduced.
Inventors
- GE BINJIE
- SHEN JINPENG
- LU YAO
- CHEN XUANFEI
- REN ZENGYU
- LIU YANGGUANG
- HE YONGQI
Assignees
- 深圳北理莫斯科大学
Dates
- Publication Date
- 20260508
- Application Date
- 20251222
Claims (10)
- 1. An analog-to-digital converter with a voltage monitoring function is characterized by comprising a voltage comparator and a control logic circuit; The control logic circuit is used for switching the working mode of the analog-to-digital converter, wherein the working mode comprises a data acquisition mode and a real-time monitoring mode; When the analog-to-digital converter works in the data acquisition mode, the control logic circuit is used for controlling the voltage comparator to convert an analog electric signal input into the analog-to-digital converter into a discrete digital logic level signal, and the control logic circuit is also used for outputting a digital signal according to the digital logic level signal obtained by conversion, wherein the digital signal is used as an output signal of the analog-to-digital converter; When the analog-to-digital converter works in the real-time monitoring mode, the control logic circuit is used for controlling the voltage comparator to compare the analog electric signal input into the analog-to-digital converter with the voltage of a preset threshold setting electric signal so as to output a monitoring result signal according to the comparison result, and the monitoring result signal is used as the output of the analog-to-digital converter.
- 2. The analog-to-digital converter of claim 1, wherein said control logic circuit sets an operating mode of said analog-to-digital converter according to a predetermined mode setting signal.
- 3. The analog-to-digital converter of claim 2, wherein said mode setting signal is said monitoring result signal; When the monitoring result signal indicates that the voltage of the analog electric signal is larger than the threshold setting electric signal, the control logic circuit switches the working mode of the analog-to-digital converter into a real-time monitoring mode, otherwise, switches the working mode of the analog-to-digital converter into a data acquisition mode; Or when the monitoring result signal indicates that the voltage of the analog electric signal is smaller than the threshold setting electric signal, the control logic circuit switches the working mode of the analog-to-digital converter into a real-time monitoring mode, otherwise, switches the working mode of the analog-to-digital converter into a data acquisition mode.
- 4. The analog-to-digital converter of claim 2, further comprising a feedback digital-to-analog conversion circuit coupled to said voltage comparator for outputting said threshold setting electrical signal to said voltage comparator.
- 5. The analog-to-digital converter of claim 4, wherein said feedback digital-to-analog conversion circuit is coupled to said control logic circuit for setting a voltage value of said threshold setting electrical signal in accordance with a voltage setting signal output from said control logic circuit.
- 6. The analog-to-digital converter of claim 2, wherein the analog-to-digital converter is a successive approximation analog-to-digital converter.
- 7. The analog-to-digital converter of claim 6, further comprising a sample-and-hold circuit for outputting an analog electrical signal input to said analog-to-digital converter to said voltage comparator.
- 8. The analog-to-digital converter of claim 7, wherein said sample-and-hold circuit is a fully differential switched-capacitor circuit.
- 9. The analog-to-digital converter of claim 8, wherein said sample-and-hold circuit comprises a sample-and-hold first circuit and a sample-and-hold second circuit of the same circuit configuration for holding and approximating said analog electrical signal input to said voltage comparator when an operational mode of said analog-to-digital converter is a data acquisition mode; The sample-hold first circuit is further configured to output the analog electrical signal input to the analog-to-digital converter to the voltage comparator when the operation mode of the analog-to-digital converter is a real-time monitoring mode.
- 10. The analog-to-digital converter of claim 9, further comprising a timing reference control circuit coupled to said control logic circuit for outputting a timing reference signal for analog-to-digital conversion control to said control logic circuit, said timing reference control circuit further configured to output said timing reference signal to said sample-and-hold first circuit and said sample-and-hold second circuit for clocking signals to said fully differential switched-capacitor circuit when said analog-to-digital converter is operating in said data acquisition mode.
Description
Analog-to-digital converter with voltage monitoring function Technical Field The present invention relates to analog-to-digital signal processing, and more particularly, to an analog-to-digital converter with voltage monitoring. Background An ADC (analog-to-digital converter) is used for collecting an electric signal, and a comparator module is included in a circuit of the ADC, and other functional modules are included according to different structures and functions. For example: 1. The parameters of the voltage and the current of the battery are required to be acquired, and parameters such as the electric quantity and the impedance of the battery are obtained; 2. The chip or the system also has a plurality of application scenes that certain physical quantity or node voltage needs to be monitored, and corresponding feedback measures are made according to the monitoring results, so that the stability of the system is ensured or the damage of the system is avoided. 3. And monitoring the power supply voltage of the chip, and when the power supply voltage is lower than a certain threshold value, informing the system of the power failure risk and preparing for data backup in time. The various monitoring processes all generate required monitoring threshold values through a reference circuit, the monitored signals and the monitoring threshold values (the monitoring threshold values can be adjusted through digital control signals) are compared through a comparator, and then feedback control is carried out according to comparison results, so that the threshold value control on the monitoring target is realized. Therefore, in designing the monitor circuit, a comparator needs to be added in addition to the necessary analog-to-digital conversion circuit. How to optimize the monitoring feedback circuit based on the electric signal monitoring function is the research direction of the application. Disclosure of Invention The invention mainly solves the technical problem of optimizing the functional circuit which needs analog-to-digital conversion and voltage signal monitoring. According to a first aspect, in one embodiment there is provided an analog-to-digital converter having a voltage monitoring function, comprising a voltage comparator and control logic; The control logic circuit is used for switching the working mode of the analog-to-digital converter, wherein the working mode comprises a data acquisition mode and a real-time monitoring mode; When the analog-to-digital converter works in the data acquisition mode, the control logic circuit is used for controlling the voltage comparator to convert an analog electric signal input into the analog-to-digital converter into a discrete digital logic level signal, and the control logic circuit is also used for outputting a digital signal according to the digital logic level signal obtained by conversion, wherein the digital signal is used as an output signal of the analog-to-digital converter; When the analog-to-digital converter works in the real-time monitoring mode, the control logic circuit is used for controlling the voltage comparator to compare the analog electric signal input into the analog-to-digital converter with the voltage of a preset threshold setting electric signal so as to output a monitoring result signal according to the comparison result, and the monitoring result signal is used as the output of the analog-to-digital converter. In one embodiment, the control logic sets the operation mode of the analog-to-digital converter according to a predetermined mode setting signal. In one embodiment, the mode setting signal is the monitoring result signal; When the monitoring result signal indicates that the voltage of the analog electric signal is larger than the threshold setting electric signal, the control logic circuit switches the working mode of the analog-to-digital converter into a real-time monitoring mode, otherwise, switches the working mode of the analog-to-digital converter into a data acquisition mode; Or when the monitoring result signal indicates that the voltage of the analog electric signal is smaller than the threshold setting electric signal, the control logic circuit switches the working mode of the analog-to-digital converter into a real-time monitoring mode, otherwise, switches the working mode of the analog-to-digital converter into a data acquisition mode. In one embodiment, the analog-to-digital converter further includes a feedback digital-to-analog conversion circuit connected to the voltage comparator for outputting the threshold setting electrical signal to the voltage comparator. In one embodiment, the feedback digital-to-analog conversion circuit is connected to the control logic circuit, and is configured to set the voltage value of the threshold setting electrical signal according to the voltage setting signal output by the control logic circuit. In one embodiment, the analog-to-digital converter is a successive approximation ana