Current calibration system, method, apparatus, and computer readable storage medium

By using an external DC power supply and a switching module to perform current backflow on the motor driver, the problems of complex installation and low accuracy of traditional current calibration methods are solved, achieving high-precision and stable current calibration, which is suitable for production and manufacturing environments.

CN115308663BActive Publication Date: 2025-12-16SUZHOU INOVANCE CONTROL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211009398.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-22
Publication Date
2025-12-16
Estimated Expiration
2042-08-22

AI Technical Summary

Technical Problem

Traditional current calibration methods have high installation requirements, low measurement accuracy and stability, and are not suitable for manufacturing environments.

Method used

An external DC power supply and a switching module are used. By controlling the on/off state of the switching module and the DC power output, current is reverse-fed to the motor driver to achieve high-precision calibration of the UVW three-phase output current.

Benefits of technology

It improves the accuracy and stability of current calibration, simplifies installation, and is suitable for use in manufacturing environments, with current calibration accuracy up to within 1%.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115308663B_ABST
    Figure CN115308663B_ABST
Patent Text Reader

Abstract

The application discloses a current calibration system, method, device and computer readable storage medium, and belongs to the technical field of circuit control. The current calibration system comprises a direct current power supply, a switch module, a first polarity end of the direct current power supply, a second end of the switch module, a first end of the switch module, a second polarity end of the direct current power supply, and a motor driver. The motor driver compares the input current of the direct current power supply with the internal Hall detection current of the motor driver to obtain an actual current error and calibrates the output current of the motor driver according to the actual current error. The current calibration system is simple to install, can improve the current calibration accuracy to within 1%, greatly improves the current calibration accuracy, current calibration efficiency and current calibration stability, and is easy to mass-produce and suitable for use in a production and manufacturing environment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of circuit control, in particular to a current calibration system, method, device and computer readable storage medium. BACKGROUND

[0002] In the production and manufacturing process of alternating current motor drive products, due to the influence of material differences and process technology and other factors, the output current precision consistency of the UVW (three-phase connection terminal of three-phase motor) of the products is poor, and the precision is low. In order to ensure the accuracy and consistency of the output current control of the products, the Hall current sampling circuit needs to be calibrated in the production process.

[0003] The traditional method is generally to use a motor as a load, and to control the size of the output current by increasing the load torque, for example, to use a motor to pull the unit, a dynamometer, an excitation motor and other ways to load and adjust the load current size, and then to use a current sensor or a current probe to detect the UVW output current, to compare the actual current error with the internal Hall detection current, and to detect and calibrate the current according to the actual current error.

[0004] However, the traditional motor pulling mechanical structure adopts a coupling connection method, which itself has installation precision differences and axial concentricity differences, so that the mechanical shaking caused by the differences leads to UVW current fluctuation, which makes it difficult to measure the current stably and improve the precision; and the traditional pulling mechanical structure or dynamometer is large in size and loud in noise, has strict requirements on the site, and for high-power drivers, it can only be installed on the ground, cannot be installed on high floors, and needs to be treated with ground reinforcement, which is not suitable for use in the production and manufacturing environment. SUMMARY

[0005] The main purpose of the present application is to provide a current calibration system, method, device and computer readable storage medium, which aims to solve the technical problems of the traditional current calibration method, such as high installation requirements, low measurement precision and stability, and unsuitability for production and manufacturing environment.

[0006] To achieve the above purpose, the present application provides a current calibration system, which comprises:

[0007] A direct current power supply for outputting direct current;

[0008] A switch module, the second end of the switch module is connected with the first polarity end of the direct current power supply;

[0009] The first end of the switch module and the second polarity end of the direct current power source are connected with a motor driver to be tested, so that the motor driver compares input current of the direct current power source with internal Hall detection current of the motor driver to obtain actual current error and calibrates output current of the motor driver according to the actual current error.

[0010] Optionally, the motor driver comprises:

[0011] An inverter circuit, a first bus end of the inverter circuit is connected with a positive pole of a preset high-voltage direct current source, a second bus end of the inverter circuit is connected with a negative pole of the preset high-voltage direct current source and a second polarity end of the direct current power source, and the inverter circuit is connected with the first end of the switch module.

