Calibration circuit and method for output amplitude of current steering digital-to-analog converter

By designing the calibration circuit of the current rudder digital-to-analog converter, using the calibration current source array and environmental parameter sensing module, the calibration codewords are dynamically generated for current compensation, which solves the problem of frequent calibration and low calibration accuracy of digital-to-analog converters in the prior art, and achieves high-precision environmental adaptive calibration.

CN119865176APending Publication Date: 2025-04-22TSINGHUA UNIVERSITY
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411951953.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

In the prior art, the front-end calibration of digital-to-analog converters requires frequent recalibration, and the calibration algorithm is complex and the calibration model is simple, limiting accurate temperature tracking at higher accuracy.

Method used

A calibration circuit for output amplitude of the current rudder digital-to-analog converter is designed, including a calibration current source array, a precalibration configuration module, an environmental parameter sensing module and a calibration codeword generation unit. By setting the target input codeword and real-time acquisition of environmental parameters, the calibration codeword is dynamically generated to control the calibration current source array for current compensation.

Benefits of technology

Accurate calibration under different environmental conditions is achieved, the accuracy and reliability of calibration is improved, the output amplitude error caused by environmental changes is reduced, and the accuracy of data conversion is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865176A_ABST
    Figure CN119865176A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of integrated circuits, in particular to a calibration circuit and method for the output amplitude of a current steering digital-to-analog converter, and the calibration circuit comprises a calibration current source array; the pre-calibration configuration module is used for setting target input code words required for calibrating the current source array under different environment conditions during pre-calibration; the environment parameter sensing module is used for collecting current environment parameters of the environment; and the calibration code word generation unit is used for receiving the target input code word and the current environment parameter, and generating calibration code words under different environment conditions according to the target input code word and the current environment parameter when the calibration circuit calibrates the current steering digital-to-analog converter so as to control the calibration current source array to perform current compensation. Therefore, the problems that in the prior art, most foreground calibration digital-to-analog converters need to be recalibrated every time, the calibration algorithm is complex, the calibration model is simple, and accurate temperature tracking under higher precision is limited are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of integrated circuits, and in particular to a circuit and method for calibrating the output amplitude of a current-steering digital-to-analog converter. Background Art

[0002] In the related technology, there are two main types of calibration techniques in the design of digital-to-analog converters: static and dynamic. Static calibration technology compensates for current source mismatch through additional circuits, and its noise and power consumption costs are lower than those of dynamic calibration technology.

[0003] However, in the related art, the addition of the compensation circuit brings additional parasitic capacitance, and the different compensation states between different units may cause mismatch in the timing of the digital-to-analog converter. On the one hand, the foreground static calibration performed on the digital-to-analog converter after leaving the factory faces changes in working conditions such as temperature and voltage. As the temperature changes, the calibration effect of the digital-to-analog converter will deteriorate or even fail. On the other hand, the background calibration performed simultaneously when the digital-to-analog converter is working will affect the output spectrum due to its switching process. In view of the decrease in calibration accuracy caused by temperature changes after the foreground calibration is completed, some technical solutions can automatically track the temperature without the need for additional temperature sensing circuits, but the calibration algorithm used is complex and the calibration model is simple, which limits the precise temperature tracking at higher accuracy and needs to be improved urgently. Summary of the invention

[0004] The present application provides a current steering digital-to-analog converter output amplitude calibration circuit to solve the problem in the related art that most front-end calibration digital-to-analog converters need to be recalibrated each time, and the calibration algorithm is complex and the calibration model is simple, which limits the accurate temperature tracking under higher precision.

[0005] A first aspect of the present application provides a calibration circuit for the output amplitude of a current-steering digital-to-analog converter, wherein the current-steering digital-to-analog converter has a decoding module, a switch array, and a current source array to be calibrated, wherein the calibration circuit includes: a calibration current source array; a pre-calibration configuration module, used to set the target input codeword required for the calibration current source array under different environmental conditions during pre-calibration; an environmental parameter sensing module, used to collect the current environmental parameters of the environment; a calibration codeword generation unit, used to receive the target input codeword and the current environmental parameters, and when the calibration circuit calibrates the current-steering digital-to-analog converter, generate calibration codewords under different environmental conditions according to the target input codeword and the current environmental parameters, so as to control the calibration current source array to perform current compensation.

[0006] Through the above technical scheme, the embodiment of the present application can provide a basis for current compensation by setting a calibration current source array, and can effectively correct the output amplitude deviation. The pre-calibration configuration module can set the target input codeword for different environmental conditions, enhance the flexibility and adaptability of calibration, and ensure accurate calibration in a variety of environments. The environmental parameter sensing module collects the current environmental parameters in real time, and combined with the calibration codeword generation unit, it can dynamically generate calibration codewords according to the actual environment, realize environmental adaptive calibration, and greatly improve the accuracy and reliability of calibration. This calibration circuit can effectively improve the performance of the current steering digital-to-analog converter in different environments, reduce the output amplitude error caused by environmental changes, and ensure the accuracy of data conversion.

[0007] Optionally, in one embodiment of the present application, the calibration current source array is composed of N calibration current source units, the current source array to be calibrated is composed of N current source units to be calibrated, and the outputs of the N calibration current source units are connected in parallel with the N current source units to be calibrated in a one-to-one correspondence; the switch array is composed of N pairs of differential switches, and the N pairs of differential switches control the output value of the current source; the decoding module receives a digital signal, and the output end of the decoding module is connected to the input end of the switch array; the output end of the calibration codeword generation unit is connected to the calibration current source array, and the first input end of the calibration codeword generation unit is connected to the output end of the pre-calibration configuration module, and the second input end of the calibration codeword generation unit is connected to the environmental parameter sensing module, wherein N is a positive integer.

[0008] Through the above technical scheme, the embodiment of the present application can be composed of a current source array composed of N calibration current source units and N current source units to be calibrated in parallel in a one-to-one correspondence, so as to realize accurate current compensation adjustment. The switch array composed of N pairs of differential switches can effectively control the output value of the current source, and combined with the decoding module that receives the digital signal, it can realize flexible control and precise conversion of the output. The calibration codeword generation unit is respectively connected to the pre-calibration configuration module, the environmental parameter sensing module and the calibration current source array, and can dynamically generate calibration codewords according to different environmental conditions and pre-calibration settings, realize environmental adaptive calibration, and ensure the accuracy of the output amplitude under various working conditions. This structure not only improves the calibration accuracy, but also its modular and corresponding design is easy to implement and maintain, which provides a strong guarantee for the high-precision application of the current steering digital-to-analog converter in complex environments.

[0009] Optionally, in one embodiment of the present application, the calibration codeword generation unit is specifically used to calculate the calibration codeword under the current environmental parameters by fitting pre-calibrated input codeword information under K different environmental parameters, so as to generate a target calibration current for current compensation according to the calibration codeword, and K is a positive integer.

[0010] Through the above technical solution, the embodiment of the present application can calculate the calibration codeword under the current environmental parameters by fitting the pre-calibrated input codeword information under K different environmental parameters through the calibration codeword generation unit, which fully considers the influence of various environmental factors on the output amplitude of the current steering digital-to-analog converter. It can calculate the adaptive calibration codeword in real time and accurately according to environmental changes, and then generate the target calibration current for current compensation, effectively deal with the output instability problem caused by environmental fluctuations, improve the accuracy and flexibility of calibration, and ensure that the current steering digital-to-analog converter can output stable and accurate amplitude under different environmental conditions.

[0011] A second aspect of the present application provides a method for calibrating the output amplitude of a current-steering digital-to-analog converter, comprising: during pre-calibration, setting the target input codeword required for the current source array to be calibrated under different environmental conditions; collecting the current environmental parameters of the environment; when the calibration circuit calibrates the current-steering digital-to-analog converter, generating calibration codewords under different environmental conditions based on the target input codeword and the current environmental parameters to perform current compensation.

[0012] Through the above technical solution, the embodiment of the present application can set the target input codeword under different environmental conditions in the pre-calibration stage, and can prepare for different environmental scenarios in advance. Collecting the current environmental parameters can grasp the actual working conditions in real time, providing a key basis for subsequent precise calibration. During the calibration process, the calibration codeword is generated according to the target input codeword and the environmental parameters for current compensation, realizing the organic combination of environmental perception and adaptive calibration, effectively overcoming the influence of environmental changes on the output amplitude of the current rudder digital-to-analog converter, and significantly improving the accuracy and stability of the output. Whether in scenarios where environmental factors such as temperature and humidity change greatly, or under different workload conditions, it can ensure that the converter always maintains high-precision current output.

[0013] Optionally, in one embodiment of the present application, the calibration codewords under different environmental conditions are generated according to the target input codeword and the current environmental parameters to perform current compensation, including: calculating the calibration codeword under the current environmental parameters by fitting pre-calibrated input codeword information under K different environmental parameters; generating a target calibration current for current compensation according to the calibration codeword, where K is a positive integer.

[0014] Through the above technical solution, the embodiment of the present application can calculate the calibration codeword under the current environmental parameters by fitting the pre-calibrated input codeword information under K different environmental parameters through the calibration codeword generation unit, which fully considers the influence of various environmental factors on the output amplitude of the current steering digital-to-analog converter. It can calculate the adaptive calibration codeword in real time and accurately according to environmental changes, and then generate the target calibration current for current compensation, effectively deal with the output instability problem caused by environmental fluctuations, improve the accuracy and flexibility of calibration, and ensure that the current steering digital-to-analog converter can output stable and accurate amplitude under different environmental conditions.

[0015] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for calibrating the output amplitude of the current-steering digital-to-analog converter as described in the above embodiment.

[0016] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned method for calibrating the output amplitude of a current-steering digital-to-analog converter.

[0017] The fifth aspect of the present application provides a computer program, including a computer program, which, when executed, is used to implement the above-mentioned method for calibrating the output amplitude of the current-steering digital-to-analog converter.

[0018] The embodiments of the present application can provide a basis for current compensation by setting a calibration current source array, which can effectively correct the output amplitude deviation. The pre-calibration configuration module can set the target input codeword for different environmental conditions, enhance the flexibility and adaptability of calibration, and ensure accurate calibration in a variety of environments. The environmental parameter sensing module collects the current environmental parameters in real time, and combined with the calibration codeword generation unit, it can dynamically generate calibration codewords according to the actual environment, realize environmental adaptive calibration, and greatly improve the accuracy and reliability of calibration. This calibration circuit can effectively improve the performance of the current steering digital-to-analog converter in different environments, reduce the output amplitude error caused by environmental changes, and ensure the accuracy of data conversion.

[0019] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0021] Figure 1It is a structural schematic diagram of a calibration circuit for the output amplitude of a current-steering digital-to-analog converter provided according to an embodiment of the present application;

[0022] Figure 2 It is a structural schematic diagram of a foreground one-time calibration and background temperature tracking circuit according to an embodiment of the present application;

[0023] Figure 3 A flowchart of a pre-calibration configuration according to an embodiment of the present application;

[0024] Figure 4 A flowchart of automatically tracking working parameters such as temperature according to an embodiment of the present application;

[0025] Figure 5 Schematic diagram of simulation results of the relationship between the output mismatch current of the current source to be calibrated and the temperature according to one embodiment of the present application;

[0026] Figure 6 A flow chart of a calibration method for calibrating the output amplitude of a current-steering digital-to-analog converter provided according to an embodiment of the present application;

[0027] Figure 7 It is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0029] The following describes the calibration circuit and method of the output amplitude of the current steering digital-to-analog converter of the embodiment of the present application with reference to the accompanying drawings. In view of the related art mentioned in the above background technology, most of the front-end calibration digital-to-analog converters need to be recalibrated every time, and the calibration algorithm is complex and the calibration model is simple, which limits the problem of accurate temperature tracking under higher precision. The present application provides a calibration circuit for the output amplitude of the current steering digital-to-analog converter. In the circuit, a calibration current source array can be set to provide a basis for current compensation, and the output amplitude deviation can be effectively corrected. The pre-calibration configuration module can set the target input codeword for different environmental conditions, enhance the flexibility and adaptability of calibration, and ensure that accurate calibration can be achieved in a variety of environments. The environmental parameter sensing module collects the current environmental parameters in real time, and combined with the calibration codeword generation unit, it can dynamically generate calibration codewords according to the actual environment, realize environmental adaptive calibration, and greatly improve the accuracy and reliability of calibration. This calibration circuit can effectively improve the performance of the current steering digital-to-analog converter in different environments, reduce the output amplitude error caused by environmental changes, and ensure the accuracy of data conversion. Therefore, it solves the problem that most of the front-end calibration digital-to-analog converters need to be recalibrated every time in the related art, and the calibration algorithm is complex and the calibration model is simple, which limits the problem of accurate temperature tracking under higher precision.

[0030] Specifically, Figure 1 A schematic diagram of the structure of a calibration circuit 10 for calibrating the output amplitude of a current-steering digital-to-analog converter provided in an embodiment of the present application.

[0031] like Figure 1 As shown, the calibration circuit 1 for calibrating the output amplitude of the current steering digital-to-analog converter includes: a calibration current source array 10, a pre-calibration configuration module 20, an environmental parameter sensing module 30 and a calibration codeword unit 40. The current steering digital-to-analog converter to be calibrated includes a current source array 50 to be calibrated ( Figure 1 Not marked in the figure), switch array 60 and decoding module 70 ( Figure 1 not marked in the table).

[0032] Specifically, Figure 2As shown, the calibration current source array 10 is composed of N (N is a positive integer in this application) calibration current source units, each of which includes a calibration current source 101; a pre-calibration configuration module 20, including a reference current source 201, a current comparator 202, and a current switching module 203, which is used to set the target input codeword required for the calibration current source array under different environmental conditions during pre-calibration; an environmental parameter sensing module 30, which is used to collect the current environmental parameters of the environment; a calibration codeword generation unit 40, including a storage unit 401 and a digital operation unit 402, which is used to receive the target input codeword and the current environmental parameters, and when the calibration circuit calibrates the current steering digital-to-analog converter, generates calibration codewords under different environmental conditions according to the target input codeword and the current environmental parameters to control the calibration current source array to perform current compensation; a current source array 50 to be calibrated is composed of N current source units to be calibrated, each of which includes a current source 501 to be calibrated, a current summing node 502 and a selector unit 503.

[0033] According to the above modules, the overall circuit connection mode of the present application is as follows: the outputs of N calibration current source units are connected in parallel with N current source units to be calibrated in a one-to-one correspondence; the switch array 60 is composed of N pairs of differential switches, and the N pairs of differential switches control the output value of the current source; the decoding module 70 receives the digital signal, and the output end of the decoding module 70 is connected to the input end of the switch array 60; the output end of the calibration codeword generation unit 40 is connected to the calibration current source array 10, and the first input end of the calibration codeword generation unit 40 is connected to the output end of the pre-calibration configuration module 20, and the second input end of the calibration codeword generation unit 40 is connected to the environmental parameter sensor module 30. Among them, the switch array 60 receives the control signal CODE[N:1] output by the decoding module 70, and controls the output current I to be calibrated of the current source 502 to be calibrated. U [K].

[0034] In the current source array 50 to be calibrated, the current source 501 to be calibrated is controlled by the switch array 60 to generate the current I U [K] The current summing node 503 is used to sum the current to be calibrated I generated by the current source 502 to be calibrated U [K] and compensation current I C [K] add to get the final output current I D [K], where the compensation current I C[K] is generated by the calibration current source 101 in the calibration current source array. Optionally, the selector unit 503 is composed of a first NMOS tube and a second NMOS tube, the source of the first NMOS tube is connected to the current summing node 502, the drain is connected to the differential switch of the digital-to-analog converter, and the gate is connected to the current switching control module 203 in the pre-calibration configuration module 20; the source of the second NMOS tube is connected to the current summing node 502, the drain is connected to the current comparator 202 in the pre-calibration configuration module 20, and the gate is connected to the current switching control module 203 in the pre-calibration configuration module 20. In the actual execution process of the digital-to-analog converter, the selector unit 503 is controlled by the current switching control module 203 to convert the final current I D [K] is selected to the DAC differential switch or current comparator 202 to complete the output or calibration function of the current source.

[0035] In the calibration current source array 10, the calibration current source 101 is used to generate the original compensation current I C [K], and is controlled by the calibration codeword generation unit 40.

[0036] In the pre-calibration configuration module 20, the reference current source 201 generates a reference current I REF , used to calibrate the current source 101. The current comparator 202 has a first input terminal connected to the current source array 50 to be calibrated, and a second input terminal connected to the reference current source 201. The current comparator 202 adjusts the calibration word corresponding to the current environment output parameter in the storage unit 401 in the calibration code word generation unit 40 according to the output current comparison signal COMP, so as to adjust the compensation current I C The current switching control module 203 is connected to the current source array 50 to be detected, and outputs a switch signal SW[N:1] to control the selector unit 503 in the current source array 50 to output the final current I D [K] is selected to the current comparator 202.

[0037] The environmental parameter sensor module 30 is connected to the storage unit 401 in the calibration codeword generation unit 40 and outputs parameters related to the environment, such as but not limited to temperature.

[0038] In the calibration codeword generation unit 40, the storage unit 401 receives the environmental parameters output by the environmental parameter sensing module 30, and outputs the received environmental parameters, one or more pre-configured different environmental parameters and the calibration codeword CAL[N:1][P:1] to the digital operation unit 402, wherein P is the number of bits of the calibration current source 101 in the calibration current source array 10. The digital operation unit 402 obtains the mapping relationship between the environmental parameters and the calibration codeword through one or more point fitting or interpolation according to the one or more pre-configured different environmental parameters and the calibration codeword CAL[N:1][P:1] output by the storage unit 401, and then obtains the current calibration codeword CAL[N:1][P:1] according to the current environmental parameters, and outputs the calibration codeword CAL[N:1][P:1] to the calibration current source 101 in the calibration current source array 10.

[0039] The decoding module 70 obtains a control code word CODE[N:1] for controlling the switch array 60 according to the input digital signal.

[0040] Based on the above structure, the specific principle of pre-calibrating and pre-configuring each current source of the current steering digital-to-analog converter to be calibrated is: under a certain environment, such as temperature T, for a certain current source unit K to be calibrated, the LSB (Least significant bit) current of the calibration current source 101 is I CL It should be noted that, in order to obtain the maximum calibration adjustment range, the calibration current source 101 should be in a half-scale output state when the calibration starts.

[0041] After the pre-calibration starts, the current switching control module 203 selects the first input terminal of the current comparator 202 through the switch signal SW[K]. When the current at the first input terminal is greater than the current at the second input terminal, the current comparator 202 outputs a high-level digital signal COMP=1, and when the current at the second input terminal is greater than the current at the first input terminal, the current comparator 202 outputs a low-level digital signal COMP=0. If the output current comparison signal COMP=1, it means that I D [K] greater than I REF , reducing the value of the calibration code word CAL[K][P:1] corresponding to the current environmental parameter in the storage unit 401 to reduce the output current I of the calibration current source 101 C [K], and reduce I accordingly D [K]; If the output current comparison signal COMP=0, it means I D [K] is less than I REF , increase the value of the calibration code word CAL[K][P:1] corresponding to the current environmental parameter in the storage unit 401 to increase the output current I of the calibration current source C [K], and increase I accordingly D[K].

[0042] The above adjustment process of the calibration control signal ends when the COMP level jumps. At this time, I D [K] and I REF The difference does not exceed I C [K], complete the calibration of the current source K to be calibrated at temperature T.

[0043] Furthermore, the current switching control module 203 resets the switch signal SW[K], and selects the next current source K+1 to be calibrated to the current comparator 202 for the next switch signal SW[K+1], and starts calibrating the next current source to be calibrated at temperature T, and so on, until the calibration of all current sources to be calibrated at temperature T is completed.

[0044] Furthermore, the temperature T is adjusted to the next temperature T+1, and calibration of the current sources K[1] to K[N] to be calibrated is started at the temperature T+1, and so on, until all the current sources to be calibrated at all temperatures are calibrated, and the pre-calibration configuration process of the digital-to-analog converter is completed.

[0045] Specifically, Figure 3 As shown, the calibration pre-configuration process for each current source of the current steering digital-to-analog converter to be calibrated includes:

[0046] Step S301: Initialize the calibration current source array, the current source array to be calibrated, and the pre-calibration configuration module.

[0047] Specifically, by adjusting CAL[N:1][P:1], all calibration current source units are in a half-scale output state, the switch signal SW[N:1] is reset, and K=1 is reset.

[0048] Step S302: changing environmental conditions, such as temperature T.

[0049] Adjust the environmental conditions such as temperature to the temperature to be measured T.

[0050] Step S303: Select the current source K to be calibrated, and REF Make a comparison.

[0051] Select the current source K to be calibrated and adjust the value of SW[K] to D [K] is selected to the first input terminal of the current comparator 132, and I D [K] and I REF Make a comparison.

[0052] Step S304: Is the output COMP of the current comparator = 1?

[0053] The value of the current comparison signal COMP is determined. If COMP=1, step S5 is executed; otherwise, step S6 is executed.

[0054] Step S305: Decrease the value of CAL[K][P:1] by 1.

[0055] Step S306: Increase the value of CAL[K][P:1] by 1.

[0056] Step S307: Is the output COMP of the current comparator = 0?

[0057] Determine the value of COMP. If COMP=0, execute step S9; otherwise, return to execute step S5.

[0058] Step S308: Is the output COMP of the current comparator = 1?

[0059] Determine the value of COMP. If COMP=1, execute step S9; otherwise, feedback and execute step S6.

[0060] Step S309: K=N?

[0061] It is determined whether K is equal to the number N of current sources to be calibrated. If so, step S10 is executed; otherwise, step S11 is executed.

[0062] Step S310: Are all environments, such as temperature, traversed?

[0063] Determine whether all environmental conditions such as temperature have been traversed. If so, execute step S12; otherwise, return to execute step S2.

[0064] Step S311: K=K+1.

[0065] After the value of K increases by 1, the system feeds back to execute step S3.

