Current calibration system, method and device, electronic equipment, medium and vehicle
By using energy storage parts instead of the voltage-regulating power supply, combined with the comparison method of external and internal current sensors, the problems of large heat generation and high power requirements during the current calibration process are solved, and efficient current calibration is achieved.
Patent Information
- Application Number
- CN202311844377.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2025-07-01
AI Technical Summary
In the existing current calibration scheme, using a voltage-regulated power supply for current calibration can easily lead to the continuous heat generation of the product to be calibrated and the equipment power requirements are high.
The energy storage part is used to replace the voltage-regulated power supply, and the energy storage part is charged through the high-voltage power supply. After receiving the calibration command, the controller releases the pulse current according to the preset linear function, and uses the external and internal current sensors to collect the current value to obtain the error value.
The problem of large heat generation and high equipment power requirements caused by the voltage-regulating power supply during the current calibration process is avoided, and efficient current calibration is achieved.
Smart Images

Figure CN120233292A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of current calibration, and particularly to a current calibration system, method, device, electronic device, storage medium, and vehicle. Background Art
[0002] Current calibration is a method for determining the accuracy of a current sensor. By comparing the actual value of the measured current with the magnitude of the output signal of the current sensor, the relationship between the two is established, so as to determine that the signal output by the sensor can accurately reflect the magnitude of the measured current. Currently, the current calibration schemes on the market usually require building a specific environment to make the product to be calibrated in the rated current output state, and then using an external high-precision detection circuit to accurately read the current and compare it with the current detected by the product to be calibrated itself.
[0003] The current calibration circuit in the current calibration scheme currently uses a regulated power supply to provide electrical energy during current calibration. In order to keep the product to be calibrated working stably, during the current calibration process, it is required that the current calibration circuit stably operates in the rated output condition. Using a regulated power supply for current calibration easily causes a relatively large continuous heat generation of the product to be calibrated and has a relatively high power requirement for the calibration equipment in the current calibration circuit. Summary of the Invention
[0004] The present disclosure provides a current calibration system, method, device, electronic device, storage medium, and vehicle.
[0005] According to a first aspect of the present disclosure, a current calibration system is provided. The system includes:
[0006] A current calibration circuit and a product to be calibrated, the current calibration circuit and the product to be calibrated are connected;
[0007] The current calibration circuit includes a host computer, a high-voltage power supply, an energy storage component, and an external current sensor, and the product to be calibrated includes a controller and an internal current sensor;
[0008] The host computer is connected to the controller;
[0009] The high-voltage power supply is connected to the energy storage component, and the high-voltage power supply is used to charge the energy storage component;
[0010] The external current sensor is respectively connected to the host computer and the controller. The external current sensor is used to detect the first peak current of the controller and send the first peak current to the host computer, and the host computer is used to send the first peak current to the controller;
[0011] The internal current sensor is connected to the controller. The internal current sensor is used to detect the second peak current of the controller and send the second peak current to the controller, so that the controller determines the error value between the first peak current and the second peak current.
[0012] According to a second aspect of the present disclosure, there is provided a current calibration method, which is used for the current calibration system in the foregoing first aspect embodiments. The method includes: if the host computer determines that the energy storage value of the energy storage component is not less than the target energy storage value of the energy storage component, and the host computer detects that the voltage operating state of the controller is normal, then send a calibration instruction to the controller;
[0013] In response to the calibration instruction, if the controller detects that the voltage at the controller sampling port is within a preset port voltage range, the controller turns on the control circuit to enable the energy storage component to release a pulse current according to a pulse time, and the pulse time is obtained according to the target peak current and the corresponding relationship between the peak current and the pulse time in a preset linear function. The target peak current is directly set during the product design of the product to be calibrated;
[0014] The controller receives the first peak current of the controller sent by the host computer and the second peak current of the controller sent by the internal current sensor of the controller. The first peak current is collected by the external current sensor at an external current collection rate, and the second peak current is collected by the internal current sensor at an internal current collection rate;
[0015] The controller compares the first peak current and the second peak current to obtain an error value between the first peak current and the second peak current.
[0016] In some embodiments, before the host computer determines that the energy storage value of the energy storage component is not less than the target energy storage value of the energy storage component, and the host computer detects that the voltage operating state of the controller is normal, and then sends a calibration instruction to the controller, it includes:
[0017] Determine the target energy storage value of the energy storage component, and determine the charging time corresponding to the target energy storage value according to the power supply parameters of the high-voltage power supply. The target energy storage value is used to release a pulse current to generate a target peak current;
[0018] Charge the energy storage component with the high-voltage power supply for the charging time.
[0019] In some embodiments, determining the target energy storage value of the energy storage component includes:
[0020] Determine the initial energy storage value of the energy storage component, and determine the initial peak current corresponding to the initial energy storage value according to a preset functional relationship;
[0021] Compare the magnitudes of the initial peak current and the target peak current;
[0022] If the initial peak current is different from the target peak current, adjust the initial energy storage value in sequence according to a preset step to adjust the initial energy storage value to the target energy storage value corresponding to the target peak current.
[0023] In some embodiments, the host computer detecting that the voltage operating state of the controller is normal includes:
[0024] The host computer detects the voltage operating state of the controller, and the voltage operating state includes a low-voltage power supply state and a high-voltage power supply state;
[0025] If the low voltage in the low-voltage power supply state is within the preset low-voltage range and the high voltage in the high-voltage power supply state is within the preset high-voltage range, it is determined that the voltage operating state of the controller is normal.
[0026] In some embodiments, before the controller receives the first peak current of the controller sent by the host computer and the second peak current of the controller sent by the internal current sensor of the controller, it includes:
[0027] Using the rate calculation formula, multiplying the pulse time by the target sampling accuracy to determine the sampling time corresponding to the pulse time, and the target sampling accuracy is set during the product design of the product to be calibrated;
[0028] Inputting the sampling time into the rate calculation formula to determine the external minimum acquisition rate and the internal minimum acquisition rate corresponding to the external current sensor and the internal current sensor;
[0029] Analyzing the design requirements of the product to be calibrated to determine the external current acquisition rate not less than the external minimum acquisition rate and the internal current acquisition rate not less than the internal minimum acquisition rate;
[0030] The internal current sensor and the external current sensor collect the first current peak value and the second peak current of the controller according to the external current acquisition rate and the internal current acquisition rate.
[0031] In some embodiments, the method further includes:
[0032] Multiplying the target sampling accuracy by the target peak current to determine the maximum current resolution of the external current sensor, and determining the current resolution not greater than the maximum current resolution according to the maximum current resolution and the current sampling requirements of the product to be calibrated, so that the external current sensor collects the first peak current according to the current resolution, and the current resolution represents the sampling accuracy of the external current sensor.
[0033] According to the third aspect of the present disclosure, there is provided a current calibration device, and the device includes:
[0034] An instruction sending unit, configured to send a calibration instruction to the controller if the host computer determines that the energy storage value of the energy storage component is not less than the target energy storage value of the energy storage component and the host computer detects that the voltage operating state of the controller is normal;
[0035] A current sending unit, configured to: when the controller responds to a calibration instruction and detects that the voltage at the controller sampling port is within a preset port voltage range, turn on the control circuit of the controller, so that the energy storage component releases a pulsed current according to a pulse time, where the pulse time is obtained based on a target peak current and the corresponding relationship between the peak current and the pulse time in a preset linear function, and the target peak current is set during the product design of the product to be calibrated;
[0036] A current acquisition unit, configured to: the controller receives a first peak current of the controller sent by the host computer and a second peak current of the controller sent by an internal current sensor of the controller, where the first peak current is acquired by an external current sensor at an external current acquisition rate, and the second peak current is acquired by the internal current sensor at an internal current acquisition rate;
[0037] A current comparison unit, configured to: the controller compares the first peak current and the second peak current to obtain an error value between the first peak current and the second peak current.
[0038] According to a fourth aspect of the present disclosure, there is provided an electronic device, including:
[0039] At least one processor; and
[0040] A memory communicatively connected to the at least one processor; wherein,
[0041] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the method of the foregoing second aspect.
[0042] According to a fifth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause a computer to execute the method of the foregoing second aspect.
[0043] According to a sixth aspect of the present disclosure, there is provided a vehicle, including the current calibration device of the foregoing third aspect or the electronic device of the foregoing fourth aspect.
[0044] According to an embodiment of the present disclosure, if the host computer determines that the energy storage value of the energy storage component is not less than the target energy storage value of the energy storage component and the host computer detects that the voltage operating state of the controller is normal, the host computer sends a calibration instruction to the controller; in response to the calibration instruction, if the controller detects that the voltage at the controller sampling port is within the preset port voltage range, the controller turns on the control circuit so that the energy storage component releases a pulse current according to the pulse time, and the pulse time is obtained based on the target peak current and the corresponding relationship between the peak current and the pulse time in the preset linear function, and the target peak current is set during the product design of the product to be calibrated; the controller receives the first peak current of the controller sent by the host computer and the second peak current of the controller sent by the internal current sensor of the controller, the first peak current is collected by the external current sensor at the external current collection rate, and the second peak current is collected by the internal current sensor at the internal current collection rate; the controller compares the first peak current and the second peak current to obtain the error value between the first peak current and the second peak current, so as to use the energy storage component to replace the regulated power supply to provide a pulse current for the product to be calibrated for current calibration, thereby avoiding the problems of large heat generation and high equipment power requirements caused by using a regulated power supply during the current calibration process.
[0045] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The drawings are used to better understand the solution and do not constitute a limitation to the present disclosure. Among them:
[0047] Figure 1 It is a schematic diagram of a current calibration system provided by an embodiment of the present disclosure;
[0048] Figure 2 It is a schematic flowchart of a current calibration method provided by an embodiment of the present disclosure;
[0049] Figure 3 It is a schematic flowchart of a current calibration method provided by an embodiment of the present disclosure;
[0050] Figure 4 It is a schematic flowchart of a current calibration method using a capacitor for power supply provided by an embodiment of the present disclosure;
[0051] Figure 5 It is a hardware block diagram of a current calibration using a capacitor for power supply provided by an embodiment of the present disclosure;
[0052] Figure 6 It is a schematic structural diagram of a current calibration device provided by an embodiment of the present disclosure;
[0053] Figure 7 Schematic block diagram of the exemplary electronic device 700 provided by the embodiments of the present disclosure. Detailed implementation manners
[0054] The following describes exemplary embodiments of the present disclosure with reference to the accompanying drawings. Various details of the embodiments of the present disclosure are included to facilitate understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0055] A current calibration method, apparatus, electronic device, and storage medium according to embodiments of the present disclosure will be described below with reference to the accompanying drawings.
[0056] To solve the problems of related technologies, the present disclosure pre-determines the energy storage capacity of the energy storage component required during the current calibration process and the current acquisition rate corresponding to the target peak current according to the design requirements of the product to be calibrated, and realizes current calibration by releasing a pulsed current that meets the target peak current through the energy storage component, so as to replace the regulated power supply with the energy storage component to perform current calibration on the product to be calibrated, and avoid the problems of large heat generation and high equipment power requirements caused by using a regulated power supply during the current calibration process.
[0057] A current calibration system, method, apparatus, electronic device, storage medium, vehicle, and program product proposed by the present disclosure will be described in detail below with reference to the accompanying drawings.
[0058] Figure 1 Schematic diagram of a current calibration system provided in an embodiment of the present disclosure. As Figure 1 shown, the system includes:
[0059] A current calibration circuit 1 and a product 2 to be calibrated, and the current calibration circuit 1 is connected to the product 2 to be calibrated;
[0060] The current calibration circuit 1 includes a host computer 11, a high-voltage power supply 12, an energy storage component 13, and an external current sensor 14, and the product 2 to be calibrated includes a controller 21 and an internal current sensor 22;
[0061] The host computer 11 is connected to the controller 21;
[0062] The high-voltage power supply 12 is connected to the energy storage component 13, and the high-voltage power supply 12 is used to charge the energy storage component 13;
[0063] The external current sensor 14 is respectively connected to the host computer 11 and the controller 21. The external current sensor 14 is used to detect the first peak current of the controller 21 and send the first peak current to the host computer 11, and the host computer 11 is used to send the first peak current to the controller 21;
[0064] The internal current sensor 22 is connected to the controller 21. The internal current sensor 22 is used to detect the second peak current of the controller 21 and send the second peak current to the controller 21 so that the controller 21 can determine the error value between the first peak current and the second peak current.
[0065] Based on Figure 1 the current calibration system shown, Figure 2 is a schematic flowchart of a current calibration method provided by an embodiment of the present disclosure. As Figure 2 shown, the method includes the following steps:
[0066] Step 101, if the host computer determines that the energy storage value of the energy storage component is not less than the target energy storage value of the energy storage component, and the host computer detects that the voltage working state of the controller is normal, then send a calibration instruction to the controller.
[0067] In an implementation manner of the present disclosure, after the high-voltage power supply in the current calibration circuit charges the energy storage component, the host computer can detect the energy storage value of the current energy storage component and determine whether the energy storage value is not less than (i.e., greater than or equal to) the target energy storage value. If the host computer determines that the energy storage value of the current energy storage component is not less than the target energy storage value, at this time, the host computer detects whether the voltage working state of the controller of the product to be calibrated is normal. If the voltage working state is normal, then send a calibration instruction to the controller.
[0068] The energy storage component is a component that can store energy and release pulsed current when needed. The calibration instruction refers to a calibration interrupt signal, which is used to make the controller enter the current calibration mode for current calibration.
[0069] It should be noted that the target energy storage value is pre-calculated according to the target peak current in the preset function relationship, and the target peak current is set by analyzing the design requirements of the product to be calibrated. The design requirements of the product to be calibrated may include the specific application scenarios and performance requirements of the product to be calibrated.
[0070] The purpose of the present disclosure to determine whether the energy storage value of the energy storage component is not less than the target energy storage value is to determine whether the pulsed current released by the current energy storage component can reach the target peak current. The purpose of the present disclosure to determine whether the voltage working state of the controller is normal is to determine whether the current controller can work normally.
[0071] Step 102: In response to the calibration instruction, if the controller detects that the voltage at the controller sampling port is within the preset port voltage range, the controller turns on the control circuit to enable the energy storage component to release pulsed current according to the pulse time.
[0072] In the present disclosure, the pulse time is obtained based on the correspondence between the peak current and the pulse time in the preset linear function, and the target peak current is set by analyzing the design requirements of the product to be calibrated.
[0073] Among them, the preset linear function is an approximately linear function corresponding to the peak current and the pulse time obtained by continuously experimenting with the initial pulse time (such as 50 us) according to the preset time step (such as 100 us) and different peak currents in the experimental environment by pre-constructing a test bench and installing the corresponding silicon carbide power module, and fitting the experimental data. The pulse time is obtained by substituting the target peak current into this preset linear function to obtain the pulse time corresponding to the target peak current.
[0074] The target peak current belongs to the functional definition of the product and is directly set during the product design of the product to be calibrated.
[0075] In an implementation manner of the present disclosure, in response to the calibration instruction sent by the host computer, the controller enters the current calibration mode at this time. The controller detects whether the voltage at the controller sampling port of the controller itself is within the preset port voltage range. If the voltage is within the preset port voltage range, the control circuit of the current controller is turned on at this time to enable the energy storage component to release pulsed current according to the pulse time. Among them, the pulsed current is obtained by the energy storage component with an energy storage value releasing current according to the pulse time. Since the present disclosure needs to limit the magnitude of the energy storage value, the peak current generated by the controller through this pulsed current can reach the target peak current.
[0076] Step 103: The controller receives the first peak current of the controller sent by the host computer and the second peak current of the controller sent by the internal current sensor of the controller. The first peak current is collected by the external current sensor at the external current collection rate, and the second peak current is collected by the internal current sensor at the internal current collection rate.
[0077] In an embodiment of the present disclosure, the host computer receives the first peak current of the controller collected by the external current sensor and sends the first peak current to the controller. The controller receives the first peak current and obtains the second peak current through the internal current sensor inside the controller.
[0078] Among them, the external current sensor is a current sensor for high-precision external devices. The current resolution of the external current sensor can be calculated by multiplying the target peak current and the target sampling accuracy. At the same time, the external current acquisition rate and the internal current acquisition rate corresponding to the external current sensor and the internal current sensor need to analyze the design requirements of the product to be calibrated and are determined based on the limitations of the external minimum acquisition rate and the internal minimum acquisition rate. The external minimum acquisition rate and the internal minimum acquisition rate are calculated using the target sampling accuracy and the target peak current in the rate calculation formula. The target sampling accuracy is also determined by analyzing the design requirements of the product to be calibrated.
[0079] Step 104, the controller compares the first peak current and the second peak current to obtain the error value between the first peak current and the second peak current.
[0080] In some embodiments of the present disclosure, the controller compares the first peak current and the second peak current, and through an error algorithm, calculates the error value between the first peak current and the second peak current.
[0081] Among them, after obtaining the error value, the present disclosure can execute corresponding algorithm compensation strategies by analyzing the error cause of the error value.
[0082] Therefore, according to the embodiments of the present disclosure, if the upper computer determines that the energy storage value of the energy storage component is not less than the target energy storage value of the energy storage component, and the upper computer detects that the voltage working state of the controller is normal, then the upper computer sends a calibration instruction to the controller; in response to the calibration instruction, if the controller detects that the voltage at the controller sampling port is within the preset port voltage range, the controller turns on the control circuit of the controller to enable the energy storage component to release pulsed current according to the pulse time, and the pulse time is obtained based on the target peak current and the corresponding relationship between the peak current and the pulse time in the preset linear function, and the target peak current is set when the product to be calibrated is designed; the controller receives the first peak current of the controller sent by the upper computer and the second peak current of the controller sent by the internal current sensor of the controller, the first peak current is collected by the external current sensor through the external current acquisition rate, and the second peak current is collected by the internal current sensor through the internal current acquisition rate; the controller compares the first peak current and the second peak current to obtain the error value between the first peak current and the second peak current, realizing using the energy storage component to replace the regulated power supply to provide pulsed current for the product to be calibrated for current calibration, thereby avoiding the problems of large heat generation and high equipment power requirements caused by using the regulated power supply for power supply during the current calibration process.
[0083] Figure 3 It is a schematic flowchart of a current calibration method provided by an embodiment of the present disclosure. Figure 3 Based on Figure 2For the embodiment shown, step 101 is further defined. In Figure 3 the embodiment shown, steps 201 and 202 are included before step 101. As Figure 3 shown, the method includes the following steps.
[0084] Step 201, determine the target energy storage value of the energy storage component, and determine the charging time corresponding to the target energy storage value according to the power supply parameters of the high-voltage power supply. The target energy storage value is used to release a pulsed current to generate a target peak current.
[0085] In some embodiments of the present disclosure, the energy storage component may specifically include a capacitor, an inductor, etc. A capacitor can store electric charges and release current when needed, while an inductor can store magnetic field energy and release current when needed. The present disclosure can also perform current calibration by using a pulsed power supply to provide a pulsed current. The cost of implementing current calibration by using the energy storage component to provide a pulsed current in the present disclosure is lower.
[0086] In some embodiments of the present disclosure, determining the target energy storage value of the energy storage component in the current calibration circuit includes: determining the initial energy storage value of the energy storage component, and determining the initial peak current corresponding to the initial energy storage value according to a preset functional relationship; comparing the magnitudes of the initial peak current and the target peak current; if the initial peak current is different from the target peak current, then adjust the initial energy storage value sequentially according to a preset step size to adjust the initial energy storage value to the target energy storage value corresponding to the target peak current.
[0087] Among them, the preset functional relationship is a linear or non-linear functional relationship between the energy storage value and the peak current obtained by continuously verifying through the pre-connected circuit layout of the current calibration circuit. The preset step size refers to the parameter adjustment interval for adjusting the energy storage value preset during experiments or simulations.
[0088] In an alternative embodiment of the present disclosure, the target energy storage value can be determined by a simulation algorithm. The simulation algorithm may specifically be Simulink. Simulink is a module of MATLAB, which provides a graphical-based simulation environment and can be used to simulate dynamic systems, circuits, etc. In the simulation of current calibration, Simulink can be used to establish a model of the current calibration circuit and perform simulation and optimization using it.
[0089] Specifically, in Simulink, the behavior of the current calibration circuit can be simulated by establishing a model including a capacitor, a current source, and other related components. Then, the simulation function of Simulink can be used to simulate the operation of the circuit, observe and record the peak current generated by the energy storage value of the energy storage component. By adjusting the initial energy storage value of the energy storage component and other related parameters, the target energy storage value that meets the target peak current can be simulated and determined.
[0090] Step 202, charge the energy storage element with a high-voltage power supply for a charging time.
[0091] In some embodiments of the present disclosure, connect the high-voltage power supply in the circuit calibration circuit to the energy storage element, and charge the energy storage element with the high-voltage power supply in the current calibration circuit for a charging time. If the charging time ends, disconnect the connection between the high-voltage power supply and the energy storage element at this time to stop charging.
[0092] Step 203, if the host computer determines that the energy storage value of the energy storage element is not less than the target energy storage value of the energy storage element, and the host computer detects that the voltage working state of the controller is normal, then send a calibration instruction to the controller.
[0093] In some embodiments of the present disclosure, the host computer detecting that the voltage working state of the controller of the product to be calibrated is normal includes: the host computer detecting the voltage working state of the controller, and the voltage state includes a low-voltage power supply state and a high-voltage power supply state; if the low voltage in the low-voltage power supply state is within the preset low-voltage range, and the high voltage in the high-voltage power supply state is within the preset high-voltage range, then it is determined that the voltage working state of the controller is normal. Among them, the low-voltage power supply state refers to the state in which the controller operates at a lower working voltage. In this state, the power consumption of the controller is lower, but it can still work normally and execute the expected functions. The high-voltage power supply state refers to the state in which the controller operates at a higher working voltage. In this state, the controller requires a higher voltage and current to maintain normal operation to meet the requirements of the device or system.
[0094] The preset low-voltage range is determined by analyzing the design requirements of the product to be calibrated and the performance parameters of the controller, and according to the power supply parameters of the high-voltage voltage. For example, the voltage parameters of the high-voltage power supply are 150V and 10A. At this time, by analyzing the design requirements of the product to be calibrated and the performance parameters of the controller, it can be determined that the low voltage of the controller needs to be 12V or 14V, and the high voltage needs to be 150V. Considering the possible errors, the preset high-voltage range and preset low-voltage range can be set according to the determined high voltage and low voltage within the allowable error range.
[0095] The controller may specifically be a microcontroller unit (MCU) in the controller.
[0096] Step 204, in response to the calibration instruction, if the controller detects that the voltage at the controller sampling port is within the preset port voltage range, then turn on the control circuit of the controller to enable the energy storage element to release a pulse current according to the pulse time.
[0097] In the present disclosure, the pulse time is determined by analyzing the target peak current to obtain the pulse signal characteristic parameters, and according to the pulse signal characteristic parameters. The target peak current is determined by analyzing the design requirements of the product to be calibrated.
[0098] In some embodiments of the present disclosure, the controller sampling port refers to the AD sampling port in the controller. The controller determines whether the voltage of the current port is within a preset port voltage range by reading the voltage of the controller sampling port. If the voltage is within the preset port voltage range, the control current of the controller is turned on at this time to enable the energy storage component to release a pulse current.
[0099] Among them, the preset port voltage range can be preset according to the power parameters of the current high-voltage power supply. For example, the power parameters of the high-voltage power supply are 150V and 10A. Since the controller is connected to the current calibration circuit, a series of conversions will be performed inside the controller to transmit the voltage of 150V to the controller sampling port. Therefore, the present disclosure can determine the preset port voltage range based on the 150V voltage and the allowable error range.
[0100] In an alternative embodiment of the present disclosure, since the current calibration method can be applied to new energy vehicles, and most new energy vehicles use three-phase alternating current, when the controller detects that the voltage of the controller sampling port is within the preset port voltage range, the controller can control the movement of the upper and lower bridge arms of the three phases, and sequentially turn on the circuits of the three phases respectively, so that the energy storage components in the circuits of the currently turned-on phases release pulse currents according to the pulse time. Thus, the current calibration of the three phases is realized in sequence.
[0101] Step 205, the controller receives the first peak current of the controller sent by the host computer and the second peak current of the controller sent by the internal current sensor of the controller. The first peak current is collected by the external current sensor at the external current collection rate, and the second peak current is collected by the internal current sensor at the internal current collection rate.
[0102] In some embodiments of the present disclosure, before the controller receives the first peak current of the controller collected by the external current sensor sent by the host computer and obtains the second peak current of the controller collected by the internal current sensor of the controller, it includes: using the rate calculation formula to multiply the pulse time by the target sampling accuracy to determine the sampling time corresponding to the pulse time; inputting the sampling time into the rate calculation formula to determine the external minimum collection rate and the internal minimum collection rate corresponding to the external current sensor and the internal current sensor; analyzing the design requirements of the product to be calibrated to determine the external current collection rate not less than the external minimum collection rate and the internal current collection rate not less than the internal minimum collection rate; the internal current sensor and the external current sensor collect the first current peak and the second peak current of the controller according to the external current collection rate and the internal current collection rate. The target sampling accuracy belongs to the function definition of the product and is directly set during the product design of the product to be calibrated.
[0103] Among them, the rate calculation formula is: current collection rate = 1 / sampling time.
[0104] Meanwhile, to improve the accuracy of current sampling of the external current sensor, the present disclosure further includes: multiplying the target sampling accuracy by the target peak current to determine the maximum current resolution of the external current sensor, and determining a current resolution not greater than the maximum current resolution according to the maximum current resolution and the current sampling requirements of the product to be calibrated, so that the external current sensor samples the first peak current according to the current resolution, and the current resolution represents the sampling accuracy of the current sampling device.
[0105] For example, according to the design requirements of the product to be calibrated, the target peak current is determined to be 650 A and the target sampling accuracy is 1%. At this time, the maximum current resolution of the external current sensor can be calculated as 650 * 1% = 6.5 A. Then, according to the design requirements of the product to be calibrated, the current resolution of the external current sensor can be determined, and this current resolution needs to be less than or equal to 6.5 A.
[0106] Meanwhile, since the entire pulse time is determined to be 1100 us according to the design requirements of the product to be calibrated and the target peak current, the present disclosure can calculate the sampling time through 1100 * 1% = 11 us, and this sampling time can be the minimum sampling time. The external minimum acquisition rate can be calculated through 1 / 11 = 91 kHz according to the calculated sampling time. Similarly, the internal minimum acquisition rate is calculated by the same method as the external minimum acquisition rate, where the target peak current corresponding to the internal minimum acquisition rate is limited by the maximum current that the controller can generate.
[0107] Step 206, the controller compares the first peak current with the second peak current to obtain the error value between the first peak current and the second peak current.
[0108] In some embodiments of the present disclosure, the controller calculates the error value between the first peak current and the second peak current through an error algorithm by comparing the first peak current with the second peak current.
[0109] Specifically, according to the first peak current and the second peak current, and in combination with an error algorithm (such as the linear equation y = Ax + B), the current curve can be fitted to calculate the corresponding linear equation, and the slope A and the offset B are obtained, where the offset B is the error value in the present disclosure.
[0110] In some embodiments of the present disclosure, the controller compares the first peak current and the second peak current to obtain an error value between the first peak current and the second peak current. Subsequently, it further includes: analyzing the error value and executing a corresponding algorithm compensation strategy according to the error cause corresponding to the error value. The algorithm compensation strategy refers to a compensation strategy on a software program executed according to the current error cause, and this algorithm compensation strategy is determined according to the actually analyzed error cause and is not limited in the embodiments of the present disclosure.
[0111] In addition, the present disclosure further includes: performing anti-interference processing on the current calibration circuit, and the anti-interference processing is used to reduce the interference of external electromagnetic signals on the current signal. Specifically, the anti-interference processing may include adding shielding, adding magnetic beads, reducing wire length, replacing wire materials, etc.
[0112] In summary, according to the design requirements of the product to be calibrated, the present disclosure determines the target energy storage value of the energy storage component required during the current calibration process and the current acquisition rate of the peak current, and realizes using the energy storage component to replace the regulated power supply to provide electrical energy for the product to be calibrated for current calibration, avoiding the problems of large heat generation and high equipment power requirements caused by using a regulated power supply for power supply during the current calibration process.
[0113] Based on Figure 1 、 Figure 2 、 Figure 3 the above-described embodiments, since the energy storage component can be a capacitor, such as Figure 4 the flowchart of a method for current calibration using capacitor power supply provided by the present disclosure shown in Figure 5 and the hardware block diagram of a current calibration using capacitor power supply provided by the present disclosure shown in
[0114] In some embodiments of the present disclosure, the current calibration circuit can be electrically connected with reference to the Figure 4 hardware block diagram shown. The host computer is connected to the high-voltage power supply A2, the high-voltage power supply is connected to the bus capacitor C1 through the bus switch K1, and the bus capacitor C1 is connected to the tray connector through the bus switch K2 to be connected to the controller of the product to be calibrated through the tray connector. Among them, the current calibration current may further include a mixed-signal test box and a voltage test control box, and the mixed-signal test box and the voltage test control box are used for auxiliary judgment during the current calibration process. The specific implementation method is the same as the existing auxiliary judgment method and will not be elaborated in the present disclosure.
[0115] The high-voltage power supply in the circuit calibration circuit can charge the capacitor with a pre-determined charging time of 2000 ms. If the host computer determines that the capacitance value of the current capacitor reaches the target capacitance value and detects that the voltage state of the device under test (controller) is normal, the host computer sends a calibration instruction to the device under test. In response to the calibration instruction, the device under test detects whether the voltage of its own controller sampling port is within the preset port voltage range. If the voltage is within the preset port voltage range and the communication connection between the device under test and the host computer is normal, at this time, the device under test determines that it meets the calibration conditions, and the device under test controls the upper and lower bridge arms of the U / V / W three phases to move, so that the control circuit of one of the current three phases is turned on, so that the capacitor releases a pulsed current. The host computer sends the first current peak value detected by the external current sensor to the device under test. The device under test will also read the second current peak value of itself through the internal sensor. The device under test calculates the slope and offset of the current calibration by comparing the first current peak value and the second current peak value, and uses the offset as the error value, thereby completing the current calibration.
[0116] Corresponding to the above-mentioned current calibration method, the present disclosure also proposes a current calibration device. Figure 6 It is a schematic structural diagram of a current calibration device 600 provided by an embodiment of the present disclosure. As Figure 6 shown, the device includes:
[0117] An instruction sending unit 610, configured to send a calibration instruction to the controller if the host computer determines that the energy storage value of the energy storage component is not less than the target energy storage value of the energy storage component and the host computer detects that the voltage working state of the controller is normal;
[0118] A current sending unit 620, configured to, in response to the calibration instruction, if the controller detects that the voltage of the controller sampling port is within the preset port voltage range, turn on the control circuit of the controller, so that the energy storage component releases a pulsed current according to the pulse time, and the pulse time is obtained by analyzing the target peak current to obtain the pulse signal characteristic parameters and determined according to the pulse signal characteristic parameters, and the target peak current is set when the product to be calibrated is designed;
[0119] A current acquisition unit 630, configured to receive, by the controller, the first peak current of the controller sent by the host computer and the second peak current of the controller sent by the internal current sensor of the controller, where the first peak current is collected by the external current sensor at the external current acquisition rate, and the second peak current is collected by the internal current sensor at the internal current acquisition rate;
[0120] A current comparison unit 640, configured to compare the first peak current and the second peak current by the controller to obtain the error value between the first peak current and the second peak current.
[0121] In some embodiments, the device 600 further includes: an energy storage value determination unit, configured to determine the target energy storage value of the energy storage component and determine the charging time corresponding to the target energy storage value according to the power supply parameters of the high-voltage power supply before sending a calibration instruction to the controller if the host computer determines that the energy storage value of the energy storage component is not less than the target energy storage value of the energy storage component and the host computer detects that the voltage working state of the controller is normal, where the target energy storage value is used to release a pulsed current to generate a target peak current; and charge the energy storage component with the high-voltage power supply for the charging time.
[0122] In some embodiments, the energy storage value determination unit is configured to: determine the initial energy storage value of the energy storage component and determine the initial peak current corresponding to the initial energy storage value according to a preset functional relationship; compare the magnitudes of the initial peak current and the target peak current; and if the initial peak current is different from the target peak current, adjust the initial energy storage value sequentially according to a preset step to adjust the initial energy storage value to the target energy storage value corresponding to the target peak current.
[0123] In some embodiments, the instruction sending unit 610 is configured to: the host computer detects the voltage working state of the controller, where the voltage working state includes a low-voltage power supply state and a high-voltage power supply state; and if the low voltage in the low-voltage power supply state is within a preset low-voltage range and the high voltage in the high-voltage power supply state is within a preset high-voltage range, determine that the voltage working state of the controller is normal.
[0124] In some embodiments, the device 600 further includes: a sampling rate determination unit, configured to, before the controller receives the first peak current of the controller sent by the host computer and the second peak current of the controller sent by the internal current sensor of the controller, multiply the pulse time by the target sampling accuracy using a rate calculation formula to determine the sampling time corresponding to the pulse time, where the target sampling accuracy is set during the product design of the product to be calibrated; input the sampling time into the rate calculation formula to determine the external minimum sampling rate and the internal minimum sampling rate corresponding to the external current sensor and the internal current sensor; analyze the design requirements of the product to be calibrated to determine an external current sampling rate not less than the external minimum sampling rate and an internal current sampling rate not less than the internal minimum sampling rate; and the internal current sensor and the external current sensor collect the first current peak and the second peak current of the controller according to the external current sampling rate and the internal current sampling rate.
[0125] In some embodiments, the sampling rate determination unit is configured to: multiply the target sampling accuracy by the target peak current to determine the maximum current resolution of the external current sensor, and determine a current resolution not greater than the maximum current resolution according to the maximum current resolution and the current sampling requirements of the product to be calibrated, so that the external current sensor collects the first peak current according to the current resolution, where the current resolution represents the sampling accuracy of the external current sensor.
[0126] According to an embodiment of the present disclosure, if the host computer determines that the energy storage value of the energy storage component is not less than the target energy storage value of the energy storage component and the host computer detects that the voltage operating state of the controller is normal, the host computer sends a calibration instruction to the controller; in response to the calibration instruction, if the controller detects that the voltage at the controller sampling port is within the preset port voltage range, the controller turns on the control circuit of the controller so that the energy storage component releases a pulsed current according to a pulse time, and the pulse time is obtained based on the target peak current and the corresponding relationship between the peak current and the pulse time in the preset linear function, and the target peak current is set during the product design of the product to be calibrated; the controller receives the first peak current of the controller sent by the host computer and the second peak current of the controller sent by the internal current sensor of the controller, the first peak current is collected by the external current sensor at the external current collection rate, and the second peak current is collected by the internal current sensor at the internal current collection rate; the controller compares the first peak current and the second peak current to obtain the error value between the first peak current and the second peak current, realizing the use of the energy storage component to replace the regulated power supply to provide a pulsed current for the product to be calibrated for current calibration, thereby avoiding the problems of large heat generation and high equipment power requirements caused by using a regulated power supply for power supply during the current calibration process.
[0127] It should be noted that since the device embodiment of the present disclosure corresponds to the above method embodiment, the foregoing explanation of the method embodiment also applies to the device of this embodiment, with the same principle. For the details not disclosed in the device embodiment, reference may be made to the above method embodiment, and the present disclosure will not elaborate further.
[0128] According to an embodiment of the present disclosure, the present disclosure provides a vehicle, and the foregoing current calibration method can be applied to the vehicle, and the above current calibration device can be configured in the vehicle.
[0129] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0130] Figure 7 FIG. shows a schematic block diagram of an exemplary electronic device 600 that can be used to implement the embodiments of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as, for example, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, for example, a personal digital processor, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0131] As Figure 7As shown, device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to computer programs stored in a ROM (Read-Only Memory) 702 or computer programs loaded from a storage unit 708 into a RAM (Random Access Memory) 703. In the RAM 703, various programs and data required for the operation of device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An I / O (Input / Output) interface 705 is also connected to the bus 704.
[0132] Multiple components in device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a magnetic disk, an optical disc, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows device 700 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0133] The computing unit 701 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include but are not limited to a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 701 executes the various methods and processes described above, such as the method of current calibration. For example, in some embodiments, the method of current calibration can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 708. In some embodiments, part or all of the computer program can be loaded and / or installed onto device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the method described above can be executed. Alternatively, in other embodiments, the computing unit 701 can be configured to execute the aforementioned method of current calibration in any other appropriate way (e.g., by means of firmware).
[0134] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuitry, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chip), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from a storage system, at least one input device, and at least one output device, and transmits the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0135] The program code for implementing the methods of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the program codes are executed by the processor or controller, the functions / operations specified in the flowchart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, executed partially on the machine and partially on a remote machine as an independent software package, or executed entirely on a remote machine or server.
[0136] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a RAM, a ROM, an EPROM (Electrically Programmable Read-Only-Memory), or a flash memory, an optical fiber, a CD-ROM (Compact Disc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0137] In order to provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or an LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0138] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, and a blockchain network.
[0139] A computer system may include a client and a server. The client and the server are generally far from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system or a server combined with a blockchain.
[0140] Among them, it should be noted that artificial intelligence is a discipline that studies enabling a computer to simulate certain thinking processes and intelligent behaviors of humans (such as learning, reasoning, thinking, planning, etc.), and there are both hardware-level technologies and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include several major directions such as computer vision technology, speech recognition technology, natural language processing technology, and machine learning / deep learning, big data processing technology, and knowledge graph technology.
[0141] It should be understood that various forms of processes shown above can be used, reordering, adding, or deleting steps. For example, the steps recorded in the present disclosure can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and no limitations are imposed herein.
[0142] The above specific embodiments do not constitute a limitation on the protection scope of the present disclosure. 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. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present disclosure shall be included within the protection scope of the present disclosure.
Claims
1. A current calibration system, characterized in that, The system includes: a current calibration circuit and a product to be calibrated, the current calibration circuit being connected to the product to be calibrated; the current calibration circuit includes a host computer, a high-voltage power supply, an energy storage component, and an external current sensor, and the product to be calibrated includes a controller and an internal current sensor; the host computer is connected to the controller; the high-voltage power supply is connected to the energy storage component, and the high-voltage power supply is used to charge the energy storage component; the external current sensor is respectively connected to the host computer and the controller, the external current sensor is used to detect a first peak current of the controller, and send the first peak current to the host computer, and the host computer is used to send the first peak current to the controller; the internal current sensor is connected to the controller, the internal current sensor is used to detect a second peak current of the controller, and send the second peak current to the controller, so that the controller determines an error value between the first peak current and the second peak current.
2. A current calibration method, characterized in that, The method is used for the current calibration system as described in claim 1, and the method includes: if the host computer determines that the energy storage value of the energy storage component is not less than the target energy storage value of the energy storage component, and the host computer detects that the voltage working state of the controller is normal, then send a calibration instruction to the controller; in response to the calibration instruction, if the controller detects that the voltage at the sampling port of the controller is within a preset port voltage range, then turn on the control circuit of the controller, so that the energy storage component releases a pulsed current according to a pulse time, and the pulse time is obtained according to the target peak current and the corresponding relationship between the peak current and the pulse time in a preset linear function, and the target peak current is set when the product to be calibrated conducts product design; the controller receives the first peak current of the controller sent by the host computer and the second peak current of the controller sent by the internal current sensor of the controller, the first peak current is collected by the external current sensor at an external current collection rate, and the second peak current is collected by the internal current sensor at an internal current collection rate; the controller compares the first peak current and the second peak current to obtain an error value between the first peak current and the second peak current.
3. The method according to claim 2, characterized in that, Before the step of if the host computer determines that the energy storage value of the energy storage component is not less than the target energy storage value of the energy storage component, and the host computer detects that the voltage working state of the controller is normal, then send a calibration instruction to the controller, it includes: determine the target energy storage value of the energy storage component, and determine the charging time corresponding to the target energy storage value according to the power supply parameters of the high-voltage power supply, and the target energy storage value is used to release a pulsed current to generate a target peak current; charge the energy storage component with the high-voltage power supply for the charging time.
4. The method according to claim 3, characterized in that, Determining the target energy storage value of the energy storage component includes: determine the initial energy storage value of the energy storage component, and determine the initial peak current corresponding to the initial energy storage value according to a preset function relationship; compare the magnitude of the initial peak current and the target peak current; If the initial peak current is different from the target peak current, the initial energy storage value is adjusted sequentially according to a preset step size to adjust the initial energy storage value to the target energy storage value corresponding to the target peak current.
5. The method according to claim 2, characterized in that, The host computer detecting that the voltage working state of the controller is normal includes: The host computer detects the voltage working state of the controller, and the voltage working state includes a low-voltage power supply state and a high-voltage power supply state; If the low voltage in the low-voltage power supply state is within a preset low-voltage range and the high voltage in the high-voltage power supply state is within the preset high-voltage range, it is determined that the voltage working state of the controller is normal.
6. The method according to claim 2, wherein Before the controller receives the first peak current of the controller sent by the host computer and the second peak current of the controller sent by the internal current sensor of the controller, it includes: Using a rate calculation formula, multiplying the pulse time by the target sampling accuracy to determine the sampling time corresponding to the pulse time, and the target sampling accuracy is set during the product design of the product to be calibrated; Inputting the sampling time into the rate calculation formula to determine the external minimum acquisition rate and the internal minimum acquisition rate corresponding to the external current sensor and the internal current sensor; Analyzing the design requirements of the product to be calibrated to determine an external current acquisition rate not less than the external minimum acquisition rate and an internal current acquisition rate not less than the internal minimum acquisition rate; The internal current sensor and the external current sensor collect the first current peak and the second peak current of the controller according to the external current acquisition rate and the internal current acquisition rate.
7. The method according to claim 6, wherein The method further includes: Multiplying the target sampling accuracy by the target peak current to determine the maximum current resolution of the external current sensor, and determining a current resolution not greater than the maximum current resolution according to the maximum current resolution and the current sampling requirements of the product to be calibrated, so that the external current sensor collects the first peak current according to the current resolution, and the current resolution represents the sampling accuracy of the external current sensor.
8. A current calibration device, characterized in that, The device includes: An instruction sending unit, configured to send a calibration instruction to the controller if the host computer determines that the energy storage value of the energy storage component is not less than the target energy storage value of the energy storage component and the host computer detects that the voltage working state of the controller is normal; A current sending unit, configured to, in response to the calibration instruction, if the controller detects that the voltage at the sampling port of the controller is within a preset port voltage range, turn on the control circuit of the controller, so that the energy storage component releases a pulse current according to a pulse time, and the pulse time is obtained according to the target peak current and the corresponding relationship between the peak current and the pulse time in a preset linear function, and the target peak current is set during the product design of the product to be calibrated; A current acquisition unit is configured to enable the controller to receive the first peak current of the controller sent by the host computer and the second peak current of the controller sent by the internal current sensor of the controller. The first peak current is acquired by the external current sensor at an external current acquisition rate, and the second peak current is acquired by the internal current sensor at an internal current acquisition rate; A current comparison unit is configured to enable the controller to compare the first peak current and the second peak current to obtain an error value between the first peak current and the second peak current.
9. An electronic device, characterized in that, Comprising: At least one processor; And A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method according to any one of claims 2-7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to execute the method according to any one of claims 2-7.
11. A vehicle, characterized in that, Comprising the current calibration device according to claim 8 or the electronic device according to claim 9.