Analog-to-digital converter error calibration system and method

Through the analog-to-digital converter error calibration system composed of power supply, adjustable resistor module, multimeter and processor, the error model is determined and calibration algorithm is generated using the polynomial fitting method, which solves the high cost and complex operation of the analog-to-digital converter error calibration system. The problem is that efficient and accurate error calibration is achieved.

CN118921061APending Publication Date: 2024-11-08安徽蓬阳健康科技股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411040095.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing analog-to-digital converter error calibration system is costly and complex in operation, making it difficult to effectively reduce the nonlinear error of the analog-to-digital converter.

Method used

The system consisting of power supply, adjustable resistor module, multimeter and processor is used to determine the error model of the analog-to-digital converter through polynomial fitting method, and generate calibration algorithms based on the model, and use the lower-cost power supply and adjustable resistor module for testing. , reduce system costs.

Benefits of technology

It realizes the accuracy and efficiency of analog-to-digital converter error calibration, reduces system costs, simplifies operating procedures, and improves calibration accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921061A_ABST
    Figure CN118921061A_ABST
Patent Text Reader

Abstract

The invention discloses an error calibration system and method for an analog-to-digital converter. The analog-to-digital converter error calibration system comprises a power supply, an adjustable resistor module, a universal meter, a first processor and a second processor, the power supply is electrically connected with the first end of the adjustable resistor module, and the second end of the adjustable resistor module is electrically connected with the input end of the analog-to-digital converter to be calibrated; the universal meter is electrically connected with the input end of the analog-to-digital converter to be calibrated; the first processor is used for acquiring an actual input value and an actual output value corresponding to the analog-to-digital converter to be calibrated, determining an error corresponding to the actual input value according to the actual output value and an ideal output value, and fitting an error model of the analog-to-digital converter to be calibrated through a polynomial fitting method; and the second processor is used for determining a calibration algorithm according to the error model and calibrating the output of the analog-to-digital converter to be calibrated according to the calibration algorithm. According to the invention, the cost of the analog-to-digital converter error calibration system can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of analog-to-digital converters, and in particular to an analog-to-digital converter error calibration system and method. Background Art

[0002] The analog-to-digital converter is a bridge between analog technology and digital technology, and has important applications in the field of modern electronic technology.

[0003] When the analog-to-digital converter is working, there will be nonlinear errors, which will affect the accuracy of the signal and thus affect the performance of the entire system in which the analog-to-digital converter is working. Therefore, the analog-to-digital converter needs to be calibrated for nonlinear errors before leaving the factory or after long-term use. In the related art, the system cost of calibrating the nonlinear errors of the analog-to-digital converter is high and the operation is complicated. Summary of the invention

[0004] The present invention provides an analog-to-digital converter error calibration system and method to reduce the cost of the analog-to-digital converter error calibration system.

[0005] According to one aspect of the present invention, there is provided an analog-to-digital converter error calibration system, comprising: a power supply, an adjustable resistance module, a multimeter, a first processor and a second processor;

[0006] The power supply is electrically connected to a first end of the adjustable resistance module, a second end of the adjustable resistance module is electrically connected to an input end of the analog-to-digital converter to be calibrated, and the adjustable resistance module is used to divide the output voltage of the power supply and output it to the analog-to-digital converter to be calibrated;

[0007] The multimeter is electrically connected to the input terminal of the analog-to-digital converter to be calibrated, and is used to measure the actual input value of the input terminal of the analog-to-digital converter to be calibrated;

[0008] The first processor is used to obtain the actual input value and the actual output value corresponding to the analog-to-digital converter to be calibrated, and determine the ideal output value of the analog-to-digital converter to be calibrated according to the actual input value, determine the error corresponding to the actual input value according to the actual output value and the ideal output value, and fit the error model of the analog-to-digital converter to be calibrated by a polynomial fitting method;

[0009] The input end of the second processor is electrically connected to the output end of the analog-to-digital converter to be calibrated. The second processor is used to determine a calibration algorithm according to the error model, and calibrate the output of the analog-to-digital converter to be calibrated according to the calibration algorithm.

[0010] Optionally, the first processor is electrically connected to the multimeter to obtain the actual input value; the first processor is also electrically connected to the output end of the analog-to-digital converter to be calibrated to obtain the actual output value.

[0011] Optionally, the analog-to-digital converter error calibration system also includes an image recognition module, the field of view of the image recognition module is toward the multimeter, and the output end of the image recognition module is electrically connected to the first processor; the image recognition module is used to identify the actual input value displayed by the multimeter and output the actual input value to the first processor.

[0012] Optionally, the multimeter comprises a six-and-a-half-digit multimeter.

[0013] Optionally, the adjustable resistance module includes a potentiometer.

[0014] Optionally, the adjustable resistance module includes multiple impedance branches connected in parallel, each of which includes a switch unit and a resistor connected in series; the control end of the switch unit is electrically connected to the first processor, and the first processor is used to control the conduction state of the switch unit.

[0015] Optionally, the analog-to-digital converter error calibration system further includes a display module, and the display module is communicatively connected to the second processor.

[0016] According to another aspect of the present invention, there is provided an analog-to-digital converter error calibration method, which is performed by the analog-to-digital converter error calibration system as described above, and the analog-to-digital converter error calibration method comprises:

[0017] Adjusting the effective resistance of the adjustable resistance module to a preset value;

[0018] Measuring the actual input value of the analog-to-digital converter to be calibrated by the multimeter;

[0019] The first processor obtains the actual input value and the actual output value corresponding to the analog-to-digital converter to be calibrated, determines the ideal output value of the analog-to-digital converter to be calibrated according to the actual input value, and determines the error corresponding to the actual input value according to the actual output value and the ideal output value;

[0020] Adjusting the preset value and returning to the step of adjusting the effective resistance of the adjustable resistance module to the preset value until a preset number of actual input values ​​and errors are obtained;

[0021] The first processor fits the error model of the analog-to-digital converter to be calibrated by a polynomial fitting method;

[0022] The second processor determines a calibration algorithm according to the error model, and calibrates the output of the analog-to-digital converter to be calibrated according to the calibration algorithm.

[0023] Optionally, the first processor fitting the error model of the analog-to-digital converter to be calibrated by a polynomial fitting method comprises:

[0024] The error model was fit by least squares fitting a cubic polynomial.

[0025] Optionally, the adjustable resistance module includes a potentiometer;

[0026] The step of adjusting the effective resistance of the adjustable resistance module to a preset value comprises:

[0027] The potentiometer is adjusted to a position corresponding to the preset value.

[0028] The technical solution of the embodiment of the present invention adopts an analog-to-digital converter error calibration system including: a power supply, an adjustable resistance module, a multimeter, a first processor and a second processor; the power supply is electrically connected to the first end of the adjustable resistance module, the second end of the adjustable resistance module is electrically connected to the input end of the analog-to-digital converter to be calibrated, and the adjustable resistance module is used to divide the output voltage of the power supply and output it to the analog-to-digital converter to be calibrated; the multimeter is electrically connected to the input end of the analog-to-digital converter to be calibrated, and is used to measure the actual input value of the input end of the analog-to-digital converter to be calibrated; the first processor is used to obtain the actual input value and the actual output value corresponding to the analog-to-digital converter to be calibrated, and determine the ideal output value of the analog-to-digital converter to be calibrated according to the actual input value, determine the error corresponding to the actual input value according to the actual output value and the ideal output value, and fit the error model of the analog-to-digital converter to be calibrated by a polynomial fitting method; the input end of the second processor is electrically connected to the output end of the analog-to-digital converter to be calibrated, and the second processor is used to determine the calibration algorithm according to the error model, and calibrate the output of the analog-to-digital converter to be calibrated according to the calibration algorithm. The test is carried out using a low-cost power supply and an adjustable resistance module, thereby reducing costs. Furthermore, by measuring the actual input value of the analog-to-digital converter to be calibrated with a multimeter, the actual voltage input to the analog-to-digital converter to be calibrated can be accurately obtained at a relatively low cost, so that the error model obtained subsequently is more accurate and the corresponding calibration algorithm is also more accurate.

[0029] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0031] Figure 1 A schematic diagram of the circuit structure of an analog-to-digital converter error calibration system provided by an embodiment of the present invention;

[0032] Figure 2 A schematic diagram of the circuit structure of another analog-to-digital converter error calibration system provided by an embodiment of the present invention;

[0033] Figure 3 A schematic diagram of the circuit structure of another analog-to-digital converter error calibration system provided by an embodiment of the present invention;

[0034] Figure 4 A schematic diagram of the circuit structure of another analog-to-digital converter error calibration system provided by an embodiment of the present invention;

[0035] Figure 5 A schematic diagram of the circuit structure of another analog-to-digital converter error calibration system provided by an embodiment of the present invention;

[0036] Figure 6 A schematic diagram of the circuit structure of another analog-to-digital converter error calibration system provided by an embodiment of the present invention;

[0037] Figure 7 A flowchart of an analog-to-digital converter error calibration method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0040] Figure 1A schematic diagram of a circuit structure of an analog-to-digital converter error calibration system provided by an embodiment of the present invention, referring to Figure 1 The analog-to-digital converter error calibration system includes: a power supply 11, an adjustable resistance module 12, a multimeter 13, a first processor 14 and a second processor 15; the power supply 11 is electrically connected to a first end of the adjustable resistance module 12, the second end of the adjustable resistance module 12 is electrically connected to an input end of an analog-to-digital converter 20 to be calibrated, and the adjustable resistance module 12 is used to divide the voltage of the power supply 11 and output it to the analog-to-digital converter 20 to be calibrated; the multimeter 13 is electrically connected to the input end of the analog-to-digital converter 20 to be calibrated, and is used to measure the actual input value of the input end of the analog-to-digital converter 20 to be calibrated; the first The processor 14 user obtains the actual input value and the actual output value corresponding to the analog-to-digital converter 20 to be calibrated, and determines the ideal output value of the analog-to-digital converter to be calibrated according to the actual input value, determines the error corresponding to the actual input value according to the actual output value and the ideal output value, and fits the error model of the analog-to-digital converter 20 to be calibrated by a polynomial fitting method; the input end of the second processor 15 is electrically connected to the output end of the analog-to-digital converter 20 to be calibrated, and the second processor 15 is used to determine the calibration algorithm according to the error model, and calibrate the output of the analog-to-digital converter 20 to be calibrated according to the calibration algorithm.

[0041] Specifically, the analog-to-digital converter error calibration system is used to calibrate the analog-to-digital converter 20 to be calibrated, wherein the analog-to-digital converter 20 to be calibrated can be an analog-to-digital converter before leaving the factory, or an analog-to-digital converter with a large error after long-term use. The power supply 11 and the adjustable resistance module 12 constitute a signal generating device. Among them, the power supply 11 can be a high-precision power supply, and the effective resistance of the adjustable resistance module 12 is adjustable, so that the output signal of the power supply 11 is adjustable after the voltage is reduced by the adjustable resistance module 12. The effective resistance adjustment range of the adjustable resistance module 12 can make the signal range of the output signal of the power supply 11 after the voltage is reduced cover the full input range of the analog-to-digital converter 20 to be calibrated.

[0042] When measuring the error of the analog-to-digital converter 20 to be calibrated, firstly, a plurality of test points (i.e., the ideal input value input to the analog-to-digital converter to be calibrated) are determined according to the full input range of the analog-to-digital converter 20 to be calibrated, and the test points may be evenly distributed within the full input range of the analog-to-digital converter 20 to be calibrated. Then, the corresponding effective resistance of the adjustable resistance module 20 is calculated according to each test point. After the effective resistance of the adjustable resistance module 20 is adjusted to the corresponding value, the signal input to the analog-to-digital converter 20 to be calibrated is close to or equal to the ideal input value. Because the output value of the power supply 11 after passing through the adjustable resistance module 12 may not be equal to the ideal input value, the actual input value input to the analog-to-digital converter 20 to be calibrated is measured by the multimeter 13, and the result of calculating the ideal output value using the actual input value is more accurate. After obtaining the actual input value, the ideal output value can be calculated according to the specific properties of the analog-to-digital converter 20 to be calibrated. The first processor 14 can obtain each actual input value and actual output value of the analog-to-digital converter 20 to be calibrated, and can calculate the ideal output value corresponding to each actual input value. The first processor 14 can determine the error corresponding to the actual input value according to the ideal output value and the actual output value. For example, the error corresponding to the actual input value can be obtained by subtracting the actual output value from the ideal output value, or by subtracting the ideal output value from the actual output value. By testing all test points, multiple data groups are obtained, each of which contains an actual input value and a corresponding error. By fitting multiple data groups with polynomials, an error model between the actual input voltage and the error can be obtained. The error model is a nonlinear error model of the analog-to-digital converter.

[0043] The second processor 15 generates a calibration algorithm based on the error model. The calibration algorithm can be to calculate the error corresponding to the actual input value through the error model, compensate the error to the actual output value of the analog-to-digital converter to be calibrated, and use the compensated actual output value as the output value of the analog-to-digital converter to be calibrated.

[0044] Through the above analysis, it can be known that the analog-to-digital converter error calibration system of this embodiment does not need to use high-cost equipment such as sine wave generators for testing, but uses low-cost power supplies and adjustable resistance modules for testing, thereby reducing costs. And by measuring the actual input value of the analog-to-digital converter to be calibrated with a multimeter, the actual voltage input to the analog-to-digital converter to be calibrated can be accurately obtained at a lower cost, so that the error model obtained later is more accurate, and the corresponding calibration algorithm is also more accurate.

[0045] The technical solution of this embodiment adopts an analog-to-digital converter error calibration system including: a power supply, an adjustable resistance module, a multimeter, a first processor, and a second processor; the power supply is electrically connected to the first end of the adjustable resistance module, the second end of the adjustable resistance module is electrically connected to the input end of the analog-to-digital converter to be calibrated, and the adjustable resistance module is used to divide the output voltage of the power supply and output it to the analog-to-digital converter to be calibrated; the multimeter is electrically connected to the input end of the analog-to-digital converter to be calibrated, and is used to measure the actual input value of the input end of the analog-to-digital converter to be calibrated; the first processor is used to obtain the actual input value and the actual output value corresponding to the analog-to-digital converter to be calibrated, and determine the ideal output value of the analog-to-digital converter to be calibrated according to the actual input value, determine the error corresponding to the actual input value according to the actual output value and the ideal output value, and fit the error model of the analog-to-digital converter to be calibrated by a polynomial fitting method; the input end of the second processor is electrically connected to the output end of the analog-to-digital converter to be calibrated, and the second processor is used to determine the calibration algorithm according to the error model, and calibrate the output of the analog-to-digital converter to be calibrated according to the calibration algorithm. The test is carried out using a low-cost power supply and an adjustable resistance module, thereby reducing costs. Furthermore, by measuring the actual input value of the analog-to-digital converter to be calibrated with a multimeter, the actual voltage input to the analog-to-digital converter to be calibrated can be accurately obtained at a relatively low cost, so that the error model obtained subsequently is more accurate and the corresponding calibration algorithm is also more accurate.

[0046] Optionally, in some implementations, the multimeter 13 may be a 6.5-digit multimeter. The 6.5-digit multimeter has the advantages of high test accuracy and low cost, and can further reduce the cost of the analog-to-digital converter error calibration system.

[0047] Alternatively, in some embodiments, the first processor 14 may be a computer. The actual input value of the analog-to-digital converter 20 to be calibrated may be manually input into the first processor 14. The first processor 14 may be electrically connected to the output terminal of the analog-to-digital converter 20 to be calibrated to directly obtain the actual output value of the analog-to-digital converter 20 to be calibrated.

[0048] Optionally, Figure 2 A circuit diagram of another analog-to-digital converter error calibration system provided by an embodiment of the present invention, referring to Figure 2 .and Figure 1 The difference from the embodiment shown is that in this embodiment, the first processor 14 is electrically connected to the multimeter 13, and the multimeter 13 can directly output the actual input value to the first processor 14. In this embodiment, it is not necessary to manually input the actual input voltage to the first processor 14, thereby greatly improving the test and calibration efficiency.

[0049] Optionally, Figure 3 A circuit diagram of another analog-to-digital converter error calibration system provided by an embodiment of the present invention, referring to Figure 3The analog-to-digital converter error calibration system further includes an image recognition module 16 , the field of view of the image recognition module 16 faces the multimeter, and the output end of the image recognition module 16 is electrically connected to the first processor 14 ; the image recognition module 16 is used to recognize the actual input value displayed by the multimeter 13 and output the actual input value to the first processor 14 .

[0050] Specifically, in some embodiments, the multimeter 13 may not be able to directly output the displayed actual input value to the first processor 14. Therefore, the present embodiment sets an image recognition module 16, the image recognition module 16 captures the image displayed by the multimeter 13, and identifies the actual input value of the analog-to-digital converter to be calibrated from the displayed image. The specific method of recognizing text from the image is well known and will not be repeated here. The image recognition module directly outputs the recognized actual input value to the first processor. Therefore, the multimeter 13 of the present embodiment has a wider selection range, and the compatibility of the analog-to-digital converter error calibration system is stronger. It can be understood that the image recognition module 16 includes at least an image acquisition unit and an image processing unit, the image acquisition unit is, for example, a camera, and the image processing unit is, for example, a processor. The image acquisition unit is electrically connected to the image processing unit, the view field of the image acquisition unit is toward the multimeter, and the image processing unit is used to identify the actual input value displayed by the multimeter, and output the actual input value to the first processor.

[0051] Optionally, Figure 4 A circuit diagram of another analog-to-digital converter error calibration system provided by an embodiment of the present invention, referring to Figure 4 The adjustable resistance module includes a potentiometer 121. The potentiometer 121 may be a high-precision potentiometer. After the test point is determined, the gear position to be set for the potentiometer 121 may be determined according to the value of the test point, and then the potentiometer 121 may be adjusted to the corresponding gear position, thereby testing and calibrating the analog-to-digital converter to be calibrated.

[0052] Alternatively, in some other embodiments, such as Figure 5 As shown, Figure 5 A circuit structure diagram of another analog-to-digital converter error calibration system provided by an embodiment of the present invention. In this embodiment, the adjustable resistance module 122 includes a plurality of impedance branches 1221 connected in parallel, each impedance branch 1221 includes a switch unit 1222 and a resistor 1223 connected in series; the control end of the switch unit 1222 is electrically connected to the first processor 14, and the first processor 14 is used to control the conduction state of the switch unit 1222.

[0053] Specifically, the first end of each series branch 1221 is electrically connected to the first end of the adjustable resistance module 12, and the second end of each series branch 1221 is electrically connected to the second end of the adjustable resistance module 12. The switch unit 1222 and the resistor 1223 are connected in series between the first end and the second end of the series branch 1221. The first end of the switch unit 1222 is electrically connected to the first end of the series branch 1221, the first end of the resistor 1223 is electrically connected to the second end of the switch unit 1222, and the second end of the resistor 1223 is electrically connected to the second end of the series branch 1221; or the first end of the switch unit 1222 is electrically connected to the second end of the series branch 1221, the first end of the resistor 1223 is electrically connected to the second end of the switch unit 1222, and the second end of the resistor 1223 is electrically connected to the first end of the series branch 1221. The resistance values ​​of the resistors 1223 in different series branches may be the same or different. The switch unit 1222 may be a transistor or a relay, etc. In the configuration of this embodiment, the first processor 14 can control the effective resistance of the adjustable resistance module 12, and there is no need to manually adjust the effective resistance of the adjustable resistance module 12, thereby further improving the test efficiency.

[0054] Optionally, in the above embodiment, the ground terminal of the multimeter 13 may be electrically connected to the ground terminal of the adjustable resistance module 12 .

[0055] Optionally, the first processor fits the cubic polynomial fitting error model by least square method. The arrangement of this embodiment can quickly fit the error model, thereby further improving the test and calibration efficiency.

[0056] Optionally, Figure 6 A circuit diagram of another analog-to-digital converter error calibration system provided by an embodiment of the present invention, referring to Figure 6 The analog-to-digital converter error calibration system further includes a display module 17 , which is communicatively connected to the second processor 15 .

[0057] Specifically, the display module 17 can be connected to the second processor 15 by wire or wirelessly. The display module 17 can display the calibrated output value of the second processor 15, so that the user can intuitively obtain the calibrated output value of the analog-to-digital converter to be calibrated.

[0058] The embodiment of the present invention also provides an analog-to-digital converter error calibration method, such as Figure 7 As shown, Figure 7 A flowchart of an analog-to-digital converter error calibration method provided by an embodiment of the present invention. The method is executed by an analog-to-digital converter error calibration system provided by any embodiment of the present invention, and the method includes:

[0059] Step S110, adjusting the effective resistance of the adjustable resistance module to a preset value;

[0060] Specifically, a preset value may be determined first according to the selected test point, and then the adjustable resistance module may be manually or automatically adjusted to the preset value.

[0061] Step S120, measuring the actual input value of the analog-to-digital converter to be calibrated by a multimeter;

[0062] Specifically, because the output value of the power supply 11 after passing through the adjustable resistance module 12 may not be equal to the ideal input value, the actual input value input to the analog-to-digital converter 20 to be calibrated is measured using the multimeter 13, and the result of subsequently calculating the ideal output value using the actual input value is more accurate.

[0063] Step S130, the first processor obtains the actual input value and the actual output value corresponding to the analog-to-digital converter to be calibrated, determines the ideal output value of the analog-to-digital converter to be calibrated according to the actual input value, and determines the error corresponding to the actual input value according to the actual output value and the ideal output value;

[0064] Specifically, the first processor 14 may obtain each actual input value and actual output value of the analog-to-digital converter 20 to be calibrated, and may calculate an ideal output value corresponding to each actual input value. The first processor 14 may determine the error corresponding to the actual input value according to the ideal output value and the actual output value, for example, the error corresponding to the actual input value may be obtained by subtracting the actual output value from the ideal output value, or the error corresponding to the actual input value may be obtained by subtracting the ideal output value from the actual output value.

[0065] Step S140, adjusting the preset value and returning to the step of adjusting the effective resistance of the adjustable resistance module to the preset value until a preset number of actual input values ​​and errors are obtained;

[0066] Specifically, the preset number can be set by the user, such as selecting a preset number of test points within the full input range of the analog-to-digital converter to be calibrated, thereby obtaining a preset number of actual input values ​​and a corresponding preset number of errors.

[0067] Step S150, the first processor fits the error model of the analog-to-digital converter to be calibrated by a polynomial fitting method;

[0068] Specifically, by testing all test points, multiple data groups are obtained, each of which contains an actual input value and a corresponding error, and polynomial fitting is performed on the multiple data groups to obtain an error model between the actual input voltage and the error. The error model is a nonlinear error model of the analog-to-digital converter.

[0069] In step S160 , the second processor determines a calibration algorithm according to the error model, and calibrates the output of the analog-to-digital converter to be calibrated according to the calibration algorithm.

[0070] Specifically, the second processor 15 generates a calibration algorithm based on the error model. The calibration algorithm can be to calculate the error corresponding to the actual input value through the error model, compensate the error to the actual output value of the analog-to-digital converter to be calibrated, and use the compensated actual output value as the output value of the analog-to-digital converter to be calibrated.

[0071] The technical solution of this embodiment does not require the use of high-cost equipment, but can conveniently and quickly test and calibrate the nonlinear error of the analog-to-digital converter to be calibrated by using a low-cost power supply, a multimeter, and an adjustable resistance module.

[0072] Optionally, the first processor fitting the error model of the analog-to-digital converter to be calibrated by a polynomial fitting method includes: fitting the error model by a least squares method to fit a cubic polynomial. The arrangement of this embodiment can quickly fit the error model, thereby further improving the test and calibration efficiency.

[0073] Optionally, the adjustable resistance module includes a potentiometer; adjusting the effective resistance of the adjustable resistance module to a preset value includes: adjusting the potentiometer to a gear position corresponding to the preset value.

[0074] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0075] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An analog-to-digital converter error calibration system, It is characterized in that include: A power supply, an adjustable resistance module, a multimeter, a first processor and a second processor; The power supply is electrically connected to a first end of the adjustable resistance module, a second end of the adjustable resistance module is electrically connected to an input end of the analog-to-digital converter to be calibrated, and the adjustable resistance module is used to divide the output voltage of the power supply and output it to the analog-to-digital converter to be calibrated; The multimeter is electrically connected to the input terminal of the analog-to-digital converter to be calibrated, and is used to measure the actual input value of the input terminal of the analog-to-digital converter to be calibrated; The first processor is used to obtain the actual input value and the actual output value corresponding to the analog-to-digital converter to be calibrated, and determine the ideal output value of the analog-to-digital converter to be calibrated according to the actual input value, determine the error corresponding to the actual input value according to the actual output value and the ideal output value, and fit the error model of the analog-to-digital converter to be calibrated by a polynomial fitting method; The input end of the second processor is electrically connected to the output end of the analog-to-digital converter to be calibrated. The second processor is used to determine a calibration algorithm according to the error model, and calibrate the output of the analog-to-digital converter to be calibrated according to the calibration algorithm.

2. The analog-to-digital converter error calibration system according to claim 1, It is characterized in that The first processor is electrically connected to the multimeter to obtain the actual input value; the first processor is also electrically connected to the output end of the analog-to-digital converter to be calibrated to obtain the actual output value.

3. The analog-to-digital converter error calibration system according to claim 1, It is characterized in that The analog-to-digital converter error calibration system further includes an image recognition module, the field of view of the image recognition module is toward the multimeter, and the output end of the image recognition module is electrically connected to the first processor; The image recognition module is used to recognize the actual input value displayed by the multimeter and output the actual input value to the first processor.

4. The analog-to-digital converter error calibration system according to claim 1, It is characterized in that The multimeter comprises a six-and-a-half-digit multimeter.

5. The analog-to-digital converter error calibration system according to claim 1, It is characterized in that The adjustable resistance module includes a potentiometer.

6. The analog-to-digital converter error calibration system according to claim 1, It is characterized in that The adjustable resistance module includes a plurality of impedance branches connected in parallel, each of the impedance branches includes a switch unit and a resistor connected in series; the control end of the switch unit is electrically connected to the first processor, and the first processor is used to control the conduction state of the switch unit.

7. The analog-to-digital converter error calibration system according to claim 1, It is characterized in that The analog-to-digital converter error calibration system further includes a display module, and the display module is communicatively connected to the second processor.

8. An analog-to-digital converter error calibration method, performed by the analog-to-digital converter error calibration system according to any one of claims 1 to 7, It is characterized in that The analog-to-digital converter error calibration method comprises: Adjusting the effective resistance of the adjustable resistance module to a preset value; Measuring the actual input value of the analog-to-digital converter to be calibrated by the multimeter; The first processor obtains the actual input value and the actual output value corresponding to the analog-to-digital converter to be calibrated, determines the ideal output value of the analog-to-digital converter to be calibrated according to the actual input value, and determines the error corresponding to the actual input value according to the actual output value and the ideal output value; Adjusting the preset value and returning to the step of adjusting the effective resistance of the adjustable resistance module to the preset value until a preset number of actual input values ​​and errors are obtained; The first processor fits the error model of the analog-to-digital converter to be calibrated by a polynomial fitting method; The second processor determines a calibration algorithm according to the error model, and calibrates the output of the analog-to-digital converter to be calibrated according to the calibration algorithm.

9. The method for calibrating an analog-to-digital converter error according to claim 8, It is characterized in that The first processor fitting the error model of the analog-to-digital converter to be calibrated by a polynomial fitting method includes: The error model was fit by least squares fitting a cubic polynomial.

10. The analog-to-digital converter error calibration method according to claim 8, It is characterized in that The adjustable resistance module includes a potentiometer; The step of adjusting the effective resistance of the adjustable resistance module to a preset value comprises: The potentiometer is adjusted to a position corresponding to the preset value.