Permanent magnet synchronous motor fault detection method, engineering machinery and electronic equipment
Through the sliding mode observer in real time and perform electromotive force control processing, the problem of low reliability and stability of permanent magnet synchronous motor fault detection caused by sensor dependence is solved, and efficient and accurate fault self-detection is achieved, reducing costs .
Patent Information
- Application Number
- CN202410938161.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-11-01
AI Technical Summary
When the existing technology relies on sensors to detect permanent magnet synchronous motor failure, it is affected by factors such as temperature and vibration, resulting in low reliability and stability and high cost.
By constructing a sliding-mode observer to observe the stator current in real time and perform electromotive force control processing, real-time fault self-detection of permanent magnet synchronous motors is realized. The entire fault detection process does not require sensor participation, reduces costs, and improves the reliability and stability of fault detection.
The accuracy and reliability of permanent magnet synchronous motor fault detection is improved, which reduces costs and improves the reliability and stability of rapid detection.
Smart Images

Figure CN118884218A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electrical control technology, and in particular to a permanent magnet synchronous motor fault detection method, engineering machinery and electronic equipment. Background Art
[0002] Permanent magnet synchronous motors have been widely used in the field of electrical control in recent years due to their simple structure, small size, high efficiency and high power factor. They are playing an increasingly important role in daily life, industrial and agricultural production, and national economic development. Since permanent magnet synchronous motors are mostly used in transmission control systems and are often at the core of transmission control systems, when permanent magnet synchronous motors unexpectedly stop due to a fault and cause the entire transmission control system to fail, it will cause huge economic and property losses to a large extent. Therefore, it is particularly important to perform real-time fault detection on permanent magnet synchronous motors to ensure their safe and reliable operation.
[0003] In the related art, Hall sensors or other sensors such as position sensors are usually used to detect the rotor position, and then the permanent magnet synchronous motor is detected for real-time faults based on the collected parameters such as rotor position, rotor position and speed. However, since Hall sensors or position sensors are easily affected by factors such as temperature and vibration, they are not only expensive, but also have poor reliability and stability. Therefore, the reliability and stability of permanent magnet synchronous motor fault detection relying on sensors are also not high. Summary of the invention
[0004] The present invention provides a permanent magnet synchronous motor fault detection method, engineering machinery and electronic equipment, which are used to solve the defects of the prior art that the reliability and stability of permanent magnet synchronous motor fault detection relying on sensors are not high. The purpose of real-time fault self-detection of the permanent magnet synchronous motor is achieved by constructing a sliding mode observer to observe the stator current in real time and perform electromotive force control processing. The whole fault detection process does not require the participation of sensors, which greatly reduces the cost. In addition, combined with the advantages of the sliding mode observer such as simple structure, not easily affected by parameters, and strong anti-interference ability, not only the reliability and stability of rapid detection of permanent magnet synchronous motor faults are improved, but also the permanent magnet synchronous motor fault detection results can be ensured to be more accurate and reliable.
[0005] The present invention provides a permanent magnet synchronous motor fault detection method, comprising the following steps.
[0006] Based on the stator voltage equation of the permanent magnet synchronous motor in the synchronous rotating coordinate system, a sliding mode observer is constructed; Determining a stator electromotive force estimation value based on the stator current observation value observed by the sliding mode observer and the stator current value collected by the system; Using the sliding mode observer to process different coordinate axis voltage components of the reference voltage vector in the two-phase stationary coordinate system, and determining the stator electromotive force reference value based on the processing result; Based on the matching relationship between the stator electromotive force estimation value and the stator electromotive force reference value and the preset turn-to-turn short-circuit fault conditions, it is determined whether the permanent magnet synchronous motor has a turn-to-turn short-circuit fault.
[0007] According to a permanent magnet synchronous motor fault detection method provided by the present invention, the stator voltage equation of the permanent magnet synchronous motor in a synchronous rotating coordinate system is used to construct a sliding mode observer, comprising: Based on the stator voltage equation and the preset stator parameters, a stator current observation value dynamic change equation and a stator electromotive force control equation are determined; The sliding mode observer is constructed based on the stator current observation value dynamic change equation and the stator electromotive force control equation.
[0008] According to a permanent magnet synchronous motor fault detection method provided by the present invention, the stator electromotive force estimation value is determined based on the stator current observation value observed by the sliding mode observer and the stator current value collected by the system, including: Determining respective voltage observation values of the reference voltage vector in different sectors based on the stator current observation value observed by the sliding mode observer and the stator current value collected by the system; The sliding mode observer is used to perform electromotive force control processing on each of the voltage observation values to obtain the stator electromotive force estimation value corresponding to each of the sectors.
[0009] According to a permanent magnet synchronous motor fault detection method provided by the present invention, the sliding mode observer is used to process different coordinate axis voltage components of the reference voltage vector in a two-phase stationary coordinate system, and a stator electromotive force reference value is determined based on the processing result, including: Determining respective reference voltage values of the reference voltage vector in different sectors based on the different coordinate axis voltage components of the reference voltage vector in the two-phase stationary coordinate system; The sliding mode observer is used to perform electromotive force control processing on each of the reference voltage values to obtain the stator electromotive force reference value corresponding to each of the sectors.
[0010] According to a permanent magnet synchronous motor fault detection method provided by the present invention, based on the matching relationship between the stator electromotive force estimation value and the stator electromotive force reference value and the preset turn-to-turn short-circuit fault condition, judging whether the permanent magnet synchronous motor has a turn-to-turn short-circuit fault includes: For each sector of the reference voltage vector, performing a difference calculation between the stator electromotive force estimation value corresponding to the sector and the stator electromotive force reference value to obtain an electromotive force difference value corresponding to the sector; Comparing each of the electromotive force difference values with a preset threshold value corresponding to the sector; When it is determined that there is at least one electromotive force difference value greater than the preset threshold, it is determined that there is an inter-turn short circuit fault in the permanent magnet synchronous motor; When it is determined that each of the electromotive force difference values is smaller than the corresponding preset threshold value, it is determined that there is no turn-to-turn short circuit fault in the permanent magnet synchronous motor.
[0011] According to a permanent magnet synchronous motor fault detection method provided by the present invention, the process of determining the voltage components of different coordinate axes in the two-phase stationary coordinate system includes: Determining a torque current component reference value and an excitation current component reference value of the permanent magnet synchronous motor; Performing Clark transformation and Park transformation on the three-phase stator current of the permanent magnet synchronous motor to obtain an actual value of a torque current component and an actual value of an excitation current component of the permanent magnet synchronous motor; The difference between the actual value of the torque current component and the reference value of the torque current component, and the difference between the actual value of the excitation current component and the reference value of the excitation current component are respectively subjected to PI regulation and Park inverse transformation to obtain the voltage components of different coordinate axes in the two-phase stationary coordinate system.
[0012] According to a permanent magnet synchronous motor fault detection method provided by the present invention, determining a torque current component reference value of the permanent magnet synchronous motor includes: Determining a speed difference between a speed of the permanent magnet synchronous motor and a speed threshold; Using a pre-built sliding mode controller to perform sliding mode control on the speed difference, and determining the torque current component reference value based on the sliding mode control result; The sliding mode controller is pre-constructed based on a preset rotor electrical angular velocity, an actual rotor electrical angular velocity, a load torque, a flux linkage of a permanent magnet, a moment of inertia and a damping coefficient.
[0013] The present invention further provides an engineering machine, comprising: a main body and a fault detection device connected to the main body, wherein the fault detection device is used to execute the permanent magnet synchronous motor fault detection method as described above.
[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a permanent magnet synchronous motor fault detection method as described above is implemented.
[0015] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the permanent magnet synchronous motor fault detection method as described in any one of the above is implemented.
[0016] The present invention provides a permanent magnet synchronous motor fault detection method, engineering machinery and electronic equipment, wherein the permanent magnet synchronous motor fault detection method first constructs a sliding mode observer based on the stator voltage equation of the permanent magnet synchronous motor in a synchronous rotating coordinate system, and then matches the stator electromotive force estimation value and the stator electromotive force reference value determined by the sliding mode observer with the preset inter-turn short circuit fault condition, so as to determine whether the permanent magnet synchronous motor has an inter-turn short circuit fault. In this way, the purpose of real-time fault self-detection of the permanent magnet synchronous motor is achieved by the constructed sliding mode observer observing the stator current in real time and performing electromotive force control processing. The entire fault detection process does not require the participation of sensors, which greatly reduces the cost. In addition, combined with the advantages of the sliding mode observer, such as simple structure, not easily affected by parameters, and strong anti-interference ability, not only the reliability and stability of rapid detection of permanent magnet synchronous motor faults are improved, but also the permanent magnet synchronous motor fault detection results can be ensured to be more accurate and reliable. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 This is one of the flow charts of the permanent magnet synchronous motor fault detection method provided by the present invention.
[0019] Figure 2 It is an implementation block diagram of the sliding mode observer provided by the present invention.
[0020] Figure 3 This is the second flow chart of the permanent magnet synchronous motor fault detection method provided by the present invention.
[0021] Figure 4 It is a structural schematic diagram of a permanent magnet synchronous motor fault detection device provided by the present invention.
[0022] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] In the embodiments of the present invention, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B may be singular or plural. In the textual description of the present invention, the character " / " generally indicates that the previous and next associated objects are in an "or" relationship. In addition, it should be noted that the serial numbers themselves, such as "first", "second", etc., used to distinguish the objects described in the present invention are only used to distinguish the objects described, and do not have any order or technical meaning.
[0025] Permanent magnet synchronous motors have been widely used in the field of electrical control in recent years due to their simple structure, small size, high efficiency and high power factor. They are playing an increasingly important role in daily life, industrial and agricultural production, and national economic development. Since permanent magnet synchronous motors are mostly used in transmission control systems and are often at the core of transmission control systems, when permanent magnet synchronous motors unexpectedly stop due to a fault and cause the entire transmission control system to fail, it will cause huge economic and property losses to a large extent. Therefore, it is particularly important to perform real-time fault detection on permanent magnet synchronous motors to ensure their safe and reliable operation.
[0026] In the related art, Hall sensors or other sensors such as position sensors are usually used to detect the rotor position, and then the permanent magnet synchronous motor is detected for real-time faults based on the collected parameters such as rotor position, rotor position and speed. However, since Hall sensors or position sensors are easily affected by factors such as temperature and vibration, they are not only expensive, but also have poor reliability and stability. Therefore, the reliability and stability of permanent magnet synchronous motor fault detection relying on sensors are also not high.
[0027] In order to solve the above technical problems, the present invention provides a permanent magnet synchronous motor fault detection method, engineering machinery and electronic equipment. By constructing a sliding mode observer to observe the stator current in real time and perform electromotive force control processing, the purpose of real-time fault self-detection of the permanent magnet synchronous motor is achieved. The entire fault detection process does not require the participation of sensors, which greatly reduces the cost. In addition, combined with the advantages of the sliding mode observer such as simple structure, not easily affected by parameters, and strong anti-interference ability, not only the reliability and stability of rapid detection of permanent magnet synchronous motor faults are improved, but also the permanent magnet synchronous motor fault detection results can be ensured to be more accurate and reliable.
[0028] Combine the following Figure 1-Figure 5 The permanent magnet synchronous motor fault detection method, engineering machinery and electronic equipment of the present invention are described, wherein the execution subject of the permanent magnet synchronous motor fault detection method can be a pre-developed fault detection software, which can be pre-installed in the engineering machinery, or can also be set in an electronic device or server that is connected to the engineering machinery in communication; the specific setting location of the fault detection software is not specifically limited here. In addition, the electronic device can include but is not limited to other devices such as personal computers (PC), portable devices, laptops, smart phones, tablet computers and portable wearable devices; the server can refer to a server, or a server cluster composed of multiple servers, a cloud server, etc. The present invention does not specifically limit the specific form of the electronic device or server. Furthermore, the permanent magnet synchronous motor fault detection method can also be applied to a permanent magnet synchronous motor fault detection device set in an engineering machinery, an electronic device or a server that is connected to the engineering machinery in communication, and the permanent magnet synchronous motor fault detection device can be implemented by software, hardware or a combination of the two. The following takes the execution subject of the permanent magnet synchronous motor fault detection method as the built-in fault detection software in the engineering machinery as an example to describe the permanent magnet synchronous motor fault detection method.
[0029] In order to facilitate understanding of the permanent magnet synchronous motor fault detection method provided by the embodiment of the present invention, the permanent magnet synchronous motor fault detection method provided by the present invention will be described in detail below through the following exemplary embodiments. It can be understood that the following exemplary embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0030] Reference Figure 1 , which is one of the flow charts of the permanent magnet synchronous motor fault detection method provided by the present invention, such as Figure 1 As shown, the permanent magnet synchronous motor fault detection method includes the following steps 110 to 140.
[0031] Step 110: construct a sliding mode observer based on the stator voltage equation of the permanent magnet synchronous motor in the synchronous rotating coordinate system.
[0032] The synchronously rotating coordinate system may specifically be a dq coordinate system.
[0033] It should be noted that in order to analyze the armature reaction of the motor, the axis of the magnetic pole in the motor is often called the direct axis (also known as the longitudinal axis, d-axis), and the line that differs from the direct axis or d-axis by 90° electrical angle is called the horizontal axis (also known as the quadrature axis, q-axis); in this way, the dq coordinate system is obtained, and this dq coordinate system can be used for any other motor such as AC motors, DC motors, electric motors and generators, that is, the above motors all have a dq coordinate system.
[0034] Specifically, before constructing a sliding mode observer for the permanent magnet synchronous motor, a mathematical model of the permanent magnet synchronous motor in the dq coordinate system is first determined. The mathematical model may include but is not limited to a stator voltage equation, a stator flux equation, and an electromagnetic torque equation in the dq coordinate system.
[0035] For the stator voltage equation, the initial stator voltage equation can be first determined by equation (1), and then the stator flux equation determined by equation (2) is substituted into equation (1) to obtain the stator voltage equation shown in equation (3).
[0036] (1).
[0037] (2).
[0038] (3).
[0039] In formulas (1) to (3), , Represents the stator voltage Axis component, , Respectively represent the stator current Axis component, is the stator resistance, , They represent the stator flux Axis component, is the electrical angular velocity of the stator, , Respectively represent the stator The inductance component of the shaft, represents the permanent magnet flux of the stator, express Over time The rate of change, express Over time The rate of change.
[0040] It should be noted that, during specific simulation modeling, the mathematical model of the permanent magnet synchronous motor in the dq coordinate system may also include the electromagnetic torque equation of the permanent magnet synchronous motor in the dq coordinate system, and the electromagnetic torque equation may be determined by equation (4).
[0041] (4).
[0042] In formula (4), represents the electromagnetic torque of the stator, Indicates the rated power of the stator.
[0043] For example, the permanent magnet synchronous motor in the present invention may be a surface mounted permanent magnet synchronous motor (PMSM), and its stator inductance The relationship shown in formula (5) is satisfied.
[0044] (5).
[0045] Moreover, when simulating the mathematical model, the relationship shown in formula (6) must also be satisfied.
[0046] ; ; (6).
[0047] In formula (6), is the electrical angular velocity of the stator, represents the number of magnetic pole pairs of the permanent magnet synchronous motor, It represents the mechanical angular velocity of the permanent magnet synchronous motor and its unit is , It represents the speed of the permanent magnet synchronous motor and its unit is , Represents the rotation angle of the permanent magnet synchronous motor.
[0048] At this time, by simulating and analyzing the stator voltage equation shown in equation (3) and the electromagnetic torque equation shown in equation (5), the observation purpose is achieved by feeding back the detected rotor position, stator current, system speed and other information to the speed loop controller for adjustment, while converting the observed stator current into an electromotive force and comparing it with the original motor data. Thus, a sliding mode observer that achieves the above observation purpose is constructed based on the simulation analysis results.
[0049] Step 120: Determine the estimated value of the stator electromotive force based on the stator current observation value observed by the sliding mode observer and the stator current value collected by the system.
[0050] Specifically, the observed stator current observation values, that is, the stator current observation values on the d-axis and q-axis respectively, can be obtained through the constructed sliding mode observer. , At the same time, the stator current value collected by the system in real time is obtained, that is, the stator current Axis Component and At this time, the discontinuous equivalent current estimate can be determined by low-pass filtering the stator current observation value and the difference between the stator current values, and then the stator electromotive force estimate can be determined by performing electromotive force control on the discontinuous equivalent current estimate using a sliding mode observer.
[0051] Step 130: Use a sliding mode observer to process voltage components of different coordinate axes of a reference voltage vector in a two-phase stationary coordinate system, and determine a stator electromotive force reference value based on the processing result.
[0052] Among them, the two-phase stationary coordinate system can be specifically - Coordinate system.
[0053] Specifically, first determine the reference voltage vector of the permanent magnet synchronous motor, the reference voltage vector can be preset by the user, and then based on the reference voltage vector respectively in axis, The voltage component on the axis determines the reference voltage value of the reference voltage vector in the corresponding sector, and the corresponding reference voltage value is subjected to electromotive force control processing by using a sliding mode observer to obtain the corresponding stator electromotive force reference value.
[0054] Step 140: Based on the matching relationship between the stator electromotive force estimation value and the stator electromotive force reference value and the preset turn-to-turn short-circuit fault condition, determine whether the permanent magnet synchronous motor has a turn-to-turn short-circuit fault.
[0055] Specifically, for the determined stator electromotive force estimation value and the stator electromotive force reference value, their difference can be compared and matched with the corresponding turn-to-turn short-circuit fault condition. If the match is successful, it can be determined that the permanent magnet synchronous motor has an turn-to-turn short-circuit fault. Otherwise, if the match fails, it can be determined that the permanent magnet synchronous motor does not have a turn-to-turn short-circuit fault.
[0056] The permanent magnet synchronous motor fault detection method provided by the embodiment of the present invention first constructs a sliding mode observer based on the stator voltage equation of the permanent magnet synchronous motor in a synchronous rotating coordinate system, and then matches the stator electromotive force estimation value and the stator electromotive force reference value determined by the sliding mode observer with the preset inter-turn short circuit fault condition, so as to determine whether the permanent magnet synchronous motor has an inter-turn short circuit fault. In this way, the purpose of real-time fault self-detection of the permanent magnet synchronous motor is achieved by the constructed sliding mode observer observing the stator current in real time and performing electromotive force control processing. The entire fault detection process does not require the participation of sensors, which greatly reduces the cost. In addition, combined with the advantages of the sliding mode observer such as simple structure, not easily affected by parameters, and strong anti-interference ability, it not only improves the reliability and stability of rapid detection of permanent magnet synchronous motor faults, but also ensures that the fault detection results of the permanent magnet synchronous motor are more accurate and reliable.
[0057] Based on the above Figure 1 In the permanent magnet synchronous motor fault detection method shown in FIG. 1 , in an exemplary embodiment, step 110 is specifically implemented through the following process.
[0058] Firstly, based on the stator voltage equation and the preset stator parameters, the dynamic change equation of the stator current observation value and the stator electromotive force control equation are determined; further, based on the dynamic change equation of the stator current observation value and the stator electromotive force control equation, a sliding mode observer is constructed.
[0059] Specifically, based on the stator voltage equation shown in the above formula (3), the stator current dynamic change equation shown in formula (7) can be determined. In order to obtain the value of the related induced electromotive force in formula (7), the stator current observation value dynamic change equation shown in formula (8) and the stator electromotive force control equation shown in formula (9) can be constructed, and the sliding mode observer can be designed based on the stator current observation value dynamic change equation and the stator electromotive force control equation; for example, the sliding mode observer can be designed as the stator current observation value dynamic change equation and the stator electromotive force control equation.
[0060] (7).
[0061] (8).
[0062] (9).
[0063] In equations (7) to (9), sgn represents the sign function, is the electrical angular velocity of the stator, represents the permanent magnet flux of the stator, represents the sliding mode observer gain; , They represent the observed values of stator current of d-axis and q-axis respectively; , Respectively represent the stator current Axis components, that is, the stator current values of the d-axis and q-axis; , Represents the stator voltage Axis component; , Respectively represent the stator inductance Axis component, , Respectively The electromotive force component of the shaft, is the stator resistance, , Respectively represent the stator The inductance component of the shaft, , They represent the induced electromotive force of the d-axis and q-axis respectively.
[0064] The sliding mode observer gain can be determined by formula (10).
[0065] (10).
[0066] In formula (10), represents the current observation error of the d-axis, represents the current observation error of the q-axis, , ; is a positive integer greater than 0, usually =2, the sliding mode arrival condition is met , superscript Represents a transpose operation; represents the maximum value operation, Represents an absolute value operation.
[0067] for Electromotive force component of the shaft , It can be determined by formula (11).
[0068] (11).
[0069] It should be noted that if the current observation error of the d-axis is and the q-axis current observation error Expressed as current observation error , and its corresponding current observation error vector The relationship shown in formula (12) can be satisfied.
[0070] (12).
[0071] In formula (12), , , represents the induced electromotive force determined by equation (9), ; and They represent the two matrices determined by formula (13).
[0072] , (13).
[0073] When the sliding mode observer is used to estimate the stator current, its sliding mode surface function can refer to equation (14).
[0074] (14).
[0075] For example, refer to Figure 2 The implementation block diagram of the sliding mode observer is shown in Figure 2 As shown, the induced electromotive force of the d-axis and q-axis , After entering the sliding mode observer, a preliminary summation operation is performed, and then combined with the proportional gain coefficient K p , integral gain coefficient K i The summation result is processed by the frequency variable s in the complex function, and then the sine operation (sin()) and cosine operation (cos()) are performed on the processed result respectively, so that the corresponding electromotive force observation value can be output.
[0076] Based on the above Figure 1 In the permanent magnet synchronous motor fault detection method shown in FIG. 1 , in an exemplary embodiment, step 120 is specifically implemented through the following process.
[0077] Firstly, based on the stator current observation values observed by the sliding mode observer and the stator current values collected by the system, the voltage observation values of the reference voltage vector in different sectors are determined; further, the sliding mode observer is used to perform electromotive force control processing on each voltage observation value to obtain the stator electromotive force estimation value corresponding to each sector.
[0078] Specifically, for the reference voltage vector, the sectors of the reference voltage vector may be judged first, that is, according to the reference voltage vector respectively in , Voltage component on the axis and , determine the reference voltage values of each of the multiple sectors; illustratively, the reference voltage values of each of the three sectors of the reference voltage vector can be determined by formula (15), which is recorded as the reference voltage value of sector 1 , Sector 2 and sector 3 .
[0079] (15).
[0080] At this time, an intermediate variable can be further set for each reference voltage value, that is, the reference voltage value can be set. The intermediate variable is A, the reference voltage value The intermediate variable is B, and the reference voltage value The intermediate variable is C, and each intermediate variable satisfies the corresponding reference voltage value: >0 then A=1, if ≤0 then A=0; if >0 then B=1, if ≤0, then B=0; if >0 then C=1, if ≤0, then C=0.
[0081] The above three intermediate variables A, B and C can be determined by formula (16).
[0082] (16).
[0083] In formula (16), Represents the switching cycle corresponding to each sector, Indicates the reference voltage vector The voltage component on the axis, Indicates the reference voltage vector The voltage component on the axis, Indicates the preset maximum output line voltage.
[0084] For the three sectors of the reference voltage vector, the action time of sector 1 can be set to , Set the action time of sector 2 to And set the action time of sector 3 to , and let another intermediate variable In the case of , the relationship between it and the sector can be obtained, and this relationship can be shown in Table 1.
[0085] Table 1
[0086] It should be noted that if > , then the action time and action time After overmodulation, the action time after overmodulation can be obtained. and , and its overmodulation process can be shown in formula (17).
[0087] (17).
[0088] At this time, the switching time of each sector can be calculated by formula (18), that is, the switching time of sector 1 is calculated as , Sector 2 switching time and sector 3 switching time .
[0089] (18).
[0090] The three switching times calculated by the above formula (18) are related to the switching points of the three-phase voltage switching time. , and The relationship shown in the following Table 2 is satisfied.
[0091] Table 2
[0092] So far, the reference voltage vector is completed. axis, The space voltage vector pulse width modulation (SVPWM) of the voltage component on the axis, the implementation of the SVPWM algorithm includes the sector judgment of the reference voltage vector, the calculation of the non-zero vector and zero vector action time of each sector, and the determination of the switching point of each sector vector. Finally, a triangular carrier signal of a certain frequency is used to compare with the switching point of each sector vector, so as to generate the PWM pulse signal required by the converter.
[0093] In this way, after determining the stator current observation value observed by the sliding mode observer (such as the stator current observation value on the d-axis and q-axis respectively), , ) and the stator current value collected by the system in real time (such as the stator current Axis Component and ), for the three sectors of the reference voltage vector, the voltage observation values of the reference voltage vector in different sectors can be determined, that is, the sector current difference of the difference between the stator current observation value and the stator current value in each sector can be determined by combining the above formula (9), and then the sliding mode observer is used to perform electromotive force control processing on the voltage observation values of the current difference of each sector, and the stator electromotive force estimation value corresponding to each sector is obtained, which can be recorded as the stator electromotive force estimation value corresponding to sector 1 , Estimated value of stator electromotive force corresponding to sector 2 Estimated value of stator electromotive force corresponding to sector 3 .
[0094] Based on the above Figure 1 In the permanent magnet synchronous motor fault detection method shown in FIG. 1 , in an exemplary embodiment, step 130 is specifically implemented through the following process.
[0095] Firstly, based on the voltage components of different coordinate axes of the reference voltage vector in the two-phase stationary coordinate system, the reference voltage values of the reference voltage vector in different sectors are determined; then, the sliding mode observer is used to perform electromotive force control on each reference voltage value to obtain the stator electromotive force reference value corresponding to each sector.
[0096] Specifically, the voltage components of different coordinate axes of the reference voltage vector in the two-phase stationary coordinate system are determined, and the voltage components of different coordinate axes of the reference voltage vector are respectively axis, Voltage component on the axis and When , the reference voltage value of each sector can be determined by the above formula (15): , and , and then use the sliding mode observer to calculate the reference voltage value , and Perform electromotive force control processing respectively to obtain the stator electromotive force reference value corresponding to each sector, which can be recorded as the stator electromotive force reference value corresponding to sector 1 , stator electromotive force reference value corresponding to sector 2 The stator electromotive force reference value corresponding to sector 3 .
[0097] Based on the above Figure 1 In the permanent magnet synchronous motor fault detection method shown in FIG. 1 , in an exemplary embodiment, step 140 is specifically implemented through the following process.
[0098] First, for each sector of the reference voltage vector, the difference between the stator electromotive force estimation value and the stator electromotive force reference value corresponding to the sector is calculated to obtain the electromotive force difference value corresponding to the sector; then, each electromotive force difference value is compared with the preset threshold value of the corresponding sector; then, when it is determined that there is at least one electromotive force difference value greater than the preset threshold value, it is determined that the permanent magnet synchronous motor has an inter-turn short circuit fault; or, when it is determined that each electromotive force difference value is less than the corresponding preset threshold value, it is determined that the permanent magnet synchronous motor does not have an inter-turn short circuit fault.
[0099] Specifically, after determining the estimated value of the stator electromotive force corresponding to sector 1 , Estimated value of stator electromotive force corresponding to sector 2 Estimated value of stator electromotive force corresponding to sector 3 , and the stator electromotive force reference value corresponding to sector 1 , stator electromotive force reference value corresponding to sector 2 The stator electromotive force reference value corresponding to sector 3 In the case of, the voltage component generated by the short circuit between turns of the permanent magnet synchronous motor can be calculated , and , that is, the estimated value of the stator electromotive force corresponding to each sector is calculated, and the electromotive force difference between it and the stator electromotive force reference value corresponding to the sector. The calculation process can refer to formula (19).
[0100] (19).
[0101] At this point, when the three electromotive force difference values are all smaller than the corresponding preset threshold values, it can be determined that there is no turn-to-turn short circuit fault in the permanent magnet synchronous motor; conversely, when at least one of the three electromotive force difference values is greater than or equal to the corresponding preset threshold value, it can be determined that there is a turn-to-turn short circuit fault in the permanent magnet synchronous motor.
[0102] Based on the above Figure 1 In the permanent magnet synchronous motor fault detection method shown in FIG. 1 , in an exemplary embodiment, the voltage components of different coordinate axes in the two-phase stationary coordinate system in step 120 are specifically determined by the following process.
[0103] Firstly, the reference value of the torque current component and the reference value of the excitation current component of the permanent magnet synchronous motor are determined; then, the three-phase stator current of the permanent magnet synchronous motor is subjected to Clark transformation and Park transformation to obtain the actual value of the torque current component and the actual value of the excitation current component of the permanent magnet synchronous motor; then, the difference between the actual value of the torque current component and the reference value of the torque current component, as well as the difference between the actual value of the excitation current component and the reference value of the excitation current component, are subjected to PI adjustment and Park inverse transformation respectively to obtain the voltage components of different coordinate axes in the two-phase stationary coordinate system.
[0104] Specifically, the torque current component reference value iqref is determined by a pre-designed sliding mode controller, and the excitation current component reference value idref can be pre-assigned, such as idref=0.
[0105] According to formula (20), the torque current component reference value iqref and the excitation current component reference value idref are transformed by Clark transformation to obtain the torque current component after Clark transformation. and the excitation current component after Clark transformation .
[0106] , (20).
[0107] In formula (20), Represents the preset first coordinate transformation matrix; the first coordinate transformation matrix The coefficients in , is determined based on the constraint that the amplitude remains unchanged.
[0108] According to formula (21), the torque current component after Clark transformation is and the excitation current component after Clark transformation Park transformation is performed to obtain the actual value iq of the torque current component and the actual value id of the excitation current component of the permanent magnet synchronous motor.
[0109] , (twenty one).
[0110] In formula (21), Represents the preset second coordinate transformation matrix, Represents the rotation angle of the permanent magnet synchronous motor.
[0111] For the actual value iq of the torque current component of the permanent magnet synchronous motor, its reference value (that is, the torque current component reference value iqref) is the current component output by the sliding mode controller. The present invention uses a surface-mounted three-phase permanent magnet synchronous motor, so a control method using the actual value id=0 of the excitation current component is used.
[0112] In order to facilitate the design of the current loop PI controller, we rewrite the equation (22) to get The current equation in the coordinate system.
[0113] (twenty two).
[0114] It can be seen from formula (22) that the actual value iq of the torque current component and the actual value id of the excitation current component generate cross-coupled electromotive force in the q-axis and d-axis directions respectively.
[0115] By completely decoupling the actual value iq of the torque current component and the actual value id of the excitation current component, equation (22) can be converted into equation (23).
[0116] (twenty three).
[0117] In formula (23), and They represent the d-axis and q-axis voltages after current decoupling, respectively.
[0118] The current value after Laplace transform decoupling of equation (23) is and , the Laplace transform process can refer to equations (24)~(25).
[0119] , , (twenty four).
[0120] (25).
[0121] In formulas (24) to (25), Indicates the preset dynamic approach rate, and Represent the d-axis and q-axis voltages after current decoupling respectively and .
[0122] At this time, the conventional PI regulator is used in combination with the feedforward decoupling control strategy. According to equation (26), the decoupled voltage component of the dq axis can be obtained: and .
[0123] (26).
[0124] In formula (26), and They represent the current values after Laplace transform decoupling. and , and Respectively The proportional gain of the regulator, and Respectively Integral gain of the regulator.
[0125] According to equation (27), the decoupled voltage components of the dq axis are and By performing Park inverse transformation, we can obtain the voltage components of different coordinate axes of the reference voltage vector in the two-phase stationary coordinate system, that is, the reference voltage vector is respectively axis, Voltage component on the axis and .
[0126] , (27).
[0127] In formula (27), Represents the preset third coordinate transformation matrix, and specifically the preset second coordinate transformation matrix Obtained after inversion.
[0128] Based on the above Figure 1In the permanent magnet synchronous motor fault detection method shown in FIG. 1 , in an exemplary embodiment, the torque current component reference value of the permanent magnet synchronous motor is determined specifically through the following process.
[0129] Firstly, the speed difference between the speed of the permanent magnet synchronous motor and the speed threshold is determined; then, a pre-built sliding mode controller is used to perform sliding mode control on the speed difference, and a torque current component reference value is determined based on the sliding mode control result.
[0130] The sliding mode controller is pre-constructed based on the preset rotor electrical angular velocity, the actual rotor electrical angular velocity, the load torque, the flux linkage of the permanent magnet, the moment of inertia and the damping coefficient.
[0131] Specifically, first set the dynamic approach rate, and based on the preset dynamic approach rate Determine the new approach rate ; The new approach rate It satisfies the relationship shown in equations (28) to (31).
[0132] (28).
[0133] (29).
[0134] (30).
[0135] (31).
[0136] In formulas (28) to (31), , and are natural numbers greater than 0, ; , , , Represents a positive even number.
[0137] Thus, the sliding mode controller with sliding mode control rate shown in formula (32) can be obtained.
[0138] (32).
[0139] In formula (32), represents the state variables of the PMSM system, ; Indicates the electrical angular velocity of a given rotor, that is, the preset rotor electrical angular velocity; represents the actual rotor electrical angular velocity, represents the moment of inertia, represents the damping coefficient, represents the flux linkage of the permanent magnet, represents the number of pole pairs of the permanent magnet synchronous motor, represents the load torque, Represents a natural number.
[0140] For example, refer to Figure 3 The second flow chart of the permanent magnet synchronous motor fault detection method shown in FIG. Figure 3 As shown, the speed difference Nref between the speed of the permanent magnet synchronous motor and the speed threshold is input into the sliding mode controller for sliding mode control, and then the torque current component reference value is output, and then the excitation current component reference value and the pre-built sliding mode observer are combined for processing; the specific processing process involved can refer to the above embodiment. It will not be repeated here.
[0141] The permanent magnet synchronous motor fault detection device provided by the present invention is described below. The permanent magnet synchronous motor fault detection device described below and the permanent magnet synchronous motor fault detection method described above can be referred to each other.
[0142] Reference Figure 4 , is a permanent magnet synchronous motor fault detection device provided by the present invention, the permanent magnet synchronous motor fault detection device 400 may include: a construction unit 410, a processing unit 420 and a detection unit 430.
[0143] The construction unit 410 is used to construct a sliding mode observer based on the stator voltage equation of the permanent magnet synchronous motor in a synchronous rotating coordinate system.
[0144] The processing unit 420 is used to determine the estimated value of the stator electromotive force based on the stator current observation value observed by the sliding mode observer and the stator current value collected by the system; use the sliding mode observer to process the voltage components of different coordinate axes of the reference voltage vector in the two-phase stationary coordinate system, and determine the stator electromotive force reference value based on the processing result.
[0145] The detection unit 430 is used to determine whether there is an inter-turn short-circuit fault in the permanent magnet synchronous motor based on the matching relationship between the stator electromotive force estimation value and the stator electromotive force reference value and the preset inter-turn short-circuit fault condition.
[0146] Optionally, construction unit 410 is specifically used to determine the dynamic change equation of the stator current observation value and the stator electromotive force control equation based on the stator voltage equation and preset stator parameters; and to construct a sliding mode observer based on the dynamic change equation of the stator current observation value and the stator electromotive force control equation.
[0147] Optionally, the processing unit 420 is specifically used to determine the voltage observation values of the reference voltage vector in different sectors based on the stator current observation values observed by the sliding mode observer and the stator current values collected by the system; and use the sliding mode observer to perform electromotive force control processing on each voltage observation value to obtain the stator electromotive force estimation value corresponding to each sector.
[0148] Optionally, the processing unit 420 is specifically used to determine the reference voltage values of the reference voltage vector in different sectors based on the different coordinate axis voltage components of the reference voltage vector in the two-phase stationary coordinate system; and use a sliding mode observer to perform electromotive force control processing on each reference voltage value to obtain a stator electromotive force reference value corresponding to each sector.
[0149] Optionally, the detection unit 430 is specifically used to calculate the difference between the stator electromotive force estimation value and the stator electromotive force reference value corresponding to each sector of the reference voltage vector, so as to obtain the electromotive force difference value corresponding to the sector; compare each electromotive force difference value with the preset threshold value of the corresponding sector; when it is determined that there is at least one electromotive force difference value greater than the preset threshold value, it is determined that there is an inter-turn short-circuit fault in the permanent magnet synchronous motor; when it is determined that each electromotive force difference value is less than the corresponding preset threshold value, it is determined that there is no inter-turn short-circuit fault in the permanent magnet synchronous motor.
[0150] Optionally, the processing unit 420 is specifically used to determine the reference value of the torque current component and the reference value of the excitation current component of the permanent magnet synchronous motor; perform Clark transformation and Park transformation on the three-phase stator current of the permanent magnet synchronous motor to obtain the actual value of the torque current component and the actual value of the excitation current component of the permanent magnet synchronous motor; perform PI adjustment and Park inverse transformation on the difference between the actual value of the torque current component and the reference value of the torque current component, and the difference between the actual value of the excitation current component and the reference value of the excitation current component, respectively, to obtain different coordinate axis voltage components in the two-phase stationary coordinate system.
[0151] Optionally, the processing unit 420 is specifically used to determine the speed difference between the speed of the permanent magnet synchronous motor and the speed threshold; use a pre-built sliding mode controller to perform sliding mode control on the speed difference, and determine the torque current component reference value based on the sliding mode control result; wherein the sliding mode controller is pre-built based on a preset rotor electrical angular velocity, actual rotor electrical angular velocity, load torque, permanent magnet magnetic flux, moment of inertia and damping coefficient.
[0152] The present invention further provides an engineering machine, comprising: a main body and a fault detection device connected to the main body, wherein the fault detection device is used to execute the permanent magnet synchronous motor fault detection method as described above.
[0153] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the permanent magnet synchronous motor fault detection method, which includes: constructing a sliding mode observer based on the stator voltage equation of the permanent magnet synchronous motor in a synchronous rotating coordinate system; determining the stator electromotive force estimation value based on the stator current observation value observed by the sliding mode observer and the stator current value collected by the system; using the sliding mode observer to process the voltage components of different coordinate axes of the reference voltage vector in the two-phase stationary coordinate system, and determining the stator electromotive force reference value based on the processing result; judging whether the permanent magnet synchronous motor has a turn-to-turn short circuit fault based on the matching relationship between the stator electromotive force estimation value and the stator electromotive force reference value and the preset turn-to-turn short circuit fault condition.
[0154] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0155] On the other hand, the present invention also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the permanent magnet synchronous motor fault detection method provided by the above methods, and the method includes: constructing a sliding mode observer based on the stator voltage equation of the permanent magnet synchronous motor in a synchronous rotating coordinate system; determining a stator electromotive force estimate based on the stator current observation value observed by the sliding mode observer and the stator current value collected by the system; using the sliding mode observer to process different coordinate axis voltage components of the reference voltage vector in the two-phase stationary coordinate system, and determining the stator electromotive force reference value based on the processing result; based on the matching relationship between the stator electromotive force estimate value and the stator electromotive force reference value and the preset turn-to-turn short-circuit fault condition, judging whether the permanent magnet synchronous motor has a turn-to-turn short-circuit fault.
[0156] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the permanent magnet synchronous motor fault detection method provided by the above-mentioned methods, the method comprising: constructing a sliding mode observer based on the stator voltage equation of the permanent magnet synchronous motor in a synchronous rotating coordinate system; determining a stator electromotive force estimate based on the stator current observation value observed by the sliding mode observer and the stator current value collected by the system; using the sliding mode observer to process different coordinate axis voltage components of the reference voltage vector in a two-phase stationary coordinate system, and determining a stator electromotive force reference value based on the processing result; judging whether the permanent magnet synchronous motor has a turn-to-turn short circuit fault based on the matching relationship between the stator electromotive force estimate value and the stator electromotive force reference value and the preset turn-to-turn short circuit fault condition.
[0157] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0158] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0159] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A permanent magnet synchronous motor fault detection method, characterized in that: include: Based on the stator voltage equation of the permanent magnet synchronous motor in the synchronous rotating coordinate system, a sliding mode observer is constructed; Determining a stator electromotive force estimation value based on the stator current observation value observed by the sliding mode observer and the stator current value collected by the system; Using the sliding mode observer to process different coordinate axis voltage components of the reference voltage vector in the two-phase stationary coordinate system, and determining the stator electromotive force reference value based on the processing result; Based on the matching relationship between the stator electromotive force estimation value and the stator electromotive force reference value and the preset turn-to-turn short-circuit fault conditions, it is determined whether the permanent magnet synchronous motor has a turn-to-turn short-circuit fault.
2. The permanent magnet synchronous motor fault detection method according to claim 1, characterized in that: The stator voltage equation of the permanent magnet synchronous motor in the synchronous rotating coordinate system is used to construct a sliding mode observer, including: Based on the stator voltage equation and the preset stator parameters, a stator current observation value dynamic change equation and a stator electromotive force control equation are determined; The sliding mode observer is constructed based on the stator current observation value dynamic change equation and the stator electromotive force control equation.
3. The permanent magnet synchronous motor fault detection method according to claim 1, characterized in that: The step of determining the stator electromotive force estimation value based on the stator current observation value observed by the sliding mode observer and the stator current value collected by the system includes: Determining respective voltage observation values of the reference voltage vector in different sectors based on the stator current observation value observed by the sliding mode observer and the stator current value collected by the system; The sliding mode observer is used to perform electromotive force control processing on each of the voltage observation values to obtain the stator electromotive force estimation value corresponding to each of the sectors.
4. The permanent magnet synchronous motor fault detection method according to claim 1, characterized in that: The method of using the sliding mode observer to process different coordinate axis voltage components of the reference voltage vector in the two-phase stationary coordinate system and determining the stator electromotive force reference value based on the processing result includes: Determining respective reference voltage values of the reference voltage vector in different sectors based on the different coordinate axis voltage components of the reference voltage vector in the two-phase stationary coordinate system; The sliding mode observer is used to perform electromotive force control processing on each of the reference voltage values to obtain the stator electromotive force reference value corresponding to each of the sectors.
5. The permanent magnet synchronous motor fault detection method according to claim 3 or 4, characterized in that: The determining whether the permanent magnet synchronous motor has a turn-to-turn short circuit fault based on the matching relationship between the stator electromotive force estimation value and the stator electromotive force reference value and the preset turn-to-turn short circuit fault condition respectively includes: For each sector of the reference voltage vector, performing a difference calculation between the stator electromotive force estimation value corresponding to the sector and the stator electromotive force reference value to obtain an electromotive force difference value corresponding to the sector; Comparing each of the electromotive force difference values with a preset threshold value corresponding to the sector; When it is determined that there is at least one electromotive force difference value greater than the preset threshold, it is determined that there is an inter-turn short circuit fault in the permanent magnet synchronous motor; When it is determined that each of the electromotive force difference values is smaller than the corresponding preset threshold value, it is determined that there is no turn-to-turn short circuit fault in the permanent magnet synchronous motor.
6. The permanent magnet synchronous motor fault detection method according to any one of claims 1 to 4, characterized in that: The process of determining the voltage components of different coordinate axes in the two-phase stationary coordinate system includes: Determining a torque current component reference value and an excitation current component reference value of the permanent magnet synchronous motor; Performing Clark transformation and Park transformation on the three-phase stator current of the permanent magnet synchronous motor to obtain an actual value of a torque current component and an actual value of an excitation current component of the permanent magnet synchronous motor; The difference between the actual value of the torque current component and the reference value of the torque current component, and the difference between the actual value of the excitation current component and the reference value of the excitation current component are respectively subjected to PI regulation and Park inverse transformation to obtain the voltage components of different coordinate axes in the two-phase stationary coordinate system.
7. The permanent magnet synchronous motor fault detection method according to claim 6, characterized in that: The step of determining a reference value of a torque current component of the permanent magnet synchronous motor comprises: Determining a speed difference between a speed of the permanent magnet synchronous motor and a speed threshold; Using a pre-built sliding mode controller to perform sliding mode control on the speed difference, and determining the torque current component reference value based on the sliding mode control result; The sliding mode controller is pre-constructed based on a preset rotor electrical angular velocity, an actual rotor electrical angular velocity, a load torque, a flux linkage of a permanent magnet, a moment of inertia and a damping coefficient.
8. An engineering machine, characterized in that: include: A main body and a fault detection device connected to the main body, wherein the fault detection device is used to execute the permanent magnet synchronous motor fault detection method as described in any one of claims 1 to 7 above.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the permanent magnet synchronous motor fault detection method as described in any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the permanent magnet synchronous motor fault detection method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
PMSM stator turn-to-turn short circuit fault severity parameter decoupling identification method
CN120028691A
