Motor phase failure determination method and device, and vehicle

By counting the number of phase currents in multiple sectors during the motor operation, the motor phase failure is detected by software, and the problems of high hardware cost and low detection reliability in the prior art are solved, and more efficient motor failure is achieved Phase fault detection.

CN118625129BActive Publication Date: 2024-11-19BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411082855.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-19
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

In the prior art, motor phase-deficiency detection requires new hardware circuits, resulting in high hardware cost and low detection reliability.

Method used

By obtaining the phase current of each phase during the motor operation, counting the number of phase currents with phase loss abnormalities in multiple sectors. If the number is greater than the threshold, it is determined that the motor has a phase loss fault and use software detection to avoid additional New hardware circuits are added.

Benefits of technology

It reduces hardware costs, improves the reliability and accuracy of motor phase failure detection, and reduces the risk of misjudgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625129B_ABST
    Figure CN118625129B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for determining a motor phase loss fault, and a vehicle, and relates to the field of vehicles. During the operation of the motor, after obtaining the phase current of each phase when the motor is in multiple sectors, the phase loss detector determines the number of phase currents with phase loss abnormalities in multiple sectors according to the phase current of each phase. If the number is greater than a number threshold, it is determined that the motor has a phase loss fault. The present invention detects whether the motor has a phase loss fault by means of software. Since no additional hardware circuit is required, the hardware cost is reduced, and the reliability of the detection of the motor phase loss fault is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicles, and in particular to a method and device for determining a motor phase loss fault, and a vehicle. Background Art

[0002] In order to prevent the motor from burning out due to phase loss, it is usually necessary to perform phase loss detection on the motor.

[0003] In the related art, it is usually necessary to add a phase loss detection circuit to detect whether the motor is missing a phase. However, since an additional hardware circuit is required, the hardware cost is high, and if an abnormality occurs in the phase loss detection circuit, it will not be possible to detect whether the motor is missing a phase, resulting in low reliability of motor phase loss detection. Summary of the invention

[0004] The present invention provides a method and device for determining a motor phase loss fault, and a vehicle, which can solve the problem in the related art that a new phase loss detection circuit is needed to detect whether the motor is phase-lost, resulting in high hardware costs. The technical solution is as follows:

[0005] In one aspect, the present invention provides a method for determining a motor phase failure, the method comprising:

[0006] During the operation of the motor, the phase current of each phase when the motor is in multiple sectors is obtained;

[0007] According to the phase current of each phase, the number of phase currents with phase loss abnormality in multiple sectors is determined;

[0008] If the number is greater than the number threshold, it is determined that the motor has a phase loss fault.

[0009] Optionally, determining the number of phase currents with phase loss abnormalities in multiple sectors includes:

[0010] Selecting at least two valid sectors from a plurality of sectors;

[0011] Based on the phase currents in at least two valid sectors, the number of phase currents with phase loss abnormalities in the plurality of sectors is determined.

[0012] Optionally, based on the phase currents in at least two valid sectors, determining the number of phase currents with phase loss abnormalities in multiple sectors includes:

[0013] For each valid sector, if the phase current in the valid sector is greater than the first current threshold, the first value is subtracted from the count value, and the count value is used to indicate the number of phase currents with phase loss abnormality;

[0014] If the phase current in the effective sector is less than or equal to the first current threshold, the count value is increased by a second value or the count value is kept unchanged.

[0015] Optionally, increasing the count value by a second value or keeping the count value unchanged includes:

[0016] If the speed of the motor is greater than the speed threshold, the count value is increased by a second value;

[0017] If the motor speed is less than or equal to the speed threshold, the count value remains unchanged.

[0018] Optionally, before the motor is running, the method further includes:

[0019] When the motor is in a zero speed state, a pulse signal is injected into the motor;

[0020] In the process of injecting pulse signals into the motor, the maximum value of the phase current of each phase of the motor is obtained;

[0021] If the maximum value of the phase current of any phase is less than the second current threshold, it is determined that a phase failure occurs in the motor.

[0022] Optionally, the method further includes:

[0023] When the target condition is detected, the pulse signal injection to the motor is stopped;

[0024] The target conditions include:

[0025] The duration of the pulse signal injected into the motor reaches the target duration;

[0026] Alternatively, the maximum value of the phase current of any phase is greater than the third current threshold.

[0027] Optionally, the motor is a dual three-phase motor, and the method further includes:

[0028] If both sets of windings of the dual three-phase motor have a phase failure, the motor will be controlled to stop;

[0029] If a phase failure occurs in one of the two sets of windings, the other set of windings will be controlled to be in working state.

[0030] On the other hand, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the above-mentioned method for determining a motor phase loss fault is implemented.

[0031] On the other hand, the present invention provides a device for determining a motor phase loss fault, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned method for determining a motor phase loss fault is implemented.

[0032] On the other hand, the present invention provides a vehicle, comprising: the above-mentioned motor phase loss fault determination device.

[0033] In summary, the embodiments of the present invention provide a method and device for determining a motor phase loss fault, and a vehicle. During the operation of the motor, after obtaining the phase current of each phase when the motor is in multiple sectors, the phase loss detector determines the number of phase currents with phase loss abnormalities in multiple sectors based on the phase current of each phase. If the number is greater than the number threshold, it is determined that the motor has a phase loss fault. The embodiments of the present invention detect whether the motor has a phase loss fault by means of software. Since no additional hardware circuit is required, the hardware cost is reduced, and the reliability of the motor phase loss fault detection is improved.

[0034] Additional aspects and advantages of the invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a flow chart of a method for determining a motor phase loss fault provided by an embodiment of the present invention;

[0036] Figure 2 is a flow chart of another method for determining a motor phase loss fault provided by an embodiment of the present invention;

[0037] Figure 3 A schematic diagram of the structure of a vehicle provided by an embodiment of the present invention;

[0038] Figure 4 is a schematic diagram of a relationship between a count value and a sector provided by an embodiment of the present invention;

[0039] Figure 5 It is a structural schematic diagram of a motor phase failure determination device provided by an embodiment of the present invention;

[0040] Figure 6 It is a module diagram of another motor phase loss fault determination device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0041] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0042] Figure 1 FIG. 1 is a flow chart of a method for determining a motor phase failure provided by an embodiment of the present invention. Figure 1 As shown, the method includes:

[0043] Step 101: During the operation of the motor, the phase current of each phase when the motor is in multiple sectors is obtained.

[0044] During the operation of the motor, the phase loss detector can obtain the phase current of each phase when the motor is in multiple sectors.

[0045] Step 102: Determine the number of phase currents with phase loss abnormalities in multiple sectors according to the phase current of each phase.

[0046] During the operation of the motor, after the phase loss detector obtains the phase current of each phase when the motor is in multiple sectors, the number of phase currents with phase loss abnormalities in multiple sectors can be determined based on the phase current of each phase.

[0047] Step 103: If the number is greater than the number threshold, it is determined that the motor has a phase loss fault.

[0048] According to the phase current of each phase, the phase loss detector determines the number of phase currents with phase loss abnormalities in multiple sectors. If the number is greater than the number threshold, it is determined that the motor has a phase loss fault.

[0049] In summary, an embodiment of the present invention provides a method for determining a motor phase-loss fault. During the operation of the motor, after the phase current of each phase is obtained when the motor is in multiple sectors, the phase-loss detector determines the number of phase currents with phase-loss abnormalities in multiple sectors according to the phase current of each phase. If the number is greater than the number threshold, it is determined that the motor has a phase-loss fault. The embodiment of the present invention detects whether the motor has a phase-loss fault by means of software. Since no additional hardware circuit is required, the hardware cost is reduced, and the reliability of the detection of the motor phase-loss fault is improved. In addition, since the phase currents with phase-loss abnormalities in multiple sectors are counted, and whether the motor has a phase-loss fault is determined based on the counted number, compared with judging whether the motor has a phase-loss fault based on the phase current of the motor in one sector, the method provided by the embodiment of the present invention can reduce the risk of misjudging the motor phase-loss fault, and accordingly, improve the accuracy of determining the motor phase-loss fault.

[0050] Figure 2 FIG. 1 is a flow chart of another method for determining a motor phase failure provided by an embodiment of the present invention. Figure 2 As shown, the method may include:

[0051] Step 201: When the motor is in a zero-speed state, inject a pulse signal into the motor.

[0052] After the vehicle is powered on, when the motor is in a zero-speed state, the phase loss detector can inject a pulse signal into the motor. The motor being in a zero-speed state means that the motor speed is 0 and the motor is not started.

[0053] The motor may be a single three-phase motor or a dual three-phase motor. In the case where the motor is a single three-phase motor, the motor includes a winding, and the winding is a three-phase winding. The vehicle may include a power supply and a drive circuit for the motor. The drive circuit may be a three-phase inverter bridge. The phase loss detector injecting a pulse signal into the motor refers to the phase loss detector inputting a pulse signal into the winding. In the case where the motor is a dual three-phase motor, the dual three-phase motor may include two independent windings, both of which are three-phase windings. The phase loss detector injecting a pulse signal into the motor refers to the phase loss detector inputting a pulse signal into the two sets of windings respectively.

[0054] In an embodiment of the present invention, the phase failure detector can inject a pulse signal into the driving circuit of the motor, thereby injecting a pulse signal into the winding of the motor.

[0055] The following takes the motor as a dual three-phase motor as an example. Figure 3 A schematic diagram of a vehicle structure provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the vehicle 100 may include a first set of windings M1, a second set of windings M2, a first drive circuit 10, a second drive circuit 20, a first power source P1 and a second power source P2. Optionally, both the first drive circuit 10 and the second drive circuit 20 may be three-phase inverter bridges.

[0056] The DC end of the first drive circuit 10 is connected to the first power supply P1, and the AC end of the first drive circuit 10 is connected to the first winding M1. The DC end of the second drive circuit 20 is connected to the second power supply P2, and the AC end of the second drive circuit 20 is connected to the second winding M2.

[0057] The first driving circuit 10 may include a first phase bridge arm, a second phase bridge arm and a third phase bridge arm, and the first phase bridge arm to the third phase bridge arm are all provided with an upper bridge switch tube and a lower bridge switch tube. The upper bridge switch tube and the lower bridge switch tube may both be insulated gate bipolar transistors (IGBT).

[0058] Among them, the upper bridge switch tube of the first phase bridge arm of the first drive circuit 10 is the first switch tube Q1, the lower bridge switch tube is the fourth switch tube Q4, and there is a first node n1 between the first switch tube Q1 and the fourth switch tube Q4. The upper bridge switch tube of the second phase bridge arm of the first drive circuit 10 is the second switch tube Q2, the lower bridge switch tube is the fifth switch tube Q5, and there is a second node n2 between the second switch tube Q2 and the fifth switch tube Q5. The upper bridge switch tube of the third phase bridge arm of the first drive circuit 10 is the third switch tube Q3, the lower bridge switch tube is the sixth switch tube Q6, and there is a third node n3 between the third switch tube Q3 and the sixth switch tube Q6. The first node n1 is connected to the first phase A1 of the first set of windings M1, the second node n2 is connected to the second phase B1 of the first set of windings M1, and the third node n3 is connected to the third phase C1 of the first set of windings M1.

[0059] The second drive circuit 20 may include a first phase bridge arm, a second phase bridge arm and a third phase bridge arm, and the first phase bridge arm to the third phase bridge arm are all provided with an upper bridge switch tube and a lower bridge switch tube. The upper bridge switch tube and the lower bridge switch tube may both be IGBTs.

[0060] Among them, the upper bridge switch tube of the first phase bridge arm of the second drive circuit 20 is the seventh switch tube Q7, the lower bridge switch tube is the tenth switch tube Q10, and there is a fourth node n4 between the seventh switch tube Q7 and the tenth switch tube Q10. The upper bridge switch tube of the second phase bridge arm of the second drive circuit 20 is the eighth switch tube Q8, the lower bridge switch tube is the eleventh switch tube Q11, and there is a fifth node n5 between the eighth switch tube Q8 and the eleventh switch tube Q11. The upper bridge switch tube of the third phase bridge arm of the second drive circuit 20 is the ninth switch tube Q9, the lower bridge switch tube is the tenth switch tube Q10, and there is a sixth node n6 between the ninth switch tube Q9 and the tenth switch tube Q10.

[0061] The fourth node n4 is connected to the first phase A1 of the second winding M2, the fifth node n5 is connected to the second phase B1 of the second winding M2, and the sixth node n6 is connected to the third phase C1 of the second winding M2.

[0062] In the embodiment of the present invention, for a dual three-phase motor, the phase loss detector can inject a pulse signal into the first drive circuit 10, thereby injecting a pulse signal into the first set of windings M1. In addition, the phase loss detector can inject a pulse signal into the second drive circuit 20, thereby injecting a pulse signal into the second set of windings M2.

[0063] The pulse signals injected into each winding of the motor may be multiple. For example, the multiple pulse signals may include two pulse signals. Figure 3Taking the example of injecting pulse signals into the first set of windings M1 and the second set of windings M2 respectively, the phase loss detector controls the first switch tube Q1, the fifth switch tube Q5, the sixth switch tube Q6, the seventh switch tube Q7, the eleventh switch tube Q11 and the twelfth switch tube Q12 to be turned on, and the other switch tubes are turned off, and injects a first pulse signal into the loop where the first switch tube Q1 and the fifth switch tube Q5 are located, injects a second pulse signal into the loop where the first switch tube Q1 and the sixth switch tube Q6 are located, injects a third pulse signal into the loop where the seventh switch tube Q7 and the eleventh switch tube Q11 are located, and injects a fourth pulse signal into the loop where the seventh switch tube Q7 and the twelfth switch tube Q12 are located.

[0064] Step 202: In the process of injecting a pulse signal into the motor, the maximum value of the phase current of each phase of the motor is obtained.

[0065] When injecting a pulse signal into the motor, the phase failure detector can obtain the maximum value of the phase current of each phase of the motor.

[0066] When the motor is a single three-phase motor and the motor winding is a three-phase winding, the phase loss detector can obtain the phase current of the three phases of the motor, and the phase loss detector can determine the current of the three-phase bridge arm of the drive circuit as the phase current of the three phases of the motor.

[0067] When the motor is a dual three-phase motor and both sets of windings are three-phase windings, the phase loss detector can obtain the phase currents of the six phases of the motor. The phase loss detector can determine the current of the three-phase bridge arm of the first drive circuit 10 and the current of the three-phase bridge arm of the second drive circuit 20 as the phase currents of the six phases of the motor.

[0068] refer to Figure 3 The phase failure detector can determine the current of the upper bridge arm in the first phase bridge arm of the first drive circuit 10 as the phase current of the first phase A1 of the first set of windings M1, determine the current of the lower bridge arm in the second phase bridge arm of the first drive circuit 10 as the phase current of the second phase B1 of the first set of windings M1, and determine the current of the lower bridge arm in the third phase bridge arm of the first drive circuit 10 as the phase current of the third phase C1 of the first set of windings M1. The current of the upper bridge arm in the first phase bridge arm of the second drive circuit 20 is determined as the phase current of the first phase A1 of the second set of windings M2, the current of the lower bridge arm in the second phase bridge arm of the second drive circuit 20 is determined as the phase current of the second phase B1 of the second set of windings M2, and the current of the lower bridge arm in the third phase bridge arm of the second drive circuit 20 is determined as the phase current of the third phase C1 of the second set of windings M2. Thus, the phase currents of the six phases of the motor are obtained.

[0069] Optionally, the phase loss detector may stop injecting pulse signals into the motor when a target condition is detected. The target condition may include that the duration of injecting pulse signals into the motor reaches a target duration, or that the maximum value of the phase current of any phase is greater than a third current threshold. The phase loss detector may pre-store the third current threshold.

[0070] Step 203: Determine whether the maximum value of the phase current of any phase is less than the second current threshold.

[0071] After the phase loss detector obtains the maximum value of the phase current of each phase of the motor, it can determine whether the maximum value of the phase current of any phase is less than the second current threshold. If the maximum value of the phase current of any phase is less than the second current threshold, it can be determined that the motor has a phase loss fault, so step 209 can be executed. If the maximum values ​​of the phase currents of all phases are greater than or equal to the second current threshold, it can be determined that the motor does not have a phase loss fault, so step 204 can be executed. Among them, the phase loss detector can store the second current threshold in advance.

[0072] Step 204: Start the motor.

[0073] If the phase loss detector determines that the maximum values ​​of the phase currents of all phases are greater than or equal to the second current threshold, the motor can be started.

[0074] Step 205: During the operation of the motor, the phase current of each phase when the motor is in multiple sectors is obtained.

[0075] During the operation of the motor, the phase loss detector can obtain the phase current of each phase when the motor is in multiple sectors.

[0076] During the operation of the motor, the motor works in six sectors in a cycle. The drive circuit of the motor is in different working states, so that the corresponding motor is in different sectors.

[0077] In the embodiment of the present invention, when the motor is in each sector, the phase loss detector can adopt the lower bridge sampling method to sample the phase current of each phase when the motor is in the sector. That is, the current of each lower bridge arm of the drive circuit corresponding to the motor is sampled, and the collected current is used as the phase current of each phase when the motor is in the sector.

[0078] refer to Figure 3Taking the first drive circuit 10 as an example, the on-state of the upper bridge switch tube (i.e., the first switch tube Q1 to the third switch tube Q3) in the first drive circuit 10 is defined as "1", and the off-state of the upper bridge switch tube (i.e., the first switch tube Q1 to the third switch tube Q3) is defined as "0". According to the switch tubes that are turned on in each phase bridge arm, eight working states of the first drive circuit 10 can be determined, and the eight working states can be represented by 000, 111, 100, 110, 010, 011, 001 and 101. However, since the upper bridge switch tube and the lower bridge switch tube cannot be turned on at the same time in the same phase bridge arm, otherwise the switch tube will be damaged due to a short circuit, so 000 and 111 are invalid working states. Therefore, there are six valid working states of the first drive circuit 10, which are 100, 110, 010, 011, 001 and 101. Among them, 100 represents that the upper bridge switch tube of the first phase bridge arm in the first drive circuit 10 is in the on state, and the lower bridge switch tube of the second phase bridge arm and the lower bridge switch tube of the third phase bridge arm are both in the on state.

[0079] Step 206: Filter out at least two valid sectors from multiple sectors according to the phase current of each phase.

[0080] After the phase loss detector obtains the phase current of each phase when the motor is in multiple sectors, the phase loss detector can screen out at least two valid sectors from the multiple sectors according to the phase current of each phase. When the motor is in a valid sector, the duty cycle of the phase current of the phase is greater than or equal to the preset duty cycle. At this time, the sampling window of the phase current is larger, so the accuracy of the sampled phase current is higher.

[0081] It is understandable that when the phase loss detector samples the phase current of multiple phases when the motor is in each sector by means of lower bridge sampling, the phase current of one phase among the multiple phases is less than the preset duty cycle. In this case, the sampling window of the phase current of the one phase is small, resulting in low accuracy of the sampled phase current. Therefore, when the motor is in the sector, the phase current is an invalid current. Accordingly, the sector is an invalid sector.

[0082] In the embodiment of the present invention, the phase loss detector may pre-store the valid sectors corresponding to each phase.

[0083] Assuming that the motor has three phases, namely the first phase A1, the second phase B1 and the third phase C1, Table 1 shows the corresponding valid sectors and invalid sectors of the three phases. Referring to Table 1, for the first phase A1, the phase loss detector can determine the first sector and the sixth sector as invalid sectors based on Table 1, for the second phase B1, the phase loss detector can determine the second sector and the third sector as invalid sectors based on Table 1, and for the third phase C1, the phase loss detector can determine the fourth sector and the fifth sector as invalid sectors based on Table 1.

[0084]

[0085] Step 207: Based on the phase currents in at least two valid sectors, determine the number of phase currents with phase loss abnormalities in multiple sectors.

[0086] According to the phase current of each phase, after the phase loss detector selects at least two valid sectors from multiple sectors, the number of phase currents with phase loss abnormalities in multiple sectors can be determined based on the phase currents in the at least two valid sectors.

[0087] Optionally, according to the phase current of each phase, the phase loss detector determines the number of phase currents with phase loss abnormalities in multiple sectors based on the phase currents in at least two valid sectors, which may include the following steps A1 to A5:

[0088] Step A1: for each valid sector, determine whether the phase current in the valid sector is greater than a first current threshold.

[0089] For each valid sector, the phase loss detector may determine whether the phase current in the valid sector is greater than a first current threshold.

[0090] Step A2: subtract the first value from the count value.

[0091] If the phase current in the valid sector is greater than the first current threshold, the phase loss detector can determine that the phase current is normal, and thus the count value can be subtracted from the first value. The count value is used to indicate the number of phase currents with phase loss abnormalities. The phase loss detector can pre-store an initial value of the count value, and for example, the initial value of the count value can be 0. The phase loss detector can pre-store a first value, and for example, the first value can be 1.

[0092] When the count value is 0, if the phase current in the effective sector is greater than the first current threshold, the count value may be kept unchanged.

[0093] Step A3: determine whether the motor speed is greater than a speed threshold.

[0094] If the phase current in the effective sector is less than or equal to the first current threshold, the phase loss detector can determine whether the speed of the motor is greater than the speed threshold. If the speed of the motor is greater than the speed threshold, step A4 can be executed. If the speed of the motor is less than or equal to the speed threshold, step A5 can be executed. The phase loss detector can store the speed threshold in advance.

[0095] Step A4: increase the count value by a second value.

[0096] If the phase current in the effective sector is less than or equal to the first current threshold, and the speed of the motor is greater than the speed threshold, the phase loss detector may increase the count value by a second value.

[0097] Optionally, the second value may be the same as the first value. The phase failure detector may store the second value in advance, and for example, the second value may be 1.

[0098] Step A5: keep the count value unchanged.

[0099] If the speed of the motor is less than or equal to the speed threshold, the phase loss detector can keep the count value unchanged.

[0100] In the embodiment of the present invention, if the phase current in the effective sector is greater than the first current threshold, the phase loss detector can determine that the phase current is normal, and thus the count value can be subtracted by the first value. That is, regardless of whether the motor speed is greater than the speed threshold or the motor speed is less than or equal to the speed threshold, as long as the phase current in the effective sector is greater than the first current threshold, the count value is subtracted by the first value.

[0101] When the speed of the motor is greater than the speed threshold, if the phase current in the effective sector is less than or equal to the first current threshold, the phase loss detector can determine that the phase current in the effective sector has a phase loss abnormality, so the count value can be increased by the second value. If the phase current in the effective sector is greater than the first current threshold, the phase loss detector can determine that the phase current in the effective sector does not have a phase loss abnormality, so the count value can be subtracted from the first value.

[0102] It should be noted that, in the case of a phase failure in any phase of the motor, the phase current of any phase of the motor will be less than the first current threshold for a long time. Since the phase current of each phase of the motor is a sinusoidal current, in the case of no phase failure in any phase of the motor, for the phase current of any phase, when the phase current is near zero, the phase current will also be less than the first current threshold. Since in this case, the phase failure detector will also increase the count value by the second value, resulting in a low accuracy of the count value used for phase failure anomaly statistics. After the phase current is far from the zero point, if the phase current is greater than the first current threshold, the phase failure detector subtracts the first value from the count value, thereby offsetting the impact of the count value statistics abnormality caused by the count value being increased by the second value due to the phase current being near zero, thereby ensuring the accuracy of the count value, and then ensuring the accuracy of the judgment of the motor phase failure. Phase current near zero means that the difference between the absolute value of the phase current and 0 is small. Phase current far from zero means that the difference between the absolute value of the phase current and 0 is large.

[0103] When the motor speed is less than or equal to the speed threshold, the phase current is near zero for a long time, resulting in the phase current being less than the first current threshold for a long time. Since the phase current is less than the first current threshold not due to a motor phase failure, the count value can be kept unchanged when the motor speed is less than or equal to the speed threshold and the phase current is less than or equal to the first current threshold, thereby ensuring the accuracy of the count value.

[0104] Step 208: Determine whether the number is greater than the number threshold.

[0105] For the phase current of each phase, the phase loss detector determines the number of phase currents with phase loss abnormalities in multiple sectors based on the phase currents in at least two valid sectors, and then determines whether the number is greater than the number threshold. If the phase loss detector determines that the number is greater than the number threshold, it can be determined that the phase of the motor has a phase loss fault, so step 210 can be executed. If it is determined that the number is less than or equal to the number threshold, it can be determined that the phase of the motor has not failed, so step 211 can be executed.

[0106] Taking the third phase C1 of the first winding M1 of the motor as an example, when the motor is in the first to sixth sectors of two consecutive cycles, combined with Table 1, Figure 4 Schematic diagram of the relationship between a count value and a sector provided by an embodiment of the present invention. Figure 4 For the third phase current C1, the valid sectors may include the first sector H1, the second sector H2, the third sector H3 and the sixth sector H6, and the invalid sectors may include the fourth sector H4 and the fifth sector H5.

[0107] The phase loss detector can increase the count value by the second value, or subtract the first value, or keep the count value unchanged in the first sector H1, the second sector H2, the third sector H3, and the sixth sector H6. Since the fourth sector H4 and the fifth sector H5 are invalid sectors, the count value will remain unchanged in the fourth sector H4 and the fifth sector H5.

[0108] Assuming that in the first sector H1, the second sector H2, the third sector H3 and the sixth sector H6 of the first period T1, the phase current in the third phase direction C1 is less than or equal to the first current threshold, and the motor speed is less than or equal to the speed threshold, then after the first period T1, the count value is still the initial value.

[0109] When the phase current is near zero (that is, from the sixth sector H6 of the first cycle T1 to the first sector H1 of the second cycle T2), the phase loss detector can control the count value to increase by itself, and after the phase current is far away from zero, assuming that the phase current is greater than the first current threshold at this time, the phase loss detector can control the count value to be updated to the initial count value. Afterwards, assuming that in the first sector H1 of the second cycle T2, the current phase current is less than the first current threshold, and the motor speed is greater than the speed threshold, the count value increases. Afterwards, in the second sector H2 of the second cycle T2, the current phase current is greater than or equal to the first current threshold, and the count value decreases by itself.

[0110] Step 209: Keep the motor at zero speed.

[0111] When the motor is in a zero speed state, if it is determined that the motor has a phase failure, the motor can be kept in a zero speed state, that is, the motor is kept in a stopped state.

[0112] Step 210: Control the motor to stop.

[0113] The phase loss detector can determine that the motor has a phase loss fault and control the motor to stop.

[0114] In the embodiment of the present invention, when the motor is a dual three-phase motor, if both sets of windings of the dual three-phase motor have a phase failure, the motor can be controlled to stop.

[0115] For the six phases of the motor, by executing the above steps 205 to 208, if the number is determined to be greater than the number threshold based on the phase currents of at least two phases, and at least two phases belong to the phases of two sets of windings, it can be determined that both sets of windings of the dual three-phase motor have defective faults.

[0116] Step 211, control the motor to continue running.

[0117] For the phase current of each phase, if it is determined that the number is less than or equal to the number threshold, the phase loss detector can determine that the motor does not have a phase loss fault and can control the motor to continue running.

[0118] In the case where the motor is a dual three-phase motor, for each set of windings, after the phase loss detector executes the above steps 205 to 208, if a phase loss fault occurs in one of the two sets of windings, the other set of windings can be controlled to be in a working state. If no phase loss fault occurs in either set of windings, the motor can be controlled to continue running.

[0119] For the six phases of the motor, by executing the above steps 205 to 208, if the number is determined to be greater than the number threshold based on the phase current of at least one phase, and at least one phase belongs to the same set of windings, it can be determined that a set of windings of the dual three-phase motor has a defective fault.

[0120] Optionally, the phase loss detector may use a status code to indicate whether the motor has a phase loss fault. For example, the status code may include 0, 1, 2, and 3, where 0 may indicate that none of the two windings has a phase loss fault, 1 may indicate that the first winding of the two windings has a phase loss fault, representing a first-path fault, 2 may indicate that the second winding of the two windings has a phase loss fault, and 3 may indicate that both windings have a phase loss fault.

[0121] In the embodiment of the present invention, since the phase loss detector can determine whether the motor has a phase loss fault when the motor is in a zero-speed state, and after determining that there is no phase loss fault in the motor when it is in the zero-speed state, the motor is started to continue to determine whether the motor has a phase loss fault during operation. Compared with the related technology that can only determine whether the motor has a phase loss fault during the operation of the motor, the scope of application of this solution is wider, and the practicability of motor fault detection is improved.

