A voltage digital conversion method and system applied to temperature detection

By combining the control module and the analog-to-digital conversion module, along with differential processing and error calibration, the problems of high precision and anti-interference in chip temperature detection are solved, enabling accurate monitoring and efficient detection of temperature values.

CN120034197BActive Publication Date: 2025-11-25GUANGDONG GREATER BAY AREA INST OF INTEGRATED CIRCUIT & SYST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510115697.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-24
Publication Date
2025-11-25
Estimated Expiration
2045-01-24

AI Technical Summary

Technical Problem

Existing chip temperature detection methods cannot achieve high-precision temperature monitoring, and analog-to-digital converters have poor anti-interference performance and cannot effectively handle high-temperature conditions, leading to abnormal chip function.

Method used

The system employs a combination of a control module, an analog-to-digital conversion module, an error calibration module, a logic switch module, and a single-ended to differential conversion module. The logic switch module is grounded via a clock signal to perform differential processing and multi-cycle analog-to-digital conversion, while the target digital code is obtained in conjunction with the error calibration module.

Benefits of technology

It enables accurate monitoring of temperature values, improves the precision of temperature detection, has an offset calibration function and strong anti-interference capability, and is suitable for a wider range of temperature detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120034197B_ABST
    Figure CN120034197B_ABST
Patent Text Reader

Abstract

The application provides a voltage digital conversion method applied to temperature detection, which comprises the following steps: generating a reset clock signal and a conversion clock signal; controlling a logic switch module to perform a grounding action in a reset stage to obtain an offset digital code; controlling the logic switch module to perform a pass-through action in a conversion stage, so that the logic switch module receives a temperature voltage signal and sends the temperature voltage signal to a single-ended to differential module, and then the single-ended to differential module obtains a differential signal based on the temperature voltage signal and feeds back the differential signal to an analog-to-digital conversion module, so that the analog-to-digital conversion module performs an analog-to-digital conversion step and feeds back a positive output signal and a negative output signal; obtaining a regulation signal based on the positive output signal and the negative output signal, obtaining an initial digital code based on the regulation signal and the differential signal; and making an error calibration module obtain a target digital code based on the offset digital code and the initial digital code. The application provides a voltage digital conversion method and system applied to temperature detection, and accurate monitoring and detection of a temperature value with a mismatch calibration function are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of integrated circuit design, and in particular to a voltage-to-digital conversion method and system for temperature detection. Background Technology

[0002] Chip performance and reliability can change under varying temperatures. Therefore, to ensure stable operation, chip temperature variations must remain within acceptable ranges. For automotive-grade chips operating for extended periods, accurate temperature monitoring is essential. Most mainstream chips on the market incorporate over-temperature protection. The voltage converted from the temperature sensor is compared to a set value; if the temperature exceeds a certain threshold, the comparator output changes from 0V to high, interrupting the chip's power supply. However, this technology only provides basic chip control and cannot monitor temperature. It cannot effectively handle excessively high temperatures to lower the chip's temperature and maintain normal operation. Furthermore, since the temperature signal is converted into voltage data, the analog voltage cannot be directly fed to the microcontroller (MCU) for processing. Therefore, the temperature and voltage signals must be converted into digital signals.

[0003] Current voltage-to-digital converters (PDCs) are implemented using analog-to-digital converters (ADCs). A temperature sensor converts temperature into DC voltage, which is then converted into digital code using a single-ended input successive approximation ADC (SAR ADC). Compared to differential input successive approximation ADCs, this single-ended input SAR ADC has poor anti-interference performance. Differential input SAR ADCs have two inputs, strong symmetry, and the noise caused by the clock feedthrough effect of the sampling switches on both inputs is subtracted to obtain the total system noise. In contrast, single-ended input SAR ADCs suffer from non-ideal effects of the sampling switches, errors caused by parasitic capacitance at the comparator input, and device noise, which directly affect the entire system, making high-precision conversion impossible. Summary of the Invention

[0004] The present invention aims to provide a voltage digital conversion method and system for temperature detection, so as to solve the above-mentioned technical problems and achieve accurate monitoring of temperature values.

[0005] To address the aforementioned technical problems, this invention provides a voltage-to-digital conversion method for temperature detection, applied to a voltage-to-digital conversion system. The system includes a control module, an analog-to-digital conversion module, an error calibration module, a logic switch module, a temperature sensor, and a single-ended to differential conversion module. The control module is electrically connected to the analog-to-digital conversion module, the error calibration module, and the logic switch module. The logic switch module is electrically connected to the temperature sensor, the single-ended to differential conversion module, and the single-ended to differential conversion module is electrically connected to the analog-to-digital conversion module. The method, with the control module as the executing entity, includes the following steps:

[0006] Generate a reset clock signal and a conversion clock signal;

[0007] During the reset phase of the voltage-to-digital conversion system, the logic switch module is controlled by the reset clock signal to perform a grounding action, thereby obtaining the offset digital code;

[0008] During the conversion stage of the voltage-to-digital conversion system, the logic switch module is controlled by the conversion clock signal to perform path actions. This allows the logic switch module to receive the temperature voltage signal fed back by the temperature sensor and send the temperature voltage signal to the single-ended to differential module. The single-ended to differential module then obtains the differential signal based on the temperature voltage signal, thereby controlling the single-ended to differential module to feed back the differential signal to the analog-to-digital conversion module. This enables the analog-to-digital conversion module to perform the analog-to-digital conversion steps and feed back positive and negative output signals.

[0009] The control signal is obtained based on the positive and negative output signals, and the initial digital code is obtained based on the control signal and the differential signal.

[0010] The control error calibration module obtains the target digital code based on the offset digital code and the initial digital code, thereby completing the digital conversion of temperature and voltage.

[0011] The above-described temperature-voltage digital conversion method uses a reset clock signal to control the logic switch module to ground the voltage conversion system, thereby obtaining an offset digital code. The conversion clock signal controls each module to perform corresponding conversion and adjustment actions. It receives temperature and voltage signals and performs differential voltage conversion and multi-cycle analog-to-digital conversion based on the clock conversion signal, thus completing multiple cycles of circuit regulation and output to obtain an initial digital code. The offset digital code is then used for calibration, ultimately obtaining the target digital code from the temperature-voltage signal conversion. This completes the temperature-voltage digital conversion, enables temperature detection, achieves temperature value monitoring, and provides offset calibration, improving the accuracy of temperature detection.

[0012] Furthermore, during the voltage-to-digital conversion system conversion stage, the logic switch module is controlled by the conversion clock signal to perform path actions, so that the logic switch module receives the temperature voltage signal fed back by the temperature sensor and sends the temperature voltage signal to the single-ended to differential module, thereby enabling the single-ended to differential module to obtain the initial differential signal based on the temperature voltage signal; then, the single-ended to differential module obtains the differential signal according to the preset output conversion range based on the initial differential signal, thereby controlling the single-ended to differential module to feed back the differential signal to the analog-to-digital conversion module, so that the analog-to-digital conversion module performs the analog-to-digital conversion step and feeds back positive and negative output signals.

[0013] In the above scheme, the voltage digital conversion system is put into the conversion stage by the clock conversion signal. At this time, the control logic switch circuit performs the path action to receive the temperature voltage signal, and the single-ended to differential module performs differential processing on the temperature voltage signal to narrow the voltage range, so that the system can be applied to a wider range of temperature voltage conversion detection and can realize the conversion of the entire power supply voltage input range.

[0014] Furthermore, the process of obtaining a control signal based on the positive and negative output signals, and obtaining an initial digital code based on the control signal and the differential signal, includes: generating an output comparison signal based on the positive and negative output signals, obtaining the control signal based on the output comparison signal; and controlling the analog-to-digital conversion module to perform a grounding conversion action based on the control signal and the differential signal to obtain the initial digital code.

[0015] In the above scheme, a control signal is formed by positive and negative output signals to control the analog-to-digital conversion module to perform a grounding conversion action in order to obtain the initial digital code, thereby realizing the conversion of voltage signal to digital signal.

[0016] Furthermore, the analog-to-digital converter (ADC) module is controlled to perform a grounding transition based on the control signal and differential signal to obtain an initial digital code. This includes: controlling the ADC module to perform a grounding transition based on the control signal and differential signal, causing the ADC module to enter a switching state, and obtaining a single digital code; generating a positive output signal and a negative output signal after switching based on the differential signal in the switching state, and generating a comparison signal after switching based on the positive output signal and the negative output signal after switching, thereby obtaining a control signal after switching based on the comparison signal after switching, and then controlling the ADC module in the switching state to perform a grounding transition based on the control signal after switching to obtain the next single digital code, until the preset switching completion condition is met; and obtaining the initial digital code based on all the single digital codes.

[0017] In the above scheme, through several cycles of cyclic operation, the grounding conversion action of the analog-to-digital conversion module is performed by adjusting the signal, thereby converting the differential signal to obtain positive and negative output signals, obtaining a single digital code, and finally obtaining the initial digital code after the cycle is completed, thus quickly realizing the conversion of voltage signal to digital signal.

[0018] Furthermore, the control error calibration module obtains the target digital code based on the offset digital code and the initial digital code, thereby completing the digital conversion of temperature and voltage. This includes: the control error calibration module obtaining a wide-range digital code based on the offset digital code and the initial digital code; and reversing the wide-range digital code and the preset output conversion range to obtain the target digital code, thereby completing the digital conversion of temperature and voltage.

[0019] The above scheme uses offset digital codes for calibration, which solves the problem of overall digital code offset caused by system misalignment, such as mismatch errors caused by deviations in production and capacitance values ​​in various modules. This improves the accuracy of temperature-voltage digital conversion and has strong anti-interference capabilities.

[0020] This invention provides a voltage-to-digital conversion method for temperature detection. It controls a logic switch module to ground via a clock signal, thereby generating an offset digital code based on the system's basic operating state. The method then performs differential processing, range conversion, and voltage-to-digital conversion based on the temperature and voltage signals to obtain an initial digital code. This enables the digital conversion of temperature and voltage. Calibration is then performed based on the offset and initial digital codes to obtain the desired target digital code. This improves the accuracy of temperature detection based on temperature-to-voltage numerical conversion. Differential processing and narrowing the voltage input range increase the input voltage range for temperature-to-voltage digital conversion. The method achieves accurate monitoring of temperature values ​​and features offset calibration and strong anti-interference capabilities.

[0021] This invention also provides a voltage-to-digital conversion system for temperature detection, implementing a voltage-to-digital conversion method for temperature detection, comprising: a control module, an analog-to-digital conversion module, an error calibration module, a logic switch module, a temperature sensor, and a single-ended to differential conversion module, wherein:

[0022] The temperature sensor detection end is located at the point to be detected, and the temperature sensor output end is electrically connected to the logic switch module receiving end. The temperature sensor detects the temperature at the point to be detected to obtain a temperature voltage signal and feeds back the temperature voltage signal to the logic switch module.

[0023] The output terminal of the logic switch module is electrically connected to the receiving terminal of the single-ended to differential module, and the adjustment terminal of the logic switch module is electrically connected to the switch control terminal of the control module. During the reset phase of the voltage digital conversion system, the logic switch module performs a grounding action based on the reset clock signal, thereby enabling the control module to obtain the offset digital code. During the conversion phase of the voltage digital conversion system, the logic switch module performs a path action based on the conversion clock signal to receive the temperature voltage signal fed back by the temperature sensor and send the temperature voltage signal to the single-ended to differential module.

[0024] The first output terminal of the single-ended to differential module is electrically connected to the first receiving terminal of the analog-to-digital converter module, and the second output terminal of the single-ended to differential module is electrically connected to the second receiving terminal of the analog-to-digital converter module; the single-ended to differential module acquires the differential signal based on the temperature and voltage signal and feeds back the differential signal to the analog-to-digital converter module;

[0025] The positive output terminal of the analog-to-digital converter (ADC) is electrically connected to the positive input terminal of the control module, the negative output terminal of the ADC is electrically connected to the negative input terminal of the control module, the first control terminal of the ADC is electrically connected to the first control terminal of the control module, and the second control terminal of the ADC is electrically connected to the second control terminal of the control module. The ADC performs an ADC conversion step based on the differential signal to obtain positive and negative output signals, and feeds back the positive and negative output signals to the control module.

[0026] The output of the control module is electrically connected to the receiver of the error calibration module. The control module generates a reset clock signal and a conversion clock signal. During the reset phase of the voltage-to-digital conversion system, the control module performs a grounding action based on the reset clock signal to obtain an offset digital code and feed it back to the error calibration module. During the conversion phase, the control module performs a path operation based on the conversion clock signal to receive the temperature voltage signal from the temperature sensor and send it to the single-ended to differential converter. The single-ended to differential converter then obtains a differential signal based on the temperature voltage signal, and feeds it back to the analog-to-digital converter (ADC) to perform the analog-to-digital conversion and feed back positive and negative output signals. Based on the positive and negative output signals, the control module obtains a control signal and an initial digital code based on the control signal and the differential signal, feeding it back to the error calibration module. Finally, the error calibration module obtains the target digital code based on the offset digital code and the initial digital code, thus completing the digital conversion of the temperature and voltage.

[0027] The error calibration module obtains the target digital code based on the offset digital code and the initial digital code, thereby completing the digital conversion of temperature and voltage.

[0028] The above-described temperature-voltage digital conversion system uses a control module to send a reset clock signal to control a logic switch module to ground the voltage conversion system, thereby obtaining an offset digital code. The control module also sends a conversion clock signal to control each module to perform corresponding conversion and adjustment actions. It receives temperature and voltage signals and performs differential voltage conversion and multi-cycle analog-to-digital conversion based on the clock conversion signal, thus completing multiple cycles of circuit regulation and output to obtain an initial digital code. An error calibration module then uses the offset digital code for calibration, ultimately obtaining the target digital code from the temperature-voltage signal conversion. This completes the temperature-voltage digital conversion, enables temperature detection, achieves temperature value monitoring, and provides offset calibration, improving the accuracy of temperature detection.

[0029] Furthermore, the logic switch module includes a grounding submodule and a path submodule, wherein:

[0030] The first terminal of the grounding submodule is grounded, and the first terminal of the grounding submodule serves as the grounding terminal of the logic switch module. The output terminal of the grounding submodule is electrically connected to the output terminal of the path submodule.

[0031] The receiving end of the path submodule serves as the receiving end of the logic switch module, and the output end of the path submodule serves as the output end of the logic switch module.

[0032] During the voltage-to-digital conversion system reset phase, the grounding submodule performs a grounding action based on the reset clock signal, thereby enabling the control module to obtain the offset digital code.

[0033] During the voltage-to-digital conversion system conversion phase, the path submodule performs path actions based on the conversion clock signal to receive the temperature voltage signal fed back by the temperature sensor and send the temperature voltage signal to the single-ended to differential module.

[0034] In the above scheme, the logic switch module performs corresponding operations under the clock signal issued by the control module, so that the system generates an offset digital code or receives temperature and voltage signals to perform digital conversion to obtain an initial digital code, providing a data basis for subsequent offset calibration.

[0035] Furthermore, the analog-to-digital conversion module includes a sampling switch submodule, a first capacitor array, and a second capacitor array, wherein:

[0036] The positive input terminal of the sampling switch submodule serves as the first receiving terminal of the analog-to-digital converter module, the negative input terminal of the sampling switch submodule serves as the second receiving terminal of the analog-to-digital converter module, the positive output terminal of the sampling switch submodule is electrically connected to the input terminal of the first capacitor array, and the negative output terminal of the sampling switch submodule is electrically connected to the input terminal of the second capacitor array.

[0037] The lower plate interface of the first capacitor array is electrically connected to the positive input terminal of the control module. The lower plate interface of the first capacitor array serves as the positive output terminal of the analog-to-digital conversion module. The first capacitor array control terminal serves as the first control terminal of the analog-to-digital conversion module.

[0038] The lower plate interface of the second capacitor array is electrically connected to the negative input terminal of the control module. The lower plate interface of the second capacitor array serves as the negative output terminal of the analog-to-digital conversion module. The control terminal of the second capacitor array serves as the second control terminal of the analog-to-digital conversion module.

[0039] The sampling switch submodule is turned on during the voltage-to-digital conversion system conversion phase, so that the analog-to-digital conversion module enters the sampling phase and acquires the differential signal, and is turned off after the analog-to-digital conversion module acquires the differential signal, so that the analog-to-digital conversion module enters the comparison phase, thereby keeping the differential signal on the first capacitor array and the second capacitor array.

[0040] During the comparison phase of the analog-to-digital conversion module, the first capacitor array generates a positive output signal based on the differential signal and sends it to the control module, while the second capacitor array generates a negative output signal based on the differential signal and sends it to the control module. This enables the control module to generate a control signal based on the positive and negative output signals, and the first and second capacitor arrays perform a grounding conversion operation based on the differential signal and the control signal.

[0041] In the above scheme, an analog-to-digital conversion module is formed by a sampling switch submodule, a first capacitor array, and a second capacitor array. The sampling switch submodule holds the received differential signal on the capacitor array, and the grounding conversion action is performed by using the electrical connection relationship of the capacitor array and the control module to control it, thereby generating different output signals at the output end. This enables rapid multi-cycle voltage-to-digital conversion, allowing the control module to obtain the initial digital code after voltage-to-digital conversion based on the different output signals generated at the output end.

[0042] Furthermore, the control module includes a comparator and a control logic submodule, wherein:

[0043] The positive input terminal of the comparator serves as the positive input terminal of the control module, the negative input terminal of the comparator serves as the negative input terminal of the control module, and the output terminal of the comparator is electrically connected to the input terminal of the control logic submodule.

[0044] The first control terminal of the control logic submodule serves as the first control terminal of the control module, the second control terminal of the control logic submodule serves as the second control terminal of the control module, the switch control terminal of the control logic submodule serves as the switch control terminal of the control module, and the output terminal of the control logic submodule serves as the output terminal of the control module.

[0045] The comparator obtains the output comparison signal based on the positive and negative output signals;

[0046] The control logic submodule generates a control signal based on the output comparison signal, and controls the analog-to-digital conversion module to perform a grounding conversion action based on the control signal, thereby obtaining the initial digital code.

[0047] In the above scheme, the comparator compares the different output signals generated by the control module at the output terminal to generate a control signal so that the analog-to-digital converter module performs a grounding conversion action. This enables the control of the analog-to-digital converter module to perform rapid multi-cycle voltage-to-digital conversion. The individual digital codes generated by each conversion are stored to form the initial digital code, realizing the control generation process of temperature-voltage digital conversion. Together with the analog-to-digital converter module, it realizes the function of successive comparison analog-to-digital converter.

[0048] Furthermore, the system also includes: a voltage buffer module, wherein:

[0049] The first receiving end of the voltage buffer module is electrically connected to the first output end of the single-ended to differential converter, the second receiving end of the voltage buffer module is electrically connected to the second output end of the single-ended to differential converter, the first output end of the voltage buffer module is electrically connected to the first receiving end of the analog-to-digital converter module, and the second output end of the voltage buffer module is electrically connected to the second receiving end of the analog-to-digital converter module.

[0050] In the above scheme, by adding a voltage buffer module to provide a larger drive current, the conversion system can still stably and with small error transmit the single-to-dual output voltage to the next stage even when running at high speed, thereby enhancing the system's stability and anti-interference capability.

[0051] This invention provides a voltage-to-digital conversion system for temperature detection. The system uses a clock signal from a control module to ground a logic switch module, generating an offset digital code based on the basic operating state of each module. Based on the temperature and voltage signals, it controls other modules to perform differential processing, range conversion, and voltage-to-digital conversion to obtain an initial digital code, achieving digital conversion of temperature and voltage. An error calibration module then calibrates based on the offset and initial digital codes to obtain the desired target digital code, improving the accuracy of temperature detection based on temperature-to-voltage value conversion. The system employs a single-ended to differential module for differential processing and narrows the voltage input range, while adding a voltage buffer module to achieve conversion and detection across the entire temperature and voltage range. Through the interaction of the modules, the system achieves accurate monitoring of temperature values ​​and possesses offset calibration capabilities and strong anti-interference capabilities. Attached Figure Description

[0052] Figure 1 This is a schematic diagram of a voltage-to-digital conversion method for temperature detection provided in an embodiment of the present invention;

[0053] Figure 2 This is a schematic diagram of a voltage-to-digital conversion system for temperature detection provided in an embodiment of the present invention;

[0054] Figure 3 This is a schematic diagram of a voltage-to-digital converter for temperature detection provided in an embodiment of the present invention;

[0055] Figure 4 This is a schematic diagram illustrating the input-output range variation of a voltage-to-digital converter system for temperature detection, provided as an embodiment of the present invention. Detailed Implementation

[0056] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0057] Example 1:

[0058] This embodiment provides a voltage-to-digital conversion method for temperature detection, applied to a voltage-to-digital conversion system. The system includes a control module, an analog-to-digital conversion module, an error calibration module, a logic switch module, a temperature sensor, and a single-ended to differential conversion module. The control module is electrically connected to the analog-to-digital conversion module, the error calibration module, and the logic switch module. The logic switch module is electrically connected to the temperature sensor, the single-ended to differential conversion module, and the single-ended to differential conversion module is also electrically connected to the analog-to-digital conversion module. The method, with the control module as the executing entity, includes the following steps: Figure 1 As shown:

[0059] S1: Generates the reset clock signal and the conversion clock signal;

[0060] S2: During the reset phase of the voltage-to-digital conversion system, the logic switch module is controlled by the reset clock signal to perform a grounding action, thereby obtaining the offset digital code;

[0061] S3: During the voltage-to-digital conversion system conversion stage, the logic switch module is controlled by the conversion clock signal to perform path actions, so that the logic switch module receives the temperature voltage signal fed back by the temperature sensor and sends the temperature voltage signal to the single-ended to differential module. Then, the single-ended to differential module obtains the differential signal based on the temperature voltage signal, thereby controlling the single-ended to differential module to feed back the differential signal to the analog-to-digital conversion module, so that the analog-to-digital conversion module performs the analog-to-digital conversion steps and feeds back positive and negative output signals.

[0062] S4: Obtain the control signal based on the positive and negative output signals, and obtain the initial digital code based on the control signal and the differential signal;

[0063] S5: The control error calibration module obtains the target digital code based on the offset digital code and the initial digital code, thereby completing the digital conversion of temperature and voltage.

[0064] The above-described temperature-voltage digital conversion method uses a reset clock signal to control the logic switch module to ground the voltage conversion system, thereby obtaining an offset digital code. The conversion clock signal controls each module to perform corresponding conversion and adjustment actions. It receives temperature and voltage signals and performs differential voltage conversion and multi-cycle analog-to-digital conversion based on the clock conversion signal, thus completing multiple cycles of circuit regulation and output to obtain an initial digital code. The offset digital code is then used for calibration, ultimately obtaining the target digital code from the temperature-voltage signal conversion. This completes the temperature-voltage digital conversion, enables temperature detection, achieves temperature value monitoring, and provides offset calibration, improving the accuracy of temperature detection.

[0065] In the specific implementation process, due to the deviation in the production of transistors within the system during the system manufacturing process, an imbalance will occur, which is equivalent to generating a fixed voltage at the input terminal. In addition, the capacitance value deviation will occur during the production of the analog-to-digital conversion module, resulting in mismatch error. These system imbalance errors will cause the overall digital code to shift. Therefore, the method of sending a clock signal to ground the logic switch module is used to obtain the offset digital code, in order to prepare for subsequent digital calibration.

[0066] Optionally, in step S3, during the voltage-to-digital conversion system conversion stage, the logic switch module is controlled to perform a path operation based on the conversion clock signal, so that the logic switch module receives the temperature voltage signal fed back by the temperature sensor and sends the temperature voltage signal to the single-ended to differential module, thereby causing the single-ended to differential module to obtain the initial differential signal based on the temperature voltage signal; then, the single-ended to differential module obtains the differential signal according to the preset output conversion range based on the initial differential signal, thereby controlling the single-ended to differential module to feed back the differential signal to the analog-to-digital conversion module, so that the analog-to-digital conversion module performs the analog-to-digital conversion step and feeds back positive and negative output signals.

[0067] Optionally, step S4 includes: generating an output comparison signal based on the positive and negative output signals, obtaining a control signal based on the output comparison signal; controlling the analog-to-digital conversion module to perform a grounding conversion action based on the control signal and the differential signal, and obtaining the initial digital code.

[0068] In the specific implementation process, the positive and negative output signals form a control signal to control the analog-to-digital conversion module to perform a grounding conversion action in order to obtain the initial digital code, thereby realizing the conversion of voltage signals into digital signals.

[0069] Optionally, step S5 includes: controlling the analog-to-digital converter (ADC) module to perform a grounding conversion action based on the control signal and the differential signal, causing the ADC module to enter a switching state and obtaining a single digital code; generating a positive output signal and a negative output signal after switching based on the differential signal in the switching state, generating a comparison signal after switching based on the positive output signal and the negative output signal after switching, thereby obtaining the control signal after switching based on the comparison signal after switching, and then controlling the ADC module in the switching state to perform a grounding conversion action based on the control signal after switching to obtain the next single digital code, until the preset switching completion condition is met; obtaining the initial digital code based on all single digital codes.

[0070] In the specific implementation process, through several cycles of cyclic action, the grounding conversion action of the analog-to-digital conversion module is performed by adjusting the signal, thereby converting the differential signal to obtain positive and negative output signals, obtaining a single digital code, and finally obtaining the initial digital code after completing the cycle, thus quickly realizing the conversion of voltage signal to digital signal.

[0071] Optionally, step S5 further includes: the control error calibration module obtaining a wide-range digital code based on the offset digital code and the initial digital code; and reversing the wide-range digital code and the preset output conversion range to obtain the target digital code, thereby completing the digital conversion of temperature and voltage.

[0072] In the specific implementation process, during the conversion stage, after receiving the temperature voltage signal from the temperature sensor, the single-ended to differential module converts the temperature voltage signal into a differential signal and reduces the range of the input temperature voltage signal by 1 / 2. The analog-to-digital conversion module and the control module together realize the function of a successive comparison analog-to-digital converter (SAR ADC). The analog-to-digital conversion module includes N+1 conversion cycles, which in turn outputs N+1 bits of digital code to the next stage. Since the range of the single-ended to differential module is reduced by 1 / 2, its actual effective code value range is only N bits. Therefore, the error calibration module subtracts the offset digital code from the initial N+1 bits of digital code and discards the highest bit. The resulting N bits of digital code is the target digital code. That is, the code range corresponding to the extra 1 bit can be used to deal with the overall digital code offset problem caused by system misalignment.

[0073] This embodiment provides a voltage-to-digital conversion method for temperature detection. It controls the grounding of a logic switch module via a clock signal, thereby generating an offset digital code based on the system's basic operating state. Based on the temperature and voltage signals, it controls differential processing, range conversion, and voltage-to-digital conversion to obtain an initial digital code, achieving temperature-to-voltage digital conversion. Calibration is then performed based on the offset and initial digital codes to obtain the desired target digital code, improving the accuracy of temperature detection based on temperature-to-voltage numerical conversion. Differential processing and narrowing the voltage input range increase the input voltage range for temperature-to-voltage digital conversion. This method achieves accurate monitoring of temperature values ​​and features offset calibration and strong anti-interference capabilities.

[0074] Example 2:

[0075] This embodiment provides a voltage-to-digital conversion system for temperature detection, such as... Figure 2 As shown, a voltage-to-digital conversion method for temperature detection is implemented, comprising: a control module, an analog-to-digital conversion module, an error calibration module, a logic switch module, a temperature sensor, and a single-ended to differential conversion module, wherein:

[0076] The temperature sensor detection end is located at the point to be detected, and the temperature sensor output end is electrically connected to the logic switch module receiving end. The temperature sensor detects the temperature at the point to be detected to obtain a temperature voltage signal, and feeds back the temperature voltage signal to the logic switch module.

[0077] The output terminal of the logic switch module is electrically connected to the receiving terminal of the single-ended to differential module, and the adjustment terminal of the logic switch module is electrically connected to the switch control terminal of the control module. During the reset phase of the voltage digital conversion system, the logic switch module performs a grounding action based on the reset clock signal, thereby enabling the control module to obtain the offset digital code. During the conversion phase of the voltage digital conversion system, the logic switch module performs a path action based on the conversion clock signal to receive the temperature voltage signal fed back by the temperature sensor and send the temperature voltage signal to the single-ended to differential module.

