CN117614449A - Correction method for ADC internal reference power supply, MCU chip and storage medium - Google Patents

Correction method for ADC internal reference power supply, MCU chip and storage medium Download PDF

Info

Publication number
CN117614449A
CN117614449A CN202311582274.1A CN202311582274A CN117614449A CN 117614449 A CN117614449 A CN 117614449A CN 202311582274 A CN202311582274 A CN 202311582274A CN 117614449 A CN117614449 A CN 117614449A
Authority
CN
China
Prior art keywords
power supply
reference power
voltage
internal reference
adc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311582274.1A
Other languages
Chinese (zh)
Inventor
刘吉平
瞿驰
王翔
郑增忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hangshun Chip Technology R&D Co Ltd
Original Assignee
Shenzhen Hangshun Chip Technology R&D Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Hangshun Chip Technology R&D Co Ltd filed Critical Shenzhen Hangshun Chip Technology R&D Co Ltd
Priority to CN202311582274.1A priority Critical patent/CN117614449A/en
Publication of CN117614449A publication Critical patent/CN117614449A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/10Calibration or testing
    • H03M1/1009Calibration
    • H03M1/1028Calibration at two points of the transfer characteristic, i.e. by adjusting two reference values, e.g. offset and gain error
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/124Sampling or signal conditioning arrangements specially adapted for A/D converters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Voltage And Current In General (AREA)

Abstract

The invention discloses a correction method of an ADC internal reference power supply, an MCU chip and a storage medium, which are applied to the MCU chip, wherein the MCU chip is provided with an ADC unit, and the correction method of the ADC internal reference power supply comprises the following steps: the ADC unit obtains a voltage value of an input voltage when working under an internal reference power supply of the ADC unit; and calculating the voltage value of the internal reference power supply of the ADC unit according to the proportional relation among the voltage value of the input voltage, the voltage value of the internal reference power supply of the ADC unit and the first sampling data. According to the method and the device, through a data sampling mode and the proportional relation between the input voltage and the voltage of the internal reference power supply of the ADC unit, the voltage value of the internal reference power supply of the ADC unit is reversely deduced, and the effect of obtaining the accurate internal reference power supply of the ADC unit is achieved.

Description

