CN112737440B - Motor rotor position information acquisition method and system - Google Patents
Motor rotor position information acquisition method and system Download PDFInfo
- Publication number
- CN112737440B CN112737440B CN202011546594.8A CN202011546594A CN112737440B CN 112737440 B CN112737440 B CN 112737440B CN 202011546594 A CN202011546594 A CN 202011546594A CN 112737440 B CN112737440 B CN 112737440B
- Authority
- CN
- China
- Prior art keywords
- frequency
- phase
- rotor
- pass filter
- position information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 230000001360 synchronised effect Effects 0.000 claims abstract description 23
- 238000002347 injection Methods 0.000 claims abstract description 21
- 239000007924 injection Substances 0.000 claims abstract description 21
- 238000001914 filtration Methods 0.000 claims abstract description 16
- 230000004044 response Effects 0.000 claims abstract description 16
- 230000003068 static effect Effects 0.000 claims abstract description 16
- 230000010363 phase shift Effects 0.000 claims description 16
- 230000008569 process Effects 0.000 claims description 8
- 238000013461 design Methods 0.000 claims description 5
- 230000004907 flux Effects 0.000 claims description 4
- 238000010606 normalization Methods 0.000 claims description 4
- 238000012546 transfer Methods 0.000 claims description 4
- 230000005284 excitation Effects 0.000 claims description 3
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims 1
- 238000004422 calculation algorithm Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 5
- 230000002068 genetic effect Effects 0.000 description 5
- 238000004088 simulation Methods 0.000 description 5
- 238000005457 optimization Methods 0.000 description 4
- 239000000243 solution Substances 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 210000000349 chromosome Anatomy 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 230000008303 genetic mechanism Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 108090000623 proteins and genes Proteins 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P21/00—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
- H02P21/0003—Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P21/00—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
- H02P21/14—Estimation or adaptation of machine parameters, e.g. flux, current or voltage
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P21/00—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
- H02P21/14—Estimation or adaptation of machine parameters, e.g. flux, current or voltage
- H02P21/18—Estimation of position or speed
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P21/00—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
- H02P21/24—Vector control not involving the use of rotor position or rotor speed sensors
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P25/00—Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
- H02P25/02—Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the kind of motor
- H02P25/022—Synchronous motors
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P27/00—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
- H02P27/04—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
- H02P27/06—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
- H02P27/08—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation
- H02P27/12—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation pulsing by guiding the flux vector, current vector or voltage vector on a circle or a closed curve, e.g. for direct torque control
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Control Of Motors That Do Not Use Commutators (AREA)
- Control Of Ac Motors In General (AREA)
Abstract
The invention discloses a method and a system for acquiring position information of a motor rotor, wherein a high-frequency pulse vibration voltage injection method is used for injecting a high-frequency signal into a permanent magnet synchronous motor; and filtering by a band-pass filter under the two-phase static coordinate system to obtain the high-frequency current of a specific frequency band containing the rotor position information. The high-frequency response current is demodulated, and the current only containing the rotor position information is obtained through a low-pass filter. And constructing an all-pass filter, and compensating the phase offset caused by filtering of the band-pass filter and the low-pass filter to obtain a compensated current. And obtaining the position and the rotating speed of the rotor by the compensated current through a normalized phase-locked loop. The method provided by the invention tracks the position of the motor rotor in real time, provides accurate position information for motor driving, and improves decoding precision and decoding speed; meanwhile, the phase compensation is carried out on the signals, the condition that the method is invalid due to phase lag is avoided, and the reliability of the obtained rotor position and the system robustness are improved.
Description
Technical Field
The invention relates to the technical field of motor control, in particular to a method for acquiring motor rotor position information by compensating phase offset brought by a filter when the information is acquired.
Background
A Permanent Magnet Synchronous Motor (PMSM) has the characteristics of small volume, high power density, high working efficiency and the like, and is widely applied to various fields. Achieving high performance control of permanent magnet synchronous motors requires very accurate rotor position information. Conventional control methods typically use position sensors. Nowadays, cost reduction, fault-tolerant design concept and special working condition requirements enable a stable, accurate and efficient position-free sensor control algorithm to gradually become a hot spot in the field of motor control.
At present, scholars at home and abroad propose various control algorithms without position sensors. If a rotor position estimation method based on a high-frequency pulse vibration voltage injection method is adopted in a zero low-speed domain, and a rotor position estimation method based on a sliding mode observer is adopted in a medium-high speed domain. The high-frequency pulsating voltage injection method used in the invention is to inject a high-frequency pulsating voltage signal into a d-axis of a synchronous rotating coordinate system, and extract position information from a high-frequency current signal responded by a two-phase static coordinate system, thereby realizing the observation of the position of a rotor.
When the rotor position information is extracted from the high-frequency current signal, a band-pass filter is needed to extract the high-frequency signal, and a low-pass filter is needed to filter high-frequency noise waves to obtain a more accurate rotor position signal, but the problem of phase offset is caused by the band-pass filter and the low-pass filter, the estimation accuracy of the rotor position is influenced, and the rotor position needs to be compensated.
Disclosure of Invention
This section is for the purpose of summarizing some aspects of embodiments of the invention and to briefly introduce some preferred embodiments. In this section, as well as in the abstract and the title of the invention of this application, simplifications or omissions may be made to avoid obscuring the purpose of the section, the abstract and the title, and such simplifications or omissions are not intended to limit the scope of the invention.
The present invention has been made in view of the above-mentioned conventional problems.
Therefore, the invention provides a method and a system for acquiring the position information of the motor rotor, which can solve the problem of phase offset caused by a band-pass filter and a low-pass filter when the position information of the rotor is extracted.
In order to solve the technical problems, the invention provides the following technical scheme:
a motor rotor position information acquisition method comprises the following steps:
the method comprises the following steps: injecting a high-frequency signal into the estimated d-axis by using a high-frequency pulse vibration voltage injection normal; under an alpha beta two-phase static coordinate systemFiltering by a band-pass filter to obtain a high-frequency current i of a specific frequency band containing rotor information αh 、i βh 。
Step two: this current is then multiplied by the demodulated signal 2sin (ω) h t), through a low-pass filter, a current i containing only rotor position information can be obtained αl 、i βl 。
Step three: compensating the phase shift caused by filtering of the filter, constructing an all-pass filter, and obtaining a compensated current i αl ’、i βl ’。
Step four: the compensated current passes through the normalized phase-locked loop to obtain the compensated rotor position theta and the rotation speed omega r 。
Further, the step one specifically includes:
injecting a high frequency signal into the estimated d-axis:
wherein,for high frequency signals injected into the estimated dq axis, U h Amplitude, ω, of high-frequency signals h Is the angular frequency of the high frequency signal; obtaining a responsive high-frequency current i in an alpha beta two-phase static coordinate system αh 、i βh :
Wherein L is dh And theta is the high-frequency inductance of the d axis under the synchronous rotating coordinate system, and theta is the actual position of the rotor.
Further, the second step specifically includes:
wherein, LPF represents a low pass filter,the total phase shift angle caused by the band pass filter and the low pass filter.
Further, the third step specifically includes:
selecting a Butterworth band-pass filter and a low-pass filter, wherein the amplitude-frequency response of the low-pass filter needs to satisfy the following relation:
wherein, omega and omega c And N respectively represents frequency, turning frequency and system order. Butterworth low-pass filter at frequency omega c The gain is-3 dB, and as can be seen from the phase-frequency characteristic curve, the low-pass filter will bring about a phase shift when extracting the signal, and the phase shift will increase with the increase of the signal frequency, and the band-pass filter will also bring about a phase shift.
A fourth order all-pass filter is constructed to compensate for the phase offset produced by the band-pass and low-pass filters:
wherein a is 1 、a 2 、a 3 、a 4 Parameters of the all-pass filter are obtained by iteration of a genetic algorithm according to parameters of the band-pass filter and the low-pass filter, and the all-pass filter is cascaded to realize phase balance:
wherein, APF represents an all-pass filter,after cascade all-pass filtersThe total phase offset, if the all-pass filter design is ideal enough, can be approximated
Further, the fourth step specifically includes:
the expression of the input error epsilon of the phase-locked loop before normalization is as follows:
normalized input error epsilon n Comprises the following steps:
the transfer function of the normalized phase-locked loop is:
wherein k is p 、k i The proportional term and the integral term of the phase-locked loop PI regulator are provided. The PI regulator is reasonably designed, so that the normalized phase-locked loop can accurately estimate the position and speed information of the rotor.
In order to solve the technical problems, the invention also provides the following technical scheme:
the invention discloses a motor rotor position acquisition system, which implements the motor rotor position information acquisition method of the invention and comprises the following steps:
and the signal acquisition module is used for acquiring a high-frequency current signal of the permanent magnet synchronous motor in a two-phase static coordinate system.
And the demodulation signal generation module is used for generating a demodulation signal according to the input high-frequency signal and demodulating the extracted high-frequency current signal.
And the filtering module is used for filtering the high-frequency signals and acquiring sine and cosine signals only containing the rotor position information.
And the phase compensation module is used for compensating the phase offset generated by the filter in the signal demodulation process.
And the rotor angle generating module is used for decoding the sine and cosine signals by using the phase-locked loop to generate the rotor angle of the motor.
Compared with the prior art, the invention has the following substantive characteristics and obvious advantages:
1. the invention provides a method and a system for acquiring the position of a motor rotor, which are used for acquiring the rotor angle in a high-frequency injection mode, tracking the position of the motor rotor in real time and providing accurate position information for motor driving;
2. the invention simultaneously compensates the phase deviation generated in the acquisition process, improves the accuracy and the reliability of the acquired rotor position and optimizes the performance of a control system.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise. Wherein:
fig. 1 is a flowchart of a motor rotor position acquisition method of the present invention.
Fig. 2 is a structural block diagram of the high-frequency pulsating voltage injection method of the permanent magnet synchronous motor of the invention.
Fig. 3 is a schematic structural diagram of the normalized phase-locked loop according to the present invention.
Fig. 4 is a schematic diagram showing the amplitude-frequency characteristic and the phase-frequency characteristic of the low-pass filter according to the present invention.
Fig. 5 is a schematic diagram showing the amplitude-frequency characteristic and the phase-frequency characteristic of the bandpass filter of the present invention.
FIG. 6 is a schematic diagram of the angular relationship between the actual coordinate system and the estimated coordinate system according to the present invention.
Fig. 7 is an equivalent structure diagram of the normalized pll of the present invention.
FIG. 8 is a diagram of rotor position and rotor error waveforms obtained from simulation of a conventional high frequency pulse-vibration injection method.
FIG. 9 is a graph of rotor position and rotor error waveforms simulated using the method of the present invention.
Fig. 10 is a schematic view of a specific example of a motor rotor position system according to embodiment 4 of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, specific embodiments accompanied with figures are described in detail below, and it is apparent that the described embodiments are a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present invention, shall fall within the protection scope of the present invention.
Example 1
A motor rotor position information acquisition method comprises the following steps:
the method comprises the following steps: injecting a high-frequency signal into the estimated d-axis by using a high-frequency pulse vibration voltage injection normal; filtering the alpha and beta two-phase static coordinate system through a band-pass filter to obtain a high-frequency current i of a specific frequency band containing rotor information αh 、i βh 。
Step two: this current is then multiplied by the demodulated signal 2sin (ω) h t), through a low-pass filter, a current i containing only rotor position information can be obtained αl 、i βl 。
Step three: compensating the phase shift caused by filtering of the filter, constructing an all-pass filter, and obtaining a compensated current i αl ’、i βl ’。
Step four: will supplementThe compensated current can obtain the compensated rotor position theta and the rotation speed omega through the normalized phase-locked loop r 。
The method and the system for acquiring the position information of the motor rotor can solve the problem of phase offset caused by a band-pass filter and a low-pass filter when the position information of the rotor is extracted.
Example 2
This embodiment is substantially the same as embodiment 1, and is characterized in that:
in this embodiment, in the step one, the injecting a high-frequency signal into the estimated d-axis specifically includes:
injecting a high frequency signal into the estimated d-axis:
wherein,for high frequency signals injected into the estimated dq axis, U h Is the amplitude, omega, of the high-frequency signal h Is the angular frequency of the high frequency signal.
In this embodiment, in the step one, the high-frequency current response of the permanent magnet synchronous motor in the two-phase stationary coordinate system specifically includes:
the voltage equation of the permanent magnet synchronous motor under fundamental excitation on a dq two-phase rotating coordinate system can be expressed as follows:
in the formula u d 、u q Is the voltage, i, on a dq two-phase rotating coordinate system d 、i q Is the current in dq two-phase rotating coordinate system, L d 、L q Is the inductance of dq two-phase rotating coordinate system, R is the stator resistance, omega e For the electrical angular velocity of the rotor, p is a differential operator,. Phi f A permanent magnet flux linkage;
through a processConversion can be used for obtaining high-frequency current response i of permanent magnet synchronous motor under two-phase static coordinate system αh 、i βh Can be expressed as:
in the formula,for the estimated voltage in the dq two-phase rotation coordinate system, L dh 、L qh Is the high-frequency inductance of the dq two-phase rotating coordinate system, theta is the actual rotor electrical angle,for the estimated rotor electrical angle, Δ θ is the difference between the actual rotor electrical angle and the estimated rotor electrical angle.
In this embodiment, in the step one, the obtaining of the high-frequency current of the specific frequency band including the rotor information specifically includes:
after injecting the high-frequency signal, the following results are obtained:
the high-frequency current response under the two-phase static coordinate system contains the rotor position information; when the electrical angle error is small enough to be approximated as Δ θ =0, the estimated electrical angle converges to the actual electrical angle, and the high-frequency current response in the stationary two-phase coordinate system is expressed as:
in this embodiment, in the second step, the high-frequency current is multiplied by the demodulated signal, and the demodulated signal is passed through a low-pass filter, so as to obtain a current signal i containing only the rotor position information αl 、i βl The method specifically comprises the following steps:
the demodulation signal is a sinusoidal signal 2sin (omega) with the same frequency as the high-frequency injection voltage h t):
Wherein, LPF represents a low pass filter,the total phase shift angle caused by the band pass filter and the low pass filter.
In this embodiment, in the third step, the all-pass filter is constructed to obtain the compensated current i αl ’、i βl ', specifically includes:
wherein, APF represents an all-pass filter,for the total phase shift after cascading the all-pass filters, if the all-pass filter design is ideal enough, it can be approximated
In this embodiment, in the fourth step, the obtaining, by using the compensated current through the normalized phase-locked loop, the compensated rotor position and rotation speed may specifically include:
the input error epsilon expression of the phase-locked loop before normalization is as follows:
normalized input error e n Comprises the following steps:
the transfer function of the normalized phase-locked loop is:
wherein k is p 、k i Proportional term and integral term of the phase-locked loop PI regulator; the PI regulator is reasonably designed, so that the normalized phase-locked loop can accurately estimate the position and speed information of the rotor.
According to the motor rotor position obtaining method and system, the rotor angle is obtained in a high-frequency injection mode, the position of the motor rotor can be tracked in real time, and accurate position information is provided for motor driving; meanwhile, the phase deviation generated in the acquisition process is compensated, so that the accuracy and the reliability of the acquired rotor position are improved, and the performance of a control system is optimized.
Example 3
This embodiment is substantially the same as embodiment 1, and is characterized in that:
referring to fig. 1 to 9, a first embodiment of the present invention provides a motor rotor position information acquiring method, including:
fig. 1 is a flowchart of a method for acquiring position information of a motor rotor according to the present invention. Fig. 2 is a block diagram of a control structure of a permanent magnet synchronous motor based on the motor rotor position information acquisition method of the present invention.
S1: injecting a high-frequency signal by using a high-frequency pulsating voltage injection normal estimated d-axis:
wherein,for high frequency signals injected into the estimated dq axis, U h Is the amplitude, omega, of the high-frequency signal h Is the angular frequency of the high frequency signal.
The voltage equation of the permanent magnet synchronous motor under fundamental excitation on a dq two-phase rotating coordinate system is expressed as follows:
in the formula u d 、u q Is the voltage on a dq two-phase rotating coordinate system, i d 、i q Is the current in dq two-phase rotating coordinate system, L d 、L q Is the inductance of dq two-phase rotating coordinate system, R is the stator resistance, omega e For the electrical angular velocity of the rotor, p is a differential operator,. Phi f And permanent magnet flux linkage.
When the motor is in a zero-speed or low-speed state, the angular speed of the motor is close to zero, so that the angular speed of the motor is equal to omega e Related terms can be ignored, and when the injection frequency is far larger than the angular frequency of the motor, the inductive reactance in the high-frequency impedance of the motor is the main component, so that the influence of the resistance in the motor voltage equation can be ignored, and the permanent magnet synchronous motor injected with the high-frequency signal is equivalent to a pure inductance model.
Therefore, the following equation (2) can be equivalent to the high frequency signal injection:
in the formula u dh 、u qh For high-frequency voltages in a synchronously rotating coordinate system, i dh 、i qh For high-frequency currents in a synchronously rotating coordinate system, L dh 、L qh Is a high-frequency inductor under a synchronous rotating coordinate system.
Fig. 6 is a schematic view of an angular relationship between an actual coordinate system and an estimated coordinate system, wherein: theta is the actual electrical angle of the rotor,for the estimated rotor electrical angle, Δ θ is the difference between the actual rotor electrical angle and the estimated rotor electrical angle.
According to FIG. 6, stator high frequency current signals in response under an estimated synchronous rotating coordinate systemThe differential of (c) can be expressed as:
converting the dq axis current in equation (3) into α β axis current can be equivalently:
the equation (6) can deduce that the high-frequency current response of the permanent magnet synchronous motor under the two-phase static coordinate system can be expressed as follows:
a variant of formula (5) may be obtained by formula (7):
namely:
the high-frequency signal injected in formula (1) can be substituted into formula (9):
from equation (10), it can be seen that the high-frequency current response in the two-phase stationary coordinate system includes rotor position information. When the electrical angle error is small enough to be approximated as Δ θ =0, the estimated electrical angle converges to the actual electrical angle, and the high-frequency current response in the stationary two-phase coordinate system is expressed as:
s2: multiplying the high-frequency response current by the demodulation signal, and passing through a low-pass filter to obtain a current i containing only rotor position information αl 、i βl 。
Wherein the demodulation signal is a sinusoidal signal 2sin (ω) having the same frequency as the high-frequency injection voltage h t):
The high frequency signal is extracted in S1 by a band pass filter, which is used in this stepLow pass filters are required, both of which bring about amplitude variations and phase shifts, and their amplitude-frequency characteristics and phase-frequency characteristics are shown in fig. 4 and 5. In formula (12)Indicating the total phase shift caused by the band pass filter and the low pass filter.
S3: compensating the phase shift caused by filtering of the filter, constructing an all-pass filter, and obtaining a compensated current i αl ’、i βl ’。
In order to solve the phase shift caused by the filter, the invention adopts a mode of constructing an all-pass filter to realize phase balance, taking a 4-order all-pass filter as an example:
wherein a is 1 、a 2 、a 3 、a 4 The method is a parameter of the all-pass filter, and the all-pass filter is reasonably designed to meet the requirement of compensating phase deviation brought by a band-pass filter and a low-pass filter. The invention uses a genetic algorithm to iterate and finds the optimal solution of the parameters of the all-pass filter which meets the conditions.
Genetic Algorithms (GA) are designed based on the rules of evolution of organisms in nature. The method is a calculation model of the biological evolution process for simulating natural selection and genetic mechanism of Darwinian biological evolution theory, and is a method for searching an optimal solution by simulating the natural evolution process. The algorithm converts the solving process of the problem into the processes of crossover, variation and the like of chromosome genes in the similar biological evolution by a mathematical mode and by utilizing computer simulation operation. When a complex combined optimization problem is solved, a better optimization result can be obtained faster compared with some conventional optimization algorithms. Genetic algorithms have been widely used by people in the fields of combinatorial optimization, machine learning, signal processing, adaptive control, artificial life, and the like.
Introducing parameters of the low-pass filter and the band-pass filter, calculating their phase functions, designing an all-pass filter, iteratively calculating in a genetic algorithm by taking the phase of the all-pass filter to be compensated as an objective function, and calculating a 1 、a 2 、a 3 、a 4 The optimum value of (c).
After the all-pass filter is constructed, the all-pass filter is cascaded into a system to obtain:
wherein, APF represents an all-pass filter,for the total phase shift after cascading the all-pass filters, if the all-pass filter design is ideal enough, it can be approximated
S4: the compensated current is passed through a normalized phase-locked loop, which is shown in fig. 3.
The expression of the input error epsilon of the phase-locked loop before normalization is as follows:
normalizing the input error to obtain a normalized input error epsilon n Comprises the following steps:
when in useWhen the temperature of the water is higher than the set temperature,equation (16) can be expressed as:
fig. 7 is an equivalent diagram of a normalized phase-locked loop, where the transfer function of the normalized phase-locked loop is:
wherein k is p 、k i The proportional term and the integral term of the phase-locked loop PI regulator are provided. And setting a proper bandwidth according to the speed regulation range of the system, so that the parameters of the PI regulator can be obtained, and the position and speed information of the rotor can be estimated.
In order to verify and explain the technical effects adopted in the method, the embodiment selects a traditional PMSM high-frequency pulse vibration voltage injection method to perform a comparison test with the method, and compares the test results by a scientific demonstration means to verify the real effect of the method.
A simulation model as shown in the structure of fig. 2 was constructed in Simulink, and the motor simulation parameter settings are shown in table 1.
Table 1: motor parameter table.
Parameter(s) | Numerical value |
Stator resistance/omega | 0.33 |
Quadrature axis inductor/H | 0.0174 |
Direct axis inductor/H | 0.0052 |
Permanent magnet flux linkage/Wb | 0.646 |
Number of pole pairs | 2 |
The high-frequency injection voltage is a cosine signal with the amplitude of 20V and the frequency of 1000Hz, the order of a band-pass filter for extracting a high-frequency current signal is 2, the upper limit cut-off frequency is 1200Hz, and the lower limit cut-off frequency is 800Hz. The high-frequency signal for modulation is a high-frequency sinusoidal signal with the frequency of 1000Hz and the amplitude of 2V. The cut-off frequency of the low-pass filter used for extracting the modulated information about the rotor position is set to 150Hz. The motor speed was set at 100rpm. The simulation time is set to 0.6s, and the simulation results are shown in fig. 8 and 9, it can be seen that the maximum rotor position error observed by the conventional high-frequency pulse vibration voltage injection method is 0.0025rad, and the rotor position curve is not smooth enough, whereas the maximum rotor position error obtained by the method provided by the invention is 0.00072rad, the rotor position is more accurate, and the influence on the rotor position due to the filter phase shift is remarkably reduced.
The motor rotor position information acquisition method provided by the invention tracks the position of the motor rotor in real time, provides accurate position information for motor driving, and improves decoding precision and decoding speed; meanwhile, the phase compensation is carried out on the signals, the condition that the method is invalid due to phase lag is avoided, and the reliability of the obtained rotor position and the system robustness are improved.
Example 4
This embodiment is substantially the same as embodiment 1, and is characterized in that:
the present embodiment provides a motor rotor position information acquiring system, as shown in fig. 10, including:
and the signal acquisition module 1 is used for acquiring the three-phase current of the permanent magnet synchronous motor, converting the three-phase current into a two-phase static coordinate system, and acquiring a high-frequency response signal through a band-pass filter. This module executes the method described in step S1 in embodiment 1, and is not described herein again.
And the demodulation signal generation module 2 is used for generating sinusoidal signals with the same frequency for demodulation according to the high-frequency injection signals.
And the filtering module 3 is used for filtering high-frequency components in the signals and obtaining sine and cosine signals only containing the rotor position information. This module executes the method described in step S2 in embodiment 1, and is not described herein again.
And the phase compensation module 4 is used for performing phase compensation on the sine and cosine signals by using the constructed all-pass filter and eliminating phase offset caused by the band-pass filter and the low-pass filter. This module executes the method described in step S3 in embodiment 1, which is not described herein again.
And the rotor angle generating module 5 is used for decoding the compensated sine and cosine signals by using a phase-locked loop to generate a motor rotor decoding angle. This module executes the method described in step S4 in embodiment 1, which is not described herein again.
The motor rotor position information acquisition system provided by the invention tracks the position of the motor rotor in real time, provides accurate position information for motor driving, and improves decoding precision and decoding speed; the reliability of the acquired rotor position and the system robustness are improved.
The method and the system for acquiring the position information of the motor rotor in the embodiment of the invention comprise the following steps: injecting a high-frequency signal into the permanent magnet synchronous motor by using a high-frequency pulse vibration voltage injection method; and filtering by a band-pass filter under the two-phase static coordinate system to obtain the high-frequency current of a specific frequency band containing the rotor position information. The high-frequency response current is demodulated, and the current only containing the rotor position information is obtained through a low-pass filter. And constructing an all-pass filter, and compensating the phase offset caused by filtering of the band-pass filter and the low-pass filter to obtain a compensated current. And obtaining the position and the rotating speed of the rotor by normalizing the compensated current through a phase-locked loop. The motor rotor position information acquisition method provided by the invention tracks the position of the motor rotor in real time, provides accurate position information for motor driving, and improves decoding precision and decoding speed; meanwhile, the phase compensation is carried out on the signals, the condition that the method fails due to phase lag is avoided, and the reliability of the acquired rotor position and the system robustness are improved.
The embodiments of the present invention have been described with reference to the accompanying drawings, but the present invention is not limited to the embodiments, and various changes and modifications can be made according to the purpose of the invention, and any changes, modifications, substitutions, combinations or simplifications made according to the spirit and principle of the technical solution of the present invention shall be equivalent substitutions, as long as the purpose of the present invention is met, and the present invention shall fall within the protection scope of the present invention without departing from the technical principle and inventive concept of the present invention.
Claims (5)
1. A method for acquiring position information of a motor rotor is provided, wherein the motor is a permanent magnet synchronous motor, and the method is characterized by comprising the following steps:
the method comprises the following steps: injecting a high-frequency signal to a d axis estimated by the motor by using a high-frequency pulse vibration voltage injection method; filtering by a band-pass filter under an alpha beta two-phase static coordinate system to obtain high-frequency current of a specific frequency band containing rotor information;
step two: demodulating the high-frequency current by using the demodulation signal, and passing the demodulated high-frequency current through a low-pass filter to obtain a low-frequency current signal only containing rotor position information;
step three: constructing an all-pass filter, compensating the phase offset caused by filtering of the band-pass filter and the low-pass filter, and obtaining a compensated current i αl '、i βl ';
Step four: obtaining the compensated rotor position and the rotation speed by the compensated current through a normalized phase-locked loop;
in the step one, the injecting a high-frequency signal into the estimated d-axis specifically includes:
injecting a high frequency signal into the estimated d-axis:
wherein,for high frequency signals injected into the estimated dq axis, U h Amplitude, ω, of high-frequency signals h Is the angular frequency of the high frequency signal;
in the step one, the obtaining the high-frequency current of the specific frequency band including the rotor information specifically includes:
after injecting the high-frequency signal, the following can be obtained:
the high-frequency current response under the two-phase static coordinate system comprises rotor position information; when the electrical angle error is small enough to be approximated as Δ θ =0, the estimated electrical angle converges to the actual electrical angle, L dh 、L qh The high-frequency inductance is a high-frequency inductance of a dq two-phase rotating coordinate system, theta is an actual rotor electrical angle, and delta theta is a difference value between the actual rotor electrical angle and an estimated rotor electrical angle; obtaining a responsive high-frequency current i in an alpha beta two-phase static coordinate system αh 、i βh :
In the second step, the high-frequency current is multiplied by the demodulation signal and passes through a low-pass filter, so as to obtain a current signal i only containing the rotor position information αl 、i βl The method specifically comprises the following steps:
the demodulation signal is a sinusoidal signal 2sin (omega) with the same frequency as the high-frequency injection voltage h t):
2. The method for acquiring the position information of the rotor of the motor according to claim 1, wherein in the step one, the high-frequency current response of the permanent magnet synchronous motor in the two-phase stationary coordinate system specifically includes:
the voltage equation of the permanent magnet synchronous motor under fundamental excitation on a dq two-phase rotating coordinate system can be expressed as follows:
in the formula u d 、u q Is the voltage on a dq two-phase rotating coordinate system, i d 、i q Is the current in dq two-phase rotating coordinate system, L d 、L q Is the inductance of dq two-phase rotating coordinate system, R is the stator resistance, omega e For the electrical angular velocity of the rotor, p is a differential operator,. Phi f A permanent magnet flux linkage;
the high-frequency current response i of the permanent magnet synchronous motor under the two-phase static coordinate system can be obtained through conversion αh 、i βh Can be expressed as:
in the formula,for the estimated voltage in the dq two-phase rotation coordinate system, L dh 、L qh Is the high-frequency inductance of the dq two-phase rotating coordinate system, theta is the actual rotor electrical angle,for the estimated rotor electrical angle, Δ θ is the difference between the actual rotor electrical angle and the estimated rotor electrical angle.
3. The method for obtaining rotor position information of electric motor according to claim 1, wherein in the third step, the all-pass filter is constructed to obtain the compensated current i αl '、i βl ', specifically includes:
4. The method according to claim 1, wherein in the fourth step, the step of obtaining the compensated rotor position and the rotation speed by passing the compensated current through a normalized phase-locked loop specifically includes:
the input error epsilon expression of the phase-locked loop before normalization is as follows:
normalized input error e n Comprises the following steps:
the transfer function G(s) of the normalized phase-locked loop is:
wherein k is p 、k i Proportional term and integral term of the phase-locked loop PI regulator; the PI regulator is reasonably designed, so that the normalized phase-locked loop can accurately estimate the position and speed information of the rotor.
5. A motor rotor position information acquisition system for implementing the motor rotor position information acquisition method as claimed in claim 1, characterized by comprising the following modules:
the signal acquisition module is used for acquiring a high-frequency current signal of the permanent magnet synchronous motor under a two-phase static coordinate system;
a demodulation signal generation module for generating a demodulation signal according to the input high-frequency signal and demodulating the extracted high-frequency current signal;
the filtering module is used for filtering high-frequency signals and obtaining sine and cosine signals only containing rotor position information;
the phase compensation module is used for compensating the phase offset generated by the filter in the signal demodulation process;
and the rotor angle generating module is used for decoding the sine and cosine signals by using a phase-locked loop to generate the rotor angle of the motor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011546594.8A CN112737440B (en) | 2020-12-24 | 2020-12-24 | Motor rotor position information acquisition method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011546594.8A CN112737440B (en) | 2020-12-24 | 2020-12-24 | Motor rotor position information acquisition method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112737440A CN112737440A (en) | 2021-04-30 |
CN112737440B true CN112737440B (en) | 2022-11-18 |
Family
ID=75605905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011546594.8A Active CN112737440B (en) | 2020-12-24 | 2020-12-24 | Motor rotor position information acquisition method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112737440B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112987560B (en) * | 2021-04-19 | 2021-09-10 | 长沙智能驾驶研究院有限公司 | Filter control method, device, equipment and computer storage medium |
CN113595453B (en) * | 2021-06-17 | 2022-08-05 | 上大电气科技(嘉兴)有限公司 | High-response rotary transformer decoding method and system |
CN113809956A (en) * | 2021-10-20 | 2021-12-17 | 大连海事大学 | Zero-low-speed domain rotor position detection method for six-phase surface-mounted permanent magnet fault-tolerant rim propulsion motor |
CN114050755B (en) * | 2022-01-12 | 2022-03-29 | 希望森兰科技股份有限公司 | Permanent magnet synchronous motor position observation improved algorithm based on high-frequency rotating voltage injection |
CN116404916A (en) * | 2023-06-08 | 2023-07-07 | 江苏应能微电子股份有限公司 | Motor rotor angle information identification method |
CN117040342A (en) * | 2023-08-10 | 2023-11-10 | 西安电子科技大学 | Motor position and speed estimation method and device based on complex normalization |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108494307A (en) * | 2018-03-28 | 2018-09-04 | 罗晨 | A kind of inverter compensation of nonlinear effects method of permanent magnet synchronous motor |
CN109150044A (en) * | 2018-09-10 | 2019-01-04 | 大连理工大学 | A kind of control method of the permanent magnet synchronous motor based on high frequency electrocardiography and immune PID |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102579496B1 (en) * | 2015-12-23 | 2023-09-19 | 로베르트 보쉬 게엠베하 | Method and apparatus for online estimation of initial position of a surface permanent magnet electric machine |
CN106788071B (en) * | 2017-01-06 | 2019-01-29 | 南京航空航天大学 | A method of improving permanent-magnet synchronous motor rotor position estimated accuracy |
CN108494306B (en) * | 2018-03-28 | 2021-10-08 | 罗晨 | Permanent magnet synchronous motor rotor position detection method |
JP6975333B2 (en) * | 2018-07-13 | 2021-12-01 | 株式会社日立製作所 | Permanent magnet synchronous machine control device, electric vehicle and permanent magnet synchronous machine magnetic pole polarity discrimination method |
CN109889117B (en) * | 2019-04-04 | 2020-09-01 | 合肥工业大学 | IPMSM position observation method, system and driving system based on rotation high-frequency injection method |
-
2020
- 2020-12-24 CN CN202011546594.8A patent/CN112737440B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108494307A (en) * | 2018-03-28 | 2018-09-04 | 罗晨 | A kind of inverter compensation of nonlinear effects method of permanent magnet synchronous motor |
CN109150044A (en) * | 2018-09-10 | 2019-01-04 | 大连理工大学 | A kind of control method of the permanent magnet synchronous motor based on high frequency electrocardiography and immune PID |
Non-Patent Citations (1)
Title |
---|
基于旋转坐标系解调的内置式永磁同步电机旋转高频注入法位置观测;刘善宏等;《电工技术学报》;20200225(第04期);第708-716页 * |
Also Published As
Publication number | Publication date |
---|---|
CN112737440A (en) | 2021-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112737440B (en) | Motor rotor position information acquisition method and system | |
CN110429886B (en) | Permanent magnet synchronous motor low-speed domain rotor position identification method | |
CN106655276B (en) | Phase locking method suitable for three-phase power grid voltage | |
CN110198150B (en) | Permanent magnet synchronous motor multi-parameter online identification method | |
Xu et al. | Robust flux estimation method for linear induction motors based on improved extended state observers | |
CN111342727B (en) | Permanent magnet synchronous motor position sensorless control method and device | |
CN110429889A (en) | A kind of adjustable Square wave injection torque capacity electric current of amplitude compares motor control method | |
CN115173774B (en) | Permanent magnet synchronous motor sensorless control method and system | |
CN109150052B (en) | High-frequency noise suppression method of random sine injection permanent magnet motor rotor position observer considering digital control delay | |
CN110620533A (en) | Surface-mounted permanent magnet synchronous motor sensorless control method | |
CN116232154A (en) | Motor parameter estimation and control method and system based on complex vector discrete filter | |
CN115765563A (en) | Method for detecting position and rotating speed information of surface-mounted permanent magnet synchronous motor rotor | |
CN114123346B (en) | General DFF-SAI phase locking method under positive sequence rotation coordinate system | |
Xu et al. | Anti-disturbance position sensorless control of PMSM based on improved sliding mode observer with suppressed chattering and no phase delay | |
CN109150044A (en) | A kind of control method of the permanent magnet synchronous motor based on high frequency electrocardiography and immune PID | |
Kang et al. | Improved sliding mode observer based sensorless control for PMSM | |
CN114301361B (en) | Control method of electrolytic capacitor-free permanent magnet synchronous motor driving system based on bus current control | |
CN114050755B (en) | Permanent magnet synchronous motor position observation improved algorithm based on high-frequency rotating voltage injection | |
CN116094390A (en) | Two-degree-of-freedom speed regulation method of asynchronous motor based on novel active disturbance rejection algorithm | |
CN113965129B (en) | Compensation method for current measurement offset error of permanent magnet synchronous motor control system | |
CN112702058B (en) | Phase-locked loop control method based on linear active disturbance rejection technology | |
CN115566947A (en) | Improved sliding-mode non-inductive six-phase permanent magnet synchronous motor control method based on ESO | |
Wu et al. | Enhanced Position Estimation Based on Frequency Adaptive Generalized Comb Filter for Interior Permanent Magnet Synchronous Motor Drives | |
CN115065287A (en) | Full-speed domain sensorless nonlinear weighting control method | |
Wang et al. | Sensorless Control of PMSM With Improved Adaptive Super-Twisting Sliding Mode Observer and IST-QSG |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |