Current calibration circuit, control method, chip and electronic equipment

By simulating leakage units in the current calibration circuit to generate compensation current, the problem of offset temperature drift caused by leakage current changes with temperature is solved, achieving efficient calibration effects and reducing calibration costs.

CN118605673APending Publication Date: 2024-09-06CHIPSEA TECH SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410835445.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

When the existing technology deals with the leakage problem of devices, the leakage current changes exponentially as the temperature increases, making it difficult to calibrate the offset and temperature drift, affecting signal accuracy and causing high calibration costs.

Method used

Design a current calibration circuit that simulates the leakage unit in the circuit to be calibrated through the compensation current generation module, generates the corresponding leakage current to compensate for the leakage current in the circuit to be calibrated, and uses the compensation current transmission module to transmit it to the circuit to be calibrated to achieve Linearly dependent compensation.

Benefits of technology

It improves the calibration effect of offset temperature drift, reduces calibration costs, simplifies the mass production process, and avoids linear straight-line fitting in multiple temperature ranges.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118605673A
    Figure CN118605673A
Patent Text Reader

Abstract

The invention provides a current calibration circuit, a control method, a chip and electronic equipment, and belongs to the technical field of electronics. The current calibration circuit comprises a compensation current generation module and a compensation current transmission module, a first end of the compensation current transmission module is connected with the compensation current generation module, a second end of the compensation current transmission module is connected with the to-be-calibrated circuit, the compensation current generation module comprises an analog electric leakage unit, and the analog electric leakage unit is connected with the to-be-calibrated circuit. The to-be-calibrated circuit comprises at least one target electric leakage unit, and the analog electric leakage unit and the target electric leakage unit have the same structure; the compensation current generation module is used for generating a first leakage current based on the simulation leakage unit; and the compensation current transmission module is used for generating a compensation current based on the first leakage current so as to compensate a second leakage current in the to-be-calibrated circuit. According to the invention, the calibration effect of temperature excursion can be offset.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a current calibration circuit, a control method, a chip and an electronic device. Background Art

[0002] In existing processes, devices may have leakage problems. When leakage occurs, it is usually reverse leakage of the PN junction, and the current will change exponentially with the increase of temperature. If this exponentially changing current occurs in the signal transmission path, it will cause the offset temperature drift to increase.

[0003] In a differential channel, if the leakage currents in the two channels are not equal, an input offset voltage will be caused, and due to the exponential change of the leakage current, the offset voltage will also change exponentially with the increase of temperature.

[0004] Although most existing products will calibrate offset temperature drift under normal temperature conditions, the leakage current will change exponentially with the increase in temperature. The current existing linear calibration technology is difficult to cover this change. In the mass production stage, multiple temperature segments are required to fit the linear line, resulting in incomplete calibration, affecting the absolute accuracy measurement of the signal. In addition, the calibration cost is high and difficult to implement. Summary of the invention

[0005] In order to solve the problems of the prior art, the embodiments of the present application provide a current calibration circuit, a control method, a chip and an electronic device, which can improve the calibration effect of offset temperature drift. The technical solution is as follows:

[0006] According to one aspect of the present application, a current calibration circuit is provided, the current calibration circuit comprising a compensation current generating module and a compensation current transmission module, a first end of the compensation current transmission module is connected to the compensation current generating module, and a second end of the compensation current transmission module is connected to the circuit to be calibrated, wherein the compensation current generating module comprises a simulated leakage unit, the circuit to be calibrated comprises at least one target leakage unit, and the simulated leakage unit has the same structure as the target leakage unit;

[0007] The compensation current generating module is used to generate a first leakage current based on the simulated leakage unit;

[0008] The compensation current transmission module is used to generate a compensation current based on the first leakage current to compensate for a second leakage current in the circuit to be calibrated.

[0009] According to another aspect of the present application, a control method for a current calibration circuit is provided, wherein the current calibration circuit comprises a compensation current generating module and a compensation current transmitting module, wherein a first end of the compensation current transmitting module is connected to the compensation current generating module, and a second end of the compensation current transmitting module is connected to the circuit to be calibrated, wherein the compensation current generating module comprises a simulated leakage unit, the circuit to be calibrated comprises at least one target leakage unit, and the simulated leakage unit has the same structure as the target leakage unit;

[0010] The method comprises:

[0011] Generate a first leakage current based on the simulated leakage unit by means of the compensation current generating module;

[0012] The compensation current transmission module generates a compensation current based on the first leakage current to compensate for the second leakage current in the circuit to be calibrated.

[0013] According to another aspect of the present application, a chip is provided, comprising the above-mentioned current calibration circuit.

[0014] According to another aspect of the present application, an electronic device is provided, comprising the above-mentioned current calibration circuit.

[0015] In the present application, in the current calibration circuit, the compensation current generation module can simulate the leakage unit in the circuit to be calibrated, and generate a corresponding first leakage current through the same leakage principle to compensate for the second leakage current generated in the circuit to be calibrated. Since the compensation current generation module has the same leakage principle as the circuit to be calibrated, the second leakage current can be linearly related to the first leakage current, which can improve the calibration effect of the offset temperature drift. In addition, there is no need to fit a linear straight line in multiple temperature ranges, the calibration cost is small, and it is easy to implement. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Further details, features and advantages of the present application are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:

[0017] Figure 1 A schematic diagram of a current calibration circuit provided according to an exemplary embodiment of the present application is shown;

[0018] Figure 2 A schematic diagram of a compensation current transmission module provided according to an exemplary embodiment of the present application is shown;

[0019] Figure 3 A schematic diagram of a switch subunit provided according to an exemplary embodiment of the present application is shown;

[0020] Figure 4A schematic diagram of a compensation current generating module provided according to an exemplary embodiment of the present application is shown;

[0021] Figure 5 A schematic diagram of an analog-to-digital conversion system provided according to an exemplary embodiment of the present application is shown;

[0022] Figure 6 Another schematic diagram of an analog-to-digital conversion system provided according to an exemplary embodiment of the present application is shown;

[0023] Figure 7 A flow chart of a control method of a current calibration circuit provided according to an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION

[0024] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.

[0025] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0026] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0027] The names of the messages or information exchanged between multiple devices in the embodiments of the present application are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0028] An embodiment of the present application provides a current calibration circuit, which can be integrated in a chip or provided in an electronic device.

[0029] Reference Figure 1The current calibration circuit schematic diagram shown in the figure may include a compensation current generating module and a compensation current transmission module, wherein the first end of the compensation current transmission module is connected to the compensation current generating module, and the second end of the compensation current transmission module is connected to the circuit to be calibrated.

[0030] A compensation current generating module, used for generating a first leakage current based on a simulated leakage unit;

[0031] The compensation current transmission module is used to generate a compensation current based on the first leakage current to compensate for a second leakage current in the circuit to be calibrated.

[0032] The circuit to be calibrated may include at least one target leakage unit, and the target leakage unit may include a component including a PN junction, such as a field effect transistor, a triode or a diode including a PN junction, and such components may be used as a switch. The compensation current generation module includes an analog leakage unit, and the analog leakage unit has the same structure as the target leakage unit. When the above components are turned off, it is usually expected that no current will pass through. In some cases, the PN junction is reversely conducted, thereby generating a leakage current, and the leakage current usually flows to the ground.

[0033] In a possible implementation, the compensation current generation module can simulate the leakage unit in the circuit to be calibrated, and generate the first leakage current through the same leakage principle. Therefore, the second leakage current generated in the circuit to be calibrated can be linearly related to the first leakage current, and show the same trend as the temperature changes. For example, the second leakage current can be equal to or approximately equal to the first leakage current, or the second leakage current can be proportional to the first leakage current.

[0034] The first end of the compensation current transmission module is connected to the compensation current generation module, so that the first leakage current generated by the compensation current generation module can flow through the compensation current transmission module. Furthermore, a compensation current linearly related to the first leakage current can be generated in the compensation current transmission module based on the effect of the first leakage current. In other words, the compensation current and the above-mentioned first leakage current show the same trend of change as the temperature changes. For example, the compensation current can be equal to or approximately equal to the first leakage current, or the compensation current can be proportional to the first leakage current. Similarly, the compensation current is also linearly related to the second leakage current, so the compensation current can be used to compensate for the second leakage current in the circuit to be calibrated. For example, the compensation current transmission module may include a current mirror circuit or a current amplifier circuit with a set ratio, and the present embodiment does not limit the specific set ratio.

[0035] The second end of the compensation current transmission module is connected to the circuit to be calibrated to transmit the compensation current to the circuit to be calibrated. Since the compensation current is also linearly related to the second leakage current, in the circuit to be calibrated, the current loss caused by the second leakage current can be compensated based on the compensation current, thereby performing dynamic calibration of the offset temperature drift.

[0036] Since the compensation current generation module has the same leakage principle as the circuit to be calibrated, the second leakage current can be linearly related to the first leakage current, which can improve the calibration effect of the offset temperature drift. In addition, there is no need to fit a linear line in multiple temperature ranges, the calibration cost is low, and it is easy to implement.

[0037] Optional, see Figure 2 The schematic diagram of the compensation current transmission module is shown, and the compensation current transmission module may include a reference branch and at least one mirror branch.

[0038] Wherein, the first leakage current may flow through the reference branch;

[0039] The mirror branch can be used to mirror the first leakage current to generate the above-mentioned compensation current.

[0040] In one possible implementation, the first leakage current generated by the compensation current transmission module can flow through a reference branch. Based on the current mirror principle, the mirror branch can copy the first leakage current according to a set proportional relationship and output it as a compensation current. The mirror branch can be connected to the circuit to be calibrated, so as to transmit the compensation current to the circuit to be calibrated. Among them, in some possible implementations, when the circuit to be calibrated includes multiple target leakage units, the compensation current transmission module may include multiple mirror branches, and the compensation current generated by each mirror branch can be used to compensate for the leakage current of at least one target leakage unit.

[0041] The simulated leakage unit is connected to the reference branch so that the first leakage current flows through the reference branch. In order to further improve the calibration effect, the simulated leakage unit can have the same structure as the target leakage unit.

[0042] As a specific example, Figure 2The schematic diagram of the compensation current transmission module shown in the figure, the reference branch may include field effect transistors M1 and M2, and the mirror branch may include field effect transistors M3 and M4. Among them, the first end of M1 is used to receive the power supply voltage, the second end is connected to the first end of M2, and the control end is connected to the control end of M2 and the second end of M2; the first end of M2 is connected to the second end of M1, and the second end can be connected to the compensation current generation module, and the control end is connected to the second end of M2. The first end of M3 is used to receive the power supply voltage, the second end is connected to the first end of M4, and the control end is connected to the control end of M1; the first end of M4 is connected to the second end of M3, the second end is connected to the circuit to be calibrated, and the control end is connected to the control end of M3. On this basis, M1, M2, M3, and M4 can form a current mirror circuit. Whenever a first leakage current is generated in the compensation current generation module, the first leakage current can flow through the reference branch formed by M1 and M2, so that the mirror branch formed by M3 and M4 can copy the first leakage current according to the set proportional relationship and inject it into the circuit to be calibrated as a compensation current.

[0043] Optionally, the simulated leakage unit may include a first switch subunit including a PN junction, and the target leakage unit may include a second switch subunit including a PN junction. In a possible implementation, the simulated leakage unit and the target leakage unit in the circuit to be calibrated may have the same circuit structure, and may include switch subunits including PN junctions of the same type and specification, for example, may include a P-type field effect transistor, an N-type field effect transistor, a triode or a diode. Therefore, they may have the same leakage principle, and under the same temperature conditions, equal or approximately equal leakage currents may be generated in the simulated leakage unit and the target leakage unit.

[0044] Optionally, the simulated leakage unit may be normally turned off, that is, the first leakage current is normally generated. When the leakage unit in the circuit to be calibrated is turned on, the first leakage current may flow to the ground through the PN junction in the target leakage unit.

[0045] To further improve the accuracy of calibration, the simulated leakage unit can be controlled to generate a first leakage current whenever any target leakage unit reaches a leakage generating condition. Optionally, the leakage generating condition can include the second switch subunit being turned off and the PN junction in the second switch subunit being reverse biased.

[0046] In a possible implementation, the switch control signal of the simulated leakage unit can match the switch control signal of the leakage unit, that is, they are both at the off level or at the on level. On this basis, when the switch control signal of the target leakage unit is at the off level, the second switch subunit in the target leakage unit is turned off, and the PN junction in the second switch subunit is reverse biased (i.e., the leakage generation condition is reached). At this time, when the switch control signal of the simulated leakage unit is also at the off level, the first switch subunit in the simulated leakage unit is turned off, and the PN junction in the first switch subunit is reverse biased, thereby generating the above-mentioned first leakage current, so as to compensate for the second leakage current generated by the target leakage unit through the process described above.

[0047] In another possible implementation, when the circuit to be calibrated includes multiple target leakage units, whenever there is a switch control signal of any target leakage unit at the off level, there is a target leakage unit that is turned off (i.e., the leakage generation condition is reached), at this time, when the switch control signal of the simulated leakage unit is also at the off level, the simulated leakage unit is turned off, and the above-mentioned first leakage current is generated to compensate for the second leakage current generated by the leakage unit through the process described above. Accordingly, the size of the above-mentioned current mirror module or the number of mirror branches can be designed according to actual needs to compensate for the corresponding second leakage current.

[0048] As a specific example, see Figure 3 In the schematic diagram of the switch subunit shown, the first switch subunit and the second switch subunit may include a P-type field effect tube and an N-type field effect tube, the input end of the P-type field effect tube is connected to the output end of the N-type field effect tube, the output end of the P-type field effect tube is connected to the input end of the N-type field effect tube, and the control ends of the P-type field effect tube and the N-type field effect tube are used to receive the switch control signal. The first leakage current or the second leakage current can flow in from the output end of the P-type field effect tube.

[0049] Among them, the input end of the P-type field effect tube can refer to the source, the output end can refer to the drain, and the control end can refer to the gate; the input end of the N-type field effect tube can refer to the drain, the output end can refer to the source, and the control end can refer to the gate. In a specific application scenario, such as an ADC (Analog-to-Digital Converter) circuit, the source of the P-type field effect tube (or N-type field effect tube) is used to receive the bias voltage VCM, the drain of the P-type field effect tube (or N-type field effect tube) is connected to the rest of the circuit (such as the reference branch of the current mirror module), and the gate of the P-type field effect tube (or N-type field effect tube) is used to receive the switch control signal. The conduction level of the switch control signal of the P-type field effect tube can be the zero potential voltage GND, and the conduction level of the switch control signal of the N-type field effect tube can be the power supply voltage VDD.

[0050] Of course, the first switch sub-unit and the second switch sub-unit may also adopt switch circuits of other structures, such as any P-type field effect transistor, N-type field effect transistor or triode, etc., which is not limited in this embodiment.

[0051] In the case of calibrating the offset temperature drift, the first switch subunit in the simulated leakage unit may be controlled to be in an off state so that the branch to which it belongs is correspondingly turned off.

[0052] Usually the first leakage current is small, and the current mirror size needs to be paid attention to during design, and it may affect the normal mirroring operation of the compensation current transmission module. Optionally, in order to facilitate the design of the compensation current transmission module and ensure the normal operation of the compensation current transmission module, the reference current to be mirrored can be appropriately enlarged. Figure 4 The schematic diagram of the compensation current generating module is shown, and the compensation current generating module may further include a zero temperature drift current generating branch, and the zero temperature drift current generating branch is connected in parallel with the simulated leakage unit.

[0053] The zero temperature drift current generating branch can be used to generate a constant zero temperature drift current;

[0054] Correspondingly, the compensation current transmission module can be used to generate a compensation current based on the sum of the first leakage current and the zero temperature drift current.

[0055] Specifically, in the compensation current transmission module, the sum of the first leakage current and the zero temperature drift current flows through the reference branch; the mirror branch is used to mirror the sum of the first leakage current and the zero temperature drift current to generate the compensation current.

[0056] In a possible implementation, the zero temperature drift current generating branch may include a zero temperature drift current source unit, through which a zero temperature drift current with a constant current value is generated. Whenever leakage occurs in the compensation current generating module, the current flowing through the reference branch may be the sum of the first leakage current and the zero temperature drift current. Based on the current mirror principle, the mirror branch may copy the current flowing through the reference branch according to a set proportional relationship, that is, the sum of the first leakage current and the zero temperature drift current, and output it as a compensation current. The mirror branch of the current mirror circuit may be connected to the circuit to be calibrated, so as to inject the compensation current into the circuit to be calibrated.

[0057] The compensation current includes the mirror current of the first leakage current and the zero temperature drift current. The first leakage current is used to compensate for the current loss, and the mirror current of the zero temperature drift current is additionally introduced, that is, an additional offset voltage is introduced. It should be noted that since the zero temperature drift current does not change exponentially with temperature, the offset voltage can remain constant over a wide temperature range, and the offset voltage can be calibrated at room temperature. Compared with the offset voltage that changes exponentially with temperature, the complexity of offset voltage compensation is greatly reduced, which can simplify the mass production calibration process and mass production cost.

[0058] Optionally, in some application scenarios, the circuit to be calibrated may include at least two target leakage units, which are respectively the first leakage unit and the second leakage unit, and the first leakage unit and the second leakage unit are connected in parallel and connected to the target end. On this basis, the second end of the compensation current transmission module can be connected to the target end to inject the compensation current from the target end into the circuit to be calibrated, and at this time, the compensation current can be used to compensate for the leakage current of the first leakage unit and the second leakage unit.

[0059] Optionally, the circuit to be calibrated may include an analog-to-digital conversion circuit, wherein, in a sampling phase, the first leakage unit is turned on and the second leakage unit is turned off; in a conversion phase, the first leakage unit is turned off and the second leakage unit is turned on;

[0060] When turned off, one end of the first leakage unit and the second leakage unit is used to receive a bias voltage.

[0061] Correspondingly, in the compensation current generating module, one end of the simulated leakage unit can be used to receive the above-mentioned bias voltage, and the other end is connected to the compensation current transmission module to generate the first leakage current through the same circuit structure and bias voltage, thereby further improving the accuracy of calibration. As a specific example, refer to Figure 5 The schematic diagram of the analog-to-digital conversion circuit shown in the figure can be a single-ended analog-to-digital conversion circuit. The current calibration circuit provided in this embodiment can be arranged at the input end of the operational amplifier module of the analog-to-digital conversion circuit (i.e., the circuit to be calibrated) to calibrate the offset voltage of the input end of the operational amplifier module. The figure does not show the remaining circuit modules of the analog-to-digital conversion system (such as the digital-to-analog conversion DAC module on the sampling timing).

[0062] Among them, the first leakage unit can be set between the input end and the DAC module; the second leakage unit can be set between the input end and the bias voltage (VCM) access end. In the sampling stage, the first leakage unit is turned on and the second leakage unit is turned off, and one end of the second leakage unit is used to receive the bias voltage VCM; in the conversion stage, the first leakage unit is turned off and the second leakage unit is turned on, and one end of the first leakage unit is used to receive the bias voltage VCM. That is, the first leakage unit and the second leakage unit are alternately turned on, and the second leakage current is generated in the first leakage unit or the second leakage unit that is currently turned off.

[0063] In this application scenario, the analog leakage unit in the current calibration circuit can be normally turned off, one end is used to receive the bias voltage VCM, and the other end is connected to the compensation current transmission module. Through the current calibration circuit provided in this embodiment, a corresponding first leakage current can be generated in the current calibration circuit and injected into the connection between the first leakage unit and the second leakage unit to compensate for the second leakage current generated by the first leakage unit or the second leakage unit.

[0064] As another specific example, refer to Figure 6 The schematic diagram of the analog-to-digital conversion circuit shown in the figure can be a differential analog-to-digital conversion circuit. The current calibration circuit provided in this embodiment can be arranged at the differential input terminal of the operational amplifier module of the analog-to-digital conversion circuit (i.e., the circuit to be calibrated) to calibrate the offset voltage of the differential input terminal of the operational amplifier module. The remaining circuit modules of the analog-to-digital conversion system (such as the digital-to-analog conversion DAC module on the sampling timing) are not shown in the figure.

[0065] Figure 6 At any input end of the op amp module, the connection relationship between the current calibration circuit and the analog-to-digital conversion circuit is the same as Figure 5 The same, the working principle is the same, and no further description is given here.

[0066] The embodiments of the present application can achieve the following beneficial effects:

[0067] (1) In the current calibration circuit, the compensation current generation module can simulate the leakage unit in the circuit to be calibrated, and generate a corresponding first leakage current to compensate for the second leakage current generated in the circuit to be calibrated through the same leakage principle. Since the compensation current generation module has the same leakage principle as the circuit to be calibrated, the second leakage current can be linearly related to the first leakage current, which can improve the calibration effect of the offset temperature drift. In addition, there is no need to fit a linear straight line in multiple temperature ranges, the calibration cost is low, and it is easy to implement.

[0068] (2) By generating a zero temperature drift current branch, the reference current to be mirrored is appropriately amplified, which facilitates the design of the compensation current transmission module and ensures the normal operation of the compensation current transmission module.

[0069] The present application also provides a method for controlling a current calibration circuit, which can be used to control the current calibration circuit. The current calibration circuit includes a compensation current generation module and a compensation current transmission module. The first end of the compensation current transmission module is connected to the compensation current generation module, and the second end of the compensation current transmission module is connected to the circuit to be calibrated. The compensation current generation module includes a simulated leakage unit, and the circuit to be calibrated includes at least one target leakage unit. The simulated leakage unit has the same structure as the target leakage unit. Figure 7 The control method flow chart of the current calibration circuit shown in FIG. 1 can be as follows:

[0070] Step 701, generating a first leakage current based on the simulated leakage unit by means of the compensation current generating module;

[0071] Step 702: Generate a compensation current based on the first leakage current by the compensation current transmission module to compensate for a second leakage current in the circuit to be calibrated.

[0072] Optionally, the compensation current transmission module includes a reference branch and at least one mirror branch, wherein the compensation current generation module is connected to the reference branch;

[0073] The method further comprises:

[0074] The first leakage current flows through the reference branch;

[0075] The first leakage current is mirrored through the mirror branch to generate the compensation current. Optionally, the first leakage current is generated based on the simulated leakage unit, including:

[0076] The first leakage current is generated by the simulated leakage unit whenever any of the target leakage units reaches a leakage generating condition.

[0077] Optionally, the simulated leakage unit includes a first switch subunit including a PN junction, the target leakage unit includes a second switch subunit including a PN junction, and the leakage generating condition includes the second switch subunit being turned off and the PN junction in the second switch subunit being reverse biased.

[0078] Optionally, the compensation current generating module further includes a zero temperature drift current generating branch, and the zero temperature drift current generating branch is connected in parallel with the simulated leakage unit;

[0079] The method further comprises:

[0080] Generate a constant zero temperature drift current through the zero temperature drift current generating branch;

[0081] The generating the compensation current based on the first leakage current by the compensation current transmission module includes:

[0082] The compensation current is generated by the compensation current transmission module based on the sum of the first leakage current and the zero temperature drift current.

[0083] Optionally, the compensation current transmission module includes a reference branch and at least one mirror branch;

[0084] The sum of the first leakage current and the zero temperature drift current flows through the reference branch;

[0085] The generating the compensation current based on the sum of the first leakage current and the zero temperature drift current by the compensation current transmission module includes:

[0086] The compensation current is generated by mirroring the sum of the first leakage current and the zero temperature drift current through the mirror branch.

[0087] Optionally, the circuit to be calibrated includes at least two target leakage units, which serve as a first leakage unit and a second leakage unit respectively, and the first leakage unit and the second leakage unit are connected in parallel and connected to the target end;

[0088] The second end of the compensation current transmission module is connected to the target end.

[0089] Optionally, the circuit to be calibrated includes an analog-to-digital conversion circuit, wherein, in a sampling phase, the first leakage unit is turned on and the second leakage unit is turned off; in a conversion phase, the first leakage unit is turned off and the second leakage unit is turned on;

[0090] When turned off, one end of the first leakage unit and the second leakage unit is used to receive a bias voltage;

[0091] In the compensation current generating module, one end of the simulated leakage unit is used to receive the bias voltage, and the other end is connected to the compensation current transmitting module.

[0092] The embodiments of the present application can achieve the following beneficial effects:

[0093] (1) In the current calibration circuit, the compensation current generation module can simulate the leakage unit in the circuit to be calibrated, and generate a corresponding first leakage current to compensate for the second leakage current generated in the circuit to be calibrated through the same leakage principle. Since the compensation current generation module has the same leakage principle as the circuit to be calibrated, the second leakage current can be linearly related to the first leakage current, which can improve the calibration effect of the offset temperature drift. In addition, there is no need to fit a linear straight line in multiple temperature ranges, the calibration cost is low, and it is easy to implement.

[0094] (2) By generating a zero temperature drift current branch, the reference current to be mirrored is appropriately amplified, which facilitates the design of the compensation current transmission module and ensures the normal operation of the compensation current transmission module.

[0095] The exemplary embodiment of the present application also provides a chip, including the current calibration circuit provided by the embodiment of the present application. In the current calibration circuit, the compensation current generation module can simulate the leakage unit in the circuit to be calibrated, and generate a corresponding first leakage current through the same leakage principle to compensate for the second leakage current generated in the circuit to be calibrated. Since the compensation current generation module has the same leakage principle as the circuit to be calibrated, the second leakage current can be linearly related to the first leakage current, which can improve the calibration effect of the offset temperature drift. In addition, there is no need to fit a linear straight line in multiple temperature ranges, the calibration cost is small, and it is easy to implement. The calibration effect of the offset temperature drift is improved, thereby improving the chip performance.

[0096] The exemplary embodiment of the present application also provides an electronic device, including the current calibration circuit provided by the embodiment of the present application. In the current calibration circuit, the compensation current generation module can simulate the leakage unit in the circuit to be calibrated, and generate a corresponding first leakage current through the same leakage principle to compensate for the second leakage current generated in the circuit to be calibrated. Since the compensation current generation module has the same leakage principle as the circuit to be calibrated, the second leakage current can be linearly related to the first leakage current, which can improve the calibration effect of the offset temperature drift. In addition, there is no need to fit a linear straight line in multiple temperature ranges, the calibration cost is small, and it is easy to implement. The calibration effect of the offset temperature drift is improved, thereby improving the performance of the electronic device.

[0097] The above is a detailed introduction to the current calibration circuit, control method, chip and electronic device provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A current calibration circuit, characterized in that: The current calibration circuit comprises a compensation current generating module and a compensation current transmitting module, wherein a first end of the compensation current transmitting module is connected to the compensation current generating module, and a second end of the compensation current transmitting module is connected to the circuit to be calibrated, wherein the compensation current generating module comprises a simulated leakage unit, the circuit to be calibrated comprises at least one target leakage unit, and the simulated leakage unit has the same structure as the target leakage unit; The compensation current generating module is used to generate a first leakage current based on the simulated leakage unit; The compensation current transmission module is used to generate a compensation current based on the first leakage current to compensate for a second leakage current in the circuit to be calibrated.

2. The current calibration circuit according to claim 1, characterized in that: The compensation current transmission module comprises a reference branch and at least one mirror branch, wherein the compensation current generation module is connected to the reference branch; The first leakage current flows through the reference branch; The mirror branch is used to mirror the first leakage current to generate the compensation current.

3. The current calibration circuit according to claim 1, characterized in that: The simulated leakage unit is controlled to generate the first leakage current whenever any of the target leakage units reaches a leakage generation condition.

4. The current calibration circuit according to claim 3, characterized in that: The simulated leakage unit includes a first switch subunit including a PN junction, the target leakage unit includes a second switch subunit including a PN junction, and the leakage generating condition includes the second switch subunit being turned off and the PN junction in the second switch subunit being reverse biased.

5. The current calibration circuit according to claim 1, characterized in that: The compensation current generating module further includes a zero temperature drift current generating branch, and the zero temperature drift current generating branch is connected in parallel with the simulated leakage unit; The zero temperature drift current generating branch is used to generate a constant zero temperature drift current; The compensation current transmission module is used to generate a compensation current based on the sum of the first leakage current and the zero temperature drift current.

6. The current calibration circuit according to claim 5, characterized in that: The compensation current transmission module includes a reference branch and at least one mirror branch; The sum of the first leakage current and the zero temperature drift current flows through the reference branch; The mirror branch is used to mirror the sum of the first leakage current and the zero temperature drift current to generate the compensation current.

7. The current calibration circuit according to claim 1, characterized in that: The circuit to be calibrated includes at least two target leakage units, which are respectively a first leakage unit and a second leakage unit, wherein the first leakage unit and the second leakage unit are connected in parallel and connected to a target end; The second end of the compensation current transmission module is connected to the target end.

8. The current calibration circuit according to claim 7, characterized in that: The circuit to be calibrated includes an analog-to-digital conversion circuit, wherein, in a sampling phase, the first leakage unit is turned on and the second leakage unit is turned off; in a conversion phase, the first leakage unit is turned off and the second leakage unit is turned on; When turned off, one end of the first leakage unit and the second leakage unit is used to receive a bias voltage; In the compensation current generating module, one end of the simulated leakage unit is used to receive the bias voltage, and the other end is connected to the compensation current transmitting module.

9. A control method for a current calibration circuit, characterized in that: The current calibration circuit comprises a compensation current generating module and a compensation current transmitting module, wherein a first end of the compensation current transmitting module is connected to the compensation current generating module, and a second end of the compensation current transmitting module is connected to the circuit to be calibrated, wherein the compensation current generating module comprises a simulated leakage unit, the circuit to be calibrated comprises at least one target leakage unit, and the simulated leakage unit has the same structure as the target leakage unit; The method comprises: Generate a first leakage current based on the simulated leakage unit by means of the compensation current generating module; The compensation current transmission module generates a compensation current based on the first leakage current to compensate for the second leakage current in the circuit to be calibrated.

10. A chip, characterized in that: Comprising a current calibration circuit as claimed in at least one of claims 1-8.

11. An electronic device, characterized in that: Comprising a current calibration circuit as claimed in at least one of claims 1-8.