CN111490786B - Calibration method and device of digital-to-analog converter - Google Patents

Calibration method and device of digital-to-analog converter Download PDF

Info

Publication number
CN111490786B
CN111490786B CN202010469320.7A CN202010469320A CN111490786B CN 111490786 B CN111490786 B CN 111490786B CN 202010469320 A CN202010469320 A CN 202010469320A CN 111490786 B CN111490786 B CN 111490786B
Authority
CN
China
Prior art keywords
voltage value
output voltage
digital
analog converter
calibrated
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.)
Active
Application number
CN202010469320.7A
Other languages
Chinese (zh)
Other versions
CN111490786A (en
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.)
Shanghai Jinmai Automotive Electronics Co ltd
Original Assignee
Shanghai Jinmai Automotive Electronics 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 Shanghai Jinmai Automotive Electronics Co ltd filed Critical Shanghai Jinmai Automotive Electronics Co ltd
Priority to CN202010469320.7A priority Critical patent/CN111490786B/en
Publication of CN111490786A publication Critical patent/CN111490786A/en
Application granted granted Critical
Publication of CN111490786B publication Critical patent/CN111490786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/10Calibration or testing
    • H03M1/1009Calibration
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/10Calibration or testing
    • H03M1/1009Calibration
    • H03M1/1033Calibration over the full range of the converter, e.g. for correcting differential non-linearity
    • H03M1/1038Calibration over the full range of the converter, e.g. for correcting differential non-linearity by storing corrected or correction values in one or more digital look-up tables

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

The embodiment of the invention discloses a calibration method and device of a digital-to-analog converter. The calibration method of the digital-to-analog converter comprises the following steps: obtaining multiple groups of voltage value groups of the digital-to-analog converter to be calibrated, wherein any group of voltage value groups comprises: the standard output voltage value and the actual output voltage value are different in different voltage value groups; according to the actual output voltage value which needs to be output by the digital-to-analog converter in the normal use process and a plurality of groups of voltage value groups, determining the digital quantity corresponding to the actual output voltage value which needs to be output, and outputting the digital quantity to the digital-to-analog converter. The technical scheme provided by the embodiment of the invention can improve the output precision of the digital-to-analog converter.

Description

Calibration method and device of digital-to-analog converter
Technical Field
The present invention relates to digital-to-analog converter circuits, and more particularly, to a method and apparatus for calibrating a digital-to-analog converter.
Background
In the prior art, digital circuit voltage output is widely used in the modern control industry. The singlechip is generally matched with the digital-to-analog conversion chip, or the singlechip is internally provided with the digital-to-analog conversion chip, the singlechip supplies the digital quantity corresponding to the voltage to the digital-to-analog conversion chip through a specific signal protocol, and the voltage output is finally realized through the conversion of the digital-to-analog conversion chip.
When the accuracy of the power supply voltage of the digital-to-analog conversion chip is not in accordance with the requirement or the environmental change is relatively large, accumulated errors of the output voltage can be generated, so that the accuracy of the digital-to-analog conversion output voltage is not high and the stability is poor, and debugging and calibration are needed.
Disclosure of Invention
The embodiment of the invention provides a calibration method and device of a digital-to-analog converter, which are used for improving the output precision of the digital-to-analog converter.
In a first aspect, an embodiment of the present invention provides a method for calibrating a digital-to-analog converter, including:
obtaining multiple groups of voltage value groups of the digital-to-analog converter to be calibrated, wherein any group of voltage value groups comprises: the standard output voltage value and the actual output voltage value are different in different voltage value groups;
according to the actual output voltage value which needs to be output by the digital-to-analog converter in the normal use process and a plurality of groups of voltage value groups, determining the digital quantity corresponding to the actual output voltage value which needs to be output, and outputting the digital quantity to the digital-to-analog converter.
Further, obtaining multiple sets of voltage values for the digital-to-analog converter to be calibrated includes:
outputting a plurality of instructions to a digital-to-analog converter to be calibrated one by one, wherein the plurality of instructions correspond to a plurality of standard output voltage values of the digital-to-analog converter to be calibrated one by one;
and acquiring actual output voltage values output by the digital-to-analog converter to be calibrated under the action of each instruction so as to acquire a plurality of groups of voltage value groups of the digital-to-analog converter to be calibrated.
Further, before acquiring the multiple sets of voltage values of the digital-to-analog converter to be calibrated, the method further comprises:
acquiring at least three output voltage errors of a digital-to-analog converter to be calibrated, wherein the at least three output voltage errors correspond to at least three standard output voltage values of the digital-to-analog converter to be calibrated one by one;
determining whether the output voltage error and the standard output voltage value of the digital-to-analog converter to be calibrated meet the linear rule condition according to at least three pairs of corresponding output voltage errors and standard output voltage values;
correspondingly, if the output voltage error of the digital-to-analog converter to be calibrated and the standard output voltage value meet the linear rule condition, determining the digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output of the digital-to-analog converter in the normal use process and a plurality of groups of voltage value groups.
Further, determining a digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter in the normal use process and the plurality of groups of voltage value groups, and outputting the digital quantity to the digital-to-analog converter comprises:
acquiring a functional relation between an actual output voltage value and a standard output voltage value of a digital-to-analog converter to be calibrated according to a plurality of voltage value groups;
determining a standard output voltage value corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter in the normal use process and a functional relation between the actual output voltage value and the standard output voltage value;
and determining the digital quantity corresponding to the actual output voltage value to be output according to the standard output voltage value corresponding to the actual output voltage value to be output and the corresponding relation between the standard output voltage value and the digital quantity of the digital-to-analog converter before calibration, and outputting the digital quantity to the digital-to-analog converter.
Further, the number of the voltage value sets is two,
actual output voltage value V of digital-to-analog converter to be calibrated Act_Valx And standard output voltage value V Std_Valx The functional relation of (2) is:
wherein the standard output voltage value and the actual output voltage value in the voltage value group are (V Std_VaL1 ,V Act_VaL1 ) The standard output voltage value and the actual output voltage value in the other voltage value group are (V Std_VaL2 ,V Act_VaL2 )。
In a second aspect, an embodiment of the present invention further provides a calibration apparatus for a digital-to-analog converter, including:
the voltage value group acquisition module is used for acquiring a plurality of groups of voltage value groups of the digital-to-analog converter to be calibrated, wherein any group of voltage value groups comprises: the standard output voltage value and the actual output voltage value are different in different voltage value groups;
the calibration module is used for determining the digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter in the normal use process and a plurality of voltage value groups, and outputting the digital quantity to the digital-to-analog converter.
Further, the voltage value group acquisition module includes:
the instruction unit is used for outputting a plurality of instructions to the digital-to-analog converter to be calibrated one by one, wherein the instructions correspond to a plurality of standard output voltage values of the digital-to-analog converter to be calibrated one by one;
the acquisition unit is used for acquiring actual output voltage values output by the digital-to-analog converter to be calibrated under the action of each instruction so as to acquire a plurality of groups of voltage value groups of the digital-to-analog converter to be calibrated.
Further, the calibration device of the digital-to-analog converter further comprises:
the error acquisition module is used for acquiring at least three output voltage errors of the digital-to-analog converter to be calibrated before the voltage value group acquisition module acquires a plurality of groups of voltage value groups of the digital-to-analog converter to be calibrated, wherein the at least three output voltage errors correspond to at least three standard output voltage values of the digital-to-analog converter to be calibrated one by one;
the judging module is used for determining whether the output voltage error and the standard output voltage value of the digital-to-analog converter to be calibrated meet the linear rule condition according to at least three pairs of corresponding output voltage errors and standard output voltage values;
the calibration module is used for determining a digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter in the normal use process and a plurality of voltage value groups if the output voltage error of the digital-to-analog converter to be calibrated and the standard output voltage value meet the linear rule condition.
Further, the calibration module includes:
the relation acquisition unit is used for acquiring a functional relation between an actual output voltage value of the digital-to-analog converter to be calibrated and a standard output voltage value according to a plurality of voltage value groups;
the standard output voltage value acquisition unit is used for determining a standard output voltage value corresponding to the actual output voltage value required to be output according to the actual output voltage value required to be output by the digital-to-analog converter in the normal use process and a functional relation between the actual output voltage value and the standard output voltage value;
the digital quantity acquisition unit is used for determining the digital quantity corresponding to the actual output voltage value to be output according to the standard output voltage value corresponding to the actual output voltage value to be output and the corresponding relation between the standard output voltage value of the digital-to-analog converter before calibration and the digital quantity, and outputting the digital quantity to the digital-to-analog converter.
Further, the number of the voltage value sets is two,
actual output voltage value V of digital-to-analog converter to be calibrated Act_Valx And standard output voltage value V Std_Valx The functional relation of (2) is:
wherein the standard output voltage value and the actual output voltage value in the voltage value group are (V Std_VaL1 ,V Act_VaL1 ) The standard output voltage value and the actual output voltage value in the other voltage value group are (V Std_VaL2 ,V Act_VaL2 )。
According to the technical scheme, multiple groups of voltage value groups of the digital-to-analog converter to be calibrated are obtained, wherein any group of voltage value groups comprises: the standard output voltage value and the actual output voltage value are different in different voltage value groups; according to the actual output voltage value required to be output by the digital-to-analog converter in the normal use process and a plurality of groups of voltage value groups, determining the digital quantity corresponding to the actual output voltage value required to be output and outputting the digital quantity to the digital-to-analog converter, so that the digital-to-analog converter converts the digital quantity into the actual output voltage value required to be output, the corresponding relation between the voltage value required to be output and the standard output voltage value of the digital-to-analog converter before calibration and the digital quantity can be avoided, the digital quantity is determined and is output to the digital-to-analog converter, the situation that errors exist in output is caused, and the output precision of the digital-to-analog converter can be improved.
Drawings
Fig. 1 is a flowchart of a calibration method of a digital-to-analog converter according to an embodiment of the present invention;
FIG. 2 is a flowchart of a calibration method of a digital-to-analog converter according to an embodiment of the present invention;
FIG. 3 is a flowchart of a calibration method of a digital-to-analog converter according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a graph of an output voltage error and a standard output voltage value satisfying a linear rule condition according to an embodiment of the present invention;
FIG. 5 is a flowchart of a calibration method of a digital-to-analog converter according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a graph of an actual output voltage value versus a standard output voltage value according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a calibration device of a digital-to-analog converter according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a calibration apparatus for a digital-to-analog converter according to another embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
The embodiment of the invention provides a calibration method of a digital-to-analog converter. Fig. 1 is a flowchart of a calibration method of a digital-to-analog converter according to an embodiment of the present invention. The calibration method of the digital-to-analog converter may be performed by calibration means of the digital-to-analog converter, which means may be implemented in software and/or hardware. The calibration method of the digital-to-analog converter specifically comprises the following steps:
step 110, obtaining multiple sets of voltage value sets of the digital-to-analog converter to be calibrated, wherein any one set of voltage value sets includes: the standard output voltage value and the actual output voltage value are different in different voltage value sets.
The standard output voltage values are a plurality of different values selected from the range of the output voltage range of the digital-to-analog converter to be calibrated. Ideally, when the digital quantity corresponding to the standard output voltage value is input into the digital-to-analog converter to be calibrated, the actual output voltage value output by the digital-to-analog converter is equal to the standard output voltage value, i.e. no error exists in the output of the digital-to-analog converter. However, due to the influence of inaccuracy of environment and power supply voltage, when a digital quantity corresponding to a standard output voltage value is input into the digital-to-analog converter to be calibrated, the actual output voltage value of the output of the digital-to-analog converter is not equal to the standard output voltage value. A plurality of different standard output voltage values and corresponding actual output voltage values of the digital-to-analog converter to be calibrated are obtained.
Step 120, determining a digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter in the normal use process and the multiple voltage value sets, and outputting the digital quantity to the digital-to-analog converter.
The functional relation between the actual output voltage value of the digital-to-analog converter to be calibrated and the standard output voltage value can be determined according to a plurality of voltage value groups, and further, the corresponding relation between the actual output voltage value of the digital-to-analog converter and the digital quantity can be determined according to the functional relation between the actual output voltage value of the digital-to-analog converter to be calibrated and the standard output voltage value of the digital-to-analog converter before calibration and the corresponding relation between the standard output voltage value of the digital-to-analog converter and the digital quantity, and further, the digital quantity corresponding to the actual output voltage value of the digital-to-analog converter and the digital quantity is determined according to the actual output voltage value of the digital-to-analog converter required to be output in the normal use process and the corresponding relation between the actual output voltage value of the digital-to-analog converter and the digital quantity, so that the digital-to-analog converter is prevented from being output according to the voltage value required to be output, and the condition that errors occur in the output is avoided, and the output precision of the digital-to-analog converter can be improved.
The number of the voltage value groups is three, the standard output voltage values of each group are 1V, 3V and 5V respectively, and the actual output voltage values of the corresponding groups are 0.9V and 2.8VAnd 4.7V, the output voltage errors are 0.1V, 0.2V and 0.3V respectively, so that the actual output voltage V of the digital-to-analog converter to be calibrated can be obtained according to three voltage value sets (0.9V, 1V), (2.8V, 3V) and (4.7V, 5V) by interpolation method or fitting function method Act_Valx And standard output voltage value V Std_Valx Is a function of V Std_Valx =K(V Act_Valx ). Standard output voltage value V of digital-to-analog converter before calibration Std_Valx The correspondence with the digital quantity D is generally a linear function d=w (V Std_Valx ). According to V Std_Valx =K(V Act_Valx ) And d=w (V Std_Valx ) Determining a correspondence d=v (V Act_Valx ) Further outputting the actual output voltage value V according to the requirement Act_Valx ' and d=v (V Act_Valx ) Determining the actual output voltage value V to be output Act_Valx The corresponding digital quantity D' =v (V Act_Valx ') so that the digital-to-analog converter converts the digital quantity D' into the actual output voltage value V to be output Act_Valx '。
According to the technical scheme, multiple groups of voltage value groups of the digital-to-analog converter to be calibrated are obtained, wherein any group of voltage value groups comprises: the standard output voltage value and the actual output voltage value are different in different voltage value groups; according to the actual output voltage value required to be output by the digital-to-analog converter in the normal use process and a plurality of groups of voltage value groups, determining the digital quantity corresponding to the actual output voltage value required to be output and outputting the digital quantity to the digital-to-analog converter, so that the digital-to-analog converter converts the digital quantity into the actual output voltage value required to be output, the corresponding relation between the voltage value required to be output and the standard output voltage value of the digital-to-analog converter before calibration and the digital quantity can be avoided, the digital quantity is determined and is output to the digital-to-analog converter, the situation that errors exist in output is caused, and the output precision of the digital-to-analog converter can be improved.
The embodiment of the invention provides a calibration method of a digital-to-analog converter. Fig. 2 is a flowchart of a calibration method of a digital-to-analog converter according to another embodiment of the present invention. On the basis of the above embodiment, the method includes:
step 210, outputting a plurality of instructions to the digital-to-analog converter to be calibrated one by one, wherein the plurality of instructions are in one-to-one correspondence with a plurality of standard output voltage values of the digital-to-analog converter to be calibrated.
Wherein the plurality of instructions can be digital quantities and can output voltage values according to a plurality of different standards, and the correspondence relation D=W (V) between the standard output voltage values of the digital-to-analog converter before calibration and the digital quantities Std_Valx ) The determined number quantity is used as an instruction. Exemplary, the standard output voltage values may be three, 1V, 3V and 5V, respectively, according to the correspondence relation d=w (V Std_Valx ) It can be known that the digital quantity corresponding to the first standard output voltage value is V Std_Valx =1 substituted into the correspondence d=w (V Std_Valx ) Obtain D1, the second standard output voltage value corresponds to the digital quantity of V Std_Valx =3 substituted into the correspondence d=w (V Std_Valx ) Obtain D2, the digital quantity corresponding to the third standard output voltage value is V Std_Valx =5 substitution into the correspondence d=w (V Std_Valx ) And D3 is obtained and then is output to the digital-to-analog converters to be calibrated one by one, and the voltage values actually output by the digital-to-analog converters to be calibrated are respectively 0.9V, 2.8V and 4.7V.
Step 220, collecting the actual output voltage values of the digital-to-analog converter to be calibrated, which are output under the action of each instruction, so as to obtain a plurality of groups of voltage value groups of the digital-to-analog converter to be calibrated.
Under the action of each instruction, the collected actual output voltage value and the standard output voltage value corresponding to the instruction can be used as a group of voltage value groups.
Step 230, determining a digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter in the normal use process and the plurality of voltage value sets, and outputting the digital quantity to the digital-to-analog converter.
The embodiment of the invention provides a calibration method of a digital-to-analog converter. Fig. 3 is a flowchart of a calibration method of a digital-to-analog converter according to another embodiment of the present invention. On the basis of the above embodiment, the method includes:
step 310, obtaining at least three output voltage errors of the digital-to-analog converter to be calibrated, wherein the at least three output voltage errors correspond to at least three standard output voltage values of the digital-to-analog converter to be calibrated one by one.
The digital-to-analog converter to be calibrated can be output with at least three test instructions one by one, wherein the at least three test instructions correspond to a plurality of standard output voltage values of the digital-to-analog converter to be calibrated one by one; and then the actual output voltage value of the digital-to-analog converter to be calibrated, which is output under the action of each test instruction, is acquired. Under the action of each test instruction, the difference value between the acquired actual output voltage value and the standard output voltage value corresponding to the test instruction is an output voltage error.
It should be noted that at least three test instructions may be digital quantities, and may output voltage values according to a plurality of different standards, and the correspondence d=w (V Std_Valx ) The determined number is used as a test instruction.
Step 320, determining whether the output voltage error and the standard output voltage value of the digital-to-analog converter to be calibrated meet the linear rule condition according to at least three pairs of corresponding output voltage errors and standard output voltage values.
Fig. 4 is a schematic diagram of a graph of an output voltage error and a standard output voltage value satisfying a linear rule condition according to an embodiment of the present invention. The horizontal axis may be a standard output voltage value, and the vertical axis may be an output voltage error. If at least three pairs of corresponding output voltage errors and standard output voltage values are approximately in the same straight line under the coordinate system, determining that the output voltage errors and standard output voltage values of the digital-to-analog converter to be calibrated meet the linear rule condition. As shown in fig. 4, the output voltage error and the standard output voltage value of 5 pairs are shown in fig. 4, the standard output voltage values are respectively 1V, 2V, 3V, 4V and 5V, the output voltage errors are respectively X1, X2, X3, X4 and X5, the 5 points are approximately on the straight line EF, and the distance of each point deviating from the straight line EF is less than or equal to the first threshold, so that it can be determined that the output voltage error and the standard output voltage value of the digital-analog converter to be calibrated satisfy the linear rule condition. If the number of points deviating from the straight line EF by a distance larger than the first threshold exceeds the second threshold, determining that the output voltage error of the digital-to-analog converter to be calibrated and the standard output voltage value do not meet the linear rule condition.
It should be noted that, in the same environment, the voltage output performance of the digital-to-analog converter to be calibrated in the output range can be recorded; secondly, analyzing whether the output error slopes of the digital-to-analog converter to be calibrated are consistent; the more the logarithm of the tested output voltage error and the standard output voltage value is, the more the characteristic of the output error of the digital-to-analog converter to be calibrated can be truly restored.
It should be noted that if the output voltage error X of the digital-to-analog converter to be calibrated is equal to the standard output voltage value V Std_Valx Satisfying linear rule conditions, e.g. V Std_Valx Kx+b, where k is the slope and b is the intercept, due to the standard output voltage value V Std_Valx And the actual output voltage value V Act_Valx The difference of (2) is the output voltage error X, so the standard output voltage value V Std_Valx And the actual output voltage value V Act_Valx Is a function of V Std_Valx =K(V Act_Valx ) Is a linear functional relation.
Step 330, if the output voltage error and the standard output voltage value of the digital-to-analog converter to be calibrated meet the linear rule condition, obtaining multiple voltage value sets of the digital-to-analog converter to be calibrated, wherein any one voltage value set includes: the standard output voltage value and the actual output voltage value are different in different voltage value sets.
Step 340, determining a digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter in the normal use process and the plurality of groups of voltage value groups, and outputting the digital quantity to the digital-to-analog converter.
The embodiment of the invention provides a calibration method of a digital-to-analog converter. Fig. 5 is a flowchart of a calibration method of a digital-to-analog converter according to another embodiment of the present invention. On the basis of the above embodiment, the method includes:
step 410, obtaining multiple sets of voltage value sets of the digital-to-analog converter to be calibrated, wherein any one set of voltage value sets includes: the standard output voltage value and the actual output voltage value are different in different sets of voltage values.
Step 420, according to the multiple voltage value sets, a functional relation between the actual output voltage value and the standard output voltage value of the digital-to-analog converter to be calibrated is obtained.
Wherein, the actual output voltage value V of the digital-to-analog converter to be calibrated can be obtained by interpolation or fitting function according to multiple voltage value groups Act_Valx And standard output voltage value V Std_Valx Is a function of V Std_Valx =K(V Act_Valx )。
Step 430, determining a standard output voltage value corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter in the normal use process and a functional relation between the actual output voltage value and the standard output voltage value.
Wherein the actual output voltage V to be output can be obtained Act_Valx ' substituting into function relation V Std_Valx =K(V Act_Valx ) Obtain the actual output voltage value V which needs to be output Act_Valx ' corresponding standard output voltage value V Std_Valx '=K(V Act_Valx ')。
Step 440, determining a digital quantity corresponding to the actual output voltage value to be output according to the standard output voltage value corresponding to the actual output voltage value to be output and the corresponding relation between the standard output voltage value and the digital quantity of the digital-to-analog converter before calibration, and outputting the digital quantity to the digital-to-analog converter.
Wherein the actual output voltage V to be output can be obtained Act_Valx ' corresponding standard output voltage value V Std_Valx ' substituting d=w (V Std_Valx ) Obtain the actual output voltage value V which needs to be output Std_Valx The corresponding digital quantity D' is=W(V Std_Valx ') so that the digital-to-analog converter converts the digital quantity D' into the actual output voltage value V to be output Act_Valx ' so that the output accuracy of the digital-to-analog converter can be improved.
Optionally, based on the above embodiment, fig. 6 is a schematic diagram of a graph of an actual output voltage value and a standard output voltage value according to an embodiment of the present invention, where the number of voltage value sets is two, and the actual output voltage value V of the digital-to-analog converter to be calibrated can be determined according to the two voltage value sets Act_Valx And standard output voltage value V Std_Valx Is a linear functional relation of (c). Optionally, the actual output voltage value V of the digital-to-analog converter to be calibrated Act_Valx And standard output voltage value V Std_Valx The functional relation of (2) is:
wherein the standard output voltage value and the actual output voltage value in the voltage value group are (V Std_VaL1 ,V Act_VaL1 ) As at point a in fig. 6; the standard output voltage value and the actual output voltage value in the other voltage value set are (V Std_VaL2 ,V Act_VaL2 ) As at point B in fig. 6.
Optionally, the standard output voltage value in one set of voltage value sets is the minimum value of the range of the digital-to-analog converter output to be calibrated, and the standard output voltage value in the other set of voltage value sets is the maximum value of the range of the digital-to-analog converter output to be calibrated.
The embodiment of the invention provides a calibrating device of a digital-to-analog converter. Fig. 7 is a schematic structural diagram of a calibration device for a digital-to-analog converter according to an embodiment of the present invention. The calibration device of the digital-to-analog converter can be used for executing the calibration method of the digital-to-analog converter provided by any embodiment of the invention. The calibrating device of the digital-to-analog converter comprises: a voltage value set acquisition module 510 and a calibration module 520.
The voltage value set obtaining module 510 is configured to obtain multiple voltage value sets of the digital-to-analog converter 600 to be calibrated, where any one of the voltage value sets includes: the standard output voltage value and the actual output voltage value are different in different voltage value groups; the calibration module 520 is configured to determine a digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output of the digital-to-analog converter 600 in the normal use process and the plurality of voltage value sets, and output the digital quantity to the digital-to-analog converter 600, so that the digital-to-analog converter 600 converts the digital quantity into the actual output voltage value to be output.
The calibration device for the digital-to-analog converter provided by the embodiment of the invention is used for executing the calibration method for the digital-to-analog converter provided by any embodiment of the invention, so that the calibration device for the digital-to-analog converter provided by the embodiment of the invention also has the beneficial effects described in the embodiment, and the description is omitted here.
Optionally, the calibration device of the digital-to-analog converter further comprises a storage module for storing multiple sets of voltage values of the digital-to-analog converter 600 to be calibrated.
Optionally, based on the foregoing embodiment, fig. 8 is a schematic structural diagram of a calibration device of a digital-to-analog converter according to another embodiment of the present invention, where the voltage value set obtaining module 510 includes: an instruction unit 511 and an acquisition unit 512. The instruction unit 511 is configured to output a plurality of instructions to the digital-to-analog converter 600 to be calibrated one by one, where the plurality of instructions are in one-to-one correspondence with a plurality of standard output voltage values of the digital-to-analog converter 600 to be calibrated; the acquisition unit 512 is configured to acquire actual output voltage values output by the digital-to-analog converter 600 to be calibrated under the action of each instruction, so as to acquire multiple voltage value sets of the digital-to-analog converter 600 to be calibrated.
Optionally, with continued reference to fig. 8, based on the foregoing embodiment, the calibration device of the digital-to-analog converter further includes: an error acquisition module 530 and a determination module 540. The error obtaining module 530 is configured to obtain at least three output voltage errors of the digital-to-analog converter 600 to be calibrated before the voltage value set obtaining module 510 obtains multiple groups of voltage value sets of the digital-to-analog converter 600 to be calibrated, where the at least three output voltage errors are in one-to-one correspondence with at least three standard output voltage values of the digital-to-analog converter 600 to be calibrated; the judging module 540 is configured to determine whether the output voltage error and the standard output voltage value of the digital-to-analog converter 600 to be calibrated meet a linear rule condition according to at least three pairs of corresponding output voltage errors and standard output voltage values; the calibration module 520 is configured to determine a digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output of the digital-to-analog converter 600 in the normal use process and the plurality of sets of voltage values if the output voltage error of the digital-to-analog converter 600 to be calibrated and the standard output voltage value satisfy the linear rule condition.
Optionally, with continued reference to fig. 8, based on the above embodiments, the calibration module 520 includes: a relationship acquisition unit 521, a standard output voltage value acquisition unit 522, and a digital quantity acquisition unit 523.
The relation obtaining unit 521 is configured to obtain a functional relation between an actual output voltage value and a standard output voltage value of the digital-to-analog converter 600 to be calibrated according to a plurality of voltage value sets; the standard output voltage value obtaining unit 522 is configured to determine a standard output voltage value corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter 600 in the normal use process and a functional relation between the actual output voltage value and the standard output voltage value; the digital quantity obtaining unit 523 is configured to determine a digital quantity corresponding to the actual output voltage value to be output according to the standard output voltage value corresponding to the actual output voltage value to be output and the correspondence between the standard output voltage value and the digital quantity of the digital-to-analog converter 600 before calibration, and output the digital quantity to the digital-to-analog converter 600, so that the digital-to-analog converter 600 converts the digital quantity into the actual output voltage value to be output.
Optionally, the number of voltage value sets is two, and the actual output voltage value V of the digital-to-analog converter 600 to be calibrated Act_Valx And standard output voltage value V Std_Valx The functional relation of (2) is:
wherein the standard output voltage value and the actual output voltage value in the voltage value group are (V Std_VaL1 ,V Act_VaL1 ) The standard output voltage value and the actual output voltage value in the other voltage value group are (V Std_VaL2 ,V Act_VaL2 )。
Alternatively, the standard output voltage value in one set of voltage value sets is the minimum value of the range of the digital-to-analog converter 600 to be calibrated, and the standard output voltage value in the other set of voltage value sets is the maximum value of the range of the digital-to-analog converter 600 to be calibrated.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements, combinations, and substitutions can be made by those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (8)

1. A method for calibrating a digital-to-analog converter, comprising:
obtaining multiple groups of voltage value groups of the digital-to-analog converter to be calibrated, wherein any group of voltage value groups comprises: the standard output voltage value and the actual output voltage value are different in different voltage value groups;
determining a digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter in the normal use process and the multiple voltage value groups, and outputting the digital quantity to the digital-to-analog converter;
before acquiring the multiple sets of voltage values of the digital-to-analog converter to be calibrated, the method further comprises:
acquiring at least three output voltage errors of a digital-to-analog converter to be calibrated, wherein the at least three output voltage errors correspond to at least three standard output voltage values of the digital-to-analog converter to be calibrated one by one;
determining whether the output voltage error and the standard output voltage value of the digital-to-analog converter to be calibrated meet a linear rule condition according to at least three pairs of corresponding output voltage errors and standard output voltage values;
correspondingly, if the output voltage error and the standard output voltage value of the digital-to-analog converter to be calibrated meet the linear rule condition, determining a digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter in the normal use process and the multiple groups of voltage value groups.
2. The method of calibrating a digital-to-analog converter according to claim 1, wherein obtaining a plurality of sets of voltage values of the digital-to-analog converter to be calibrated comprises:
outputting a plurality of instructions to a digital-to-analog converter to be calibrated one by one, wherein the instructions correspond to a plurality of standard output voltage values of the digital-to-analog converter to be calibrated one by one;
and acquiring actual output voltage values output by the digital-to-analog converter to be calibrated under the action of each instruction so as to acquire a plurality of groups of voltage value groups of the digital-to-analog converter to be calibrated.
3. The method according to claim 1, wherein determining a digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output of the digital-to-analog converter during normal use and the plurality of sets of voltage value sets, and outputting the digital quantity to the digital-to-analog converter comprises:
acquiring a functional relation between an actual output voltage value and a standard output voltage value of the digital-to-analog converter to be calibrated according to the multiple voltage value groups;
determining a standard output voltage value corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter in the normal use process and a functional relation between the actual output voltage value and the standard output voltage value;
and determining the digital quantity corresponding to the actual output voltage value to be output according to the standard output voltage value corresponding to the actual output voltage value to be output and the corresponding relation between the standard output voltage value and the digital quantity of the digital-to-analog converter before calibration, and outputting the digital quantity to the digital-to-analog converter.
4. A method for calibrating a digital-to-analog converter according to claim 3, wherein the number of sets of voltage values is two,
the actual output voltage value V of the D/A converter to be calibrated Act_Valx And standard output voltage value V Std_Valx The functional relation of (2) is:
wherein the standard output voltage value and the actual output voltage value in the voltage value group are (V Std_VaL1 ,V Act_VaL1 ) The standard output voltage value and the actual output voltage value in the other voltage value group are (V Std_VaL2 ,V Act_VaL2 )。
5. A calibration apparatus for a digital-to-analog converter, comprising:
the voltage value group acquisition module is used for acquiring a plurality of groups of voltage value groups of the digital-to-analog converter to be calibrated, wherein any group of voltage value groups comprises: the standard output voltage value and the actual output voltage value are different in different voltage value groups;
the calibration module is used for determining a digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output by the digital-to-analog converter in the normal use process and the multiple voltage value groups, and outputting the digital quantity to the digital-to-analog converter;
further comprises:
the error acquisition module is used for acquiring at least three output voltage errors of the digital-to-analog converter to be calibrated before the voltage value group acquisition module acquires a plurality of groups of voltage value groups of the digital-to-analog converter to be calibrated, wherein the at least three output voltage errors are in one-to-one correspondence with at least three standard output voltage values of the digital-to-analog converter to be calibrated;
the judging module is used for determining whether the output voltage error and the standard output voltage value of the digital-to-analog converter to be calibrated meet the linear rule condition according to at least three pairs of corresponding output voltage errors and standard output voltage values;
the calibration module is used for determining a digital quantity corresponding to the actual output voltage value to be output according to the actual output voltage value to be output of the digital-to-analog converter in the normal use process and the multiple voltage value groups if the output voltage error of the digital-to-analog converter to be calibrated and the standard output voltage value meet the linear rule condition.
6. The calibration device of a digital-to-analog converter according to claim 5, wherein the voltage value set acquisition module includes:
the instruction unit is used for outputting a plurality of instructions to the digital-to-analog converter to be calibrated one by one, wherein the instructions are in one-to-one correspondence with a plurality of standard output voltage values of the digital-to-analog converter to be calibrated;
the acquisition unit is used for acquiring actual output voltage values output by the digital-to-analog converter to be calibrated under the action of each instruction so as to acquire a plurality of groups of voltage value groups of the digital-to-analog converter to be calibrated.
7. The calibration device of a digital to analog converter of claim 5, wherein said calibration module comprises:
the relation acquisition unit is used for acquiring a functional relation between the actual output voltage value of the digital-to-analog converter to be calibrated and the standard output voltage value according to the multiple voltage value groups;
the standard output voltage value acquisition unit is used for determining a standard output voltage value corresponding to the actual output voltage value required to be output according to the actual output voltage value required to be output by the digital-to-analog converter in the normal use process and a functional relation between the actual output voltage value and the standard output voltage value;
the digital quantity acquisition unit is used for determining the digital quantity corresponding to the actual output voltage value to be output according to the standard output voltage value corresponding to the actual output voltage value to be output and the corresponding relation between the standard output voltage value of the digital-to-analog converter before calibration and the digital quantity, and outputting the digital quantity to the digital-to-analog converter.
8. The device for calibrating a digital-to-analog converter according to claim 7, wherein the number of the voltage value sets is two,
the actual output voltage value V of the D/A converter to be calibrated Act_Valx And standard output voltage value V Std_Valx The functional relation of (2) is:
wherein the standard output voltage value and the actual output voltage value in the voltage value group are (V Std_VaL1 ,V Act_VaL1 ) The standard output voltage value and the actual output voltage value in the other voltage value group are (V Std_VaL2 ,V Act_VaL2 )。
CN202010469320.7A 2020-05-28 2020-05-28 Calibration method and device of digital-to-analog converter Active CN111490786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010469320.7A CN111490786B (en) 2020-05-28 2020-05-28 Calibration method and device of digital-to-analog converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010469320.7A CN111490786B (en) 2020-05-28 2020-05-28 Calibration method and device of digital-to-analog converter

Publications (2)

Publication Number Publication Date
CN111490786A CN111490786A (en) 2020-08-04
CN111490786B true CN111490786B (en) 2023-12-29

Family

ID=71795653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010469320.7A Active CN111490786B (en) 2020-05-28 2020-05-28 Calibration method and device of digital-to-analog converter

Country Status (1)

Country Link
CN (1) CN111490786B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571089A (en) * 2011-12-31 2012-07-11 北京雪迪龙科技股份有限公司 Analog-to-digital conversion/digital-to-analog conversion self-calibration method and control system applying same
US9379728B1 (en) * 2015-06-26 2016-06-28 Stmicroelectronics International N.V. Self-calibrated digital-to-analog converter
CN106092375A (en) * 2016-08-24 2016-11-09 南京飞利宁航空科技发展有限公司 The method of calibration of airborne equipment surface temperature sensor and tester
CN106646321A (en) * 2016-11-18 2017-05-10 云南电网有限责任公司电力科学研究院 DC current transformer synchronous calibration method and system
CN108700640A (en) * 2017-10-13 2018-10-23 深圳中兴力维技术有限公司 Calibration method, control platform and the system of voltage acquisition module, storage medium
CN111010180A (en) * 2019-12-19 2020-04-14 珠海纳睿达科技有限公司 Analog-to-digital converter calibration system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6897794B2 (en) * 2003-07-03 2005-05-24 Texas Instruments Incorporated All-analog calibration of sting-DAC linearity: application to high voltage processes

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571089A (en) * 2011-12-31 2012-07-11 北京雪迪龙科技股份有限公司 Analog-to-digital conversion/digital-to-analog conversion self-calibration method and control system applying same
US9379728B1 (en) * 2015-06-26 2016-06-28 Stmicroelectronics International N.V. Self-calibrated digital-to-analog converter
CN106092375A (en) * 2016-08-24 2016-11-09 南京飞利宁航空科技发展有限公司 The method of calibration of airborne equipment surface temperature sensor and tester
CN106646321A (en) * 2016-11-18 2017-05-10 云南电网有限责任公司电力科学研究院 DC current transformer synchronous calibration method and system
CN108700640A (en) * 2017-10-13 2018-10-23 深圳中兴力维技术有限公司 Calibration method, control platform and the system of voltage acquisition module, storage medium
CN111010180A (en) * 2019-12-19 2020-04-14 珠海纳睿达科技有限公司 Analog-to-digital converter calibration system and method

Also Published As

Publication number Publication date
CN111490786A (en) 2020-08-04

Similar Documents

Publication Publication Date Title
US20140347199A1 (en) Data processing system
CN107181489B (en) Analog-to-digital conversion calibration method and device
CN106374923B (en) High-precision ADC reference voltage calibration system and calibration method
CN112583405B (en) ADC error automatic correction method, ADC error automatic correction device, ADC circuit and storage medium
CN102684696A (en) Test apparatus and test method for a/d converter
TWI407129B (en) Adjustable voltage comparing circuit and adjustable voltage examining module
CN102262172B (en) Power monitoring method and device
CN114499521A (en) Signal calibration method and device, computer equipment and storage medium
CN111490786B (en) Calibration method and device of digital-to-analog converter
JPH10145231A (en) Data correcting method for a/d conversion device and d/a conversion device
CN113364461B (en) Analog-to-digital conversion calibration method and system for chip to be tested
KR20090085283A (en) Apparatus and method of compensating the error of analog to digital converter
CN109782057B (en) Circuit and method for measuring input active power of single-phase power supply of variable-frequency household appliance
CN112557988A (en) Voltage measurement calibration system and method
CN113541690A (en) Calibration method and analog-to-digital conversion calibration system for production line detection equipment
CN114675074B (en) VDDA correction device and correction method of MCU
CN108055038B (en) Frequency converter and correction method thereof, analog quantity correction method and system
CN114337614B (en) Comparator-based high-precision edge detection method and system
RU2365033C2 (en) Module of direct current transformation in code
US10073122B2 (en) Measuring transducer for converting an analogue electrical input signal into an analog electrical output signal
CN219477954U (en) Signal conditioning circuit and pedal signal detection circuit
CN214384610U (en) Voltage measurement calibration system
EP4380059A1 (en) Internally calibrated analog-to-digital converter
EP4340226A1 (en) Device of analog-to-digital conversion
CN210899139U (en) Analog-to-digital converter calibration system

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
GR01 Patent grant
GR01 Patent grant