[0012] A bus capacitor, a first end of the bus capacitor is connected with the first bus end of the inverter circuit, and a second end of the bus capacitor is connected with the second bus end of the inverter circuit.

[0013] A Hall sampling circuit, the Hall sampling circuit is connected with the inverter circuit.

[0014] A motor control unit, the motor control unit is connected with the Hall sampling circuit.

[0015] Optionally, the inverter circuit comprises:

[0016] Three-phase bridge arms, a first end of each phase of the bridge arms is connected in common to form the first bus end, and a second end of each phase of the bridge arms is connected in common to form the second bus end.

[0017] Optionally, the switch module comprises:

[0018] Three groups of high-voltage direct current contactors, a first end of each group of the high-voltage direct current contactors is connected with a midpoint of each phase of the bridge arms, and a second end of each group of the high-voltage direct current contactors is connected with the first polarity end of the direct current power source.

[0019] Optionally, the Hall sampling circuit comprises:

[0020] Three-phase Hall sensors, each phase of the Hall sensors is arranged on a connection line between the first end of each group of the high-voltage direct current contactors and the midpoint of each phase of the bridge arms, and each phase of the Hall sensors is connected with the motor control unit.

[0021] Optionally, each phase of the bridge arms comprises two power switch units connected in series, and the midpoint of each phase of the bridge arms is formed between the two power switch units.

[0022] In addition, to achieve the above object, the present application also provides a current calibration method applied to the current calibration system as described above, the current calibration method comprising the following steps:

[0023] closing the high-voltage DC contactor in the switch module when the motor driver is in the working state;

[0024] if the motor driver has the permission to open the tube, turning on the power switch unit in the motor driver and controlling the DC power supply to output DC power, so that the motor driver, the switch module and the DC power supply form a forward loop;

[0025] reading the current value in the forward loop through the Hall sensor;

[0026] comparing the current value with the DC power and calculating the actual current error;

[0027] calibrating the output current of the motor driver according to the actual current error.

[0028] Optionally, after the step of closing the high-voltage DC contactor in the switch module, the current calibration method further comprises:

[0029] if the motor driver does not have the permission to open the tube, reversing the polarity of the DC power supply and controlling the DC power supply to output DC power, so that the motor driver, the switch module and the DC power supply form a reverse loop;

[0030] reading the current value in the reverse loop through the Hall sensor;

[0031] comparing the current value with the DC power and calculating the actual current error;

[0032] calibrating the output current of the motor driver according to the actual current error.

[0033] In addition, to achieve the above object, the present application also provides a current calibration device, comprising a memory, a processor and a current calibration program stored on the memory and executable on the processor, the current calibration program realizing the steps of the current calibration method as described above when executed by the processor.

[0034] In addition, to achieve the above object, the present application also provides a computer readable storage medium, the computer readable storage medium storing a current calibration program, the current calibration program realizing the steps of the current calibration method as described above when executed by the processor.

[0035] The application provides a current calibration system, method, device and computer readable storage medium, wherein an external DC power supply and a switch module are configured for a motor driver to be measured, the switch module is controlled to be turned on or turned off and the DC power supply is controlled to output, so that the motor driver is subjected to current backflow, high-precision calibration of UVW three-phase output current of the motor driver is realized, the current calibration system is simple to install, can improve current calibration precision to within 1%, greatly improves current calibration precision, current calibration efficiency and current calibration stability, the current calibration system is easy to mass produce, is suitable for use in a production and manufacturing environment, and overcomes technical problems of high installation requirement, low measurement precision and stability and unsuitability for a production and manufacturing environment of a traditional current calibration method with a motor load.

[0036] Compared with the prior art, the application has the advantages of simple implementation, high reliability, greatly reduced structure volume compared with a traditional method, greatly improved current calibration precision of a driving product, arbitrary installation not restricted by a site, and easy popularization and use in a production and manufacturing link or a research and development test link. BRIEF DESCRIPTION OF DRAWINGS

[0037] Figure 1 FIG. 1 is a structural schematic diagram of an embodiment of the current calibration system of the application;

[0038] Figure 2 FIG. 2 is a flow schematic diagram of an embodiment of the current calibration method of the application;

[0039] Figure 3 FIG. 3 is an application scenario schematic diagram of the current calibration method of the embodiment of the application when U-phase current calibration is performed on a motor driver with open tube authority;

[0040] Figure 4 FIG. 4 is an application scenario schematic diagram of the current calibration method of the embodiment of the application when V-phase current calibration is performed on a motor driver with open tube authority;

[0041] Figure 5 FIG. 5 is an application scenario schematic diagram of the current calibration method of the embodiment of the application when W-phase current calibration is performed on a motor driver with open tube authority;

[0042] Figure 6 FIG. 6 is an application scenario schematic diagram of the current calibration method of the embodiment of the application when U-phase current calibration is performed on a motor driver without open tube authority;

[0043] Figure 7 FIG. 7 is an application scenario schematic diagram of the current calibration method of the embodiment of the application when V-phase current calibration is performed on a motor driver without open tube authority;

[0044] Figure 8The application scenario diagram of the W-phase current calibration of an embodiment of the current calibration method of the application when the motor driver does not have the permission to open the tube;

[0045] Figure 9 The structural diagram of the current calibration device related to the embodiment of the application.

[0046] The implementation, functional features and advantages of the application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0047] It should be understood that the specific embodiments described herein are only used to explain the application and not to limit the application.

[0048] The embodiment of the application provides a current calibration system, referring to Figure 1 , Figure 1 The structural diagram of an embodiment of the current calibration system of the application.

[0049] In the embodiment, the current calibration system comprises:

[0050] The DC power supply 10 is used for outputting DC power;

[0051] The second end of the switch module 20 is connected with the first polarity end of the DC power supply 10.

[0052] The first end of the switch module 20 and the second polarity end of the DC power supply 10 are both connected with the motor driver 30 to be tested, so that the motor driver 30 compares the input current of the DC power supply 10 with the internal Hall detection current of the motor driver 30 to obtain the actual current error and calibrates the output current of the motor driver 30 according to the actual current error.

[0053] It should be noted that the DC power supply 10 can be a dry battery, a storage battery, a DC generator and the like, which can provide a stable and constant voltage and current for the motor driver, and in the embodiment, the DC power supply 10 is a dry battery. Figure 1 In the embodiment, the first polarity end corresponds to the positive pole of the DC power supply 10, and the second polarity end corresponds to the negative pole of the DC power supply 10; the switch module 20 comprises M groups of high-voltage DC contactors, which are used for turning on or turning off the circuit between the DC power supply 10 and the motor driver 30, and can flexibly select the corresponding circuit in the motor driver to receive the DC power provided from the DC power supply 10 according to the actual requirement, and in the embodiment, the switch module 20 comprises two groups of high-voltage DC contactors. Figure 1In the embodiment, the left side of the switch module 20 is the first end, and the right side is the second end; when the switch module 20 is turned on, the motor driver 30 can receive the direct current input by the direct current power supply 10, detect the direct current based on the MCU (Motor Control Unit) inside the motor driver 30 through the current detection circuit inside the motor driver 30, compare the direct current with the direct current input by the direct current power supply 10, calculate the actual current error, and finally write the actual current error into the flash to complete the current calibration.

[0054] Further, as a feasible embodiment, the motor driver 30 comprises:

[0055] an inverter circuit 31, a first bus end of the inverter circuit 31 is connected with a positive pole of a preset high-voltage direct current source, a second bus end of the inverter circuit 31 is connected with a negative pole of the preset high-voltage direct current source and a second polarity end of the direct current power supply 10, and the inverter circuit 31 is connected with the first end of the switch module 20;

[0056] a bus capacitor C1, a first end of the bus capacitor C1 is connected with the first bus end of the inverter circuit 31, and a second end of the bus capacitor C1 is connected with the second bus end of the inverter circuit 31;

[0057] a Hall sampling circuit, the Hall sampling circuit is connected with the inverter circuit 31;

[0058] a motor control unit MCU, the motor control unit MCU is connected with the Hall sampling circuit.

[0059] It should be noted that, in the embodiment, the inverter circuit 31 comprises M-phase bridge arms, the first end of each phase bridge arm of the M-phase bridge arms is commonly connected to form the first bus end of the inverter circuit 31, the second end of each phase bridge arm of the M-phase bridge arms is commonly connected to form the second bus end of the inverter circuit 31, the preset high-voltage direct current source is the working power supply of the motor driver 30, the positive pole thereof is HVDC+ in Figure 1 , and the negative pole thereof is HVDC- in Figure 1 ; in Figure 1 , the upper side of the bus capacitor C1 is the first end, and the lower side is the second end; the Hall sampling circuit is used for detecting the output current of the motor driver, and corresponding to the inverter circuit 31, the Hall sampling circuit comprises M-phase Hall sensors, each phase Hall sensor of the M-phase Hall sensors detects one phase output current, and transmits the detected result to the motor control unit MCU.

[0060] Further, as a feasible embodiment, the inverter circuit 31 comprises:

[0061] The three-phase bridge arms, the first ends of the bridge arms of each phase are commonly connected to form the first bus bar, and the second ends of the bridge arms of each phase are commonly connected to form the second bus bar.

[0062] Further, as a feasible embodiment, the bridge arm of each phase includes two power switch units connected in series, and a midpoint of the bridge arm of each phase is formed between the two power switch units.

[0063] It can be understood that when M=3, the inverter circuit 31 is a three-phase inverter, which includes three-phase bridge arms, the first ends of each phase of the three-phase bridge arms are commonly connected to form the first bus bar of the inverter circuit 31, and the second ends of each phase of the three-phase bridge arms are commonly connected to form the second bus bar of the inverter circuit 31; each phase of the bridge arms includes two power switch units connected in series, and the power switch units in this embodiment can be devices such as transistors, IGBTs (Insulated Gate Bipolar Transistor), MOS tubes (MOSFET, Metal-Oxide-Semiconductor Field-Effect Transistor), and the like, and a midpoint of each phase of the bridge arms is formed between the two power switch units. Figure 1The three-phase inverter shown in the figure comprises a first power switch unit G1, a second power switch unit G2, a third power switch unit G3, a fourth power switch unit G4, a fifth power switch unit G5 and a sixth power switch unit G6, the first power switch unit G1 and the second power switch unit G2 form a first phase bridge arm, the third power switch unit G3 and the fourth power switch unit G4 form a second phase bridge arm, and the fifth power switch unit G5 and the sixth power switch unit G6 form a third phase bridge arm; the first end of the first power switch unit G1 is the first end of the first phase bridge arm, the first end of the third power switch unit G3 is the first end of the second phase bridge arm, and the first end of the fifth power switch unit G5 is the first end of the third phase bridge arm; the first ends of the first power switch unit G1, the third power switch unit G3 and the fifth power switch unit G5 are connected in common and constitute a first bus end of the three-phase inverter; the second end of the second power switch unit G2 is the second end of the first phase bridge arm, the second end of the fourth power switch unit G4 is the second end of the second phase bridge arm, and the second end of the sixth power switch unit G6 is the second end of the third phase bridge arm; the second ends of the second power switch unit G2, the fourth power switch unit G4 and the sixth power switch unit G6 are connected in common and constitute a second bus end of the three-phase inverter. In the three-phase inverter, the first power switch unit G1 comprises a first upper bridge arm and a first upper bridge diode, the second power switch unit G2 comprises a second lower bridge arm and a second lower bridge diode, the third power switch unit G3 comprises a third upper bridge arm and a third upper bridge diode, the fourth power switch unit G4 comprises a fourth lower bridge arm and a fourth lower bridge diode, the fifth power switch unit G5 comprises a fifth upper bridge arm and a fifth upper bridge diode, and the sixth power switch unit G6 comprises a sixth lower bridge arm and a sixth lower bridge diode.

[0064] Further, as a feasible embodiment, the switch module 20 comprises:

[0065] The first end of each group of high-voltage DC contactors is connected to the midpoint of a phase bridge arm in one-to-one correspondence, and the second ends of the three groups of high-voltage DC contactors are connected to the first polarity end of the DC power supply 10 in common.

[0066] It can be understood that when M = 3, the switch module 20 comprises three groups of high-voltage DC contactors K1, K2 and K3, the first end of each group of high-voltage DC contactors in the three groups of high-voltage DC contactors is connected to the midpoint of a phase bridge arm in one-to-one correspondence, and the second ends of the three groups of high-voltage DC contactors are connected to the first polarity end of the DC power supply 10 in common.

[0067] Further, as a feasible embodiment, the Hall sampling circuit comprises:

[0068] The three-phase Hall sensor is arranged on the connection line between the first end of each group of high-voltage DC contactors and the midpoint of each phase bridge arm, and each phase Hall sensor is connected with the motor control unit MCU.

[0069] It can be understood that when M=3, the Hall sampling circuit includes three-phase Hall sensors, i.e. Figure 1 U-phase HALL, V-phase HALL and W-phase HALL in the formula; wherein the U-phase HALL is arranged on the connection line between K1 and the first phase bridge arm, and is used for detecting the U-phase output current of the motor driver 30; the V-phase HALL is arranged on the connection line between K2 and the second phase bridge arm, and is used for detecting the V-phase output current of the motor driver 30; the W-phase HALL is arranged on the connection line between K3 and the third phase bridge arm, and is used for detecting the W-phase output current of the motor driver 30; the current data IU, IV and IW measured by the U-phase HALL, V-phase HALL and W-phase HALL are transmitted to the motor control unit MCU for processing.

[0070] The embodiment provides a current calibration system, in which an external DC power supply and a switch module are configured for a motor driver, the on-off of the switch module and the output of the DC power supply are controlled to perform current backflow on the motor driver, high-precision calibration of UVW three-phase output currents in the motor driver is realized, the current calibration system is simple to install, can improve the current calibration precision to within 1%, greatly improves the current calibration precision, current calibration efficiency and current calibration stability, and is easy to mass-produce, is suitable for use in a production and manufacturing environment, and overcomes the technical problems of high installation requirement, low measurement precision and stability and unsuitability for a production and manufacturing environment of a traditional current calibration method with a motor load.

[0071] The embodiment provides a current calibration method, referring to Figure 2 , Figure 2 a flowchart of an embodiment of the current calibration method.

[0072] In the embodiment, the current calibration method comprises:

[0073] Step S10, when the motor driver is in a working state, closing the high-voltage DC contactor in the switch module;

[0074] Step S20, if the motor driver has a pipe opening authority, turning on the power switch unit in the motor driver and controlling the DC power supply to output DC power, so that the motor driver, the switch module and the DC power supply form a forward loop;

[0075] Step S30, reading the current value in the forward loop through a Hall sensor;

[0076] Step S40: Compare the current value with the DC current to calculate the actual current error;

[0077] Step S50: The output current of the motor driver is calibrated based on the actual current error.

[0078] It should be noted that the MCU can detect the working or sleep state of the motor driver in real time. In this embodiment, the motor driver can be considered to be in working state after power-on and in sleep state after power-off. When the motor driver is detected to be in working state, current calibration of the motor driver can begin. In this embodiment, the calibration is mainly performed on the three-phase output current of the motor driver (UVW). By default, the high-voltage DC contactors K1, K2, and K3 are all in the open state under normal conditions. If the U-phase output current needs to be calibrated, the high-voltage DC contactor K1 is closed individually; if the V-phase output current needs to be calibrated, the high-voltage DC contactor K2 is closed individually; and if the W-phase output current needs to be calibrated, the high-voltage DC contactor K3 is closed individually. After completing the control of the high-voltage DC contactors, it is also necessary to check the various functions in the motor driver. The output polarity of the DC power supply is determined by whether the switching state of the power switching unit can be changed. In this embodiment, the motor driver has the power switch authority, that is, the switching state of each power switching unit can be changed. Therefore, there is no need to adjust the polarity of the DC power supply. The gate of the power switching unit connected to the DC power supply in a certain phase bridge arm corresponding to the closed high-voltage DC contactor is closed, so that the power switching unit is turned on, thereby forming a positive loop between the DC power supply, the high-voltage DC contactor and the power unit. In this positive loop, the current flows counterclockwise. After the positive loop is formed, the MCU can collect the current actual current through a Hall sensor set in a certain phase of the loop and compare it with the current of the DC voltage input to obtain the actual current error. Finally, the actual current error is written into the flash to complete the current calibration of the motor driver.

[0079] As an example, one implementation of this embodiment is as follows: Figure 3 As shown, Figure 3 This is a schematic diagram illustrating an application scenario of the current calibration method of the present invention, where the U-phase current is calibrated when the motor driver has the authority to turn on the transistors. Figure 3 As shown, when the motor driver is operating, first close contactor K1, connecting the U-phase output to the DC power supply. Then, open G2, and the DC current source outputs Idc1. The motor driver reads the current IU and calculates the actual current error by comparing IU with Idc1. Then, turn off the DC power supply output, close G2, and open K1.

[0080] As an example, one embodiment of the present embodiment is shown in FIG. 1. Figure 4 Figure 4 As an example, one embodiment of the present embodiment is shown in FIG. 1. Figure 4 As an example, one embodiment of the present embodiment is shown in FIG. 1.

[0081] As an example, one embodiment of the present embodiment is shown in FIG. 1. Figure 5 Figure 5 As an example, one embodiment of the present embodiment is shown in FIG. 1. Figure 5 As an example, one embodiment of the present embodiment is shown in FIG. 1.

[0082] Further, as a feasible embodiment, after the step S10, the current calibration method provided by the present application further comprises:

[0083] Step A20, if the motor driver does not have the permission to open the tube, the polarity of the DC power supply is reversed and the DC power supply is controlled to output DC current, so that the motor driver, the switch module and the DC power supply form a reverse loop;

[0084] Step A30, the current value in the reverse loop is read by the Hall sensor;

[0085] Step A40, the current value is compared with the DC current to calculate the actual current error;

[0086] Step A50, the output current of the motor driver is calibrated according to the actual current error.

[0087] ​​It should be noted that when the direct current calibration is carried out, the direct current cannot be provided to the internal current detection circuit through the direct current sometimes because the opening of the tube cannot be controlled, at this time, the method of providing the direct current to the motor driver through the freewheeling diode can be used, in the embodiment, the motor driver does not have the opening permission, that is, the switching state of each power switch unit cannot be changed, at this time, each power switch unit can only be unidirectionally conducted, at this time, the current output from the positive pole of the direct current power supply cannot pass through each power switch unit to return to the negative pole of the direct current power supply, so the positive and negative poles of the direct current power supply need to be interchanged, thereby changing the direction of the current, and thereby making the direct current power supply, the high-voltage direct current contactor and a certain power unit form a reverse loop, in the reverse loop, the current flows in the clockwise direction; after the reverse loop is formed, the MCU can collect the current actual current through a certain phase Hall sensor arranged in the loop, and compare the current actual current with the current of the direct current voltage input to obtain the current actual current error, and finally write the current actual current error into the flash to complete the current calibration of the motor driver.

[0088] As an example, an embodiment of the present embodiment is shown in Figure 6 As an example, an embodiment of the present embodiment is shown in Figure 6 The application scenario diagram of the U-phase current calibration of the current calibration method of the present embodiment when the motor driver does not have the opening permission is shown in Figure 6 Under the working state of the motor driver, the contactor K1 is first closed, at this time, the U-phase output is connected with the direct current power supply, the direct current source outputs Idc1, at this time, the motor driver reads the current IU, and the actual current error is calculated through the comparison between IU and Idc1. The direct current power supply output is closed, and K1 is disconnected.

[0089] As an example, an embodiment of the present embodiment is shown in Figure 7 As an example, an embodiment of the present embodiment is shown in Figure 7 The application scenario diagram of the V-phase current calibration of the current calibration method of the present embodiment when the motor driver does not have the opening permission is shown in Figure 7 Under the working state of the motor driver, the contactor K2 is first closed, at this time, the V-phase output is connected with the direct current power supply, the direct current source outputs Idc2, at this time, the motor driver reads the current IV, and the actual current error is calculated through the comparison between IV and Idc2. The direct current power supply output is closed, and K2 is disconnected.

[0090] As an example, an embodiment of the present embodiment is shown in Figure 8 As an example, an embodiment of the present embodiment is shown in Figure 8 The application scenario diagram of the W-phase current calibration of the current calibration method of the present embodiment when the motor driver does not have the opening permission is shown in Figure 8As shown, in the working state of the motor driver, the contactor K3 is first closed, at this time the W-phase output is connected with the DC power supply, the DC current source outputs Idc3, at this time the motor driver reads the current IW, and the actual current error is calculated by comparing IW with Idc3. The DC power supply output is closed and K3 is disconnected.

[0091] The embodiment provides a current calibration method, when the motor driver is in a working state, corresponding high-voltage DC contactors in a switch module are closed to respectively realize calibration of UVW three-phase output currents, and corresponding current calibration methods are respectively given for the case that the opening pipe can be controlled and the case that the opening pipe cannot be controlled, so that high-precision calibration of UVW three-phase output currents in the motor driver is realized. The current calibration system relied on by the embodiment is simple to install, can improve the current calibration precision to within 1%, greatly improves the current calibration precision, current calibration efficiency and current calibration stability, and is easy to mass-produce, is suitable for use in a production and manufacturing environment, and overcomes the technical problems of high installation requirements, low measurement precision and stability and unsuitability for a production and manufacturing environment of a traditional current calibration method with a motor load.

[0092] In addition, the embodiment of the present application also provides a current calibration device, which refers to Figure 9 , Figure 9 FIG. 1 is a structural schematic diagram of a current calibration device according to the embodiment of the present application.

[0093] As shown in the figure, Figure 9 the current calibration device can include a processor 1001 such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004 and a memory 1005. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 can include a display screen, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface and a wireless interface. The network interface 1004 can optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 can be a high-speed random access memory (RAM) memory or a stable non-volatile memory (NVM) such as a magnetic disk memory. The memory 1005 can also be a storage device independent of the aforementioned processor 1001.

[0094] Those skilled in the art can understand, Figure 9The structure shown in the figure does not constitute a limitation on the current calibration device, and can include more or fewer components than shown, or combine certain components, or different component arrangements.

[0095] As shown in the figure, the memory 1005 as a storage medium can include an operating system, a data storage module, a network communication module, a user interface module, and a current calibration program. Figure 9

[0096] As shown in the figure, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the embodiment can be arranged in the current calibration device, and the current calibration device calls the current calibration program stored in the memory 1005 through the processor 1001 and performs the following operations: Figure 9 When the motor driver is in a working state, the high-voltage DC contactor in the switch module is closed;

[0097] If the motor driver has the authority to open the tube, the power switch unit in the motor driver is turned on and the DC power supply outputs DC power, so that the motor driver, the switch module and the DC power supply form a forward loop;

[0098] The current value in the forward loop is read by the Hall sensor;

[0099] The current value is compared with the DC power to calculate the actual current error;

[0100] The output current of the motor driver is calibrated according to the actual current error.

[0101] Further, the processor 1001 can call the current calibration program stored in the memory 1005 and further perform the following operations:

[0102] If the motor driver does not have the authority to open the tube, the polarity of the DC power supply is reversed and the DC power supply outputs DC power, so that the motor driver, the switch module and the DC power supply form a reverse loop;

[0103] The current value in the reverse loop is read by the Hall sensor;

[0104] The current value is compared with the DC power to calculate the actual current error;

[0105] The output current of the motor driver is calibrated according to the actual current error.

[0106] Further, the processor 1001 can call the current calibration program stored in the memory 1005 and further perform the following operations:

[0107] ​In addition, the embodiment of the present application further provides a computer readable storage medium applied to a computer, the computer readable storage medium can be a nonvolatile computer readable storage medium, and the computer readable storage medium stores a current calibration program, and the current calibration program is executed by a processor to realize the steps of the current calibration method of the present application.

[0108] The embodiments of the current calibration device and the computer readable storage medium of the present application can refer to the embodiments of the current calibration method of the present application, and details are not repeated here.

[0109] It should be noted that, in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article or system. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or system including the element.

[0110] The above-mentioned embodiment numbers of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0111] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by means of software and necessary general hardware platform, of course, they can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the method described in each embodiment of the present application.

[0112] The above is only the preferred embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields based on the content of the present application specification and drawings, are also included in the patent protection scope of the present application.

Claims

1. A current calibration system, characterized in that, The current calibration system includes: A DC power supply, wherein the DC power supply is used to output DC power; A switching module, wherein the second terminal of the switching module is connected to the first polarity terminal of the DC power supply; The first terminal of the switching module is connected to the midpoint of the M-phase bridge arm of the inverter circuit in the motor driver under test. The second polarity terminal of the DC power supply is connected to the negative terminal of a preset high-voltage DC source, which is the operating power supply of the motor driver. The first bus terminal of the inverter circuit is connected to the positive terminal of the preset high-voltage DC source, and the second bus terminal of the inverter circuit is connected to both the negative terminal of the preset high-voltage DC source and the second polarity terminal of the DC power supply. The motor driver is used to compare the input current of the DC power supply with the internal Hall detection current of the motor driver to obtain the actual current error when there is no motor load, based on the on / off control of the switching module, and to calibrate the output current of the motor driver according to the actual current error.

2. The current calibration system as described in claim 1, characterized in that, The motor driver includes: A bus capacitor, wherein the first end of the bus capacitor is connected to the first bus terminal of the inverter circuit, and the second end of the bus capacitor is connected to the second bus terminal of the inverter circuit; A Hall sampling circuit, wherein the Hall sampling circuit is connected to the inverter circuit; A motor control unit, which is connected to the Hall sampling circuit.

3. The current calibration system as described in claim 2, characterized in that, The inverter circuit includes: The three-phase bridge arm has its first end of each phase bridge arm connected together to form the first bus terminal, and its second end of each phase bridge arm connected together to form the second bus terminal. The midpoint of each phase bridge arm is connected to the first end of the switch module.

4. The current calibration system as described in claim 3, characterized in that, The switching module includes: Three sets of high-voltage DC contactors, with the first end of each set of high-voltage DC contactors connected to the midpoint of each phase's bridge arm, and the second end of each set of high-voltage DC contactors connected to the first polarity terminal of the DC power supply.

5. The current calibration system as described in claim 4, characterized in that, The Hall sampling circuit includes: The three-phase Hall sensor is provided, with each phase Hall sensor being disposed on the connection line between the first end of each group of high-voltage DC contactors and the midpoint of each phase bridge arm. Each phase Hall sensor is connected to the motor control unit.

6. The current calibration system as described in claim 5, characterized in that, Each phase arm includes two power switching units connected in series, with the midpoint of each phase arm formed between the two power switching units.

7. A current calibration method, characterized in that, The current calibration method is applied to the current calibration system as described in any one of claims 1 to 6, and the current calibration method includes the following steps: When the motor driver is in operation, the high-voltage DC contactor in the switch module is closed. If the motor driver has the authority to turn on the transistor, then the power switching unit in the motor driver is turned on and the DC power supply is controlled to output DC power, so that the motor driver, the switching module and the DC power supply form a positive loop; The current value in the forward loop is read using a Hall sensor; The current value is compared with the DC current to calculate the actual current error; The output current of the motor driver is calibrated based on the actual current error.

8. The current calibration method as described in claim 7, characterized in that, Following the step of the high-voltage DC contactor in the closing switch module, the current calibration method further includes: If the motor driver does not have the authority to turn on the tube, the polarity of the DC power supply is reversed and the DC power supply is controlled to output DC power, so that the motor driver, the switching module and the DC power supply form an reverse loop; The current value in the reverse loop is read using a Hall sensor; The current value is compared with the DC current to calculate the actual current error; The output current of the motor driver is calibrated based on the actual current error.

9. A current calibration device, characterized in that, The current calibration device includes: a memory, a processor, and a current calibration program stored in the memory and executable on the processor, wherein the current calibration program, when executed by the processor, implements the steps of the current calibration method as described in claims 7 to 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a current calibration program, which, when executed by a processor, implements the steps of the current calibration method as described in claim 7 or 8.

Citation Information

Patent Citations

  • A calibrating device for current sensor

    CN207833000U

  • Calibration system for magnetic collection type current sensor of driving motor controller

    CN215219136U