Correction method for ADC internal reference power supply, MCU chip and storage medium
Technical Field
The present invention relates to the field of chip technologies, and in particular, to a method for correcting an ADC internal reference power supply, an MCU chip, and a storage medium.
Background
The reference voltage of the ADC unit (analog-to-digital converter) refers to a fixed voltage for determining the voltage range of the input signal when analog-to-digital conversion is performed. This reference voltage is the basis by which the ADC unit converts the analog input signal into digital form. There are two types of reference power sources: an external reference power supply and an internal reference power supply.
However, in practice, the process deviation may cause voltage fluctuation, so that the consistency of the internal reference power supply of the ADC unit is not good, and the accuracy of the internal reference power supply cannot be ensured.
Accordingly, the prior art is still in need of improvement and development.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a method for correcting an internal reference power supply of an ADC, an MCU chip and a storage medium, which are aimed at solving the problem of insufficient accuracy of the internal reference power supply of the existing ADC unit.
The technical scheme of the invention is as follows:
the correction method of the ADC internal reference power supply is applied to an MCU chip, wherein the MCU chip is provided with an ADC unit, and the correction method of the ADC internal reference power supply comprises the following steps: the ADC unit obtains a voltage value of an input voltage when working under an internal reference power supply of the ADC unit; the acquisition module of the ADC unit samples the input voltage through an acquisition channel selector to obtain first sampling data; and calculating the voltage value of the internal reference power supply of the ADC unit according to the proportional relation among the voltage value of the input voltage, the voltage value of the internal reference power supply of the ADC unit and the first sampling data.
The method for correcting the reference power supply in the ADC comprises the step of setting the input voltage as the power supply voltage in the MCU chip or the external input voltage.
The correction method of the ADC internal reference power supply comprises the steps of calculating a proportional relation among the voltage value of the input voltage, the voltage value of the ADC unit internal reference power supply and the first sampling dataThe step of the voltage value of the internal reference power supply of the ADC unit comprises the steps of: by the formulaCalculating the voltage value of the internal reference power supply of the ADC unit, wherein V 1 V being the voltage value of the input voltage refp And data is the first sampling data, and n is the absolute value of the resolution of the ADC unit.
The method for correcting the reference power supply in the ADC comprises the following steps: when the input voltage is the power supply voltage inside the MCU chip; and calibrating and acquiring the power supply voltage inside the MCU chip.
The method for correcting the reference power supply in the ADC comprises the steps of calibrating and acquiring the power supply voltage in the MCU chip, and specifically comprises the following steps: one or more pins of the MCU chip are connected with an external circuit; controlling the MCU chip to provide voltage output for the external circuit; the external circuit monitors and adjusts the voltage output of the MCU chip; and acquiring the adjusted value of the voltage output by the MCU chip.
The method for correcting the reference power supply in the ADC comprises the steps of calibrating and acquiring the power supply voltage in the MCU chip, and specifically comprises the following steps: operating the ADC unit under an external reference power supply of the ADC unit; the acquisition module of the ADC unit samples the input voltage through the acquisition channel selector to obtain second sampling data; calibrating the input voltage according to the second sampling data and the external reference power supply; the ADC unit is operated under an internal reference power supply of the ADC unit.
The method for correcting the reference power supply in the ADC comprises the following steps: when the input voltage is an external input voltage; a voltage value of an external input voltage is acquired.
The method for correcting the reference power supply in the ADC comprises the following steps: and storing the voltage value of the internal reference power supply of the ADC unit into a flash memory of the MCU chip.
The application also discloses an MCU chip, wherein the MCU chip realizes the steps of the correction method of the ADC internal reference power supply when executing.
The application also discloses a computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the method for correcting the ADC internal reference power supply described above.
Compared with the prior art, the invention has the following advantages:
the application discloses a correction method of an ADC internal reference power supply, an MCU chip and a storage medium. The method is applied to an MCU chip, the MCU chip is provided with an ADC unit, wherein the correction method of the reference power supply in the ADC comprises the following steps: the ADC unit obtains a voltage value of an input voltage when working under an internal reference power supply of the ADC unit; the acquisition module of the ADC unit samples the input voltage through an acquisition channel selector to obtain first sampling data; and calculating the voltage value of the internal reference power supply of the ADC unit according to the proportional relation among the voltage value of the input voltage, the voltage value of the internal reference power supply of the ADC unit and the first sampling data.
In the application, the voltage value of the internal reference power supply of the ADC unit is reversely deduced by sampling data and the proportional relation between the input voltage and the voltage of the internal reference power supply of the ADC unit, so as to achieve the effect of obtaining an accurate internal reference power supply of the ADC unit.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings may be obtained according to the drawings without inventive effort to those skilled in the art.
FIG. 1 is a flow chart of a method for calibrating an ADC internal reference power supply according to the present invention;
fig. 2 is a schematic diagram of an application scenario of a calibration method for an ADC internal reference power supply according to the present invention.
10, a power supply module; 20. an internal voltage selector; 30. a reference voltage selector; 40. a first pin; 50. an acquisition module; 60. an acquisition channel selector; 70. an external input channel.
Detailed Description
In order to make the present invention better understood by those skilled in the art, the following description will make clear and complete descriptions of the technical solutions of the embodiments of the present invention with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The reference voltage of the ADC unit (analog-to-digital converter) refers to a fixed voltage for determining the voltage range of the input signal when analog-to-digital conversion is performed. This reference voltage is the basis by which the ADC unit converts the analog input signal into digital form. There are two types of reference power sources: an external reference power supply and an internal reference power supply.
The ADC may use an external reference voltage, in which case pins on the MCU chip typically provide an interface to an external voltage source, so that a more flexible reference voltage may be provided by the external power source to meet the needs of a particular application.
The ADC unit may also use an internal reference power supply, typically provided by circuitry internal to the MCU chip, which is predetermined during the fabrication of the MCU chip, typically a stable value, without the need for external connection of additional power supplies when using the internal reference power supply. However, when the internal reference power supply is used, since the power supply supplied at this time is a theoretical value, the ADC unit generally needs to ensure the accuracy of the internal reference power supply when operating.
However, in practice, the process deviation may cause voltage fluctuation during the production process, and the consistency of the internal reference power supply of the ADC unit is not good. Therefore, the customer needs to add calibration circuits for the internal reference power if needed, which increases the design cost of the chip. If the customer is designed to divide the voltage on the same voltage source to obtain different voltages, the accuracy of the internal reference power source cannot be ensured after calibration.
Therefore, based on the defects of the prior art, the invention provides a correction method of an ADC internal reference power supply, an MCU chip and a storage medium.
As shown in fig. 1, fig. 1 is a schematic diagram of a calibration method of the reference power supply in the ADC, the sequence of steps in the flowchart may be changed according to different requirements, and some steps may be omitted. The calibration method of the reference power supply in the ADC is described in detail below.
In an embodiment of the present invention, a method for correcting an ADC internal reference power supply is disclosed, the method is applied in an MCU chip, the MCU chip has an ADC unit, and the method for correcting an ADC internal reference power supply includes the steps.
S100, when the ADC unit works under an internal reference power supply, a voltage value of an input voltage is obtained.
S200, sampling the input voltage by an acquisition module of the ADC unit through an acquisition channel selector to obtain first sampling data;
s300, calculating the voltage value of the internal reference power supply of the ADC unit according to the proportional relation among the voltage value of the input voltage, the voltage value of the internal reference power supply of the ADC unit and the first sampling data.
In particular, please refer to fig. 1 and fig. 2 in combination. The correction method of the reference power supply in the ADC can be applied to an application scene shown in fig. 2, wherein the application scene comprises partial structures of the MCU chip and the ADC unit when the method is applied to the ADC unit in one MCU chip.
The ADC unit has a voltage of an internal reference power supply and a voltage of an external reference power supply as reference voltages. Wherein, the ADC unit can be switched between the internal reference power supply and the external reference power supply by selecting the reference voltage selector 30 of the ADC unit.
The MCU chip controls the ADC unit to work under the internal reference power supply of the ADC unit, namely the ADC unit is internally provided with the reference power supply which is the limiting part reference power supply. In this application, the internal reference power supply of the ADC unit is used as the power supply voltage inside the MCU chip, that is, the voltage output by the power supply module 10 of the MCU chip, where the power supply module 10 may be BGP or LDO, but is not limited thereto.
In addition, the present application needs to acquire the voltage value of the input voltage when the ADC unit operates under the internal reference power supply of the ADC unit. The input voltage in this application refers to a voltage input to the ADC unit from the acquisition channel selector 60 of the ADC unit.
Furthermore, the acquisition module 50 of the ADC unit is connected to an acquisition channel selector 60 of the ADC unit. In this application, the acquisition channel selector 60 is connected to the power supply module 10 of the MCU chip and an external input channel 70 of the ADC unit, respectively, the external input channel 70 being connected to an external power supply. Therefore, the power module 10 and the external power supply can input voltage to the acquisition module 50 through the acquisition channel selector 60.
In this application, the acquisition channel selector 60 is described as having two acquisition selection channels, and the acquisition channel selector 60 selects a voltage as the input voltage to be input to the ADC unit.
Therefore, in S200, the acquisition module 50 samples the input voltage through the acquisition channel selector 60 to obtain first sample data, where the first sample number is related to the resolution of the ADC unit.
Thereafter, in S300And calculating the voltage value of the internal reference power supply of the ADC unit according to the proportional relation among the voltage value of the input voltage, the voltage value of the internal reference power supply of the ADC unit and the first sampling data. Specifically, S300 further includes: by the formulaThe voltage value of the internal reference power supply of the ADC unit can be calculated, wherein V 1 V being the voltage value of the input voltage refp And data is the first sampling data, and n is the absolute value of the resolution of the ADC unit.
At this time, the voltage value of the internal reference power supply of the ADC unit is calculated by a formula The voltage value of the internal reference power supply of the ADC unit can be obtained.
In the above formula, n is related to the resolution of the ADC unit, and is known in application, so that in practical application, only the voltage value of the input voltage is obtained and the sampling data is collected by the collecting module 50.
Taking the resolution of the ADC unit as 12 bits, the obtained voltage value of the input voltage is 4.8V, and the acquired first sampling data is 3932.16 as an example, then the voltage value of the internal reference power supply of the ADC unit may be obtained as 5V.
Therefore, in the present application, the voltage value of the internal reference power supply of the ADC unit can be reversely deduced by sampling data and the proportional relationship between the input voltage and the voltage of the internal reference power supply of the ADC unit, so as to achieve the effect of obtaining an accurate internal reference power supply of the ADC unit.
In the application scenario shown in fig. 2, the input terminal of the reference voltage selector 30 of the ADC unit is connected to the internal voltage selector 20 and the first pin 40 of the ADC unit, respectively. Wherein, the first pin 40 may be connected to an external power source to serve as an external reference power source of the ADC unit; the internal voltage selector 20 is connected to the power supply module 10 of the MCU chip through multiple selection channels, and of course, only one path of selection channel may be provided, and the power output from the internal voltage selector 20 to the reference voltage selector 30 may be used as the internal reference power of the ADC unit.
In use, the reference voltage selector 30 may select one of the connections of the internal voltage selector 20 or the first pin 40 so that the ADC unit may operate in either an internal reference power supply or an external reference power supply mode.
Furthermore, the internal voltage selector 20 is connected to the power supply module 10 of the MCU chip, and when applied, the internal voltage selector 20 may select a path of selection channel connection so that the power supply module 10 may input an output voltage from the path of selection channel as an internal reference power source of the ADC unit.
Of course, the internal voltage selector 20 may also switch between different selection channels, and measure the voltage value of the internal reference power supply of the ADC unit multiple times, and average the measured voltage value to obtain a more accurate result.
Further, in a possible implementation manner, the input voltage is a supply voltage inside the MCU chip or an external input voltage.
That is, in the present invention, there are two ways to obtain the input voltage, because the acquisition channel selector 60 is connected to the power supply module 10 of the MCU chip and an external input channel 70 of the ADC unit, respectively, and the external input channel 70 is connected to an external power supply.
The input voltage may be a supply voltage input from the power supply module 10 of the MCU chip to the acquisition channel selector 60 and entering the MCU chip of the acquisition module 50; alternatively, the input voltage may be an external input voltage from the external input channel 70 through the acquisition channel selector 60 into the acquisition module 50. Of course, selection may be made by the acquisition channel selector 60.
Of course, since the power supply module 10 may be BGP or LDO, the power supply voltage inside the MCU chip may be the voltage output by BGP or LDO of the MCU chip.
Therefore, since the input voltage has two kinds, there are different ways in which the voltage value of the input voltage is obtained.
In S100, the method specifically includes the steps of: s110, when the input voltage is the power supply voltage inside the MCU chip; s120, calibrating and acquiring the power supply voltage inside the MCU chip.
Specifically, when the input voltage is the power supply voltage inside the MCU chip, the collection channel selector 60 selects the voltage output from the power supply module 10 of the MCU chip as the input voltage to enter the collection module 50 for collection.
Because of the process, the voltage and the theoretical value output by the power supply module 10 of the MCU chip may fluctuate, and thus calibration is required. And acquiring a specific value of the power supply voltage in the MCU chip after calibration.
In S120, there are various methods for the calibration method.
First, calibration may be performed by outputting a voltage from the MCU chip in S120. So in S120, the steps are included: s121, one or more pins of the MCU chip are connected with an external circuit; s122, controlling the MCU chip to provide voltage output for the external circuit; s123, the external circuit monitors and adjusts the voltage output of the MCU chip; s124, acquiring the adjusted value of the voltage output by the MCU chip.
Specifically, the MCU chip may be connected to an external circuit through a pin, so that the MCU chip outputs a voltage for the external circuit and outputs a power supply voltage. The external circuit may be a circuit with a detection and regulation voltage. In the process of outputting the voltage to the external circuit by the MCU chip, the external circuit monitors the output voltage, compares the difference between the output voltage and the theoretical value, adjusts the voltage output by the MCU chip to be matched with the theoretical value, and finally obtains the value of the adjusted output voltage.
Therefore, when the input voltage is the supply voltage inside the MCU chip, calibration can be performed in the manner of output voltage through steps S121-S124.
Of course, in S120, the input voltage may also be calibrated by acquisition. The step of S120 may also be included: s121 Operating the ADC unit under an external reference power supply of the ADC unit; s122 The acquisition module of the ADC unit samples the input voltage through the channel selector to obtain second sampling data; s123 Calibrating the input voltage based on the second sampled data and the external reference power supply; s124 And operating the ADC unit under an internal reference power supply of the ADC unit.
Specifically, the ADC unit is first operated under the external reference power of the ADC unit, and the reference voltage selector 30 is switched, and at this time, an external power is input as the reference power of the ADC unit. The collection module 50 samples the input voltage, and it should be noted that the input voltage is still the supply voltage inside the MCU chip at this time, that is, the collection channel selector 60 selects the voltage input from the supply module 10 at this time. And obtaining second sampling data after the input voltage is sampled, and specifically matching the second sampling data with the voltage value of the external reference power supply according to the second sampling data and the external reference power supply.
If the difference exists, the power supply module 10 is calibrated by a calibration circuit or other circuits until the acquired second sampling data is matched with the voltage value of the external reference power supply, that is, the calibration is successful, and the voltage value of the input voltage can be accurately acquired. And finally, the ADC unit is enabled to work again under the state of the internal reference power supply of the ADC unit. The steps of calibrating and obtaining the supply voltage inside the MCU chip are completed.
Further, when the input voltage is an external input voltage, that is, when the channel selector selects an external input voltage to be taken in from the external input channel as the input voltage. The step S100 may specifically include: s110 When the input voltage is an external input voltage; s120 A voltage value of an external input voltage is acquired.
Specifically, when the input voltage is an external input voltage, the voltage value of the external input voltage may be directly obtained as the voltage value of the input voltage.
Further, the voltage value of the internal reference power supply of the ADC unit is obtained and stored.
I.e. after step S300, the method further comprises the steps of: s400, storing the voltage value of the internal reference power supply of the ADC unit into a flash memory of the MCU chip. In this way, in application, the customer directly uses the flash memory to store the value therein, i.e. the voltage value of the internal reference power supply of the ADC module can be directly used.
According to the same inventive concept, the invention also provides an MCU chip, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program realizes the steps of the correction method of the ADC internal reference power supply when being executed by the processor, in particular as described in the method.
According to the same inventive concept, the present invention also provides a computer readable storage medium, including a memory and a processor, where the memory stores a computer program, and the computer program when executed by the processor implements the steps of the method for correcting the reference power supply in the ADC, specifically as described in the above method.
In summary, the application discloses a correction method for an ADC internal reference power supply, an MCU chip and a storage medium. The method can effectively solve the problem of insufficient precision of the internal reference power supply in the ADC unit caused by process deviation, and achieves the effect of obtaining the accurate voltage value of the internal reference power supply of the ADC unit.
It should be noted that, without conflict, the embodiments and features of the embodiments in the present application may be combined with each other.
It should be noted that the specific structure and working principle of the present invention are described by taking a correction method of an ADC internal reference power supply as an example, but the application of the present invention is not limited to a correction method of an ADC internal reference power supply, and may be applied to the production and use of other similar workpieces.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (10)

1. The correction method of the reference power supply in the ADC is applied to an MCU chip, and the MCU chip is provided with an ADC unit, and is characterized by comprising the following steps:
the ADC unit obtains a voltage value of an input voltage when working under an internal reference power supply of the ADC unit;
the acquisition module of the ADC unit samples the input voltage through an acquisition channel selector to obtain first sampling data;
and calculating the voltage value of the internal reference power supply of the ADC unit according to the proportional relation among the voltage value of the input voltage, the voltage value of the internal reference power supply of the ADC unit and the first sampling data.
2. The method of calibrating an ADC internal reference power supply of claim 1 wherein,
the input voltage is a supply voltage inside the MCU chip or an external input voltage.
3. The method according to claim 2, wherein the step of calculating the voltage value of the internal reference power supply of the ADC unit from the proportional relationship among the voltage value of the input voltage, the voltage value of the internal reference power supply of the ADC unit, and the first sampling data, comprises the steps of:
by the formulaCalculating the voltage value of the internal reference power supply of the ADC unit, wherein V 1 V being the voltage value of the input voltage refp And data is the first sampling data, and n is the absolute value of the resolution of the ADC unit.
4. The method for calibrating an ADC internal reference power supply according to claim 2, wherein the step of obtaining the voltage value of the input voltage comprises the steps of:
when the input voltage is the power supply voltage inside the MCU chip;
and calibrating and acquiring the power supply voltage inside the MCU chip.
5. The method for calibrating an ADC internal reference power supply according to claim 4, wherein said step of calibrating and obtaining a supply voltage inside said MCU chip comprises the steps of:
one or more pins of the MCU chip are connected with an external circuit;
controlling the MCU chip to provide voltage output for the external circuit;
the external circuit monitors and adjusts the voltage output of the MCU chip;
and acquiring the adjusted value of the voltage output by the MCU chip.
6. The method for calibrating an ADC internal reference power supply according to claim 4, wherein said step of calibrating and obtaining a supply voltage inside said MCU chip comprises the steps of:
operating the ADC unit under an external reference power supply of the ADC unit;
the acquisition module of the ADC unit samples the input voltage through the acquisition channel selector to obtain second sampling data;
calibrating the input voltage according to the second sampling data and the external reference power supply;
the ADC unit is operated under an internal reference power supply of the ADC unit.
7. The method for calibrating an ADC internal reference power supply according to claim 2, wherein the step of obtaining the voltage value of the input voltage comprises the steps of:
when the input voltage is an external input voltage;
a voltage value of an external input voltage is acquired.
8. The method for correcting an ADC internal reference power supply according to claim 1, further comprising the step of: and storing the voltage value of the internal reference power supply of the ADC unit into a flash memory of the MCU chip.
9. An MCU chip, wherein the MCU chip performs the steps of the method for calibrating the ADC internal reference power supply of any one of claims 1 to 8.
10. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method of correcting the ADC internal reference power supply of any one of claims 1 to 8.
CN202311582274.1A 2023-11-22 2023-11-22 Correction method for ADC internal reference power supply, MCU chip and storage medium Pending CN117614449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311582274.1A CN117614449A (en) 2023-11-22 2023-11-22 Correction method for ADC internal reference power supply, MCU chip and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311582274.1A CN117614449A (en) 2023-11-22 2023-11-22 Correction method for ADC internal reference power supply, MCU chip and storage medium

