Motor reverse connection detection method and device, computer device and storage medium
By obtaining the initial resolver position angle of the three-phase windings of the motor and calculating the angle difference, it is possible to quickly determine whether the three-phase windings of the permanent magnet synchronous motor are reversed, which solves the problem of long maintenance cycle in traditional detection methods and realizes rapid fault location.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- FAW JIEFANG AUTOMOTIVE CO
- Filing Date
- 2023-03-22
- Publication Date
- 2026-04-24
AI Technical Summary
Three reverse connections in a permanent magnet synchronous motor may cause the motor to fail to start, vibrate, or reverse, posing a safety hazard. Traditional testing methods have long repair cycles.
By obtaining the initial resolver position angle of the three-phase windings of the motor, calculating the target angle difference and the phase sequence angle difference range, determining the winding connection information, and quickly determining whether the three-phase windings are reversed.
It eliminates the need to repeatedly start the motor and reconnect the power lines, quickly locating motor phase sequence reverse connection faults and shortening the maintenance cycle.
Smart Images

Figure CN116413596B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of motor control technology, and in particular to a method, apparatus, computer equipment, and storage medium for detecting reverse connection of a motor. Background Technology
[0002] Permanent magnet synchronous motors (PMSMs) have advantages such as small size, light weight, and high efficiency, making them one of the preferred motors for automotive drives. However, connecting three reverse polarities in a PMSM may result in the motor failing to start, vibrating, or even reversing, causing the vehicle to travel in the opposite direction, thus posing certain safety hazards.
[0003] The traditional method involves repeatedly starting and reconnecting the motor's power lines to determine the phase sequence of the three anti-connected phases of the permanent magnet synchronous motor. However, this method results in a long maintenance cycle. Summary of the Invention
[0004] Therefore, it is necessary to provide a motor reverse connection detection method, device, computer equipment, and storage medium that can detect motor phase sequence reverse connection and quickly locate motor phase wire reverse connection faults, in order to address the above-mentioned technical problems.
[0005] In a first aspect, this application provides a method for detecting reverse connection of a motor, the method comprising:
[0006] Obtain the initial resolver position angles corresponding to the three-phase windings of the motor;
[0007] For any target phase winding in the three-phase winding of the motor, determine the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angles corresponding to the remaining two phase windings.
[0008] Based on the target angle difference and the phase sequence angle difference range, the winding connection information is determined; the winding connection information is used to characterize whether the three-phase windings of the motor are reversed.
[0009] In one embodiment, the winding connection information is determined based on the target angle difference and the phase sequence angle difference range, including:
[0010] If the target angle difference is not within the range of phase sequence angle difference, then the winding connection information indicates that the three-phase windings of the motor are reversed.
[0011] In one embodiment, the target phase winding is the first phase winding, and the phase sequence angle difference range includes a first angle difference range and a second angle difference range; the first angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the second phase winding; the second angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the third phase winding.
[0012] If the target angle difference is not within the phase sequence angle difference range, then the winding connection information is determined to indicate that the three-phase windings of the motor are reversed, including:
[0013] If the angle difference between the initial resolver position angles corresponding to the first phase winding and the second phase winding does not meet the first angle difference range, and the angle difference between the initial resolver position angles corresponding to the first phase winding and the third phase winding does not meet the second angle difference range, then the winding connection information indicates that the three-phase windings of the motor are reversed.
[0014] In one embodiment, determining the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angles corresponding to the remaining two phase windings includes:
[0015] Calculate the initial angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angle corresponding to the remaining two phase windings;
[0016] The target angle difference is determined based on the initial angle difference and the preset value.
[0017] In one embodiment, obtaining the initial resolver position angles corresponding to the three-phase windings of the motor includes:
[0018] The voltages corresponding to the three-phase windings of the motor are collected by sensors. Based on the voltages corresponding to the three-phase windings and the full-scale parameters of the sensors, the initial resolver position angles corresponding to the three-phase windings of the motor are determined.
[0019] In one embodiment, the method further includes:
[0020] After determining the winding connection information to represent the reverse connection of the three-phase windings of the motor, the target angle range in which the initial resolver position angle corresponding to the target winding is located within the preset angle range is determined.
[0021] Determine the reverse phase sequence in the three-phase windings based on the target angle range.
[0022] In one embodiment, the target winding is a first phase winding, and the preset angle interval includes a first interval, a second interval, and a third interval; the first interval represents the range of resolver position angles corresponding to the target phase winding when the second phase winding and the third phase winding are reversed; the second interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the second phase winding are reversed; and the third interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the third phase winding are reversed.
[0023] Based on the target angle range, determine the reverse phase sequence of the three-phase windings, including:
[0024] If the target angle range is the first range, then the second and third phase windings in the three-phase winding are reversed.
[0025] If the target angle range is the second range, then the first phase winding and the second phase winding in the three-phase winding are reversed.
[0026] If the target angle interval is the third interval, then the first phase winding and the third phase winding in the three-phase winding are reversed.
[0027] Secondly, this application also provides a motor reverse connection detection device. The device includes:
[0028] The acquisition module is used to obtain the initial resolver position angles corresponding to the three-phase windings of the motor.
[0029] The angle difference calculation module determines the target angle difference between the initial resolver position angle of any target phase winding in the three-phase winding of the motor and the initial resolver position angle of the remaining two phase windings.
[0030] The judgment module is used to determine the winding connection information based on the target angle difference and the phase sequence angle difference range; the winding connection information is used to characterize whether the three-phase windings of the motor are reversed.
[0031] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0032] Obtain the initial resolver position angles corresponding to the three-phase windings of the motor;
[0033] For any target phase winding in the three-phase winding of the motor, determine the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angles corresponding to the remaining two phase windings.
[0034] Based on the target angle difference and the phase sequence angle difference range, the winding connection information is determined; the winding connection information is used to characterize whether the three-phase windings of the motor are reversed.
[0035] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0036] Obtain the initial resolver position angles corresponding to the three-phase windings of the motor;
[0037] For any target phase winding in the three-phase winding of the motor, determine the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angles corresponding to the remaining two phase windings.
[0038] Based on the target angle difference and the phase sequence angle difference range, the winding connection information is determined; the winding connection information is used to characterize whether the three-phase windings of the motor are reversed.
[0039] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0040] Obtain the initial resolver position angles corresponding to the three-phase windings of the motor;
[0041] For any target phase winding in the three-phase winding of the motor, determine the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angles corresponding to the remaining two phase windings; determine the winding connection information based on the target angle difference and the phase sequence angle difference range; the winding connection information is used to characterize whether the three-phase windings of the motor are reversed.
[0042] The aforementioned motor reverse connection detection method, device, computer equipment, and storage medium, for any target phase winding in the three-phase winding of the motor, determine the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angles corresponding to the remaining two phase windings. Based on whether the target angle difference is within the phase sequence angle difference range, it determines whether the three-phase windings of the motor are reversed. It can quickly determine whether the three-phase windings of the motor are reversed based on the initial resolver position angles corresponding to the three-phase windings of the motor, without repeatedly starting the motor and reconnecting the motor's power lines, thus shortening the maintenance cycle. Attached Figure Description
[0043] Figure 1 This is an application environment diagram of the motor reverse connection detection method in one embodiment;
[0044] Figure 2 This is a flowchart illustrating a motor reverse connection detection method in one embodiment;
[0045] Figure 3 This is a schematic diagram showing the range of phase sequence angle differences when the target winding is a U-phase winding in one embodiment;
[0046] Figure 4 This is a schematic diagram showing the range of phase sequence angle differences when the target winding is a V-phase winding in one embodiment;
[0047] Figure 5 This is a schematic diagram showing the range of phase sequence angle differences when the target winding is a W-phase winding in one embodiment;
[0048] Figure 6 This is a flowchart illustrating the process of identifying reverse-connected phase wires in one embodiment;
[0049] Figure 7This is a structural block diagram of a motor reverse connection detection device in one embodiment;
[0050] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0052] The motor reverse connection detection method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on the cloud or other network servers. Terminal 102 obtains the initial resolver position angles corresponding to the three-phase windings of the motor; for any target phase winding in the three-phase windings of the motor, terminal 102 determines the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angles corresponding to the remaining two phase windings; terminal 102 determines the winding connection information based on the target angle difference and the phase sequence angle difference range; the winding connection information is used to characterize whether the three-phase windings of the motor are reversed. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented using a standalone server or a server cluster composed of multiple servers.
[0053] In one embodiment, such as Figure 2 As shown, a method for detecting reverse connection of a motor is provided, which is applied to... Figure 1 Taking the terminal in the example, the explanation includes the following steps:
[0054] Step 202: Obtain the initial resolver position angles corresponding to the three phase windings of the motor.
[0055] The motor's three-phase windings include phase U, phase V, and phase W. The motor's driver power line terminals include terminals A, B, and C. The correct phase sequence for connecting the driver power line terminals to the motor is: terminal A connects to phase U, terminal B connects to phase V, and terminal C connects to phase W.
[0056] The initial resolver position angle refers to the position angle of the motor rotor when it is first powered on, which is set at 0 degrees by DC braking and collected by a sensor.
[0057] It should be noted that the execution order for obtaining the initial resolver position angles corresponding to each of the three-phase windings of the motor is not limited. Before obtaining the initial resolver position angles corresponding to each of the three-phase windings of the motor, the high and low voltage harnesses of the motor controller have been connected, and the bus voltage is within the normal range. At this time, the U / V / W three-phase power transistors are turned on respectively. Depending on the conduction status of the U / V / W three-phase power transistors, the rotor of the motor is driven to rotate forward or in reverse. The method for obtaining the initial resolver position angles corresponding to each phase winding of the three-phase windings of the motor is the same.
[0058] Specifically, for any one phase winding of the motor's three-phase windings, the PWM duty cycle of the three-phase power transistor corresponding to that phase winding is set to be in the range of 3%-5%, while the PWM duty cycle of the three-phase power transistors corresponding to the other two phase windings is 0, thereby generating DC to guide the motor's rotor to rotate. After waiting for 5 seconds to confirm that the rotor has stopped rotating, the terminal reads and records the motor rotor position angle through a sensor, and uses it as the initial resolver position angle corresponding to that phase winding.
[0059] In some embodiments, obtaining the initial resolver position angles corresponding to the three-phase windings of the motor includes the following steps:
[0060] The voltages corresponding to the three-phase windings of the motor are collected by sensors. Based on the voltages corresponding to the three-phase windings and the full-scale parameters of the sensors, the initial resolver position angles corresponding to the three-phase windings of the motor are determined.
[0061] The sensor can be an ADC sampler, i.e., a voltage sampler, and the initial resolver position angle can be in the form of ADC sampled values.
[0062] For example, if the ADC sampler is a 12-bit sampler with a full scale of 4095 corresponding to 360°, then for the initial resolver position angle corresponding to any target phase winding in the three-phase winding of the motor, first determine the ratio of the current ADC sample value corresponding to the target winding to the full scale of 4095, and use the product of the ratio and 360° as the initial resolver position angle corresponding to the target winding.
[0063] It is important to note that the current ADC sample value is displayed in a form that can be recognized by computer equipment. For example, 0000 indicates that the voltage is 0.
[0064] Specifically, for any target phase winding in the three-phase winding of the motor, the voltage corresponding to the target winding is collected by a sensor, and the ratio between the voltage and the full-scale parameter of the sensor is determined. The product of the ratio and 360° is taken as the initial resolver position angle corresponding to the target winding. The angles of the motor U / V / W three-phase windings after stabilization are denoted as θ.u θ v θ w .
[0065] Step 204: For any target phase winding in the three-phase winding of the motor, determine the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angle corresponding to the remaining two phase windings.
[0066] In some embodiments, because the initial angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angle corresponding to the remaining two phase windings is less than 0° or exceeds the range that the terminal can recognize, the terminal cannot recognize and process the target angle difference. Therefore, this application embodiment corrects the initial angle difference to obtain the target angle difference so that the target angle difference can be recognized and processed by the terminal. Specifically, step 204 includes the following steps;
[0067] Step 1: Calculate the initial angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angle corresponding to the remaining two phase windings.
[0068] Taking the U-phase winding as an example, the target angle difference Δθ between the initial resolver position angle corresponding to the U-phase winding and the initial resolver position angle corresponding to the V-phase winding is determined. vu And the target angle difference Δθ between the initial resolver position angle corresponding to the U-phase winding and the initial resolver position angle corresponding to the W-phase winding. wu That is, Δθ vu =θ v -θ u , Δθ wu =θ w -θ u .
[0069] Step 2: Determine the target angle difference based on the initial angle difference and the preset value.
[0070] The preset value can be 0°. If the initial angle difference is less than the preset value, the initial angle difference is added to 360°, and the result is used as the target angle difference. In some embodiments, the preset value can be 360°. If the initial angle difference is greater than the preset value, the angle difference is subtracted from 360°, and the result is used as the final angle difference.
[0071] For example, if Δθ vu Or Δθ wu If the value is less than 0, add 360° to obtain the target angle difference value Δθ'. vu If Δθ vu Or Δθ wuIf the angle is greater than 360°, subtract 360° to obtain the target angle difference value Δθ'. wu .
[0072] In this embodiment of the application, by correcting the initial angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angle corresponding to the remaining two phase windings, the obtained target angle difference is easily recognized and processed by the terminal.
[0073] Step 206: Determine the winding connection information based on the target angle difference and the phase sequence angle difference range; the winding connection information is used to characterize whether the three-phase windings of the motor are reversed.
[0074] The phase sequence angle difference range characterizes the normal difference range between the initial resolver position angles corresponding to the target winding and other phase windings when rotating counterclockwise. The theoretical position angles corresponding to the U, V, and W phase windings of the motor are 0°, 120°, and 240° respectively when rotating counterclockwise.
[0075] In some embodiments, the target phase winding is the first phase winding, and the phase sequence angle difference range includes a first angle difference range and a second angle difference range; the first angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the second phase winding; the second angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the third phase winding.
[0076] The first phase winding can be any one of the three phase windings U / V / W of the motor; the second phase winding is the first winding reached from the first phase winding in a counterclockwise direction; the third phase winding is the second winding reached from the first phase winding in a counterclockwise direction.
[0077] For example, such as Figure 3 As shown, when the first phase winding is the U-phase winding, the second phase winding is the V-phase winding, and the third phase winding is the W-phase winding; the first angle difference range is the difference range between the initial resolver position angles corresponding to the U-phase winding and the V-phase winding, i.e., 120°±10°; the second angle difference range is the difference range between the initial resolver position angles corresponding to the U-phase and W-phase windings, i.e., 240°±10°.
[0078] For example, such as Figure 4 As shown, when the first phase winding is the V phase winding, the second phase winding is the W phase winding, and the third phase winding is the U phase winding; the first angle difference range is the difference range between the initial resolver position angles corresponding to the V phase winding and the W phase winding, i.e., 120°±10°; the second angle difference range is the difference range between the initial resolver position angles corresponding to the V phase and the U phase, i.e., 240°±10°.
[0079] For example, such as Figure 5As shown, when the first phase winding is the W phase winding, the second phase winding is the U phase winding, and the third phase winding is the V phase winding; the first angle difference range is the difference range between the initial resolver position angles corresponding to the W phase winding and the U phase winding, i.e., 120°±10°; the second angle difference range is the difference range between the initial resolver position angles corresponding to the W phase and the V phase, i.e., 240°±10°.
[0080] It should be noted that ±10° is a deviation angle based on experience and can be adjusted according to actual conditions.
[0081] In some embodiments, if the target angle difference is not within the range of phase sequence angle difference, the winding connection information is determined to indicate that the three-phase windings of the motor are reversed.
[0082] If the target angle difference is within the phase sequence angle difference range, then the winding connection information indicates that the phase sequence of the motor's three-phase windings is correct.
[0083] If the angle difference between the initial resolver position angles corresponding to the first phase winding and the second phase winding does not meet the first angle difference range, and the angle difference between the initial resolver position angles corresponding to the first phase winding and the third phase winding does not meet the second angle difference range, then the winding connection information indicates that the three-phase windings of the motor are reversed.
[0084] Taking the target winding as phase U as an example, if the target angle difference Δθ' vu Not within 120°±10°, and the target angle difference Δθ' wu If the angle difference is not within 240°±10°, then the three-phase windings of the motor are determined to be reversed. In other words, if the target angle difference Δθ' vu Within 240°±10°, and the target angle difference Δθ' wu If the angle is within 120°±10°, the three-phase windings of the motor are determined to be reversed.
[0085] In the above method, it is also possible to base the analysis solely on the target angle difference Δθ' vu Or the target angle difference Δθ' wu If the phase sequence angle difference is not within the range, the winding connection information indicates that the three-phase windings of the motor are reversed. However, to improve the accuracy of determining whether the three-phase windings of the motor are reversed, this application embodiment uses the target angle difference Δθ'. vu The difference between the angles Δθ and the target angle wu When all three phases are outside the range of phase sequence angle difference, the motor's three-phase windings are determined to be reversed, which can improve the accuracy of the motor's three-phase winding reverse connection determination.
[0086] In the above embodiments, for any target phase winding in the three-phase winding of the motor, the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angle corresponding to the remaining two phase windings is determined. Based on whether the target angle difference is within the range of phase sequence angle difference, it is determined whether the three-phase winding of the motor is reversed. Based on the initial resolver position angle corresponding to the three-phase winding of the motor, it is possible to quickly determine whether the three-phase winding of the motor is reversed without repeatedly starting the motor and reconnecting the motor's power lines, thus shortening the maintenance cycle.
[0087] In one embodiment, after determining the winding connection information to indicate that the three-phase windings of the motor are reversed, it is necessary to further determine the reversed phase lines. For example... Figure 6 As shown, the method for identifying reverse-connected phase wires in this embodiment includes the following steps:
[0088] Step 602: Determine the target angle range within the preset angle range where the initial resolver position angle corresponding to the target winding is located.
[0089] The preset angle range includes multiple ranges, each range representing the range of resolver position angles corresponding to the target winding when any two of the three-phase windings of the motor are reversed.
[0090] In some embodiments, the target winding is a first phase winding, and the preset angle interval includes a first interval, a second interval, and a third interval; the first interval represents the range of resolver position angles corresponding to the target phase winding when the second phase winding and the third phase winding are reversed; the second interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the second phase winding are reversed; and the third interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the third phase winding are reversed.
[0091] The first phase winding can be any one of the three phase windings U / V / W of the motor; the second phase winding is the first winding reached from the first phase winding in a counterclockwise direction; the third phase winding is the second winding reached from the first phase winding in a counterclockwise direction.
[0092] As can be seen from the above embodiments, the initial resolver position angles corresponding to the three-phase windings of the motor can be measured by sensors. Since the motor has a rotor position offset angle, that is, the initial position of the motor rotor is not at the zero point, the offset angle between the initial position and the zero point position of the motor rotor is the rotor position offset angle, denoted as θ. offsetTherefore, the initial resolver position angles of the three-phase windings of the motor measured by the sensor include the rotor position offset angle. Due to different settings, some commercially available sensors can correct the acquired initial resolver position angles, i.e., filter out the rotor position offset angle, to obtain the corrected initial resolver position angles corresponding to the three-phase windings of the motor; other sensors directly transmit the acquired initial resolver position angles to the terminal for calculation. Based on these two situations, since the initial resolver position angles are both corrected and uncorrected, if the rotor position offset angle is not considered, the matching degree between the preset angle range and the initial resolver position angle is not high, leading to low accuracy in reversing phase line detection. Therefore, to solve the above problem, in this embodiment, different preset angle ranges are set for the scenarios where the initial resolver position angle is corrected and uncorrected.
[0093] If the initial resolver position angle has not been corrected by the rotor position offset angle, then the rotor position offset angle is added to the preset error range to obtain the first interval; the rotor position offset angle is added to the first angle difference range to obtain the second interval; and the rotor position offset angle is added to the second angle difference range to obtain the third interval.
[0094] For example, if the target winding is the first phase winding (U phase), the second phase winding is the V phase, and the third phase winding is the W phase, with a preset error range of ±20°, then the first interval is θ. offset ±20°; the second interval is θ offset +120°±20°; the third interval is θ offset +240°±20.
[0095] If the initial resolver position angle is corrected by the rotor position offset angle, then the preset error range is taken as the first interval; the first angle difference range is taken as the second interval; and the third angle difference range is taken as the third interval.
[0096] For example, if the target winding is the first phase winding, the first phase winding is the U phase, the second phase winding is the V phase, and the third phase winding is the W phase, and the preset error range is ±20°, then the first interval is ±20°; the second interval is 120°±20°; and the third interval is 240°±20°.
[0097] The first angle difference range is the theoretical difference between the initial resolver position angles corresponding to the first and second phase windings; the second angle difference range is the theoretical difference between the initial resolver position angles corresponding to the first and third phase windings. This 20° deviation can vary depending on the actual situation, but the larger the deviation, the lower the accuracy. It is recommended that the maximum deviation not exceed ±50°.
[0098] Step 604: Determine the reversed phase sequence in the three-phase windings according to the target angle range.
[0099] In the case where the three-phase windings of the motor are known to be reversed, the target winding can be determined as to whether it is reversed and the specific reversed phase line based on the target angle range in the preset angle range where the initial resolver position angle of the target winding is located.
[0100] In some embodiments, if the target angle range is the first range, then the second phase winding and the third phase winding in the three-phase winding are determined to be reversed.
[0101] The target winding is the first phase winding. The first interval is the preset error range or the preset error range plus the rotor position offset angle. In other words, the initial resolver position angle corresponding to the target winding is within the error range corresponding to the correct phase line of the target winding. The connection of the target winding is correct, and the other two phase windings are reversed.
[0102] In some embodiments, if the target angle range is the second range, then the first phase winding and the second phase winding in the three-phase winding are determined to be reversed.
[0103] The target winding is the first phase winding, and the second interval is the range of the first angle difference or the range of the first angle difference plus the rotor position offset angle. In other words, the initial resolver position angle corresponding to the target winding is within the range of the resolver position angle corresponding to the second winding, and the target winding and the second winding are reversed.
[0104] In some embodiments, if the target angle range is the third range, then the first phase winding and the third phase winding in the three-phase winding are determined to be reversed.
[0105] The target winding is the first phase winding, and the third interval is the range of the second angle difference or the range of the second angle difference plus the rotor position offset angle. In other words, the initial resolver position angle corresponding to the target winding is within the range of the resolver position angle corresponding to the third winding, and the target winding and the third winding are reversed.
[0106] In this embodiment of the application, the target winding is the first phase winding, the first phase winding is the U-phase winding, the second phase winding is the V-phase winding, and the third phase winding is the W-phase winding, as an example for explanation and illustration:
[0107] After the initial resolver position angle has been corrected for the rotor position offset angle, if the target angle range is θ offset If the angle is ±20°, then V / W is determined to be reversed; if the target angle range is θ offset If the angle is +120°±20°, then U / V is determined to be reversed; if the target angle range is θ offset If the value is +240°±20, then the U / W phases are reversed.
[0108] If the initial resolver position angle has not been corrected for the rotor position offset angle, and the target angle range is ±20°, then V / W is determined to be reversed; if the target angle range is 120°±20°, then U / V is determined to be reversed; if the target angle range is 240°±20°, then U / W is determined to be reversed.
[0109] In this embodiment of the application, by determining the target angle range in which the initial resolver position angle corresponding to the target winding is located within a preset angle range, and by determining the reversed phase sequence in the three-phase winding according to the target angle range, the phase sequence of the phase sequence connection fault can be quickly and accurately located, thus shortening the maintenance cycle.
[0110] In one embodiment, this application provides detailed steps of a method for detecting reverse connection of a motor, specifically including the following steps:
[0111] Step 1: Collect the voltages corresponding to the three-phase windings of the motor using sensors. Based on the voltages corresponding to the three-phase windings and the full-scale parameters of the sensors, determine the initial resolver position angles corresponding to the three-phase windings of the motor.
[0112] Step 2: For any target phase winding in the three-phase winding of the motor, calculate the initial angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angle corresponding to the remaining two phase windings.
[0113] Step 3: Determine the target angle difference based on the initial angle difference and the preset value.
[0114] Step 4: The target phase winding is the first phase winding. The phase sequence angle difference range includes a first angle difference range and a second angle difference range. The first angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the second phase winding. The second angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the third phase winding.
[0115] If the angle difference between the initial resolver position angles corresponding to the first phase winding and the second phase winding does not meet the first angle difference range, and the angle difference between the initial resolver position angles corresponding to the first phase winding and the third phase winding does not meet the second angle difference range, then the winding connection information indicates that the three-phase windings of the motor are reversed.
[0116] Step 5: Determine the target angle range within the preset angle range where the initial resolver position angle corresponding to the target winding is located;
[0117] Step 6: The target winding is the first phase winding. The preset angle range includes a first interval, a second interval, and a third interval. The first interval represents the range of resolver position angles of the target phase winding when the second phase winding and the third phase winding are reversed. The second interval represents the range of resolver position angles of the target phase winding when the first phase winding and the second phase winding are reversed. The third interval represents the range of resolver position angles of the target phase winding when the first phase winding and the third phase winding are reversed.
[0118] If the target angle interval is the first interval, then the second and third phase windings of the three-phase winding are reversed; if the target angle interval is the second interval, then the first and second phase windings of the three-phase winding are reversed; if the target angle interval is the third interval, then the first and third phase windings of the three-phase winding are reversed.
[0119] In the above embodiments, for any target phase winding in the three-phase winding of the motor, the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angle corresponding to the remaining two phase windings is determined. Based on whether the target angle difference is within the range of phase sequence angle difference, it is determined whether the three-phase winding of the motor is reversed. Based on the initial resolver position angle corresponding to the three-phase winding of the motor, it is possible to quickly determine whether the three-phase winding of the motor is reversed without repeatedly starting the motor and reconnecting the motor's power lines, thus shortening the maintenance cycle.
[0120] By determining the target angle range within the preset angle range of the initial resolver position angle corresponding to the target winding, and determining the reversed phase sequence in the three-phase winding based on the target angle range, the phase sequence of the phase sequence connection fault can be quickly and accurately located, shortening the maintenance cycle.
[0121] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of steps or stages in other steps.
[0122] Based on the same inventive concept, this application also provides a motor reverse connection detection device for implementing the motor reverse connection detection method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more embodiments of the motor reverse connection detection device provided below can be found in the limitations of the motor reverse connection detection method described above, and will not be repeated here.
[0123] In one embodiment, such as Figure 7 As shown, a motor reverse connection detection device is provided, comprising: a data acquisition module 100, an angle difference calculation module 200, and a judgment module 300, wherein:
[0124] The acquisition module 100 is used to acquire the initial resolver position angles corresponding to the three-phase windings of the motor.
[0125] The angle difference calculation module 200 is used to determine the target angle difference between the initial resolver position angle of any target phase winding and the initial resolver position angle of the remaining two phase windings for any target phase winding in the three-phase winding of the motor.
[0126] The judgment module 300 is used to determine the winding connection information based on the target angle difference and the phase sequence angle difference range; the winding connection information is used to characterize whether the three-phase windings of the motor are reversed.
[0127] In one embodiment, the determination module 300 is further configured to: if the target angle difference is not within the phase sequence angle difference range, determine that the winding connection information indicates that the three-phase windings of the motor are reversed.
[0128] In one embodiment, the target phase winding is the first phase winding, and the phase sequence angle difference range includes a first angle difference range and a second angle difference range; the first angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the second phase winding; the second angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the third phase winding.
[0129] The judgment module 300 is also used to: if the angle difference between the initial resolver position angles corresponding to the first phase winding and the second phase winding does not meet the first angle difference range, and the angle difference between the initial resolver position angles corresponding to the first phase winding and the third phase winding does not meet the second angle difference range, then determine that the winding connection information indicates that the three-phase windings of the motor are reversed.
[0130] In one embodiment, the angle difference calculation module 200 is further configured to: calculate the initial angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angle corresponding to the remaining two phase windings respectively;
[0131] The target angle difference is determined based on the initial angle difference and the preset value.
[0132] In one embodiment, the acquisition module 100 is further configured to: acquire the voltages corresponding to the three-phase windings of the motor through sensors, and determine the initial resolver position angles corresponding to the three-phase windings of the motor based on the voltages corresponding to the three-phase windings and the full-scale parameters of the sensors.
[0133] In one embodiment, the determination module 300 is further configured to: after determining that the winding connection information indicates that the three-phase windings of the motor are reversed, determine the target angle range in which the initial resolver position angle corresponding to the target winding is located within the preset angle range.
[0134] Determine the reverse phase sequence in the three-phase windings based on the target angle range.
[0135] In one embodiment, the target winding is a first phase winding, and the preset angle interval includes a first interval, a second interval, and a third interval; the first interval represents the range of resolver position angles corresponding to the target phase winding when the second phase winding and the third phase winding are reversed; the second interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the second phase winding are reversed; and the third interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the third phase winding are reversed.
[0136] The judgment module 300 is also used to: if the target angle range is the first range, determine that the second phase winding and the third phase winding in the three-phase winding are reversed;
[0137] If the target angle range is the second range, then the first phase winding and the second phase winding in the three-phase winding are reversed.
[0138] If the target angle interval is the third interval, then the first phase winding and the third phase winding in the three-phase winding are reversed.
[0139] Each module in the aforementioned motor reverse connection detection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0140] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 8As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a method for detecting reverse connection of a motor. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0141] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0142] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0143] Obtain the initial resolver position angles corresponding to the three-phase windings of the motor;
[0144] For any target phase winding in the three-phase winding of the motor, determine the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angles corresponding to the remaining two phase windings.
[0145] Based on the target angle difference and the phase sequence angle difference range, the winding connection information is determined; the winding connection information is used to characterize whether the three-phase windings of the motor are reversed.
[0146] In one embodiment, when the processor executes the computer program, it further performs the following steps: if the target angle difference is not within the range of phase sequence angle difference, it determines that the winding connection information indicates that the three-phase windings of the motor are reversed.
[0147] In one embodiment, when the processor executes the computer program, it further implements the following steps: the target phase winding is a first phase winding, and the phase sequence angle difference range includes a first angle difference range and a second angle difference range; the first angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the second phase winding; the second angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the third phase winding.
[0148] If the target angle difference is not within the phase sequence angle difference range, then the winding connection information is determined to indicate that the three-phase windings of the motor are reversed, including:
[0149] If the angle difference between the initial resolver position angles corresponding to the first phase winding and the second phase winding does not meet the first angle difference range, and the angle difference between the initial resolver position angles corresponding to the first phase winding and the third phase winding does not meet the second angle difference range, then the winding connection information indicates that the three-phase windings of the motor are reversed.
[0150] In one embodiment, when the processor executes the computer program, it further performs the following steps: calculating the initial angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angle corresponding to the remaining two phase windings, respectively.
[0151] The target angle difference is determined based on the initial angle difference and the preset value.
[0152] In one embodiment, when the processor executes the computer program, it also performs the following steps: acquiring the voltages corresponding to the three-phase windings of the motor through sensors, and determining the initial resolver position angles corresponding to the three-phase windings of the motor based on the voltages corresponding to the three-phase windings and the full-scale parameters of the sensors.
[0153] In one embodiment, when the processor executes the computer program, it further performs the following steps: after determining that the winding connection information represents the reverse connection of the three-phase windings of the motor, it determines the target angle range in which the initial resolver position angle corresponding to the target winding is located in the preset angle range.
[0154] Determine the reverse phase sequence in the three-phase windings based on the target angle range.
[0155] In one embodiment, the target winding is a first phase winding, and the preset angle interval includes a first interval, a second interval, and a third interval; the first interval represents the range of resolver position angles corresponding to the target phase winding when the second phase winding and the third phase winding are reversed; the second interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the second phase winding are reversed; and the third interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the third phase winding are reversed.
[0156] When the processor executes the computer program, it also performs the following steps: if the target angle range is the first range, then determine that the second phase winding and the third phase winding in the three-phase winding are reversed;
[0157] If the target angle range is the second range, then the first phase winding and the second phase winding in the three-phase winding are reversed.
[0158] If the target angle interval is the third interval, then the first phase winding and the third phase winding in the three-phase winding are reversed.
[0159] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0160] Obtain the initial resolver position angles corresponding to the three-phase windings of the motor;
[0161] For any target phase winding in the three-phase winding of the motor, determine the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angles corresponding to the remaining two phase windings.
[0162] Based on the target angle difference and the phase sequence angle difference range, the winding connection information is determined; the winding connection information is used to characterize whether the three-phase windings of the motor are reversed.
[0163] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the target angle difference is not within the range of phase sequence angle difference, then determine that the winding connection information indicates that the three-phase windings of the motor are reversed.
[0164] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: the target phase winding is a first phase winding, and the phase sequence angle difference range includes a first angle difference range and a second angle difference range; the first angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the second phase winding; the second angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the third phase winding.
[0165] If the target angle difference is not within the phase sequence angle difference range, then the winding connection information is determined to indicate that the three-phase windings of the motor are reversed, including:
[0166] If the angle difference between the initial resolver position angles corresponding to the first phase winding and the second phase winding does not meet the first angle difference range, and the angle difference between the initial resolver position angles corresponding to the first phase winding and the third phase winding does not meet the second angle difference range, then the winding connection information indicates that the three-phase windings of the motor are reversed.
[0167] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: calculating the initial angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angle corresponding to the remaining two phase windings, respectively.
[0168] The target angle difference is determined based on the initial angle difference and the preset value.
[0169] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: acquiring the voltages corresponding to the three-phase windings of the motor through sensors, and determining the initial resolver position angles corresponding to the three-phase windings of the motor based on the voltages corresponding to the three-phase windings and the full-scale parameters of the sensors.
[0170] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: after determining that the winding connection information represents the reverse connection of the three-phase windings of the motor, it determines the target angle range in which the initial resolver position angle corresponding to the target winding is located within the preset angle range.
[0171] Determine the reverse phase sequence in the three-phase windings based on the target angle range.
[0172] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: the target winding is a first phase winding, and the preset angle interval includes a first interval, a second interval, and a third interval; the first interval represents the range of resolver position angles corresponding to the target phase winding when the second phase winding and the third phase winding are reversed; the second interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the second phase winding are reversed; the third interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the third phase winding are reversed.
[0173] If the target angle range is the first range, then the second and third phase windings in the three-phase winding are reversed.
[0174] If the target angle range is the second range, then the first phase winding and the second phase winding in the three-phase winding are reversed.
[0175] If the target angle interval is the third interval, then the first phase winding and the third phase winding in the three-phase winding are reversed.
[0176] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0177] Obtain the initial resolver position angles corresponding to the three-phase windings of the motor;
[0178] For any target phase winding in the three-phase winding of the motor, determine the target angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angles corresponding to the remaining two phase windings.
[0179] Based on the target angle difference and the phase sequence angle difference range, the winding connection information is determined; the winding connection information is used to characterize whether the three-phase windings of the motor are reversed.
[0180] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the target angle difference is not within the range of phase sequence angle difference, then determine that the winding connection information indicates that the three-phase windings of the motor are reversed.
[0181] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: the target phase winding is a first phase winding, and the phase sequence angle difference range includes a first angle difference range and a second angle difference range; the first angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the second phase winding; the second angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the third phase winding.
[0182] If the target angle difference is not within the phase sequence angle difference range, then the winding connection information is determined to indicate that the three-phase windings of the motor are reversed, including:
[0183] If the angle difference between the initial resolver position angles corresponding to the first phase winding and the second phase winding does not meet the first angle difference range, and the angle difference between the initial resolver position angles corresponding to the first phase winding and the third phase winding does not meet the second angle difference range, then the winding connection information indicates that the three-phase windings of the motor are reversed.
[0184] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: calculating the initial angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angle corresponding to the remaining two phase windings, respectively.
[0185] The target angle difference is determined based on the initial angle difference and the preset value.
[0186] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: acquiring the voltages corresponding to the three-phase windings of the motor through sensors, and determining the initial resolver position angles corresponding to the three-phase windings of the motor based on the voltages corresponding to the three-phase windings and the full-scale parameters of the sensors.
[0187] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: after determining that the winding connection information represents the reverse connection of the three-phase windings of the motor, it determines the target angle range in which the initial resolver position angle corresponding to the target winding is located within the preset angle range.
[0188] Determine the reverse phase sequence in the three-phase windings based on the target angle range.
[0189] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: the target winding is a first phase winding, and the preset angle interval includes a first interval, a second interval, and a third interval; the first interval represents the range of resolver position angles corresponding to the target phase winding when the second phase winding and the third phase winding are reversed; the second interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the second phase winding are reversed; the third interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the third phase winding are reversed.
[0190] If the target angle range is the first range, then the second and third phase windings in the three-phase winding are reversed.
[0191] If the target angle range is the second range, then the first phase winding and the second phase winding in the three-phase winding are reversed.
[0192] If the target angle interval is the third interval, then the first phase winding and the third phase winding in the three-phase winding are reversed.
[0193] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0194] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0195] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0196] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for detecting reverse connection of a motor, characterized in that, The method includes: Turn on the U / V / W three-phase power transistors. For any one phase of the motor's three-phase windings, set the PWM duty cycle of the three-phase power transistor driving that phase winding to a range of 3%-5%. Set the PWM duty cycle of the three-phase power transistors driving the other two phase windings to 0, thereby generating DC to guide the motor's rotor to rotate. Once the rotor stops rotating, collect the voltages corresponding to the three-phase windings of the motor through sensors. Based on the voltages corresponding to the three-phase windings and the full-scale parameters of the sensors, determine the initial resolver position angles corresponding to the three-phase windings of the motor. For any target phase winding in the three-phase winding of the motor, calculate the initial angle difference between the initial resolver position angle corresponding to the target phase winding and the initial resolver position angles corresponding to the remaining two phase windings; if the initial angle difference is less than 0°, add it to 360°, and if it is greater than 360°, subtract it from 360° to obtain the target angle difference; If the target angle difference is not within the phase sequence angle difference range, then the winding connection information indicates that the three-phase windings of the motor are reversed; the winding connection information is used to indicate whether the three-phase windings of the motor are reversed. After determining that the winding connection information indicates that the three-phase windings of the motor are reversed, different preset angle ranges are set for scenarios where the initial resolver position angle is corrected and uncorrected; the target angle range in which the initial resolver position angle corresponding to the target phase winding is located within the preset angle range is determined; and the reversed phase sequence in the three-phase windings is determined according to the target angle range.
2. The method according to claim 1, characterized in that, The target phase winding is the first phase winding, and the phase sequence angle difference range includes a first angle difference range and a second angle difference range; the first angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the second phase winding; the second angle difference range is the difference range between the initial resolver position angles corresponding to the first phase winding and the third phase winding. If the target angle difference is not within the range of the phase sequence angle difference, then determining that the winding connection information indicates that the three-phase windings of the motor are reversed includes: If the angle difference between the initial resolver position angles corresponding to the first phase winding and the second phase winding does not meet the first angle difference range, and the angle difference between the initial resolver position angles corresponding to the first phase winding and the third phase winding does not meet the second angle difference range, then the winding connection information indicates that the three-phase windings of the motor are reversed.
3. The method according to claim 1, characterized in that, The target phase winding is the first phase winding, and the preset angle interval includes a first interval, a second interval, and a third interval; the first interval represents the range of resolver position angles corresponding to the target phase winding when the second phase winding and the third phase winding are reversed; the second interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the second phase winding are reversed; the third interval represents the range of resolver position angles corresponding to the target phase winding when the first phase winding and the third phase winding are reversed. Determining the reversed phase sequence in the three-phase winding based on the target angle range includes: If the target angle range is the first range, then the second phase winding and the third phase winding in the three-phase winding are determined to be reversed; If the target angle range is the second range, then the first phase winding and the second phase winding in the three-phase winding are determined to be reversed; If the target angle range is the third range, then the first phase winding and the third phase winding in the three-phase winding are determined to be reversed.
4. A motor reverse connection detection device, characterized in that, The device includes: The acquisition module is used to turn on the U / V / W three-phase power transistors. For any one phase winding of the motor's three-phase windings, the PWM duty cycle of the three-phase power transistor driving that phase winding is set to a range of 3%-5%, while the PWM duty cycle of the three-phase power transistors corresponding to the other two phase windings is 0, thereby forming DC to guide the motor's rotor to rotate. Once the rotor stops rotating, the module acquires the voltages corresponding to the three phase windings of the motor through sensors. Based on the voltages corresponding to the three phase windings and the full-scale parameters of the sensors, the module determines the initial resolver position angles corresponding to the three phase windings of the motor. The angle difference calculation module is used to calculate the initial angle difference between the initial resolver position angle corresponding to any target phase winding in the three-phase winding of the motor and the initial resolver position angle corresponding to the remaining two phase windings; if the initial angle difference is less than 0°, it is added to 360°, and if it is greater than 360°, it is subtracted from 360° to obtain the target angle difference. The judgment module is used to determine if the target angle difference is not within the phase sequence angle difference range, and if so, that the winding connection information indicates that the three-phase windings of the motor are reversed; the winding connection information is used to indicate whether the three-phase windings of the motor are reversed. The judgment module is further configured to, after determining that the winding connection information indicates that the three-phase windings of the motor are reversed, set different preset angle ranges for scenarios where the initial resolver position angle is corrected and uncorrected; determine the target angle range in which the initial resolver position angle corresponding to the target phase winding is located within the preset angle range; and determine the reversed phase sequence in the three-phase windings based on the target angle range.
5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 3.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
System and method for phase sequence detection and rotor initial location positioning of three-phase permanent-magnet synchronous motor
CN103825518A
Method for testing initial position angle of motor rotor
CN106787995A
Permanent magnet synchronous motor power line wiring phase sequence detection method and detection system
CN108693436A
Method and system for detecting wiring sequence of rotary transformer
CN113587956A