Wiring detection method and device for electric drive system and motor control system

The wiring detection method uses α-axis and β-axis reference voltages to ensure correct phase sequencing in permanent magnet synchronous motors, addressing wiring errors and preventing malfunctions and damage in electric drive systems.

CN113484627BActive Publication Date: 2024-12-27CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110788305.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-13
Publication Date
2024-12-27
Estimated Expiration
2041-07-13

AI Technical Summary

Technical Problem

Permanent magnet synchronous motors in electric drive systems often experience incorrect phase sequencing in their wiring, leading to motor reversal, vibration, or hardware overcurrent issues, which can cause the vehicle to malfunction or damage control circuit components.

Method used

A wiring detection method and device that utilizes α-axis and β-axis reference voltages to determine the correct phase sequencing between a three-phase inverter, motor, and current sensor by analyzing rotor position information and current signals, ensuring proper electrical connections.

Benefits of technology

Effectively detects and corrects wiring errors between the inverter and motor, as well as the motor and current sensor, preventing motor malfunctions and component damage, and ensuring normal operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113484627B_ABST
    Figure CN113484627B_ABST
Patent Text Reader

Abstract

The present invention discloses a wiring detection method and device of an electric drive system and a motor control system, comprising providing an α-axis reference voltage Uα to a pulse width modulation circuit and providing a DC bus voltage Udc to a three-phase inverter to obtain first position information of a rotor in the motor and a first current signal output by a current sensor; providing a β-axis reference voltage Uβ to a pulse width modulation circuit and providing a DC bus voltage Udc to a three-phase inverter to obtain second position information of the rotor in the motor and a second current signal output by the current sensor; determining a wiring state between the three-phase inverter and a three-phase input terminal of the motor according to the α-axis reference voltage Uα, the β-axis reference voltage Uβ and the first position information and the second position information of the rotor in the motor; determining a wiring state between a three-phase output terminal of the motor and a current sensor according to the α-axis reference voltage Uα and the first current signal output by the current sensor, and / or according to the β-axis reference voltage Uβ and the second current signal output by the current sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of permanent magnet synchronous motor phase sequence detection, and in particular to a wiring detection method and device for an electric drive system and a motor control system. Background Art

[0002] Permanent magnet synchronous motors have the advantages of simple structure, small size, high efficiency, high power factor, and good torque control performance, and have been widely used in new energy vehicles. The existing permanent magnet synchronous motors are driven by rotor magnetic field oriented vector control. The structural diagram of its control system is shown in the figure. Figure 1As shown, when the torque Te is input to the control system, the torque-current conversion module 110 outputs the current in the rotating coordinate system (i.e., the q-axis current Iq and the d-axis current Id) to the current controller 120 according to the torque Te, and the current controller 120 outputs Uq and Ud to the coordinate transformation module 130 according to Iq and Id respectively. The coordinate transformation module 130 converts the voltage in the rotating coordinate system (i.e., the q-axis voltage Uq and the d-axis voltage Ud) into the voltage in the stationary coordinate system (i.e., the α-axis voltage Uα and the β-axis voltage Uβ) and outputs it to the pulse width modulation circuit 140. The pulse width modulation circuit 140 adjusts the pulse width of Uα and Uβ, and outputs the three-phase inverter 150 according to the adjusted pulse width Uα and Uβ. The three-phase voltage signal is transmitted to the input end of the motor 160, the current sensor 170 collects the three-phase current output by the motor, and converts the three-phase current (Ia, Ib, Ic) into a current signal in the rotating coordinate system (i.e., q-axis current Iq-ref, d-axis current Id-ref) through the conversion module 180. The current signal is transmitted to the current controller 120 as a feedback signal. The current controller 120 adjusts the output signal according to the feedback current signal (q-axis current Iq-ref, d-axis current Id-ref) and the input current signal (i.e., the q-axis current Iq and d-axis current Id output according to the input torque Te), so that the feedback current signal is equal to the input current signal, so that the motor can work normally. Among them, the power line of the three-phase inverter has three-phase wiring of U, V, and W, the input line and output line of the permanent magnet synchronous motor have three-phase wiring of A, B, and C, and the input wiring of the current sensor has three-phase wiring of A, B, and C. In addition, the power line (U, V, W) of the three-phase inverter and the input line (A, B, C) of the permanent magnet synchronous motor must be connected in a certain phase sequence, and the output line (A, B, C) of the permanent magnet synchronous motor and the input line (A, B, C) of the current sensor must be connected in a certain phase sequence, so that the motor can operate normally. Under normal circumstances, the U-phase power line of the three-phase inverter is electrically connected to the A-phase input line of the motor, the V-phase power line is electrically connected to the B-phase input line of the motor, and the W-phase power line is electrically connected to the C-phase input line of the motor; the A-phase input line of the current sensor is electrically connected to the A-phase output line of the motor, the B-phase input line is electrically connected to the B-phase output line of the motor, and the C-phase input line is electrically connected to the C-phase output line of the motor.

[0003] In the electric drive system of pure electric vehicles, due to various reasons, the power line of the three-phase inverter and the input line of the motor are often connected in the wrong phase sequence, causing the motor to reverse or vibrate, and then causing the vehicle to reverse or not operate normally. At this time, the power line must be checked and reconnected; and when the input line of the current sensor and the output line of the motor are connected in the wrong phase sequence, due to the rotor magnetic field oriented vector control of the control system, hardware overcurrent is likely to occur and damage the devices in the control circuit, causing the vehicle to not operate normally. Summary of the invention

[0004] The present invention provides a wiring detection method and device for an electric drive system and a motor control system, so as to detect the wiring between the power line of a three-phase inverter and the input line of a motor, and to detect the wiring between the output line of the motor and a current sensor.

[0005] In a first aspect, an embodiment of the present invention provides a wiring detection method for an electric drive system, wherein the electric drive system includes a pulse width modulation circuit, a three-phase inverter, a motor, and a current sensor electrically connected in sequence, including:

[0006] Providing an α-axis reference voltage Uα to the pulse width modulation circuit and a DC bus voltage Udc to the three-phase inverter, and acquiring first position information of a rotor in the motor and a first current signal output by the current sensor;

[0007] Providing a β-axis reference voltage Uβ to the pulse width modulation circuit and providing the DC bus voltage Udc to the three-phase inverter, and acquiring second position information of the rotor in the motor and a second current signal output by the current sensor;

[0008] Determine a connection state between the three-phase inverter and the three-phase input terminal of the motor according to the α-axis reference voltage Uα, the β-axis reference voltage Uβ, and the first position information and the second position information of the rotor in the motor;

[0009] The connection status between the three-phase output terminals of the motor and the current sensor is determined based on the α-axis reference voltage Uα and the first current signal output by the current sensor, and / or based on the β-axis reference voltage Uβ and the second current signal output by the current sensor.

[0010] Optionally, the first position information includes a first electrical angle of the motor rotor, and the second position information includes a second electrical angle of the motor rotor;

[0011] Determining a connection state between the three-phase inverter and the three-phase input terminal of the motor according to the α-axis reference voltage Uα, the β-axis reference voltage Uβ, and the first position information and the second position information of the rotor in the motor, comprising:

[0012] When the α-axis reference voltage Uα and the β-axis reference voltage Uβ are both positive values, or when the α-axis reference voltage Uα and the β-axis reference voltage Uβ are both negative values, it is determined whether the phase difference between the second electrical angle and the first electrical angle is π / 2; if so, it is determined that the connection state between the three-phase inverter and the three-phase input terminal of the motor is normal; if not, it is determined that the connection state between the three-phase inverter and the three-phase input terminal of the motor is abnormal;

[0013] Alternatively, when the α-axis reference voltage Uα is a positive value and the β-axis reference voltage Uβ is a negative value, or when the α-axis reference voltage Uα is a negative value and the β-axis reference voltage Uβ is a positive value, it is determined whether the phase difference between the second electrical angle and the first electrical angle is -π / 2; if so, it is determined that the connection state between the three-phase inverter and the three-phase input terminal of the motor is normal; if not, it is determined that the connection state between the three-phase inverter and the three-phase input terminal of the motor is abnormal;

[0014] in, m is a coefficient related to the electromagnetic coefficient of the motor in the α-axis, and n is a coefficient related to the electromagnetic coefficient of the motor in the β-axis.

[0015] Optionally, the first current signal output by the current sensor includes a first A-phase current value, a first B-phase current value and a first C-phase current value; wherein the first A-phase current value is the current output by the A-phase output terminal of the motor detected by the current sensor, the first B-phase current value is the current output by the B-phase output terminal of the motor detected by the current sensor, and the first C-phase current value is the current output by the C-phase output terminal of the motor detected by the current sensor;

[0016] The second current signal output by the current sensor includes a second A-phase current value, a second B-phase current value, and a second C-phase current value; wherein the second A-phase current value is the current output by the A-phase output terminal of the motor detected by the current sensor, the second B-phase current value is the current output by the B-phase output terminal of the motor detected by the current sensor, and the second C-phase current value is the current output by the C-phase output terminal of the motor detected by the current sensor;

[0017] When the connection status between the three-phase output terminal of the motor and the current sensor is normal, the A-phase output terminal of the motor is electrically connected to the A-phase current collection terminal of the current sensor, the B-phase output terminal of the motor is electrically connected to the B-phase current collection terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the C-phase current collection terminal of the current sensor.

[0018] Optionally, determining the connection state between the three-phase output terminal of the motor and the current sensor according to the α-axis reference voltage Uα and the first current signal output by the current sensor includes:

[0019] When the α-axis reference voltage Uα is a positive value, if the first A-phase current value is a positive number, and the first B-phase current value and the first C-phase current value are both negative numbers, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is normal; if the first A-phase current value and the first C-phase current value are both negative numbers, and the first B-phase current value is a positive number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the first A-phase current value and the first B-phase current value are both negative numbers, and the first C-phase current value is a positive number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor;

[0020] Alternatively, when the α-axis reference voltage Uα is a negative value, if the first A-phase current value is a negative number, and the first B-phase current value and the first C-phase current value are both positive numbers, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is normal; if the first A-phase current value and the first C-phase current value are both positive numbers, and the first B-phase current value is a negative number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the first A-phase current value and the first B-phase current value are positive numbers, and the first C-phase output current is a negative number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor.

[0021] Optionally, determining the connection state between the three-phase output terminal of the motor and the current sensor according to the β-axis reference voltage Uβ and the second current signal output by the current sensor includes:

[0022] When the β-axis reference voltage Uβ is a positive value, if the second A-phase current value is 0, the second B-phase current value is a positive number, and the second C-phase current value is a negative number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is normal; if the second A-phase current value is a positive number, the second B-phase current value is 0, and the second C-phase current value is a negative number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is negative, the second B-phase current value is positive, and the second C-phase current value is negative. If the second A-phase current value is 0, the second B-phase current value is a negative number, and the second C-phase current value is a positive number, it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is 0, the second B-phase current value is a negative number, and the second C-phase current value is a positive number, it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor;

[0023] Alternatively, when the β-axis reference voltage Uβ is a negative value, if the second A-phase current value is 0, the second B-phase current value is a negative number, and the second C-phase current value is a positive number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is normal; if the second A-phase current value is a negative number, the second B-phase current value is 0, and the second C-phase current value is a positive number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is positive, the second B-phase current value is positive, is a negative number, and the second C-phase current value is 0, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is 0, the second B-phase current value is a positive number, and the second C-phase current value is a negative number, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor.

[0024] Optionally, providing an α-axis reference voltage Uα to the pulse width modulation circuit, and acquiring first position information of a rotor in the motor and a first current signal output by the current sensor, comprises:

[0025] Starting with the voltage value of the α-axis reference voltage Uα being equal to 0, the α-axis reference voltage Uα is supplied to the pulse width modulation circuit multiple times until the voltage value of the α-axis reference voltage Uα reaches a preset voltage value, thereby obtaining the first position information of the rotor in the motor and the first current signal output by the current sensor; wherein the α-axis reference voltage Uα supplied to the pulse width modulation circuit for the latter time is greater by a first preset value than the voltage value of the α-axis reference voltage Uα supplied to the pulse width modulation circuit for the previous time.

[0026] Optionally, providing a β-axis reference voltage Uβ to the pulse width modulation circuit, and acquiring second position information of the rotor in the motor and a second current signal output by the current sensor, comprises:

[0027] Starting with the voltage value of the β-axis reference voltage Uβ being equal to 0, the β-axis reference voltage Uβ is supplied to the pulse width modulation circuit multiple times until the voltage value of the β-axis reference voltage Uβ reaches a preset voltage value, thereby obtaining the second position information of the rotor in the motor and the second current signal output by the current sensor; wherein the β-axis reference voltage Uβ supplied to the pulse width modulation circuit for the latter time is greater by a second preset value than the voltage value of the β-axis reference voltage Uβ supplied to the pulse width modulation circuit for the previous time.

[0028] Optionally, the wiring detection method further includes:

[0029] The connection status between the three-phase inverter and the three-phase input terminal of the motor is displayed, and the connection status between the three-phase output terminal of the motor and the current sensor is displayed.

[0030] In a second aspect, an embodiment of the present invention further provides a wiring detection device for an electric drive system, wherein the electric drive system includes a pulse width modulation circuit, a three-phase inverter, a motor, and a current sensor electrically connected in sequence, including:

[0031] A first information acquisition module, configured to acquire first position information of a rotor in the motor and a first current signal output by the current sensor when providing an α-axis reference voltage Uα to the pulse width modulation circuit and providing a DC bus voltage Udc to the three-phase inverter;

[0032] A second information acquisition module, configured to acquire second position information of the rotor in the motor and a second current signal output by the current sensor when providing a β-axis reference voltage Uβ to the pulse width modulation circuit and providing the DC bus voltage Udc to the three-phase inverter;

[0033] a first wiring state determining module, configured to determine a wiring state between the three-phase inverter and the three-phase input terminal of the motor according to the α-axis reference voltage Uα, the β-axis reference voltage Uβ, and the first position information and the second position information of the rotor in the motor;

[0034] The second wiring state determination module is used to determine the wiring state between the three-phase output terminal of the motor and the current sensor according to the α-axis reference voltage Uα and the first current signal output by the current sensor, and / or according to the β-axis reference voltage Uβ and the second current signal output by the current sensor.

[0035] In a third aspect, an embodiment of the present invention further provides a motor control system, including an electric drive system and a controller;

[0036] The electric drive system includes a pulse width modulation circuit, a three-phase inverter, a motor and a current sensor which are electrically connected in sequence;

[0037] The controller is used to execute the above-mentioned wiring detection method of the electric drive system.

[0038] The wiring detection method of the electric drive system provided in the embodiment of the present invention first provides an α-axis reference voltage Uα to a pulse width modulation circuit and a DC bus voltage Udc to a three-phase inverter, and obtains first position information of a rotor in a motor and a first current signal output by a current sensor under the reference voltage, and again provides a β-axis reference voltage Uβ to the pulse width modulation circuit and a DC bus voltage Udc to the three-phase inverter after the motor state is an initial state, and obtains second position information of a rotor in the motor and a second current signal output by the current sensor under the reference voltage, and according to the α-axis reference voltage Uα, the β-axis reference voltage Uβ and the first position information and the second position information of the rotor in the motor, the wiring state between the three-phase inverter and the three-phase input terminal of the motor can be detected, and according to the α-axis reference voltage Uα and the first current signal output by the current sensor, and / or according to the β-axis reference voltage Uβ and the second current signal output by the current sensor, the wiring state between the three-phase output terminal of the motor and the current sensor can be detected. The wiring detection method can simultaneously detect the wiring status between the three-phase inverter and the motor and the wiring status between the motor and the current sensor by respectively providing the α-axis reference voltage Uα and the β-axis reference voltage Uβ. It is effective, simple, and easy to implement, and can effectively avoid the problem of the motor not being able to work normally or damaging system components due to wiring errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a structural schematic diagram of an existing permanent magnet synchronous motor control system;

[0040] Figure 2 is a structural schematic diagram of an electric drive system provided by an embodiment of the present invention;

[0041] Figure 3 is a flow chart of a wiring detection method for an electric drive system provided by an embodiment of the present invention;

[0042] Figure 4 is a flow chart of another wiring detection method for an electric drive system provided by an embodiment of the present invention;

[0043] Figure 5 is a flow chart of another wiring detection method for an electric drive system provided by an embodiment of the present invention;

[0044] Figure 6 is a flow chart of another wiring detection method for an electric drive system provided by an embodiment of the present invention;

[0045] Figure 7 is a flow chart of another wiring detection method for an electric drive system provided by an embodiment of the present invention;

[0046] Figure 8 is a flow chart of another wiring detection method for an electric drive system provided by an embodiment of the present invention;

[0047] Fig. 9 is a structural schematic diagram of a wiring detection device for an electric drive system provided by an embodiment of the present invention;

[0048] Fig.10 It is a structural schematic diagram of another wiring detection device for an electric drive system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0050] An embodiment of the present invention provides a wiring detection method for an electric drive system, which can detect the wiring condition between a three-phase inverter and a motor, and the wiring condition between a motor and a current sensor. The method can be executed by a wiring detection device for an electric drive system provided by an embodiment of the present invention. The wiring detection device for an electric drive system is implemented by software and / or hardware. The wiring detection device for an electric drive system can be integrated into the motor control system provided by an embodiment of the present invention.

[0051] Figure 2 is a schematic diagram of the structure of an electric drive system provided by an embodiment of the present invention, such as Figure 2 As shown, the electric drive system includes a pulse width modulation circuit, a three-phase inverter, a motor and a current sensor which are electrically connected in sequence. Figure 3 A flowchart of a wiring detection method for an electric drive system provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the wiring detection method of the electric drive system includes:

[0052] S110, providing an α-axis reference voltage Uα to a pulse width modulation circuit and providing a DC bus voltage Udc to a three-phase inverter, and acquiring first position information of a rotor in the motor and a first current signal output by a current sensor.

[0053] S120, providing a β-axis reference voltage Uβ to the pulse width modulation circuit and a DC bus voltage Udc to the three-phase inverter, and acquiring second position information of the rotor in the motor and a second current signal output by the current sensor.

[0054] Specifically, Figure 3As shown, an open-loop control method is used to detect the wiring of the electric drive system, and a reference voltage in a stationary coordinate system (ie, a coordinate system composed of an α-axis and a β-axis) is directly provided to the electric drive system. When the power line of the three-phase inverter 220 is correctly connected with the input line of the motor 230 in phase sequence, when the α-axis reference voltage Uα and the β-axis reference voltage Uβ are respectively input to the motor 230, the rotation angle difference of the rotor of the motor 230 under the two reference voltages is a fixed value; when the output line of the motor 230 is correctly connected with the input line of the current sensor 240 in phase sequence, the three-phase output current of the current sensor 240 has a corresponding relationship with Uα or Uβ, so the phase sequence connection of the power line of the three-phase inverter 220 and the input line of the motor 230 can be detected by inputting the α-axis reference voltage Uα and the β-axis reference voltage Uβ to the electric drive system respectively, and by detecting the position relationship of the rotor of the motor 230 under the two reference voltages, and by detecting the output current of the current sensor 240 under the α-axis reference voltage Uα and / or the β-axis reference voltage Uβ, the phase sequence connection between the output line of the motor 230 and the input line of the current sensor 240 can be detected.

[0055] Exemplarily, an α-axis reference voltage Uα is provided to the pulse width modulation circuit 210, the pulse width modulation circuit 210 performs pulse width modulation on the α-axis reference voltage Uα and transmits the pulse width modulated signal to the three-phase inverter 220, a DC bus voltage Udc is provided to the three-phase inverter 220, the three-phase inverter 220 is turned on and outputs an AC signal to the motor 230 according to the pulse width modulated signal, and the three-phase current signal output by the motor 230 is collected and output by the current sensor 240, at which time the first position information of the rotor in the motor 230 under the α-axis reference voltage Uα and the first current signal output by the current sensor 240 are obtained. After the first position information and the first current signal are acquired, the motor state is returned to the initial position, and the β-axis reference voltage Uβ is provided to the pulse width modulation circuit 210. The pulse width modulation circuit 210 performs pulse width modulation on the β-axis reference voltage Uβ and transmits the pulse width modulated signal to the three-phase inverter 220. The DC bus voltage Udc is provided to the three-phase inverter 220. The three-phase inverter 220 is turned on and outputs an AC signal to the motor 230 according to the pulse width modulated signal. The three-phase current signal output by the motor 230 is collected and output by the current sensor 240. At this time, the second position information of the rotor in the motor 230 under the β-axis reference voltage Uβ and the second current signal output by the current sensor 240 are acquired.

[0056] S130, determining a connection state between a three-phase inverter and a three-phase input terminal of the motor according to an α-axis reference voltage Uα, a β-axis reference voltage Uβ, and first position information and second position information of a rotor in the motor.

[0057] Specifically, if under the known α-axis reference voltage Uα and β-axis reference voltage Uβ, the relationship between the first position information and the second position information of the rotor in the motor 230 satisfies the relationship corresponding to the known α-axis reference voltage Uα and β-axis reference voltage Uβ, then it is determined that the wiring phase sequence between the three-phase inverter and the three-phase input terminals of the motor is correct; if not, it is determined that the wiring phase sequence between the three-phase inverter and the three-phase input terminals of the motor is incorrect.

[0058] S140, determining the connection status between the three-phase output terminals of the motor and the current sensor according to the α-axis reference voltage Uα and the first current signal output by the current sensor, and / or according to the β-axis reference voltage Uβ and the second current signal output by the current sensor.

[0059] Specifically, if under the known α-axis reference voltage Uα, the value of the first current signal output by the current sensor is the value corresponding to the α-axis reference voltage Uα, then it is determined that the wiring phase sequence between the three-phase output terminal of the motor and the current sensor is correct, and / or if under the β-axis reference voltage Uβ, the second current signal output by the current sensor is the value corresponding to the β-axis reference voltage Uβ, then it is determined that the wiring phase sequence between the three-phase output terminal of the motor and the current sensor is correct; if any of the above conditions is not met, it is determined that the wiring phase sequence between the three-phase output terminal of the motor and the current sensor is incorrect.

[0060] The wiring detection method of the electric drive system provided in the embodiment of the present invention first provides an α-axis reference voltage Uα to a pulse width modulation circuit and a DC bus voltage Udc to a three-phase inverter, and obtains first position information of a rotor in a motor and a first current signal output by a current sensor under the reference voltage, and again provides a β-axis reference voltage Uβ to the pulse width modulation circuit and a DC bus voltage Udc to the three-phase inverter after the motor state is an initial state, and obtains second position information of a rotor in the motor and a second current signal output by the current sensor under the reference voltage, and according to the α-axis reference voltage Uα, the β-axis reference voltage Uβ and the first position information and the second position information of the rotor in the motor, the wiring state between the three-phase inverter and the three-phase input terminal of the motor can be detected, and according to the α-axis reference voltage Uα and the first current signal output by the current sensor, and / or according to the β-axis reference voltage Uβ and the second current signal output by the current sensor, the wiring state between the three-phase output terminal of the motor and the current sensor can be detected. The wiring detection method can simultaneously detect the wiring status between the three-phase inverter and the motor and the wiring status between the motor and the current sensor by respectively providing the α-axis reference voltage Uα and the β-axis reference voltage Uβ. It is effective, simple, and easy to implement, and can effectively avoid the problem of the motor not being able to work normally or damaging system components due to wiring errors.

[0061] Optionally, the first position information includes a first electrical angle of the motor rotor, and the second position information includes a second electrical angle of the motor rotor; Figure 4 FIG. 1 is a flow chart of another wiring detection method for an electric drive system provided by an embodiment of the present invention. Figure 4 As shown, the wiring detection method includes:

[0062] S210, providing an α-axis reference voltage Uα to a pulse width modulation circuit and providing a DC bus voltage Udc to a three-phase inverter, and acquiring first position information of a rotor in the motor and a first current signal output by a current sensor.

[0063] S220, providing a β-axis reference voltage Uβ to the pulse width modulation circuit and a DC bus voltage Udc to the three-phase inverter, and acquiring second position information of the rotor in the motor and a second current signal output by the current sensor.

[0064] S230. When the α-axis reference voltage Uα and the β-axis reference voltage Uβ are both positive values, or when the α-axis reference voltage Uα and the β-axis reference voltage Uβ are both negative values, determine whether the phase difference between the second electrical angle and the first electrical angle is π / 2; if so, execute S240; if not, execute S250.

[0065] S240, determining that the connection status between the three-phase inverter and the three-phase input terminals of the motor is normal.

[0066] S250: Determine that the connection state between the three-phase inverter and the three-phase input terminals of the motor is abnormal.

[0067] in, m is a coefficient related to the electromagnetic coefficient of the motor in the α-axis, and n is a coefficient related to the electromagnetic coefficient of the motor in the β-axis.

[0068] Specifically, since the α-axis and the β-axis are perpendicular to each other and the positive direction of the β-axis leads the positive direction of the α-axis by π / 2 in the counterclockwise direction, when the three-phase power lines (U, V, W) of the three-phase inverter and the three-phase input wiring (A, B, C) of the motor are correctly connected in phase sequence, if the α-axis reference voltage Uα and the β-axis reference voltage Uβ provided to the pulse width modulation circuit are both positive and the torques generated on the motor rotor are equal, for example Or the α-axis reference voltage Uα and the β-axis reference voltage Uβ are both negative and produce the same torque on the motor rotor, for example At this time, the phase difference between the second electrical angle of the motor rotor rotating under the β-axis reference voltage Uβ and the first electrical angle of the motor rotor rotating under the α-axis reference voltage Uα is π / 2. Therefore, it can be determined whether the three-phase power line of the three-phase inverter and the input line of the motor are accurately connected by judging whether the phase difference between the second electrical angle and the first electrical angle is π / 2. If the phase difference between the second electrical angle and the first electrical angle is π / 2, it is determined that the connection state between the three-phase inverter and the three-phase input terminal of the motor is normal. If the phase difference between the second electrical angle and the first electrical angle is not π / 2, it is determined that the connection state between the three-phase inverter and the three-phase input terminal of the motor is abnormal, that is, the three-phase power lines U, V, W of the three-phase inverter have no corresponding connection with the input lines A, B, C of the motor, and the connection between the three-phase inverter and the motor can be reconnected.

[0069] Optional, Figure 5 is a flow chart of another wiring detection method for an electric drive system provided by an embodiment of the present invention. Figure 5 As shown, the wiring detection method includes:

[0070] S310, providing an α-axis reference voltage Uα to a pulse width modulation circuit and providing a DC bus voltage Udc to a three-phase inverter, and acquiring first position information of a rotor in the motor and a first current signal output by a current sensor.

[0071] S320, providing a β-axis reference voltage Uβ to the pulse width modulation circuit and a DC bus voltage Udc to the three-phase inverter, and obtaining second position information of the rotor in the motor and a second current signal output by the current sensor.

[0072] S330. When the α-axis reference voltage Uα is a positive value and the β-axis reference voltage Uβ is a negative value, or when the α-axis reference voltage Uα is a negative value and the β-axis reference voltage Uβ is a positive value, determine whether the phase difference between the second electrical angle and the first electrical angle is -π / 2; if so, execute S340; if not, execute S350.

[0073] S340, determining that the connection status between the three-phase inverter and the three-phase input terminals of the motor is normal.

[0074] S350: Determine that the connection state between the three-phase inverter and the three-phase input terminals of the motor is abnormal.

[0075] in, m is a coefficient related to the electromagnetic coefficient of the motor in the α-axis, and n is a coefficient related to the electromagnetic coefficient of the motor in the β-axis.

[0076] Specifically, since the α-axis and the β-axis are perpendicular to each other and the positive direction of the β-axis leads the positive direction of the α-axis by π / 2 in the counterclockwise direction, that is, the positive direction of the α-axis leads the negative direction of the β-axis by π / 2, and the negative direction of the α-axis leads the positive direction of the β-axis by π / 2, when the three-phase power lines (U, V, W) of the three-phase inverter and the three-phase input wiring (A, B, C) of the motor are correctly connected in phase sequence, if the α-axis reference voltage Uα provided to the pulse width modulation circuit is positive, the β-axis reference voltage Uβ is negative, and the torques generated on the motor rotor are equal, for example Or the α-axis reference voltage Uα is negative, the β-axis reference voltage Uβ is positive, and the torques generated on the motor rotor are equal, for example At this time, the phase difference between the second electrical angle of the motor rotor rotating under the β-axis reference voltage Uβ and the first electrical angle of the motor rotor rotating under the α-axis reference voltage Uα is -π / 2. Therefore, it can be determined whether the three-phase power line of the three-phase inverter and the input line of the motor are accurately connected by judging whether the phase difference between the second electrical angle and the first electrical angle is -π / 2. If the phase difference between the second electrical angle and the first electrical angle is -π / 2, it is determined that the connection state between the three-phase inverter and the three-phase input terminal of the motor is normal. If the phase difference between the second electrical angle and the first electrical angle is not -π / 2, it is determined that the connection state between the three-phase inverter and the three-phase input terminal of the motor is abnormal, that is, the three-phase power lines U, V, W of the three-phase inverter have no corresponding connection with the input lines A, B, C of the motor, and the connection between the three-phase inverter and the motor can be reconnected.

[0077] The wiring detection method of the electric drive system provided in an embodiment of the present invention provides different detection methods for the position information of the motor rotor corresponding to different situations when the α-axis reference voltage Uα and the β-axis reference voltage Uβ are positive or negative, thereby improving the intelligence level of the wiring detection method and being suitable for wiring detection in various situations.

[0078] Optionally, the first current signal output by the current sensor includes a first A-phase current value Ia1, a first B-phase current value Ib1 and a first C-phase current value Ic1; wherein, the first A-phase current value Ia1 is the current outputted from the A-phase output terminal of the motor detected by the current sensor, the first B-phase current value Ib1 is the current outputted from the B-phase output terminal of the motor detected by the current sensor, and the first C-phase current value Ic1 is the current outputted from the C-phase output terminal of the motor detected by the current sensor; the second current signal output by the current sensor includes a second A-phase current value Ia2, a second B-phase current value Ib2 and a second C-phase current Ic2; wherein, the second A-phase current value Ia2 is the current outputted from the A-phase output terminal of the motor detected by the current sensor, the second B-phase current value Ib2 is the current outputted from the B-phase output terminal of the motor detected by the current sensor, and the second C-phase current value Ic2 is the current outputted from the C-phase output terminal of the motor detected by the current sensor.

[0079] refer to Figure 2 When the wiring status between the three-phase output terminal of the motor and the current sensor is normal, the A-phase output terminal of the motor is electrically connected to the A-phase current collection terminal of the current sensor, the B-phase output terminal of the motor is electrically connected to the B-phase current collection terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the C-phase current collection terminal of the current sensor.

[0080] Optional, Figure 6 is a flow chart of another wiring detection method for an electric drive system provided by an embodiment of the present invention. Figure 6 As shown, the wiring detection method includes:

[0081] S410, providing an α-axis reference voltage Uα to a pulse width modulation circuit and providing a DC bus voltage Udc to a three-phase inverter, and acquiring first position information of a rotor in the motor and a first current signal output by a current sensor.

[0082] S420. When the α-axis reference voltage Uα is a positive value, determine whether the first A-phase current value is a positive number, and the first B-phase current value and the first C-phase current value are both negative numbers; if so, execute S430; if not, execute S440.

[0083] S430, determine whether the connection status between the three-phase output terminal of the motor and the current sensor is normal.

[0084] Specifically, if the wiring status of the three-phase output line of the motor and the current sensor is normal, that is, the A-phase output terminal of the motor is electrically connected to the A-phase current collection terminal of the current sensor, the B-phase output terminal of the motor is electrically connected to the B-phase current collection terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the C-phase current collection terminal of the current sensor, then when the input α-axis reference voltage Uα is a positive value, the first A-phase current value Ia1 of the motor is a positive number, and the first B-phase current value Ib1 and the first C-phase current value Ic1 are both negative numbers. Therefore, when the input α-axis reference voltage Uα is a positive value, the connection status between the motor and the current sensor can be determined by judging whether the three-phase output current of the motor satisfies the above relationship. If the judgment result is that the first A-phase current value Ia1 is a positive number, and the first B-phase current value Ib1 and the first C-phase current value Ic1 are both negative numbers, then it is determined that the connection status between the three-phase output terminal of the motor and the current sensor is normal. If the judgment result does not match the above result, it is determined that the connection status between the three-phase output terminal of the motor and the current sensor is abnormal, and the wiring error between the motor and the current sensor can continue to be judged.

[0085] S440, determine whether the first A-phase current value and the first C-phase current value are both negative, and the first B-phase current value is positive; if so, execute S450; if not, execute S460.

[0086] S450, determine that the connection status between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal collection terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal collection terminal of the current sensor.

[0087] Specifically, if the input α-axis reference voltage Uα is a positive value, the output current of the current sensor is not that the first A-phase current value is positive, and the first B-phase current value and the first C-phase current value are both negative, then it is determined that the wiring status between the three-phase output terminal of the motor and the current sensor is abnormal, and it can be further determined which two specific wirings between the motor and the current sensor are misconnected. For example, it can be further determined whether the first A-phase current value and the first C-phase current value are both negative, and the first B-phase current value is positive. If so, it can be determined that the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor, and the A-phase connection and the B-phase connection between the motor and the current sensor can be directly reconnected.

[0088] S460, determine whether the first A-phase current value and the first B-phase current value are both negative, and the first C-phase current value is positive; if so, execute S470.

[0089] S470, determine that the connection status between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal collection terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal collection terminal of the current sensor.

[0090] Specifically, if it is determined that the wiring status between the three-phase output terminal of the motor and the current sensor is abnormal, the output current of the current sensor is not that the first A phase current value and the first C phase current value are both negative, and the first B phase current value is positive, then it can be determined that the output current of the current sensor is: the first A phase current value and the first B phase current value are both negative, and the first C phase current value is positive. At this time, it can be determined that the C phase output terminal of the motor is electrically connected to the A phase current signal acquisition terminal of the current sensor, and the A phase output terminal of the motor is electrically connected to the C phase current signal acquisition terminal of the current sensor, then directly reconnect the A phase connection and the C phase connection between the motor and the current sensor.

[0091] Optionally, similar to the principle of the above embodiment, when the connection status between the three-phase output terminal of the motor and the current sensor is normal, if the input α-axis reference voltage Uα is a negative value, the output current of the current sensor should be that the first A-phase current value is a negative number, and the first B-phase current value and the first C-phase current value are both positive numbers. Therefore, when the input α-axis reference voltage Uα is a negative value, the connection status between the motor and the current sensor can be determined by judging whether the three-phase output current of the motor satisfies the above relationship. If the judgment result is that the first A-phase current value is a negative number, and the first B-phase current value and the first C-phase current value are both positive numbers, it is determined that the connection status between the three-phase output terminal of the motor and the current sensor is normal. If the judgment result is inconsistent with the above result, it is determined that the connection status between the three-phase output terminal of the motor and the current sensor is abnormal, and the wiring error between the motor and the current sensor can continue to be judged.

[0092] The wiring detection method for the electric drive system provided in the embodiment of the invention provides different detection methods for the first current signal output by the current sensor corresponding to different situations when the α-axis reference voltage Uα is a positive number or a negative number, thereby improving the intelligence level of the wiring detection method and being suitable for wiring detection in various situations.

[0093] Exemplarily, if the first A-phase current value and the first C-phase current value are both positive numbers, and the first B-phase current value is negative, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor, then the A-phase connection and the B-phase connection between the motor and the current sensor can be directly reconnected. If the first A-phase current value and the first B-phase current value are positive numbers, and the first C-phase output current is negative, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, then the A-phase connection and the C-phase connection between the motor and the current sensor can be directly reconnected.

[0094] Optional, Figure 7 is a flow chart of another method for detecting wiring of an electric drive system provided by an embodiment of the present invention. Figure 7 As shown, the wiring detection method includes:

[0095] S510, providing a β-axis reference voltage Uβ to a pulse width modulation circuit and providing a DC bus voltage Udc to a three-phase inverter, and acquiring second position information of a rotor in the motor and a second current signal output by a current sensor.

[0096] S520. When the β-axis reference voltage Uβ is positive, determine whether the second A-phase current value is 0, the second B-phase current value is positive, and the second C-phase current value is negative; if so, execute S530; if not, execute S540.

[0097] S530: Determine whether the connection status between the three-phase output terminal of the motor and the current sensor is normal.

[0098] Specifically, if the wiring status of the three-phase output line of the motor and the current sensor is normal, that is, the A-phase output terminal of the motor is electrically connected to the A-phase current collection terminal of the current sensor, the B-phase output terminal of the motor is electrically connected to the B-phase current collection terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the C-phase current collection terminal of the current sensor, then when the input β-axis reference voltage Uβ is a positive value, the second A-phase current value Ia2 of the motor is 0, the second B-phase current value Ib2 is a positive number and the second C-phase current value Ic2 is a negative number. Therefore, when the input β-axis reference voltage Uβ is a positive value, the connection status between the motor and the current sensor can be determined by judging whether the three-phase output current of the motor satisfies the above relationship. That is, if the judgment result is that the second A-phase current value Ia2 is 0, the second B-phase current value Ib2 is a positive number, and the second C-phase current value Ic2 is a negative number, then it is determined that the connection status between the three-phase output terminal of the motor and the current sensor is normal. If the judgment result does not match the above result, it is determined that the connection status between the three-phase output terminal of the motor and the current sensor is abnormal, and the wiring error between the motor and the current sensor can continue to be judged.

[0099] S540, determine whether the second A-phase current value is a positive number, the second B-phase current value is 0, and the second C-phase current value is a negative number; if so, execute S550; if not, execute S560.

[0100] S550, determine that the connection status between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal collection terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal collection terminal of the current sensor.

[0101] Specifically, if the input β-axis reference voltage Uβ is a positive value, the output current of the current sensor is not that the second A-phase current value Ia2 is 0, the second B-phase current value Ib2 is a positive number, and the second C-phase current value Ic2 is a negative number, then it is determined that the connection status between the three-phase output terminal of the motor and the current sensor is abnormal, and it can be further determined which two specific connections between the motor and the current sensor are misconnected. For example, it can be further determined whether the second A-phase current value Ia2 is a positive number, the second B-phase current value Ib2 is 0, and the second C-phase current value Ic2 is a negative number. If so, it can be determined that the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor, and the A-phase connection and the B-phase connection between the motor and the current sensor can be directly reconnected.

[0102] S560, determine whether the second A-phase current value is a negative number, the second B-phase current value is a positive number, and the second C-phase current value is 0; if so, execute S570; if not, execute S580.

[0103] S570, determine that the connection status between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal collection terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal collection terminal of the current sensor.

[0104] Specifically, if it is determined that the wiring status between the three-phase output terminal of the motor and the current sensor is abnormal, the output current of the current sensor is not that the second A-phase current value Ia2 is a positive number, the second B-phase current value Ib2 is 0, and the second C-phase current value Ic2 is a negative number, then it can be determined whether the output current of the current sensor is: the second A-phase current value Ia2 is a negative number, the second B-phase current value Ib2 is a positive number, and the second C-phase current value Ic2 is 0. If so, it can be determined that the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, then directly reconnect the A-phase connection and the C-phase connection between the motor and the current sensor.

[0105] S580, determine whether the second A-phase current value is 0, the second B-phase current value is a negative number, and the second C-phase current value is a positive number; if so, execute S590.

[0106] S590, determine that the connection status between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor.

[0107] Specifically, if it is determined that the connection status between the three-phase output terminal of the motor and the current sensor is abnormal, and the output current of the current sensor uniformly satisfies the above situation, then it can be determined that the output current of the current sensor is that the second A phase current value Ia2 is 0, the second B phase current value Ib2 is a negative number, and the second C phase current value Ic2 is a positive number. At this time, it can be determined that the B phase output terminal of the motor is electrically connected to the C phase current signal acquisition terminal of the current sensor, and the C phase output terminal of the motor is electrically connected to the B phase current signal acquisition terminal of the current sensor, then the B phase connection and the C phase connection between the motor and the current sensor are directly reconnected.

[0108] Optionally, similar to the principle of the above embodiment, when the connection status between the three-phase output terminal of the motor and the current sensor is normal, if the input β-axis reference voltage Uβ is a negative value, the output current of the current sensor should be that the second A-phase current value Ia2 is 0, the second B-phase current value Ib2 is a negative number and the second C-phase current value Ic2 is a positive number. Therefore, when the input β-axis reference voltage Uβ is a negative value, the connection status between the motor and the current sensor can be determined by judging whether the three-phase output current of the motor satisfies the above relationship. If the judgment result is that the second A-phase current value Ia2 is 0, the second B-phase current value Ib2 is a negative number and the second C-phase current value Ic2 is a positive number, then it is determined that the connection status between the three-phase output terminal of the motor and the current sensor is normal. If the judgment result is inconsistent with the above result, it is determined that the connection status between the three-phase output terminal of the motor and the current sensor is abnormal, and the wiring error between the motor and the current sensor can continue to be judged.

[0109] Exemplarily, if the second A-phase current value Ia2 is a negative number, the second B-phase current value Ib2 is 0, and the second C-phase current value Ic2 is a positive number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor, then the A-phase connection and the B-phase connection between the motor and the current sensor can be directly reconnected. If the second A-phase current value Ia2 is a positive number, the second B-phase current value Ib2 is a negative number, and the second C-phase current value Ic2 is 0, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, then the A-phase connection and the C-phase connection between the motor and the current sensor are directly reconnected. If the second A-phase current value Ia2 is 0, the second B-phase current value Ib2 is a positive number and the second C-phase current value Ic2 is a negative number, it is determined that the wiring status between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor, then directly reconnect the B-phase connection and the C-phase connection between the motor and the current sensor.

[0110] The wiring detection method for an electric drive system provided in an embodiment of the present invention provides different detection methods for the second current signal output by the current sensor corresponding to different situations when the β-axis reference voltage Uβ is a positive number or a negative number, thereby improving the intelligence level of the wiring detection method and being suitable for wiring detection in various situations.

[0111] It should be noted that in order to improve the accuracy of the wiring detection results, the first current signal obtained when the α-axis reference voltage Uα is input and the second current signal obtained when the β-axis reference voltage Uβ is input can be detected simultaneously, and the wiring status between the motor and the current sensor can be determined by comprehensively analyzing the detection results obtained based on the α-axis reference voltage Uα and the first current signal and the detection results obtained based on the β-axis reference voltage Uβ and the second current signal.

[0112] Optional, Figure 8 is a flow chart of another method for detecting wiring of an electric drive system provided by an embodiment of the present invention. Figure 8 As shown, the wiring detection method includes:

[0113] S610, starting with the voltage value of the α-axis reference voltage Uα being equal to 0, providing the α-axis reference voltage Uα to the pulse width modulation circuit multiple times until the voltage value of the α-axis reference voltage Uα reaches a preset voltage value, obtaining the first position information of the rotor in the motor and the first current signal output by the current sensor; wherein the α-axis reference voltage Uα provided to the pulse width modulation circuit at a later time is greater than the voltage value of the α-axis reference voltage Uα provided to the pulse width modulation circuit at a previous time by a first preset value.

[0114] Specifically, in order to avoid the loss of control of the unloaded motor caused by directly inputting a reference voltage of a preset voltage value into the electric drive system, the α-axis reference voltage Uα provided to the electric drive system can be controlled to gradually change from 0. Exemplarily, starting with the voltage value of the α-axis reference voltage Uα being equal to 0, the α-axis reference voltage Uα is provided to the pulse width modulation circuit in multiple times until the voltage value of the α-axis reference voltage Uα is the preset voltage value. If the α-axis reference voltage Uα provided to the pulse width modulation circuit is a positive value, the preset voltage value can be If the α-axis reference voltage Uα provided to the pulse width modulation circuit is a negative value, the preset voltage value can be When the value of the α-axis reference voltage Uα is a preset voltage value, the first position information of the rotor in the motor and the first current signal output by the current sensor are obtained. The α-axis reference voltage Uα provided to the pulse width modulation circuit the last time is greater than the voltage value of the α-axis reference voltage Uα provided to the pulse width modulation circuit the last time by a first preset value (for example, 0.1V).

[0115] S620, starting with the voltage value of the β-axis reference voltage Uβ being equal to 0, supplying the β-axis reference voltage Uβ to the pulse width modulation circuit multiple times until the voltage value of the β-axis reference voltage Uβ reaches a preset voltage value, obtaining the second position information of the rotor in the motor and the second current signal output by the current sensor; wherein the voltage value of the β-axis reference voltage Uβ supplied to the pulse width modulation circuit at the latter time is greater by a second preset value than the voltage value of the β-axis reference voltage Uβ supplied to the pulse width modulation circuit at the previous time.

[0116] Similarly, in order to avoid the loss of control of the unloaded motor caused by directly inputting a reference voltage of a preset voltage value into the electric drive system, the β-axis reference voltage Uβ provided to the electric drive system can be controlled to gradually change from 0. Exemplarily, starting with the voltage value of the β-axis reference voltage Uβ being equal to 0, the β-axis reference voltage Uβ is provided to the pulse width modulation circuit in multiple times until the voltage value of the β-axis reference voltage Uβ is the preset voltage value. If the β-axis reference voltage Uβ provided to the pulse width modulation circuit is a positive value, the preset voltage value can be If the β-axis reference voltage Uβ provided to the pulse width modulation circuit is a negative value, the preset voltage value can be When the value of the β-axis reference voltage Uβ is a preset voltage value, the second position information of the rotor in the motor and the second current signal output by the current sensor are obtained. The β-axis reference voltage Uβ provided to the pulse width modulation circuit the last time is greater than the voltage value of the β-axis reference voltage Uβ provided to the pulse width modulation circuit the last time by a second preset value (for example, the same as the first preset value, 0.1V).

[0117] S630, determining a connection state between the three-phase inverter and the three-phase input terminals of the motor according to the α-axis reference voltage Uα, the β-axis reference voltage Uβ, and the first position information and the second position information of the rotor in the motor.

[0118] S640, determine the connection status between the three-phase output terminals of the motor and the current sensor according to the α-axis reference voltage Uα and the first current signal output by the current sensor, and / or according to the β-axis reference voltage Uβ and the second current signal output by the current sensor.

[0119] S650, displaying the connection status between the three-phase inverter and the three-phase input terminal of the motor, and displaying the connection status between the three-phase output terminal of the motor and the current sensor.

[0120] Specifically, in order to make the operator more intuitively understand the wiring status between the three-phase inverter and the motor and the wiring status between the motor and the current sensor, the wiring detection results and the wiring detection results of the motor and the current sensor can be displayed. For example, if the wiring status between the three-phase inverter and the motor is normal, a prompt that the wiring is normal is displayed; if the wiring status between the three-phase inverter and the motor is abnormal, a prompt that the wiring is abnormal and the operator is requested to check and rewire is displayed; if the wiring between the motor and the current sensor is normal, a prompt that the wiring is normal is displayed; if the wiring between the motor and the current sensor is abnormal, the specific wrong connection between the motor and the current sensor is displayed, for example, the A phase line and the C phase line of the motor and the current sensor are wrongly connected, which can effectively prompt the operator of the wiring status of the electric drive system.

[0121] Based on the same inventive concept, an embodiment of the present invention also provides a wiring detection device for an electric drive system, which can detect the wiring status of the electric drive system. The wiring detection device for the electric drive system can be used to execute the wiring detection method for the electric drive system provided by an embodiment of the present invention. The wiring detection device for the electric drive system can be implemented by software and / or hardware.

[0122] Optional, Fig. 9 is a schematic diagram of the structure of a wiring detection device for an electric drive system provided by an embodiment of the present invention, such as Fig. 9As shown, the electric drive system includes a pulse width modulation circuit 210, a three-phase inverter 220, a motor 230 and a current sensor 240 which are electrically connected in sequence. The wiring detection device includes: a first information acquisition module 310, which is used to obtain the first position information of the rotor in the motor and the first current signal output by the current sensor when the α-axis reference voltage Uα is provided to the pulse width modulation circuit and the DC bus voltage Udc is provided to the three-phase inverter; a second information acquisition module 320, which is used to obtain the motor when the β-axis reference voltage Uβ is provided to the pulse width modulation circuit and the DC bus voltage Udc is provided to the three-phase inverter. a first wiring state determining module 330, for determining the wiring state between the three-phase inverter and the three-phase input terminal of the motor according to the α-axis reference voltage Uα, the β-axis reference voltage Uβ and the first position information and the second position information of the rotor in the motor; a second wiring state determining module 340, for determining the wiring state between the three-phase output terminal of the motor and the current sensor according to the α-axis reference voltage Uα and the first current signal output by the current sensor, and / or according to the β-axis reference voltage Uβ and the second current signal output by the current sensor.

[0123] The wiring detection device of the electric drive system provided in the embodiment of the present invention obtains the first position information of the rotor in the motor and the first current signal output by the current sensor when the α-axis reference voltage Uα is provided to the electric drive system through the first information acquisition module, obtains the second position information of the rotor in the motor and the second current signal output by the current sensor when the β-axis reference voltage Uβ is provided to the electric drive system through the second information acquisition module, and detects the wiring state between the three-phase inverter and the three-phase input terminal of the motor according to the acquired information through the first wiring state determination module, and detects the wiring state between the three-phase output terminal of the motor and the current sensor according to the acquired information through the second wiring state determination module. The wiring detection device can simultaneously detect the wiring state between the three-phase inverter and the motor and the wiring state between the motor and the current sensor, is effective, simple, and easy to implement, and can effectively avoid the problem of the motor not being able to work normally or damaging system components due to wiring errors.

[0124] Optionally, the first position information includes a first electrical angle of the motor rotor, and the second position information includes a second electrical angle of the motor rotor; Fig.10 is a schematic diagram of the structure of a wiring detection device for an electric drive system provided by an embodiment of the present invention, such as Fig.10As shown, the first wiring state determination module 330 includes a first judgment unit 331, which is used to judge whether the phase difference between the second electrical angle and the first electrical angle is π / 2 when the α-axis reference voltage Uα and the β-axis reference voltage Uβ are both positive values, or when the α-axis reference voltage Uα and the β-axis reference voltage Uβ are both negative values; if so, it is determined that the wiring state between the three-phase inverter and the three-phase input terminal of the motor is normal; if not, it is determined that the wiring state between the three-phase inverter and the three-phase input terminal of the motor is abnormal; a second judgment unit 332 is used to judge whether the phase difference between the second electrical angle and the first electrical angle is -π / 2 when the α-axis reference voltage Uα is positive and the β-axis reference voltage Uβ is negative, or when the α-axis reference voltage Uα is negative and the β-axis reference voltage Uβ is positive; if so, it is determined that the wiring state between the three-phase inverter and the three-phase input terminal of the motor is normal; if not, it is determined that the wiring state between the three-phase inverter and the three-phase input terminal of the motor is abnormal; wherein, m is a coefficient related to the electromagnetic coefficient of the motor in the α-axis, and n is a coefficient related to the electromagnetic coefficient of the motor in the β-axis.

[0125] Optionally, the first current signal output by the current sensor includes a first A-phase current value, a first B-phase current value and a first C-phase current value; wherein the first A-phase current value is the current output by the A-phase output terminal of the motor detected by the current sensor, the first B-phase current value is the current output by the B-phase output terminal of the motor detected by the current sensor, and the first C-phase current value is the current output by the C-phase output terminal of the motor detected by the current sensor; the second current signal output by the current sensor includes a second A-phase current value, a second B-phase current value and a second C-phase current value; wherein the second A-phase current value is the current output by the A-phase output terminal of the motor detected by the current sensor, the second B-phase current value is the current output by the B-phase output terminal of the motor detected by the current sensor, and the second C-phase current value is the current output by the C-phase output terminal of the motor detected by the current sensor; reference Fig.10 When the wiring status between the three-phase output terminal of the motor and the current sensor is normal, the A-phase output terminal of the motor is electrically connected to the A-phase current collection terminal of the current sensor, the B-phase output terminal of the motor is electrically connected to the B-phase current collection terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the C-phase current collection terminal of the current sensor.

[0126] Optionally, the second wiring state determination module 340 includes: a first wiring state detection unit 341, which is used to determine that the wiring state between the three-phase output terminal of the motor and the current sensor is normal if the first A-phase current value is positive, and the first B-phase current value and the first C-phase current value are both negative when the α-axis reference voltage Uα is a positive value; if the first A-phase current value and the first C-phase current value are both negative, and the first B-phase current value is positive, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the first A-phase current value and the first B-phase current value are both negative, and the first C-phase current value is positive, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor. The motor is electrically connected to the current signal collection terminal; the second wiring state detection unit 342 is used for, when the α-axis reference voltage Uα is a negative value, if the first A-phase current value is negative, the first B-phase current value and the first C-phase current value are both positive, then determining that the wiring state between the three-phase output terminal of the motor and the current sensor is normal; if the first A-phase current value and the first C-phase current value are both positive, and the first B-phase current value is negative, then determining that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal collection terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal collection terminal of the current sensor; if the first A-phase current value and the first B-phase current value are positive, and the first C-phase output current is negative, then determining that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal collection terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal collection terminal of the current sensor.

[0127] Optionally, the second wiring state determination module 340 also includes: a third wiring state detection unit 343, which is used to determine that the wiring state between the three-phase output terminal of the motor and the current sensor is normal if the second A-phase current value is 0, the second B-phase current value is positive, and the second C-phase current value is negative when the β-axis reference voltage Uβ is positive; if the second A-phase current value is positive, the second B-phase current value is 0, and the second C-phase current value is negative, it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor. If the second A-phase current value is negative, the second B-phase current value is positive, and the second C-phase current value is 0, it is determined that the wiring state of the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is 0, the second B-phase current value is negative, and the second C-phase current value is positive, it is determined that the wiring state of the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the B-phase current sensor. The fourth wiring state detection unit 344 is used for determining that the wiring state between the three-phase output terminal of the motor and the current sensor is normal if the second A-phase current value is 0, the second B-phase current value is negative, and the second C-phase current value is positive when the β-axis reference voltage Uβ is negative; if the second A-phase current value is negative, the second B-phase current value is 0, and the second C-phase current value is positive, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal collection terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal collection terminal of the current sensor; if the second A-phase current value is negative, the second B-phase current value is 0, and the second C-phase current value is positive, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal collection terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal collection terminal of the current sensor; If the second A-phase current value is 0, the second B-phase current value is a positive number, and the second C-phase current value is a negative number, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is 0, the second B-phase current value is a positive number, and the second C-phase current value is a negative number, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor.

[0128] Optionally, the first information acquisition module 310 includes: an α-axis reference voltage Uα control unit 311, which is used to provide the α-axis reference voltage Uα to the pulse width modulation circuit in multiple times starting from the voltage value of the α-axis reference voltage Uα being equal to 0; a first information acquisition unit 312, which is used to obtain the first position information of the rotor in the motor and the first current signal output by the current sensor until the voltage value of the α-axis reference voltage Uα provided by the α-axis reference voltage Uα control unit 311 reaches a preset voltage value; wherein the α-axis reference voltage Uα provided to the pulse width modulation circuit for the latter time is greater than the voltage value of the α-axis reference voltage Uα provided to the pulse width modulation circuit for the previous time by a first preset value.

[0129] Optionally, the second information acquisition module 320 includes: a β-axis reference voltage Uβ control unit 321, which is used to provide the β-axis reference voltage Uβ to the pulse width modulation circuit multiple times starting from the voltage value of the β-axis reference voltage Uβ being equal to 0; a second information acquisition unit 322, which is used to obtain the second position information of the rotor in the motor and the second current signal output by the current sensor until the voltage value of the β-axis reference voltage Uβ provided by the β-axis reference voltage Uβ control unit 321 reaches a preset voltage value; wherein the β-axis reference voltage Uβ provided to the pulse width modulation circuit for the latter time is greater than the voltage value of the β-axis reference voltage Uβ provided to the pulse width modulation circuit for the previous time by a second preset value.

[0130] Optionally, the wiring detection device 300 of the electric drive system further includes a display module 350 for displaying the wiring status between the three-phase inverter and the three-phase input terminal of the motor, and displaying the wiring status between the three-phase output terminal of the motor and the current sensor.

[0131] An embodiment of the present invention also provides a motor control system, comprising: an electric drive system and a controller, wherein the electric drive system includes a pulse width modulation circuit, a three-phase inverter, a motor and a current sensor electrically connected in sequence, and the controller can be used to execute the wiring detection method of the electric drive system provided in any embodiment of the present invention.

[0132] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A wiring detection method for an electric drive system, wherein the electric drive system comprises a pulse width modulation circuit, a three-phase inverter, a motor and a current sensor which are electrically connected in sequence, characterized in that: include: Providing an α-axis reference voltage Uα to the pulse width modulation circuit and a DC bus voltage Udc to the three-phase inverter, and acquiring first position information of a rotor in the motor and a first current signal output by the current sensor; Providing a β-axis reference voltage Uβ to the pulse width modulation circuit and providing the DC bus voltage Udc to the three-phase inverter, and acquiring second position information of the rotor in the motor and a second current signal output by the current sensor; Determine a connection state between the three-phase inverter and the three-phase input terminal of the motor according to the α-axis reference voltage Uα, the β-axis reference voltage Uβ, and the first position information and the second position information of the rotor in the motor; Determine the connection state between the three-phase output terminal of the motor and the current sensor according to the α-axis reference voltage Uα and the first current signal output by the current sensor, and / or according to the β-axis reference voltage Uβ and the second current signal output by the current sensor; The first position information includes a first electrical angle of the motor rotor, and the second position information includes a second electrical angle of the motor rotor; Determining a connection state between the three-phase inverter and the three-phase input terminal of the motor according to the α-axis reference voltage Uα, the β-axis reference voltage Uβ, and the first position information and the second position information of the rotor in the motor, comprising: When the α-axis reference voltage Uα and the β-axis reference voltage Uβ are both positive values, or when the α-axis reference voltage Uα and the β-axis reference voltage Uβ are both negative values, it is determined whether the phase difference between the second electrical angle and the first electrical angle is π / 2; if so, it is determined that the connection state between the three-phase inverter and the three-phase input terminal of the motor is normal; if not, it is determined that the connection state between the three-phase inverter and the three-phase input terminal of the motor is abnormal; Alternatively, when the α-axis reference voltage Uα is a positive value and the β-axis reference voltage Uβ is a negative value, or when the α-axis reference voltage Uα is a negative value and the β-axis reference voltage Uβ is a positive value, it is determined whether the phase difference between the second electrical angle and the first electrical angle is -π / 2; if so, it is determined that the connection state between the three-phase inverter and the three-phase input terminal of the motor is normal; if not, it is determined that the connection state between the three-phase inverter and the three-phase input terminal of the motor is abnormal; in, m is the coefficient related to the electromagnetic coefficient of the motor in the α-axis, and n is the coefficient related to the electromagnetic coefficient of the motor in the β-axis; The first current signal output by the current sensor includes a first A-phase current value, a first B-phase current value, and a first C-phase current value; wherein the first A-phase current value is the current output by the A-phase output terminal of the motor detected by the current sensor, the first B-phase current value is the current output by the B-phase output terminal of the motor detected by the current sensor, and the first C-phase current value is the current output by the C-phase output terminal of the motor detected by the current sensor; The second current signal output by the current sensor includes a second A-phase current value, a second B-phase current value, and a second C-phase current value; wherein the second A-phase current value is the current output by the A-phase output terminal of the motor detected by the current sensor, the second B-phase current value is the current output by the B-phase output terminal of the motor detected by the current sensor, and the second C-phase current value is the current output by the C-phase output terminal of the motor detected by the current sensor; When the connection state between the three-phase output terminal of the motor and the current sensor is normal, the A-phase output terminal of the motor is electrically connected to the A-phase current collection terminal of the current sensor, the B-phase output terminal of the motor is electrically connected to the B-phase current collection terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the C-phase current collection terminal of the current sensor; Determining the connection state between the three-phase output terminal of the motor and the current sensor according to the α-axis reference voltage Uα and the first current signal output by the current sensor includes: When the α-axis reference voltage Uα is a positive value, if the first A-phase current value is a positive number, and the first B-phase current value and the first C-phase current value are both negative numbers, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is normal; if the first A-phase current value and the first C-phase current value are both negative numbers, and the first B-phase current value is a positive number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the first A-phase current value and the first B-phase current value are both negative numbers, and the first C-phase current value is a positive number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor; Alternatively, when the α-axis reference voltage Uα is a negative value, if the first A-phase current value is a negative number, and the first B-phase current value and the first C-phase current value are both positive numbers, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is normal; if the first A-phase current value and the first C-phase current value are both positive numbers, and the first B-phase current value is a negative number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the first A-phase current value and the first B-phase current value are positive numbers, and the first C-phase output current is a negative number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor; Determining the connection state between the three-phase output terminal of the motor and the current sensor according to the β-axis reference voltage Uβ and the second current signal output by the current sensor includes: When the β-axis reference voltage Uβ is a positive value, if the second A-phase current value is 0, the second B-phase current value is a positive number, and the second C-phase current value is a negative number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is normal; if the second A-phase current value is a positive number, the second B-phase current value is 0, and the second C-phase current value is a negative number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is negative, the second B-phase current value is positive, and the second C-phase current value is negative. If the second A-phase current value is 0, the second B-phase current value is a negative number, and the second C-phase current value is a positive number, it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is 0, the second B-phase current value is a negative number, and the second C-phase current value is a positive number, it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; Alternatively, when the β-axis reference voltage Uβ is a negative value, if the second A-phase current value is 0, the second B-phase current value is a negative number, and the second C-phase current value is a positive number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is normal; if the second A-phase current value is a negative number, the second B-phase current value is 0, and the second C-phase current value is a positive number, it is determined that the connection state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is positive, the second B-phase current value is positive, is a negative number, and the second C-phase current value is 0, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is 0, the second B-phase current value is a positive number, and the second C-phase current value is a negative number, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor.

2. The wiring detection method according to claim 1, characterized in that: Providing an α-axis reference voltage Uα to the pulse width modulation circuit, and acquiring first position information of a rotor in the motor and a first current signal output by the current sensor, including: Starting with the voltage value of the α-axis reference voltage Uα being equal to 0, the α-axis reference voltage Uα is supplied to the pulse width modulation circuit multiple times until the voltage value of the α-axis reference voltage Uα reaches a preset voltage value, thereby obtaining the first position information of the rotor in the motor and the first current signal output by the current sensor; wherein the α-axis reference voltage Uα supplied to the pulse width modulation circuit for the latter time is greater by a first preset value than the voltage value of the α-axis reference voltage Uα supplied to the pulse width modulation circuit for the previous time.

3. The wiring detection method according to claim 1, characterized in that: Providing a β-axis reference voltage Uβ to the pulse width modulation circuit, and acquiring second position information of the rotor in the motor and a second current signal output by the current sensor, including: Starting with the voltage value of the β-axis reference voltage Uβ being equal to 0, the β-axis reference voltage Uβ is supplied to the pulse width modulation circuit multiple times until the voltage value of the β-axis reference voltage Uβ reaches a preset voltage value, thereby obtaining the second position information of the rotor in the motor and the second current signal output by the current sensor; wherein the β-axis reference voltage Uβ supplied to the pulse width modulation circuit for the latter time is greater by a second preset value than the voltage value of the β-axis reference voltage Uβ supplied to the pulse width modulation circuit for the previous time.

4. The wiring detection method according to claim 1, characterized in that: Also includes: The connection status between the three-phase inverter and the three-phase input terminal of the motor is displayed, and the connection status between the three-phase output terminal of the motor and the current sensor is displayed.

5. A wiring detection device for an electric drive system, the electric drive system comprising a pulse width modulation circuit, a three-phase inverter, a motor and a current sensor electrically connected in sequence, characterized in that: include: A first information acquisition module, configured to acquire first position information of a rotor in the motor and a first current signal output by the current sensor when providing an α-axis reference voltage Uα to the pulse width modulation circuit and providing a DC bus voltage Udc to the three-phase inverter; A second information acquisition module, configured to acquire second position information of the rotor in the motor and a second current signal output by the current sensor when providing a β-axis reference voltage Uβ to the pulse width modulation circuit and providing the DC bus voltage Udc to the three-phase inverter; a first wiring state determining module, configured to determine a wiring state between the three-phase inverter and the three-phase input terminal of the motor according to the α-axis reference voltage Uα, the β-axis reference voltage Uβ, and the first position information and the second position information of the rotor in the motor; a second wiring state determination module, configured to determine a wiring state between the three-phase output terminal of the motor and the current sensor according to the α-axis reference voltage Uα and the first current signal output by the current sensor, and / or according to the β-axis reference voltage Uβ and the second current signal output by the current sensor; The first position information includes a first electrical angle of the motor rotor, and the second position information includes a second electrical angle of the motor rotor; The first wiring state determination module includes: a first judgment unit, used for judging whether the phase difference between the second electrical angle and the first electrical angle is π / 2 when both the α-axis reference voltage Uα and the β-axis reference voltage Uβ are positive values, or when both the α-axis reference voltage Uα and the β-axis reference voltage Uβ are negative values; if so, it is determined that the wiring state between the three-phase inverter and the three-phase input terminal of the motor is normal; if not, it is determined that the wiring state between the three-phase inverter and the three-phase input terminal of the motor is abnormal; a second judgment unit, used for judging whether the phase difference between the second electrical angle and the first electrical angle is -π / 2 when both the α-axis reference voltage Uα and the β-axis reference voltage Uβ are positive values; if so, it is determined that the wiring state between the three-phase inverter and the three-phase input terminal of the motor is normal; if not, it is determined that the wiring state between the three-phase inverter and the three-phase input terminal of the motor is abnormal; in, m is the coefficient related to the electromagnetic coefficient of the motor in the α-axis, and n is the coefficient related to the electromagnetic coefficient of the motor in the β-axis; The first current signal output by the current sensor includes a first A-phase current value, a first B-phase current value, and a first C-phase current value; wherein the first A-phase current value is the current output by the A-phase output terminal of the motor detected by the current sensor, the first B-phase current value is the current output by the B-phase output terminal of the motor detected by the current sensor, and the first C-phase current value is the current output by the C-phase output terminal of the motor detected by the current sensor; The second current signal output by the current sensor includes a second A-phase current value, a second B-phase current value, and a second C-phase current value; wherein the second A-phase current value is the current output by the A-phase output terminal of the motor detected by the current sensor, the second B-phase current value is the current output by the B-phase output terminal of the motor detected by the current sensor, and the second C-phase current value is the current output by the C-phase output terminal of the motor detected by the current sensor; When the connection state between the three-phase output terminal of the motor and the current sensor is normal, the A-phase output terminal of the motor is electrically connected to the A-phase current collection terminal of the current sensor, the B-phase output terminal of the motor is electrically connected to the B-phase current collection terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the C-phase current collection terminal of the current sensor; The second wiring state determination module includes a first wiring state detection unit, which is used for determining that the wiring state between the three-phase output terminal of the motor and the current sensor is normal if the first A-phase current value is positive, and the first B-phase current value and the first C-phase current value are both negative when the α-axis reference voltage Uα is positive; if the first A-phase current value and the first C-phase current value are both negative, and the first B-phase current value is positive, then determining that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the first A-phase current value and the first B-phase current value are both negative, and the first C-phase current value is positive, then determining that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor; Or the second wiring state determination module includes a second wiring state detection unit, which is used for, when the α-axis reference voltage Uα is a negative value, if the first A-phase current value is a negative number, and the first B-phase current value and the first C-phase current value are both positive numbers, then determining that the wiring state between the three-phase output terminal of the motor and the current sensor is normal; if the first A-phase current value and the first C-phase current value are both positive numbers, and the first B-phase current value is negative, then determining that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the first A-phase current value and the first B-phase current value are positive numbers, and the first C-phase output current is negative, then determining that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor; The second wiring state determination module also includes a third wiring state detection unit, which is used to determine that the wiring state between the three-phase output terminal of the motor and the current sensor is normal if the second A-phase current value is 0, the second B-phase current value is positive, and the second C-phase current value is negative when the β-axis reference voltage Uβ is positive; if the second A-phase current value is positive, the second B-phase current value is 0, and the second C-phase current value is negative, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is positive, the second B-phase current value is 0, and the second C-phase current value is negative, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; negative number, the second B-phase current value is a positive number, and the second C-phase current value is 0, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is 0, the second B-phase current value is a negative number, and the second C-phase current value is a positive number, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; Or the second wiring state determination module also includes a fourth wiring state detection unit, which is used for, when the β-axis reference voltage Uβ is a negative value, if the second A-phase current value is 0, the second B-phase current value is a negative number, and the second C-phase current value is a positive number, then determining that the wiring state between the three-phase output terminal of the motor and the current sensor is normal; if the second A-phase current value is a negative number, the second B-phase current value is 0, and the second C-phase current value is a positive number, then determining that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is is a positive number, the second B-phase current value is a negative number, and the second C-phase current value is 0, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the C-phase output terminal of the motor is electrically connected to the A-phase current signal acquisition terminal of the current sensor, and the A-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor; if the second A-phase current value is 0, the second B-phase current value is a positive number, and the second C-phase current value is a negative number, then it is determined that the wiring state between the three-phase output terminal of the motor and the current sensor is abnormal, and the B-phase output terminal of the motor is electrically connected to the C-phase current signal acquisition terminal of the current sensor, and the C-phase output terminal of the motor is electrically connected to the B-phase current signal acquisition terminal of the current sensor.

6. A motor control system, characterized in that: Including electric drive system and controller; The electric drive system includes a pulse width modulation circuit, a three-phase inverter, a motor and a current sensor which are electrically connected in sequence; The controller is used to execute the wiring detection method of the electric drive system according to any one of claims 1 to 4.