Publications (1)

Publication Number Publication Date
CN117614449A true CN117614449A (en) 2024-02-27

Family

ID=89947517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311582274.1A Pending CN117614449A (en) 2023-11-22 2023-11-22 Correction method for ADC internal reference power supply, MCU chip and storage medium

Country Status (1)

Country Link
CN (1) CN117614449A (en)

Similar Documents

Publication Publication Date Title
US7140767B2 (en) Programmable ideality factor compensation in temperature sensors
US7924088B1 (en) Offset voltage calibration method and apparatus and amplifier thereof
CN111819796B (en) Analog-to-digital conversion method, device, chip, electronic equipment and storage medium
CN110061742B (en) Analog-to-digital converter calibration system
CN110568397B (en) Electric energy meter correction method and system based on MCU software
CN112557987A (en) Current measurement calibration system and method
US10371727B2 (en) Dynamic sensitivity adjustment for ADC measurements
TWI580194B (en) Chip having self-calibration mechanism and calibration method thereof
CN114499521A (en) Signal calibration method and device, computer equipment and storage medium
CN114924109A (en) Method, circuit and device for testing low-power chip current
CN114189245A (en) ADC calibration circuit, control method thereof and storage medium
CN117614449A (en) Correction method for ADC internal reference power supply, MCU chip and storage medium
CN111736104A (en) Current detection calibration method and device and display device
US7535388B2 (en) Calculation of ADC and DAC errors in LSI chip
CN113364461B (en) Analog-to-digital conversion calibration method and system for chip to be tested
CN116032282A (en) Comparator in successive approximation analog-to-digital converter and offset calibration method
US6549149B2 (en) Method and device for detecting signals
CN117665686B (en) ATE (automatic test equipment) equipment-based dynamic load calibration method and system, equipment and medium
CN111490786B (en) Calibration method and device of digital-to-analog converter
CN117555738B (en) DPS power supply board for memory FT test
CN115754448A (en) Voltage testing method, device, equipment, medium and program product for component
US7212064B1 (en) Methods and systems for measuring temperature using digital signals
US20230266398A1 (en) Method to compensate measurement error in a battery management system
CN116155280A (en) System and method for debugging internal parameter set of analog-to-digital conversion device
CN112350672B (en) IF chip with digital compensation function and digital compensation method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination