Current detection device with zero drift temperature compensation and non-linear temperature compensation functions and current detection method
By introducing zero-point drift temperature compensation and nonlinear temperature compensation algorithms into the current detection device, the problems of temperature drift and zero-point temperature drift are solved, high-precision current detection is achieved, the current detection error requirements of automotive backup batteries in standby mode are met, and costs are reduced.
Patent Information
- Application Number
- CN202511889006.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-15
- Publication Date
- 2026-04-07
AI Technical Summary
Existing current sensing technologies suffer from temperature drift and zero-point temperature drift issues in automotive backup batteries or starting lithium batteries, resulting in insufficient current sensing accuracy and failing to meet the current sensing error requirements of automotive backup batteries in standby mode.
A current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions is adopted. Through components such as shunt, current detection amplifier, reference source and microcontroller, combined with second-order nonlinear temperature compensation algorithm, the measured current I is calculated. Considering factors such as the zero-point temperature drift of the current detection amplifier and the temperature drift of the reference source, the current detection error is directly calculated.
It significantly reduces the error in current detection of automotive backup batteries, ensuring stable and accurate performance across the entire operating temperature range. It meets the requirements for current detection error of automotive backup batteries in standby mode, and avoids the storage resource consumption and cost increase caused by the lookup table method.
Smart Images

Figure CN121805650A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive backup battery current detection technology, and particularly to a current detection device and method with zero-point drift temperature compensation and nonlinear temperature compensation functions, which is especially suitable for current detection of backup batteries or starting lithium batteries in new energy vehicles. Background Technology
[0002] In fields such as industrial control and power electronics, high-precision current sensing is a core requirement for achieving safe system operation and efficient regulation. Traditional current sensing technologies mainly rely on shunts, but these still have significant limitations.
[0003] Because of the inherent impedance of the shunt, power loss occurs. When using the shunt method to detect current, the heat generated by the shunt increases with the increase of the detected current. This leads to temperature drift and zero-point temperature drift in the temperature-sensitive element of the detection circuit, severely limiting the accuracy of current detection. According to current detection requirements for automotive backup batteries or starting lithium batteries, the relative error of current detection should be less than 1% under normal vehicle operating conditions. For example, when detecting a 300A current, the current detection error should be less than 3A. Furthermore, automotive industry standards generally require that the standby current of the entire vehicle be less than 50mA; exceeding 100mA indicates a significant leakage problem, and exceeding 1A indicates a short circuit fault. Therefore, in standby mode, the absolute error of the backup battery current detection should be less than 50mA.
[0004] To reduce the impact of temperature drift and zero-point temperature drift on current detection accuracy and improve current detection precision, existing current detection technologies typically employ a linear compensation formula combined with temperature compensation. The following example illustrates this: For example, some current sensing methods calculate the sensing current using the first-order linear formula I = K * U + B, where K is the first current calibration coefficient, B is the second current calibration coefficient, and U is the voltage across the shunt. While this method of obtaining the first and second current calibration coefficients can yield more accurate current sensing proportionality coefficients (i.e., the first current calibration coefficient K) and zero-point error calibration coefficients (i.e., the second current calibration coefficient B) at specific temperatures, it does not explicitly state that the current calibration coefficients K and B can only be calibrated at specific temperatures, thus ignoring zero-point temperature drift and nonlinear temperature drift issues. In fact, K and B change with ambient temperature. The change in K with temperature is caused by the temperature drift of the current sensing device, which is actually a nonlinear temperature drift, a result of multiple factors, such as the temperature drift of the current amplifier and the shunt. Similarly, the change in B with temperature is caused by the zero-point temperature drift of the current sensing device, also a result of multiple factors, such as the zero-point temperature drift of the current amplifier and the temperature drift of the reference source. However, the current calibration coefficients K and B in this method are calibrated at a specific temperature, not across the entire temperature range. Therefore, this method cannot solve the problems of zero-point temperature drift and nonlinear temperature drift. Furthermore, the beneficial effect of this method is that the current detection error can be reduced to below 10%. According to the current detection requirements of current-grade automotive backup batteries or starting lithium batteries, the relative error typically needs to be less than ±1%. For example, when detecting a 300A current, the current detection error should be less than 3A, while the detection error of this method is 30A. Therefore, this current detection scheme can no longer meet the current detection accuracy requirements of current-grade automotive backup batteries or starting lithium batteries.
[0005] For example, in another high-precision current detection system, a first-order linear formula is used. The current calculation method is completely consistent with the current detection method described above, both simplifying the current detection device into a first-order linear system. Compared to the aforementioned current detection method, this high-precision current detection system has made some improvements, including adjusting the current calibration coefficient. and Calibration was performed within three current calibration intervals: [0, 30A], [0, 150A], and [0, 350A], resulting in three sets of calibration coefficients. , ],in and These are constants stored in a lookup table in the EEPROM. However, the temperature compensation method used in this high-precision current sensing system is a lookup table method. To achieve higher-precision temperature calibration, all calibration coefficients must be exhausted across the entire temperature and current range. , EEPROM resources are limited, and larger EEPROMs mean higher costs. Furthermore, actual testing revealed differences in calibration coefficients between different components using the same testing device. , The deviation is large, therefore the proposed high-precision current detection system requires calibration of all products to obtain calibration coefficients that satisfy all products. , Furthermore, the current detection accuracy of this high-precision current detection system is 0.5%, meaning the detection error within the current range [0, 30A] is 150mA, which is greater than the 50mA operating current requirement of a car backup battery in standby mode. Obviously, it cannot meet the current detection accuracy requirements of a car backup battery.
[0006] As mentioned above, the existing technology uses a first-order linear formula as the calculation method for current detection, and its detection accuracy cannot meet the requirement that the current detection error should be less than 1% under normal operating conditions of a car backup battery. Furthermore, the lookup table method used in the existing technology for temperature compensation of current detection also fails to meet the requirement that the current detection error of a car backup battery in standby mode should be less than 50mA. Therefore, improvements to the current detection technology are needed.
[0007] The statements herein provide only background information in relation to this invention and do not necessarily constitute prior art. Summary of the Invention
[0008] Based on the aforementioned technical problems, this invention aims to solve the temperature drift and zero-point temperature drift problems in current detection using the shunt method. This invention provides a current detection device and method with zero-point drift temperature compensation and nonlinear temperature compensation functions. This device fully considers factors such as the zero-point temperature drift of the current detection amplifier and the temperature drift of each reference source. It can solve the problem in the prior art that it cannot meet the requirement of current detection error of less than 50mA in the standby state of automotive backup batteries. At the same time, it can also solve the problem in the existing battery current detection technology that the temperature compensation method must rely on the lookup table method to obtain the current calibration coefficient.
[0009] To achieve the above objectives, the present invention is implemented through the following technical solution: A current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions, comprising: A shunt, connected in series between the load and the power supply, is used to generate the current being measured. I A proportional initial voltage signal; A current-sensing amplifier, whose positive and negative input terminals are respectively connected to the two ends of the shunt via low-pass filters, is used to amplify the initial voltage signal generated by the shunt into an output voltage. U 0 ; A first reference source is connected to the reference voltage input terminal of the current sense amplifier, and the first reference source is used to provide a first reference voltage for the current sense amplifier. U A ; Temperature detection circuit, used to acquire ambient temperature T The analog voltage; A microcontroller is connected to the current sensing amplifier and the temperature sensing circuit, respectively. A second reference source is connected to the reference voltage input terminal of the microcontroller, and the second reference source is used to provide a second reference voltage to the microcontroller. U B ; The microcontroller is used to control the output voltage of the current sensing amplifier. U 0 Convert to digital sample value D ADC And calculate the ambient temperature based on the analog voltage. T At the same time, based on digital sample values D ADC and ambient temperature T Calculate the measured current according to formula (1) I : (1) in, N For the microcontroller to output voltage U 0 Convert to digital sample value D ADC The number of digits in the time period, a 1 , b 1 and c 1 The first reference voltage provided to the first reference source U A relative to ambient temperature T The second-order nonlinear temperature compensation coefficient, a 2 , b 2 and c 2 The second reference voltage provided to the second reference source U B relative to ambient temperatureT The second-order nonlinear temperature compensation coefficient, b 3 and c 3 The zero-point temperature drift of the current sense amplifier is respectively U Z relative to ambient temperature T The first-order linear temperature compensation coefficient, a 4 , b 4 and c 4 The output voltages of the current sensing amplifiers are respectively U 0 For the measured current of the shunt I Gain G R relative to ambient temperature T The second-order nonlinear temperature compensation coefficient.
[0010] Optionally, the low-pass filter includes a first resistor, a second resistor, and a parallel capacitor. The first resistor and the second resistor form the input matching resistor of the current-sensing amplifier. One end of the first resistor is connected to the first end of the shunt, and the other end is connected to the positive terminal of the current-sensing amplifier. One end of the second resistor is connected to the second end of the shunt, and the other end is connected to the negative terminal of the current-sensing amplifier. The first end of the shunt is the end closer to the load, and the second end of the shunt is the end closer to the power supply.
[0011] Optionally, the temperature detection circuit includes a pull-up resistor and a temperature sampling resistor connected in series. One end of the temperature sampling resistor is connected to the microcontroller and is simultaneously pulled up to the output terminal of the second reference source through the pull-up resistor. The other end of the temperature sampling resistor is grounded. The voltage at the connection point between the temperature sampling resistor and the pull-up resistor is sampled by the microcontroller to calculate the ambient temperature. T .
[0012] Optionally, the first reference voltage provided by the first reference source U A With ambient temperature T The nonlinear relationship between them is: (2) in, a 1 , b 1 and c 1 The first reference voltage provided to the first reference source UA relative to ambient temperature T The second-order nonlinear temperature compensation coefficient; The second reference voltage provided by the second reference source U B With ambient temperature T The nonlinear relationship between them is: (3) in, a 2 , b 2 and c 2 The second reference voltage provided to the second reference source U B relative to ambient temperature T The second-order nonlinear temperature compensation coefficient.
[0013] Optionally, the zero-point temperature drift of the current sense amplifier U Z With ambient temperature T The linear relationship between them is: (4) in, b 3 and c 3 The zero-point temperature drift of the current sense amplifier is respectively U Z relative to ambient temperature T The first-order linear temperature compensation coefficient.
[0014] Optionally, the current sense amplifier output voltage U 0 For the measured current of the shunt I Gain G R With ambient temperature T The nonlinear relationship between them is: (5) in, a 4 , b 4 and c 4 The output voltages of the current sensing amplifiers are respectively U 0 For the measured current of the shunt I Gain G R relative to ambient temperature T The second-order nonlinear temperature compensation coefficient, gainG R The gain of the current sense amplifier G With the resistance value R of the shunt S The product of: (6).
[0015] Optionally, the measured current I and the digital sampling value D ADC First reference voltage U A Second reference voltage U B and zero-point temperature drift U Z The relationship between them is: (7) in, N For the microcontroller to output voltage U 0 Convert to digital sample value D ADC The number of digits in time.
[0016] Optionally, a current detection method for the aforementioned current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions includes: Microcontroller acquires digital sampled values D ADC and ambient temperature T And calculate the measured current according to formula (1). I : (1) in, N For the microcontroller to output voltage U 0 Convert to digital sample value D ADC The number of digits, a 1 , b 1 and c 1 The first reference voltage provided to the first reference source U A relative to ambient temperature T The second-order nonlinear temperature compensation coefficient, a 2 , b 2 and c 2 The second reference voltage provided to the second reference source U Brelative to ambient temperature T The second-order nonlinear temperature compensation coefficient, b 3 and c 3 The zero-point temperature drift of the current sense amplifier is respectively U Z relative to ambient temperature T The first-order linear temperature compensation coefficient, a 4 , b 4 and c 4 The output voltages of the current sensing amplifiers are respectively U 0 For the measured current of the shunt I Gain G R relative to ambient temperature T The second-order nonlinear temperature compensation coefficient.
[0017] Optionally, the microcontroller calculates the measured current according to formula (1). I Previously, it also included: Establish and store each temperature compensation coefficient.
[0018] Optionally, establishing and storing each temperature compensation coefficient includes: Within a preset temperature range, measure the first reference voltage of the first reference source. U A With ambient temperature T The changing data is used to perform second-order nonlinear fitting to obtain the first reference voltage. U A relative to ambient temperature T Second-order nonlinear temperature compensation coefficient a 1 , b 1 and c 1 ; Within a preset temperature range, measure the second reference voltage of the second reference source. U B With ambient temperature T The changing data is used to perform a second-order nonlinear fitting to obtain the second reference voltage. U B relative to ambient temperature T Second-order nonlinear temperature compensation coefficient a 2 , b 2 and c 2 ; Within a preset temperature range, measure the zero-point temperature drift of the current sensing amplifier. U Z With ambient temperature T The changing data is used to perform a first-order linear fit to obtain the zero-point temperature drift. U Z relative to ambient temperature T First-order linear temperature compensation coefficient b 3 and c 3 ; Within a preset temperature range, measure the output voltage of the current sensing amplifier. U 0 For the measured current of the shunt I Gain G R With ambient temperature T The changing data is used to perform a second-order nonlinear fitting to obtain the output voltage of the current sensing amplifier. U 0 For the measured current of the shunt I Gain G R relative to ambient temperature T Second-order nonlinear temperature compensation coefficient a 4 , b 4 and c 4 .
[0019] Compared with the prior art, the present invention has the following advantages: This invention discloses a current detection device and method with zero-point drift temperature compensation and nonlinear temperature compensation functions. The current detection device fully considers factors such as the zero-point temperature drift of the current detection amplifier, and the temperature drift of the first and second reference sources. It applies zero-point drift temperature compensation algorithms and nonlinear temperature compensation algorithms to the current detection calculation, and the current calculation formula includes temperature compensation coefficients related to the first and second reference sources and the current detection amplifier. Based on this approach, the current detection device and method of this invention can adjust for performance changes when the load is zero, while ensuring that the device maintains accuracy at any operating temperature specified by industry standards, making it more efficient than traditional linear algorithms. This method significantly reduces the error in current detection of automotive backup batteries, ensuring that the current detection device maintains stable and accurate performance across the entire operating temperature range, meeting the requirements for current detection error in automotive backup batteries during standby.
[0020] Furthermore, addressing the issue that existing technologies cannot meet the requirement of a current detection error of less than 50mA for automotive backup batteries in standby mode, the zero-point drift temperature compensation algorithm and nonlinear temperature compensation algorithm employed in this invention significantly reduce the error in current detection of automotive backup batteries, thus meeting the requirements for current detection error of automotive backup batteries in standby mode.
[0021] Furthermore, addressing the issue that existing battery current detection technologies require a lookup table to obtain the current calibration coefficient for temperature compensation, the zero-point drift temperature compensation proposed in this invention is based on a first-order temperature calculation formula. The nonlinear temperature compensation method proposed in this invention is based on a second-order nonlinear temperature calculation formula. It can achieve higher-precision current detection of automotive backup batteries without the need for a lookup table, and it does not consume storage resources, thus significantly saving costs.
[0022] Furthermore, the current detection device and method proposed in this invention do not require the use of lookup tables, but rely solely on the digital sampling values of the microcontroller's ADC. and the current temperature sampling value and fixed current calibration coefficients , , , , , , , , The current being measured can be calculated directly. It reduces the consumption of storage resources and significantly saves costs. Attached Figure Description
[0023] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the description will be briefly introduced below. Obviously, the drawings in the following description are one embodiment of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort: Figure 1 This is a schematic diagram of a current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions according to the present invention; Figure 2 This is a schematic diagram of a current detection device in practical application of the present invention; Figure 3 A first reference voltage of the present invention U A A schematic diagram of the fitted curve as a function of temperature; Figure 4 A second reference voltage of the present invention U BA schematic diagram of the fitted curve as a function of temperature; Figure 5 A zero-point temperature drift of the present invention U Z A schematic diagram of the fitted line as a function of temperature; Figure 6 A gain of the present invention G R A schematic diagram of the fitted curve as a function of temperature. Detailed Implementation
[0024] The following detailed description, in conjunction with the accompanying drawings and specific embodiments, provides a more detailed account of a current detection device and method with zero-point drift temperature compensation and nonlinear temperature compensation functions proposed in this invention. The advantages and features of this invention will become clearer from the following description. It should be noted that the accompanying drawings are in a very simplified form and use non-precise proportions, used only to facilitate and clearly illustrate the embodiments of this invention. Please refer to the accompanying drawings to make the objectives, features, and advantages of this invention more apparent and understandable. It should be understood that the structures, proportions, sizes, etc., depicted in the accompanying drawings are only for illustrative purposes to aid those skilled in the art and are not intended to limit the implementation conditions of this invention. Therefore, they have no substantial technical significance. Any modifications to the structure, changes in proportions, or adjustments to the size, without affecting the effects and objectives achieved by this invention, should still fall within the scope of the technical content disclosed in this invention.
[0025] As mentioned above, the temperature compensation method used in existing current detection technologies is first-order linear temperature compensation. The current calibration coefficients used in this method need to be obtained using a lookup table, which consumes more storage resources and incurs higher costs. Furthermore, it cannot meet the requirement that the current detection error of a car backup battery in standby mode should be less than 50mA. Moreover, the first-order linear calculation formula used for current detection or the lookup table method for temperature compensation in existing technologies are both indirect methods. They do not establish a direct calculation relationship between the error source of the current detection device and temperature, resulting in incomplete elimination of the current detection error.
[0026] Based on the above, this invention provides a current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions. This device fully considers factors such as the zero-point temperature drift of the current detection amplifier and the temperature drift of each reference source, applying zero-point drift temperature compensation algorithms and nonlinear temperature compensation algorithms to the current detection calculation. Its current calculation formula includes temperature compensation coefficients related to each reference source and the current detection amplifier. This device fundamentally solves the problem of temperature affecting current detection accuracy, addressing the issue that existing battery current detection technologies cannot meet the requirement that the current detection error of automotive backup batteries in standby mode should be less than 50mA. Furthermore, it overcomes the shortcomings of existing battery current detection technologies, which require a lookup table method to obtain the current calibration coefficient, leading to increased storage resource consumption and costs.
[0027] like Figure 1 As shown, the current sensing device includes a shunt R. S The system includes a current sensing amplifier, a first reference source, a second reference source, a temperature sensing circuit, and a microcontroller (MCU). The shunt R... S Connected in series between the load and the power supply, specifically the shunt R S One end of the circuit is connected to the negative terminal of the load, and the other end is connected to the negative terminal of the power source, i.e., the battery. The current flows through the shunt R. S The load current is the target detection current of this invention, i.e., the measured current. I The splitter R S Used to generate the current being measured I A proportional initial voltage signal. The positive and negative input terminals of the current sensing amplifier are respectively connected to the shunt R through low-pass filters. S At both ends, the current sensing amplifier is used to convert the shunt R S The generated initial voltage signal is amplified into an output voltage. U 0 The first reference source, i.e., reference source 1, is connected to the reference voltage input terminal V of the current sensing amplifier. REF1 The first reference source is connected to provide a first reference voltage for the current-sensing amplifier. U A The temperature detection circuit is used to obtain data based on the ambient temperature. T The analog voltage. The microcontroller is connected to the current sensing amplifier and the temperature sensing circuit respectively, and the second reference source, i.e., reference source 2, is connected to the reference voltage input terminal V of the microcontroller. REF2 The connection, wherein the second reference source is used to provide a second reference voltage to the microcontroller. U B The microcontroller is used to control the output voltage of the current sensing amplifier.U 0 Convert to digital sample value D ADC And calculate the ambient temperature based on the analog voltage. T At the same time, based on digital sample values D ADC and ambient temperature T Calculate the measured current according to the current calculation formula, i.e., formula (1). I : (1) Where N is the output voltage of the microcontroller. U 0 Convert to digital sample value D ADC The number of digits in the time period, a 1 , b 1 and c 1 The first reference voltage provided to the first reference source U A relative to ambient temperature T The second-order nonlinear temperature compensation coefficient, a 2 , b 2 and c 2 The second reference voltage provided to the second reference source U B relative to ambient temperature T The second-order nonlinear temperature compensation coefficient, b 3 and c 3 The zero-point temperature drift of the current sense amplifier is respectively U Z relative to ambient temperature T The first-order linear temperature compensation coefficient, a 4 , b 4 and c 4 The output voltages of the current sensing amplifiers are respectively U 0 For the shunt R S Measured current I Gain G R relative to ambient temperature T The second-order nonlinear temperature compensation coefficient.
[0028] As described above, the current detection device of this invention fully considers factors such as the zero-point temperature drift of the current detection amplifier and the temperature drift of the reference source, and proposes a zero-point drift temperature compensation algorithm and a nonlinear temperature compensation algorithm. The zero-point drift temperature compensation algorithm is a first-order calculation formula based on temperature, and the nonlinear temperature compensation algorithm is a second-order nonlinear calculation formula based on temperature. This invention applies the zero-point drift temperature compensation algorithm and the nonlinear temperature compensation algorithm to the calculation of current detection. Based on this method, adjustments can be made for performance changes when the load is zero, while ensuring that the device maintains accuracy at any operating temperature specified by industry standards. It is more efficient than traditional linear algorithms. This method significantly reduces the error of current detection in automotive backup batteries, ensuring that the current detection device maintains stable and accurate performance across the entire operating temperature range, meeting the requirements for current detection error of automotive backup batteries in standby mode.
[0029] Furthermore, such as Figure 1 As shown, in this embodiment, the current sensing amplifier and the shunt R S The low-pass filter between the resistors includes a first resistor R1, a second resistor R2, and a parallel capacitor C1. This low-pass filter is used to filter out the current from the shunt R. S High-frequency noise. The first resistor R1 and the second resistor R2 form the input matching resistor of the current sense amplifier, the purpose of which is to reduce the high-frequency noise of the shunt R. S The transmission loss between the first resistor R1 and the current-sensing amplifier. S One end of the resistor is connected to the first terminal, and the other end is connected to the positive terminal of the current sensing amplifier; one end of the second resistor R2 is connected to the shunt R S The second end is connected, and the other end is connected to the negative terminal of the current-sensing amplifier. The shunt R... S The first end is the end closest to the load, the shunt R S The second end is the end closest to the negative terminal of the power supply.
[0030] In this embodiment, the output of the current-sensing amplifier is connected to the ADC input port ADC1 of the microcontroller (MCU). The purpose of this connection is to convert the output voltage of the current-sensing amplifier into the ADC input port ADC1. U 0 The signal is fed into ADC1 for sampling. The first reference source is connected to the reference voltage input terminal V of the current sense amplifier. REF1 Connect to provide a first reference voltage for the current-sensing amplifier. U A The microcontroller's ADC reference voltage input terminal V REF2 It is connected to a second reference source to provide a second reference voltage for the microcontroller's ADC. UB In one embodiment, the second reference voltage U B First reference voltage U A Twice as of the time required to achieve the shunt R S While detecting the forward current flowing through it, it can also monitor the shunt R. S The detection of the reverse current flowing through it. It is understood that the second reference voltage... U B With the first reference voltage U A The multiple relationship is not limited to twice as mentioned above. In practical applications, within a certain range, the second reference voltage... U B It can also be used as the first reference voltage. U A More than twice that (but not the larger the better), i.e., the second reference voltage U B At least the first reference voltage U A Twice as much.
[0031] like Figure 1 As shown, the temperature detection circuit includes a pull-up resistor R3 and a temperature sampling resistor R connected in series. T The temperature sampling resistor R T One end of the resistor is connected to the ADC input port ADC2 of the microcontroller, and simultaneously pulled up to the output of the second reference source through a pull-up resistor R3. The temperature sampling resistor R... T The other end of the resistor is grounded, meaning it is connected to a reference ground plane. Based on this method, the temperature sampling resistor R... T The voltage at the connection point between the pull-up resistor R3 and the pull-up resistor R3 is sampled by the microcontroller to calculate the ambient temperature. T That is, the microcontroller detects the temperature sampling resistor R through the ADC input port ADC2. T The voltage between the pull-up resistor R3 and the ambient temperature is calculated using the existing temperature detection algorithm stored in the microcontroller. T The LIN transceiver connects to the microcontroller to transmit the measured current detected and calculated by the microcontroller. I The data is fed back to the LIN bus for use by other hosts.
[0032] To further illustrate the current detection device proposed in this invention, such as... Figure 2 The diagram shown is a schematic of a current sensing device in practical application. In this current sensing device, the shunt R... S The resistance is 0.1mΩ. One end is connected to the negative terminal of the load, and the other end is connected to the negative terminal of the power source, i.e., the battery. The current flows through the shunt R.S The current is the target detection current of this invention, i.e., the measured current. I The first resistor R1 and the second resistor R2 are the input matching resistors of the current-sensing amplifier, both with a resistance of 2.2Ω. Their purpose is to reduce the resistance of the shunt resistor R. S The transmission loss between the current sensing amplifier and the current sensing resistor. Meanwhile, the first resistor R1 and the second resistor R2, together with the parallel capacitor C1, form a low-pass filter. The capacitance of the parallel capacitor C1 is 47nF, and its purpose is to filter out the current loss from the shunt resistor R. S High-frequency noise. One end of the first resistor R1 is connected to the shunt R. S One end of the resistor R2 is connected to the load terminal, and the other end is connected to the positive terminal of the current-sensing amplifier. One end of the second resistor R2 is connected to the shunt resistor R... S Connect the end near the negative terminal of the battery, and the other end to the negative terminal of the current sense amplifier. The reference voltage input terminal V of the current sense amplifier... REF1 Connected to the first reference source, i.e., reference source 1, the purpose of reference source 1 is to provide the first reference voltage U for the current sense amplifier. A .
[0033] The purpose of connecting the ADC input terminal of the microcontroller (MCU) to the output terminal of the current sense amplifier is to convert the output voltage of the current sense amplifier into the ADC input. U 0 Convert to digital signal The output of the second reference source, i.e., reference source 2, is connected to the ADC reference voltage input terminal V of the MCU. REF2 The purpose of this connection is to provide a second reference voltage U for the MCU's ADC. B Second reference voltage U B It is the first reference voltage U A Twice that, its purpose is to achieve both the splitter R S The detection of the forward current flowing through it also enables the shunt R to function. S Detection of reverse current flowing through the circuit. Temperature sampling resistor R in the temperature detection circuit. T The resistance at 25℃ is 100KΩ, and the temperature sampling resistor R T One end is connected to the ADC input port ADC2 of the MCU, and simultaneously pulled up to the output terminal U of the reference source 2 through pull-up resistor R3. B The pull-up resistor R3 has a resistance of 510KΩ. The temperature sampling resistor R... T The other end is connected to the reference ground plane, the purpose of which is to detect the temperature sampling resistor R through ADC2. T The voltage between the pull-up resistor R3 and the ambient temperature is obtained using the MCU's temperature detection algorithm. T The input of the LIN transceiver is connected to the MCU to transmit the measured current detected by the MCU. IThe data is fed back to the LIN bus for use by other hosts.
[0034] Furthermore, in the current detection device of the present invention, the first reference source, the current detection amplifier, the second reference source, and the ambient temperature are established and stored. T The linear and nonlinear relationships between them are established, and the temperature compensation coefficients related to the first reference source, the current sense amplifier, and the second reference source are pre-established and stored.
[0035] Specifically, the present invention establishes a first output voltage of a first reference source. U A With ambient temperature T Nonlinear relationship between them: (2) in, a 1 , b 1 and c 1 The first reference voltage provided to the first reference source U A relative to ambient temperature T The second-order nonlinear temperature compensation coefficient is intended to compensate for the nonlinear temperature drift of the first reference source.
[0036] In practical applications, a first reference voltage is pre-established and stored. U A relative to ambient temperature T When calculating the second-order nonlinear temperature compensation coefficient, the first reference voltage of the first reference source is measured within a preset temperature range. U A With ambient temperature T The changing data is used to perform second-order nonlinear fitting to obtain the first reference voltage. U A relative to ambient temperature T Second-order nonlinear temperature compensation coefficient a 1 , b 1 and c 1 .
[0037] For example, in one embodiment, in order to obtain a first reference voltage U A Second-order nonlinear temperature compensation coefficient a 1 , b 1 and c 1The first reference voltage was measured every 10°C between -40°C and 80°C. U A The voltage value was then measured. The measured data was then used to perform a second-order nonlinear fitting on a computer to obtain the first reference voltage. U A With ambient temperature T The relationship between them is as follows: in, .
[0038] Finally, the first reference voltage is obtained. U A The fitted curve (as shown in the attached figure) Figure 3 (As shown), first reference voltage U A The fitted value has an error of less than 0.001% with the true value between -40℃ and 80℃. Compared with the theoretical accuracy of 0.51% of the first reference source (which is equal to 0.15% absolute accuracy plus 30ppm / ℃ temperature drift), the accuracy is improved by 0.509%.
[0039] Furthermore, the present invention also establishes a second output voltage of the second reference source. U B With ambient temperature T Nonlinear relationship between them: (3) in, a 2 , b 2 and c 2 The second reference voltage provided to the second reference source U B relative to ambient temperature T The second-order nonlinear temperature compensation coefficient is used to compensate for the nonlinear temperature drift of the second reference source.
[0040] In practical applications, a second reference voltage is pre-established and stored. U A relative to ambient temperature T When calculating the second-order nonlinear temperature compensation coefficient, the second reference voltage of the second reference source is measured within a preset temperature range. U B With ambient temperature T The changing data is used to perform a second-order nonlinear fitting to obtain the second reference voltage. U B relative to ambient temperature T Second-order nonlinear temperature compensation coefficient a2 , b 2 and c 2 .
[0041] For example, in one embodiment, in order to obtain a second reference voltage U B Second-order nonlinear temperature compensation coefficient a 2 , b 2 and c 2 The second reference voltage was measured every 10°C between -40°C and 80°C. U B The voltage value was then measured. The measured data was then used to perform a second-order nonlinear fitting on a computer to obtain the second reference voltage. U B With ambient temperature T The relationship between them is as follows: in, .
[0042] Finally, the second reference voltage is obtained. U B The fitted curve (as shown in the attached figure) Figure 4 (as shown), second reference voltage U B The fitted value has an error of less than 0.03% with the true value between -40℃ and 80℃. Compared with the theoretical accuracy of 0.17% of the second reference source (which is equal to 0.05% absolute accuracy plus 10ppm / ℃ temperature drift), the accuracy is improved by 0.15%.
[0043] Furthermore, this invention also establishes the zero-point temperature drift of the current-sensing amplifier. U Z With ambient temperature T The linear relationship between them is: (4) in, b 3 and c 3 The zero-point temperature drift of the current sense amplifier is respectively U Z relative to ambient temperature T The first-order linear temperature compensation coefficient is used to compensate for the zero-point temperature drift of the current sense amplifier.
[0044] In practical applications, zero-point temperature drift is pre-established and stored. UZ relative to ambient temperature T When determining the first-order linear temperature compensation coefficient, the zero-point temperature drift of the current sensing amplifier is measured within a preset temperature range. U Z With ambient temperature T The changing data is used to perform a first-order linear fit to obtain the zero-point temperature drift. U Z relative to ambient temperature T First-order linear temperature compensation coefficient b 3 and c 3 .
[0045] For example, in one embodiment, in order to obtain the zero-point temperature drift U Z First-order linear temperature compensation coefficient b 3 and c 3 The zero-point temperature drift was measured every 10°C between -40°C and 80°C. U Z The voltage value was then measured. The measured data was then used to perform a first-order linear fit on a computer to obtain the zero-point temperature drift. U Z With ambient temperature T The relationship between them is as follows: in, .
[0046] Finally, the zero-point temperature drift was obtained. U Z Fitted lines (as shown in the attached image) Figure 5 (As shown), zero-point temperature drift U Z The fitted values have an error of less than 2% compared to the true values between -40℃ and 80℃.
[0047] Furthermore, this invention also establishes the output voltage of the current sensing amplifier. U 0 For the shunt R S Measured current I Gain G R With ambient temperature T Nonlinear relationship between them: (5) in, a 4 , b 4 andc 4 The output voltages of the current sensing amplifiers are respectively U 0 For the shunt R S Measured current I Gain G R relative to ambient temperature T The second-order nonlinear temperature compensation coefficient, gain G R The gain of the current sense amplifier G (Magnification) and Shunt R S resistance value R S The product of: (6).
[0048] In practical applications, the output voltage of the current-sensing amplifier is pre-established and stored. U 0 For the shunt R S Measured current I Gain G R relative to ambient temperature T When determining the second-order nonlinear temperature compensation coefficient, the output voltage of the current sensing amplifier is measured within a preset temperature range. U 0 For the shunt R S Measured current I Gain G R With ambient temperature T The changing data is used to perform a second-order nonlinear fitting to obtain the output voltage of the current sensing amplifier. U 0 For the shunt R S Measured current I Gain G R relative to ambient temperature T Second-order nonlinear temperature compensation coefficient a 4 , b 4 and c 4 .
[0049] For example, in one embodiment, in order to obtain gain G R Second-order nonlinear temperature compensation coefficient a 4 , b 4 and c 4Gain was measured every 10°C between -40°C and 80°C. G R The value of the gain is then obtained by performing a second-order nonlinear fitting on a computer. G R With ambient temperature T The relationship between them is as follows: The gain is finally obtained G R The fitted curve (as shown in the attached figure) Figure 6 (as shown), gain G R Fitted values and gain G R The average measurement error is less than 0.06% between -40℃ and 80℃.
[0050] It is understood that in the process of obtaining the temperature compensation coefficient mentioned above, the preset temperature range is not limited to -40℃ to 80℃, and the sampling interval is not limited to 10℃. In other embodiments, this can be adjusted according to actual needs and other factors, and the present invention does not impose any restrictions on this.
[0051] Furthermore, the present invention also establishes the measured current. I With digital sample values D ADC First reference voltage U A Second reference voltage U B and zero-point temperature drift U Z The relationship between the four: (7) in, N For the microcontroller to output voltage U 0 Convert to digital sample value D ADC The number of digits, i.e. N This represents the number of bits in the ADC.
[0052] Based on formulas (2) to (7), the present invention finally obtains a current detection algorithm with zero-point drift temperature compensation and nonlinear temperature compensation functions, and its calculation formula is as follows: Formula (1) (1) In this current detection algorithm, the measured current It is temperature The second-order nonlinear function aims to solve the nonlinear temperature drift problem existing in the current-detected current. Includes zero-point temperature drift of the current sense amplifier The aim is to solve the zero-point temperature drift problem existing in the current technology.
[0053] For example, in one embodiment, N Given parameter 13, the previously calculated temperature compensation coefficients are... , , , , , , , , , Substituting into the current calculation formula, we get:
[0054] Based on the above, in practical applications, the microcontroller uses the digital sampled values from the ADC... D ADC and the current ambient temperature Substituting these values into the above formula will give you the current being measured. I The current detection device described in this invention has been verified to have a normal operating current detection error of less than 0.3% for automotive backup batteries across the entire temperature range, and a current detection error of less than 30mA in standby mode, which meets the current detection error requirements for backup batteries in existing automobiles.
[0055] Based on the same inventive concept, the present invention also provides a current detection method for the aforementioned current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions, the current detection method comprising: a microcontroller acquiring digital sampled values. D ADC and ambient temperature T And calculate the measured current according to formula (1). I : (1) in, N For the microcontroller to output voltage U 0 Convert to digital sample value D ADC The number of digits, a 1 , b 1 and c 1 The first reference voltage provided to the first reference source U A relative to ambient temperature TThe second-order nonlinear temperature compensation coefficient, a 2 , b 2 and c 2 The second reference voltage provided to the second reference source U B relative to ambient temperature T The second-order nonlinear temperature compensation coefficient, b 3 and c 3 The zero-point temperature drift of the current sense amplifier is respectively U Z relative to ambient temperature T The first-order linear temperature compensation coefficient, a 4 , b 4 and c 4 The output voltages of the current sensing amplifiers are respectively U 0 For the shunt R S Measured current I Gain G R relative to ambient temperature T The second-order nonlinear temperature compensation coefficient.
[0056] Furthermore, the microcontroller calculates the measured current according to formula (1). I Previously, the current detection method of the present invention also included: establishing and storing various temperature compensation coefficients.
[0057] Furthermore, the establishment and storage of each temperature compensation coefficient includes: Within a preset temperature range, measure the first reference voltage of the first reference source. U A With ambient temperature T The changing data is used to perform second-order nonlinear fitting to obtain the first reference voltage. U A relative to ambient temperature T Second-order nonlinear temperature compensation coefficient a 1 , b 1 and c 1 ; Within a preset temperature range, measure the second reference voltage of the second reference source. U B With ambient temperature TThe changing data is used to perform a second-order nonlinear fitting to obtain the second reference voltage. U B relative to ambient temperature T Second-order nonlinear temperature compensation coefficient a 2 , b 2 and c 2 ; Within a preset temperature range, measure the zero-point temperature drift of the current sensing amplifier. U Z With ambient temperature T The changing data is used to perform a first-order linear fit to obtain the zero-point temperature drift. U Z relative to ambient temperature T First-order linear temperature compensation coefficient b 3 and c 3 ; Within a preset temperature range, measure the output voltage of the current sensing amplifier. U 0 For the shunt R S Measured current I Gain G R With ambient temperature T The changing data is used to perform a second-order nonlinear fitting to obtain the output voltage of the current sensing amplifier. U 0 For the shunt R S Measured current I Gain G R relative to ambient temperature T Second-order nonlinear temperature compensation coefficient a 4 , b 4 and c 4 .
[0058] In summary, the current detection device and method of the present invention, which have zero-point drift temperature compensation and nonlinear temperature compensation functions, fully consider factors such as the zero-point temperature drift of the current detection amplifier, and the temperature drift of the first and second reference sources. The zero-point drift temperature compensation algorithm and the nonlinear temperature compensation algorithm are applied to the current detection calculation, and the current calculation formula includes temperature compensation coefficients related to the first reference source, the second reference source, and the current detection amplifier. Based on this approach, the current detection device and method of the present invention can adjust for performance changes when the load is zero, while ensuring that the device maintains accuracy at any operating temperature specified by industry standards, making it more efficient than traditional linear algorithms. This approach significantly reduces the error in current detection of automotive backup batteries, ensuring that the current detection device maintains stable and accurate performance across the entire operating temperature range, meeting the requirements for current detection error of automotive backup batteries in standby mode.
[0059] Furthermore, this invention employs two novel algorithms to address the performance fluctuations of the device under varying temperatures. The first algorithm is a nonlinear temperature compensation algorithm, which ensures the device maintains accuracy across its entire operating temperature range, making it more efficient than traditional linear algorithms. The second algorithm is a zero-point temperature compensation algorithm, specifically designed to adjust for performance changes when the load is zero, a feature not found in previous technologies. In short, this invention, by combining these two algorithms, ensures that the current sensing device maintains stable and accurate performance across its entire operating temperature range.
[0060] Furthermore, the current detection method proposed in this invention, which has zero-point drift temperature compensation and nonlinear temperature compensation functions, can achieve stable, reliable and accurate detection of the normal operating current of the automotive backup battery within the entire operating temperature range. Experimental verification shows that its relative measurement error is less than 0.3%, and the absolute measurement error of the current detection in standby mode is less than 30mA, which can meet the current detection error requirements of existing automobiles for backup batteries.
[0061] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0062] In the description of this invention, it should be understood that the terms "center," "height," "thickness," "upper," "lower," "vertical," "horizontal," "top," "bottom," "inner," "outer," "axial," "radial," and "circumferential," etc., indicating orientation or positional relationships, are based on the orientation or positional relationships shown in the accompanying drawings and are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. In the description of this invention, unless otherwise stated, "a plurality of" means two or more.
[0063] In the description of this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0064] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.
[0065] Although the present invention has been described in detail through the preferred embodiments above, it should be understood that the above description should not be considered as a limitation of the present invention. Various modifications and substitutions to the present invention will be apparent to those skilled in the art after reading the above description. Therefore, the scope of protection of the present invention should be defined by the appended claims.
Claims
1. A current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions, characterized in that, Include: A shunt, connected in series between the load and the power supply, is used to generate the current being measured. I A proportional initial voltage signal; A current-sensing amplifier, whose positive and negative input terminals are respectively connected to the two ends of the shunt via low-pass filters, is used to amplify the initial voltage signal generated by the shunt into an output voltage. U 0 ; A first reference source is connected to the reference voltage input terminal of the current sense amplifier, and the first reference source is used to provide a first reference voltage for the current sense amplifier. U A ; Temperature detection circuit, used to acquire ambient temperature T The analog voltage; A microcontroller is connected to the current sensing amplifier and the temperature sensing circuit, respectively. A second reference source is connected to the reference voltage input terminal of the microcontroller, and the second reference source is used to provide a second reference voltage to the microcontroller. U B ; The microcontroller is used to control the output voltage of the current sensing amplifier. U 0 Convert to digital sample value D ADC And calculate the ambient temperature based on the analog voltage. T At the same time, based on digital sample values D ADC and ambient temperature T Calculate the measured current according to formula (1) I : (1) in, N For the microcontroller to output voltage U 0 Convert to digital sample value D ADC The number of digits in the time period, a 1 , b 1 and c 1 The first reference voltage provided to the first reference source U A relative to ambient temperature T The second-order nonlinear temperature compensation coefficient, a 2 , b 2 and c 2 The second reference voltage provided to the second reference source U B relative to ambient temperature T The second-order nonlinear temperature compensation coefficient, b 3 and c 3 The zero-point temperature drift of the current sense amplifier is respectively U Z relative to ambient temperature T The first-order linear temperature compensation coefficient, a 4 , b 4 and c 4 The output voltages of the current sensing amplifiers are respectively U 0 For the measured current of the shunt I Gain G R relative to ambient temperature T The second-order nonlinear temperature compensation coefficient.
2. The current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions as described in claim 1, characterized in that, The low-pass filter includes a first resistor, a second resistor, and a parallel capacitor. The first resistor and the second resistor form the input matching resistor of the current-sensing amplifier. One end of the first resistor is connected to the first end of the shunt, and the other end is connected to the positive terminal of the current-sensing amplifier. One end of the second resistor is connected to the second end of the shunt, and the other end is connected to the negative terminal of the current-sensing amplifier. The first end of the shunt is the end closer to the load, and the second end of the shunt is the end closer to the power supply.
3. The current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions as described in claim 1, characterized in that, The temperature detection circuit includes a pull-up resistor and a temperature sampling resistor connected in series. One end of the temperature sampling resistor is connected to the microcontroller and is simultaneously pulled up to the output terminal of the second reference source through the pull-up resistor. The other end of the temperature sampling resistor is grounded. The voltage at the connection point between the temperature sampling resistor and the pull-up resistor is sampled by the microcontroller to calculate the ambient temperature. T .
4. The current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions as described in claim 1, characterized in that, The first reference voltage provided by the first reference source U A With ambient temperature T The nonlinear relationship between them is: (2) in, a 1 , b 1 and c 1 The first reference voltage provided to the first reference source U A relative to ambient temperature T The second-order nonlinear temperature compensation coefficient; The second reference voltage provided by the second reference source U B With ambient temperature T The nonlinear relationship between them is: (3) in, a 2 , b 2 and c 2 The second reference voltage provided to the second reference source U B relative to ambient temperature T The second-order nonlinear temperature compensation coefficient.
5. The current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions as described in claim 1, characterized in that, Zero-point temperature drift of the current sense amplifier U Z With ambient temperature T The linear relationship between them is: (4) in, b 3 and c 3 The zero-point temperature drift of the current sense amplifier is respectively U Z relative to ambient temperature T The first-order linear temperature compensation coefficient.
6. The current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions as described in claim 1, characterized in that, The current sense amplifier output voltage U 0 For the measured current of the shunt I Gain G R With ambient temperature T The nonlinear relationship between them is: (5) in, a 4 , b 4 and c 4 The output voltages of the current sensing amplifiers are respectively U 0 For the measured current of the shunt I Gain G R relative to ambient temperature T The second-order nonlinear temperature compensation coefficient, gain G R The gain of the current sense amplifier G With the resistance value R of the shunt S The product of: (6)。 7. The current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions as described in claim 6, characterized in that, The measured current I and the digital sampling value D ADC First reference voltage U A Second reference voltage U B and zero-point temperature drift U Z The relationship between them is: ) (7) in, N For the microcontroller to output voltage U 0 Convert to digital sample value D ADC The number of digits in time.
8. A current detection method for a current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions as described in any one of claims 1 to 7, characterized in that, Include: Microcontroller acquires digital sampled values D ADC and ambient temperature T And calculate the measured current according to formula (1). I : (1) in, N For the microcontroller to output voltage U 0 Convert to digital sample value D ADC The number of digits, a 1 , b 1 and c 1 The first reference voltage provided to the first reference source U A relative to ambient temperature T The second-order nonlinear temperature compensation coefficient, a 2 , b 2 and c 2 The second reference voltage provided to the second reference source U B relative to ambient temperature T The second-order nonlinear temperature compensation coefficient, b 3 and c 3 The zero-point temperature drift of the current sense amplifier is respectively U Z relative to ambient temperature T The first-order linear temperature compensation coefficient, a 4 , b 4 and c 4 The output voltages of the current sensing amplifiers are respectively U 0 For the measured current of the shunt I Gain G R relative to ambient temperature T The second-order nonlinear temperature compensation coefficient.
9. The current detection method of the current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions as described in claim 8, characterized in that, The microcontroller calculates the measured current according to formula (1). I Previously, it also included: Establish and store each temperature compensation coefficient.
10. The current detection method of the current detection device with zero-point drift temperature compensation and nonlinear temperature compensation functions as described in claim 9, characterized in that, The process of establishing and storing various temperature compensation coefficients includes: Within a preset temperature range, measure the first reference voltage of the first reference source. U A With ambient temperature T The changing data is used to perform second-order nonlinear fitting to obtain the first reference voltage. U A relative to ambient temperature T Second-order nonlinear temperature compensation coefficient a 1 , b 1 and c 1 ; Within a preset temperature range, measure the second reference voltage of the second reference source. U B With ambient temperature T The changing data is used to perform a second-order nonlinear fitting to obtain the second reference voltage. U B relative to ambient temperature T Second-order nonlinear temperature compensation coefficient a 2 , b 2 and c 2 ; Within a preset temperature range, measure the zero-point temperature drift of the current sensing amplifier. U Z With ambient temperature T The changing data is used to perform a first-order linear fit to obtain the zero-point temperature drift. U Z relative to ambient temperature T First-order linear temperature compensation coefficient b 3 and c 3 ; Within a preset temperature range, measure the output voltage of the current sensing amplifier. U 0 For the measured current of the shunt I Gain G R With ambient temperature T The changing data is used to perform a second-order nonlinear fitting to obtain the output voltage of the current sensing amplifier. U 0 For the measured current of the shunt I Gain G R relative to ambient temperature T Second-order nonlinear temperature compensation coefficient a 4 , b 4 and c 4 .