[0122] Furthermore, since the embodiment of the present invention can be used not only for determining a phase loss fault of a single three-phase motor, but also for determining a phase loss fault of a dual three-phase motor, the practicality of determining a phase loss fault of a motor is further improved.

[0123] In an embodiment of the present invention, the phase loss detector can determine whether the motor has a phase loss fault through software. Compared with the related technology that can only detect whether the motor has a phase loss fault by adding a new hardware circuit, this solution uses software to detect phase current to effectively reduce costs.

[0124] In the embodiments of the present invention, compared with the related art in which when the motor speed is low, it is impossible to determine whether the motor has a phase loss fault, or a false phase loss fault is reported, in the present solution, when the phase current is less than the first current threshold, if the motor speed is greater than the speed threshold, the count value is increased by a second value, and when the motor speed is less than or equal to the speed threshold, the count value is kept unchanged, thereby determining whether the motor has a phase loss fault based on the count value. Therefore, the present solution can also determine whether the motor has a phase loss fault when the motor speed is low, effectively improving the reliability of determining the motor phase loss fault.

[0125] In summary, an embodiment of the present invention provides a method for determining a motor phase-loss fault. During the operation of the motor, after the phase current of each phase is obtained when the motor is in multiple sectors, the phase-loss detector determines the number of phase currents with phase-loss abnormalities in multiple sectors according to the phase current of each phase. If the number is greater than the number threshold, it is determined that the motor has a phase-loss fault. The embodiment of the present invention detects whether the motor has a phase-loss fault by means of software. Since no additional hardware circuit is required, the hardware cost is reduced, and the reliability of the detection of the motor phase-loss fault is improved. In addition, since the phase currents with phase-loss abnormalities in multiple sectors are counted, and whether the motor has a phase-loss fault is determined based on the counted number, compared with judging whether the motor has a phase-loss fault based on the phase current of the motor in one sector, the method provided by the embodiment of the present invention can reduce the risk of misjudging the motor phase-loss fault, and accordingly, improve the accuracy of determining the motor phase-loss fault.

[0126] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the above-mentioned method for determining a motor phase failure is implemented. For example, Figure 1 or Figure 2 The method for determining the motor phase loss fault is shown.

[0127] Figure 5 is a schematic diagram of the structure of a motor phase failure determination device provided by an embodiment of the present invention, such as Figure 5 As shown, the motor phase failure determination device 50 may include a memory 501, a processor 502, and a computer program stored in the memory 501 and executable on the processor 502. When the processor 502 executes the computer program, the motor phase failure determination method shown in the above embodiment is implemented. Figure 1 or Figure 2 The method for determining the motor phase loss fault is shown.

[0128] Figure 6 is a module diagram of a motor phase failure determination device provided by an embodiment of the present invention, such as Figure 6 As shown, the device comprises:

[0129] An acquisition module 601 is used to acquire the phase current of each phase when the motor is in multiple sectors during the operation of the motor;

[0130] A first determination module 602 is used to determine the number of phase currents with phase loss abnormalities in multiple sectors according to the phase current of each phase;

[0131] The second determination module 603 is used to determine that a phase loss fault occurs in the motor if the number is greater than a number threshold.

[0132] Optionally, the first determining module 602 is configured to:

[0133] Selecting at least two valid sectors from a plurality of sectors;

[0134] Based on the phase currents in at least two valid sectors, the number of phase currents with phase loss abnormalities in the plurality of sectors is determined.

[0135] Optionally, the first determining module 602 is configured to:

[0136] For each valid sector, if the phase current in the valid sector is greater than the first current threshold, the first value is subtracted from the count value, and the count value is used to indicate the number of phase currents with phase loss abnormality;

[0137] If the phase current in the effective sector is less than or equal to the first current threshold, the count value is increased by a second value or the count value is kept unchanged.

[0138] Optionally, the first determining module 602 is configured to:

[0139] If the speed of the motor is greater than the speed threshold, the count value is increased by a second value;

[0140] If the motor speed is less than or equal to the speed threshold, the count value remains unchanged.

[0141] Optional, reference Figure 6 , the device may further include a third determination module 604, which is used to: before the motor runs, when the motor is in a zero-speed state, inject a pulse signal into the motor;

[0142] In the process of injecting pulse signals into the motor, the maximum value of the phase current of each phase of the motor is obtained;

[0143] If the maximum value of the phase current of any phase is less than the second current threshold, it is determined that a phase failure occurs in the motor.

[0144] Optionally, the third determining module 604 is configured to:

[0145] When the target condition is detected, the pulse signal injection to the motor is stopped;

[0146] The target conditions include:

[0147] The duration of the pulse signal injected into the motor reaches the target duration;

[0148] Alternatively, the maximum value of the phase current of any phase is greater than the third current threshold.

[0149] Optionally, the motor is a dual three-phase motor, and the second determination module 603 is used to:

[0150] If both sets of windings of the dual three-phase motor have a phase failure, the motor will be controlled to stop;

[0151] If a phase failure occurs in one of the two sets of windings, the other set of windings will be controlled to be in working state.

[0152] In summary, the embodiment of the present invention provides a device for determining a phase loss fault of a motor. During the operation of the motor, after obtaining the phase current of each phase when the motor is in multiple sectors, the phase loss detector determines the number of phase currents with phase loss abnormalities in multiple sectors according to the phase current of each phase. If the number is greater than the number threshold, it is determined that the motor has a phase loss fault. The embodiment of the present invention detects whether the motor has a phase loss fault by software. Since no additional hardware circuit is required, the hardware cost is reduced, and the reliability of the detection of the motor phase loss fault is improved.

[0153] In addition, since the phase currents with phase loss abnormalities in multiple sectors are counted and whether the motor has a phase loss fault is determined based on the counted number, compared to judging whether the motor has a phase loss fault based on the phase current of the motor in one sector, the method provided by the embodiment of the present invention can reduce the risk of misjudgment of the motor phase loss fault, and accordingly improve the accuracy of determining the motor phase loss fault.

[0154] An embodiment of the present invention provides a vehicle, including the motor phase failure determination device shown in the above embodiment, for example, Figure 5 The motor phase failure determination device shown, or Figure 6 The device for determining a motor phase loss fault is shown.

[0155] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0156] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0157] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0158] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0159] In addition, the terms "first", "second", etc. used in the embodiments of the present invention are only used for descriptive purposes and should not be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated in the present embodiment. Therefore, the features defined by the terms "first", "second", etc. in the embodiments of the present invention can explicitly or implicitly indicate that the embodiment includes at least one of the features. In the description of the present invention, the word "multiple" means at least two or two or more, such as two, three, four, etc., unless otherwise clearly and specifically defined in the embodiments.

[0160] In the present invention, unless otherwise clearly specified or limited in the embodiments, the terms "installed", "connected", "connected" and "fixed" etc. in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integrated connection. It can be understood that it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal connection of two elements, or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific implementation situation.

[0161] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0162] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for determining a motor phase failure, characterized in that: The method comprises: During the operation of the motor, obtaining the phase current of each phase when the motor is in multiple sectors; According to the phase current of each phase, determining the number of phase currents with phase-loss abnormality in a plurality of sectors; If the number is greater than the number threshold, it is determined that the motor has a phase loss fault; The determining the number of phase currents with phase loss abnormalities in the plurality of sectors comprises: Selecting at least two valid sectors from the plurality of sectors; Based on the phase currents in at least two of the effective sectors, the number of phase currents with phase loss abnormalities in the multiple sectors is determined, wherein the number of phase currents with phase loss abnormalities in the multiple sectors is determined based on the phase currents in at least two of the effective sectors, including: For each of the valid sectors, if the phase current in the valid sector is greater than a first current threshold, a first value is subtracted from a count value, wherein the count value is used to indicate the number of phase currents with a phase loss abnormality; If the phase current in the effective sector is less than or equal to the first current threshold, the count value is increased by a second value or the count value is kept unchanged.

2. The method according to claim 1, characterized in that Increasing the count value by a second value or keeping the count value unchanged comprises: If the speed of the motor is greater than the speed threshold, the count value is increased by a second value; If the rotation speed of the motor is less than or equal to the rotation speed threshold, the count value is kept unchanged.

3. The method according to claim 1, characterized in that Before the motor is operated, the method further comprises: When the motor is in a zero-speed state, injecting a pulse signal into the motor; In the process of injecting the pulse signal into the motor, obtaining the maximum value of the phase current of each phase of the motor; If the maximum value of the phase current of any phase is less than the second current threshold, it is determined that a phase failure occurs in the motor.

4. The method according to claim 3, characterized in that The method further comprises: When a target condition is detected, stopping injecting the pulse signal into the motor; The target conditions include: The duration of injecting the pulse signal into the motor reaches a target duration; Alternatively, the maximum value of the phase current of any phase is greater than the third current threshold.

5. The method according to any one of claims 1 to 4, characterized in that: The motor is a dual three-phase motor, and the method further comprises: If both sets of windings of the dual three-phase motor have a phase failure, the motor is controlled to stop; If a phase failure occurs in one of the two sets of windings, the other set of windings is controlled to be in a working state.

6. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method for determining a motor phase failure according to any one of claims 1 to 5 is implemented.

7. A device for determining a motor phase failure, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a method for determining a motor phase failure according to any one of claims 1 to 5 is implemented.

8. A vehicle, characterized in that: include: The motor phase loss fault determination device as described in claim 7.