CN110601633A - Permanent magnet synchronous motor initial phase detection system - Google Patents

Permanent magnet synchronous motor initial phase detection system Download PDF

Info

Publication number
CN110601633A
CN110601633A CN201911005867.5A CN201911005867A CN110601633A CN 110601633 A CN110601633 A CN 110601633A CN 201911005867 A CN201911005867 A CN 201911005867A CN 110601633 A CN110601633 A CN 110601633A
Authority
CN
China
Prior art keywords
current
module
phase
axis
rotor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911005867.5A
Other languages
Chinese (zh)
Inventor
陈天航
刘雄
王昌杰
占颂
熊烁
聂文强
宋宝
唐小琦
周向东
江平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Long Intelligent Technology Co Ltd
Original Assignee
Wuhan Long Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan Long Intelligent Technology Co Ltd filed Critical Wuhan Long Intelligent Technology Co Ltd
Priority to CN201911005867.5A priority Critical patent/CN110601633A/en
Publication of CN110601633A publication Critical patent/CN110601633A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/24Vector control not involving the use of rotor position or rotor speed sensors
    • H02P21/32Determining the initial rotor position

Abstract

The invention relates to a system for detecting an initial phase of a permanent magnet synchronous motor, and belongs to the technical field of permanent magnet synchronous motors. In the prior art, the problems that the initial phase deviation of a rotor is large or even the rotor cannot be detected exist. The invention provides a permanent magnet synchronous motor initial phase detection system, which is characterized in that: the detection system includes: the device comprises a speed loop and current loop regulator module, a coordinate transformation module, a Space Vector Pulse Width Modulation (SVPWM) module, a three-phase inverter circuit module, a sensor and speed calculation module and a permanent magnet synchronous motor module; its advantages are small initial phase error.

Description

Permanent magnet synchronous motor initial phase detection system
Technical Field
The invention relates to the technical field of permanent magnet synchronous motors, in particular to a permanent magnet synchronous motor initial phase detection system.
Background
Currently, with the introduction of 2025 in china, many companies in food processing, chip manufacturing, and automobile production have introduced automatic production lines or increased the automation degree of the production lines. In order to ensure reliable production, high machining precision and the like, an automatic production line usually uses a servo control system. Compared with an electro-hydraulic servo control system, the permanent magnet synchronous motor servo control system can meet different power requirements, is simple and convenient to install, can realize high-precision control, and ensures the reliability of products.
The permanent magnet synchronous motor servo control usually uses magnetic field directional control or direct torque control strategies, the control strategies require that the initial phase of a rotor is obtained and the phase sequence of a motor power line is correctly connected in the starting stage, and the electric angle and the speed of the rotor can be obtained in real time after the motor is started.
The initial phase of the permanent magnet synchronous motor refers to the corresponding rotor initial position electrical angle before the motor is started, and the accuracy of initial phase detection influences the starting performance of a servo system. By adopting the servo system of the magnetic field orientation control strategy, if the detection error of the initial phase of the rotor is large, the control system outputs the torque current which is not on the q axis of the actual rotor, which can cause the abnormal starting problems of motor vibration or reversal and the like, and the output torque current has a component on the d axis of the actual rotor, which can cause the high temperature of the permanent magnet, thereby causing the problems that the magnetic flux of the permanent magnet can be reduced in the service life of the motor and the like. At present, speed sensors such as a magnetic grid sine and cosine encoder, an incremental photoelectric encoder and a Hall effect position sensor are used in the industry, the problems that the deviation of the initial phase of a detected rotor is large and even the detection cannot be carried out exist, high-precision equipment such as an absolute encoder and a rotary transformer needs to be used, and the cost of a servo system is improved. Therefore, the method has very important significance in researching the initial phase detection technology of the permanent magnet synchronous motor.
Disclosure of Invention
In view of the problems in the prior art, the invention provides a system for detecting the initial phase of a permanent magnet synchronous motor, which is characterized in that: the detection system includes: the device comprises a speed loop and current loop regulator module, a coordinate transformation module, a Space Vector Pulse Width Modulation (SVPWM) module, a three-phase inverter circuit module, a sensor and speed calculation module and a permanent magnet synchronous motor module;
the command speed omega ref is combined with a speed feedback value to output a command, and the command outputs a q-axis command current i through an automatic speed regulator ASR (automatic speed regulator) of the speed loop and current loop regulator moduleqrefD-axis command current idrefAnd q-axis command current iqrefRespectively combining the d-axis current response signal and the q-axis current response signal, and respectively outputting a q-axis voltage u through an automatic current regulator ACR (automatic current regulator) of the speed loop and current loop regulator moduleqD-axis voltage udQ-axis voltage uqD-axis voltage udObtaining voltage signals under an alpha-beta coordinate system through ipark transformation of the coordinate transformation module, obtaining six switching signals through the Space Vector Pulse Width Modulation (SVPWM) module by the voltage signals under the alpha-beta coordinate system, obtaining three-phase voltages ua, ub and uc by the six switching signals through the three-phase inverter circuit module, obtaining current signals under a two-phase static alpha-beta coordinate system through Clark (Clark) transformation of the coordinate transformation module by the output currents ia and ib corresponding to ua and ub, obtaining d-axis current response signals and q-axis current response signals under a rotor synchronous rotation d-q coordinate system through park transformation of the coordinate transformation module by the current signals under the two-phase static alpha-beta coordinate system, obtaining d-axis current response signals and q-axis current response signals under a rotor synchronous rotation d-q coordinate system through ipark transformation of the coordinate transformation module, obtaining d-axis current response signals, The q-axis current response signal is a current loop feedback signal;
and three-phase voltages ua, ub and uc generated by the three-phase inverter circuit module are used as input voltages of the permanent magnet synchronous motor module, the sensor and the speed calculation module are used for detecting the rotating speed and the rotor position of the permanent magnet synchronous motor module, and the speed feedback value is output.
Preferably, the detection system further comprises a control unit;
the control unit initializes the detection system, and when t is 0, the control unit sets n to 0, α 0 to 0, and idref=I,iqref=0;
The control unit applies a d-axis voltage vector, the initial phase angle is alpha, and then whether the speed feedback value is 0 or not is judged; if the speed feedback value is not zero, let n be n +1, and correct phase angle α be α + α n, whereinThen the control unit applies the d-axis voltage vector again, the phase angle is alpha + alpha n, the speed feedback value is judged again until the speed feedback value is 0, and the stabilization time t is more than 0.5 s; finally, the control unit outputs the corrected phase angle alpha;
where t is the stabilization time, n is a natural number, idrefIs d-axis command voltage, iqrefThe motor is a q-axis command voltage, I is a d-axis applied current vector, the magnitude of the applied current vector can be set according to the rated current of the motor, and the range of the applied current vector is 80% -100% of the rated current.
Preferably, the system further comprises an incremental encoder disposed between the sensor and speed calculation module and the permanent magnet synchronous motor module.
Preferably, the sensor and speed calculation module comprises an incremental photoelectric sensor and an encoder value variation calculation module, and the detection system further comprises a control unit;
the control unit initializes the detection system to make theta0=0,n=0,θ=θ010; then, applying a voltage vector with an electrical angle theta and acquiring an encoder value variable d;
when d is not 0 and n is 0, the judgment is madeIf d is greater than 0, if so, let θ0180 degrees, theta2360 degrees, d2 d 0-1, θ1270 degrees, n is n + 1; if less than 0, let θ0180 degrees, d0 d 2-1, θ190 degrees, n + 1; finally, let theta be equal to theta1Applying the voltage vector with the electrical angle theta again, acquiring the encoder value variable d, and judging again;
when the value of d is not 0 and n is not 0, d1 is made to be d, whether d0 d1 is less than 0 is judged, and if the d is less than 0, theta is judged2=θ1D2 ═ d 1; if greater than or equal to 0, θ0=θ1D0 ═ d 1; finally make theta1=(θ20)/2,θ=θ1Applying the voltage vector with the electrical angle theta again, acquiring the encoder value variable d, and judging again;
outputting the initial phase theta of the rotor until d is 0 and keeps 1 s;
wherein theta is0Represents the left boundary of the dichotomy phase, θ2The right boundary, θ, representing the dichotomous phase1The median value of the binary phase interval, i.e., the electrical angle of the next applied voltage vector, is represented by d0, d1, and d2, respectively, as the encoder value change amount corresponding to the left boundary voltage vector, the median voltage vector, and the right boundary voltage vector, respectively, of the search interval.
Compared with the prior art, the invention at least has the following beneficial effects:
(1) the initial phase detection system of the permanent magnet synchronous motor provided by the invention has small initial phase detection error;
(2) the permanent magnet synchronous motor initial phase detection system provided by the invention can automatically complete detection and correction.
Drawings
FIG. 1 is a block diagram of a permanent magnet synchronous motor detection system of the present invention;
FIG. 2 is a block diagram of the arcsine initial phase approximation control of the present invention;
FIG. 3 is a flow chart of the arcsine phase approximation of the present invention;
FIG. 4 is a block diagram of the binary initial phase detection control of the present invention;
fig. 5 is a flow chart of binary initial phase detection in accordance with the present invention.
The present invention is described in further detail below. The following examples are merely illustrative of the present invention and do not represent or limit the scope of the claims, which are defined by the claims.
Detailed Description
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings.
To better illustrate the invention and to facilitate the understanding of the technical solutions thereof, typical but non-limiting examples of the invention are as follows:
example 1
One, motor model in control strategy
The permanent magnet synchronous motor consists of equations such as voltage, flux linkage, torque and mechanical motion, wherein p in the equation represents a differential operator d/dt, the voltage, the current and the flux linkage of a stator are all transformed to a dq coordinate system through coordinate change with equal amplitude, and then a voltage equation under the rotating coordinate system dq is as follows:
wherein u isd、uq、ψd、ψq、id、iqVoltage, flux linkage, and current components in dq, respectively, and ω is the rotational speed, i.e., electrical angular velocity, R of the synchronous coordinate systemsThe resistance values of the windings of the respective phases.
Stator three-phase magnetic linkage psiA、ψB、ψCAnd transforming to dq to obtain a flux linkage equation under a dq coordinate system as follows:
wherein L isd、LqThe inductance components on the d-axis and the q-axis, respectively.
The torque equation under the rotating coordinate system is as follows:
wherein p isnThe number of pole pairs of the motor is indicated.
In a permanent magnet synchronous motor in a servo system, not only load is born, but also friction torque and inertia force are overcome, so that a torque balance equation is as follows:
wherein T isLIs the load torque, B is the coefficient of friction, and J is the system moment of inertia.
In the motion control of the permanent magnet synchronous motor, the stator current decoupling is generally realized by adopting vector control and is decomposed into an exciting current and a torque current under a dq coordinate system. The invention selects idThe vector control strategy of 0 means that the excitation current of the stator current is always 0 during the control process. The formula (1.1) is simplified to obtain:
from the q-axis voltage equation: the space magnetomotive force component generated by the stator winding and the space magnetic field vector of the permanent magnet form 90 degrees, then the electromagnetic torque is in direct proportion to the q-axis current, and the formula (1.3) is simplified:
due to the flux linkage psi of the permanent magnetsrThe control strategy has the advantages that the control strategy is simple in algorithm and flexible in control, and the rotating speed of the motor is suitable for running in a rated rotating speed range.
The invention adopts idSystems for initial phase detection of permanent magnet synchronous machines, e.g. 0As shown in fig. 1. The detection system mainly comprises the following parts: the device comprises a speed loop and current loop regulator module, a coordinate transformation module, a Space Vector Pulse Width Modulation (SVPWM) module, a three-phase inverter circuit module, a sensor and speed calculation module and a permanent magnet synchronous motor module.
The command speed ω ref outputs a q-axis command current i via an automatic speed regulator ASR (automatic speed regulator)qrefAnd d-axis command current idrefThen, the q-axis voltage u is outputted via the automatic current regulator ACR (automatic current regulator)qD-axis voltage udQ-axis voltage uqD-axis voltage udVoltage signals under an alpha-beta coordinate system are obtained through ipark conversion, six switching signals are obtained through a Space Vector Pulse Width Modulation (SVPWM) module by the voltage signals under the alpha-beta coordinate system, the six switching signals pass through a three-phase inverter, three-phase voltages ua, ub and uc are generated by the inverter, output circuits ia and ib corresponding to ua and ub are converted through Clark (Clark) to obtain current signals under a two-phase static alpha-beta coordinate system, the current signals under the two-phase static alpha-beta coordinate system are converted through Park (Park) to obtain d-axis current response signals and q-axis current response signals under a d-q coordinate system of synchronous rotation of a rotor, and the d-axis current response signals and the q-axis current response signals are current loop feedback signals.
Three-phase voltages ua, ub and uc generated by the inverter are used as input voltages of the electromagnetic synchronous motor PMSM, and then the sensor detects the rotating speed and the rotor position of the electromagnetic synchronous motor PMSM and outputs a speed feedback value.
Rotor position is determined by applying a current vector under which the N pole of the rotor is aligned with the current vector. According to the coordinate change and PMSM analysis, the invention provides a current closed-loop locked rotor position control strategy.
The current loop is controlled by PI, the locked rotor position is related to the applied current vector, and the invention commands the current I through the d axisdref=IsAnd electrical angle theta ═ theta0Setting the position of a locked rotor, the size of a locking torque and a q-axis command current iqref=0。
Two, initial phase detection
Initial phase detection technology of absolute photoelectric encoder
The corresponding photoelectric encoding values of the rotating shaft of the absolute photoelectric encoder at different positions are unique, the power failure memory function is realized, and the position of the rotating shaft can be calculated according to the photoelectric encoding values when the absolute photoelectric encoder is powered on next time, so that the initial phase of the rotor can be detected by using the absolute encoder. The absolute encoder adopts a protocol to transmit data, the protocol comprises a single-circle position, a multi-circle position, alarm information, EEPROM content and the like of an encoder rotating shaft, wherein the single-circle position is a photoelectric encoding value corresponding to the position of the encoder rotating shaft.
In the assembly process of the absolute encoder, a motor manufacturer locks a motor rotor at a fixed phase theta by using a pre-positioning methodsThe encoder is reset by a single-turn position through a protocol, namely the zero point of the encoder and the phase theta of the rotorsAnd (4) aligning. When the detection system is powered on, a single-circle position reading instruction is issued through a protocol, a coder feeds back a protocol data frame, a controller analyzes the protocol data frame, and a rotor single-circle position value V is extractedECalculating the initial phase θ of the rotor according to the equation (2.1)0
Wherein p is the number of pole pairs of the motor, VCFor number of encoder single-turn pulses, theta0And thetasThe unit is rad.
The accuracy of the rotor initial phase acquired by the detection system using an absolute photoelectric encoder is related to many factors. The most important factor is the resolution of the absolute encoder, the common absolute encoder bit numbers are 17bit, 19bit, 20bit, 23bit and the like, and the selection type of the absolute encoder bit number is related to the required precision of the system. Secondly, in the zero point correction process of the encoder, the precision of an encoder zero point adjusting instrument and the operation error of workers are also the influence factors of the initial phase detection precision.
Therefore, the method for acquiring the initial phase of the rotor by the absolute photoelectric encoder is simple in process, and the initial phase can be accurately acquired. However, the absolute encoder has problems of protocol analysis and high price of the encoder itself, and thus, the absolute encoder cannot be used in many low-end automation devices.
Initial phase detection technology of incremental photoelectric encoder
Different from an absolute encoder, the incremental photoelectric encoder generates a pulse signal with level change through the position difference of code disc scribed lines, has a simple structure and can be miniaturized. The incremental photoelectric encoder is divided into two types according to the existence of a Hall sensor. When the incremental encoder without the Hall sensor is powered on, the initial phase of the rotor cannot be acquired. The incremental encoder with the Hall sensor can estimate the initial phase of the rotor through the state of the Hall sensor. The section analyzes and realizes the initial phase detection method of the incremental photoelectric encoder with the hall sensor, and the incremental photoelectric encoder is the hall sensor without special description.
Generally, an incremental photoelectric encoder with a hall sensor outputs A, B, Z, U, V, W signals in parallel, for example, a morhuan incremental encoder, hall signals are transmitted through 6 differential signal lines (U +, U-, V +, V-, W +, W), and a differential signal conversion module converts the hall signals into single-ended signals and transmits the single-ended signals to pins of a main control chip.
When the rotor rotates anticlockwise (CCW), the state of a Hall sensor UVW signal, and the detection system determines the rotor magnetic pole positioning code according to the level of the Hall UVW signal. The high level of the Z signal of the encoder appears at the rising edge of the hall U phase signal, and when a motor manufacturer produces the signal, the high level state of the Z signal is generally aligned with the position of the rotor electrical angle 0, and the relationship between the magnetic pole positioning code and the rotor position is shown in the table 3.1. When the detection system is powered on, the Hall sensor feeds back a Hall UWV signal according to the current position of the rotor, the main control chip judges the code corresponding to the magnetic pole of the rotor according to the level state of the pin corresponding to the U, V, W signal, the initial phase of the rotor is estimated by looking up a table 2.1, and the initial phase value of the rotor can be known from the table 2.1Electric angleAnd (4) error.
TABLE 2.1 relationship between magnetic pole positioning code and rotor position
Therefore, the Hall UVW phase signals fed back by the incremental encoder can estimate the initial phase of the rotor, but the estimation error is larger than that of the absolute encoder, and the detection system can accurately acquire the phase of the rotor when the rotor rotates to the position of the Z pulse signal. In the process of rotating the rotor from the initial position to the position of the Z pulse signal, the rotor phase is inaccurate, torque fluctuation can be caused, and the accuracy of the incremental encoder for detecting the initial phase needs to be improved.
Initial phase detection technology of arcsine approximation based on incremental encoder
The incremental photoelectric encoder without the Hall sensor cannot feed back the initial phase of the rotor, and the photoelectric encoder with the Hall sensor has the problem of large error of the estimated initial phase of the rotor. The incremental encoder serves as a speed feedback sensor of the servo system, a certain error exists in the rotor phase before the rotor passes a Z pulse zero point for the first time, and the rotor rotating speed can be accurately calculated through an AB pulse signal of the encoder. The invention provides a method for approximating an initial phase of a rotor by an arcsine with zero speed as a control target according to the characteristic that the rotation speed of the rotor calculated by an incremental encoder is irrelevant to the phase.
The method for approximating rotor phase by arcsine phase adopts speed closed loop and current closed loop to apply d-axis current vector idrefThe initial vector phase angle α is set to 0 °, as shown in fig. 2. The output of the velocity regulator is used as input to the phase correction and vector angle calculation module. The current loop adopts a closed loop control strategy, wherein the command torque current i'qrefIs set to 0. After the current vector is applied, the rotor generates micro motion, and the speed loop regulator with the command speed of 0 outputs a q-axis command current iqref. D-axis command current idrefAnd q-axis command current iqrefCalculating a phase correction angle alpha as an arcsine function inputn
Each phase correction angle is summed to be used as the next d-axis current vector phase angle alpha, when the d-axis current vector is applied, the rotor does not slightly move, and the phase angle alpha is considered to be kept for 0.5spstThe result is the detection result.
Conventional PID controller, setting command speed ωrefWhen the load torque of the motor is increased anticlockwise to cause the rotor to slightly move anticlockwise, the speed sensor feeds back omegaFdbIs greater than 0, is input into a PID controller through deviation calculation, and the PID controller outputs iqrefAnd < 0, namely applying reverse-phase electromagnetic torque to the motor to keep the system stable. i.e. iqrefThe magnitude of the amplitude is proportional to the deviation calculation.
The invention adopts a PID controller as a speed loop regulator, a PI controller is used as a current loop regulator, and an arcsine approaching initial phase implementation flow chart is shown in figure 3. For motors with different powers, the magnitude of the current vector I applied to the d axis is different, and the current vector I can be set according to the rated current of the motor, and the general setting range is 80-100% of the rated current.
According to the method, under the condition that the initial phase of the rotor is unknown, a d-axis current vector is introduced into a stator coil of the permanent magnet synchronous motor, the rotor rotates due to the phase difference between the phase of the rotor and the acting current vector, the PID output of a speed ring is used as the phase correction input, so that the d-axis current vector approaches the phase of the rotor, and the initial phase detection is completed. The phase angle approaching speed in the detection process is related to a speed loop PID parameter, the same rotor rotating speed fluctuates in the same motor device, the larger the gain of the speed loop is, the smaller the integral time constant is, the larger the output of the speed loop is, and the faster the phase angle correction is. The rotor rotation range of the rotor under the action of the current vector and the initial phase of the current vector are related to the initial phase difference of the rotor, and if the phase difference is large, the rotor fluctuation caused by detection is large, and even the initial phase of the rotor is seriously changed. Therefore, the method can approach the initial phase of the rotor, and compared with a pre-positioning method, the phase detection reduces the fluctuation range of the rotor, but the fluctuation range of the rotor in the detection process is not controllable. Aiming at the problem, phase search research is carried out, and the fluctuation range of the rotor in the initial phase detection process is reduced.
Dichotomy initial phase detection technology based on incremental encoder
Common search methods are sequential lookup, binary lookup, difference lookup, and fibonacci lookup. And sequentially searching voltage vectors which are sequentially applied within the range of the electrical angle [0,360 degrees ], judging whether the feedback value of the encoder changes after the voltage vectors are applied, and taking the electrical angle corresponding to the voltage vectors as the initial phase of the rotor when the feedback value of the encoder does not change. The time complexity of sequential search is O (n), n is an electric angle subdivision multiple, n voltage vectors are applied under the worst condition of sequential search, and the initial phase of the rotor is greatly changed under the action of the voltage vectors for multiple times.
The binary search method comprises the steps of firstly applying voltage vectors with an electrical angle of 0 degree and 180 degrees respectively, judging the electrical angle range (0,180 degrees) or (180 degrees and 360 degrees) of a rotor according to a feedback value of an encoder, then applying an intermediate voltage vector, and reducing the electrical angle range according to the encoder value variation condition under the action of the intermediate voltage vector, wherein the electrical angle corresponding to the voltage vector with the unchanged encoder value is used as the initial phase of the rotor. The time complexity of the binary search is O (log)2n), the number of applied voltage vectors in the searching process is small, and the operation is simple.
The worst case time complexity of the difference lookup method and the Fibonacci lookup method is O (log)2(log2n))、O(log2n), the search is faster relative to the dichotomy. In the phase searching process, the action time of each applied voltage vector is required to be the same as the amplitude of the voltage vector, and the electrical angle of the next applied voltage vector is judged according to the size and the positive and negative of the feedback value conversion of the encoder. However, the magnitude and the acting time of the applied voltage vector are difficult to select, and the rotor can rotate greatly when the applied voltage vector with the same magnitude is perpendicular to the position of the rotor within the same acting time. Therefore, this section adopts the dichotomy as the rotor initial phase search algorithm.
The dichotomy initial phase detection is based on a pre-positioning method, and the initial phase of the rotor is obtained by carrying out dichotomy search on the phase. And applying a voltage vector to a motor stator, rotating the rotor under the action of the voltage vector, and taking the increase and decrease of the feedback signal of the incremental encoder caused by the rotation of the rotor as a phase searching judgment condition to continuously narrow the phase range of the rotor so as to search and obtain the initial phase of the rotor.
Taking the initial phase of the rotor as 60 ° as an example, table 2.2 lists the relevant parameters for vector application. Applied voltage vector F1Then, the encoder value variation d < 0 can determine that the phase search interval is [0 °,180 ° ]]Calculating to obtain the next voltage vector angle of 90 degrees, and reducing the interval to be 0 degrees and 90 degrees according to the change quantity of the encoder value]. By analogy, after 8 voltage vectors are applied, the rotor initial phase is positioned to 60.46 °, at which point whether the binary method can continue to search depends on the incremental encoder line number.
TABLE 2.260 initial phase detection Process parameters
This section of the initial phase detection control scheme is modified based on current closed loop locked rotor position control as shown in fig. 4. By udApplied voltage vector, theta is given vector angle, feedback current vector I in figuresThe calculation formula is as follows.
In the dichotomy phase detection process, the rotor micromotion direction is judged through the AB pulse phase relation fed back by the encoder, and the rotor micromotion amplitude is obtained through counting the AB pulses. And setting PMSM as p-pair pole, and the number of orthogonal pulses generated by one rotation of the rotating shaft of the photoelectric encoder as m. The controller encoder signal processing circuit adopts a quadruple frequency circuit, namely 4m pulses can be generated when the rotor rotates by 360 degrees of mechanical angle. Each pulse corresponding to an electrical angle thetaminComprises the following steps:
after each application of a voltage vector, turnElectrical angle (delta theta) of sub-offset and encoder value variation dnOn the other hand, there are:
in the binary phase search, the magnitude of each applied voltage and the duration of the applied voltage are important, and if the magnitude of the applied voltage and the duration of the applied voltage are long, the rotor deviates from the initial phase, and if the applied voltage is small or the applied voltage is short, the encoder cannot detect the rotation of the rotor. In addition, due to the torque caused by the load and friction, the rotor is stressed differently at different initial phases. When the difference between the applied voltage vector electrical angle and the rotor phase is less than thetastminThe rotor does not generate a fine motion, and the encoder value variation is 0.
The present invention addresses this problem by the following approach. And gradually increasing the amplitude of the applied voltage vector, and simultaneously judging whether the feedback current condition and the encoder value change. If the rotor slightly moves in the process of increasing the voltage vector, the voltage vector is cancelled. If the feedback current vector reaches 100% of the rated current of the motor, the rotor does not rotate, namely d is 0, the current voltage vector angle is considered as the rotor position.
The flow of the dichotomy initial phase detection designed by the invention is shown in fig. 5, and the rotor phase interval is judged by applying a voltage vector with an electrical angle of 0. In the figure, the encoder value variation d is related to the type of the encoder, and the encoder is analyzed by adopting a multi-Morchuan province linear encoder, so that the encoder value is increased when a rotating shaft rotates anticlockwise. d is 0 and represents that the rotor does not move under the action of the current voltage vector, d>0 indicates that the rotor is jogging in the positive direction, d<The opposite is true at 0. Theta0Represents the left boundary of the dichotomy phase, θ2The right boundary, θ, representing the dichotomous phase1The intermediate value of the bisection phase interval, i.e., the electrical angle of the next applied voltage vector, is indicated. The encoder value variation corresponding to the search interval left boundary voltage vector is denoted as d0The encoder value variation amount corresponding to the intermediate voltage vector is d1By calculating d0*d1Whether or not less than 0, shrinkageSmall search interval, and calculating next voltage vector angle theta1. When the voltage vector θ is applied, if the encoder variation d is 0 and 1s is maintained, the rotor initial phase is θ, and the binary phase search is ended.
The applicant declares that the present invention illustrates the detailed structural features of the present invention through the above embodiments, but the present invention is not limited to the above detailed structural features, that is, it does not mean that the present invention must be implemented depending on the above detailed structural features. It should be understood by those skilled in the art that any modifications of the present invention, equivalent substitutions of selected components of the present invention, additions of auxiliary components, selection of specific modes, etc., are within the scope and disclosure of the present invention.
The preferred embodiments of the present invention have been described in detail, however, the present invention is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present invention within the technical idea of the present invention, and these simple modifications are within the protective scope of the present invention.
It should be noted that the various technical features described in the above embodiments can be combined in any suitable manner without contradiction, and the invention is not described in any way for the possible combinations in order to avoid unnecessary repetition.
In addition, any combination of the various embodiments of the present invention is also possible, and the same should be considered as the disclosure of the present invention as long as it does not depart from the spirit of the present invention.

Claims (4)

1. The utility model provides a PMSM initial phase position detecting system which characterized in that: the detection system includes: the device comprises a speed loop and current loop regulator module, a coordinate transformation module, a Space Vector Pulse Width Modulation (SVPWM) module, a three-phase inverter circuit module, a sensor and speed calculation module and a permanent magnet synchronous motor module;
the commanded speed ω ref, in combination with the speed feedback value, outputs a command through the automatic speed regulator ASR (au) of the speed loop and current loop regulator moduleA calibration regulator) outputs a q-axis command current iqrefD-axis command current idrefAnd q-axis command current iqrefRespectively combining the d-axis current response signal and the q-axis current response signal, and respectively outputting a q-axis voltage u through an automatic current regulator ACR (automatic current regulator) of the speed loop and current loop regulator moduleqD-axis voltage udQ-axis voltage uqD-axis voltage udObtaining voltage signals under an alpha-beta coordinate system through ipark transformation of the coordinate transformation module, obtaining six switching signals through the Space Vector Pulse Width Modulation (SVPWM) module by the voltage signals under the alpha-beta coordinate system, obtaining three-phase voltages ua, ub and uc by the six switching signals through the three-phase inverter circuit module, obtaining current signals under a two-phase static alpha-beta coordinate system through Clark (Clark) transformation of the coordinate transformation module by the output currents ia and ib corresponding to ua and ub, obtaining d-axis current response signals and q-axis current response signals under a rotor synchronous rotation d-q coordinate system through park transformation of the coordinate transformation module by the current signals under the two-phase static alpha-beta coordinate system, obtaining d-axis current response signals and q-axis current response signals under a rotor synchronous rotation d-q coordinate system through ipark transformation of the coordinate transformation module, obtaining d-axis current response signals, The q-axis current response signal is a current loop feedback signal;
and three-phase voltages ua, ub and uc generated by the three-phase inverter circuit module are used as input voltages of the permanent magnet synchronous motor module, the sensor and the speed calculation module are used for detecting the rotating speed and the rotor position of the permanent magnet synchronous motor module, and the speed feedback value is output.
2. The detection system of claim 1, wherein: the detection system further comprises a control unit;
the control unit initializes the detection system, and when t is 0, the control unit sets n to 0, α 0 to 0, and idref=I,iqref=0;
The control unit applies a d-axis voltage vector, the initial phase angle is alpha, and then whether the speed feedback value is 0 or not is judged; if the speed feedback value is not zero, making n equal to n +1 and correctingPhase angle α ═ α + α n, whereThen the control unit applies the d-axis voltage vector again, the phase angle is alpha + alpha n, the speed feedback value is judged again until the speed feedback value is 0, and the stabilization time t is more than 0.5 s; finally, the control unit outputs the corrected phase angle alpha;
where t is the stabilization time, n is a natural number, idrefIs d-axis command voltage, iqrefThe motor is a q-axis command voltage, I is a d-axis applied current vector, the magnitude of the applied current vector can be set according to the rated current of the motor, and the range of the applied current vector is 80% -100% of the rated current.
3. The detection system of claim 2, wherein: the system also includes an incremental encoder disposed between the sensor and speed calculation module and the PMSM module.
4. The detection system of claim 1, wherein: the sensor and speed calculation module comprises an incremental photoelectric sensor and an encoder value variation calculation module, and the detection system further comprises a control unit;
the control unit initializes the detection system to make theta0=0,n=0,θ=θ010; then, applying a voltage vector with an electrical angle theta and acquiring an encoder value variable d;
when d is not 0 and n is 0, judging whether d is greater than 0, if so, making theta0180 degrees, theta2360 degrees, d2 d 0-1, θ1270 degrees, n is n + 1; if less than 0, let θ0180 degrees, d0 d 2-1, θ190 degrees, n + 1; finally, let theta be equal to theta1Applying the voltage vector with the electrical angle theta again, acquiring the encoder value variable d, and judging again;
when d is not 0 and n is not 0, d1 is made to be d, whether d0 d1 is less than 0 is judged, and if d is less than 0, d is made to be dAt 0, theta2=θ1D2 ═ d 1; if greater than or equal to 0, θ0=θ1D0 ═ d 1; finally make theta1=(θ20)/2,θ=θ1Applying the voltage vector with the electrical angle theta again, acquiring the encoder value variable d, and judging again;
outputting the initial phase theta of the rotor until d is 0 and keeps 1 s;
wherein theta is0Represents the left boundary of the dichotomy phase, θ2The right boundary, θ, representing the dichotomous phase1The median value of the binary phase interval, i.e., the electrical angle of the next applied voltage vector, is represented by d0, d1, and d2, respectively, as the encoder value change amount corresponding to the left boundary voltage vector, the median voltage vector, and the right boundary voltage vector, respectively, of the search interval.
CN201911005867.5A 2019-10-22 2019-10-22 Permanent magnet synchronous motor initial phase detection system Pending CN110601633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911005867.5A CN110601633A (en) 2019-10-22 2019-10-22 Permanent magnet synchronous motor initial phase detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911005867.5A CN110601633A (en) 2019-10-22 2019-10-22 Permanent magnet synchronous motor initial phase detection system

