CN203251268U - Permanent magnet synchronous motor control system based on automatic zero set of encoder - Google Patents
Permanent magnet synchronous motor control system based on automatic zero set of encoder Download PDFInfo
- Publication number
- CN203251268U CN203251268U CN 201320274723 CN201320274723U CN203251268U CN 203251268 U CN203251268 U CN 203251268U CN 201320274723 CN201320274723 CN 201320274723 CN 201320274723 U CN201320274723 U CN 201320274723U CN 203251268 U CN203251268 U CN 203251268U
- Authority
- CN
- China
- Prior art keywords
- rotor
- unit
- encoder
- zero
- module
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Control Of Ac Motors In General (AREA)
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
The utility model discloses a permanent magnet synchronous motor control system based on automatic zero set of an encoder. The system is characterized by comprising an increment type encoder, a stator current acquisition unit, a zero detection unit, a rotor information calculating unit, a control unit and a modulation unit. The increment type encoder is connected with the zero detection unit and the rotor information calculating unit; the stator current acquisition unit is connected with the zero detection unit and the control unit; the zero detection unit is connected with the rotor information calculating unit, the control unit and the modulation unit; the rotor information calculating unit is connected with the control unit; the control unit is connected with the modulation unit; the increment type encoder is arranged on a main shaft of the motor; the stator current acquisition unit is connected with a three-phase winding of the motor stator; the modulation unit provides PW signals for a motor inverter through a drive circuit.
Description
Technical field
The utility model belongs to the electric machines control technology field, is specifically related to a kind of method for controlling permanent magnet synchronous motor based on encoder automatic zero set and system.
Background technology
Along with developing rapidly of science and technology, servo-control system obtains using very widely in many high-tech areas, such as robot control, Digit Control Machine Tool, large scale integrated circuit manufacturing, office automation, flexible manufacturing system, Aero-Space, radar and various military weapon system for tracking etc.Servo system is used permagnetic synchronous motor more in the market, and will realize that the high accuracy control of high-performance permanent magnet synchronous servo system need to obtain rotor-position signal constantly.The main method that existing permanent magnet synchronous servo motor rotor-position detects can be divided into mechanical position sensor and sensorless detection two large classes.Wherein mechanical pick-up device mainly contains resolver method, photoelectric encoder method (absolute type and increment type).Mainly contain the high order harmonic component injection method without sensor method, based on back-emf detection method etc.But these methods respectively have its weak point:
The voltage signal that the output of resolver method is relevant with rotor-position need to carry out demodulation for obtaining rotor-position, and the dedicated decoders of using is expensive; The absolute optical encoder detection method can be exported the multidigit binary system, and the multidigit binary system is corresponding one by one with rotor-position, but photoelectric encoder code-disc road number is limited, and positioning accuracy is received very large impact.The parallel transmission of synchronous signal goes between more, increases the system complex degree, reduces system reliability.
The incremental optical-electricity encoder detection method is the highest method of Vehicles Collected from Market employing rate, and it has the characteristics such as positioning accuracy is high, algorithm application is ripe, and is with low cost.But the method output is not the rotor absolute position signal, therefore needs before use artificial zeroing.The method that at present artificial zeroing is adopted is to apply the specific voltage vector to permagnetic synchronous motor, it is fixed on the fixed position after, repeatedly adjust by observing encoder output U phase signals and Z pulse signal.Not only step is numerous and diverse, needs additional means, simultaneously operating personnel is also had certain specification requirement.Do not apply the specific voltage vector in the situation that know original position of electric motor's rotator in addition, the situation of rotor counter-rotating can occur.This does not allow to occur in a part of permagnetic synchronous motor.
Though the back-emf detection method need not increase extras, its poor robustness, high to the requirement of current detecting equipment accuracy, more fatal is under low speed and zero-speed operation, can't accurately obtain motor rotor position.
Yan Shuai etc. are permanent magnet ac servo system and Advanced Control Strategies research (Harbin Institute of Technology's doctorate paper thereof at title, pp.11-12, in April, 2009) document has been pointed out the application of High Frequency Injection, solved the problem of low speed lower rotor part position probing, but when detection signal, not only require high to hardware device, while many places on signal is processed use band pass filter and synchronizing shaft is high pass filter, can introduce certain time lag and phase place hysteresis, can not finely satisfy high accuracy SVPWM(space vector pulse width modulation) the control requirement, concurrently injected high-frequency signal is in operation and can introduces larger noise.
Summary of the invention
For the existing above-mentioned technical problem of prior art, the utility model provides a kind of method for controlling permanent magnet synchronous motor based on encoder automatic zero set and system, need not to carry out the encoder hand reset, accurately the detection rotor position.
A kind of method for controlling permanent magnet synchronous motor based on encoder automatic zero set comprises the steps:
(1) the threephase stator electric current of collection motor, utilize incremental encoder to obtain rotor-position delta pulse signal and the rotor Z pulse signal of motor, and the threephase stator electric current is carried out the Clarke conversion obtain the component of threephase stator electric current under the alpha-beta rest frame;
(2) carry out the encoder zero testing according to component and described rotor-position delta pulse signal and the rotor Z pulse signal of threephase stator electric current under the alpha-beta rest frame, obtain encoder zero compensation amount;
(3) according to rotor-position delta pulse signal, rotor Z pulse signal and encoder zero compensation amount, calculate rotor position angle and the rotating speed of motor;
(4) for first control cycle, the autonomous α axle component U of formation voltage instruction under the alpha-beta rest frame
α 1With beta-axis component U
β 1, and then obtain one group of pwm signal so that motor inverter is controlled by the SVPWM technical construction;
For second control cycle, according to the component of threephase stator electric current under the alpha-beta rest frame, extract the just angle measurement of rotor-position of motor; According to the first α axle component U of angle measurement formation voltage instruction under the alpha-beta rest frame of rotor-position
α 2With beta-axis component U
β 2, and then obtain one group of pwm signal so that motor inverter is controlled by the SVPWM technical construction;
For after other control cycles, according to the rotor position angle of motor and rotating speed by motor control strategy, the α axle component U of formation voltage instruction under the alpha-beta rest frame
αWith beta-axis component U
β, and then obtain one group of pwm signal so that motor inverter is controlled by the SVPWM technical construction.
In the described step (2), carry out by the following method the encoder zero testing:
A1. according to the component of threephase stator electric current under the alpha-beta rest frame, extract the just angle measurement of rotor-position of motor;
A2. the position of magnetic pole identification is carried out in component and the just angle measurement of described rotor-position under the alpha-beta rest frame according to the threephase stator electric current, generates initial position angle of rotor;
A3. pass through the rotor positioning mode according to initial position angle of rotor, determine rotor location voltage vector and the electrical degree under the three phase static coordinate system thereof;
A4. according to rotor-position delta pulse signal, rotor Z pulse signal and the electrical degree of rotor location voltage vector under the three phase static coordinate system, calculate encoder zero compensation amount.
The specific implementation of described steps A 3 rotor positioning modes is as follows: at first, determine motor inverter voltage vector to the motor input under various switch combinations in the three phase static coordinate system; Then, determine the position vector of initial position angle of rotor correspondence in the three phase static coordinate system; At last, getting this position vector is rotor location voltage vector along the immediate voltage vector of coordinate para-electric machine direct rotational direction.
In the described steps A 4, according to following formula calculation code device zero compensation amount:
Wherein: N is encoder zero compensation amount, θ
eBe the electrical degree of rotor location voltage vector under the three phase static coordinate system, p is the number of pole-pairs of motor, Q is the grid sum of encoder, the pulse tale that M occurs for the time period internal rotor positional increment pulse signal of exporting first rotor Z pulse signal from electric motor starting to encoder.
In the described step (3), calculate rotor position angle and the rotating speed of motor according to following formula:
Wherein: θ
rAnd ω
rBe respectively rotor position angle and rotating speed, t is the time, and p is the number of pole-pairs of motor, and Q is the grid sum of encoder, and X is for exporting arbitrary rotor Z pulse signal to the pulse tale of the time period internal rotor positional increment pulse signal appearance of current time from encoder.
In the described step (4), for first control cycle, the autonomous α axle component U of formation voltage instruction under the alpha-beta rest frame
α 1With beta-axis component U
β 1U
α 1=U
β 1=U
mCos ω
hT, U
mAnd ω
hBe respectively default voltage magnitude and electric voltage frequency, t is the time.
In the described step (4), for second control cycle, according to the component of threephase stator electric current under the alpha-beta rest frame, extract the just angle measurement of rotor-position of motor; According to just angle measurement of rotor-position to the d axle component U of voltage instruction under the d-q rotating coordinate system
dWith q axle component U
qCarry out the Park inverse transformation, obtain the α axle component U of voltage instruction under the alpha-beta rest frame
α 2With beta-axis component U
β 2U
d=U
mCos ω
Ht, U
q=0, U
mAnd ω
hBe respectively default voltage magnitude and electric voltage frequency, t is the time.
Preferably, in the described step (4), for after other control cycles, according to the rotor position angle of motor and rotating speed by Magnetic Field Oriented Control Strategies, the α axle component U of formation voltage instruction under the alpha-beta rest frame
αWith beta-axis component U
βThis control strategy is constant by the excitation component of keeping stator current, the torque component of control electric current, and the linear Torque Control of realization motor has good dynamic, accurate speed control; The optimal control current phasor obtains the maximum moment under the lowest loss, makes permagnetic synchronous motor obtain peak performance in whole speed range.
A kind of control system for permanent-magnet synchronous motor based on encoder automatic zero set comprises:
Incremental encoder is for the rotor-position delta pulse signal and the rotor Z pulse signal that gather motor;
The stator current collecting unit be used for to gather motor threephase stator electric current, and described threephase stator electric current is carried out the Clarke conversion obtains the component of threephase stator electric current under the alpha-beta rest frame;
The zero testing unit, be used for carrying out the encoder zero testing according to component and described rotor-position delta pulse signal and the rotor Z pulse signal of threephase stator electric current under the alpha-beta rest frame, obtain encoder zero compensation amount and initial voltage instruction;
Rotor information calculations unit is used for according to rotor-position delta pulse signal, rotor Z pulse signal and encoder zero compensation amount, calculates rotor position angle and the rotating speed of motor;
Control unit is used for according to component and described rotor position angle and the rotating speed of threephase stator electric current under the alpha-beta rest frame, constructs the control voltage instruction by motor control strategy;
Modulating unit is used for obtaining one group of pwm signal so that motor inverter is controlled according to described initial voltage instruction or control voltage instruction by the SVPWM technical construction.
Wherein, incremental encoder links to each other with rotor information calculations unit with the zero testing unit, the stator current collecting unit links to each other with control unit with the zero testing unit, the zero testing unit links to each other with modulating unit with rotor information calculations unit, control unit, rotor information calculations unit links to each other with control unit, and control unit links to each other with modulating unit; Incremental encoder is located on the electric machine main shaft, and the stator current collecting unit is connected with motor stator three phase windings, and modulating unit provides pwm signal by drive circuit for motor inverter.
Described zero testing unit comprises:
Rotor-position Preliminary detection module is used for according to the component of threephase stator electric current under the alpha-beta rest frame, extracts the just angle measurement of rotor-position of motor;
Initial order generation module is used for autonomous generation initial voltage instruction or just angle measurement generates the initial voltage instruction according to described rotor-position;
The position of magnetic pole recognition module is used for according to the threephase stator electric current component and the just angle measurement of described rotor-position under the alpha-beta rest frame and carries out the position of magnetic pole identification, generates initial position angle of rotor;
The rotor locating module is used for passing through the rotor positioning mode according to initial position angle of rotor, determines rotor location voltage vector and the electrical degree under the three phase static coordinate system thereof;
The zero compensation module is used for calculating encoder zero compensation amount according to rotor-position delta pulse signal, rotor Z pulse signal and the electrical degree of rotor location voltage vector under the three phase static coordinate system.
Wherein, rotor-position Preliminary detection module links to each other with the position of magnetic pole recognition module with stator current collecting unit, initial order generation module, initial order generation module links to each other with modulating unit, the position of magnetic pole recognition module links to each other with the rotor locating module, the rotor locating module links to each other with control unit with the zero compensation module, and the zero compensation module links to each other with rotor information calculations unit with incremental encoder.
The beneficial effects of the utility model are:
(1) the utility model adopts improved high frequency signal injection method detection rotor initial position, and clear and definite rotor initial alignment conveniently applies directional vector, avoids occuring the rotor reversal development;
(2) the utility model rotor locating module is chosen the voltage vector the most close with this position and is applied after obtaining initial position of rotor, to avoid that back and forth oscillatory occurences of rotor occurs when locating;
(3) the utility model carries out the encoder zero compensation automatically, and offset is carried out convenient storage directly call in the future, saves the trouble of artificial zeroing; In case need calibration or rezeroing, only need utilize this device operation once, encoder is accurate zero adjustment again just in the future, and process is easy, and accuracy is high.
(4) the utility model only injects high-frequency voltage signal before the rotor initial alignment, can not bring phase place to lag behind and time lag to system's operation, and the introducing noise more can not be in operation.
Description of drawings
Fig. 1 is the structural representation of the utility model permagnetic synchronous motor and control system thereof.
Fig. 2 is the structural principle schematic diagram of rotor-position Preliminary detection module.
Fig. 3 is the structural principle schematic diagram of position of magnetic pole recognition module.
Fig. 4 is the vector schematic diagram that the rotor locating module carries out the rotor location.
Fig. 5 is the schematic diagram of encoder capable of automatic performing zero compensation.
Embodiment
In order more specifically to describe the utility model, below in conjunction with the drawings and the specific embodiments the technical solution of the utility model and operation principle thereof are elaborated.
The control object of present embodiment is the permagnetic synchronous motor system, and it comprises direct voltage source, three-phase inverter and permagnetic synchronous motor; Powered by direct voltage source, by three-phase inverter, direct current is become alternating current and link to each other with the permanent-magnetic synchronous motor stator input behind the direct voltage source output terminal electric capacity of voltage regulation in parallel.Three-phase inverter is comprised of power switch pipe and fly-wheel diode, and some power switch pipe contains fly-wheel diode, then can omit independently fly-wheel diode and uses built-in fly-wheel diode.
As shown in Figure 1, a kind of control system for permanent-magnet synchronous motor based on encoder automatic zero set comprises: incremental encoder, stator current collecting unit, zero testing unit, rotor information calculations unit, control unit and modulating unit; Wherein:
Incremental encoder is used for gathering the rotor-position delta pulse signal θ of motor
iWith rotor Z pulse signal z, it is installed on the electric machine main shaft; It is the incremental optical-electricity encoder of TS6014N135 that the present embodiment incremental encoder adopts the Japanese river company model of rubbing more.
The stator current collecting unit is used for gathering motor threephase stator current i
a~i
c, and to the threephase stator current i
a~i
cCarry out the Clarke conversion and obtain the component i of threephase stator electric current under the alpha-beta rest frame
α, i
βThe stator current collecting unit is by structures such as Hall current sensors; The transformation matrix of Clarke conversion is as follows:
The zero testing unit is used for according to the component i of threephase stator electric current under the alpha-beta rest frame
α, i
βAnd rotor-position delta pulse signal θ
iZ carries out the encoder zero testing with rotor Z pulse signal, obtains encoder zero compensation amount N and initial voltage instruction; In the present embodiment, the zero testing unit adopts DSP, is loaded with rotor-position Preliminary detection module, initial order generation module, position of magnetic pole recognition module, rotor locating module and zero compensation module on the DSP; Wherein:
Rotor-position Preliminary detection module is used for according to the component i of threephase stator electric current under the alpha-beta rest frame
α, i
β, the rotor-position that extracts motor is angle measurement θ just
0, specific implementation as shown in Figure 2;
Stator voltage equation and the magnetic linkage equation of permagnetic synchronous motor under the d'q' coordinate system of any two-phase is respectively:
In above-mentioned two formulas, u
d', u
q' be the axial voltage of stator dq under any two-phase d'q' coordinate system; Ψ
d', Ψ
q' be dq axle magnetic linkage in the motor under any two-phase d'q' coordinate system; i
d', i
q' be the stator dq shaft current under any two-phase d'q' coordinate system; Ψ
fBe the rotor permanent magnet magnetic linkage; P is differential operator, L
S0Be coefficient of self-inductance mean value, L
S2Be coefficient of self-inductance 2 subharmonic amplitudes, θ ' is the angle between the α axle (being the phase axle of A phase) in d' axle and static two phase coordinate systems; θ is the angle of rotor permanent magnet and α axle, also is the angle of d axle and α axle.When to motor stator α, the β axle injects high-frequency voltage signal u
α 1=u
β 1=U
mCos ω
hBehind the t, obtain the current i under the stator three phase static coordinate system
a, i
b, after the Clarke conversion, obtain α, the current i under the β two-phase rest frame
α, i
β:
With above-mentioned two electric currents respectively with sin ω
hT does product calculation, and with resulting two signals after the computing by after the filter elimination high fdrequency component, obtain two α that the amplitude size is subjected to the rotor-position modulation, the amplitude signal I under the β two-phase rest frame
α, I
β:
Again above-mentioned amplitude signal is deducted respectively the direct current biasing component
After, and definition
Can obtain:
At last, obtain I by two current signal amplitudes that will obtain after divided by k
α θ/ k, I
β θ/ k., under the condition between 0~π, according to the size of above-mentioned two signal values, find the solution the result that inverse function obtains and be preliminary survey rotor-position signal θ at hypothesis electrical degree θ
0
Initial order generation module is for autonomous generation initial voltage instruction or according to the first angle measurement θ of rotor-position
0Generate the initial voltage instruction; For first control cycle, the α axle component u of the autonomous formation voltage instruction of initial order generation module under the alpha-beta rest frame
α 1With beta-axis component u
β 1, u
α 1=u
β 1=U
mCos ω
hT, U
mAnd ω
hBe respectively default voltage magnitude and electric voltage frequency; For second control cycle, initial order generation module is according to the first angle measurement θ of rotor-position
0To the d axle component u of voltage instruction under the d-q rotating coordinate system
dWith q axle component u
qCarry out the Park inverse transformation, obtain the α axle component u of voltage instruction under the alpha-beta rest frame
α 2With beta-axis component u
β 2u
d=U
mCos ω
hT, u
q=0; In the present embodiment, U
m=40V, ω
h=400Hz.
The transformation matrix of Park inverse transformation is as follows:
The position of magnetic pole recognition module is used for according to the component i of threephase stator electric current under the alpha-beta rest frame
α, i
βAnd the first angle measurement θ of rotor-position
0Carry out the position of magnetic pole identification, generate initial position angle of rotor θ, specific implementation as shown in Figure 3;
When rotor-position Preliminary detection module is extracted just measured value θ of initial position of rotor
0After, initial order generation module is according to θ
0And given appropriate voltage amplitude U
mAnd electric voltage frequency ω
h, only (the A axle rotates θ along positive direction to permagnetic synchronous motor d' axle
0Rear residing position) injects initial voltage instruction, i.e. u
d'=U
mCos ω
hT, u
qD' shaft current i under the two-phase synchronous rotating frame is detected and be converted in '=0
d':
Work as ω
hDuring the t=pi/2, u
d' (pi/2)=0, i
d' (pi/2)=U
m/ (L
S0+ L
S2) ω
h=I
1, record d' shaft current this moment amplitude | I
1|; Work as ω
hDuring the t=3 pi/2, u
d' (pi/2)=0, i
d' (pi/2)=-U
m/ (L
S0+ L
S2) ω
h=-I
2, record d' shaft current this moment amplitude | I
2|.If in the interval that the rotor magnetic pole direction is supposed, work as ω when using look-up table before
hDuring the t=pi/2, the magnetic potential that stator current produces is consistent with d axle positive direction, and magnetic circuit is saturated, stator d axle inductance L
S0+ L
S2Diminish, | I
1| larger; Work as ω
hDuring the t=3 pi/2, the magnetic potential that stator current produces is opposite with d axle positive direction, and magnetic circuit moves back saturated, L
S0+ L
S2Become large, | I
2| less, therefore | I
1| | I
2|; If the rotor magnetic pole direction not in the hypothesis interval, namely the actual rotor position with the position of preliminary survey position opposite.Work as ω
hDuring the t=pi/2, the magnetic potential that stator current produces is opposite with the d direction of principal axis, and magnetic circuit moves back saturated, stator d axle inductance L
S0+ L
S2Become large, | I
1| less; Work as ω
hDuring the t=3 pi/2, | I
2| larger.Therefore have | I
1|<| I
2|.Show that the real positive direction of d axle is opposite with hypothesis, θ
0Add electrical degree π.
Record respectively ω
hT=pi/2 and ω
hTwo moment of t=3 pi/2 d shaft current, through behind the filter filtering, to two current amplitudes | I
1|, | I
2| carry out size relatively, just obtained the identification result θ of rotor magnetic pole position.
The rotor locating module is used for passing through the rotor positioning mode according to initial position angle of rotor θ, determines rotor location voltage vector and the electrical degree θ under the three phase static coordinate system thereof
eThe specific implementation of rotor positioning mode as shown in Figure 4; At first, in the three phase static coordinate system, determine motor inverter voltage vector to the motor input under various switch combinations; Among the figure with three reference axis of the solid line vector representation motor three phase static coordinate system of three letters of ABC, solid line vector representation rotor magnetic pole N utmost point present position (being position vector corresponding to initial position angle of rotor θ) with alphabetical d, the numbered dotted line vector representation of other 12 bands three-phase inverter power switch can be to the voltage vector of permanent-magnetic synchronous motor stator end input lower of different conductings and shutoff combination, the wherein upper pipe conducting of this phase of "+" expression inverter in the subscript of letter, this voltage vector that applies mutually is same with this phase axle positive direction; The lower pipe conducting of this phase of "-" expression inverter in the subscript of letter, this voltage vector that applies mutually is opposite with this phase axle positive direction; Do not have certain mutually letter represent that then this phase does not apply voltage; The voltage vector that finally is applied to stator terminal be applied to each phase voltage vector vector and.After the rotor locating module obtained initial position of rotor θ, getting initial position angle of rotor θ corresponding position vector in the three phase static coordinate system was rotor location voltage vector along the immediate voltage vector of coordinate para-electric machine direct rotational direction.
The zero compensation module is used for according to rotor-position delta pulse signal θ
i, the electrical degree θ of rotor Z pulse signal z and rotor location voltage vector under the three phase static coordinate system
e, calculate encoder zero compensation amount N.Fig. 5 is the schematic diagram that the zero compensation module realizes automatic zero compensation; Under normal circumstances, after manually returning to zero, the grid of Z pulse signal overlaps with rotor d axle on the code-disc, the encoder light-sensitive element, and photoelectric receiving tube overlaps with stator A axle.In service at motor, when the rotor N utmost point turns to and just overlaps with stator A axle, encoder output Z pulse signal.The Z pulse signal that the controller utilization is caught carries out the zero clearing of all countings: being clear and definite absolute position on the one hand, is to eliminate accumulated error on the other hand.And correspond in the present embodiment, as shown in Figure 5, after encoder was installed arbitrarily, fixing light-sensitive element and stator A axle had a fixed angle poor, and Z pulse signal grid also has a fixed angle poor with rotor d axle on the code-disc.D axle position is that controller applies the rotor-position after rotor location voltage vector is finished the rotor location among the figure, this electrical degree can convert by location voltage vector numbering n and obtain, and it is K that definition is changed the corresponding encoder output pulsimeter quantity that changes into this electrical degree, and concrete reduction formula is:
θ
eBe the electrical degree of rotor location voltage vector under the three phase static coordinate system, p is the number of pole-pairs of motor, and Q is the grid sum of encoder; In the present embodiment, p=4, Q=2500.
Z pulse grid and the residing relative position of armature spindle on the Z presentation code device code-disc among Fig. 5.Z' is for when rotor d axle (representing the rotor magnetic pole N utmost point with this) just in time overlaps with stator A axle, and encoder Z pulse grid is being followed rotor and rotated the position that arrives.Encoder carries out automatic zero compensation, namely require to realize carving at this moment output Z pulse signal, and corresponding to the encoder to count value, then to require this moment count value be 0 just.Reach the rotor magnetic pole N utmost point take this and turn to that count value plays the effect of similar encoder output Z pulse as 0 when overlapping with stator A axle.Corresponding compensation numerical value is the corresponding counted number of pulses N of angle between light-sensitive element and Z' among the figure.Be that count value needs to add zero compensation value N on the initial value basis, when rotor magnetic pole overlaps with the A axle, count value reaches lower null value corresponding to count value of conventional artificial zeroing, is equivalent to the Z pulse signal occur this moment, and control unit can carry out zero clearing work at this moment.Concrete methods of realizing is as follows: after finish the rotor location, and the electrical degree θ among Fig. 5
eKnown, be converted into corresponding counted number of pulses K; Motor is starting operation after the zero clearing of encoder pulse count value, and the zero compensation module records is exported delta pulse signal and the counting that sends between the Z pulse signal in the process from the electric motor starting to the encoder, obtains count value M; Encoder zero compensation value N equals M and adds K:
Wherein: the pulse tale that M occurs for the time period internal rotor positional increment pulse signal of exporting first rotor Z pulse signal from electric motor starting to encoder.
Rotor information calculations unit is used for according to rotor-position delta pulse signal θ
i, rotor Z pulse signal and encoder zero compensation amount N, calculate the rotor position angle θ of motor by following formula
rAnd rotational speed omega
r
Wherein: X is for exporting arbitrary rotor Z pulse signal to the pulse tale of the time period internal rotor positional increment pulse signal appearance of current time from encoder.
If the grid of incremental optical-electricity encoder adds up to Q, in frequency division situation not, the controller paired pulses carries out by the counting between-Q/2~Q/2.When capturing the Z pulse signal, counter zero setting begins counting.Its corresponding real rotor-position should be on the present count value X basis adds N, when count value X reaches Q/2-N, jumps to-Q/2-N begins to give counting, count value X equals-during N then the respective rotor magnetic pole N utmost point overlap with stator A axle.
Control unit is used for according to the component i of threephase stator electric current under the alpha-beta rest frame
α, i
βAnd rotor position angle θ
rAnd rotational speed omega
r, (be i by Magnetic Field Oriented Control Strategies
d *=0) constructs control voltage instruction u
α~u
βControl unit utilizes θ
rTo current value i under the two-phase rest frame
α, i
βDo the Park conversion, and with the i that obtains
d, i
q, ω
rBe input to adjuster after making comparisons with specified rate.Adjuster is through processing output control voltage signal u
α~u
βTo modulating unit, modulating unit is according to initial voltage instruction or control voltage instruction U
α~U
βProduce the conducting of pwm pulse signal control three-phase inverter power switch or close by the SVPWM technical construction, apply thus the control voltage vector to the motor stator end, the high accuracy that reaches motor is controlled.In the present embodiment, rotor information calculations unit, control unit and modulating unit are all realized by programming under the DSP platform.
Present embodiment realize initial position of rotor detect with the automatic zero compensation of encoder concrete steps as follows:
(1) controller is got and is decided appropriate voltage amplitude U
mAnd electric voltage frequency ω
h, to stator two-phase static coordinate axle α, the β axle injects high-frequency voltage signal, u
α 1=u
β 1=U
mCos ω
hT.Modulating unit is according to the voltage signal u of initial order generation module output
α 1, u
β 1, adopt space vector width pulse modulation method output PWM trigger impulse control three-phase inverter output three-phase voltage vector, be input to the motor stator end.
(2) detect motor stator end current i
a~i
c, rotor-position Preliminary detection module is obtained through the i after the Clarke conversion
α, i
β, and carry out current amplitude and obtain and the processing such as angle information demodulation, obtain just measured value θ of initial position of rotor
0
(3) stop high-frequency voltage signal in the motor implantation step (1).Initial order generation module detects the first measured value θ of the initial position of rotor that obtains according to step (2)
0And given voltage magnitude U
mAnd electric voltage frequency ω
h, change that only (the A axle rotates θ along positive direction to permagnetic synchronous motor d' axle into
0Residing position) injects high-frequency voltage signal, i.e. u
d=U
mCos ω
hT, u
q=0.Be input to the u in the SVPWM module
α 2, u
β 2For utilizing θ
0To above-mentioned u
d, u
qCarry out Park inverse transformation income value.
(4) detect motor stator end current i
a~i
c, the position of magnetic pole recognition module is obtained through the i after the Clarke conversion
α, i
β, this moment, rotor-position Preliminary detection module was no longer carried out obtaining of current signal.The position of magnetic pole recognition module is with the i that obtains
α, i
βCarry out again obtaining after the Park conversion d shaft current i under the two-phase synchronous rotating frame
dRecord ω
hT=pi/2 and ω
hThe d' shaft current amplitude of inscribing during two of t=3 pi/2s | I
1| and | I
2|.By comparing the size of two current amplitudes, rotor magnetic pole position is carried out identification, determine that initial position of rotor θ equals θ
0Still equal θ
0+ π.
(5) stop to inject high frequency voltage to motor, i.e. initial order generation module is no longer to the instruction of modulating unit input initial voltage.The rotor locating module utilizes the initial position of rotor signal θ of position of magnetic pole recognition module output to judge between the rotor location, and output should apply the electrical degree θ of rotor location voltage vector
eTo control unit and zero compensation module.
(6) control unit sends signal according to the rotor location voltage signal that the rotor locating module sends to modulating unit, the conducting of output PWM start pulse signal control three-phase inverter power switch pipe is with closed, apply the location voltage vector to the motor stator end, make rotor navigate to ad-hoc location.Location voltage vector application time continues 3~4s, has been fixed on ad-hoc location to guarantee rotor.After location voltage applied enough time, the zero compensation module was forced zero clearing to the count value of encoder pulse count device.
(7) utilize i
d *=0 field orientation control theory makes motor start applying under the electromagnetic field vertical with rotor permanent magnet magnetic field, and moves in conjunction with incremental optical-electricity encoder output increment pulse enable signal motor stabilizing.Encoder zero compensation module is counted the delta pulse of output simultaneously, and whether detection has encoder Z pulse signal to send.
(8) when detecting encoder and export first Z pulse signal, control unit is no longer exported control signal, and the motor stator end no longer includes the voltage input.Simultaneously, the counted number of pulses M of this moment under the encoder zero compensation module records, electrical degree in conjunction with rotor location voltage vector can be finished encoder zero-bit auto-compensation, the encoder delta pulse count value that obtains after in conjunction with encoder zero-bit self compensation value N by rotor coherent signal acquiring unit in the future using can obtain with the Z pulse signal and the artificial zeroing of routine under identical position probing result.
Adopt present embodiment to obtain initial position of rotor by twice high frequency signal injection, under non-high accuracy hardware detection condition, utilize software to realize, algorithm is simple; Carry out the rotor location according to the rotor initial bit, do not cause the counter-rotating of rotor and back and forth concussion; Encoder self study process implementation is installed arbitrarily the automatic zero compensation of lower encoder, save numerous and diverse step of artificial zeroing position, increase encoder zero-bit self compensation module on the original system basis, start as required, do not increase system's extras and complexity, improve the stability of a system with maintainable.
Claims (3)
1. the control system for permanent-magnet synchronous motor based on encoder automatic zero set is characterized in that, comprising: incremental encoder, stator current collecting unit, zero testing unit, rotor information calculations unit, control unit and modulating unit; Wherein, incremental encoder links to each other with rotor information calculations unit with the zero testing unit, the stator current collecting unit links to each other with control unit with the zero testing unit, the zero testing unit links to each other with modulating unit with rotor information calculations unit, control unit, rotor information calculations unit links to each other with control unit, and control unit links to each other with modulating unit; Incremental encoder is located on the electric machine main shaft, and the stator current collecting unit is connected with motor stator three phase windings, and modulating unit provides pwm signal by drive circuit for motor inverter.
2. control system for permanent-magnet synchronous motor according to claim 1, it is characterized in that: described zero testing unit comprises: rotor-position Preliminary detection module, initial order generation module, position of magnetic pole recognition module, rotor locating module and zero compensation module; Wherein, rotor-position Preliminary detection module links to each other with the position of magnetic pole recognition module with stator current collecting unit, initial order generation module, initial order generation module links to each other with modulating unit, the position of magnetic pole recognition module links to each other with the rotor locating module, the rotor locating module links to each other with control unit with the zero compensation module, and the zero compensation module links to each other with rotor information calculations unit with incremental encoder.
3. control system for permanent-magnet synchronous motor according to claim 1 and 2 is characterized in that: described zero testing unit employing DSP.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201320274723 CN203251268U (en) | 2013-05-17 | 2013-05-17 | Permanent magnet synchronous motor control system based on automatic zero set of encoder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201320274723 CN203251268U (en) | 2013-05-17 | 2013-05-17 | Permanent magnet synchronous motor control system based on automatic zero set of encoder |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203251268U true CN203251268U (en) | 2013-10-23 |
Family
ID=49377682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201320274723 Expired - Fee Related CN203251268U (en) | 2013-05-17 | 2013-05-17 | Permanent magnet synchronous motor control system based on automatic zero set of encoder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203251268U (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104831010A (en) * | 2015-05-12 | 2015-08-12 | 四川省达州钢铁集团有限责任公司 | Method for protecting gear of blast furnace encoder |
CN105668286A (en) * | 2016-03-31 | 2016-06-15 | 四川大学 | Three-stage synchronous alignment control method |
CN106026821A (en) * | 2016-05-16 | 2016-10-12 | 安徽大学 | Delta connection PMSM (permanent magnet synchronous motor) stator winding resistive unbalance fault diagnosis method |
CN104270042B (en) * | 2014-09-24 | 2017-02-15 | 深圳市正弦电气股份有限公司 | Automatic learning method and system for servo motor encoder deviation angle |
CN106992730A (en) * | 2017-04-07 | 2017-07-28 | 福建睿能科技股份有限公司 | A kind of method, servo-driver and the servomotor of the setting of motor encoder zero-bit |
CN108199636A (en) * | 2017-12-28 | 2018-06-22 | 江苏集萃智能制造技术研究所有限公司 | A kind of motor initial angle localization method based on vector control strategy |
CN110086399A (en) * | 2019-05-13 | 2019-08-02 | 郑州大学 | A kind of permanent-magnet synchronous motor rotor position compound detection and starting operation method |
CN110567495A (en) * | 2019-08-26 | 2019-12-13 | 中国美术学院 | Three-state value coding method and coder thereof |
CN111811544A (en) * | 2020-07-09 | 2020-10-23 | 赛卓微电子(深圳)有限公司 | Method for zeroing incremental encoder IC |
-
2013
- 2013-05-17 CN CN 201320274723 patent/CN203251268U/en not_active Expired - Fee Related
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104270042B (en) * | 2014-09-24 | 2017-02-15 | 深圳市正弦电气股份有限公司 | Automatic learning method and system for servo motor encoder deviation angle |
CN104831010A (en) * | 2015-05-12 | 2015-08-12 | 四川省达州钢铁集团有限责任公司 | Method for protecting gear of blast furnace encoder |
CN104831010B (en) * | 2015-05-12 | 2017-06-13 | 四川省达州钢铁集团有限责任公司 | A kind of method for protecting blast furnace encoder gear |
CN105668286A (en) * | 2016-03-31 | 2016-06-15 | 四川大学 | Three-stage synchronous alignment control method |
CN106026821A (en) * | 2016-05-16 | 2016-10-12 | 安徽大学 | Delta connection PMSM (permanent magnet synchronous motor) stator winding resistive unbalance fault diagnosis method |
CN106026821B (en) * | 2016-05-16 | 2018-05-04 | 安徽大学 | A kind of permanent-magnetic synchronous motor stator winding resistance imbalance fault diagnosis method of triangle connection |
CN106992730A (en) * | 2017-04-07 | 2017-07-28 | 福建睿能科技股份有限公司 | A kind of method, servo-driver and the servomotor of the setting of motor encoder zero-bit |
CN108199636A (en) * | 2017-12-28 | 2018-06-22 | 江苏集萃智能制造技术研究所有限公司 | A kind of motor initial angle localization method based on vector control strategy |
CN110086399A (en) * | 2019-05-13 | 2019-08-02 | 郑州大学 | A kind of permanent-magnet synchronous motor rotor position compound detection and starting operation method |
CN110567495A (en) * | 2019-08-26 | 2019-12-13 | 中国美术学院 | Three-state value coding method and coder thereof |
CN111811544A (en) * | 2020-07-09 | 2020-10-23 | 赛卓微电子(深圳)有限公司 | Method for zeroing incremental encoder IC |
CN111811544B (en) * | 2020-07-09 | 2022-05-06 | 赛卓微电子(深圳)有限公司 | Method for zeroing incremental encoder IC |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103269198B (en) | Permanent magnet synchronous motor control method and system based on encoder automatic zero set | |
CN203251268U (en) | Permanent magnet synchronous motor control system based on automatic zero set of encoder | |
CN101964624B (en) | Sensorless control system of permanent magnet synchronous motor | |
CN103326658B (en) | A kind of internal permanent magnet synchronous motor method for controlling position-less sensor | |
CN103018577B (en) | Method for measuring parameters of permanent magnet synchronous motor | |
CN103346726B (en) | Based on the permanent-magnetic synchronous motor stator Flux Observation Method of expansion flux observer | |
CN103501151A (en) | Unposition sensor for permanent magnet linear motor | |
CN101630938A (en) | Method for identifying initial position of rotor of permanent magnet synchronous motor of non-position sensor | |
CN102401626B (en) | Estimating method of installment deviation of rotor-position sensor of permanent magnet synchronous motor | |
CN101013874A (en) | System for controlling auto-disturbance rejection of stator voltage of variable speed constant frequency double-fed generator | |
CN105811831A (en) | Tracking method of rotor position of salient pole permanent magnet synchronous motor in motion state | |
CN109495047B (en) | High-frequency signal injection-based sensorless control method for permanent magnet synchronous motor | |
CN103986394A (en) | Method for detecting initial position of surface mount type permanent magnet synchronous motor rotor | |
CN103401487A (en) | Position-sensorless control method suitable for four-quadrant operation of switched reluctance motor | |
CN108574444A (en) | One kind being used for initial position detection method for permanent magnet synchronous electric motor rotor | |
CN104579040A (en) | Position-sensorless control method suitable for running of switched reluctance motor in whole-speed range | |
CN103560725A (en) | Brushless direct-current motor position detection method independent of rotating speed | |
CN105915130A (en) | Control method and device of sensorless permanent magnet motor used for pump | |
CN103178768A (en) | Device for detecting initial position of rotor of permanent-magnetic synchronous motor and using method thereof | |
CN104167966A (en) | Control method of permanent magnet linear motor with Hall sensors for positioning | |
CN205039733U (en) | PMSM permanent magnetism linkage loses magnetism monitoring devices | |
CN104796053B (en) | DC motor controller and control method based on rotary transformer | |
CN103997268A (en) | Position-sensor-free control method for transformer substation patrol robot | |
CN102170262B (en) | Non-speed sensor control method of direct-drive permanent-magnet synchronous wind turbine | |
CN203219239U (en) | Position sensor-less motor control device employing SDFT rotor position identification |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20131023 Termination date: 20160517 |
|
CF01 | Termination of patent right due to non-payment of annual fee |