[0066] Step S312: The pre-calibration configuration process ends.

[0067] After the pre-calibration configuration process is completed, the calibration current can continuously output the corresponding compensation current I according to the environmental parameters and the corresponding calibration code stored in the storage unit 401. C [K], the final output current I of all current sources to be calibrated D [K] is calibrated to I REF , the current error is controlled within ±I C [K], the mismatch between current sources is reduced and the static performance of the current-steering digital-to-analog converter is improved.

[0068] The embodiment of the present application can ensure the consistency and stability of the initial state of the calibration process through the initialization step, laying the foundation for subsequent precise calibration. Calibrate the current sources to be calibrated one by one under different environmental conditions such as temperature, which can fully adapt to various working conditions and improve the environmental adaptability of calibration. The current comparator is used to compare the current to be calibrated with the reference current in real time, and the calibration codeword is dynamically adjusted according to the comparison result, so as to achieve precise control of the output current of the calibration current source, effectively reduce the current error, and accurately calibrate the final output current of all current sources to be calibrated to I REF Moreover, the error is controlled within a very small range, which greatly improves the static performance of the current-steering digital-to-analog converter and reduces the mismatch between current sources.

[0069] The specific principle of automatically tracking and calibrating the working parameters such as temperature during the use of the output amplitude of the current steering digital-to-analog converter to be calibrated is:

[0070] For a certain environmental condition such as the actual temperature T, the current source of the current steering digital-to-analog converter to be calibrated under the environmental condition is automatically tracked and calibrated, and the current switching control module 203 should control the selector unit 503 to output the current I D [K] is selected to the output end to ensure that the current steering digital-to-analog converter is in normal working condition.

[0071] After the automatic tracking of the working parameters such as temperature begins, the environmental parameter sensing module 30 measures the output parameters of the current environmental parameters and outputs them to the storage unit 401. If the output parameters have the same environment-related parameters in the storage unit 401, the storage unit 401 takes the calibration control signal CAL[N:1][P:1] corresponding to the parameters of the environment; if the output parameters do not have the same environment parameters in the storage unit 401, one or more pre-configured different environmental parameters and the calibration codeword CAL[N:1][P:1] are output to the digital operation unit 402. The digital operation unit 402 obtains the mapping relationship between the environmental parameters and the calibration codewords through one or more fitting or interpolation according to the one or more pre-configured different environmental parameters and the calibration codeword CAL[N:1][P:1] output by the storage unit 401, and then obtains the current calibration codeword CAL[N:1][P:1] according to the current environmental parameters.

[0072] Further, the compensation current I of the calibration current source 101 is controlled according to the calibration control signal CAL[N:1][P:1] obtained above. C [K] size, and then the current summing node 502 and the current to be calibrated I U[K] is summed and then selected to the output end through the selector unit 503, and the current source array to be calibrated is compensated in real time to complete the background temperature tracking under a certain environment, such as the actual temperature T. When the trigger clock edge arrives, the automatic tracking process of the above working parameters such as temperature is repeated.

[0073] Specifically, Figure 4 As shown, the steps of automatically tracking and calibrating the working parameters such as temperature during the use of the output amplitude of the current steering digital-to-analog converter to be calibrated include:

[0074] Step S401: Initialize the calibration current source array, the current source array to be calibrated, the environmental parameter sensing module, and the calibration codeword generating module.

[0075] Specifically, the current switching control module controls the selector unit to output the current I D [K] is selected to the current source output to ensure that the current steering digital-to-analog converter is in normal working condition.

[0076] Step S402: When the trigger clock edge arrives, the environmental parameter sensing module measures the current environmental parameter and searches for the same environmental parameter in the storage unit.

[0077] Step S403: Are there identical environmental parameters?

[0078] If the storage unit contains the same environmental parameters as those output by the environmental parameter sensor module, step S404 is executed; otherwise, step S405 is executed.

[0079] Step S404: extract the calibration codeword.

[0080] The calibration codeword is retrieved from the storage unit.

[0081] Step S405: Get one or more environmental parameters and their corresponding calibration codewords to fit the mapping relationship.

[0082] One or more pre-configured different environmental parameters and calibration codewords CAL[N:1][P:1] are taken out from the storage unit and output to the digital operation unit.

[0083] Step S406: obtaining a calibration codeword according to the mapping relationship.

[0084] The digital operation unit obtains a mapping relationship according to one or several pre-configured different environmental parameters and the calibration codeword CAL[N:1][P:1], and then obtains the calibration codeword of the current environment according to the mapping relationship.

[0085] Step S407: controlling the calibration current source to perform current calibration.

[0086] The calibration current source is controlled to perform current calibration, the array of current sources to be calibrated is compensated in real time, and the process returns to step S402 .

[0087] The automatic tracking technology of the working parameters enables the calibration current source to perform current compensation when the current steering digital-to-analog converter works normally.

[0088] The embodiments of the present application can automatically track and calibrate the current steering digital-to-analog converter when it is in normal working condition without affecting its normal operation. The environmental parameter sensing module can measure the current environmental parameters in real time, and realize the instant perception of changes in working parameters such as temperature. Through the coordinated work of the storage unit and the digital operation unit, when the same environmental parameters exist, the calibration codeword can be directly used, thereby improving the calibration efficiency; when they do not exist, the calibration codeword is determined by fitting or interpolation to obtain a mapping relationship, thereby enhancing the adaptability to different environments. The calibration current source is controlled according to the calibration control signal to perform real-time compensation, which effectively responds to the impact of environmental changes on the output amplitude, such as Figure 5 As shown, the output error is controlled within a smaller range, thereby improving the stability and accuracy of the output amplitude of the current steering digital-to-analog converter.

[0089] According to the calibration circuit for calibrating the output amplitude of the current-steering digital-to-analog converter proposed in the embodiment of the present application, a basis for current compensation can be provided by setting a calibration current source array, and the output amplitude deviation can be effectively corrected. The pre-calibration configuration module can set the target input codeword for different environmental conditions, enhance the flexibility and adaptability of the calibration, and ensure accurate calibration in a variety of environments. The environmental parameter sensing module collects the current environmental parameters in real time, and combined with the calibration codeword generation unit, it can dynamically generate calibration codewords according to the actual environment, realize environmental adaptive calibration, and greatly improve the accuracy and reliability of calibration. This calibration circuit can effectively improve the performance of the current-steering digital-to-analog converter in different environments, reduce the output amplitude error caused by environmental changes, and ensure the accuracy of data conversion.

[0090] Next, a calibration method for calibrating the output amplitude of a current-steering digital-to-analog converter proposed in an embodiment of the present application is described with reference to the accompanying drawings.

[0091] Figure 6 It is a flow chart of a calibration method for calibrating the output amplitude of a current-steering digital-to-analog converter according to an embodiment of the present application.

[0092] like Figure 6 As shown, the calibration method for calibrating the output amplitude of the current steering digital-to-analog converter includes the following steps:

[0093] In step S601, during pre-calibration, target input codewords required by the current source array to be calibrated under different environmental conditions are set.

[0094] In step S602, current environmental parameters of the environment are collected.

[0095] In step S603, when the calibration circuit calibrates the current-steering digital-to-analog converter, calibration codewords under different environmental conditions are generated according to the target input codeword and the current environmental parameters to perform current compensation.

[0096] Optionally, in one embodiment of the application, calibration codewords under different environmental conditions are generated according to the target input code and the current environmental parameters to perform current compensation, including: calculating the calibration codeword under the current environmental parameters by fitting pre-calibrated input codeword information under K different environmental parameters; generating a target calibration current for current compensation according to the calibration codeword, where K is a positive integer.

[0097] It should be noted that the above explanation of the embodiment of the calibration circuit for calibrating the output amplitude of the current-steering digital-to-analog converter is also applicable to the calibration method for calibrating the output amplitude of the current-steering digital-to-analog converter of this embodiment, and will not be repeated here.

[0098] According to the calibration method for calibrating the output amplitude of the current rudder digital-to-analog converter proposed in the embodiment of the present application, the target input codeword under different environmental conditions can be set in the pre-calibration stage, and preparations can be made in advance for different environmental scenarios. The acquisition of current environmental parameters can grasp the actual working conditions in real time, providing a key basis for subsequent precise calibration. During the calibration process, the calibration codeword is generated based on the target input codeword and environmental parameters for current compensation, realizing the organic combination of environmental perception and adaptive calibration, effectively overcoming the influence of environmental changes on the output amplitude of the current rudder digital-to-analog converter, and significantly improving the accuracy and stability of the output. Whether in scenarios where environmental factors such as temperature and humidity change greatly, or under different workload conditions, it can ensure that the converter always maintains high-precision current output.

[0099] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:

[0100] A memory 701 , a processor 702 , and a computer program stored in the memory 701 and executable on the processor 702 .

[0101] When the processor 702 executes the program, the calibration method for calibrating the output amplitude of the current steering digital-to-analog converter provided in the above embodiment is implemented.

[0102] Furthermore, the electronic device further comprises:

[0103] The communication interface 703 is used for communication between the memory 701 and the processor 702 .

[0104] The memory 701 is used to store computer programs that can be executed on the processor 702 .

[0105] The memory 701 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0106] If the memory 701, the processor 702 and the communication interface 703 are implemented independently, the communication interface 703, the memory 701 and the processor 702 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0107] Optionally, in a specific implementation, if the memory 701, the processor 702 and the communication interface 703 are integrated on a chip, the memory 701, the processor 702 and the communication interface 703 can communicate with each other through an internal interface.

[0108] The processor 702 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0109] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned method for calibrating the output amplitude of a calibrated current-steering digital-to-analog converter.

[0110] An embodiment of the present application also provides a computer program, including a computer program, which, when executed, is used to implement the above-mentioned calibration method for calibrating the output amplitude of a current-steering digital-to-analog converter.

[0111] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0112] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0113] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0114] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.

[0115] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of multiple of the following technologies known in the art: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0116] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0117] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0118] The storage medium mentioned above may be a read-only memory, a disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A current steering digital-to-analog converter output amplitude calibration circuit, characterized in that: The current steering digital-to-analog converter has a decoding module, a switch array and a current source array to be calibrated, wherein the calibration circuit includes: calibrating the current source array; A pre-calibration configuration module, used to set the target input codeword required for calibrating the current source array under different environmental conditions during pre-calibration; Environmental parameter sensing module, used to collect current environmental parameters of the environment; A calibration codeword generating unit is used to receive the target input codeword and the current environmental parameters, and when the calibration circuit calibrates the current-steering digital-to-analog converter, generate calibration codewords under different environmental conditions according to the target input codeword and the current environmental parameters to control the calibration current source array to perform current compensation.

2. The calibration circuit according to claim 1, characterized in that: The calibration current source array is composed of N calibration current source units, the current source array to be calibrated is composed of N current source units to be calibrated, and the outputs of the N calibration current source units are connected in parallel with the N current source units to be calibrated in a one-to-one correspondence; the switch array is composed of N pairs of differential switches, and the N pairs of differential switches control the output values ​​of the current sources; The decoding module receives a digital signal, and the output end of the decoding module is connected to the input end of the switch array; the output end of the calibration codeword generation unit is connected to the calibration current source array, and the first input end of the calibration codeword generation unit is connected to the output end of the pre-calibration configuration module, and the second input end of the calibration codeword generation unit is connected to the environmental parameter sensing module, wherein N is a positive integer.

3. The calibration circuit according to claim 1, characterized in that: The calibration codeword generation unit is specifically used to calculate the calibration codeword under the current environmental parameters by fitting the pre-calibration input codeword information under K different environmental parameters, so as to generate a target calibration current for current compensation according to the calibration codeword, where K is a positive integer.

4. A method for calibrating the output amplitude of a current-steering digital-to-analog converter, characterized in that: The following steps are involved: When performing pre-calibration, setting target input codewords required for the current source array to be calibrated under different environmental conditions; Collect the current environmental parameters of the environment; When the calibration circuit calibrates the current-steering digital-to-analog converter, calibration code words under different environmental conditions are generated according to the target input code words and the current environmental parameters to perform current compensation.

5. The calibration method according to claim 4, characterized in that: Generating calibration code words under different environmental conditions according to the target input code words and the current environmental parameters to perform current compensation includes: By fitting the pre-calibrated input codeword information under K different environmental parameters, the calibration codeword under the current environmental parameters is calculated; A target calibration current for current compensation is generated according to the calibration codeword, and K is a positive integer.

6. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for calibrating the output amplitude of a current-steering digital-to-analog converter as described in any one of claims 4 to 5.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the method for calibrating the output amplitude of a current-steering digital-to-analog converter as described in any one of claims 4-5.

8. A computer program product, characterized in that It comprises a computer program, characterized in that the computer program is executed to implement the method for calibrating the output amplitude of the current-steering digital-to-analog converter as described in claims 4-5.

Citation Information

Patent Citations

  • Digital to analog converter

    CN102006079A

  • Current steering type digital-to-analog converter for achieving digitization calibration, chip and communication terminal

    CN108449089A

  • High-speed high-precision current steering digital-to-analog converter self-calibration system and method

    CN110958021A

  • Low-temperature-drift linear Hall amplification circuit and temperature compensation method thereof

    CN114094952A

  • Rail-to-rail current steering DAC structure with self-calibration function

    CN115173861A