Current sensor current precision test method, system and device and vehicle
By setting the temperature and inverter angle position in the environmental chamber, and combining a high-precision current sensor and a power analyzer, the current detection accuracy of the split-type current sensor is accurately evaluated, solving the problem of inaccurate current detection and ensuring the stability of the electric drive system of electric vehicles.
Patent Information
- Application Number
- CN202511640359.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-10
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2045-11-10
AI Technical Summary
In the existing technology, the current detection accuracy of split-type current sensors is inaccurate, and they cannot directly detect the actual current value, which affects the accuracy of the motor output torque and the overall performance.
By setting the ambient temperature, the inverter outputs current at a preset angle position in stall mode. Combined with a high-precision current sensor and a power analyzer, the average current values of the current sensor under test and the high-precision current sensor are collected and compared to determine the accuracy of the current sensor.
It enables accurate evaluation of split-type current sensors under full temperature range and full measurement range conditions, ensuring their stable and reliable operation in electric vehicle drive systems and solving the problem of inaccurate current detection accuracy.
Smart Images

Figure CN121477093A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power electronics technology, and more specifically, to a method, system, device, and vehicle for testing the current accuracy of a current sensor. Background Technology
[0002] In the electric drive system assembly of new energy passenger vehicles, current sensors play a crucial role, especially in the control stage of the motor inverter, where their detection accuracy directly affects the accuracy of the motor's output torque and overall performance. Traditional current detection solutions typically rely on high-cost current sensors. To reduce costs, a split-type current sensor is created by separating the Hall effect chip and the magnetic core structure and integrating them into other components, then assembling them to achieve the current detection function. However, the current detection function in the above-mentioned existing technology is based on the motor torque accuracy as the test closed loop, and does not directly detect the actual current value. Therefore, it is impossible to fully verify the current detection accuracy of the split-type current sensor.
[0003] No effective solution has yet been proposed to address the aforementioned technical issues. Summary of the Invention
[0004] This invention provides a method, system, device, and vehicle for testing the current accuracy of a current sensor, thereby at least solving the technical problem of inaccurate current detection accuracy of split-type current sensors in related technologies.
[0005] According to one embodiment of the present invention, a method for testing the current accuracy of a current sensor is provided, applied to a current sensor current accuracy testing system. The current sensor current accuracy testing system includes a three-phase line, an inverter, a three-phase inductive load, a power analyzer, a high-precision current sensor, and a host computer. The inverter contains a current sensor under test. The method includes: setting the temperature of an environmental chamber based on test requirements, wherein the test requirements include multiple test temperatures, and the environmental chamber is used to control and simulate test environmental conditions; in response to the temperature of the environmental chamber being stable, setting multiple preset angle positions for the current output of the inverter in stall mode, wherein the stall mode is used to simulate the operating environment of the inverter, and the current output is set at the preset angle positions. The inverter output current value in any phase line is set to the peak value of the inverter current. The inverter is controlled to output current to the three-phase inductive load according to a preset angle position and a preset interval, and the inverter is controlled to collect the first average current value. The preset interval is used to adjust the current transmission intensity, and the first average current value is used to represent the average current value of any phase line detected by the current sensor under test in a preset time period. The power analyzer is controlled to collect the second average current value. The second average current value is used to represent the average current value of any phase line detected by the high-precision current sensor in a preset time period. The current accuracy of the current sensor under test is determined by the host computer based on the first average current value and the second average current value.
[0006] Optionally, after setting the temperature of the environmental chamber based on the test requirements, determining that the temperature of the environmental chamber is in a stable state includes: acquiring the temperature value of the thermocouple based on the host computer, wherein the thermocouple is attached to the chip position of the current sensor under test; determining that the temperature of the environmental chamber is in a stable state in response to the temperature of the thermocouple reaching any test temperature; and setting the temperature of the environmental chamber based on the test requirements in response to the temperature of the thermocouple not reaching any test temperature.
[0007] Optionally, the current sensor current accuracy test method further includes: obtaining the operating temperature of the power module in the inverter, wherein the power module is used to control the switching action of the power switching device at a target frequency; in response to the temperature of the power module exceeding the target temperature threshold, lowering the water temperature of the coolant or lowering the switching frequency of the power switching device so that the current value output by the power module in the stall mode reaches the peak value of the inverter current; and controlling the inverter to output current to the three-phase inductive load at preset intervals.
[0008] Optionally, the current accuracy test method for the current sensor further includes: in response to the power module temperature not exceeding the target temperature threshold, determining whether the inverter output current reaches the inverter current peak value; in response to the inverter output current reaching the inverter current peak value, counting the number of preset angle positions tested to obtain a first value; in response to the first value being equal to the first target threshold, counting the number of temperatures tested to obtain a second value, wherein the first target threshold is used to represent the total number of preset angle positions; in response to the second value being equal to the second target threshold, the current accuracy test process of the current sensor under test ends, wherein the second target threshold is used to represent the total number of temperatures under test.
[0009] Optionally, the current sensor current accuracy test method further includes: in response to the inverter output current not reaching the inverter current peak value, controlling the inverter to output current to the three-phase inductive load at preset intervals; in response to the first value being less than the first target threshold, setting a preset angle position for the inverter current output; and in response to the second value being less than the second target threshold, setting the temperature of the environmental chamber based on test requirements.
[0010] According to one embodiment of the present invention, a current sensor current accuracy testing system is also provided for performing any of the above methods. The system includes: a battery simulator, a three-phase line, an inverter, a three-phase inductive load, a power analyzer, a high-precision current sensor, a host computer, a bench signal processor, a thermocouple, and an environmental chamber. The inverter contains a current sensor under test, and the thermocouple is attached to the chip position of the current sensor under test. The DC high-voltage positive and negative wire harnesses of the inverter pass through the environmental chamber and are connected to the battery simulator. The low-voltage signal of the inverter passes through the environmental chamber and is connected to the interactive interface of the bench signal processor. The output wire harness of the three-phase line passes through the environmental chamber and is connected to the three-phase inductive load. The high-precision current sensor is connected to the power analyzer through the three-phase line. The host computer is connected to the bench signal processor and the power analyzer respectively. The current signal of the sensor under test and the temperature signal of the thermocouple collected in the environmental chamber are uploaded to the host computer through the interactive interface of the bench signal processor.
[0011] According to one embodiment of the present invention, a current sensor current accuracy testing device is also provided, comprising: a first setting module, configured to set the temperature of an environmental chamber based on test requirements, wherein the test requirements include multiple test temperatures, and the environmental chamber is used to control and simulate test environmental conditions; a second setting module, configured to set multiple preset angle positions for the current output of the inverter in locked-rotor mode in response to the temperature of the environmental chamber being in a stable state, wherein the locked-rotor mode is used to simulate the operating environment of the inverter, and at the preset angle positions, the output current value of the inverter in any phase line is the peak value of the inverter current; a control module, configured to control the inverter to output current to the three-phase inductive load according to the preset angle positions and preset intervals, and to control the inverter to collect a first current average value, wherein the preset interval is used to adjust the current transmission intensity, and the first current average value is used to represent the average current value of any phase line detected by the current sensor under test in a preset time period; a collection module, configured to control a power analyzer to collect a second current average value, wherein the second current average value is used to represent the average current value of any phase line detected by a high-precision current sensor in a preset time period; and an analysis module, configured to determine the current accuracy of the current sensor under test by a host computer based on the first current average value and the second current average value.
[0012] According to one embodiment of the present invention, a vehicle is also provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes the current sensor current accuracy testing method described above during runtime.
[0013] According to one embodiment of the present invention, a computer-readable storage medium is also provided, wherein the storage medium stores a computer program, wherein the computer program is configured to execute the current sensor current accuracy testing method described above when running on a computer or processor.
[0014] According to one embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the current sensor current accuracy testing method of any of the above claims.
[0015] According to one embodiment of the present invention, a computer program product is also provided, including a computer program that, when executed by a processor, implements the current sensor current accuracy testing method described above.
[0016] In this embodiment of the invention, the temperature of the environmental chamber is first set based on testing requirements. Responding to the stable temperature of the environmental chamber, multiple preset angle positions are set for the inverter's current output in stall mode. Then, the inverter is controlled to output current to the three-phase inductive load according to the preset angle positions and preset intervals, and the inverter is controlled to collect a first average current value. Next, a power analyzer is controlled to collect a second average current value. Finally, the host computer determines the current accuracy of the current sensor under test based on the first and second average current values. This achieves the goal of accurately evaluating the current detection performance of the split-type current sensor under the full temperature range and full range of the inverter, thereby realizing closed-loop verification of the split-type current sensor under actual operating conditions, ensuring its stable and reliable operation in the electric drive system of electric vehicles, and thus solving the technical problem of inaccurate current detection accuracy of split-type current sensors in related technologies. Attached Figure Description
[0017] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings: Figure 1 This is a flowchart of a current sensor current accuracy testing method according to one embodiment of the present invention; Figure 2 This is a schematic diagram of a split-type current sensor structure according to one embodiment of the present invention; Figure 3 This is a schematic diagram of the production line calibration of a split-type current sensor according to one embodiment of the present invention; Figure 4 This is a schematic diagram of the peak stall current angle position according to one embodiment of the present invention; Figure 5 This is a structural diagram of a current sensor current accuracy testing system according to one embodiment of the present invention; Figure 6 This is a flowchart of the full-temperature-range full-scale current accuracy test according to one embodiment of the present invention; Figure 7This is a structural block diagram of a current sensor current accuracy testing device according to one embodiment of the present invention. Detailed Implementation
[0018] For ease of understanding, some concepts related to embodiments of the present invention are illustrated below for reference. Hall effect chips are semiconductor devices designed based on the Hall effect principle, used to detect magnetic field strength and convert it into an electrical signal. In a split-type current sensor, the Hall effect chip is vertically soldered onto a driver board. When placed in a magnetic field generated by a current, it can detect changes in the magnetic field and thus measure the current flowing through the conductor.
[0019] A magnetic core typically refers to a magnetic ring made of a material with high permeability, used to concentrate and enhance the magnetic field generated by an electric current, so that a Hall effect chip can more sensitively detect changes in the magnetic field. In this invention, the magnetic core is a C-shaped open magnetic ring structure made of grain-oriented silicon steel. When a conductive copper busbar passing through the magnetic core generates a magnetic field, it can quickly and accurately concentrate magnetic field lines to produce corresponding changes in magnetic induction intensity.
[0020] Full-temperature-range, full-scale current accuracy testing is a testing method designed to cover the entire temperature range (full temperature range) and all possible current magnitudes (full scale) of the current sensor's operation, ensuring the sensor's accuracy and reliability throughout its entire operating range. By performing multiple current accuracy tests on the current sensor at different temperatures, the performance stability of the current sensor under extreme conditions can be evaluated.
[0021] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0022] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. In the description of these embodiments, unless otherwise stated, "a plurality of" means two or more. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0023] According to one embodiment of the present invention, an embodiment of a current sensor current accuracy testing method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0024] This method embodiment can be executed in an electronic device, similar control device, or system that includes a memory and a processor. Taking an electronic device as an example, the electronic device may include one or more processors and a memory for storing data. Optionally, the electronic device may also include a communication device for communication functions and a display device. Those skilled in the art will understand that the above structural description is merely illustrative and does not limit the structure of the electronic device. For example, the electronic device may include more or fewer components than described above, or have a different configuration than described above.
[0025] A processor may include one or more processing units. For example, a processor may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a field-programmable gate array (FPGA), a neural network processing unit (NPU), a tensor processing unit (TPU), or an artificial intelligence (AI) processor. Different processing units may be independent components or integrated into one or more processors. In some instances, electronic devices may also include one or more processors.
[0026] The memory can be used to store computer programs, such as the computer program corresponding to the current sensor current accuracy testing method in this embodiment of the invention. The processor implements the aforementioned current sensor current accuracy testing method by running the computer program stored in the memory. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to electronic devices via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0027] Communication devices are used to receive or send data via a network. Specific examples of such networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the communication device includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the communication device may be a radio frequency (RF) module used for wireless communication with the Internet.
[0028] Display devices can be, for example, touchscreen liquid crystal displays (LCDs) and touch displays (also referred to as "touchscreens" or "touch displays"). The LCD allows users to interact with the user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), which allows users to interact with the GUI through finger contact and / or gestures on a touch-sensitive surface. Optional human-computer interaction functions include: creating web pages, drawing, word processing, creating electronic documents, playing games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital video, playing digital music, and / or web browsing, etc. Executable instructions for performing the above human-computer interaction functions are configured / stored in one or more processor-executable computer program products or readable storage media.
[0029] This embodiment provides a method for testing the current accuracy of a current sensor operating in an electronic device. Figure 1 This is a flowchart of a current sensor current accuracy testing method according to one embodiment of the present invention, such as... Figure 1 As shown, the current sensor current accuracy testing method is applied to a current sensor current accuracy testing system. The current sensor current accuracy testing system includes a three-phase line, an inverter, a three-phase inductive load, a power analyzer, a high-precision current sensor, and a host computer. The inverter contains the current sensor under test. The process includes the following steps: Step S10: Set the temperature of the environmental chamber based on the test requirements, wherein the test requirements include multiple temperatures to be tested, and the environmental chamber is used to control and simulate test environmental conditions. In this embodiment of the invention, the testing requirements include multiple test temperatures, such as testing the accuracy of the sensor at temperatures of -40℃, 0℃, 85℃, 105℃, etc., which are not limited here.
[0030] Three-phase lines typically refer to the lines corresponding to the three phase sequences in a three-phase AC power system, namely the U-phase line, V-phase line, and W-phase line.
[0031] Setting the temperature of the environmental chamber based on test requirements can be understood as pre-determining a series of temperature points to be measured according to test requirements, and then conducting current accuracy tests at these temperature points.
[0032] It can be seen that setting the temperature of the environmental chamber based on the testing requirements can ensure that the current sensor can provide reliable data under various temperature conditions.
[0033] Step S12: In response to the stable temperature of the environmental chamber, multiple preset angle positions of the inverter's current output in stall mode are set. The stall mode is used to simulate the inverter's operating environment. At the preset angle positions, the output current value of the inverter in any phase line is the peak value of the inverter current. In this embodiment of the invention, the preset angle position refers to the phase angle of the current output controlled in the inverter, so as to ensure that the current sensor under test can be in the most effective detection state when performing full-temperature-range full-scale current accuracy testing.
[0034] For example, in locked-rotor mode, the maximum output current of a certain phase is related to the current angle position. Only at the peak angle position of the sine waveform can the locked-rotor current output of that phase reach the peak value of the inverter current, thereby avoiding the deviation in test accuracy calculation caused by the sampling error introduced when using AC current testing.
[0035] In response to the stable temperature of the environmental chamber, setting multiple preset angle positions for the inverter's current output in locked-rotor mode can be understood as follows: in locked-rotor mode, when the temperature inside the environmental chamber reaches and remains at the stable temperature point required for testing, the inverter's control program will adjust the phase angle of the output current to a series of preset angle positions.
[0036] As can be seen, the above steps ensure that the current sensor can accurately detect the real current value at each current phase point of the inverter output.
[0037] Step S14: Control the inverter to output current to the three-phase inductive load according to the preset angle position and preset interval, and control the inverter to collect the first average current value. The preset interval is used to adjust the current transmission intensity, and the first average current value is used to represent the average current value of any phase line detected by the current sensor under test in the preset time period. In this embodiment of the invention, the preset interval refers to the step value or change in the inverter output current during current accuracy testing. For example, in a three-phase current accuracy test, a step current value of 20A is used within ±100A, and a step current value of 50A is used from 100A to the maximum stall current point. This step value is the preset interval, used to adjust and control the current transmission intensity, allowing the test to systematically cover different current levels from low to high, thereby obtaining a comprehensive evaluation of the current sensor performance.
[0038] The first average current refers to the result obtained by averaging the current data collected by the current sensor under test within a preset time period.
[0039] The preset time period refers to the length of time during which the inverter controls the current sensor under test to collect current data during the test.
[0040] Controlling the inverter to output current to the three-phase inductive load according to a preset angle position and preset interval, and controlling the inverter to collect the first average current value can be understood as controlling the inverter to deliver current to the three-phase inductive load according to a preset angle position and preset interval under stable ambient temperature conditions, controlling the inverter to collect current data within a preset time period, and then calculating the average value of the current data to obtain the first average current value.
[0041] As can be seen, through the above steps, the output data of the current sensor can be systematically collected under different current intensities, and the current gain coefficient and current curve can be further calculated to comprehensively evaluate the full-temperature-range and full-scale current accuracy of the split-type current sensor.
[0042] For example, Figure 2 This is a schematic diagram of a split-type current sensor structure according to one embodiment of the present invention, as shown below. Figure 2 As shown, the split-type current sensor is constructed based on an open-loop current detection structure using the Hall effect principle, comprising a Hall chip, a magnetic core, and external circuitry. The Hall chip is vertically soldered to the drive board of the motor inverter, and a chip sheath is used to enhance its vibration resistance. The chip pin height needs to be adjusted according to the center position of the air gap in the magnetic core. In the external circuitry, the chip pin Vcc is connected to a 5V power supply, GND (common ground) and Vref are grounded, and the Vout pin is the signal output connected to the sampling circuit. A CL-100nF decoupling capacitor is connected in parallel between Vcc and GND, a 1nF filter capacitor is connected in parallel between Vout and GND, and a 10kΩ dropout protection resistor is connected in parallel between Vout and GND. All three channels share the 5V power supply and GND. The magnetic core is a C-shaped open magnetic ring structure, using oriented silicon steel as the ring material. A high-voltage copper busbar passes through the center of the core; when current flows through the copper busbar, a magnetic field is induced in the core. The three-channel magnetic core and copper busbar are integrally injection molded to form the AC copper busbar assembly, ensuring accurate positioning of the copper busbar and magnetic core and reducing insufficient current accuracy caused by positional deviations. The installation of the driver board and AC copper busbar requires the Hall chip to be inserted into the air gap notch of the magnetic core through assembly to achieve current detection. Therefore, positional deviations during assembly will affect current detection accuracy. The driver board and AC copper busbar share a locating pin to ensure accurate positioning of the driver board and AC copper busbar, reducing changes in air gap magnetic induction intensity caused by positional errors of the chip in the center of the magnetic core air gap.
[0043] Step S16: Control the power analyzer to collect the second average current value, wherein the second average current value is used to represent the average current value of any phase line detected by a high-precision current sensor within a preset time period; In this embodiment of the invention, the second average current value is the average current value calculated by sampling the current detection value of any phase line multiple times within a preset time period using a high-precision current sensor.
[0044] The control of the power analyzer to collect the second average current value can be understood as follows: during the current accuracy test, the power analyzer continuously samples the current signal collected by the high-precision current sensor within a preset time period, and finally calculates the average current value within the preset time period, which is the second average current value.
[0045] As can be seen, the second average current value obtained through the above steps provides a current detection value independent of the current sensor under test, which can be used to compare and verify the detection accuracy of the current sensor under test.
[0046] Step S18: The host computer determines the current accuracy of the current sensor under test based on the first average current value and the second average current value.
[0047] In this embodiment of the invention, the determination of the current accuracy of the current sensor under test by the host computer based on the first average current value and the second average current value can be understood as the quantitative analysis of the detection accuracy of the current sensor under test by comparing the detection data (first average current value) of the current sensor under test (i.e., the split-type current sensor) with the detection data (second average current value) of the high-precision current sensor.
[0048] It can be seen that by comparing the average value of the first current and the average value of the second current with the host computer, the accuracy requirements of the current sensor under test can be met under various environmental and working conditions in inverter applications.
[0049] Through the above steps, the temperature of the environmental chamber is first set based on the test requirements. Responding to the stable temperature of the environmental chamber, multiple preset angle positions are set for the inverter's current output in locked-rotor mode. Then, the inverter is controlled to output current to the three-phase inductive load according to the preset angle positions and preset intervals, and the inverter is controlled to collect the first average current value. Next, the power analyzer is controlled to collect the second average current value. Finally, the host computer determines the current accuracy of the current sensor under test based on the first and second average current values. This achieves the goal of accurately evaluating the current detection performance of the split-type current sensor under the full temperature range and full range of the inverter, thus realizing closed-loop verification of the split-type current sensor under actual operating conditions, ensuring its stable and reliable operation in the electric drive system of electric vehicles, and solving the technical problem of inaccurate current detection accuracy of split-type current sensors in related technologies.
[0050] For example, Figure 3 This is a schematic diagram of a production line calibration for a split-type current sensor according to one embodiment of the present invention, as shown below. Figure 3 As shown, a production line calibration method is proposed. By short-circuiting the three phases without requiring a load, the difficulty of production line calibration is reduced, the construction cost of the production line is lowered, and energy consumption is reduced. Figure 3 In the configuration, a high-current constant current source is connected to the positive and negative terminals of the inverter. The three-phase copper busbars are short-circuited and connected to the inverter's low-voltage signal harness and cooling water pipes. The constant current source is required to have an output current accuracy of less than or equal to 0.1%. The constant current source output current is set to 400A. Using a specific calibration program, the upper arm of phase U and the lower arms of phases V and W are turned on, allowing a +400A current value to flow through the U-phase copper busbar. After stabilization, the inverter sends the corresponding digital signal value to the host computer. Similarly, the upper arms of phases V and W and the lower arm of phase U are turned on, allowing a -400A current value to flow through the U-phase copper busbar. After stabilization, the inverter sends the corresponding digital signal value to the host computer. When collecting the V-phase current value, the upper arm of phase V and the lower arms of phases U and W are turned on to collect the +400A V-phase current value, and the upper arms of phases U and W and the lower arm of phase V are turned on to collect the -400A V-phase current value. When collecting the W-phase current value, the upper bridge arm of the W-phase and the lower bridge arms of the U and V phases are turned on to collect the +400A current value of the W-phase. Conversely, the upper bridge arms of the U and V phases and the lower bridge arm of the W-phase are turned on to collect the -400A current value of the W-phase. The 400A value needs to be confirmed based on the power module's conduction loss limit. In principle, the larger the selected current value, the higher the accuracy within the calibrated effective current range.
[0051] Next, with the horizontal axis representing the current value and the vertical axis representing the digital signal value, and the two points forming a straight line, calculate the current gain k: The value of 800 needs to be adjusted based on the actual current selection point.
[0052] Using the digital signal value corresponding to the zero current point within 1 second of each power-on as the reference point b of the current curve, the current curve is calculated as follows: Figure 4 This is a schematic diagram of the peak stall current angle position according to one embodiment of the present invention, as shown below. Figure 4 As shown, the U-phase current accuracy test positions are positions 1 and 4, the V-phase current accuracy test positions are positions 2 and 5, and the W-phase current accuracy test positions are positions 3 and 6. For example, at position 1, the U-phase positive current accuracy is tested, with the U-phase current value set from 0 to the maximum positive stall current value. At position 4, the U-phase negative current accuracy is tested, with the U-phase current value set from 0 to the maximum negative stall current value. The current intervals are performed according to the requirements in the test procedure. The V-phase and W-phase current tests can be repeated by adjusting different positions. Depending on the power module's output current capacity, the stall current is increased by lowering the water temperature or reducing the switching frequency until the inverter current peak is reached.
[0053] Optionally, after setting the temperature of the environmental chamber based on test requirements, ensuring that the temperature of the environmental chamber is in a stable state includes the following steps: Step S110: The temperature value of the thermocouple is collected by the host computer, wherein the thermocouple is attached to the chip position of the current sensor under test. Step S111: In response to the thermocouple temperature reaching any test temperature, determine that the temperature of the environmental chamber is in a stable state. Step S112: In response to the thermocouple temperature not reaching any of the test temperatures, the temperature of the environmental chamber is set based on the test requirements.
[0054] In this embodiment of the invention, the acquisition of thermocouple temperature values by the host computer can be understood as the thermocouple being fixed at the chip location of the current sensor under test (i.e., a split-type current sensor) to ensure accurate measurement of the chip's true temperature. The host computer, through its connection with the thermocouple, continuously acquires temperature data, providing real-time temperature feedback for subsequent temperature control and current testing.
[0055] The determination that the temperature of the environmental chamber is stable in response to the thermocouple reaching any test temperature can be understood as follows: when the temperature reading of the thermocouple shows that the temperature at the chip location is equal to a certain test temperature, the host computer will determine that the temperature inside the environmental chamber is stable.
[0056] In response to the thermocouple temperature not reaching any of the test temperatures, the temperature of the environmental chamber is set based on the test requirements. This can be understood as follows: if the temperature value fed back by the thermocouple shows that the current chip temperature has not yet reached the required test temperature, the host computer will control the temperature regulation system of the environmental chamber to continue to adjust the temperature in the environmental chamber until the preset test temperature is reached.
[0057] As can be seen, the above steps ensure that the chip is in a specified temperature environment before the inverter current sensor accuracy test is performed, and that the temperature in the environmental chamber reaches a stable state, providing an accurate and controllable test condition for subsequent current testing.
[0058] Optionally, the current accuracy test method for current sensors also includes the following steps: Step S113: Obtain the operating temperature of the power module in the inverter, wherein the power module is used to control the switching action of the power switching device at the target frequency; Step S114: In response to the power module temperature exceeding the target temperature threshold, the coolant temperature is lowered or the switching frequency of the power switching device is lowered so that the current output value of the power module in stall mode reaches the peak value of the inverter current. Step S115: Control the inverter to output current to the three-phase inductive load at preset intervals.
[0059] In this embodiment of the invention, the target temperature threshold refers to the highest operating temperature that the power module in the inverter is allowed to reach during the test.
[0060] Obtaining the operating temperature of the power module in the inverter can be understood as monitoring and recording the temperature of the power module in real time through thermocouples or other temperature sensors.
[0061] In response to the power module temperature exceeding the target temperature threshold, lowering the coolant temperature or reducing the switching frequency of the power switching devices can be understood as follows: when the power module temperature rises due to energy loss during current conversion and reaches or exceeds the preset target temperature threshold, the system will lower the coolant temperature to increase the cooling effect, or reduce the switching frequency of the power switching devices to reduce energy loss and heat generation, in order to prevent performance degradation or damage caused by device overheating, thereby ensuring that the power module temperature remains within a safe and ideal range under different operating conditions.
[0062] For example, under normal circumstances, the chip heat generation of the power module in stall mode is higher than that in the inverter operation mode under normal operation. Therefore, by reducing the water temperature to enhance heat dissipation or reducing the switching frequency of the power switching devices, the current output by the power module in stall mode is the stall peak current.
[0063] Controlling the inverter to output current to the three-phase inductive load at preset intervals can be understood as the inverter being set to output current to the three-phase inductive load with a specific current intensity and phase angle during testing or operation.
[0064] As can be seen, the above steps together constitute the temperature management and current control mechanism of the inverter system in current accuracy testing, ensuring the accuracy of the test and the safe operation of the inverter.
[0065] Optionally, the current accuracy test method for current sensors also includes: Step S130: In response to the fact that the temperature of the power module does not exceed the target temperature threshold, determine whether the current output by the inverter has reached the peak value of the inverter current. Step S131: In response to the inverter output current reaching the inverter current peak value, count the number of preset angle positions that have been tested to obtain the first value; Step S132: In response to the first value being equal to the first target threshold, count the number of temperatures that have been tested to obtain the second value, wherein the first target threshold is used to represent the total number of preset angle positions; Step S133: In response to the second value being equal to the second target threshold, the current accuracy test process of the current sensor under test ends, wherein the second target threshold is used to represent the total number of temperatures to be tested.
[0066] In this embodiment of the invention, the first target threshold is used to represent the total number of preset angular positions. For example, as shown... Figure 4 As shown, the U-phase current accuracy test positions are positions 1 and 4, the V-phase current accuracy test positions are positions 2 and 5, and the W-phase current accuracy test positions are positions 3 and 6. Therefore, the first target threshold can be 6, which is not restricted here.
[0067] The second target threshold is used to represent the total number of temperatures to be tested. For example, the accuracy of the sensor can be tested at temperatures such as -40°C, 0°C, 85°C, and 105°C, so the second target threshold can be 4, which is not limited here.
[0068] In response to the fact that the temperature of the power module does not exceed the target temperature threshold, determining whether the inverter output current has reached the inverter current peak value can be understood as, if the temperature of the power module is within a safe range, further determining whether the inverter output current has reached the inverter current peak value.
[0069] In response to the inverter output current reaching the inverter current peak, the system counts the number of preset angle positions that have been tested to obtain the first value. This can be understood as follows: after determining that the inverter output current has reached the inverter current peak, the system will record and count the number of angle positions that have been tested, thereby obtaining the first value.
[0070] In response to the first value being equal to the first target threshold, the system counts the number of temperatures tested to obtain the second value. This can be understood as follows: after all preset angle positions have been tested (i.e., the first value is equal to the first target threshold), the system will count the number of temperature tests that have been completed, thereby obtaining the second value.
[0071] The conclusion of the current accuracy test process for the current sensor under test when the second value equals the second target threshold can be understood as the completion of the current accuracy test of the inverter across the entire temperature range when all set test temperature points have been tested (i.e., the second value equals the second target threshold).
[0072] As can be seen, the above steps constitute a closed-loop test logic, ensuring that the inverter is maintained within a safe operating temperature range and fully covers the preset angle position and temperature conditions when performing current accuracy tests, ultimately obtaining the test results of the current sensor under test in the full range and temperature domain.
[0073] Optionally, the current accuracy test method for current sensors also includes: Step S134: In response to the inverter output current not reaching the inverter current peak value, control the inverter to output current to the three-phase inductive load at preset intervals. Step S135: In response to the first value being less than the first target threshold, set the preset angle position of the inverter current output; Step S136: In response to the second value being less than the second target threshold, the temperature of the environmental chamber is set based on the test requirements.
[0074] In this embodiment of the invention, responding to the inverter output current not reaching the inverter current peak value, controlling the inverter to output current to the three-phase inductive load at preset intervals can be understood as follows: when the system detects that the current output current of the inverter has not yet reached the inverter current peak value required for testing, the system will control the inverter to adjust its current output to gradually increase the current to the inverter current peak value, and control the inverter to output current to the three-phase inductive load at preset intervals.
[0075] In response to the first value being less than the first target threshold, setting the preset angle position of the inverter current output can be understood as follows: when the number of preset angle positions tested (the first value) is less than the total number of angle positions required for the full-range test (the first target threshold), the system will continue to set the next preset angle position of the inverter current output.
[0076] In response to the second value being less than the second target threshold, the temperature of the environmental chamber is set based on the test requirements. This can be understood as the system preparing to test the next temperature point when the number of tested temperatures (the second value) is less than the total number of temperature points required for the full temperature range test (the second target threshold).
[0077] As can be seen, through the above steps, the entire testing process can not only cover different intensities of inverter output current, but also conduct comprehensive testing under multiple current phases and a wide temperature range, ensuring that the performance of the current sensor is accurately evaluated under various operating conditions.
[0078] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.
[0079] Figure 5 This is a structural diagram of a current sensor current accuracy testing system according to one embodiment of the present invention, as shown below. Figure 5As shown, the system includes: a battery simulator, a three-phase circuit, an inverter, a three-phase inductive load, a power analyzer, a high-precision current sensor, a host computer, a bench signal processor, thermocouples, and an environmental chamber. The inverter contains a current sensor under test, and the thermocouple is attached to the chip position of the current sensor under test. The DC high-voltage positive and negative wires of the inverter pass through the environmental chamber and are connected to the battery simulator. The low-voltage signal of the inverter passes through the environmental chamber and is connected to the interactive interface of the bench signal processor. The output wires of the three-phase circuit pass through the environmental chamber and are connected to the three-phase inductive load. The high-precision current sensor is connected to the power analyzer through the three-phase wires. The host computer is connected to both the bench signal processor and the power analyzer. The current signal from the sensor under test and the temperature signal from the thermocouple collected in the environmental chamber are uploaded to the host computer through the interactive interface of the bench signal processor.
[0080] In this embodiment of the invention, the battery simulator is used to simulate the output characteristics of the battery and provide a stable DC power supply to the inverter. Its operating accuracy is required to be within ±0.5% of the full scale. That is, the battery simulator must be able to accurately control and provide the DC voltage required for the inverter to operate, so as to ensure that the inverter outputs stably under different operating conditions, thereby creating consistent input conditions for the current sensor accuracy test.
[0081] High-precision current sensors are used to test and calibrate the actual current flowing through the three-phase output of an inverter, with an accuracy requirement within ±0.2% of full scale. As a reference standard, high-precision current sensors are used to compare the current values collected by the current sensor under test in the inverter, thereby evaluating the accuracy of the split-type current sensor.
[0082] The three-phase inductor serves as the load at the inverter output, simulating the impedance characteristics of a motor in practical applications. During testing, the inverter outputs current to the three-phase inductor. The inductor's impedance characteristics ensure a certain stability of the output current, which is helpful for testing the accuracy of the current sensor.
[0083] A power analyzer is used to acquire and analyze current data during current sensor testing, as well as the output status of the inverter. The power analyzer boasts high accuracy of ±0.04% of full scale because the test focuses not only on the absolute value of the current but also on analyzing characteristics such as the current sensor's sensitivity, linearity, and phase shift to ensure the accuracy of the test results.
[0084] The environmental chamber provides a temperature-controlled testing environment, ensuring that tests can be conducted under various temperature conditions to evaluate the performance of the current sensor at different temperatures. The environmental chamber is required to control temperature error within ±1°C, with an operating temperature range of -40°C to 150°C. In full-temperature-range current accuracy testing, the environmental chamber is used to simulate the operating environment of the inverter under extreme temperature conditions.
[0085] A thermocouple is a temperature sensor used to monitor and record the actual operating temperature of current sensors and power modules in inverters. During testing, thermocouple data is used to determine whether the inverter and current sensors are operating within safe and ideal temperature ranges.
[0086] According to a specific embodiment of the present invention, Figure 6 This is a flowchart of a full-temperature-range, full-scale current accuracy test according to one embodiment of the present invention, as follows: Figure 6 As shown, at the start of the test, the temperature of the environmental chamber is first set to simulate the performance of the current sensor under various actual working conditions. The host computer monitors the temperature at the location of the current sensor under test in real time via thermocouples. If the temperature fed back by the thermocouples has not yet reached the preset temperature value, the temperature of the environmental chamber continues to be controlled until it reaches the target. Once the temperature fed back by the thermocouples reaches the set temperature, the inverter is adjusted to a specific current angle position, causing the inverter to output a series of current values that vary at preset intervals (such as ±20A, ±50A, etc.). The inverter collects the current signal output by the current sensor under test over a certain period of time and calculates the average value. Simultaneously, a high-precision current sensor collects the actual current value over a certain period of time, sends the collected actual current value to a power analyzer for processing, calculates the average current over a certain period of time, and uploads the average current to the host computer for analysis and comparison with the average current detected by the current sensor under test to evaluate the accuracy of the current sensor under test. During the test, the operating temperature of the power module is continuously monitored to prevent overheating due to overload or prolonged operation.
[0087] If the power module overheats, the temperature can be controlled by adjusting the cooling water temperature or reducing the switching frequency to ensure smooth testing. If the power module does not overheat, check if the output current has reached the inverter current peak value. If the output current has not reached the inverter current peak value, the inverter will continue to output the next current value and collect data. If the output current has reached the inverter current peak value, check if the current angle position count is equal to 6. Due to the characteristics of a three-phase inverter, there are 6 different angle positions to be tested to ensure that the current accuracy under each phase is fully evaluated. If the current angle position count is less than 6, the test process will continue. If the current angle position count is equal to 6, then check if the temperature point count is equal to 4. To cover the entire temperature range, at least 4 different temperature points are preset for testing. If the temperature point count is less than 4, it indicates that the temperature test is not yet complete, and the process will return to the temperature control step to test the next temperature point. If the temperature point count is equal to 4, the full-temperature-range full-scale current accuracy test calibration process ends.
[0088] pass Figure 6The implementation steps shown, from temperature setting to current output, and then to data acquisition and analysis, constitute a complete test logic that ensures a comprehensive and accurate evaluation of the current sensor's performance under simulated real-world operating conditions. This method effectively verifies the actual performance of split-type current sensors under various combinations of temperature and current magnitudes, thereby reducing testing costs.
[0089] This embodiment also provides a current sensor current accuracy testing device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0090] Figure 7 This is a structural block diagram of a current sensor current accuracy testing device according to one embodiment of the present invention, such as... Figure 7 As shown, taking a current sensor current accuracy testing device 700 as an example, the device includes: a first setting module 701, used to set the temperature of the environmental chamber based on test requirements, wherein the test requirements include multiple test temperatures, and the environmental chamber is used to control and simulate test environmental conditions; a second setting module 702, used to set multiple preset angle positions of the inverter's current output in locked-rotor mode in response to the environmental chamber temperature being in a stable state, wherein the locked-rotor mode is used to simulate the inverter's operating environment, and at the preset angle positions, the inverter's output current value in any phase line is the peak value of the inverter current; and a control module 703, used to control the inverter to operate according to the preset angles. The system outputs current to a three-phase inductive load at a predetermined position and interval, and controls the inverter to collect a first average current value. The predetermined interval is used to adjust the current transmission intensity, and the first average current value represents the average current value of any phase line detected by the current sensor under test within a predetermined time period. The acquisition module 704 is used to control the power analyzer to collect a second average current value, which represents the average current value of any phase line detected by the high-precision current sensor within a predetermined time period. The analysis module 705 is used to determine the current accuracy of the current sensor under test based on the first average current value and the second average current value through a host computer.
[0091] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0092] Embodiments of the present invention also provide a vehicle, including: a memory storing an executable program; and a processor for running the program, wherein the program executes the current sensor current accuracy testing method described above during runtime.
[0093] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the steps in any of the above method embodiments when run on a computer or processor.
[0094] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps: Step S10: Set the temperature of the environmental chamber based on the test requirements, wherein the test requirements include multiple temperatures to be tested, and the environmental chamber is used to control and simulate test environmental conditions. Step S12: In response to the stable temperature of the environmental chamber, multiple preset angle positions of the inverter's current output in stall mode are set. The stall mode is used to simulate the inverter's operating environment. At the preset angle positions, the output current value of the inverter in any phase line is the peak value of the inverter current. Step S14: Control the inverter to output current to the three-phase inductive load according to the preset angle position and preset interval, and control the inverter to collect the first average current value. The preset interval is used to adjust the current transmission intensity, and the first average current value is used to represent the average current value of any phase line detected by the current sensor under test in the preset time period. Step S16: Control the power analyzer to collect the second average current value, wherein the second average current value is used to represent the average current value of any phase line detected by a high-precision current sensor within a preset time period; Step S18: The host computer determines the current accuracy of the current sensor under test based on the first average current value and the second average current value.
[0095] Optionally, in this embodiment, the computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0096] Embodiments of the present invention also provide an electronic device including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0097] Optionally, in this embodiment, the processor in the above-described electronic device may be configured to run a computer program to perform the following steps: Step S10: Set the temperature of the environmental chamber based on the test requirements, wherein the test requirements include multiple temperatures to be tested, and the environmental chamber is used to control and simulate test environmental conditions. Step S12: In response to the stable temperature of the environmental chamber, multiple preset angle positions of the inverter's current output in stall mode are set. The stall mode is used to simulate the inverter's operating environment. At the preset angle positions, the output current value of the inverter in any phase line is the peak value of the inverter current. Step S14: Control the inverter to output current to the three-phase inductive load according to the preset angle position and preset interval, and control the inverter to collect the first average current value. The preset interval is used to adjust the current transmission intensity, and the first average current value is used to represent the average current value of any phase line detected by the current sensor under test in the preset time period. Step S16: Control the power analyzer to collect the second average current value, wherein the second average current value is used to represent the average current value of any phase line detected by a high-precision current sensor within a preset time period; Step S18: The host computer determines the current accuracy of the current sensor under test based on the first average current value and the second average current value.
[0098] Embodiments of the present invention also provide a computer program product, including a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.
[0099] Optionally, in this embodiment, the computer program in the above-described computer program product can be configured to perform the following steps when executed by a processor: Step S10: Set the temperature of the environmental chamber based on the test requirements, wherein the test requirements include multiple temperatures to be tested, and the environmental chamber is used to control and simulate test environmental conditions. Step S12: In response to the stable temperature of the environmental chamber, multiple preset angle positions of the inverter's current output in stall mode are set. The stall mode is used to simulate the inverter's operating environment. At the preset angle positions, the output current value of the inverter in any phase line is the peak value of the inverter current. Step S14: Control the inverter to output current to the three-phase inductive load according to the preset angle position and preset interval, and control the inverter to collect the first average current value. The preset interval is used to adjust the current transmission intensity, and the first average current value is used to represent the average current value of any phase line detected by the current sensor under test in the preset time period. Step S16: Control the power analyzer to collect the second average current value, wherein the second average current value is used to represent the average current value of any phase line detected by a high-precision current sensor within a preset time period; Step S18: The host computer determines the current accuracy of the current sensor under test based on the first average current value and the second average current value.
[0100] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0101] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0102] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0103] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0104] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0105] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0106] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0107] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for testing the current accuracy of a current sensor, characterized in that, An application is made in a current sensor current accuracy testing system, the current sensor current accuracy testing system comprising a three-phase line, an inverter, a three-phase inductive load, a power analyzer, a high-precision current sensor, and a host computer, wherein the inverter internally contains the current sensor under test, and the method includes: The temperature of the environmental chamber is set based on the test requirements, wherein the test requirements include multiple temperatures to be tested, and the environmental chamber is used to control and simulate test environmental conditions. In response to the stable temperature of the environmental chamber, multiple preset angle positions of the inverter's current output in stall mode are set. The stall mode is used to simulate the operating environment of the inverter. At the preset angle positions, the output current value of the inverter in any phase line is the peak value of the inverter current. The inverter is controlled to output current to the three-phase inductive load according to the preset angle position and preset interval, and the inverter is controlled to collect the first average current value. The preset interval is used to adjust the current transmission intensity, and the first average current value is used to represent the average current value of any phase line detected by the current sensor under test in a preset time period. The power analyzer is controlled to collect a second average current value, wherein the second average current value is used to represent the average current value of any phase line detected by the high-precision current sensor during the preset time period; The host computer determines the current accuracy of the current sensor under test based on the first average current value and the second average current value.
2. The method according to claim 1, characterized in that, After setting the test temperature of the environmental chamber based on test requirements, determining that the temperature of the environmental chamber is in a stable state includes: The temperature value of the thermocouple is collected by the host computer, wherein the thermocouple is attached to the chip position of the current sensor under test; In response to the temperature of the thermocouple reaching any of the test temperatures, it is determined that the temperature of the environmental chamber is in a stable state. In response to the thermocouple temperature not reaching any of the test temperatures, the temperature of the environmental chamber is set based on the test requirements.
3. The method according to claim 1, characterized in that, The method further includes: The operating temperature of the power module in the inverter is obtained, wherein the power module is used to control the switching action of the power switching device at a target frequency; In response to the temperature of the power module exceeding the target temperature threshold, the water temperature of the coolant is reduced or the switching frequency of the power switching device is reduced so that the current value output by the power module in the stall mode reaches the peak value of the inverter current. The inverter is controlled to output current to the three-phase inductive load at the preset interval.
4. The method according to claim 3, characterized in that, The method further includes: In response to the fact that the temperature of the power module does not exceed the target temperature threshold, it is determined whether the current output by the inverter reaches the peak value of the inverter current; In response to the inverter output current reaching the inverter current peak value, the number of the preset angle positions that have been tested is counted to obtain a first value; In response to the first value being equal to the first target threshold, the number of tested temperatures is counted to obtain a second value, wherein the first target threshold is used to represent the total number of the preset angle positions; In response to the second value being equal to the second target threshold, the current accuracy test process of the current sensor under test ends, wherein the second target threshold is used to represent the total number of the temperatures under test.
5. The method according to claim 4, characterized in that, The method further includes: In response to the inverter output current not reaching the inverter current peak value, the inverter is controlled to output current to the three-phase inductive load at the preset interval; In response to the first value being less than the first target threshold, the preset angle position of the inverter current output is set; In response to the second value being less than the second target threshold, the temperature of the environmental chamber is set based on the test requirements.
6. A current sensor current accuracy testing system, characterized in that, The system for performing the method according to any one of claims 1-5 comprises: a battery simulator, a three-phase circuit, an inverter, a three-phase inductive load, a power analyzer, a high-precision current sensor, a host computer, a bench signal processor, a thermocouple, and an environmental chamber. The inverter internally contains a current sensor under test, and the thermocouple is attached to the chip location of the current sensor under test. The DC high-voltage positive and negative terminals of the inverter pass through the environmental chamber and are connected to the battery simulator. The low-voltage signal of the inverter passes through the environmental chamber and is connected to the interface of the bench signal processor. The output terminals of the three-phase circuit pass through the environmental chamber and are connected to the three-phase inductive load. The high-precision current sensor is connected to the power analyzer via a three-phase line. The host computer is connected to both the bench signal processor and the power analyzer. The current signal from the current sensor under test and the temperature signal from the thermocouple, collected within the environmental chamber, are uploaded to the host computer via the interface of the bench signal processor.
7. A current sensor current accuracy testing device, characterized in that, include: The first setting module is used to set the temperature of the environmental chamber based on the test requirements, wherein the test requirements include multiple temperatures to be tested, and the environmental chamber is used to control and simulate test environmental conditions. The second setting module is used to set multiple preset angle positions of the inverter's current output in stall mode in response to the stable temperature of the environmental chamber. The stall mode is used to simulate the operating environment of the inverter. At the preset angle positions, the output current value of the inverter in any phase line is the peak value of the inverter current. The control module is used to control the inverter to output current to the three-phase inductive load according to the preset angle position and preset interval, and to control the inverter to collect the first average current value. The preset interval is used to adjust the current transmission intensity, and the first average current value is used to represent the average current value of any phase line detected by the current sensor under test in a preset time period. The acquisition module is used to control the power analyzer to acquire a second average current value, wherein the second average current value is used to represent the average current value of any phase line detected by a high-precision current sensor during the preset time period; The analysis module is used to determine the current accuracy of the current sensor under test by means of the host computer based on the first average current value and the second average current value.
8. A vehicle, characterized in that, include: Memory, which stores executable programs; A processor for running the program, wherein the program executes the current accuracy testing method for a current sensor as described in any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, wherein the computer program is configured to execute the current sensor current accuracy testing method as described in any one of claims 1 to 5 when running on a computer or processor.
10. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the current sensor current accuracy testing method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Current transformer automatic correction method, control device and energy storage equipment
CN112180313A
Calibration method and calibration system for magnetic collection type current sensor of driving motor controller
CN112763962A
Intelligent testing device and method for energy storage power supply inverter
CN118837658A
Precision self-calibration method and system for current transformer
CN120428155A
Power module simulation test system and test system of new energy automobile
CN213957488U