[0078] The first output terminal of the single-ended to differential module is electrically connected to the first receiving terminal of the analog-to-digital converter module, and the second output terminal of the single-ended to differential module is electrically connected to the second receiving terminal of the analog-to-digital converter module; the single-ended to differential module acquires the differential signal based on the temperature and voltage signal and feeds back the differential signal to the analog-to-digital converter module;

[0079] The positive output terminal of the analog-to-digital converter (ADC) is electrically connected to the positive input terminal of the control module, the negative output terminal of the ADC is electrically connected to the negative input terminal of the control module, the first control terminal of the ADC is electrically connected to the first control terminal of the control module, and the second control terminal of the ADC is electrically connected to the second control terminal of the control module. The ADC performs an ADC conversion step based on the differential signal to obtain the positive and negative output signals, and feeds back the positive and negative output signals to the control module.

[0080] The control module output is electrically connected to the error calibration module receiver. The control module generates a reset clock signal and a conversion clock signal. During the reset phase of the voltage-to-digital conversion system, the control module uses the reset clock signal to control the logic switch module to perform a grounding action, thereby acquiring the offset digital code and feeding it back to the error calibration module. During the conversion phase, the control module uses the conversion clock signal to control the logic switch module to perform a path action, enabling it to receive the temperature voltage signal from the temperature sensor and send it to the single-ended to differential converter. The single-ended to differential converter then acquires the differential signal based on the temperature voltage signal, and feeds it back to the analog-to-digital converter (ADC) module. This allows the ADC module to perform the analog-to-digital conversion step and feed back positive and negative output signals. Based on the positive and negative output signals, the control module acquires a control signal and, based on the control signal and the differential signal, acquires the initial digital code, which is then fed back to the error calibration module. Finally, the error calibration module acquires the target digital code based on the offset digital code and the initial digital code, thus completing the digital conversion of the temperature and voltage.

[0081] The error calibration module obtains the target digital code based on the offset digital code and the initial digital code, thereby completing the digital conversion of temperature and voltage.

[0082] The above-described temperature-voltage digital conversion system uses a control module to send a reset clock signal to control a logic switch module to ground the voltage conversion system, thereby obtaining an offset digital code. The control module also sends a conversion clock signal to control each module to perform corresponding conversion and adjustment actions. It receives temperature and voltage signals and performs differential voltage conversion and multi-cycle analog-to-digital conversion based on the clock conversion signal, thus completing multiple cycles of circuit regulation and output to obtain an initial digital code. An error calibration module then uses the offset digital code for calibration, ultimately obtaining the target digital code from the temperature-voltage signal conversion. This completes the temperature-voltage digital conversion, enables temperature detection, achieves temperature value monitoring, and provides offset calibration, improving the accuracy of temperature detection.

[0083] Optionally, the logic switch module includes a grounding submodule and a path submodule, wherein: the first terminal of the grounding submodule is grounded, serving as the grounding terminal of the logic switch module; the output terminal of the grounding submodule is electrically connected to the output terminal of the path submodule; the receiving terminal of the path submodule serves as the receiving terminal of the logic switch module, and the output terminal of the path submodule serves as the output terminal of the logic switch module; during the reset phase of the voltage digital conversion system, the grounding submodule performs a grounding action based on the reset clock signal, thereby enabling the control module to acquire the offset digital code; during the conversion phase of the voltage digital conversion system, the path submodule performs a path action based on the conversion clock signal to receive the temperature voltage signal fed back by the temperature sensor and send the temperature voltage signal to the single-ended to differential module.

[0084] In the specific implementation process, during the reset phase, the grounding submodule is turned on and the path submodule is turned off. The ground signal (GND) is connected to the voltage digital conversion system to obtain an offset digital code. This value contains the offset of the digital output code value caused by system misalignment and is stored in the register of the error calibration module. During the conversion phase, the grounding submodule is turned off and the path submodule is turned on. The temperature voltage signal (Vin) obtained by the temperature sensor is transmitted to the single-ended to differential module through the path submodule and converted into a differential signal. The input range of the single-ended to differential module is from the ground signal (GND) to the power supply voltage (VDD). The common-mode voltage formed by it is VCM = VDD / 2, and the output range is from VCM1 / 2 to VCM2 / 3. The differential signal includes Von and Vop output from the two output terminals of the single-ended to differential module. When the input voltage temperature signal is Vin, Von = VCM + |Vin - VCM| / 2, Vop = VCM - |Vin - VCM| / 2.

[0085] Optionally, the analog-to-digital converter module includes a sampling switch submodule, a first capacitor array, and a second capacitor array, wherein: the positive input terminal of the sampling switch submodule serves as the first receiving terminal of the analog-to-digital converter module, the negative input terminal of the sampling switch submodule serves as the second receiving terminal of the analog-to-digital converter module, the positive output terminal of the sampling switch submodule is electrically connected to the input terminal of the first capacitor array, and the negative output terminal of the sampling switch submodule is electrically connected to the input terminal of the second capacitor array; the lower plate interface of the first capacitor array is electrically connected to the positive input terminal of the control module, and the lower plate interface of the first capacitor array serves as the positive output terminal of the analog-to-digital converter module, and the control terminal of the first capacitor array serves as the first control terminal of the analog-to-digital converter module; the lower plate interface of the second capacitor array is electrically connected to the negative input terminal of the control module, and the lower plate interface of the second capacitor array serves as the negative output terminal of the analog-to-digital converter module. The second capacitor array control terminal serves as the second control terminal of the analog-to-digital converter module. The sampling switch submodule is turned on during the voltage-to-digital conversion system conversion phase to enable the analog-to-digital converter module to enter the sampling phase and acquire the differential signal. After the analog-to-digital converter module acquires the differential signal, it is turned off to enable the analog-to-digital converter module to enter the comparison phase, thereby keeping the differential signal on the first capacitor array and the second capacitor array. During the comparison phase of the analog-to-digital converter module, the first capacitor array generates a positive output signal based on the differential signal and sends it to the control module. The second capacitor array generates a negative output signal based on the differential signal and sends it to the control module, so that the control module generates a control signal based on the positive and negative output signals. The first and second capacitor arrays perform grounding switching operations based on the differential signal and the control signal.

[0086] In the specific implementation process, the first capacitor array and the second capacitor array have the same structure, each containing n+1 capacitors, denoted as C1, C2, ..., Cn+1 (n = 1, 2, ...). The sampling switch submodule controls the transmission and maintenance of differential signals Von and Vop on the capacitor array: During the sampling phase, the sampling switch submodule is turned on, and Von and Vop pass through the switch and the capacitor array; During the comparison phase, the sampling switch submodule is turned off, and Von and Vop remain on the capacitor array. At this time, the first capacitor array outputs a positive output signal (V+), and the second capacitor array outputs a negative output signal (V-). At this time, V+ = Von, V- = Vop, so that the control module obtains a single digital code based on V+ and V-, and generates a control signal to control the switching of the lower plate of the capacitor array, thereby controlling the lower plate of the capacitor array to ground GND or power supply VDD, thus generating new V+ and V-, and performing cyclic conversion until the switching completion condition is met, that is, the switching of the lowest bit capacitor electrode plate is completed.

[0087] Optionally, the control module includes a comparator and a control logic sub-module, where: the positive input terminal of the comparator serves as the positive input terminal of the control module, the negative input terminal of the comparator serves as the negative input terminal of the control module, and the output terminal of the comparator is electrically connected to the input terminal of the control logic sub-module; the first control terminal of the control logic sub-module serves as the first control terminal of the control module, the second control terminal of the control logic sub-module serves as the second control terminal of the control module, the switch control terminal of the control logic sub-module serves as the switch control terminal of the control module, and the output terminal of the control logic sub-module serves as the output terminal of the control module; the comparator obtains an output comparison signal based on the positive output signal and the negative output signal; the control logic sub-module generates a regulation signal based on the output comparison signal to control the analog-to-digital conversion module to perform a grounding conversion action based on the regulation signal, and then obtains an initial digital code.

[0088] In the specific implementation process, a comparator is used to compare V+ and V- to generate a comparison signal to obtain a single digital code and a regulation signal. For example: if V+ > V-, the lower plate of the highest-bit capacitor Cn+1 in the V+ terminal capacitor array is switched from ground to VDD, the lower plate of the highest-bit capacitor Cn+1 in the V- terminal capacitor array remains unchanged, and the digital code Dn+1 is obtained; due to the switching of the lower plate value of the V+ terminal capacitor, the V+ voltage changes, and the values of V+ and V- are compared again. If V+ > V-, the lower plate of the V+ terminal capacitor Cn is continued to be switched from ground to VDD; if V+ < V-, the lower plate of the V- terminal capacitor Cn is switched from ground GND to VDD, and the digital code Dn is obtained; the lower plates of the capacitor array are compared and switched in turn until the switching of the lowest-bit capacitor C1 electrode plate is completed, and the digital code Dn+1 (n = 1, 2...) is obtained, and the obtained digital code is sent and stored in the register of the error calibration module.

[0089] In the specific implementation process, the N+1bit digital code Dn+1 (n = 1, 2...) obtained by the error calibration module includes the system offset. The error calibration module subtracts the offset digital code saved in the register during the reset phase from Dn+1 (n = 1, 2...) and discards the highest bit to obtain the final N-bit target digital code Dn (n = 1, 2...). <0000​​​​​​

[0092] This embodiment provides a voltage-to-digital conversion system for temperature detection. The system uses a clock signal from a control module to ground a logic switch module, generating an offset digital code based on the basic operating state of each module. Based on the temperature and voltage signals, it controls other modules to perform differential processing, range conversion, and voltage-to-digital conversion to obtain an initial digital code, achieving digital conversion of temperature and voltage. An error calibration module then calibrates based on the offset and initial digital codes to obtain the desired target digital code, improving the accuracy of temperature detection based on temperature-to-voltage value conversion. The system employs a single-ended to differential module for differential processing and narrows the voltage input range, while adding a voltage buffer module, enabling conversion and detection across the entire temperature and voltage range. Through the interaction of the modules, the system achieves accurate monitoring of temperature values ​​and possesses offset calibration capabilities and strong anti-interference capabilities.

[0093] Example 3:

[0094] This embodiment provides a voltage-to-digital converter for temperature detection, such as... Figure 3 As shown, the circuit includes: a temperature sensor, a logic switch circuit, a single-ended to differential circuit, a sampling switch, a first capacitor array, a second capacitor array, a comparator, a control logic circuit, and an error calibration circuit (DEC). Specifically: the output terminal of the temperature sensor is electrically connected to the receiving terminal of the logic switch circuit; the output terminal of the logic switch circuit is electrically connected to the receiving terminal of the single-ended to differential circuit; the grounding terminal of the logic switch circuit is grounded; the adjustment terminal of the logic switch circuit is electrically connected to the switch control terminal of the control logic circuit; the first output terminal of the single-ended to differential circuit is electrically connected to the first input terminal of the sampling switch; and the second output terminal of the single-ended to differential circuit is electrically connected to the sampling switch. The sampling switch's second input terminal is electrically connected; the sampling switch's first output terminal is electrically connected to the first capacitor array's input terminal; and the sampling switch's second output terminal is electrically connected to the second capacitor array's input terminal. The lower plate interface of the first capacitor array is electrically connected to the comparator's positive input terminal; the lower plate interface of the second capacitor array is electrically connected to the comparator's negative input terminal; the first capacitor array's control terminal is electrically connected to the control logic circuit's first control terminal; and the second capacitor array's control terminal is electrically connected to the control logic circuit's second control terminal. The comparator's output terminal is electrically connected to the control logic circuit's input terminal; and the control logic circuit's output terminal is electrically connected to the error calibration circuit's receiving terminal. The logic switch circuit includes switches sw1 and sw2, with sw2 being a grounding switch. The first and second capacitor arrays have identical structures, each containing n+1 capacitors, denoted as C1, C2, ..., Cn+1 (n = 1, 2, ...).

[0095] In the specific implementation process, the control logic circuit generates non-overlapping clocks (i.e., the reset clock signal and the conversion clock signal) to control the switches of sw1 and sw2. In the reset stage, sw1 is closed and sw2 is open, and the ground signal (GND) is connected to the voltage digital converter to obtain an offset digital code, which includes the offset of the digital output code value caused by the system offset. This value is stored in the register of the error calibration circuit (DEC). In the normal conversion stage, sw2 is closed and sw1 is open, and the voltage value (Vin) converted by the temperature through the sensor is transmitted to the voltage digital converter. The voltage value Vin is converted into output values Von and Vop through a single-to-double circuit, where Von = VCM + |Vin - VCM| / 2 and Vop = VCM - |Vin - VCM| / 2. In the sampling stage, the sampling switch is turned on, and Von and Vop pass through the switch and the capacitor array; in the comparison stage, the sampling switch is turned off, and Von and Vop are held on the capacitor array, V+ = Von, V- = Vop, and the comparator compares the magnitudes of V+ and V-. The output value of the comparator is stored in the DEC register and also controls the switch of the lower plate of the capacitor array to control the lower plate to be grounded to GND or connected to the power supply VDD. If V+ > V-, the lower plate of the highest-bit capacitor Cn+1 of the V+ - end capacitor array is switched from the ground to VDD, the lower plate of the highest-bit capacitor Cn+1 of the V- - end capacitor array remains unchanged, and the digital code Dn+1 is obtained. Due to the switching of the lower plate value of the V+ - end capacitor, the voltage of V+ changes, and the values of V+ and V- are compared again. If V+ > V-, the lower plate of the V+ - end capacitor Cn is continued to be switched from the ground to VDD; if V+ < V-, the lower plate of the V- - end capacitor Cn is switched from the ground GND to VDD, and the digital code Dn is obtained. The lower plates of the capacitor array are compared and switched in sequence until the switching of the electrode plates of the lowest-bit capacitor C1 is completed, and the digital codes Dn+1 (n = 1, 2...) are stored in the DEC register.

[0096] In the specific implementation process, the first capacitor array, the second capacitor array, the comparator, and the control logic circuit implement the function of a successive approximation analog-to-digital converter (SAR ADC), including N + 1 conversion cycles. The N + 1-bit digital code is output to the next stage. Since the range of the single-ended to differential circuit is reduced by 1 / 2, its actual effective code value range is only N bits. DEC subtracts the offset (OFFSET) code from the N + 1-bit digital code and discards the highest bit to convert it into an N-bit digital code; the code range corresponding to the extra 1-bit code can be used to process the overall digital code offset problem caused by the system offset: for example, due to the deviation in the production of comparator transistors, an offset will occur, which is equivalent to generating a fixed voltage at the input of the comparator; and when the capacitor array is produced, the capacitance value deviation will cause a mismatch error, and these system offset errors will cause the overall digital code offset (OFFSET).

[0097] The converter provided in this embodiment converts temperature into a digital signal that can be processed by a microcontroller (MCU), enabling accurate monitoring of temperature information. It can be used to perform operations such as cooling the chip. It has the advantages of high detection accuracy, fast conversion speed, the ability to convert across the entire power supply voltage input range, offset calibration function, and strong anti-interference capability.

[0098] Example 4:

[0099] This embodiment provides a temperature voltage input / output variation range for a voltage-to-digital converter system applied to temperature detection, such as... Figure 4 As shown: A1 represents the temperature voltage signal input range of the single-ended to differential module, from GND to VDD. The switching value of the lower plate of the capacitor array is from GND to VDD, and the capacitor array switching period is N+1 cycles. Therefore, the input voltage 0-VDD corresponds to the digital code Dn+1 (n=1, 2...) output over N+1 cycles. The single-ended to differential module changes the input range from GND to VDD to 1 / 2VCM to 3 / 2VCM, i.e., A2, reducing the range by half. The reduced common-mode voltage VCM is still 1 / 2VDD. Ideally, this voltage range should correspond to the digital code B1, i.e., an N-bit range with no offset. When there is an offset in the system, the N-bit digital range will shift upwards or downwards as a whole. The diagram shows an upward shift, resulting in the output B2, i.e., an N-bit range with an offset. At this time, the capacitor array switching period is N+1, resulting in an N+1-bit digital code, but only half of it is actually effective, i.e., N in the diagram. The bit range is redundant (C); as shown in the example D in the figure, it is a 4-bit (0000~1111) code. The ideal effective range is 0100 to 1011. When there is an offset in the system, the effective range is 0101 to 1101, where 0101 is the offset code. Then, the 4-bit digital code 1011 obtained by Vin conversion is subtracted from the offset code 0101 to get 0110. Then, the highest bit is discarded to get the final output 3-bit digital code 110. The 3-bit digital code corresponding to the lowest input voltage GND of the voltage-to-digital converter is 000, and the 3-bit digital code corresponding to the highest voltage VDD is 111.

[0100] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A voltage-to-digital conversion method for temperature detection, characterized in that, This method is applied to a voltage-to-digital conversion system, which includes a control module, an analog-to-digital conversion module, an error calibration module, a logic switch module, a temperature sensor, and a single-ended to differential conversion module. The control module is electrically connected to the analog-to-digital conversion module, the error calibration module, the logic switch module, the temperature sensor, the single-ended to differential conversion module, and the analog-to-digital conversion module. The method uses the control module as the executing entity and includes the following steps: Generate a reset clock signal and a conversion clock signal; During the reset phase of the voltage-to-digital conversion system, the logic switch module is controlled by the reset clock signal to perform a grounding action, thereby obtaining the offset digital code; During the conversion stage of the voltage-to-digital conversion system, the logic switch module is controlled by the conversion clock signal to perform path actions. This allows the logic switch module to receive the temperature voltage signal fed back by the temperature sensor and send the temperature voltage signal to the single-ended to differential module. The single-ended to differential module then obtains the differential signal based on the temperature voltage signal, thereby controlling the single-ended to differential module to feed back the differential signal to the analog-to-digital conversion module. This enables the analog-to-digital conversion module to perform the analog-to-digital conversion steps and feed back positive and negative output signals. The control signal is obtained based on the positive and negative output signals, and the initial digital code is obtained based on the control signal and the differential signal. The control error calibration module obtains the target digital code based on the offset digital code and the initial digital code, thereby completing the digital conversion of temperature and voltage.

2. The voltage-to-digital conversion method for temperature detection according to claim 1, characterized in that, In the voltage-to-digital conversion system's conversion phase, the logic switch module is controlled by a conversion clock signal to perform path actions. This causes the logic switch module to receive the temperature voltage signal fed back from the temperature sensor and send it to the single-ended to differential conversion module. The single-ended to differential conversion module then acquires the differential signal based on the temperature voltage signal, thereby controlling the single-ended to differential conversion module to feed back the differential signal to the analog-to-digital conversion module. This allows the analog-to-digital conversion module to perform analog-to-digital conversion steps and feed back positive and negative output signals, including: During the conversion phase of the voltage-to-digital conversion system, the logic switch module is controlled by the conversion clock signal to perform path actions, so that the logic switch module receives the temperature voltage signal fed back by the temperature sensor and sends the temperature voltage signal to the single-ended to differential module, thereby enabling the single-ended to differential module to obtain the initial differential signal based on the temperature voltage signal. This enables the single-ended to differential module to acquire the differential signal based on the initial differential signal according to the preset output conversion range, thereby controlling the single-ended to differential module to feed back the differential signal to the analog-to-digital converter module, so that the analog-to-digital converter module can perform the analog-to-digital conversion step and feed back positive and negative output signals.

3. The voltage-to-digital conversion method for temperature detection according to claim 1, characterized in that, The process of obtaining the control signal based on the positive and negative output signals, and obtaining the initial digital code based on the control signal and the differential signal, includes: An output comparison signal is generated based on the positive and negative output signals, and a control signal is obtained based on the output comparison signal. The analog-to-digital converter module is controlled by the control signal and differential signal to perform grounding conversion action and obtain the initial digital code.

4. The voltage-to-digital conversion method for temperature detection according to claim 3, characterized in that, The method of controlling the analog-to-digital converter module based on the modulation signal and differential signal to perform grounding conversion action and obtain the initial digital code includes: The analog-to-digital converter module is controlled by the control signal and differential signal to perform a grounding switching action, so that the analog-to-digital converter module is in a switching state and a single digital code is obtained; By enabling the analog-to-digital converter module in the switching state to generate a positive output signal and a negative output signal after switching based on the differential signal, and generating a comparison signal after switching based on the positive output signal and the negative output signal after switching, the switching control signal is obtained based on the comparison signal after switching, and then the switching state analog-to-digital converter module is controlled to perform a grounding conversion action based on the switching control signal to obtain the next single digital code until the preset switching completion condition is met. The initial numeric code is obtained based on all individual numeric codes.

5. A voltage-to-digital conversion method for temperature detection according to claim 2, characterized in that, The control error calibration module obtains the target digital code based on the offset digital code and the initial digital code, thereby completing the digital conversion of temperature and voltage, including: The control error calibration module obtains a wide range of digital codes based on the offset digital code and the initial digital code; Based on the large range of digital codes and the preset output conversion range, the target digital code is obtained by reversal, thereby completing the digital conversion of temperature and voltage.

