CN113917327A - Phase-loss detection method and equipment for permanent magnet synchronous motor and storage medium - Google Patents
Phase-loss detection method and equipment for permanent magnet synchronous motor and storage medium Download PDFInfo
- Publication number
- CN113917327A CN113917327A CN202111143370.7A CN202111143370A CN113917327A CN 113917327 A CN113917327 A CN 113917327A CN 202111143370 A CN202111143370 A CN 202111143370A CN 113917327 A CN113917327 A CN 113917327A
- Authority
- CN
- China
- Prior art keywords
- phase
- stator current
- value
- current
- phase stator
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 101
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 26
- 238000000034 method Methods 0.000 claims abstract description 39
- 238000004590 computer program Methods 0.000 claims description 16
- 230000004907 flux Effects 0.000 claims description 10
- 238000009825 accumulation Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000001186 cumulative effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004576 sand Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/34—Testing dynamo-electric machines
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R29/00—Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
- G01R29/16—Measuring asymmetry of polyphase networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H7/00—Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
- H02H7/08—Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors
- H02H7/09—Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors against over-voltage; against reduction of voltage; against phase interruption
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Control Of Ac Motors In General (AREA)
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
The application discloses a permanent magnet synchronous motor phase loss detection method, computer equipment and a computer readable storage medium, wherein the method comprises the following steps: determining whether three-phase stator current is in a zero-crossing detection region or not according to the determined three-phase current angles to judge that the three phases have a phase-lacking fault, wherein the three-phase current angles comprise an A-phase current angle, a B-phase current angle and a C-phase current angle; three-phase stator current includes A looks stator current, B looks stator current and C looks stator current, realizes when the motor takes place to lack the looks trouble, can in time detect out the trouble to and motor phase current accuracy detection lacks the looks trouble when less, and at whole electric current scope, adopts different detection methods, shortens the check-out time after the trouble takes place.
Description
Technical Field
The present application relates to the field of automotive motor control technologies, and in particular, to a method for detecting a phase loss of a permanent magnet synchronous motor, a computer device, and a computer-readable storage medium.
Background
The automobile can meet various different working conditions in long-term use, wherein vibration and a corrosive environment can cause the phenomena of loosening of a three-phase wire joint of a motor or poor contact and the like. The motor phase-loss fault can cause the magnetic field of the motor to be uneven, so that the motor runs seriously and shakes, the torque is not controlled, the noise of the motor is increased, the phase current of the motor is increased to cause overhigh temperature rise to burn the motor when the motor runs seriously, and finally the safe running of an automobile is influenced.
The existing detection method is as follows: and detecting the instantaneous value of the three-phase current of the motor in real time, and judging that the phase-lack fault occurs when the instantaneous current value is close to zero and is continued for a period of time. For example, when the motor is running, after the phase a is open, it is detected that the real-time current value of the phase a is close to zero and continues for a period of time, and the phase a is open-phase fault; in the same way, the detection methods of the B phase and the C phase are similar. However, in this detection method, when the phase current of the motor is near the zero crossing, the phase current is small, and thus phase-missing misjudgment is likely to occur.
The existing detection mode two: when the motor runs, the three-phase current is balanced, and the phase-lack fault of the motor is detected by the three-phase current balance principle. The specific method comprises the following steps: the current in A, B and C-phase current cycles is continuously detected, the absolute value of the current is accumulated and calculated, then the accumulated number is divided to obtain the average value of A, B and C-phase currents, the average values are compared pairwise, the maximum value and the minimum value in the average value are calculated, and when the ratio of the maximum value to the minimum value exceeds a set threshold value, the occurrence of a phase-lacking fault is judged. This detection method is time consuming and not conducive to use throughout the current cycle.
Disclosure of Invention
The present application mainly aims to provide a method for detecting phase loss of a permanent magnet synchronous motor, a computer device and a computer readable storage medium, and aims to solve the technical problems that when the current of a motor phase is near zero crossing, the phase loss misjudgment is easy to occur due to small phase current, and the existing detection method consumes long time and is not beneficial to use in the whole current period.
In a first aspect, the present application provides a method for detecting a phase loss of a permanent magnet synchronous motor, including the following steps:
determining whether the three-phase stator current is in a zero-crossing detection region according to the determined three-phase current angles to judge that the three phases have a phase-lacking fault, wherein the three-phase current angles comprise an A-phase current angle, a B-phase current angle and a C-phase current angle; the three-phase stator current comprises A-phase stator current, B-phase stator current and C-phase stator current.
Preferably, the determining whether the three-phase stator currents are in front of the zero-crossing detection region further includes:
determining a first angle area based on a preset angle adjusting value and a first preset formula;
determining a second angle area based on the preset angle adjusting value and a second preset formula;
and determining a third angle area based on the preset angle adjusting value and a third preset formula.
Preferably, the determining whether the three-phase stator currents are in a zero-crossing detection region includes:
if the A-phase current angle belongs to a first angle area, determining that the A-phase stator current is in a zero-crossing detection area, otherwise, not in the zero-crossing detection area;
if the phase B current angle belongs to a second angle area, determining that the phase B stator current is in a zero-crossing detection area, otherwise, not in the zero-crossing detection area;
and if the C-phase current angle belongs to a third angle area, determining that the C-phase stator current is in a zero-crossing detection area, otherwise, not in the zero-crossing detection area.
Preferably, the determining whether the three-phase stator currents are in the zero-crossing detection region further includes:
if at least one of the A-phase stator current, the B-phase stator current and the C-phase stator current is determined to be in a zero-crossing detection region, acquiring a plurality of three-phase stator current values in real time, and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, wherein the three-phase stator current values are positive values;
or if the A-phase stator current, the B-phase stator current and the C-phase stator current are determined not to be in a zero-crossing detection region, acquiring a plurality of three-phase stator current values in real time, and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, wherein the three-phase stator current values are positive values.
Preferably, the three-phase stator current values include an a-phase stator current value, a B-phase stator current value, and a C-phase stator current value; if it is determined that at least one of the A-phase stator current, the B-phase stator current and the C-phase stator current is in a zero-crossing detection region, obtaining a plurality of three-phase stator current values in real time, and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, wherein the three-phase stator current values are positive values, and the method comprises the following steps: obtaining an average value of a plurality of A-phase stator current values, B-phase stator current values and C-phase stator current values;
respectively obtaining an A-phase counting value, a B-phase counting value and a C-phase counting value based on the average value of the A-phase stator current value, the average value of the B-phase stator current value, the average value of the C-phase stator current value and a preset zero current threshold value;
if the A-phase counting value is larger than the preset counting comparison value, judging that the A-phase has a phase-missing fault;
if the counting value of the phase B is larger than the preset counting comparison value, judging that the phase B has a phase failure;
and if the counting value of the phase C is greater than the preset counting comparison value, judging that the phase C has a phase failure.
Preferably, the three-phase stator current values include an a-phase stator current value, a B-phase stator current value, and a C-phase stator current value; if it is determined that the phase-A stator current, the phase-B stator current and the phase-C stator current are not in a zero-crossing detection region, obtaining a plurality of three-phase stator current values in real time and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, including:
acquiring a plurality of accumulated summation values of the A-phase stator current value, the B-phase stator current value and the C-phase stator current value;
determining a maximum accumulated sum value and a minimum accumulated sum value from the accumulated sum value of the A-phase stator current value, the accumulated sum value of the B-phase stator current value and the accumulated sum value of the C-phase stator current value, and obtaining a comparison result of the maximum accumulated sum value and the minimum accumulated sum value, wherein the comparison result is a positive value;
and if the comparison result is greater than a preset threshold value, judging that the three phases have the phase failure.
Preferably, if the comparison result is greater than a preset threshold, before it is determined that a phase-missing fault occurs in the three phases, the method further includes:
acquiring a first given current value and a second given current value based on the torque command;
determining a third given current value based on a fourth preset formula, the first given current value and the second given current value;
a preset threshold value is determined based on a fifth preset formula and the third given current value.
Preferably, the determining the three-phase current angle includes:
reading a rotor flux linkage angle of a rotary transformer decoding chip, and taking the rotor flux linkage angle of the rotary transformer decoding chip as an A-phase current angle;
determining a phase B current angle based on a sixth preset formula and the phase A current angle;
and determining the C-phase current angle based on a seventh preset formula and the A-phase current angle.
In a second aspect, the present application further provides a computer device, which includes a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the method for detecting a phase failure of a permanent magnet synchronous motor as described above.
In a third aspect, the present application further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the method for detecting a phase failure of a permanent magnet synchronous motor as described above.
The application provides a permanent magnet synchronous motor phase loss detection method, computer equipment and a computer readable storage medium, which are used for determining whether three-phase stator current is in a zero-crossing detection area or not according to a determined three-phase current angle so as to judge that a phase loss fault occurs in three phases, wherein the three-phase current angle comprises an A-phase current angle, a B-phase current angle and a C-phase current angle; three-phase stator current includes A looks stator current, B looks stator current and C looks stator current, realizes when the motor takes place to lack the looks trouble, can in time detect out the trouble to and motor phase current accuracy detection lacks the looks trouble when less, and at whole electric current scope, adopts different detection methods, shortens the check-out time after the trouble takes place.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for detecting a phase loss of a permanent magnet synchronous motor according to an embodiment of the present disclosure;
FIG. 2 is a graph illustrating the relationship between dq given current and a proportional threshold K in the embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The embodiment of the application provides a permanent magnet synchronous motor phase loss detection method, computer equipment and a computer readable storage medium. The method for detecting the phase loss of the permanent magnet synchronous motor can be applied to computer equipment, and the computer equipment can be electronic equipment such as a vehicle-mounted computer.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for detecting a phase loss of a permanent magnet synchronous motor according to an embodiment of the present disclosure.
As shown in fig. 1, the method includes step S101.
Step S101, determining whether three-phase stator current is in a zero-crossing detection region according to the determined three-phase current angles to judge that the three phases have a phase-lack fault, wherein the three-phase current angles comprise an A-phase current angle, a B-phase current angle and a C-phase current angle; the three-phase stator current includes an a-phase stator current, a B-phase stator current, and a C-phase stator current.
Exemplarily, a three-phase current angle is determined, wherein the three-phase current angle comprises an a-phase current angle, a B-phase current angle and a C-phase current angle, and whether the a-phase current angle, the B-phase current angle and the C-phase current angle belong to a zero-crossing detection region is determined respectively. And if the phase current angle A, the phase current angle B and the phase current angle C belong to the zero-crossing detection region, determining that the three-phase stator current is in the zero-crossing detection region, and judging that the three phases have a phase-missing fault. Or if the phase-A current angle, the phase-B current angle and the phase-C current angle are determined not to belong to the zero-crossing detection region, determining that the three-phase stator current is not in the zero-crossing detection region, and judging that the three-phase fault occurs, wherein the three-phase stator current comprises the phase-A stator current, the phase-B stator current and the phase-C stator current.
Specifically, the determining the three-phase current angle includes: reading a rotor flux linkage angle of a rotary transformer decoding chip, and taking the rotor flux linkage angle of the rotary transformer decoding chip as an A-phase current angle; determining a phase B current angle based on a sixth preset formula and the phase A current angle; and determining the C-phase current angle based on a seventh preset formula and the A-phase current angle.
Exemplarily, the rotor flux linkage angle θ of the resolver decoding chip is read, and the rotor flux linkage angle θ read to the resolver decoding chip is used as the a-phase current angle, i.e., the a-phase current angle SAθ. Obtaining a sixth preset formulaBy a sixth preset formulaAnd a phase A current angle theta, determining a phase B current angle asObtaining a seventh preset formulaBy a seventh preset formulaAnd an A-phase current angle theta, determining a C-phase current angle asSince the phase B current is angularly retarded by 120 degrees from the phase A, the phase C is angularly retarded by 120 degrees from the phase B,thus, the relationship between the a-phase current angle, the B-phase current angle, and the C-phase current angle is determined.
Specifically, the determining whether the three-phase stator current is in front of the zero-crossing detection region further includes: determining a first angle area based on a preset angle adjusting value and a first preset formula; determining a second angle area based on the preset angle adjusting value and a second preset formula; and determining a third angle area based on the preset angle adjusting value and a third preset formula.
Exemplarily, the preset angle adjustment value theta is obtainedzeroBased on the preset angle adjustment value thetazeroAnd a first preset formula for determining a first angle region DA. For example, a first preset formula D is obtainedA={(-θzero,+θzero),(π-θzero,π+θzero) And a preset angle adjustment value thetazeroDetermining a first angular region DA. Adjusting value theta based on preset anglezeroAnd a second preset formula for determining a second angle region DB. For example, a second preset formula is obtainedAnd a preset angle adjustment value thetazeroDetermining a second angular region DB. Adjusting value theta based on preset anglezeroAnd a third preset formula for determining a second angle region DC. For example, a third preset formula is obtainedAnd a preset angle adjustment value thetazeroDetermining a second angular region DC。
Specifically, the determining whether the three-phase stator current is in a zero-crossing detection region includes: if the A-phase current angle belongs to a first angle area, determining that the A-phase stator current is in a zero-crossing detection area, otherwise, not in the zero-crossing detection area; if the phase B current angle belongs to a second angle area, determining that the phase B stator current is in a zero-crossing detection area, otherwise, not in the zero-crossing detection area; and if the C-phase current angle belongs to a third angle area, determining that the C-phase stator current is in a zero-crossing detection area, otherwise, not in the zero-crossing detection area.
Exemplary, e.g. determining phase A current angle SAWhether it belongs to the first angular region DA(ii) a If it is determined SA∈DAAnd if not, determining that the A-phase stator current is not in the zero-crossing detection region. Judging the phase B current angle SBWhether it belongs to the second angle region DB(ii) a If it is determined SB∈DBAnd if not, the stator current of the phase B is not in the zero-crossing detection region. Judging the C phase current angle SCWhether it belongs to the third angle region DC(ii) a If it is determined SC∈DCAnd if not, the C-phase stator current is not in the zero-crossing detection region.
Specifically, after determining whether the three-phase stator current is in the zero-crossing detection region, the method further includes: if at least one of the A-phase stator current, the B-phase stator current and the C-phase stator current is determined to be in a zero-crossing detection region, acquiring a plurality of three-phase stator current values in real time, and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, wherein the three-phase stator current values are positive values; or if the A-phase stator current, the B-phase stator current and the C-phase stator current are determined not to be in a zero-crossing detection region, acquiring a plurality of three-phase stator current values in real time, and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, wherein the three-phase stator current values are positive values.
Exemplarily, for example, the a-phase stator current is in a zero-crossing detection region, and the B-phase stator current and the C-phase stator current are not in the zero-crossing detection region; or the B-phase stator current is in a zero-crossing detection region, and the A-phase stator current and the C-phase stator current are not in the zero-crossing detection region; or the C-phase stator current is in a zero-crossing detection region, and the A-phase stator current and the B-phase stator current are not in the zero-crossing detection region; or the A-phase stator current and the B-phase stator current are in a zero-crossing detection region, and the C-phase stator current is not in the zero-crossing detection region; or, A-phase stator current and C-phase statorThe current is in a zero-crossing detection region, and the B-phase stator current is not in the zero-crossing detection region; or the B-phase stator current and the C-phase stator current are in a zero-crossing detection region, and the A-phase stator current is not in the zero-crossing detection region; or the A-phase stator current, the B-phase stator current and the C-phase stator current are not in a zero-crossing detection region, and a plurality of three-phase stator current values i are obtained in real timea、ib、ic。
For example, N three-phase stator current values i are acquired in real timea、ib、icIf the obtained N three-phase stator current values ia、ib、icIf the value is negative, obtaining N three-phase stator current values ia、ib、icAbsolute value of (a). Obtaining N three-phase stator current values ia、ib、icAnd judging that the three phases have phase failure.
Specifically, the three-phase stator current values include an a-phase stator current value, a B-phase stator current value and a C-phase stator current value; if it is determined that at least one of the A-phase stator current, the B-phase stator current and the C-phase stator current is in a zero-crossing detection region, obtaining a plurality of three-phase stator current values in real time, and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, wherein the three-phase stator current values are positive values, and the method comprises the following steps: obtaining an average value of a plurality of A-phase stator current values, B-phase stator current values and C-phase stator current values; respectively obtaining an A-phase counting value, a B-phase counting value and a C-phase counting value based on the average value of the A-phase stator current value, the average value of the B-phase stator current value, the average value of the C-phase stator current value and a preset zero current threshold value; if the A-phase counting value is larger than the preset counting comparison value, judging that the A-phase has a phase-missing fault; if the counting value of the phase B is larger than the preset counting comparison value, judging that the phase B has a phase failure; and if the counting value of the phase C is greater than the preset counting comparison value, judging that the phase C has a phase failure.
Exemplarily, for example, N A-phase stator current values iaAfter accumulation and summation, the average value is obtained, thereby obtaining N A-phase stator current values iaAverage value of (2)iAave(ii) a The current values i of N B-phase stators are calculatedbAfter accumulation and summation, the average value is obtained, thereby obtaining N B-phase stator current values ibAverage value of iBave(ii) a The current values i of N C-phase stators are calculatedcAfter accumulation and summation, the average value is obtained, thereby obtaining N C-phase stator current values icAverage value of iCave. Obtaining N A-phase stator current values iaSum to iAsumN B-phase stator current values ibSum to iBsumN C-phase stator current values icCumulative sum iCsumThrough iAave=iAsum/N、iBave=iBsum/N、iCave=iCsumN, wherein, the iAsumIs an A-phase N times current accumulated value, iBsumIs the accumulated value of N times of current of B phase iCsumIs C-phase N times current accumulation value iAaveAverage value of stator current of N times of A phase, iBaveIs the average value of stator current i of N times of B phaseCaveAnd the average value of the stator current of the C phase N times is shown.
When the average value of the A-phase stator current value, the average value of the B-phase stator current value and the C-phase stator current value are obtained, the obtained average value of the A-phase stator current value, the obtained average value of the B-phase stator current value and the obtained C-phase stator current value are respectively compared with a preset zero current threshold value izeroComparing, if the current is less than a preset zero current threshold value izeroIf the count value is zero, the count value is increased by 1. Respectively obtaining A-phase count values M within a preset time lengthAB phase count value MBAnd C phase count value MC。
When the A phase count value MAIf the phase number is larger than the preset counting comparison value M, the phase-missing fault of the phase A is judged; when phase B counts for times MBIf the number of the phase B is larger than the preset counting comparison value M, judging that the phase B has a phase failure; when C phase counts the number of times MCAnd if the count is larger than the preset count comparison value M, judging that the phase-lack fault occurs in the phase C.
Specifically, the three-phase stator current values include an a-phase stator current value, a B-phase stator current value and a C-phase stator current value; if it is determined that the phase-A stator current, the phase-B stator current and the phase-C stator current are not in a zero-crossing detection region, obtaining a plurality of three-phase stator current values in real time and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, including:
acquiring a plurality of accumulated summation values of the A-phase stator current value, the B-phase stator current value and the C-phase stator current value; determining a maximum accumulated sum value and a minimum accumulated sum value from the accumulated sum value of the A-phase stator current value, the accumulated sum value of the B-phase stator current value and the accumulated sum value of the C-phase stator current value, and obtaining a comparison result of the maximum accumulated sum value and the minimum accumulated sum value, wherein the comparison result is a positive value; and if the comparison result is greater than a preset threshold value, judging that the three phases have the phase failure.
Exemplarily, for example, obtaining N A-phase stator current values iaSum to iAsumN B-phase stator current values ibSum to iBsumN C-phase stator current values icCumulative sum iCsum. Obtaining the accumulated summation i of the A-phase stator current valueAsumCumulative summation of B-phase stator current values iBsumCumulative summation of the values of the stator currents of the phases C iCsumAccumulating and summing the obtained A-phase stator current values iAsumAverage value i of stator current values of B phaseBsumAnd average value i of C-phase stator current valuesCsumComparing two by two to determine the maximum accumulated sum imaxsumSum minimum cumulative sum iminsum. By summing the maximum sum imaxsumSum minimum cumulative sum iminsumObtaining a comparison result, e.g. comparison imaxsum/iminsumObtaining the corresponding comparison result (i)maxsum/iminsum). Comparing the results (i)maxsum/iminsum) Comparing with a preset threshold value K, if (i)maxsum/iminsum) And if the voltage is more than K, judging that the three phases have phase failure.
Specifically, if the comparison result is greater than a preset threshold, before it is determined that a phase-loss fault occurs in the three phases, the method further includes: acquiring a first given current value and a second given current value based on the torque command; determining a third given current value based on a fourth preset formula, the first given current value and the second given current value; a preset threshold value is determined based on a fifth preset formula and the third given current value.
Illustratively, K is a proportional threshold, which is determined by dq given current. Obtaining a first given current value i by looking up a table through a torque commanddAnd a second given current value iq. From a first given current value idAnd a second given current value iqBy a fourth preset formulaDetermining a third given current value is. By a fifth preset formula and said third given current value isAnd determining a proportion threshold value K. For example,wherein ibaseFor the current basic value defined in the software, as shown in fig. 2, the maximum value of the preset proportional threshold K is 5, and the minimum value is 3, and the proportional threshold K is generally determined by taking the current amplitude corresponding to the maximum torque of the motor.
In the embodiment of the invention, whether the three-phase stator current is in a zero-crossing detection region is determined according to the determined three-phase current angle so as to judge that the three-phase-lack fault occurs, so that the fault can be detected in time when the motor has the phase-lack fault, the phase-lack fault can be accurately detected when the motor phase current is small, and different detection modes are adopted in the whole current range so as to shorten the detection time after the fault occurs.
Referring to fig. 3, fig. 3 is a schematic block diagram of a computer device according to an embodiment of the present disclosure. The computer device may be a vehicle-mounted computer.
As shown in fig. 3, the computer device includes a processor, a memory, and a network interface connected by a system bus, wherein the memory may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the methods for permanent magnet synchronous motor phase loss detection.
The processor is used for providing calculation and control capability and supporting the operation of the whole computer equipment.
The internal memory provides an environment for running a computer program in the non-volatile storage medium, and the computer program can enable the processor to execute any permanent magnet synchronous motor phase failure detection method when being executed by the processor.
The network interface is used for network communication, such as sending assigned tasks and the like. Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in one embodiment, the processor is configured to execute a computer program stored in the memory to implement the steps of:
determining whether the three-phase stator current is in a zero-crossing detection region according to the determined three-phase current angles to judge that the three phases have a phase-lacking fault, wherein the three-phase current angles comprise an A-phase current angle, a B-phase current angle and a C-phase current angle; the three-phase stator current includes an a-phase stator current, a B-phase stator current, and a C-phase stator current.
In one embodiment, the processor, when effecting determining whether the three-phase stator currents are in front of the zero-crossing detection region, is operative to effect:
determining a first angle area based on a preset angle adjusting value and a first preset formula;
determining a second angle area based on the preset angle adjusting value and a second preset formula;
and determining a third angle area based on the preset angle adjusting value and a third preset formula.
In one embodiment, the processor, when enabled to determine whether the three-phase stator currents are in a zero-crossing detection region, is configured to enable:
if the A-phase current angle belongs to a first angle area, determining that the A-phase stator current is in a zero-crossing detection area, otherwise, not in the zero-crossing detection area;
if the phase B current angle belongs to a second angle area, determining that the phase B stator current is in a zero-crossing detection area, otherwise, not in the zero-crossing detection area;
and if the C-phase current angle belongs to a third angle area, determining that the C-phase stator current is in a zero-crossing detection area, otherwise, not in the zero-crossing detection area.
In one embodiment, the processor, when enabled to determine whether the three-phase stator currents are after a zero-crossing detection region, is configured to enable:
if at least one of the A-phase stator current, the B-phase stator current and the C-phase stator current is determined to be in a zero-crossing detection region, acquiring a plurality of three-phase stator current values in real time, and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, wherein the three-phase stator current values are positive values;
or if the A-phase stator current, the B-phase stator current and the C-phase stator current are determined not to be in a zero-crossing detection region, acquiring a plurality of three-phase stator current values in real time, and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, wherein the three-phase stator current values are positive values.
In one embodiment, the three-phase stator current values include an a-phase stator current value, a B-phase stator current value, and a C-phase stator current value; if it is determined that at least one of the A-phase stator current, the B-phase stator current and the C-phase stator current is in a zero-crossing detection region, obtaining a plurality of three-phase stator current values in real time, and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, wherein when the three-phase stator current values are positive values, the method is used for realizing:
obtaining an average value of a plurality of A-phase stator current values, B-phase stator current values and C-phase stator current values;
respectively obtaining an A-phase counting value, a B-phase counting value and a C-phase counting value based on the average value of the A-phase stator current value, the average value of the B-phase stator current value, the average value of the C-phase stator current value and a preset zero current threshold value;
if the A-phase counting value is larger than the preset counting comparison value, judging that the A-phase has a phase-missing fault;
if the counting value of the phase B is larger than the preset counting comparison value, judging that the phase B has a phase failure;
and if the counting value of the phase C is greater than the preset counting comparison value, judging that the phase C has a phase failure.
In one embodiment, the processor implements the three-phase stator current values to include an a-phase stator current value, a B-phase stator current value, and a C-phase stator current value; if the A-phase stator current, the B-phase stator current and the C-phase stator current are determined not to be in a zero-crossing detection region, obtaining a plurality of three-phase stator current values in real time, and judging that a three-phase-lack fault occurs according to the three-phase stator current values, wherein the method is used for realizing:
acquiring a plurality of accumulated summation values of the A-phase stator current value, the B-phase stator current value and the C-phase stator current value;
determining a maximum accumulated sum value and a minimum accumulated sum value from the accumulated sum value of the A-phase stator current value, the accumulated sum value of the B-phase stator current value and the accumulated sum value of the C-phase stator current value, and obtaining a comparison result of the maximum accumulated sum value and the minimum accumulated sum value, wherein the comparison result is a positive value;
and if the comparison result is greater than a preset threshold value, judging that the three phases have the phase failure.
In one embodiment, the processor is configured to determine that a phase-lack fault occurs in three phases before the three phases are determined to have a phase-lack fault if the comparison result is greater than a preset threshold:
acquiring a first given current value and a second given current value based on the torque command;
determining a third given current value based on a fourth preset formula, the first given current value and the second given current value;
a preset threshold value is determined based on a fifth preset formula and the third given current value.
In one embodiment, the processor, when enabled according to the determined three-phase current angles, is configured to enable:
reading a rotor flux linkage angle of a rotary transformer decoding chip, and taking the rotor flux linkage angle of the rotary transformer decoding chip as an A-phase current angle;
determining a phase B current angle based on a sixth preset formula and the phase A current angle;
and determining the C-phase current angle based on a seventh preset formula and the A-phase current angle.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed, a method implemented by the computer program instructions may refer to the various embodiments of the method for detecting a phase loss of a permanent magnet synchronous motor in the present application.
The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A phase loss detection method for a permanent magnet synchronous motor is characterized by comprising the following steps:
determining whether the three-phase stator current is in a zero-crossing detection region according to the determined three-phase current angles to judge that the three phases have a phase-lacking fault, wherein the three-phase current angles comprise an A-phase current angle, a B-phase current angle and a C-phase current angle; the three-phase stator current comprises A-phase stator current, B-phase stator current and C-phase stator current.
2. The method for detecting a phase loss of a permanent magnet synchronous motor according to claim 1, wherein the determining whether the three-phase stator currents are in front of a zero-crossing detection region further comprises:
determining a first angle area based on a preset angle adjusting value and a first preset formula;
determining a second angle area based on the preset angle adjusting value and a second preset formula;
and determining a third angle area based on the preset angle adjusting value and a third preset formula.
3. The method for detecting a phase loss of a permanent magnet synchronous motor according to claim 2, wherein the determining whether the three-phase stator currents are in a zero-crossing detection region includes:
if the A-phase current angle belongs to a first angle area, determining that the A-phase stator current is in a zero-crossing detection area, otherwise, not in the zero-crossing detection area;
if the phase B current angle belongs to a second angle area, determining that the phase B stator current is in a zero-crossing detection area, otherwise, not in the zero-crossing detection area;
and if the C-phase current angle belongs to a third angle area, determining that the C-phase stator current is in a zero-crossing detection area, otherwise, not in the zero-crossing detection area.
4. The method for detecting a phase loss of a permanent magnet synchronous motor according to claim 1, wherein the determining whether the three-phase stator currents are in a zero-crossing detection region further comprises:
if at least one of the A-phase stator current, the B-phase stator current and the C-phase stator current is determined to be in a zero-crossing detection region, acquiring a plurality of three-phase stator current values in real time, and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, wherein the three-phase stator current values are positive values;
or if the A-phase stator current, the B-phase stator current and the C-phase stator current are determined not to be in a zero-crossing detection region, acquiring a plurality of three-phase stator current values in real time, and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, wherein the three-phase stator current values are positive values.
5. The method for detecting the open phase of the permanent magnet synchronous motor according to claim 4, wherein the three-phase stator current values comprise an A-phase stator current value, a B-phase stator current value and a C-phase stator current value; if it is determined that at least one of the A-phase stator current, the B-phase stator current and the C-phase stator current is in a zero-crossing detection region, obtaining a plurality of three-phase stator current values in real time, and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, wherein the three-phase stator current values are positive values, and the method comprises the following steps:
obtaining an average value of a plurality of A-phase stator current values, B-phase stator current values and C-phase stator current values;
respectively obtaining an A-phase counting value, a B-phase counting value and a C-phase counting value based on the average value of the A-phase stator current value, the average value of the B-phase stator current value, the average value of the C-phase stator current value and a preset zero current threshold value;
if the A-phase counting value is larger than the preset counting comparison value, judging that the A-phase has a phase-missing fault;
if the counting value of the phase B is larger than the preset counting comparison value, judging that the phase B has a phase failure;
and if the counting value of the phase C is greater than the preset counting comparison value, judging that the phase C has a phase failure.
6. The method for detecting the open phase of the permanent magnet synchronous motor according to claim 4, wherein the three-phase stator current values comprise an A-phase stator current value, a B-phase stator current value and a C-phase stator current value; if it is determined that the phase-A stator current, the phase-B stator current and the phase-C stator current are not in a zero-crossing detection region, obtaining a plurality of three-phase stator current values in real time and determining that a phase-missing fault occurs in three phases according to the plurality of three-phase stator current values, including:
acquiring a plurality of accumulated summation values of the A-phase stator current value, the B-phase stator current value and the C-phase stator current value;
determining a maximum accumulated sum value and a minimum accumulated sum value from the accumulated sum value of the A-phase stator current value, the accumulated sum value of the B-phase stator current value and the accumulated sum value of the C-phase stator current value, and obtaining a comparison result of the maximum accumulated sum value and the minimum accumulated sum value, wherein the comparison result is a positive value;
and if the comparison result is greater than a preset threshold value, judging that the three phases have the phase failure.
7. The method for detecting the open-phase of the permanent magnet synchronous motor according to claim 6, wherein if the comparison result is greater than a preset threshold, before determining that the open-phase fault occurs in the three phases, the method further comprises:
acquiring a first given current value and a second given current value based on the torque command;
determining a third given current value based on a fourth preset formula, the first given current value and the second given current value;
a preset threshold value is determined based on a fifth preset formula and the third given current value.
8. The method for detecting the open phase of the permanent magnet synchronous motor according to claim 1, wherein the method comprises the following steps according to the determined three-phase current angle:
reading a rotor flux linkage angle of a rotary transformer decoding chip, and taking the rotor flux linkage angle of the rotary transformer decoding chip as an A-phase current angle;
determining a phase B current angle based on a sixth preset formula and the phase A current angle;
and determining the C-phase current angle based on a seventh preset formula and the A-phase current angle.
9. Computer arrangement, characterized in that the computer arrangement comprises a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, carries out the steps of the method of permanent magnet synchronous motor open phase detection according to any of claims 1 to 8.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, wherein the computer program, when being executed by a processor, carries out the steps of the method for detecting a phase failure of a permanent magnet synchronous motor according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111143370.7A CN113917327A (en) | 2021-09-28 | 2021-09-28 | Phase-loss detection method and equipment for permanent magnet synchronous motor and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111143370.7A CN113917327A (en) | 2021-09-28 | 2021-09-28 | Phase-loss detection method and equipment for permanent magnet synchronous motor and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113917327A true CN113917327A (en) | 2022-01-11 |
Family
ID=79236785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111143370.7A Pending CN113917327A (en) | 2021-09-28 | 2021-09-28 | Phase-loss detection method and equipment for permanent magnet synchronous motor and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113917327A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115060987A (en) * | 2022-08-19 | 2022-09-16 | 季华实验室 | Motor phase loss detection method and device, electronic equipment and storage medium |
CN116381492A (en) * | 2023-06-07 | 2023-07-04 | 上海灵动微电子股份有限公司 | Detection device for phase failure of three-phase DC brushless motor in operation |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101951182A (en) * | 2010-08-26 | 2011-01-19 | 东元总合科技(杭州)有限公司 | Voltage compensation method of pulse width modulation output based on voltage equivalent |
JP2011050214A (en) * | 2009-08-28 | 2011-03-10 | Nissan Motor Co Ltd | Electric motor control system |
CN103743961A (en) * | 2013-12-10 | 2014-04-23 | 广东威灵电机制造有限公司 | Open-phase detection method and detection apparatus for three-phase permanent magnet synchronous motor |
CN107782983A (en) * | 2017-11-20 | 2018-03-09 | 上海辛格林纳新时达电机有限公司 | A kind of detection method of servo-driver output phase shortage |
CN109490646A (en) * | 2018-11-30 | 2019-03-19 | 上海大郡动力控制技术有限公司 | New-energy automobile driving motor method for detecting open phase |
CN110095719A (en) * | 2019-04-23 | 2019-08-06 | 上海蔚来汽车有限公司 | Motor phase failure detection method, system and device |
CN111490710A (en) * | 2020-05-06 | 2020-08-04 | 郑州精益达汽车零部件有限公司 | Method and system for identifying zero offset of permanent magnet synchronous motor for vehicle |
US20200287539A1 (en) * | 2019-03-07 | 2020-09-10 | Danfoss (Tianjin) Ltd. | Phase loss detection device, compressor including the same, and phase loss detection method |
-
2021
- 2021-09-28 CN CN202111143370.7A patent/CN113917327A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011050214A (en) * | 2009-08-28 | 2011-03-10 | Nissan Motor Co Ltd | Electric motor control system |
CN101951182A (en) * | 2010-08-26 | 2011-01-19 | 东元总合科技(杭州)有限公司 | Voltage compensation method of pulse width modulation output based on voltage equivalent |
CN103743961A (en) * | 2013-12-10 | 2014-04-23 | 广东威灵电机制造有限公司 | Open-phase detection method and detection apparatus for three-phase permanent magnet synchronous motor |
CN107782983A (en) * | 2017-11-20 | 2018-03-09 | 上海辛格林纳新时达电机有限公司 | A kind of detection method of servo-driver output phase shortage |
CN109490646A (en) * | 2018-11-30 | 2019-03-19 | 上海大郡动力控制技术有限公司 | New-energy automobile driving motor method for detecting open phase |
US20200287539A1 (en) * | 2019-03-07 | 2020-09-10 | Danfoss (Tianjin) Ltd. | Phase loss detection device, compressor including the same, and phase loss detection method |
CN110095719A (en) * | 2019-04-23 | 2019-08-06 | 上海蔚来汽车有限公司 | Motor phase failure detection method, system and device |
CN111490710A (en) * | 2020-05-06 | 2020-08-04 | 郑州精益达汽车零部件有限公司 | Method and system for identifying zero offset of permanent magnet synchronous motor for vehicle |
Non-Patent Citations (1)
Title |
---|
崔小鹏;王公宝;马伟明;饶金;: "直线电机分段供电故障诊断研究", 《电机与控制学报》, vol. 17, no. 8, pages 9 - 14 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115060987A (en) * | 2022-08-19 | 2022-09-16 | 季华实验室 | Motor phase loss detection method and device, electronic equipment and storage medium |
CN115060987B (en) * | 2022-08-19 | 2022-11-08 | 季华实验室 | Motor phase loss detection method and device, electronic equipment and storage medium |
CN116381492A (en) * | 2023-06-07 | 2023-07-04 | 上海灵动微电子股份有限公司 | Detection device for phase failure of three-phase DC brushless motor in operation |
CN116381492B (en) * | 2023-06-07 | 2023-09-15 | 上海灵动微电子股份有限公司 | Detection device for phase failure of three-phase DC brushless motor in operation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113917327A (en) | Phase-loss detection method and equipment for permanent magnet synchronous motor and storage medium | |
CN106953559B (en) | Method and apparatus for motor lock or stall detection | |
CN110752808B (en) | Motor position sensor error compensation method and device, vehicle and storage medium | |
RU2600937C2 (en) | Device for detection of angular position and air conditioner | |
CN110726935B (en) | Motor phase loss detection method and device and storage medium | |
US20110115424A1 (en) | Method for determining the position of a rotor of a synchronous machine having at least one excitation winding | |
CN111106780B (en) | Motor control method and device, terminal equipment and storage medium | |
CN107834914A (en) | Brushless electric motor rotor angle computation method based on Hall | |
Tawadros et al. | Estimation of commutation instances using back emf mapping for sensorless control of brushless permanent magnet motors | |
CN111030538B (en) | Fan state parameter detection method and device, storage medium and electronic device | |
CN111090030A (en) | Open-circuit fault diagnosis method and device, motor controller and storage medium | |
CN115913028A (en) | Current sampling method and device, electronic equipment and storage medium | |
CN114244226B (en) | Servo motor power line phase sequence detection method, criterion method and servo motor | |
CN105720876A (en) | Inner power factor angle detection method of PMSM | |
CN111049463B (en) | Method for motor to exit three-phase active short-circuit mode and control device | |
CN112834891B (en) | Method and device for detecting failure thyristor in phase control rectifying circuit and terminal equipment | |
CN109510525A (en) | A kind of permanent magnet synchronous motor original state detection method | |
CN112803855B (en) | High-precision motor rotor position detection device and method | |
CN105720880B (en) | A kind of motor corner real-time estimation method and device | |
CN112104290B (en) | Method and device for identifying initial position of magnetic pole of motor rotor | |
CN105827169A (en) | Rectangular-axis current detection method for PMSM | |
CN117792199B (en) | Permanent magnet synchronous motor control method and device, vehicle and storage medium | |
CN113328673B (en) | Method and device for determining position of motor rotor, motor and storage medium | |
CN113049956B (en) | Locked rotor detection method and device of motor and terminal equipment | |
CN113866490B (en) | Motor phase current overcurrent detection method and device, motor controller and vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |