Motor parameter estimation and control method and system based on complex vector discrete filter

By using complex vector discrete filters in position sensorless control technology, the problems of chattering and back electromotive force harmonics are solved, and high-precision rotor position estimation and system performance improvement are achieved, which is suitable for occasions with high dynamic performance requirements.

CN116232154BActive Publication Date: 2024-09-27HUNAN UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310410946.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-18
Publication Date
2024-09-27
Estimated Expiration
2043-04-18

AI Technical Summary

Technical Problem

Existing position sensorless control technology has chattering phenomena and back electromotive force harmonic problems in the medium and high speed operating range, resulting in reduced rotor position estimation accuracy, and commonly used suppression methods such as low-pass filters and band-pass filters have phase delays and The structural complexity makes it difficult to effectively eliminate back electromotive force harmonics at low switching frequencies.

Method used

The motor parameter estimation and control method based on complex vector discrete filters is adopted. By constructing a complex vector discrete filter with two inputs and two outputs, it is designed directly in the discrete domain to avoid phase delay and discrete errors and achieve accurate detection of back electromotive force harmonics. Eliminate and reduce system complexity.

Benefits of technology

It effectively suppresses the chattering phenomenon and back electromotive force harmonics, improves the accuracy of rotor position estimation, reduces system complexity, and is robust to sampling frequency, enabling the elimination of back electromotive force harmonics at low switching frequencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116232154B
    Figure CN116232154B
Patent Text Reader

Abstract

The present invention discloses a motor parameter estimation and control method and system based on a complex vector discrete filter, the method comprising: obtaining the stator current and stator voltage of a permanent magnet synchronous motor in the α and β directions; then inputting the stator current and stator voltage in the α and β directions, and the speed observation value estimated by an orthogonal phase-locked loop into a sliding mode observer to obtain back electromotive force; then inputting the back electromotive force into a constructed complex vector discrete filter to obtain a filtered fundamental back electromotive force; finally, inputting the fundamental back electromotive force or the data after normalization of the fundamental back electromotive force into the orthogonal phase-locked loop to estimate the rotor position observation value and the speed observation value. The rotor position observation value and the speed observation value obtained are applied to IPMSM vector control, thereby realizing the control of the permanent magnet synchronous motor. In summary, the present invention uses a new technical means to realize position sensorless control, realize back electromotive force harmonic elimination at low switching frequency, and improve estimation accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of permanent magnet synchronous motor control, and in particular relates to a motor parameter estimation and control method and system based on a complex vector discrete filter. Background Art

[0002] Permanent magnet synchronous motors have become the core power source components of advanced rail transit equipment, aerospace equipment and other high-end equipment due to their advantages such as high efficiency, high power density and low operating noise. The high-performance control of the IPMSM system requires real-time acquisition of the rotor position information of the motor. Mechanical position sensors are often used to obtain the real-time position, but the use of such sensors will lead to disadvantages such as increased motor system volume, reduced reliability and increased costs. Position sensorless control technology abandons mechanical position sensors and only uses voltage and current signals to extract position and speed information. It is suitable for compact structures such as electric vehicles or occasions where position sensors cannot be used. Therefore, conducting research on IPMSM system control technology based on position sensorless is of great significance to improving the level of electrical automation of my country's high-end equipment.

[0003] At present, the field of position sensorless control in the medium and high speed operation range mostly adopts model-based methods to estimate the rotor position and speed, mainly including sliding mode observer method, full-order Romberg observer method, disturbance observer method, etc. The sliding mode observer method realizes the convergence of the observation error signal through variable structure control. The algorithm is simple, easy to implement, and has good performance on R s , L d , L q The sliding mode observer method is a mainstream method for position sensorless control in the medium and high speed operation range. However, the sliding mode observer method will have obvious jitter phenomenon due to the influence of variable structure control. Secondly, due to the nonlinearity of the inverter and the spatial harmonics of the magnetic field, 6k error pulsations will appear in the rotor position detection based on the sliding mode observer method, which will affect the accuracy of the rotor position estimation and reduce the performance of the IPMSM position sensorless control system. Therefore, it is necessary to suppress the jitter phenomenon and the harmonics of the back electromotive force.

[0004] Commonly used suppression methods are mostly implemented based on additional filters, such as low-pass filters, band-pass filters, etc. However, the use of low-pass filters will cause phase lag in the observed back-EMF, requiring additional compensation measures, reducing the accuracy of rotor position estimation and worsening the dynamic performance of the system; while band-pass filters are usually designed in the continuous time domain and have a relatively complex structure. When implementing the algorithm, discretization processing is required, which will introduce discrete errors and truncation errors, reducing the accuracy of eliminating back-EMF harmonics of specific frequencies. In addition, these methods are very sensitive to sampling frequency and cannot eliminate back-EMF harmonics under low switching frequency and high speed operation, reducing the control performance of IPMSM without position sensor. Summary of the invention

[0005] In view of the technical problem that the above-mentioned suppression method has poor effect, the present invention provides another new suppression method to suppress the jitter phenomenon and back electromotive force harmonics. Specifically, a motor parameter estimation and control method and system based on a complex vector discrete filter are provided. The motor parameter estimation method / control method belongs to a position sensorless control method, which can avoid the installation of a mechanical position sensor, improve the reliability of the motor system, and is suitable for occasions with high dynamic performance requirements such as rail transportation, aerospace, and electric vehicles. More importantly, in order to suppress the jitter phenomenon and back electromotive force harmonics, the present invention constructs a complex vector discrete filter (two-input and two-output system), which avoids the introduction of phase delay while ensuring the accurate elimination of the harmonic components in the back electromotive force, does not require additional compensation measures, and reduces the complexity of the IPMSM position sensorless control system. In addition, the discrete filter has strong robustness to the sampling frequency, can achieve the elimination of back electromotive force harmonics at low switching frequencies, and improves the accuracy of rotor position estimation.

[0006] On the one hand, the present invention provides a motor parameter estimation method based on a complex vector discrete filter, comprising the following steps:

[0007] Step 1: sampling the permanent magnet synchronous motor to obtain at least a real-time stator current, and performing coordinate transformation on the real-time stator current to obtain a stator current in a two-phase stationary coordinate system;

[0008] Step 2: inputting the stator current and stator voltage in the two-phase stationary coordinate system and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer to obtain the back electromotive force observation value;

[0009] Wherein, the stator voltage is a stator voltage sampling value or a stator voltage reference value;

[0010] Step 3: Input the back electromotive force observation value into the constructed complex vector discrete filter to obtain the filtered fundamental back electromotive force;

[0011] Step 4: Input the fundamental back electromotive force or the normalized data of the fundamental back electromotive force into the orthogonal phase-locked loop to estimate the rotor position observation value and the speed observation value.

[0012] Further optionally, the formula of the fundamental back electromotive force corresponding to the complex vector discrete filter in step 3 is as follows:

[0013]

[0014] in, is the fundamental back electromotive force after the back electromotive force observation value at time k in the two-phase stationary coordinate system is filtered by the complex vector discrete filter; μ n Represents the corresponding gain coefficient, n is the harmonic order, for example, n is 1, 5, 7, 11 and other odd harmonics, representing the nth component contained in the back electromotive force, among which the 5th and 7th harmonics are dominant, so it is usually preferred to filter out the 5th and 7th harmonics; the back electromotive force e at time k in the two-phase stationary coordinate system αβ (k) = e α (k)+je β (k), e α (k) and e β (k) is the back electromotive force in the α and β directions at time k in the two-phase stationary coordinate system. When participating in the above calculation, this value is the back electromotive force observation value in the α and β directions at time k obtained by the sliding mode observer; The nth component contained in the back electromotive force observation value in the α and β directions at time k observed by the sliding mode observer, G n is the state transfer matrix corresponding to the harmonic order n.

[0015] Optionally, the state transfer matrix G n The formula is:

[0016]

[0017] in, is the speed observation value corresponding to time k estimated by the orthogonal phase-locked loop, T s is the sampling period.

[0018] Further optionally, the sliding mode observer is a discrete sliding mode observer based on a sigmoid function, and the observation formula of the discrete sliding mode observer is as follows:

[0019]

[0020] in, They represent the observed stator current values ​​at time k+1 in the α and β directions in the two-phase stationary coordinate system, respectively. is the speed observation value at time k estimated by the orthogonal phase-locked loop, They represent the observed stator current values ​​at time k in the α and β directions in the two-phase stationary coordinate system, respectively, and u α (k) and u β (k) represents the stator voltage at time k in the α and β directions in the two-phase stationary coordinate system, They represent the observed back electromotive force values ​​at time k in the α and β directions in the two-phase stationary coordinate system, respectively. s is the stator resistance, T s is the sampling period, is the sliding mode gain, set to a constant; a is a constant greater than 0, L d , L q They are the orthogonal d-axis and q-axis inductances respectively, and e is the natural base.

[0021] Further optionally, the process of normalizing the fundamental back electromotive force is:

[0022] The fundamental back electromotive force corresponding to the two-phase stationary coordinate system α and β axes in the fundamental back electromotive force Multiply by

[0023] In a second aspect, the present invention provides a motor control method based on a complex vector discrete filter, comprising the following steps:

[0024] S1: sampling the permanent magnet synchronous motor to obtain at least a real-time stator current, and performing coordinate transformation on the real-time stator current to obtain a stator current in a two-phase stationary coordinate system;

[0025] S2: inputting the stator current and stator voltage in the two-phase stationary coordinate system and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer to obtain the back electromotive force observation value;

[0026] Wherein, the stator voltage is a stator voltage sampling value or a stator voltage reference value;

[0027] S3: inputting the back electromotive force observation value into the constructed complex vector discrete filter to obtain the filtered fundamental back electromotive force;

[0028] S4: using the fundamental back electromotive force or normalizing the fundamental back electromotive force as the orthogonal phase-locked loop to estimate the rotor position observation value and the speed observation value;

[0029] S5: using the estimated rotor position observation value and speed observation value for IPMSM vector control, and finally obtaining a PWM drive signal, wherein the PWM drive signal controls the on and off of the inverter switch tube to obtain an inverter voltage to drive the IPMSM, thereby realizing IPMSM position sensorless control;

[0030] The rotor position observation value is used for rotating coordinate transformation, and the speed observation value is used as a feedback value for the speed outer loop.

[0031] In a third aspect, the present invention provides a system based on the motor parameter estimation method, comprising:

[0032] A sampling and processing module, used for sampling the permanent magnet synchronous motor to obtain at least a real-time stator current, and performing coordinate transformation on the real-time stator current to obtain a stator current in a two-phase stationary coordinate system;

[0033] A back electromotive force calculation module is used to input the stator current and stator voltage in the two-phase stationary coordinate system, and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer to obtain the back electromotive force observation value;

[0034] Wherein, the stator voltage is a stator voltage sampling value or a stator voltage reference value;

[0035] A filtering module, used for inputting the back electromotive force observation value into a constructed complex vector discrete filter to obtain a filtered fundamental back electromotive force;

[0036] The estimation module is used to use the fundamental back electromotive force or the fundamental back electromotive force after normalization as the orthogonal phase-locked loop to estimate the rotor position observation value and the speed observation value.

[0037] Further optionally, the system also includes a control module, which is used to use the estimated rotor position observation value and speed observation value for IPMSM vector control, and finally obtain a PWM drive signal. The PWM drive signal controls the on and off of the inverter switch tube to obtain an inverter voltage to drive the IPMSM, thereby realizing IPMSM position sensorless control.

[0038] In a fourth aspect, the present invention provides a system based on the motor control method, comprising at least:

[0039] Sampling module, sliding mode observer, complex vector discrete filter, orthogonal phase-locked loop, current inner loop, speed outer loop, PI regulator, SVPWM modulation module, inverter, permanent magnet synchronous motor;

[0040] The sampling module is connected to the permanent magnet synchronous motor, and is used to sample the permanent magnet synchronous motor to obtain at least a real-time stator current, and to perform coordinate transformation on the real-time stator current to obtain a stator current in a two-phase stationary coordinate system; and is also used to obtain a stator voltage;

[0041] The sampling module and the orthogonal phase-locked loop are both connected to the sliding mode observer, wherein the sampling module inputs the stator current and stator voltage in the two-phase stationary coordinate system, and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer, and the sliding mode observer observes and obtains the back electromotive force observation value;

[0042] The sliding mode observer is connected to the discrete filter, and the complex vector discrete filter filters the back electromotive force observation value to obtain the fundamental wave back electromotive force;

[0043] The complex vector discrete filter is connected to the orthogonal phase-locked loop, and the orthogonal phase-locked loop obtains the rotor position observation value and the speed observation value based on the fundamental back electromotive force estimation;

[0044] The orthogonal phase-locked loop is connected to a speed outer loop, and the speed observation value is input into the speed outer loop;

[0045] The speed outer loop, speed loop PI regulator, current inner loop, current inner loop PI regulator, SVPWM modulation module, and inverter are connected in sequence to form an IPMSM vector control module, which ultimately generates an inverter voltage to drive the IPMSM, and the inverter voltage drives the IPMSM to input the permanent magnet synchronous motor.

[0046] In a fifth aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program is called by a processor to implement:

[0047] The steps of a motor parameter estimation method based on a complex vector discrete filter; or the steps of a motor control method based on a complex vector discrete filter.

[0048] Beneficial Effects

[0049] The present invention provides a motor parameter estimation method and control method based on a complex vector discrete filter, which uses a new suppression method to realize a position sensorless control method, avoiding the installation of a mechanical position sensor. Among them, the present invention filters the back electromotive force observed by the sliding mode observer by constructing a complex vector discrete filter, that is, extracting the fundamental component and filtering out the harmonic component, thereby avoiding the phase delay caused by the traditional low-pass filter to the back electromotive force. At the same time, because the method is directly designed in the discrete domain, it does not require discretization processing and can avoid discrete errors. Therefore, while ensuring the accurate elimination of the harmonic components in the back electromotive force, the present invention avoids the introduction of phase delay, does not require additional compensation measures, and reduces the complexity of the IPMSM position sensorless control system. In addition, the complex vector discrete filter has strong robustness to the sampling frequency, which can achieve the elimination of back electromotive force harmonics at low switching frequencies and improve the accuracy of rotor position estimation. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A structural block diagram of a control system of a motor control method based on a complex vector discrete filter disclosed in the present invention;

[0051] Figure 2 This is a structural block diagram of a discrete sliding mode observer based on a sigmoid function according to an embodiment of the present invention;

[0052] Figure 3 FIG. 4 is a structural block diagram of a complex vector discrete filter according to an embodiment of the present invention. DETAILED DESCRIPTION

[0053] The present invention provides a motor parameter estimation method and control method and system based on a complex vector discrete filter. This method belongs to a position sensorless control method, and further, there is no need to install a mechanical position sensor; secondly, in view of the jitter phenomenon induced by the sliding mode observer, the complex vector discrete filter constructed by the present invention avoids the introduction of phase delay while ensuring the accurate elimination of the harmonic components in the back electromotive force, and does not require additional compensation measures, thereby reducing the complexity of the IPMSM position sensorless control system, and can achieve the elimination of back electromotive force harmonics at low switching frequencies, thereby improving the accuracy of rotor position estimation. Please see below for details.

[0054] The estimation method and control method provided by the technical solution of the present invention both require the use of a sliding mode observer and a complex vector discrete filter. Therefore, the principles thereof are briefly described as follows:

[0055] Sliding mode observer:

[0056] like Figure 2 As shown, the present invention example constructs a discrete sliding mode observer based on a sigmoid function, and specifically constructs a sliding mode observer using an IPMSM extended back electromotive force model.

[0057] (1) First, the IPMSM extended back-EMF mathematical model is established, and the current is expressed as a state variable in the state space form:

[0058]

[0059] Where: R s is the stator resistance; L d , L q are the orthogonal (dq) axis inductance respectively; ω e is the actual electrical angular velocity of the motor; is the state variable of the stator current in the two-phase stationary coordinate system; u α 、u β They represent the stator voltages in the α and β directions in the two-phase stationary coordinate system respectively; is the back electromotive force in the α and β directions in the two-phase stationary coordinate system, where θe is the actual rotor position, ψ f is the permanent magnet flux.

[0060] (2) According to the above extended back-EMF model, the discrete sliding mode observer is constructed as follows:

[0061]

[0062] Where: T s is the sampling period; k is the sampling time; is the sliding mode gain, is the modulus of the back-EMF observation value in the α and β directions in the two-phase stationary coordinate system. When selecting the sliding mode gain, the absolute value of the historical back-EMF observation value can be used to determine the value range of the sliding mode gain, and then set an empirical value; other methods can also be used to determine the value of the sliding mode gain based on this principle. a is a constant greater than 0, which can be used to adjust the slope of the sigmoid function. They represent the observed values ​​of the stator current at time k+1 in the α and β directions in the two-phase stationary coordinate system respectively; They represent the observed values ​​of the stator current at time k in the α and β directions in the two-phase stationary coordinate system respectively; i α (k), i β (k) represents the actual value (sampling value) of the stator current at time k in the α and β directions in the two-phase stationary coordinate system, u α (k) and u β (k) represents the stator voltage at time k in the α and β directions in the two-phase stationary coordinate system (sampling value or reference value, Figure 1 In After coordinate transformation), They represent the observed back electromotive force values ​​at time k in the α and β directions in the two-phase stationary coordinate system, The speed observation value estimated by the orthogonal phase-locked loop.

[0063] It should be understood that after setting the initial value of the stator current observation value, and then using the calculation of the above formula, the subsequent stator current observation value is getting closer and closer to the actual value of the stator current. When the stator current observation value converges to the actual value of the stator current (the current observation value approaches the sliding mode surface), the back electromotive force obtained at this time is regarded as the final back electromotive force observation value and participates in the subsequent position estimation. It should be understood that data that has not tended to converge can also be passed into the complex vector discrete filter. The difference is that the position corresponding to the current moment is not estimated.

[0064] Complex vector discrete filter:

[0065] like Figure 3 The figure shows a block diagram of the complex vector discrete filter structure of an embodiment of the invention. Specifically:

[0066] Because the back electromotive force e in the α and β directions in the two-phase stationary coordinate system α With e β Satisfies the following relationship:

[0067]

[0068] Where: Back electromotive force e in two-phase stationary coordinate system αβ =e α +je β , where j is the imaginary unit.

[0069] Based on the state space transformation method of the exponential matrix, the discrete model of equation (4) is obtained as follows:

[0070] e αβ (k+1)=Ge αβ (k) (5)

[0071] Where: state transfer matrix

[0072] In order to extract the desired back EMF component, the following formula is obtained based on modern control theory:

[0073]

[0074] Where: M = μI2 is the gain matrix, where μ>0 is a constant, is the identity matrix. is the observed value of the back electromotive force at time k+1 in the two-phase stationary coordinate system.

[0075] Its open-loop transfer function T can be obtained op :

[0076]

[0077] Where: z represents the variable in the Z transform.

[0078] Expressing the transfer function in terms of complex variables yields:

[0079]

[0080] Based on this, a multi-layer structure is designed to extract the fundamental component of the back EMF and eliminate the specified harmonic components. First, an internal dynamic model IDM[G n ]:

[0081]

[0082] In the formula, in this embodiment, preferably n=1, 5, 7 represents the nth component contained in the back electromotive force;

[0083]

[0084] Therefore, the fundamental back EMF component of the desired output can be obtained:

[0085]

[0086] Where: μ n >0 represents the corresponding gain coefficient, and its specific value is a set fixed value, which is determined by adjusting the parameters according to the specific filtering performance requirements. The nth component contained in the back electromotive force observation value in the α and β directions at time k observed by the sliding mode observer, where n corresponding to the nth component is the harmonic order.

[0087] In this embodiment, the preferred harmonic order n = 1, 5, 7 is because the 5th and 7th harmonics are dominant and need to be filtered out. Figure 3 Those skilled in the art will understand that the above-mentioned complex vector discrete filter can filter out the specified harmonic components and obtain the fundamental back electromotive force component.

[0088] Based on the above theoretical statements, the following will be explained with specific examples:

[0089] Embodiment 1:

[0090] This embodiment provides a motor parameter estimation method based on a complex vector discrete filter, which includes the following steps:

[0091] Step 1: sampling the permanent magnet synchronous motor to obtain at least a real-time stator current, and performing coordinate transformation on the real-time stator current to obtain a stator current in a two-phase stationary coordinate system;

[0092] Among them, the three-phase stator current of the permanent magnet synchronous motor is sampled to obtain the stator current i a 、i b 、i c , after the stationary coordinate transformation (3s / 2s transformation) we get i α 、i β .

[0093] Step 2: Input the stator current and stator voltage in the two-phase stationary coordinate system and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer to obtain the back electromotive force observation value. Among them, the stator voltage is the stator voltage sampling value or the stator voltage reference value.

[0094] Among them, the back electromotive force observation value can be calculated according to formula (2) and formula (3).

[0095] Step 3: Input the back electromotive force observation value into the constructed complex vector discrete filter to obtain the filtered fundamental back electromotive force.

[0096] Among them, the fundamental back electromotive force is calculated according to formula 10

[0097] Step 4: Input the fundamental back electromotive force or the normalized data of the fundamental back electromotive force into the orthogonal phase-locked loop to estimate the rotor position observation value and the speed observation value.

[0098] In this embodiment, it is preferred to Normalize it, Multiply by In other feasible embodiments, it is possible to choose not to perform normalization processing, and the present invention has no absolute specific requirements for this. After normalization processing in this embodiment, the PLL bandwidth can be prevented from being affected by the motor speed, ensuring that the PLL can accurately estimate the rotor position within a wide speed regulation range. It should be noted that the orthogonal phase-locked loop PLL is a prior art content, and the estimation of the rotor position observation value and the speed observation value by inputting the fundamental wave back electromotive force is also achievable in the prior art, so the present invention does not elaborate on this in detail.

[0099] Embodiment 2:

[0100] This embodiment provides a motor control method based on a complex vector discrete filter, which includes the following steps:

[0101] S1: sampling the permanent magnet synchronous motor to obtain at least a real-time stator current, and performing coordinate transformation on the real-time stator current to obtain a stator current in a two-phase stationary coordinate system.

[0102] If the stator voltage needs to be sampled, this step samples the permanent magnet synchronous motor to obtain the real-time stator current and the real-time stator voltage, and performs coordinate transformation on the real-time stator current and the real-time stator voltage to obtain the stator current and the stator voltage in a two-phase stationary coordinate system;

[0103] S2: inputting the stator current and stator voltage in the two-phase stationary coordinate system and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer to obtain the back electromotive force observation value;

[0104] S3: inputting the back electromotive force observation value into the constructed complex vector discrete filter to obtain the filtered fundamental back electromotive force;

[0105] S4: using the fundamental back electromotive force or normalizing the fundamental back electromotive force as the orthogonal phase-locked loop to estimate the rotor position observation value and the speed observation value;

[0106] S5: using the estimated rotor position observation value and speed observation value for IPMSM vector control, and finally obtaining a PWM drive signal, wherein the PWM drive signal controls the on and off of the inverter switch tube to obtain an inverter voltage to drive the IPMSM, thereby realizing IPMSM position sensorless control;

[0107] Wherein, steps S1-S4 may refer to the relevant descriptions of the above-mentioned embodiment. Regarding step S5: wherein the rotor position observation value Used for rotating coordinate transformation (2s / 2r transformation, 2r / 2s transformation), speed observation value Feedback to the speed outer loop input and reference speed The speed error is obtained by subtracting Then the q-axis reference current is obtained through the speed loop PI regulator The q-axis reference current obtained With the given reference current of d axis The actual current i of the dq axis obtained by transforming with 2s / 2r d 、i q The current error is passed through the current loop PI regulator, and the output is added with the dq axis feedforward decoupling component to obtain the dq axis reference voltage. Then use 2r / 2s transformation to get Transformed into voltage u under αβ axis α 、u β Input to the SVPWM modulation module, and output PWM drive signal S after modulation abc The inverter switch tube is controlled to be on and off, and the inverter voltage is obtained to drive the IPMSM, thereby realizing the position sensorless control of the IPMSM.

[0108] It should be noted that the implementation process of step S5 is prior art, so it will not be elaborated in more detail.

[0109] Embodiment 3:

[0110] This embodiment provides a system based on the motor parameter estimation method / control method, which at least includes: a sampling and processing module, a back electromotive force calculation module, a filtering module and an estimation module.

[0111] The sampling and processing module is used to sample the permanent magnet synchronous motor to obtain at least the real-time stator current, and to perform coordinate transformation on the real-time stator current to obtain the stator current in a two-phase stationary coordinate system, and is also used to obtain the stator current; the back electromotive force calculation module is used to input the stator current and stator voltage in the two-phase stationary coordinate system, and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer to obtain the back electromotive force observation value; the filtering module is used to input the back electromotive force observation value into the constructed complex vector discrete filter to obtain the filtered fundamental back electromotive force; the estimation module is used to use the fundamental back electromotive force or the normalized fundamental back electromotive force as the orthogonal phase-locked loop to estimate the rotor position observation value and the speed observation value.

[0112] In other implementations, the system also includes a control module for using the estimated rotor position observation value and speed observation value for IPMSM vector control, and ultimately obtaining a PWM drive signal. The PWM drive signal controls the on and off of the inverter switch tube to obtain an inverter voltage to drive the IPMSM, thereby realizing IPMSM position sensorless control.

[0113] Please refer to the above method for the specific implementation process of each module, which will not be repeated here. It should be understood that the division of the above functional modules is only a division of logical functions, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. At the same time, the above integrated units can be implemented in the form of hardware or software functional units.

[0114] Embodiment 4:

[0115] This embodiment provides a system based on the motor control method, which at least includes:

[0116] Sampling module, sliding mode observer, complex vector discrete filter, orthogonal phase-locked loop, current inner loop, speed outer loop, PI regulator, SVPWM modulation module, inverter, permanent magnet synchronous motor;

[0117] Wherein, the sampling module is connected to the permanent magnet synchronous motor, and is used to sample the permanent magnet synchronous motor to obtain at least the real-time stator current, and to perform coordinate transformation on the real-time stator current to obtain the stator current in a two-phase stationary coordinate system, and is also used to obtain the stator current; the sampling module and the orthogonal phase-locked loop are both connected to the sliding mode observer. If the stator voltage is a stator voltage sampling value, it is also collected by the sampling module, and then the sampling module inputs the stator current and stator voltage in the two-phase stationary coordinate system, and the orthogonal phase-locked loop estimates the speed observation value into the sliding mode observer, and the sliding mode observer observes and obtains the back electromotive force observation value;

[0118] The sliding mode observer is connected to the complex vector discrete filter, and the complex vector discrete filter filters the back electromotive force observation value to obtain the fundamental wave back electromotive force;

[0119] The complex vector discrete filter is connected to the orthogonal phase-locked loop, and the orthogonal phase-locked loop obtains the rotor position observation value and the speed observation value based on the fundamental back electromotive force estimation;

[0120] The orthogonal phase-locked loop is connected to a speed outer loop, and the speed observation value is input into the speed outer loop;

[0121] The speed outer loop, speed loop PI regulator, current inner loop, current inner loop PI regulator, SVPWM modulation module, and inverter are connected in sequence to form an IPMSM vector control module, which ultimately generates an inverter voltage to drive the IPMSM, and the inverter voltage drives the IPMSM to input the permanent magnet synchronous motor.

[0122] It should be understood that the connection relationship and signal transmission relationship between the above elements in this embodiment can be specifically referred to Figure 1 .

[0123] Embodiment 5:

[0124] This embodiment provides a computer-readable storage medium storing a computer program, wherein the computer program is called by a processor to implement: steps of a motor parameter estimation method based on a complex vector discrete filter; or steps of a motor control method based on a complex vector discrete filter.

[0125] Wherein, when implementing a motor parameter estimation method based on a complex vector discrete filter, the computer program is called by the processor to implement:

[0126] Step 1: sampling the permanent magnet synchronous motor to obtain at least a real-time stator current, and performing coordinate transformation on the real-time stator current to obtain a stator current in a two-phase stationary coordinate system;

[0127] Step 2: inputting the stator current and stator voltage in the two-phase stationary coordinate system and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer to obtain the back electromotive force observation value;

[0128] Step 3: Input the back electromotive force observation value into the constructed complex vector discrete filter to obtain the filtered fundamental back electromotive force;

[0129] Step 4: Input the fundamental back electromotive force or the normalized data of the fundamental back electromotive force into the orthogonal phase-locked loop to estimate the rotor position observation value and the speed observation value.

[0130] Wherein, when implementing a motor control method based on a complex vector discrete filter, the computer program is called by the processor to implement:

[0131] S1: sampling the permanent magnet synchronous motor to obtain at least a real-time stator current, and performing coordinate transformation on the real-time stator current to obtain a stator current in a two-phase stationary coordinate system;

[0132] S2: inputting the stator current and stator voltage in the two-phase stationary coordinate system and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer to obtain the back electromotive force observation value;

[0133] S3: inputting the back electromotive force observation value into the constructed complex vector discrete filter to obtain the filtered fundamental back electromotive force;

[0134] S4: using the fundamental back electromotive force or normalizing the fundamental back electromotive force as the orthogonal phase-locked loop to estimate the rotor position observation value and the speed observation value;

[0135] S5: The estimated rotor position observation value and speed observation value are used for IPMSM vector control, and finally a PWM drive signal is obtained. The PWM drive signal controls the on and off of the inverter switch tube to obtain an inverter voltage to drive the IPMSM, thereby realizing IPMSM position sensorless control.

[0136] It should be understood that the implementation process of some steps and whether to execute some steps and the execution order can refer to the implementation process of the aforementioned embodiment.

[0137] The readable storage medium is a computer-readable storage medium, which may be an internal storage unit of the controller described in any of the foregoing embodiments, such as a hard disk or memory of the controller. The readable storage medium may also be an external storage device of the controller, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the controller. Further, the readable storage medium may also include both an internal storage unit of the controller and an external storage device. The readable storage medium is used to store the computer program and other programs and data required by the controller. The readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0138] Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk, etc. Various media that can store program codes.

[0139] It should be emphasized that the examples described in the present invention are illustrative rather than restrictive, and therefore the present invention is not limited to the examples described in the specific embodiments. Any other embodiments derived by those skilled in the art based on the technical solution of the present invention that do not depart from the purpose and scope of the present invention, whether modified or replaced, also fall within the scope of protection of the present invention.

Claims

1. A motor parameter estimation method based on complex vector discrete filter, characterized in that: The following steps are involved: Step 1: sampling the permanent magnet synchronous motor to obtain at least a real-time stator current, and performing coordinate transformation on the real-time stator current to obtain a stator current in a two-phase stationary coordinate system; Step 2: Input the stator current and stator voltage in the two-phase stationary coordinate system and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer to obtain the back electromotive force observation value; Wherein, the stator voltage is a stator voltage sampling value or a stator voltage reference value; Step 3: Input the back electromotive force observation value into the constructed complex vector discrete filter to obtain the filtered fundamental back electromotive force; Step 4: input the fundamental back electromotive force or the data after the fundamental back electromotive force is normalized into the orthogonal phase-locked loop to estimate the rotor position observation value and the speed observation value; The formula of the fundamental back electromotive force corresponding to the output of the complex vector discrete filter in step 3 is as follows: in, is the fundamental back electromotive force after the back electromotive force observation value at time k in the two-phase stationary coordinate system is filtered by the complex vector discrete filter; μ n represents the corresponding gain coefficient, the back electromotive force e at time k in the two-phase stationary coordinate system αβ (k) = e α (k)+je β (k), e α (k) and e β (k) is the back electromotive force in the α and β directions at time k in the two-phase stationary coordinate system, and the numerical value is the back electromotive force observation value in the α and β directions at time k obtained by the sliding mode observer; The nth component contained in the back electromotive force observation value in the α and β directions at time k observed by the sliding mode observer, G n is the state transfer matrix corresponding to the harmonic order n.

2. The motor parameter estimation method according to claim 1, characterized in that: State transition matrix G n The formula is: in, is the speed observation value corresponding to time k estimated by the orthogonal phase-locked loop, T s is the sampling period.

3. The motor parameter estimation method according to claim 1, characterized in that: The sliding mode observer is a discrete sliding mode observer based on the sigmoid function, and the observation formula of the discrete sliding mode observer is as follows: in, They represent the observed stator current values ​​at time k+1 in the αβ direction in the two-phase stationary coordinate system, is the speed observation value at time k estimated by the orthogonal phase-locked loop, They represent the observed stator current values ​​at time k in the α and β directions in the two-phase stationary coordinate system, respectively, and u α (k) and u β (k) represents the stator voltage at time k in the α and β directions in the two-phase stationary coordinate system, They represent the observed back electromotive force values ​​at time k in the α and β directions in the two-phase stationary coordinate system, respectively. s is the stator resistance, T s is the sampling period, k SMO is the sliding mode gain, set to a constant; a is a constant greater than 0, L d , L q They are the orthogonal d-axis and q-axis inductances respectively, and e is the natural base.

4. The motor parameter estimation method according to claim 1, characterized in that: The process of normalizing the fundamental back electromotive force is as follows: The fundamental back electromotive force corresponding to the two-phase stationary coordinate system α and β axes in the fundamental back electromotive force Multiply by 5. A motor control method based on a complex vector discrete filter, characterized in that: The following steps are involved: S1: sampling the permanent magnet synchronous motor to obtain at least a real-time stator current, and performing coordinate transformation on the real-time stator current to obtain a stator current in a two-phase stationary coordinate system; S2: Input the stator current and stator voltage in the two-phase stationary coordinate system, and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer to obtain the back electromotive force observation value; Wherein, the stator voltage is a stator voltage sampling value or a stator voltage reference value; S3: inputting the back electromotive force observation value into the constructed complex vector discrete filter to obtain the filtered fundamental back electromotive force; S4: using the fundamental back electromotive force or normalizing the fundamental back electromotive force as the orthogonal phase-locked loop to estimate the rotor position observation value and the speed observation value; S5: using the estimated rotor position observation value and speed observation value for IPMSM vector control, and finally obtaining a PWM drive signal, wherein the PWM drive signal controls the on and off of the inverter switch tube to obtain an inverter voltage to drive the IPMSM, thereby realizing IPMSM position sensorless control; The rotor position observation value is used for rotating coordinate transformation, and the speed observation value is used as a feedback value for the speed outer loop; The formula of the fundamental back electromotive force corresponding to the output of the complex vector discrete filter is as follows: in, is the fundamental back electromotive force after the back electromotive force observation value at time k in the two-phase stationary coordinate system is filtered by the complex vector discrete filter; μ n represents the corresponding gain coefficient, the back electromotive force e at time k in the two-phase stationary coordinate system αβ (k) = e α (k)+je β (k), e α (k) and e β (k) is the back electromotive force in the α and β directions at time k in the two-phase stationary coordinate system, and the numerical value is the back electromotive force observation value in the α and β directions at time k obtained by the sliding mode observer; The nth component contained in the back electromotive force observation value in the α and β directions at time k observed by the sliding mode observer, G n is the state transfer matrix corresponding to the harmonic order n.

6. A system based on the motor parameter estimation method according to any one of claims 1 to 4, characterized in that: include: A sampling and processing module, used for sampling the permanent magnet synchronous motor to obtain at least a real-time stator current, and performing coordinate transformation on the real-time stator current to obtain a stator current in a two-phase stationary coordinate system; A back electromotive force calculation module is used to input the stator current and stator voltage in the two-phase stationary coordinate system, and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer to obtain the back electromotive force observation value; Wherein, the stator voltage is a stator voltage sampling value or a stator voltage reference value; A filtering module, used for inputting the back electromotive force observation value into a constructed complex vector discrete filter to obtain a filtered fundamental back electromotive force; The estimation module is used to normalize the fundamental back electromotive force or the fundamental back electromotive force, and then input the normalized data into the orthogonal phase-locked loop to estimate the rotor position observation value and the speed observation value.

7. The system according to claim 6, characterized in that: It also includes a control module, which is used to use the estimated rotor position observation value and speed observation value for IPMSM vector control, and finally obtain a PWM drive signal. The PWM drive signal controls the on and off of the inverter switch tube to obtain an inverter voltage to drive the IPMSM, thereby realizing IPMSM position sensorless control.

8. A system based on the motor control method according to claim 5, characterized in that: At least: Sampling module, sliding mode observer, complex vector discrete filter, orthogonal phase-locked loop, current inner loop, speed outer loop, PI regulator, SVPWM modulation module, inverter, permanent magnet synchronous motor; The sampling module is connected to the permanent magnet synchronous motor, and is used to sample the permanent magnet synchronous motor to obtain at least a real-time stator current, and to perform coordinate transformation on the real-time stator current to obtain a stator current in a two-phase stationary coordinate system; and is also used to obtain a stator voltage; The sampling module and the orthogonal phase-locked loop are both connected to the sliding mode observer, wherein the sampling module inputs the stator current and stator voltage in the two-phase stationary coordinate system, and the speed observation value estimated by the orthogonal phase-locked loop into the sliding mode observer, and the sliding mode observer observes and obtains the back electromotive force observation value; The sliding mode observer is connected to the complex vector discrete filter, and the complex vector discrete filter filters the back electromotive force observation value to obtain the fundamental wave back electromotive force; The complex vector discrete filter is connected to the orthogonal phase-locked loop, and the orthogonal phase-locked loop obtains the rotor position observation value and the speed observation value based on the fundamental back electromotive force estimation; The orthogonal phase-locked loop is connected to a speed outer loop, and the speed observation value is input into the speed outer loop; The speed outer loop, speed loop PI regulator, current inner loop, current inner loop PI regulator, SVPWM modulation module, and inverter are connected in sequence to form an IPMSM vector control module, which ultimately generates an inverter voltage to drive the IPMSM, and the inverter voltage drives the IPMSM to input the permanent magnet synchronous motor.

9. A computer-readable storage medium, characterized in that: A computer program is stored, which is called by a processor to implement: The steps of the motor parameter estimation method according to any one of claims 1 to 4; or the steps of the motor control method according to claim 5.

Citation Information

Patent Citations

  • A novel photovoltaic grid-connected inverter compound control method based on OSAP and improved dual-mode control

    CN109217361A

  • Rotor position and speed estimation system and method of permanent magnet synchronous motor adopting improved sliding-mode observer

    CN110768590A

  • Brushless direct current motor phase estimation method based on complex vector filter

    CN111917353A

  • IPMSM rotating speed estimation method based on discrete vector PI sliding mode observer

    CN112003528A

  • PMSM sensorless control method based on moving average filter

    CN112910329A