6. A voltage-to-digital conversion system for temperature detection, characterized in that, A voltage-to-digital conversion method for temperature detection as described in any one of claims 1 to 5 includes: a control module, an analog-to-digital conversion module, an error calibration module, a logic switch module, a temperature sensor, and a single-ended to differential conversion module, wherein: The temperature sensor detection end is located at the point to be detected, and the temperature sensor output end is electrically connected to the logic switch module receiving end. The temperature sensor detects the temperature at the point to be detected to obtain a temperature voltage signal and feeds back the temperature voltage signal to the logic switch module. The output terminal of the logic switch module is electrically connected to the receiving terminal of the single-ended to differential module, and the adjustment terminal of the logic switch module is electrically connected to the switch control terminal of the control module. During the reset phase of the voltage digital conversion system, the logic switch module performs a grounding action based on the reset clock signal, thereby enabling the control module to obtain the offset digital code. During the conversion phase of the voltage digital conversion system, the logic switch module performs a path action based on the conversion clock signal to receive the temperature voltage signal fed back by the temperature sensor and send the temperature voltage signal to the single-ended to differential module. The first output terminal of the single-ended to differential module is electrically connected to the first receiving terminal of the analog-to-digital converter module, and the second output terminal of the single-ended to differential module is electrically connected to the second receiving terminal of the analog-to-digital converter module; the single-ended to differential module acquires the differential signal based on the temperature and voltage signal and feeds back the differential signal to the analog-to-digital converter module; The positive output terminal of the analog-to-digital converter (ADC) is electrically connected to the positive input terminal of the control module, the negative output terminal of the ADC is electrically connected to the negative input terminal of the control module, the first control terminal of the ADC is electrically connected to the first control terminal of the control module, and the second control terminal of the ADC is electrically connected to the second control terminal of the control module. The ADC performs an ADC conversion step based on the differential signal to obtain positive and negative output signals, and feeds back the positive and negative output signals to the control module. The output of the control module is electrically connected to the receiver of the error calibration module. The control module generates a reset clock signal and a conversion clock signal. During the reset phase of the voltage-to-digital conversion system, the control module performs a grounding action based on the reset clock signal to obtain an offset digital code and feed it back to the error calibration module. During the conversion phase, the control module performs a path operation based on the conversion clock signal to receive the temperature voltage signal from the temperature sensor and send it to the single-ended to differential converter. The single-ended to differential converter then obtains a differential signal based on the temperature voltage signal, and feeds it back to the analog-to-digital converter (ADC) to perform the analog-to-digital conversion and feed back positive and negative output signals. Based on the positive and negative output signals, the control module obtains a control signal and an initial digital code based on the control signal and the differential signal, feeding it back to the error calibration module. Finally, the error calibration module obtains the target digital code based on the offset digital code and the initial digital code, thus completing the digital conversion of the temperature and voltage. The error calibration module obtains the target digital code based on the offset digital code and the initial digital code, thereby completing the digital conversion of temperature and voltage.

7. A voltage-to-digital conversion system for temperature detection according to claim 6, characterized in that, The logic switch module includes a grounding submodule and a path submodule, wherein: The first terminal of the grounding submodule is grounded, and the first terminal of the grounding submodule serves as the grounding terminal of the logic switch module. The output terminal of the grounding submodule is electrically connected to the output terminal of the path submodule. The receiving end of the path submodule serves as the receiving end of the logic switch module, and the output end of the path submodule serves as the output end of the logic switch module. During the voltage-to-digital conversion system reset phase, the grounding submodule performs a grounding action based on the reset clock signal, thereby enabling the control module to obtain the offset digital code. During the voltage-to-digital conversion system conversion phase, the path submodule performs path actions based on the conversion clock signal to receive the temperature voltage signal fed back by the temperature sensor and send the temperature voltage signal to the single-ended to differential module.

8. A voltage-to-digital conversion system for temperature detection according to claim 6, characterized in that, The analog-to-digital conversion module includes a sampling switch submodule, a first capacitor array, and a second capacitor array, wherein: The positive input terminal of the sampling switch submodule serves as the first receiving terminal of the analog-to-digital converter module, the negative input terminal of the sampling switch submodule serves as the second receiving terminal of the analog-to-digital converter module, the positive output terminal of the sampling switch submodule is electrically connected to the input terminal of the first capacitor array, and the negative output terminal of the sampling switch submodule is electrically connected to the input terminal of the second capacitor array. The lower plate interface of the first capacitor array is electrically connected to the positive input terminal of the control module. The lower plate interface of the first capacitor array serves as the positive output terminal of the analog-to-digital conversion module. The first capacitor array control terminal serves as the first control terminal of the analog-to-digital conversion module. The lower plate interface of the second capacitor array is electrically connected to the negative input terminal of the control module. The lower plate interface of the second capacitor array serves as the negative output terminal of the analog-to-digital conversion module. The control terminal of the second capacitor array serves as the second control terminal of the analog-to-digital conversion module. The sampling switch submodule is turned on during the voltage-to-digital conversion system conversion phase, so that the analog-to-digital conversion module enters the sampling phase and acquires the differential signal, and is turned off after the analog-to-digital conversion module acquires the differential signal, so that the analog-to-digital conversion module enters the comparison phase, thereby keeping the differential signal on the first capacitor array and the second capacitor array. During the comparison phase of the analog-to-digital conversion module, the first capacitor array generates a positive output signal based on the differential signal and sends it to the control module, while the second capacitor array generates a negative output signal based on the differential signal and sends it to the control module. This enables the control module to generate a control signal based on the positive and negative output signals, and the first and second capacitor arrays perform a grounding conversion operation based on the differential signal and the control signal.

9. A voltage-to-digital conversion system for temperature detection according to claim 8, characterized in that, The control module includes a comparator and a control logic submodule, wherein: The positive input terminal of the comparator serves as the positive input terminal of the control module, the negative input terminal of the comparator serves as the negative input terminal of the control module, and the output terminal of the comparator is electrically connected to the input terminal of the control logic submodule. The first control terminal of the control logic submodule serves as the first control terminal of the control module, the second control terminal of the control logic submodule serves as the second control terminal of the control module, the switch control terminal of the control logic submodule serves as the switch control terminal of the control module, and the output terminal of the control logic submodule serves as the output terminal of the control module. The comparator obtains the output comparison signal based on the positive and negative output signals; The control logic submodule generates a control signal based on the output comparison signal, and controls the analog-to-digital conversion module to perform a grounding conversion action based on the control signal, thereby obtaining the initial digital code.

10. A voltage-to-digital conversion system for temperature detection according to claim 6, characterized in that, Also includes: Voltage buffer module, wherein: The first receiving end of the voltage buffer module is electrically connected to the first output end of the single-ended to differential converter, the second receiving end of the voltage buffer module is electrically connected to the second output end of the single-ended to differential converter, the first output end of the voltage buffer module is electrically connected to the first receiving end of the analog-to-digital converter module, and the second output end of the voltage buffer module is electrically connected to the second receiving end of the analog-to-digital converter module.

Citation Information

Patent Citations

  • Temperature conversion method and a low-power high-precision integrated temperature sensor

    CN104390715A

  • Digital-to-analog conversion device and method

    CN104734719A