Current source, method of controlling current source, computing device, medium and program product
By integrating a temperature sensor, calibration relay, and independent sampling operational amplifier into a pA-level current source, accurate acquisition and temperature compensation of zero-drift voltage are achieved, solving the problem of independence between zero-drift calibration and temperature compensation, reducing hardware costs, and improving accuracy and stability.
Patent Information
- Application Number
- CN202611616576.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-19
- Publication Date
- 2026-11-17
AI Technical Summary
In existing technologies, zero-drift calibration and temperature compensation of pA-level current sources are independent of each other and cannot work together, resulting in low hardware reuse rate and high cost. Furthermore, zero-drift calibration requires an additional dedicated resistor, leading to low acquisition accuracy.
Multiple temperature sensors are used to collect the real-time temperature of the current source component. Combined with the zero-drift calibration unit and temperature compensation unit, the zero-drift voltage is accurately collected through calibration relays and independent sampling operational amplifiers. The feedback resistor of the current range is used as the zero-drift acquisition resistor for synchronous calibration and compensation.
Within a wide temperature range and the entire time range, the current output error of the pA segment is stably controlled within a very small range, reducing hardware costs, ensuring the consistency between zero-drift acquisition accuracy and output accuracy, and achieving non-destructive calibration without current interruption and without output fluctuation.
Smart Images

Figure CN123114199A_ABST
Abstract
Description
Technical Field
[0001] This invention relates generally to the field of power supplies, and more specifically to a current source, a method for controlling a current source, a computing device, a computer-readable storage medium, and a computer program product. Background Technology
[0002] Picoampere (pA) level current sources are widely used in semiconductor detection, photoelectric detection, biomedicine, materials characterization and other fields. With technological iteration, more stringent requirements are placed on the accuracy and stability of current sources: they need to achieve a wide range of 1pA to 5mA across 9 orders of magnitude, while maintaining high-precision output in the full temperature range (-10℃ to 60℃) and the full time range (24 hours of continuous operation).
[0003] However, the output accuracy of a pA-level current source is affected by two core factors: first, zero drift error, which comes from the op-amp input bias current, printed circuit board (PCB) leakage current, and component aging. The input bias current of a conventional op-amp is in the pA to nA range, and for pA-level output, the bias current itself will cause an error of more than 10%; second, temperature drift error, which comes from the drift of parameters of core components (op-amp, reference chip, feedback resistor, etc.) caused by changes in ambient temperature. For every 1°C change in temperature, the current error in the pA range is about ±0.4pA, and the error can reach ±5.2pA in the uncompensated range of -10°C to 60°C.
[0004] A search revealed that existing technologies involving temperature compensation include: Chinese patent CN121541718B, which discloses a method for nonlinear fitting and multi-segment temperature compensation of ultra-large current sources, dividing the total range into two independent ranges of varying sizes and performing multi-segment linear calibration separately; and Chinese patent CN200710049632.7, which discloses a CMOS bandgap reference voltage source with piecewise linear compensation, dividing the temperature range into high, medium, and low segments for separate compensation. However, these solutions are all designed for voltage references or large current sources, and do not address temperature compensation for pA-level weak current sources, nor are they integrated with zero-drift calibration.
[0005] In existing technologies, zero-drift calibration and temperature compensation are usually independent solutions, each requiring independent hardware and algorithms, which have the following drawbacks: First, zero-drift calibration is only performed once before shipment, and cannot respond in real time to zero-drift changes caused by temperature drift and device aging, and requires additional dedicated zero-drift resistors; Second, temperature compensation usually adopts a passive approach based on device selection, with limited compensation effect, and does not provide segmented compensation for the differences in error characteristics across the pA, nA, μA, and mA ranges; Third, the two cannot work together, the hardware cannot be reused, and it cannot be integrated with the existing architecture of wide-range pA-level current sources, resulting in complex circuits and high costs. Summary of the Invention
[0006] To address the shortcomings of the aforementioned prior art, this invention provides a current source, a method for controlling the current source, a computing device, a computer-readable storage medium, and a computer program product. These solutions address the technical problems in the prior art where zero-drift calibration and temperature compensation are independent and cannot be coordinated, resulting in low hardware reuse rates. Furthermore, zero-drift calibration requires an additional dedicated resistor and has low acquisition accuracy. This invention achieves synchronous calibration and compensation of zero-drift error and temperature drift error.
[0007] According to a first aspect of the present invention, a current source is provided. The current source includes: a plurality of temperature sensors configured to acquire real-time temperatures of a plurality of components included in the current source; a zero-drift calibration unit including a calibration relay and an independent sampling operational amplifier, the calibration relay being configured to ground the current output terminal of the current source in response to detecting a calibration command, the independent sampling operational amplifier being configured to acquire the zero-drift voltage when the current output terminal is grounded; a temperature compensation unit configured to calculate a temperature compensation current value based on the temperature values acquired by the plurality of temperature sensors, by invoking a temperature-current error model; a control unit configured to calculate a compensated output current value based on a target current, a zero-drift current, and the temperature compensation current value, the zero-drift current being calculated based on the zero-drift voltage and a zero-drift acquisition resistor; and an execution unit configured to drive the current source to output a constant current based on the compensated output current value.
[0008] In some embodiments, the zero-drift calibration unit is configured to reuse the current range feedback resistor among multiple range feedback resistors in the main circuit of the current source as the zero-drift acquisition resistor.
[0009] In some embodiments, one end of the calibration relay is connected to the current output terminal of the current source, the other end of the calibration relay is grounded, and the second end of the current range feedback resistor among the multiple range feedback resistors is connected to the current output terminal.
[0010] In some embodiments, the independent sampling operational amplifier includes: a non-inverting input configured to be connected to the output of a first-stage operational amplifier in the main circuit of a current source, the output of the first-stage operational amplifier being connected via a selection switch to the first terminal of the current range feedback resistor among a plurality of range feedback resistors; an inverting input configured to be shorted to the output of the independent sampling operational amplifier to form a voltage follower; and an output configured to be connected to an analog-to-digital converter of a control unit.
[0011] In some embodiments, the calibration relay is a reed relay, and the leakage current of the calibration relay is less than 0.1 pA.
[0012] In some embodiments, the independent recovery operational amplifier is an electrometer operational amplifier.
[0013] In some embodiments, the control unit is further configured to calculate the zero-drift current based on the zero-drift voltage and the resistance value of the current range feedback resistor.
[0014] In some embodiments, multiple temperature sensors are configured to detect the real-time temperature of the following components included in the current source: operational amplifier, precision reference chip, and multiple range feedback resistors.
[0015] In some embodiments, the multiple range segments of the current source are four range segments corresponding to pA, nA, μA, and mA.
[0016] According to a second aspect of the present invention, a method for controlling a current source according to a first aspect of the present invention is provided. The method includes: at a control unit, in response to detecting a calibration command, setting the output of an execution unit to zero volts and controlling a calibration relay of a zero-drift calibration unit to engage to ground the output of the current source, thereby acquiring a zero-drift voltage when the output is grounded via an independent sampling operational amplifier; calculating a zero-drift current based on the zero-drift voltage and a zero-drift acquisition resistor; calculating a temperature-compensated current value based on temperature values acquired via multiple temperature sensors, using a temperature-current error model; calculating a compensated output current value based on a target current, the zero-drift current, and the temperature-compensated current value; and driving the current source to output a constant current based on the compensated output current value.
[0017] In some embodiments, the method further includes: generating a calibration instruction in response to determining that any of the following conditions are met: detecting a range switch of the current source; determining that the time interval since the last calibration has reached a preset threshold; and detecting a manual operation related to calibration.
[0018] In some embodiments, the method further includes: collecting current error data at multiple temperature points within a preset operating temperature range; and constructing temperature-current error models for multiple measurement ranges based on the current error data at the multiple temperature points.
[0019] According to a third aspect of the present invention, a computing device is provided. The computing device includes: at least one processor; and a memory communicatively connected to the at least one processor, the memory storing instructions executable by the at least one processor, which, when executed by the at least one processor, cause the at least one processor to perform the method of the second aspect of the present invention.
[0020] According to a fourth aspect of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that, when executed by a processor, performs the method of the second aspect of the present invention.
[0021] According to a fifth aspect of the present invention, a computer program product is provided. The computer program product includes a computer program that, when executed by a processor, performs the method of the second aspect of the present invention.
[0022] This invention can simultaneously suppress static zero drift error and dynamic temperature drift error. Within a wide temperature range (-10℃ to 60℃) and the entire time range (24-hour continuous operation), it stably controls the current output error of the pA segment within a very small range. By reusing the feedback resistor of the current range as the zero drift acquisition resistor, the dedicated high-precision resistor is eliminated. This not only effectively reduces hardware costs but also ensures the consistency between zero drift acquisition accuracy and output accuracy, thereby breaking the traditional technical prejudice that "calibration requires a dedicated resistor".
[0023] Furthermore, this invention sets up an independent sampling operational amplifier to collect zero-drift voltage in parallel using a voltage-following method, forming a pure parallel acquisition structure that does not interfere with the main current path, ensuring that the calibration process does not interfere with the normal current output. By reusing the existing control and execution units of the wide-range current source for zero-drift calibration and temperature compensation, only a small amount of hardware such as temperature sensors and calibration relays need to be added, effectively controlling the increase in hardware costs. In addition, the zero-drift calibration and temperature drift compensation process of this invention is extremely short, and the total time for collaborative work is controlled within a very short time, achieving non-destructive calibration without current interruption or output fluctuation. The zero-drift calibration of this invention also supports three triggering modes: automatic triggering for range switching, timed triggering, and manual triggering, comprehensively covering various accuracy assurance scenarios.
[0024] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0025] The above and other features, advantages, and aspects of the various embodiments of the present invention will become more apparent from the accompanying drawings and the following detailed description. Several embodiments of this disclosure are illustrated in the drawings by way of example and not limitation.
[0026] Figure 1 A schematic block diagram of a current source according to an embodiment of the present invention is shown.
[0027] Figure 2 A schematic simplified circuit diagram of a current source according to an embodiment of the present invention is shown.
[0028] Figure 3 A flowchart is shown for a method of controlling a current source according to an embodiment of the present invention.
[0029] In the accompanying drawings, the same or similar reference numerals denote the same or similar elements. Detailed Implementation
[0030] Preferred embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While preferred embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that the invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
[0031] The term "comprising" and its variations as used herein signify open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "at least partially based on". The terms "one example embodiment" and "one embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc., may refer to different or the same objects.
[0032] As described above, the shortcomings of existing current sources include: zero-drift calibration is only performed once before shipment, which cannot respond to changes in zero drift caused by temperature drift and device aging in real time, and requires the addition of a dedicated zero-drift resistor; temperature compensation usually adopts a passive approach based on device selection, which has limited compensation effect and does not compensate for the differences in error characteristics of each range (pA, nA, μA, mA); zero-drift calibration and temperature compensation cannot work together, the hardware cannot be reused, and it cannot be integrated with the existing architecture of wide-range pA-level current sources, resulting in complex circuits and high costs.
[0033] To at least partially address one or more of the aforementioned problems and other potential issues, an exemplary embodiment of the present invention provides a current source. The current source includes: a plurality of temperature sensors configured to acquire real-time temperatures of a plurality of components included in the current source; a zero-drift calibration unit including a calibration relay and an independent sampling operational amplifier, the calibration relay being configured to ground the current output terminal of the current source in response to detecting a calibration command, the independent sampling operational amplifier being configured to acquire the zero-drift voltage when the current output terminal is grounded; a temperature compensation unit configured to calculate a temperature compensation current value based on the real-time temperature values acquired by the plurality of temperature sensors, by invoking a temperature-current error model; a control unit configured to calculate a compensated output current value based on a target current, a zero-drift current, and the temperature compensation current value, the zero-drift current being calculated based on the zero-drift voltage and the zero-drift acquisition resistor; and an execution unit configured to drive the current source to output a constant current based on the compensated output current value. Therefore, this invention utilizes the feedback resistor of the current measurement range as a zero-drift acquisition resistor, eliminating the need for an additional dedicated resistor, reducing costs, ensuring consistent acquisition accuracy, breaking the technical prejudice that "calibration requires a dedicated resistor," and enabling simultaneous calibration and compensation of zero-drift error and temperature drift error.
[0034] The following is combined Figure 1 and Figure 2 A current source 100 according to an embodiment of the present invention is described.
[0035] Figure 1 A schematic block diagram of a current source 100 according to an embodiment of the present invention is shown. Figure 2 It shows Figure 1 The diagram shows a simplified circuit diagram of the current source 100. The current source 100 can be widely used in fields with stringent requirements for the accuracy of weak currents, such as semiconductor detection, photoelectric detection, biomedicine, and materials characterization.
[0036] like Figure 1 As shown, the current source 100 includes a zero-drift calibration unit 110, multiple temperature sensors 120, a temperature compensation unit 130, a control unit 140, and an execution unit 150.
[0037] The zero-drift calibration unit 110 includes at least a calibration relay 111 and an independent sampling operational amplifier 112. This unit is designed to accurately acquire the zero-drift voltage of the current source 100 at its current range without interfering with the normal operation of the main current output circuit, providing an accurate data basis for subsequent zero-drift calibration. In some embodiments, the zero-drift calibration unit 110 is configured to reuse the current range feedback resistor from among multiple range feedback resistors in the main circuit of the current source 110 as the zero-drift acquisition resistor.
[0038] Specifically, the calibration relay 111 is configured to short-circuit the current output terminal of the current source 100 to ground (GND) in response to the detection of a calibration command. Considering that the pA-level current source is very sensitive to leakage current, the calibration relay 111 is preferably a reed relay with a leakage current of less than 0.1 pA. The reed relay has extremely low disconnect leakage current (typically down to the femtoampere level) and very small parasitic capacitance, ensuring that in the non-calibration state, the relay does not introduce additional shunt error into the main current output circuit when it is disconnected, thereby guaranteeing the accuracy of the weak current output.
[0039] The independent sampling operational amplifier 112 is configured to have zero drift voltage when the sampling current output terminal is grounded. In the field of weak current measurement, the input bias current and input impedance of the operational amplifier directly determine the accuracy of signal acquisition. Therefore, the independent sampling operational amplifier 112 is preferably a high-precision electrometer operational amplifier with an input bias current ≤20fA and an input impedance ≥10Ω. 14 Ω. This ultra-low bias current and ultra-high impedance characteristic ensures that the operational amplifier will not draw a considerable current from the main circuit when acquiring weak zero-drift voltages, thus avoiding measurement errors introduced by the acquisition process itself.
[0040] In some embodiments, such as Figure 2As shown, one end of the calibration relay 111 is connected to the current output terminal of the current source 100, and the other end is grounded (GND). The second end of the current range feedback resistor among the multiple range range feedback resistors is connected to the current output terminal. The non-inverting input terminal of the independent sampling operational amplifier 112 is connected to the output terminal of the first stage operational amplifier (i.e., operational amplifier 1) of the main circuit of the current source 100 (this output terminal is also the upper voltage point of the feedback resistor (R_set)), and its inverting input terminal is shorted to its own output terminal, thus forming a voltage follower with extremely high input impedance and extremely low output impedance. The output terminal of the independent sampling operational amplifier 112 is connected to the analog-to-digital converter (ADC) inside the control unit 140. It should be noted that the independent sampling operational amplifier 112 forms a pure parallel structure with the main circuit, rather than being connected in series in the main circuit. This parallel topology design makes the zero-drift acquisition circuit completely independent in circuit structure, does not affect the normal current output of the main circuit, and ensures the continuity of the current source operation.
[0041] When the current source 100 detects a calibration command, the control unit 140 (e.g., a microcontroller) first sets the output of the execution unit 150 (e.g., a digital-to-analog converter (DAC)) to 0V, and then controls the calibration relay 111 to engage. At this time, the current output of the current source 100 is short-circuited to GND, making the output current to the external load approximately zero. In this state, due to the closed-loop negative feedback regulation of the operational amplifier, the zero-drift current (I_offset) generated by factors such as the operational amplifier input bias current, PCB leakage current, and device aging mainly flows through the feedback resistor (R_set) corresponding to the current range segment, forming a corresponding zero-drift voltage on the upper end of the feedback resistor for acquisition by the retrieval circuit. According to Ohm's law, this zero-drift current generates a corresponding zero-drift voltage (V_offset = I_offset × R_set) on the feedback resistor R_set. The independent retrieval operational amplifier 112 acquires this zero-drift voltage in real time through its non-inverting input and transmits it to the ADC inside the control unit 140. The control unit 140 samples this zero-drift voltage and calculates the zero-drift compensation amount. Since the zero-drift calibration unit 110 reuses the current range feedback resistor from multiple range feedback resistors in the main circuit of the current source 110 as the zero-drift acquisition resistor, a dedicated acquisition resistor is eliminated, while ensuring a high degree of consistency between the zero-drift acquisition accuracy and the actual output accuracy. Furthermore, setting the output of the execution unit to zero prevents the operational amplifier in the main circuit from entering output saturation due to a hard short circuit, ensuring that the voltage at the operational amplifier output is generated solely by the system's zero-drift factor, and guaranteeing that the zero-drift voltage obtained from the parallel sampling is accurate and effective.
[0042] Multiple temperature sensors 120 ( Figure 2(Not shown) is configured to acquire the real-time temperature of multiple components included in the current source 100. In some embodiments, multiple temperature sensors 120 are configured to detect the real-time temperature of the following multiple core components included in the current source 100: operational amplifiers, precision reference chips, and multiple range feedback resistors. The multiple temperature sensors 120 are distributed close to the core devices to acquire the real-time operating temperature of each core device and calculate its average value.
[0043] In scenarios involving low-current output (e.g., pA level), the parameters of core components are extremely sensitive to temperature changes; even minor temperature fluctuations can significantly impact output accuracy. For operational amplifiers (such as low-noise op-amps like the OPA928), key parameters like input bias current drift significantly with temperature, potentially causing current deviations of several pA with changes in ambient temperature. This introduces substantial errors for pA-range outputs. For precision reference chips, their output reference voltage serves as the benchmark for the entire current source's output accuracy; temperature drift of the reference voltage is proportionally amplified, leading to deviations in the output current across different ranges. For feedback resistors across multiple ranges, since precision resistors with different resistance values have their own temperature coefficients, using a single temperature point for global estimation will result in severe compensation distortion. Therefore, independent temperature measurement of these core components is essential to ensuring accuracy across a wide range and the entire temperature spectrum.
[0044] In some embodiments, six temperature sensors 120 are distributed close to the core device. Specifically, two temperature sensors 120 are arranged near the operational amplifier to more comprehensively capture the real-time operating temperature of the operational amplifier package surface; one temperature sensor 120 is arranged near the precision reference chip; and one temperature sensor 120 is arranged near each of the multiple range feedback resistors (including pA, nA, μA, and mA feedback resistors).
[0045] In terms of physical layout, multiple temperature sensors 120 are distributed and closely attached to the core components (i.e., operational amplifiers, precision reference chips, and feedback resistors for multiple measurement ranges). This close-fitting distributed arrangement ensures good thermal coupling between the temperature sensors and the core components, minimizing delays and heat losses along the heat conduction path. This allows for a true and real-time reflection of the actual operating temperature of the core components, rather than simply the ambient air temperature. Through this multi-point distributed spatial layout, the temperature and drift trends of each core component under actual operating conditions can be accurately captured.
[0046] In some embodiments, multiple temperature sensors 120 synchronously collect the real-time operating temperature of each core component at a preset period (e.g., 1 second). After receiving the temperature data collected by each sensor, the control unit 140 executes the averaging logic. This multi-point averaging method effectively avoids the interference of temperature changes caused by local transient heating or thermal pulses in a single core component on the overall compensation system, significantly improving the robustness and global representativeness of the system temperature assessment. When the calculated change in average temperature exceeds a preset threshold (e.g., 0.5℃), temperature compensation calculation is triggered. This temperature compensation calculation is specifically executed by the temperature compensation unit 130. After receiving the trigger command, the temperature compensation unit 130 combines the current real-time average temperature data and the current output range, and calls the temperature-current error model to quantify the error and generate the compensation amount. The specific compensation calculation process will be described in detail below.
[0047] In some embodiments, the temperature sensor 120 may be a digital temperature sensor, for example, to directly output a digital temperature signal, which is convenient for the control unit 140 to process directly, reducing interference and attenuation during analog signal transmission. The temperature sensor 120 may be, for example, an ADT7310, with a measurement accuracy of 0.5°C.
[0048] The temperature compensation unit 130 is configured to calculate the temperature compensation current value ΔI based on the real-time temperature values collected by multiple temperature sensors 120 and a preset temperature-current error model. During the operation of a wide-range pA-level current source, changes in ambient temperature can cause a non-negligible temperature drift error in the output current. The temperature compensation unit 130 uses a software algorithm to accurately quantify and cancel the aforementioned temperature drift error.
[0049] Specifically, the temperature compensation unit 130 first determines whether the change in the real-time average temperature collected and calculated by multiple temperature sensors 120 exceeds a preset threshold. This preset threshold can be set to, for example, 0.5℃. The purpose of setting this temperature change threshold is to filter out high-frequency, minute temperature fluctuations, preventing the system from frequently triggering compensation calculations due to transient, minute disturbances in ambient temperature. This effectively reduces the computational overhead of the control unit and prevents unnecessary ripple in the output current due to frequent adjustments in the compensation amount. When the change in the real-time average temperature does not exceed the preset threshold, the temperature compensation unit 130 maintains the previously calculated temperature compensation current value ΔI unchanged; when it determines that the change in the real-time average temperature exceeds the preset threshold, the temperature compensation unit 130 triggers a new round of temperature compensation calculations.
[0050] After triggering the temperature compensation calculation, the temperature compensation unit 130 first obtains the current range of the output current. Since the current source 100 covers four ranges: pA, nA, μA, and mA, the temperature drift characteristics of core components (such as operational amplifiers, precision reference chips, and feedback resistors) and their contribution weight to the output current error differ significantly across these ranges. For example, in the pA range, the temperature drift of the operational amplifier input bias current dominates; while in the μA and mA ranges, the self-heating effect of the feedback resistor and the error caused by its temperature coefficient are more significant. Therefore, the current source system needs to dynamically call upon the temperature-current error model that matches the current range.
[0051] In some embodiments, the temperature-current error model is, for example, a piecewise linear interpolation temperature-current error model. Specifically, for each range segment, multiple discrete temperature calibration points are selected within the full temperature range (e.g., -10°C to 60°C) of the current source system design. The actual output current error corresponding to each range segment at each calibration point is measured using a high-precision calibration instrument, thereby obtaining multiple sets of "temperature-current error" coordinate data. Subsequently, the interval between two adjacent temperature calibration points is considered as a linear segment, and a two-point linear equation is used to construct the temperature-current error mapping relationship within this temperature interval. Thus, the full temperature range is divided into multiple continuous linear intervals, forming a piecewise linear interpolation temperature-current error model corresponding to that range segment. Using piecewise linear interpolation can more accurately approximate the nonlinear error curve formed by the superposition of temperature drifts from different components in a weak current source.
[0052] During the temperature compensation calculation, after receiving the current real-time average temperature value, the temperature compensation unit 130 first determines which linear interval in the piecewise linear interpolation temperature-current error model the temperature value falls into. After determining the interval, it extracts the known temperature values and corresponding current error values of the calibration points at both ends of the interval, substitutes them into the linear interpolation formula, and calculates the temperature compensation amount ΔI corresponding to the current real-time average temperature in real time. After calculating the temperature compensation amount ΔI, the temperature compensation unit 130 transmits the value to the control unit 140 for fusion calculation. This piecewise linear interpolation calculation method not only achieves high-precision fitting and compensation for complex nonlinear temperature drift errors across the entire temperature range, but also has low algorithm complexity and extremely short computation time, ensuring the real-time performance of temperature compensation and providing a reliable algorithm guarantee for the high-precision and stable output of the current source 100 across the entire temperature range.
[0053] The control unit 140 is configured to receive the zero-drift current value I_offset and the temperature-compensated current value ΔI, and perform a fusion compensation calculation based on the target current value I_target, the zero-drift current value I_offset and the temperature-compensated current value ΔI to obtain the compensated output current value I_out.
[0054] In the actual operation of a wide-range pA-level current source, its output accuracy is affected by both static zero-drift error and dynamic temperature drift error. The control unit 140, as the control and calculation center of the current source 100, is preferably implemented using a microcontroller (MCU) and shares the same device with the basic main control circuit of the current source, thereby realizing hardware architecture reuse and significantly reducing the circuit complexity and material cost of the system.
[0055] Specifically, the zero-drift current value I_offset received by the control unit 140 originates from the acquisition and calculation results of the aforementioned zero-drift calibration unit 110. This zero-drift current value I_offset characterizes the static systematic error caused by the superposition of non-ideal factors such as the operational amplifier input bias current, PCB-level leakage current, and aging of other core components. Since even a small zero-point drift introduced by the operational amplifier bias current can lead to a large error in the output current under weak current (especially at the pA level) output scenarios, it must be eliminated from the target current. Simultaneously, the temperature compensation current value ΔI received by the control unit 140 originates from the calculation results of the aforementioned temperature compensation unit 130 based on multiple distributed temperature sensors 120 and a temperature-current error model. This temperature compensation current value ΔI characterizes the dynamic temperature drift error caused by changes in ambient temperature. Since the temperature drift of core components varies significantly across different measurement ranges, this temperature compensation current value ΔI corresponds to the dynamic error value of the current output current's measurement range.
[0056] After acquiring the two types of error values mentioned above, the control unit 140 performs a fusion compensation calculation. The logic of this fusion compensation calculation is based on the superposition principle, meaning the actual output current equals the target current plus the positive zero-drift error and temperature drift error. Therefore, to eliminate these errors, the control unit 140 calculates according to the following formula: I_out = I_target - I_offset - ΔI. Where I_target is the desired target current value, and I_out is the output current value calculated after double error elimination.
[0057] Furthermore, after calculating the compensated output current value I_out, the control unit 140 needs to convert it into a control physical quantity that can be recognized by the execution unit 150. The control unit 140 internally stores the feedback resistor value R_set corresponding to the current measurement range. Based on Ohm's law, the control unit 140, using the formula I_out = V_set / R_set, converts the compensated output current value I_out into the corresponding digital-to-analog converter (DAC) setting voltage value V_set. Subsequently, the control unit 140 maps this setting voltage value V_set to the corresponding DAC digital output code value according to the DAC's reference voltage and bit width resolution.
[0058] In some embodiments, the control unit 140 sends the calculated DAC digital output code value to the execution unit 150 via a high-speed digital communication interface such as the Serial Peripheral Interface (SPI) or the Internal Integrated Circuit Bus (I2C). Since the zero-drift calibration process and the temperature compensation process are executed collaboratively within the control unit 140, and the entire fusion compensation calculation and code value update process takes a very short time (e.g., less than 100 milliseconds), this process does not interrupt the main current output circuit, achieving seamless real-time dynamic compensation.
[0059] Furthermore, the control unit 140 is configured to coordinate the timing logic of the entire system. It supports multiple operating modes, including automatic triggering (e.g., automatic triggering after each range switch), timed triggering (e.g., triggering every 30 minutes), and manual triggering (e.g., the host computer sending commands via a Universal Asynchronous Receiver / Transmitter (UART)). Upon receiving a trigger command, the control unit 140 synchronously schedules the zero-drift calibration unit to perform short-circuit sampling and the temperature compensation unit to perform multi-point temperature measurement and model calculation. Subsequently, it performs fusion compensation calculation and updates the DAC output code value. Through this closed-loop cyclic update mechanism, the control unit 140 ensures that the current source 100 consistently maintains the pA-segment current output error at an extremely low level (e.g., within ±0.8 pA) across the entire temperature range (-10℃ to 60℃) and the entire time range (24-hour continuous operation), achieving a synergistic effect of "1+1>2" between zero-drift calibration and temperature compensation.
[0060] The execution unit 150 is configured to receive control commands sent by the control unit 140 and drive the current source 100 to output a high-precision constant current based on the compensated output current value I_out.
[0061] In some embodiments, the execution unit 150 is, for example, a DAC programmable module. Preferably, the DAC programmable module is implemented using a high-resolution, low-noise precision digital-to-analog converter chip (such as a 16-bit or higher bit-width DAC). The DAC chip establishes a data connection with the control unit 140 through a high-speed digital communication interface (such as SPI or I2C bus). After completing the fusion compensation calculation and obtaining the corresponding DAC digital output code value, the control unit 140 sends the code value to the execution unit 150 via the communication interface. The DAC circuit inside the execution unit 150 maps the received digital code value to an analog set voltage value V_set based on its internal high-precision reference voltage source. Since the resolution of the DAC determines the fine-tuning step capability of the output current, using a high bit-width DAC can ensure that the current source system still has a sufficiently fine current adjustment granularity in the pA-level weak current output segment, avoiding step changes in the output current due to quantization errors.
[0062] Specifically, the analog set voltage V_set output by the execution unit 150 is sent into the main circuit of the current source 100 (e.g., ...). Figure 2 The main circuit shown is 1000. This main circuit preferably employs a voltage-controlled constant current source (VCCS) topology composed of a high-impedance operational amplifier and a precision feedback resistor network. Figure 2 As shown, the main circuit 1000 includes a first operational amplifier U1, a second operational amplifier U2, a third operational amplifier U3, and component range feedback resistors 1020. An analog set voltage V_set is applied to the input of the first operational amplifier U1. Under closed-loop feedback, the current flowing through the corresponding range feedback resistor R_set is linearly related to the set voltage, satisfying the formula I_out = V_set / R_set. Since the component range feedback resistor 1020 is composed of multiple precision resistors with different resistance values to cover a wide range from pA to mA, the V_set output by the execution unit 150 needs to be adaptively adjusted according to the feedback resistor R_set of the current range segment. During range switching, the control unit 140 synchronously updates the code value sent to the execution unit 150, enabling V_set to accurately match the new R_set, thereby maintaining a constant and accurate current output capability across the entire range.
[0063] Furthermore, during the update process of dynamic temperature compensation or periodic zero-drift calibration, the execution unit 150 exhibits extremely high transient response characteristics. When the control unit 140 calculates and sends the new compensation code value, the output voltage settling time of the DAC programmable module is extremely short (typically in the microsecond range). This extremely fast voltage settling capability, combined with the smoothing filtering algorithm of the control unit 140, ensures that the constant pA-level current output to the load will not produce a perceptible brief interruption at the moment the compensation parameters are updated. Thus, the execution unit 150 not only achieves accurate reproduction of the compensated current value, but also ensures the closed-loop execution capability of the current source 100 to perform real-time, imperceptible dynamic error compensation under changes in ambient temperature, ultimately achieving simultaneous suppression of both static zero drift and dynamic temperature drift errors.
[0064] The following combination Figure 3 A method for controlling a current source according to an embodiment of the present invention is described. The current source may, for example, be the current source 100 described above.
[0065] Figure 3 A flowchart of a method 300 for controlling a current source according to an embodiment of the present invention is shown. Method 300 may also include additional steps not shown and / or the steps shown may be omitted; the scope of the invention is not limited in this respect.
[0066] At step 310, in the control unit of the current source (e.g., it could be a reference) Figure 1At the control unit 140 described, in response to the detection of a calibration command, the calibration relay of the zero-drift calibration unit is controlled to operate to ground the output terminal of the current source, thereby acquiring the zero-drift voltage when the output terminal is grounded via an independent sampling operational amplifier.
[0067] Specifically, after receiving a calibration command, the control unit (e.g., a microcontroller (MCU)) outputs a corresponding control signal (e.g., a specific level drive signal or a digital control command) to the zero-drift calibration unit via its internal control pin. This control signal is used to control the calibration relay of the zero-drift calibration unit to engage, grounding the current output terminal, thereby acquiring the zero-drift voltage when the output terminal is grounded via an independent sampling operational amplifier.
[0068] In some embodiments, the calibration command is generated in response to determining that any of the following conditions are met: first, a range switch of the current source is detected, for example, automatically triggered after each range switch; second, the time interval since the last calibration is determined to have reached a preset threshold, for example, triggered at regular intervals every 30 minutes; third, a manual operation related to calibration is detected, for example, a host computer sends a command via a Universal Asynchronous Receiver / Transmitter (UART).
[0069] In response to the control signal, the switching contacts of the calibration relay actuate and close, shorting the output of the current source to ground (GND). Under this ground short-circuit condition, due to the non-ideal characteristics of the internal components (such as the input offset voltage of the operational amplifier, input bias current, and parasitic leakage current on the circuit board), the output is not absolutely zero potential; a small residual voltage, known as zero-drift voltage, will still exist. If this zero-drift voltage is not eliminated, it will translate into a system deviation superimposed on the final output current, thereby reducing the overall accuracy of the current source.
[0070] To accurately acquire this zero-drift voltage, an independent sampling operational amplifier (op-amp) forms a high-input-impedance sampling circuit. Its input is electrically connected to the output of the current source, while its output is coupled to the ADC inside the control unit. The "independent" characteristic means that this sampling op-amp is structurally isolated from the op-amp in the main circuit of the current source, effectively avoiding coupling interference from high-frequency noise or feedback operations in the main circuit. Simultaneously, the high input impedance of the independent sampling op-amp ensures that the sampling circuit itself draws almost no current from the measured node when acquiring the zero-drift voltage, achieving disturbance-free, high-precision real-time acquisition of the zero-drift voltage at the output.
[0071] At step 320, the zero-drift current is calculated based on the zero-drift voltage and the zero-drift acquisition resistor.
[0072] Specifically, the zero-drift voltage (V_offset) acquired by the independent sampling operational amplifier is transmitted to the control unit. The control unit internally stores the resistance values of the zero-drift acquisition resistors (i.e., the feedback resistors of the current range) corresponding to each range segment. Because the current source of this invention has a multi-range output function, and the feedback resistor values used in different range segments are different, the control unit first identifies the current operating range segment and retrieves the resistance value (R_set) of the feedback resistor corresponding to that range segment.
[0073] Subsequently, according to Ohm's law, the control unit divides the acquired and digitized zero-drift voltage V_offset by the resistance value R_set of the feedback resistor in the current range segment, and calculates the zero-drift current I_offset inside the current source according to the formula I_offset = V_offset / R_set. This zero-drift current objectively and quantitatively reflects the error current component generated by the inherent non-ideal characteristics of the hardware circuit (such as the aforementioned op-amp offset voltage, bias current, and line parasitic parameters) when the current source is grounded at the output terminal (i.e., zero load or reference state). Through the above calculation process, the weak voltage drift at the output terminal is converted into a current parameter that can be used for current closed-loop compensation, thus providing a data basis for the subsequent generation of the compensated output current.
[0074] In step 330, based on the temperature values collected by multiple temperature sensors, the temperature current error model is invoked to calculate the temperature compensation current value.
[0075] Specifically, multiple temperature sensors are distributed within the current source near the core components (e.g., operational amplifiers, reference chips, feedback resistors, etc.). In some embodiments, the temperature sensors are positioned close to the core components, acquiring the temperature values of each core component at a preset sampling period (e.g., 1 second). To filter out local thermal fluctuations and single-point measurement noise, the system averages the acquired temperature data to obtain an average temperature value, which is then fed back to the control unit as the basis for subsequent temperature error compensation calculations.
[0076] After receiving the average temperature, the control unit determines whether the temperature change relative to the previous calibration reference temperature exceeds a preset threshold (e.g., 0.5℃). If it does not exceed the preset threshold, it indicates that the temperature drift is still within a controllable range, and the previously calculated temperature compensation current value remains unchanged to ensure output stability; if it exceeds the preset threshold, the temperature compensation amount is recalculated.
[0077] When the temperature compensation is recalculated, the control unit retrieves the temperature-current error model corresponding to the range of the current output current. In some embodiments, this temperature-current error model is constructed through the following steps: collecting current error data at multiple temperature points within a preset operating temperature range; and constructing corresponding temperature-current error models for different ranges based on the current error data at the multiple temperature points. This temperature-current error model can, for example, be a piecewise linear interpolation model.
[0078] The control unit takes the current average temperature or temperature change value and the current measurement range information as input variables and inputs them into the temperature-current error model to calculate the required temperature compensation current value ΔI under the current temperature distribution. Thus, this temperature compensation current value accurately quantifies the current error component introduced by temperature drift, providing a data basis for subsequently generating the compensated output current value.
[0079] At step 340, the compensated output current value is calculated based on the target current, zero drift current, and temperature compensation current value.
[0080] Specifically, the control unit obtains the desired target current I_target via a communication interface (e.g., SPI or I2C) or a local human-machine interface module. Subsequently, the control unit retrieves the zero-drift current I_offset calculated in step 320 and the temperature compensation current value ΔI calculated in step 330, and calculates the compensated output current value I_out according to the following formula.
[0081] I_out = I_target - I_offset - ΔI After completing the above compensation calculation, the control unit converts the compensated output current value I_out into the corresponding digital control code according to I_out = V_set / R_set, and outputs it to the execution unit.
[0082] At step 350, based on the compensated output current value, the current source is driven to output a constant current.
[0083] Specifically, after receiving the digital control code sent by the control unit (such as a microcontroller), the execution unit (such as a DAC programmable module) converts the digital control code into the corresponding analog reference voltage V_set. Subsequently, the analog reference voltage signal V_set is input to the first stage operational amplifier of the current source main circuit. The operational amplifier, combined with the feedback resistor R_set of the current range, outputs a precise constant current I_out after double error compensation via the feedback constant current module.
[0084] After the compensated current stabilizes, the system control disconnects the calibration relay that was engaged in the previous steps, switching the current source output from the zero-drift calibration circuit to the normal operating load. The total time for the entire calibration calculation, parameter update, and state recovery process is less than 100 milliseconds, which not only ensures high accuracy and stability of the wide-range current output but also avoids current interruption during the calibration process, achieving non-destructive calibration and stable operation of the current source system.
[0085] To verify the technical effectiveness of the current source with dual accuracy guarantees of zero drift calibration and temperature compensation provided by the present invention, comparative tests were conducted on the output error of the current source of the present invention under various working conditions.
[0086] As shown in Table 1, the test covered the pA segment (10pA output) and the nA segment (100nA output), and set different test conditions such as constant temperature (25℃), full temperature range (temperature change from -10℃ to 60℃), and full time range (24 hours of continuous operation).
[0087] Table 1
[0088] Test data shows that, under 10pA output and constant temperature of 25℃, the error without zero drift calibration and / or temperature compensation is ±3.2pA, the error with only zero drift calibration is ±1.0pA, the error with only temperature compensation is ±2.8pA, and the error after adopting the dual protection scheme of zero drift calibration and temperature compensation of the present invention is ±0.8pA.
[0089] Under the conditions of 10pA output and temperature variation from -10℃ to 60℃, the error without zero drift calibration and / or temperature compensation is ±5.2pA, the error with only zero drift calibration is ±4.8pA, the error with only temperature compensation is ±1.2pA, and the error after adopting the dual protection scheme of zero drift calibration and temperature compensation of the present invention is ±0.9pA.
[0090] Under 10pA output and 24-hour continuous operation, the error without zero-drift calibration and / or temperature compensation is ±4.5pA, the error with only zero-drift calibration is ±1.2pA, the error with only temperature compensation is ±4.0pA, while the error after adopting the dual protection scheme of zero-drift calibration and temperature compensation of the present invention is ±0.9pA.
[0091] Under the conditions of 100nA output and temperature variation from -10℃ to 60℃, the error without zero drift calibration and / or temperature compensation is ±0.8%, the error with only zero drift calibration is ±0.7%, the error with only temperature compensation is ±0.18%, and the error after adopting the dual protection scheme of zero drift calibration and temperature compensation of the present invention is ±0.12%.
[0092] The data above shows that single zero-drift calibration or temperature compensation schemes are limited by their single-dimensional correction capabilities and cannot fully overcome accuracy degradation under complex operating conditions. The dual-protection scheme of this invention deeply integrates zero-drift calibration and temperature compensation. Under continuous operation across the entire temperature and time domains, the pA segment error is stably controlled within ±0.9pA, and the nA segment error is controlled within ±0.12%. Comparison of various test data shows that the error after dual protection is significantly lower than the sum of the absolute values of the errors when a single scheme is used alone, resulting in a synergistic effect of "1+1>2". This effectively solves the technical problems of existing technologies where zero-drift calibration and temperature compensation are independent, cannot be coordinated, have low hardware reuse rates, and require additional dedicated resistors for zero-drift calibration, resulting in low acquisition accuracy. It achieves synchronous calibration and compensation of zero-drift and temperature drift errors.
[0093] The various processes and procedures described above, such as method 300, can be executed at a computing device. This computing device may include, for example, at least one processor (at least one graphics processor and at least one central processing unit); and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, cause the at least one processor to perform one or more steps of method 300 described above. In some embodiments, method 300 can be implemented as a computer software program or program product tangibly contained in a machine-readable storage medium. In some embodiments, part or all of the computer program can be loaded and / or installed on the computing device via read-only memory (ROM) and / or a communication unit. When the computer program is loaded into random-access memory (RAM) and executed by the GPU and CPU, one or more steps of method 300 described above can be performed.
[0094] According to the present invention, by reusing the feedback resistor of the current range as the zero-drift acquisition resistor, the dedicated high-precision resistor is eliminated, which not only effectively reduces hardware costs, but also ensures the consistency between zero-drift acquisition accuracy and output accuracy, thereby breaking the traditional technical prejudice that "calibration requires a dedicated resistor".
[0095] According to the present invention, by setting an independent sampling operational amplifier to collect zero-drift voltage in parallel in a voltage-following manner, a pure parallel acquisition structure is formed, which does not enter the main current path, thereby not interfering with the normal current output during the calibration process.
[0096] According to the present invention, static zero drift error and dynamic temperature drift error can be suppressed simultaneously, and the current output error in the pA segment can be stably controlled within ±1.4pA in a wide temperature range (-10℃ to 60℃) and a full time range (24 hours of continuous operation).
[0097] According to the present invention, after the synergistic effect of zero drift calibration and temperature drift compensation, the error of the pA segment is stabilized within ±0.8pA, and the compensation effect is better than the sum of the individual effects of the two, resulting in a synergistic effect of "1+1>2".
[0098] According to the present invention, zero-drift calibration and temperature compensation reuse the control unit (such as a microcontroller) and execution unit (such as a DAC) of a wide-range current source, requiring only a small amount of additional hardware such as a temperature sensor and a calibration relay, resulting in a limited increase in hardware costs.
[0099] According to the present invention, the zero-drift calibration and temperature drift compensation process takes a very short time, and the total time for collaborative work is extremely short, realizing non-destructive calibration without current interruption and without output fluctuation.
[0100] According to the present invention, the zero-drift calibration trigger supports three triggering modes: automatic triggering during range switching, timed triggering, and manual triggering, comprehensively covering various accuracy assurance scenarios.
[0101] This invention can be a method, apparatus, system, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for performing various aspects of the invention. The computer-readable storage medium may be a tangible device capable of holding and storing instructions used by an instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof.
[0102] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing / processing devices, or downloaded via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network, to an external computer or external storage device. Various aspects of the invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0103] These computer-readable program instructions can be provided to the central processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the central processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of a flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of a flowchart and / or block diagram.
[0104] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0105] It should be understood that the various forms of processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this invention can be achieved, and this is not limited herein.
[0106] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors.
Claims
1. A current source, characterized in that, include: Multiple temperature sensors are configured to collect the real-time temperature of multiple components included in the current source; The zero-drift calibration unit includes a calibration relay and an independent sampling operational amplifier. The calibration relay is configured to ground the current output terminal of the current source in response to the detection of a calibration command. The independent sampling operational amplifier is configured to sample the zero-drift voltage when the current output terminal is grounded. The temperature compensation unit is configured to calculate the temperature compensation current value based on the temperature values collected by the multiple temperature sensors and by calling the temperature current error model. The control unit is configured to calculate the compensated output current value based on the target current, the zero drift current, and the temperature compensation current value, wherein the zero drift current is calculated based on the zero drift voltage and the zero drift acquisition resistor. as well as The execution unit is configured to drive the current source to output a constant current based on the compensated output current value.
2. The current source according to claim 1, characterized in that, The zero-drift calibration unit is configured to reuse the current range feedback resistor among the multiple range feedback resistors in the main circuit of the current source as the zero-drift acquisition resistor.
3. The current source according to claim 2, characterized in that, One end of the calibration relay is connected to the current output terminal of the current source, and the other end of the calibration relay is grounded. The second end of the current range feedback resistor among the plurality of range feedback resistors is connected to the current output terminal.
4. The current source according to claim 3, characterized in that, The independent recovery and placement includes: The non-inverting input terminal is configured to be connected to the output terminal of the first-stage operational amplifier in the main circuit of the current source. The output terminal of the first-stage operational amplifier is connected to the first terminal of the current range feedback resistor among the plurality of range feedback resistors via a selection switch. The inverting input terminal is configured to be shorted to the output terminal of the independent sampling operational amplifier to form a voltage follower; and The output is configured to connect to the analog-to-digital converter of the control unit.
5. The current source according to claim 1, characterized in that, The calibration relay is a reed relay, and the leakage current of the calibration relay is less than 0.1pA.
6. The current source according to claim 1, characterized in that, The independent recovery operational amplifier is an electrometer operational amplifier.
7. The current source according to claim 2, characterized in that, The control unit is also configured to calculate the zero-drift current based on the zero-drift voltage and the resistance value of the feedback resistor for the current range segment.
8. The current source according to claim 2, characterized in that, The plurality of temperature sensors are configured to detect the real-time temperature of the following components included in the current source: Operational amplifiers, precision reference chips, and feedback resistors for multiple measurement ranges.
9. The current source according to claim 8, characterized in that, The current source has multiple measurement ranges, corresponding to four ranges: pA, nA, μA, and mA.
10. A method for controlling a current source according to any one of claims 1 to 9, characterized in that, include: At the control unit, in response to the detection of a calibration command, the output of the execution unit is set to zero volts, and the calibration relay of the zero-drift calibration unit is controlled to engage to ground the output of the current source, thereby acquiring the zero-drift voltage when the output is grounded via an independent sampling operational amplifier; Calculate the zero-drift current based on the zero-drift voltage and the zero-drift acquisition resistor; Based on the temperature values collected by multiple temperature sensors, the temperature current error model is invoked to calculate the temperature compensation current value. The compensated output current value is calculated based on the target current, the zero drift current, and the temperature compensation current value. as well as Based on the compensated output current value, the driving current source outputs a constant current.
11. The method according to claim 10, characterized in that, Also includes: A calibration command is generated in response to determining that any of the following conditions are met: A range switch of the current source was detected. Determine if the time interval since the last calibration reaches a preset threshold; and A manual calibration operation was detected.
12. The method according to claim 10, characterized in that, Also includes: Collect current error data at multiple temperature points within a preset operating temperature range; as well as Based on the current error data at the multiple temperature points, a temperature-current error model is constructed according to multiple measurement ranges.
13. A computing device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor, the memory storing instructions executable by the at least one processor, the instructions, when executed by the at least one processor, causing the at least one processor to perform the method according to any one of claims 10 to 12.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it performs the method according to any one of claims 10 to 12.
15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it performs the method according to any one of claims 10 to 12.
Citation Information
Patent Citations
Piecewise linearly compensated CMOS bandgap voltage reference
CN101101492A
Nonlinear fitting and multi-segment temperature compensation methods, devices and dielectrics for ultra-large current sources
CN121541718B