Publications (1)

Publication Number Publication Date
CN110601633A true CN110601633A (en) 2019-12-20

Family

ID=68849957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911005867.5A Pending CN110601633A (en) 2019-10-22 2019-10-22 Permanent magnet synchronous motor initial phase detection system

Country Status (1)

Country Link
CN (1) CN110601633A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262495A (en) * 2020-03-20 2020-06-09 无锡市艾克特电气股份有限公司 Method for detecting initial rotor angle of permanent magnet synchronous motor of incremental encoder
CN114024483A (en) * 2021-11-10 2022-02-08 北京航空航天大学 Controller of linear motor transportation system based on FPGA
CN115441795A (en) * 2022-10-18 2022-12-06 合肥安迅精密技术有限公司 Initial electric angle positioning method and system of linear motor system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102969969A (en) * 2012-12-14 2013-03-13 北京精雕科技有限公司 Automatic phase hunting method used for permanent magnet synchronous servo motor
CN103401502A (en) * 2013-07-22 2013-11-20 深圳市汇川技术股份有限公司 System and method for identifying initial angle of permanent magnet synchronous motor
US20180167009A1 (en) * 2016-12-08 2018-06-14 Konica Minolta, Inc. Controller for permanent magnet synchronous motor, and control method for estimating initial position of rotor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102969969A (en) * 2012-12-14 2013-03-13 北京精雕科技有限公司 Automatic phase hunting method used for permanent magnet synchronous servo motor
CN103401502A (en) * 2013-07-22 2013-11-20 深圳市汇川技术股份有限公司 System and method for identifying initial angle of permanent magnet synchronous motor
US20180167009A1 (en) * 2016-12-08 2018-06-14 Konica Minolta, Inc. Controller for permanent magnet synchronous motor, and control method for estimating initial position of rotor

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
汪锴等: "基于渐近电压法的隐极式永磁同步电机转子初始位置检测", 《电机与控制应用》 *
黄巍等: "基于增量式光电编码器的永磁同步电机转子位置初始定位", 《伺服控制》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262495A (en) * 2020-03-20 2020-06-09 无锡市艾克特电气股份有限公司 Method for detecting initial rotor angle of permanent magnet synchronous motor of incremental encoder
CN111262495B (en) * 2020-03-20 2021-05-28 无锡市艾克特电气股份有限公司 Method for detecting initial rotor angle of permanent magnet synchronous motor of incremental encoder
CN114024483A (en) * 2021-11-10 2022-02-08 北京航空航天大学 Controller of linear motor transportation system based on FPGA
CN114024483B (en) * 2021-11-10 2024-04-09 北京航空航天大学 Linear motor transportation system controller based on FPGA
CN115441795A (en) * 2022-10-18 2022-12-06 合肥安迅精密技术有限公司 Initial electric angle positioning method and system of linear motor system

Similar Documents

Publication Publication Date Title
CN110729940A (en) Method for detecting initial phase of permanent magnet synchronous motor
US6081093A (en) Sensorless control method and apparatus of permanent magnet synchronous motor
CN101459407B (en) Initial position detection method for permanent magnet synchronous electric motor rotor
CN110601633A (en) Permanent magnet synchronous motor initial phase detection system
CN110212819B (en) Commutation error compensation method for high-speed brushless direct current motor
CN110798116B (en) Motor vector composite controller based on armature model independent feedforward compensation
CN101286725A (en) Deriving method of motor rotative velocity and location of rotor in synchronous electric machine vector control system
CN109217758B (en) Online identification method for rotary transformer zero point, motor controller and storage medium
Bašić et al. Speed-sensorless vector control of an induction generator including stray load and iron losses and online parameter tuning
CN110912486B (en) Method for starting permanent magnet synchronous motor and self-correcting rotor position
CN111337007A (en) Control moment gyro frame zero position stable positioning system and method
CN110601611A (en) Position-free control system for compensating back electromotive force constant of brushless direct current motor
Tatemarsu et al. New approaches with sensorless drives
Schmidt et al. Sensorless control of a permanent magnet synchronous machine down to near zero speed applied to position motion control
CN111817615A (en) Device and method for detecting position of rotor of high-speed permanent magnet synchronous motor
CN114157193B (en) Optimization interpolation type synchronous motor torque pulsation suppression control method and system
CN110649847A (en) Position-sensorless control method of PMSLM (permanent magnet synchronous Motor) at low-speed stage
CN115811260A (en) Rotary transformer zero point identification method and device of motor and computer storage medium
JP2004274855A (en) Method and device for detection and adjustment of rotor position
CN106849803B (en) Permanent Magnet Synchronous Motor estimation method is filtered based on edge particles are uniformly distributed
CN116365937A (en) Control method for high-speed permanent magnet synchronous motor without position sensor
CN112671296B (en) Method for detecting zero position of rotor of permanent magnet synchronous motor
CN111697895B (en) Zero-seeking control system and method under failure mode of absolute photoelectric encoder
Jing et al. Optimization of speed loop control technology for permanent magnet synchronous motor servo system
CN106549619B (en) A kind of control system for permanent-magnet synchronous motor accurately recognized based on speed

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220