CN103684179B - Compensation device and compensation method of current filtering and dead zone of permanent magnet synchronous motor - Google Patents
Compensation device and compensation method of current filtering and dead zone of permanent magnet synchronous motor Download PDFInfo
- Publication number
- CN103684179B CN103684179B CN201310692734.6A CN201310692734A CN103684179B CN 103684179 B CN103684179 B CN 103684179B CN 201310692734 A CN201310692734 A CN 201310692734A CN 103684179 B CN103684179 B CN 103684179B
- Authority
- CN
- China
- Prior art keywords
- current
- value
- voltage
- synchronous motor
- shaft
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 120
- 238000001914 filtration Methods 0.000 title claims abstract description 64
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000009466 transformation Effects 0.000 claims abstract description 33
- 238000004364 calculation method Methods 0.000 claims abstract description 8
- 239000011159 matrix material Substances 0.000 claims description 43
- 238000001514 detection method Methods 0.000 claims description 22
- 230000008859 change Effects 0.000 claims description 19
- 230000005611 electricity Effects 0.000 claims description 13
- 230000000737 periodic effect Effects 0.000 claims description 12
- 230000000875 corresponding effect Effects 0.000 claims description 11
- 230000008569 process Effects 0.000 claims description 11
- 230000001276 controlling effect Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 5
- 238000000205 computational method Methods 0.000 claims description 3
- 230000002596 correlated effect Effects 0.000 claims description 3
- 230000004907 flux Effects 0.000 claims description 2
- 238000007689 inspection Methods 0.000 claims description 2
- 230000003068 static effect Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 27
- 230000000694 effects Effects 0.000 description 15
- 230000010349 pulsation Effects 0.000 description 12
- 108010037897 DC-specific ICAM-3 grabbing nonintegrin Proteins 0.000 description 7
- 230000003111 delayed effect Effects 0.000 description 6
- 230000009467 reduction Effects 0.000 description 5
- 238000005070 sampling Methods 0.000 description 5
- 230000005389 magnetism Effects 0.000 description 4
- 230000001550 time effect Effects 0.000 description 4
- 238000003780 insertion Methods 0.000 description 3
- 230000037431 insertion Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000013277 forecasting method Methods 0.000 description 2
- 230000002829 reductive effect Effects 0.000 description 2
- 230000006641 stabilisation Effects 0.000 description 2
- 238000011105 stabilization Methods 0.000 description 2
- 230000003313 weakening effect Effects 0.000 description 2
- 208000000058 Anaplasia Diseases 0.000 description 1
- BVKZGUZCCUSVTD-UHFFFAOYSA-L Carbonate Chemical compound [O-]C([O-])=O BVKZGUZCCUSVTD-UHFFFAOYSA-L 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 230000000246 remedial effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Landscapes
- Control Of Ac Motors In General (AREA)
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
The invention relates to a compensation device and a compensation method of current filtering and the dead zone of a permanent magnet synchronous motor. The input end of a position sensor is connected with the output end of the permanent magnet synchronous motor, and the output end of the position sensor is connected with a rotating speed calculation module, a coordinate transformation module and a current inverse transformation module respectively. The output value of the rotating speed calculation module is used as the input of a speed ring PI adjuster. A current sensor inputs the detected two-phase current of the permanent magnet synchronous motor to the coordinate transformation module through a summation module, meanwhile the two-phase current is input into the coordinate transformation module, the coordinate transformation module transforms the coordinate of three-phase currents and then inputs the currents to an incremental kalman filter, and the output end of the incremental kalman filter is connected with the current inverse transformation module, a q-axis current ring and a d-axis current ring. The output end of a first current ring PI adjuster and the output end of a second current ring PI adjuster are connected with an inverter through a voltage inverse transformation module, the output end of the current inverse transformation module is connected with the input end of a dead zone compensation module, the output end of the dead zone compensation module is connected with the input end of the inverter, and the output end of the inverter is connected with the input end of the permanent magnet synchronous motor.
Description
Technical field
The present invention relates to a kind of current of electric filtering and dead area compensation device and compensation method, especially with regard to a kind of permanent magnetism
Synchronous motor current filtering and dead area compensation device and compensation method.
Background technology
Permagnetic synchronous motor has the advantages that high efficiency, high power density, non-carbonate, obtains in servo occasion and extensively should
With.Actual system typically all includes a certain degree of noise, and the current noise source of PMSM Servo System can
To be divided into two kinds, a kind of is the white noise being caused due to non-ideal factors such as interference, sampling errors, and this is unavoidable.Separately
A kind of is because system is in the state of closed-loop control, original white noise is adjusted as error originated from input, causes system
Export frequent disturbance, thus causing bigger noise.For the noise of this type, rational filtering method can be taken,
System white noise is filtered by feedback channel to greatest extent, it is to avoid cause the unnecessary disturbance of system output, thus reaching weakening
The purpose of noise.
Low pass filter is a kind of conventional filtering method, and it has the characteristics that, and structure is simple, calculated load is little.Slide flat
All filtering is exactly substantially a kind of easy low pass filter, and in servo field, it is widely used in filtering electric current, rotating speed etc.
High-frequency random noises in signal.But, all there is time delay to all frequency contents in signal in principle of lowpass filter, this
The time delay of sample can weaken the dynamic property of system.
Kalman filtering is a kind of modern times filtering method growing up the sixties in last century, and it is a kind of minimum variance meaning
Optimum linearity method of estimation in justice.Different from principle of lowpass filter, Kalman filter has used system mathematic model,
Be equivalent to and obtain more system informations, the filtering to system state amount or estimation can be realized based on Mathematical Modeling, but generation
Valency is that calculated load significantly increases.PMSM Servo System typically adopts three-phase pwm voltage source inverter to drive.For
Avoid two switches on same brachium pontis to simultaneously turn on, typically take the mode of insertion Dead Time to ensure to switch at one
Before conducting, another switch has been switched off.The insertion in dead band is equivalent to the interference voltage being superimposed a cycle pulsation, this
Interference voltage can cause phase current distortion and then cause motor to export the pulsation of electromagnetic torque.
In order to obtain the more preferable phase current waveform of sine degree, the shadow of deadband eliminating effect typically by way of dead area compensation
Ring.Because the interference voltage that dead band causes has close ties with the polarity of phase current, phase current polarity judges that error leads to
Mistake compensation can cause electric current that bigger distortion, the therefore detection that it is critical only that phase current zero crossing of dead area compensation occur.Directly
Connect and judge that phase current polarity is easily affected by sampling noiset according to the detected value that a/d is converted to, the several of compensation by mistake occur
Rate is than larger.Conventional method is according to the position judgment phase current polarity of output voltage vector, it is to avoid current sample noise brings
Adverse effect, the strategy that only wherein one phase output voltage need to be compensated is proposed in specific currents region simultaneously, but
Steady-state process is only applicable to the computational methods of " angle between voltage vector and induced electromotive force ", for rotating speed and electric current etc.
Operating mode is in the servo-drive system of frequent fluctuation inapplicable.
During using digital control approach, there is a delayed time delay of bat in the applying of controlled quentity controlled variable.In this case, if still to work as
The current status in front cycle are as the foundation judging phase current polarity, then the compensation to dead band also can postpone a bat.If
In current period, current polarity has occurred and that change, and because digital control one claps delayed impact, offset voltage is in current period
Interior can not be made an immediate response, just can must make adjustment when next cycle the soonest.In this case, dead in current period
Area compensates and is equivalent to compensate by mistake.For bat lag issues of dead area compensation, research is less at present.
Content of the invention
For the problems referred to above, it is an object of the invention to provide a kind of effective electricity weakening current noise and suppressing dead band to cause
The permagnetic synchronous motor current filtering of magnetic torque pulsation and dead area compensation device and compensation method.
For achieving the above object, the present invention takes technical scheme below: a kind of permagnetic synchronous motor current filtering and dead band
Compensation device it is characterised in that: it include position sensor, permagnetic synchronous motor, rotating speed computing module, coordinate transformation module,
Electric current inverse transform block, speed ring pi adjuster, current sensor, summation module, increment type Kalman filter, the first electric current
Ring pi adjuster 1, voltage inverse transform block, the second electric current loop pi adjuster, inverter and dead area compensation module;Described coordinate becomes
Die change block, increment type Kalman filter and the first electric current loop pi adjuster constitute q shaft current ring;Described coordinate transformation module,
Increment type Kalman filter and the second electric current loop pi adjuster constitute d shaft current ring, described q shaft current ring and d shaft current ring
Constitute electric current loop;The input of described position sensor connects the output end of described permagnetic synchronous motor, described position sensor
Output end connect described rotating speed computing module, described coordinate die change block and electric current inverse transform block respectively, by the electricity collecting
Angle, θ transmits to described rotating speed computing module, described coordinate die change block and electric current inverse transform block;Described rotating speed computing module is defeated
The rotational speed omega going out as negative-feedback, and with given rotating speed command value ω*After taking difference, defeated as described speed ring pi adjuster
Enter;Described current sensor connects the stator of described permagnetic synchronous motor, by the three-phase of the permanent-magnetic synchronous motor stator detecting
Biphase current in electric current takes through the summation of described summation module after bearing and inputs described coordinate transformation module;Described current sensor is same
When also described biphase current is inputted described coordinate transformation module, described three-phase current carries out dq seat by described coordinate transformation module
Described increment type Kalman filter, q shaft current detected value i is inputted after mark conversionqWith d shaft current detected value idThrough described increment
After formula Kalman filter is processed, by q shaft current predictive filtering value iq_preInput described q shaft current ring and electric current inverse transformation respectively
Module, by described d shaft current predictive filtering value id_preInput described d shaft current ring and electric current inverse transform block respectively;Described q axle
Current forecasting filter value iq_As q shaft current ring negative-feedback, the output with described speed ring pi adjuster is compared, and fiducial value inputs
Obtain q shaft voltage to described first electric current loop pi adjuster, q shaft voltageTransmit to described voltage inverse transform block;Described d
Shaft current detected value id_As d shaft current ring negative-feedback and previously given electric currentRelatively, fiducial value is input to described second
Electric current loop pi adjuster obtains d shaft voltage, d shaft voltageTransmit to described voltage inverse transform block;Described voltage inverse transformation
The output end of module connects the input of described inverter;The output end of described electric current inverse transform block connects described dead area compensation
The input of module, the output end of described dead area compensation module connects the input of described inverter, the output of described inverter
End connects the input of described permagnetic synchronous motor.
Permagnetic synchronous motor current filtering based on a kind of permagnetic synchronous motor current filtering and dead area compensation device and dead
Area's compensation method, comprises the following steps: 1) current sensor is by the permagnetic synchronous motor detecting threephase stator electric current ia、ibWith
icInput to coordinate transformation module, the coordinate transform of abc/ α β is carried out to it, the electric current obtaining under two-phase rest frame divides
Amount iα、iβ:
2) in coordinate transformation module, electrical angle θ that the permanent-magnetic synchronous motor rotor according to receiving rotates through, to two-phase
Current component i under rest frameα、iβCarry out α β/dq coordinate transform again, obtain the electricity under two-phase synchronous rotary dq coordinate system
Stream detected value id、iq:
3) electrical angle θ that permanent-magnetic synchronous motor rotor rotates through inputs to rotating speed computing module, electrical angle θ is carried out micro-
Point, obtain speed feedback value ω;Speed feedback value ω and previously given rotational speed command value ω*As speed ring pi adjuster
Input, obtains current instruction value through calculation process;4) current detection value iq、idIt is input in increment type Kalman filter,
D shaft current predictive filtering value i is exported by increment type Kalman filterd_preWith q shaft current predictive filtering value iq_pre;5) electric current
Command valuePreviously given electric currentRespectively with d shaft current predictive filtering value id_preWith q shaft current predictive filtering value iq_preThan
Relatively, fiducial value, respectively as the input of the first electric current loop pi adjuster, the second electric current loop pi adjuster, is distinguished through calculation process
Obtain the first electric current loop pi adjuster, the reference voltage of the second electric current loop adjuster output;6) d shaft current predictive filtering
Value id_pre, q shaft current predictive filtering value iq_preThe electrical angle rotating through with the permanent-magnetic synchronous motor rotor of position sensor output
θ is separately input to electric current inverse transform block, exports three-phase predicted current i by electric current inverse transform blocka_pre、ib_preAnd ic_pre;7)
Three-phase predicted current ia_pre、ib_preAnd ic_preInput dead area compensation module, dead area compensation module is according to three-phase predicted current
ia_pre、ib_preAnd ic_prePolarity export corresponding offset voltage;8) reference voltageInput voltage inverse transform block,
Voltage inverse transform block exports three-phase voltage ua, ub, uc, with three-phase predicted current ia_pre、ib_preAnd ic_preCorresponding compensation
Voltage respectively with three-phase voltage ua, ub, ucInverter is inputted, inverter exports corresponding three-phase voltage to permanent-magnet synchronous after superposition
Motor, drives permagnetic synchronous motor work.
In described step 4), increment type Kalman filter is to current detection value id、iqProcess comprise the following steps:
(1) under synchronous rotating frame, the stator d axle of permagnetic synchronous motor, q shaft voltage equation are:
ud=rid+lddid/dt-ωlqiq, uq=riq+lqdiq/dt+ωldid+ωψf, wherein ud、uqIt is respectively stator d, q
Shaft voltage, id、iqIt is respectively stator d, q shaft current, r is stator resistance, ld、lqIt is respectively stator d, q axle inductance, ψfFor permanent magnet
Magnetic linkage, ω is rotor speed;(2) according to the stator q shaft voltage equation in step (1), in current period (k) tsWith a upper cycle
(k-1)tsInside set up the discrete voltage equation of permagnetic synchronous motor respectively:
uq(k)=re(iq(k)+iq_pre(k+1))/2+le(iq_pre(k+1)-iq(k))/ts+ω(ldid+ψf),
uq(k-1)=r(iq(k)+iq(k-1))/2+lq(iq(k)-iq(k-1))/ts +ω(ldid+ψf),
Wherein iq_pre(k+1) it is the predicted value to next start time in cycle q shaft current in current period, abbreviation electric current is pre-
Measured value, iqK () is the current detection value of current period, iq(k-1) a upper periodic permanent magnet synchronous motor stator q shaft current detected value,
tsFor controlling cycle, uqK () is current period stator q shaft voltage, uq(k-1) it is a upper cycle stator q shaft voltage, re、leRespectively
It is to permanent-magnetic synchronous motor stator resistance r, stator q axle inductance lqEstimate;(3) ignore the change of the voltage term related to rotating speed
Change, two formula in step (2) are subtracted each other, obtains the simplification current increment formula of permagnetic synchronous motor, because reIt is much smaller than
le/ts, therefore ignore the impact of r, obtain predicted value i to next start time in cycle d shaft current in current periodd_pre(k+
1), and by current increment formula change into matrix form:
(4) Mathematical Modeling of increment type Kalman filter is set up according to the current increment formula of step (3) matrix form
For:
Wherein, w is input noise vector, and v is output noise vector;xk、xk-1For system mode vector, ykFor system output
Vector, uk-1For dominant vector;fk-1、bk-1, c be coefficient matrix;
(5) Mathematical Modeling according to increment type Kalman filter, is iterated to its correlated variables, obtains optimal estimation
Value
In described step (5), described optimal estimation valueComputational methods comprise the following steps:
1. calculate prior estimate vector valueWith corresponding error matrix
Wherein, qk-1For noise matrix qk-1,Optimal estimation vector value for system state variablesIn (k-1) week
The state vector of phase,For kth cycle prior estimate vector, it is an intermediate variable,For kth cycle prior estimate error square
Battle array, also for intermediate variable matrix, pk-1For system (k-1) cycle error matrix;
2. calculate gain matrix kk:
3. computing system is in the optimal estimation value of kth periodic system state variable
Wherein iq_(k-1) it is permanent-magnetic synchronous motor rotor (k-1) current detection value iqOptimum
Estimate, iq_K () is permanent-magnetic synchronous motor rotor in kth periodic current detected value iqOptimal estimation value;
4. calculate the error matrix p in kth cyclekOptimal estimation value:, wherein, qk-1, r is respectively
The covariance matrix of noise w, v, error matrix pkFor the error matrix of the optimal estimation value in estimation process, changed by multiple
Generation, error matrix pkEventually converge to null matrix.
In described step 6), in described electric current inverse transform block, processing procedure comprises the following steps:
1. predict next periodic permanent magnet synchronous electric motor rotor coordinate transform angle, θpre, due to permagnetic synchronous motor machinery
Time constant is much larger than the state of electrical time constant operation then it is assumed that motor remains a constant speed at short notice, i.e. permanent-magnet synchronous
The angle, θ that rotor turned within next cycle with current period is consistent;
2. combine the predictive filtering value of dq shaft current, by coordinate transform, obtain the prediction of the three-phase current in next cycle
Value ia_pre、ib_preAnd ic_preFor:
And predicted value i of next cycle three-phase current is calculated according to above formulaa_pre、ib_preAnd ic_pre.
In described step 7), described dead area compensation comprises the following steps:
1. dead area compensation module is according to next cycle three-phase predicted current i receivinga_pre、ib_preAnd ic_pre, under obtaining
Relevant voltage error delta u that one cycle three-phase predicted current produces respectivelya、δubWith δ uc:
Sign () be predicted current polarity, predicted current value > 0 when, sign () value be 1, otherwise for -1;
2. by three-phase predicted current ia_pre、ib_preAnd ic_preThe voltage error δ u producinga、δubWith δ ucTake negative respectively
Value, obtains and three-phase predicted current ia_pre、ib_preAnd ic_preCorresponding offset voltage.
Due to taking above technical scheme, it has the advantage that the 1, present invention adopts increment type Kalman to filter to the present invention
The dq shaft current filtering method of ripple device, replaces the current detection value of reality defeated as the feedback of electric current loop adjuster with filter value
Enter, the interference of sampling noiset can be eliminated.2nd, the system based on the current filtering method of increment type Kalman filter for the present invention
State equation order is only second order, and calculated load substantially reduces, and avoids the estimation to the voltage term relevant with rotating speed simultaneously, is
System complexity and sensitivity to parameter substantially reduce.3rd, the present invention is by the voltage error causing with dead band in the superposition of inverter link
The voltage of contrast, being capable of effectively deadband eliminating interference.4th, the present invention can be in current period using incremental forecasting method
Calculate next cycle dq shaft current in advance, therefore, it is possible to eliminate a delayed time delay of bat of digital control approach.5th, the present invention will
Dq shaft current filter value makees closed-loop control, can reduce noise, reduce the pulsation of dq shaft voltage;With obtain with prediction after filtering
Phase current predicted value makees dead area compensation, advantageously reduces and compensates because of the mistake that phase current polarity erroneous judgement leads to, eliminates a bat simultaneously
The impact of delayed time delay.The present invention is applied to permagnetic synchronous motor SERVO CONTROL field.
Brief description
Fig. 1 is the PMSM Servo System overall structure diagram that the present invention adopts;
Fig. 2 is current sample time diagram of the present invention;
Fig. 3 is the impact schematic diagram to stator phase voltage for the prior art dead band;
Fig. 4 is the relation schematic diagram of prior art permagnetic synchronous motor dq shaft voltage error and rotor electrical angle;
Fig. 5 is current filtering of the present invention and dead-zone compensation method schematic diagram;
Fig. 6 is the filter effect contrast schematic diagram using distinct methods to q shaft current, and Fig. 6 (a) is using moving average filter
The filter effect schematic diagram to q shaft current for the ripple device, Fig. 6 (b) is to q shaft current using increment type Kalman filter of the present invention
Filter effect schematic diagram;
Fig. 7 be using prior art with using current filtering of the present invention stable state when dq shaft voltage and dq shaft current ripple
Shape contrast schematic diagram, wherein, Fig. 7 (a) is using prior art and the dq shaft voltage waveform during stable state being filtered using the present invention
Contrast schematic diagram, Fig. 7 (b) is to be shown using the comparison of wave shape of prior art and the dq shaft current during stable state being filtered using the present invention
It is intended to;
Fig. 8 is using stator phase currents i during current filtering of the present inventiona、ibPredicted value and detected value schematic diagram;
Fig. 9 is using the present invention and the stator phase currents i being provided without during the present invention under three kinds of rotating speedsa、ib, q shaft current
iq, q shaft voltage uqComparison of wave shape schematic diagram, wherein Fig. 9 (a) are using this during 1000rpm for permanent-magnetic synchronous motor rotor rotating speed
Invent and using stator phase currents i during prior arta、ib, q shaft current iq, q shaft voltage uqComparison of wave shape schematic diagram, Fig. 9 (b) is
Permanent-magnetic synchronous motor rotor rotating speed is for employing present invention during 200rpm with using stator phase currents i during prior arta、ib, q axle
Electric current iq, q shaft voltage uqComparison of wave shape schematic diagram, Fig. 9 (c) is using this during 50rpm for permanent-magnetic synchronous motor rotor rotating speed
Bright and using prior art when stator phase currents ia、ib, q shaft current iq, q shaft voltage uqComparison of wave shape schematic diagram;
Figure 10 is that permanent-magnetic synchronous motor rotor rotating speed is provided without the present invention and using dq shaft current during the present invention for 1200rpm
With the Steady Experimental comparison of wave shape schematic diagram of dq shaft voltage, Figure 10 (a) is dq shaft current and dq shaft voltage when being provided without the present invention
Steady Experimental waveform diagram, Figure 10 (b) is to be shown using the Steady Experimental waveform of dq shaft current during the present invention and dq shaft voltage
It is intended to;
Figure 11 be permagnetic synchronous motor rotating speed for 1200rpm when be provided without the present invention and using the present invention when permanent magnet synchronous electric
Machine stator monophase current experimental waveform contrast schematic diagram, Figure 11 (a) is permanent-magnet synchronous when being provided without dead-zone compensation method of the present invention
Motor stator monophase current waveform diagram, Figure 11 (b) is using permanent-magnetic synchronous motor stator during dead-zone compensation method of the present invention
Monophase current waveform diagram;
Figure 12 be permanent-magnetic synchronous motor rotor rotating speed for 500rpm when be provided without the present invention with using the present invention dq axle electricity
Stream and the Steady Experimental comparison of wave shape schematic diagram of dq shaft voltage, Figure 12 (a) is dq shaft current and dq axle electricity when being provided without the present invention
The Steady Experimental waveform diagram of pressure, Figure 12 (b) is the Steady Experimental waveform using dq shaft current during the present invention and dq shaft voltage
Schematic diagram;
Figure 13 be permagnetic synchronous motor rotating speed for 500rpm when be provided without dead-zone compensation method of the present invention and adopt the present invention
Permanent-magnetic synchronous motor stator monophase current experimental waveform contrast schematic diagram during dead-zone compensation method;
Figure 14 is determining when permagnetic synchronous motor rotating speed is provided without dead-zone compensation method of the present invention in two kinds of low speed respectively
Sub- monophase current experimental waveform schematic diagram, Figure 14 (a) is that permagnetic synchronous motor rotating speed is during 170rpm and to be provided without the present invention dead
Stator monophase current experimental waveform schematic diagram during area's compensation method, Figure 14 (b) be permagnetic synchronous motor rotating speed be 80rpm when and
It is provided without stator monophase current experimental waveform schematic diagram during dead-zone compensation method of the present invention;
Specific embodiment
With reference to the accompanying drawings and examples the present invention is described in detail.
As shown in figure 1, the present invention includes position sensor 1, permanent magnet synchronous electric taking PMSM Servo System as a example
Machine (pmsm) 2, rotating speed computing module 3, coordinate transformation module 4, electric current inverse transform block 5, speed ring pi adjuster 6, electric current pass
Sensor 7, summation module 8, increment type Kalman filter 9, the first electric current loop pi adjuster 10, voltage inverse transform block 11,
Two electric current loop pi adjusters 12, inverter 13 and dead area compensation module 14.Wherein coordinate transformation module 4, increment type Kalman filter
Ripple device 9 and the first electric current loop pi adjuster 10 constitute q shaft current ring;Coordinate transformation module 4, increment type Kalman filter 9 and
Second electric current loop pi adjuster 12 constitutes d shaft current ring, and q shaft current ring and d shaft current ring constitute electric current loop.
The input of position sensor 1 connects the output end of permagnetic synchronous motor 2, and the output end of position sensor 1 is respectively
Connect rotating speed computing module 3, coordinate die change block 4 and electric current inverse transform block 5, electrical angle θ collecting is transmitted to tachometer
Calculate module 3, coordinate die change block 4 and electric current inverse transform block 5.Rotating speed computing module 3 output rotational speed omega as negative-feedback, and with
Given rotating speed command value ω*After taking difference, as the input of speed ring pi adjuster 6.Current sensor 7 connects permanent magnet synchronous electric
The stator of machine 2, for detecting the biphase current i in the three-phase current of permagnetic synchronous motor 2 statoraAnd ib, then by biphase current
iaAnd ibInput summation module 8, summation module 8 is to biphase current iaWith ibAnd take and obtain third phase electric current i after negative valuec, and will
Third phase electric current icInput coordinate conversion module 4.Current sensor 7 is simultaneously also by biphase current iaAnd ibInput coordinate becomes die change
Block 4, coordinate transformation module 4 is according to electrical angle θ receiving by three-phase current ia、ibAnd icCarry out output q axle electricity after coordinate transform
Stream detected value iqWith d shaft current detected value id, and through increment type Kalman filter 9 by q shaft current detected value iqWith d shaft current
Detected value idAfter predictive filtering is processed, by q shaft current predictive filtering value iq_preInput q shaft current ring and electric current contravariant die change respectively
Block 5, by d shaft current predictive filtering value id_preInput d shaft current ring and electric current inverse transform block 5 respectively.Q shaft current predictive filtering
Value iq_As q shaft current ring negative-feedback, the output with speed ring pi adjuster 6 is current-orderCompare, fiducial value inputs
Obtain q shaft voltage to the first electric current loop pi adjuster 10, the first electric current loop pi adjuster 10 is by q shaft voltageTransmit to voltage
Inverse transform block 11;D shaft current detected value id_As d shaft current ring negative-feedback and previously given electric currentCompare, compare
Value is input to the second electric current loop pi adjuster 12 and obtains d shaft voltage, the second electric current loop pi adjuster 12 is by d shaft voltageTransmission
To voltage inverse transform block 11.The output end of voltage inverse transform block 11 connects the input of inverter 13;Electric current contravariant die change
The output end of block 5 connects the input of dead area compensation module 14, and the output end of dead area compensation module 14 connects the defeated of inverter 13
Enter end, the output end of inverter 13 connects the input of permagnetic synchronous motor 2.
The permagnetic synchronous motor current filtering of the present invention and dead-zone compensation method comprise the following steps:
1) as shown in figure 1, current sensor 7 is by the permagnetic synchronous motor detecting 2 threephase stator electric current ia、ibAnd icDefeated
Enter to coordinate transformation module 4, it is carried out with three-phase/two-phase coordinate transform, that is, the coordinate transform of abc/ α β, obtains two-phase static
Current component i under coordinate systemα、iβ:
In formula, icFor ia、ibThe negative value of sum.
2) in coordinate transformation module 4, electrical angle θ that permagnetic synchronous motor 2 rotor according to receiving rotates through, to two
Current component i under phase rest frameα、iβCarry out static-rotating coordinate transformation again, that is, α β/dq coordinate transform, obtains two-phase
Current detection value i under synchronous rotary dq coordinate systemd、iq:
In formula, the electrical angle that θ rotates through for permagnetic synchronous motor 2 rotor, obtained by position sensor 1.
3) electrical angle θ that permagnetic synchronous motor 2 rotor rotates through inputs to rotating speed computing module 3, and electrical angle θ is carried out
Differential, obtains speed feedback value ω;Speed feedback value ω and previously given rotational speed command value ω*As speed ring pi adjuster
6 input, obtains current instruction value through calculation process
4) current detection value iq、idIt is input in increment type Kalman filter 9, exported by increment type Kalman filter 9
D shaft current predictive filtering value id_preWith q shaft current predictive filtering value iq_pre;
5) current instruction valuePreviously given electric currentRespectively with d shaft current predictive filtering value id_prePre- with q shaft current
Survey filter value iq_preRelatively, fiducial value respectively as the first electric current loop pi adjuster 10, the second electric current loop pi adjuster 12 defeated
Enter, respectively obtain the output of the first electric current loop pi adjuster 10, the second electric current loop pi adjuster 12, i.e. reference through calculation process
Voltage
6) d shaft current predictive filtering value id_pre, q shaft current predictive filtering value iq_prePermanent magnetism with position sensor 1 output
Electrical angle θ that synchronous motor 2 rotor rotates through is separately input to electric current inverse transform block 5, exports three by electric current inverse transform block 5
Phase predicted current ia_pre、ib_preAnd ic_pre;
7) three-phase predicted current ia_pre、ib_preAnd ic_preInput dead area compensation module 14, dead area compensation module 14 is according to three
Phase predicted current ia_pre、ib_preAnd ic_prePolarity export corresponding offset voltage;
8) reference voltageInput voltage inverse transform block 11, voltage inverse transform block 11 exports three-phase voltage ua,
ub, uc, with three-phase predicted current ia_pre、ib_preAnd ic_preCorresponding offset voltage respectively with three-phase voltage ua, ub, ucSuperposition
Input inverter 13 afterwards, inverter 13 exports corresponding three-phase voltage to permagnetic synchronous motor 2, drives permagnetic synchronous motor 2 work
Make.
In above-mentioned steps 4) in, increment type Kalman filter 9 is to current detection value id、iqProcess comprise the following steps:
(1) under synchronous rotating frame, the stator d axle of permagnetic synchronous motor 2, q shaft voltage equation are:
ud=rid+lddid/dt-ωlqiq, (1)
uq=riq+lqdiq/dt+ωldid+ωψf, (2)
Wherein ud、uqIt is respectively stator d, q shaft voltage, id、iqIt is respectively stator d, q shaft current, r is stator resistance, ld、lq
It is respectively stator d, q axle inductance, ψfFor permanent magnet flux linkage, ω is rotor speed.
(2) according to the stator q shaft voltage equation in step (1), in current period ktsWith a upper cycle (k-1) tsInterior difference
Set up the discrete voltage equation of permagnetic synchronous motor 2:
uq(k)=re(iq(k)+iq_pre(k+1))/2+le(iq_pre(k+1)-iq(k))/ts+ω(ldid+ψf), (3)
uq(k-1)=r(iq(k)+iq(k-1))/2+lq(iq(k)-iq(k-1))/ts+ω(ldid+ψf), (4)
Wherein iq_pre(k+1) it is the predicted value to next start time in cycle q shaft current in current period, abbreviation electric current is pre-
Measured value, iqK () is the current detection value of current period, iq(k-1) a upper periodic permanent magnet synchronous motor stator q shaft current detected value,
tsFor controlling cycle, uqK () is current period stator q shaft voltage, uq(k-1) it is a upper cycle stator q shaft voltage, re、leRespectively
It is to permanent-magnetic synchronous motor stator resistance r, stator q axle inductance lqEstimate, current sample sequential is as shown in Figure 2.
(3) ignore the change of the voltage term related to rotating speed, formula (3) is subtracted each other with formula (4), obtains permanent magnet synchronous electric
The current increment formula of machine 2:
Because reMuch smaller than le/ts, therefore can ignore the impact of r, after simplified style (5), obtain the q of permagnetic synchronous motor 1
Shaft current predicted value is:
Predicted value i to next start time in cycle d shaft current in current period can be drawn in the same mannerd_pre, formula (6) is write
Coefficient matrix is become to be followed successively by,
(4) Mathematical Modeling of increment type Kalman filter 9 is set up according to the current increment formula of step (3) matrix form
For:
Wherein: w is input noise (system noise) vector, v is output noise (measurement noise) vector;xk、xk-1For system
State vector, ykFor system output vector, uk-1For dominant vector;fk-1、bk-1, c be coefficient matrix, and xk、xk-1、uk-1、fk-1、
bk-1, c take from the value in step (3).
(5) Mathematical Modeling according to increment type Kalman filter 9, is iterated to its correlated variables, obtains optimum and estimates
EvaluationIt comprises the steps:
1. calculate prior estimate vector valueWith corresponding error matrix
Wherein, noise matrix qk-1Choose relevant with site environment, its selection does not typically interfere with final effect, only meeting
The speed of impact convergence,Optimal estimation vector value for system state variablesIn the state vector in (k-1) cycle, and
Optimal estimation vector valueInitial value can randomly select, its initial value choose do not interfere with final optimal estimation value,For
Kth cycle prior estimate vector, is an intermediate variable,For kth cycle prior estimate error matrix, also for intermediate variable square
Battle array, pk-1For system (k-1) cycle error matrix.
2. calculate gain matrix kk:
3. computing system is in the optimal estimation value of kth periodic system state variable
Wherein iq_(k-1) it is permagnetic synchronous motor 2 rotor (k-1) current detection value iqOptimum
Estimate, iq_K () is permagnetic synchronous motor 2 rotor in kth periodic current detected value iqOptimal estimation value;
4. calculate the error matrix p in kth cyclekOptimal estimation value:
Wherein, qk-1, r be respectively noise w, v covariance matrix, error matrix pkFor the optimal estimation in estimation process
The error matrix of value, by successive ignition, error matrix pkEventually converge to null matrix.
In above-mentioned steps 6) in, in electric current inverse transform block 5, processing procedure comprises the steps:
1. predict next periodic permanent magnet synchronous electric motor rotor coordinate transform angle, θpre, due to permagnetic synchronous motor machinery
Time constant is much larger than the state of electrical time constant operation it is believed that motor remains a constant speed at short notice, and that is, permanent magnetism is same
The angle, θ that step rotor turned within next cycle with current period is consistent;
2. combine the predictive filtering value of dq shaft current, by coordinate transform, obtain the prediction of the three-phase current in next cycle
Value ia_pre、ib_preAnd ic_pre, as shown in formula (19):
Calculate predicted value i of next cycle three-phase current according to formula (19)a_pre、ib_preAnd ic_pre.
In above-mentioned steps 7) in, dead area compensation comprises the following steps:
1. dead area compensation module 14 is according to next cycle three-phase predicted current i receivinga_pre、ib_preAnd ic_pre, obtain
Relevant voltage error delta u that next cycle three-phase predicted current produces respectivelya、δubWith δ uc, δ uaFor predicted current ia_preProduce
Raw voltage error, sign (ia_pre) it is predicted current ia_prePolarity, ia_pre> 0 when, sign (ia_pre) value be 1, otherwise
For -1.
Predicted current i can be obtained in the same mannerb_preAnd ic_preThe voltage error δ u producingbWith δ uc;
2. by three-phase predicted current ia_pre、ib_preAnd ic_preThe voltage error δ u producinga、δubWith δ ucTake negative respectively
Value, obtains and three-phase predicted current ia_pre、ib_preAnd ic_preCorresponding offset voltage.
As shown in figure 3, the insertion in dead band make inverter 13 export virtual voltage have differences with desired voltage, electric current from
Inverter 13 flows to the positive direction that permagnetic synchronous motor 2 is electric current, as a phase current iaThe error delta producing for timing, phase voltage
ua-For:
Wherein, tdFor the Dead Time of setting, ton、toffIt is respectively break-over of device time and turn-off time, tsFor controlling week
Phase, vdcFor DC bus-bar voltage.
In the same manner, electric current iaDuring for bearing, phase voltage error delta ua-For:
Therefore, the phase voltage error that dead band is caused is:
In formula, sign (ia) it is phase current iaPolarity, ia> 0 when, sign (ia) value be 1, otherwise for -1.
For two electric currents of b, c, obtain corresponding phase voltage error.By coordinate transform, can arrive what dead band caused
Dq shaft voltage error, as follows:
Dead time effect causes to be superimposed a cycle pulsation interference in contravarianter voltage instruction, and then causes inverter defeated
Go out the distortion of voltage.Therefore, remedial measure is pulsating volage in contrast in the superposition of inverter link, thus offsetting dead band effect
The impact answered.
As shown in figure 4, wherein, busbar voltage vdc=310v, td=125 μ s, ton=toff.Can the dq shaft voltage that causes of dead band by mistake
Difference presents the pulsation of 6 times of fundamental frequencies, wherein, q shaft voltage error delta uqLess but exist larger straight for pulsation amplitude
The steamed bun ripple of stream biasing, d shaft voltage error delta udSawtooth waveforms for amplitude about 10v.
During permagnetic synchronous motor low cruise, when that is, permanent-magnetic synchronous motor rotor rotating speed is less than 300rpm, dead band leads to
Dq shaft voltage error delta ud、δuqRipple frequency is relatively low, and the simple adjustment effect relying on electric current loop itself is it is possible in certain journey
Return in time by adjustment for the current distortion that the dq shaft voltage error that dead band is led to by degree causes.Additionally, during low cruise, phase current exists
The near zero-crossing point time is longer, and phase current polarity judges that mistake leads to the possibility by mistake compensating bigger, and compensates possibility by mistake
Bring the phenomenons such as zero crossing clamper, cause the distortion that electric current is bigger.Therefore, above-mentioned two aspect factors, motor low speed are considered
The impact of the adjustment effect deadband eliminating effect of electric current loop itself during operation, can be relied on, thus not carrying out extra compensation
It is feasible.
During permagnetic synchronous motor high-speed cruising, that is, in more than 300rpm, dead band leads to permanent-magnetic synchronous motor rotor rotating speed
Dq shaft voltage error delta ud、δuqRipple frequency is higher.In general, electric current loop bandwidth is limited, and usually 1khz is left
Right.When the operation of power frequency 50hz pressed by one four motor to pole, then phase current fundamental frequency is 200hz, the dq axle electricity that dead band leads to
Pressure error delta ud、δuqRipple frequency is 1.2khz, basically reaches even more than electric current loop bandwidth.Therefore, under high frequency situations, by
Suitable with electric current loop bandwidth in the ripple frequency of error voltage, the simple adjustment effect relying on electric current loop itself has been difficult to eliminate
The impact of dead time effect.Additionally, during high-speed cruising, because phase current zero passage required time is shorter, being occurred by noise jamming
The possibility by mistake compensating is relatively low.Therefore, contrary with situation during low cruise, during permagnetic synchronous motor high-speed cruising, can
To take dead area compensation measure, the voltage of the voltage error contrast causing with dead band in the superposition of inverter link, reach and disappear
Except interference obtains the purpose of the more preferable current waveform of sine degree.
As shown in figure 5, output current iq_、id_Permagnetic synchronous motor 2 rotor exporting with position sensor 1 rotates through
Electrical angle θ is separately input to electric current inverse transform block 5, and electric current inverse transform block 5 exports three-phase predicted current ia_pre、ib_preWith
ic_pre, according to three-phase predicted current ia_pre、ib_preAnd ic_prePolarity judge export corresponding offset voltage;Reference voltage Input voltage inverse transform block 11, voltage inverse transform block 11 exports three-phase voltage ua, ub, uc, dead area compensation module 14 exports
Offset voltage respectively with three-phase voltage ua、ubAnd ucSuperposition.
As shown in fig. 6, permagnetic synchronous motor first passes through after velocity close-loop control reaches certain rotating speed (230rpm) switching to
Current loop control mode, q shaft current instructsIt is set to the AC signal of direct current biasing 1.75a, frequency 100hz, amplitude 0.2a,
Current detection value iqFeed back input as electric current loop adjuster.Electric motor load torque constant for 2n m.Threephase stator electric current ia、
ibAnd icEach superposition amplitude is about the noise of 0.06a.Inverter adopts perfect switch device, as shown in Figure 6 (a), flat using sliding
All wave filters are to current detection value iqProcessed, sliding window length be set to 8 it can be observed that, current detection value iqWith filter
There is obvious delayed phase or time delay in wave number, its difference is rendered as just (remaining) string waveform it was demonstrated that the presence of time delay.As Fig. 6
Shown in (b), using increment type Kalman filter to current detection value iqIt is filtered, detected value is presented with the difference of filter value
Be the burr near zero, occur significantly fluctuating, increment type kalman filter method do not bring extra time delay or
Delayed phase.
As shown in fig. 7, permagnetic synchronous motor first passes through velocity close-loop control and reaching certain rotating speed (about 230rpm) and switches afterwards
To current loop control mode, q shaft current instructsIt is set to the exchange letter of direct current biasing 1.75a, frequency 100hz, amplitude 0.2a
Number, current detection value iqFeed back input as electric current loop adjuster.Electric motor load torque constant for 2n m.Threephase stator electricity
Stream ia、ibAnd icEach superposition amplitude is about the noise of 0.06a.Inverter adopts perfect switch device, before the 0.065s moment,
Containing noisy current detection value iqDo not make any feed back input processing directly as current regulator 9;After this moment, inspection
Measured value is input to current regulator after the filtering of increment type Kalman filter again.After processing after filtering, such as Fig. 7 (a)
Shown, dq shaft current noise amplitude decreases, and as shown in Figure 7 (b) shows, dq shaft voltage noise amplitude is obviously reduced, and the present invention increases
Amount formula Kalman filter can effectively reduce system noise.
As shown in figure 8, wherein, inverter 14 adopts perfect switch, phase current ia、ibEach superposition amplitude is about making an uproar of 0.06a
Sound.Electric motor load torque 1.5n m, rotary speed instruction is set to constant 1000rpm, and in Fig. 8, solid line represents phase current sensing value;
Dq shaft current detected value calculates predicted value through the filtering of increment type Kalman filter with incremental forecasting method, then passes through contravariant
Get the predicted value of phase current in return, in such as Fig. 8, the predicted value of phase current is represented by dashed line.Due to have passed through filtering and prediction loop
Section, the predicted value of phase current smooths than detected value, and this advantageously reduces the current polarity that noise causes and judges that error leads to
Compensate by mistake;Meanwhile, in sequential, the predicted value of phase current carries the previous sampling period than detected value, can eliminate a digital control bat stagnant
The impact of time delay afterwards, can reduce system noise, reduce the pulsation of dq shaft voltage;Drawn accordingly according to filtered prediction phase current
Offset voltage, advantageously reduce the mistake leading to because of phase current polarity erroneous judgement and compensate.
As shown in figure 9, sampling period ts=125 μ s, voltage dead band set of time is 6 μ s, permagnetic synchronous motor load torque
It is set to constant 1.5n m.First stage, using increment type Kalman filter 9 to current detection value id、iqIt is filtered so
Input the first electric current loop pi adjuster 10 and the second electric current loop pi adjuster 12 afterwards respectively, the dead-zone compensation method of the present invention acts as
With;Second stage, the first electric current loop pi adjuster 10 and the second electric current loop pi adjuster 12 feed back input switch to current detecting
Value id、iq, simultaneously dead-zone compensation method of the present invention no longer work.In Fig. 9 (a), permanent-magnetic synchronous motor rotor is at a high speed
(1000rpm) when, during using current filtering proposed by the present invention and dead-zone compensation method, phase current ia、ibAnd q shaft current iq、
Q shaft voltage uqIn waveform, noise content is fewer, and phase current is smoother in zero crossing annex;After stopping adopting the present invention, phase
Electric current ia、ibAnd q shaft current iq, q shaft voltage uqAll containing obvious noise, and phase current ia、ibExist in zero crossing annex
Significantly distort, current filtering of the present invention and the validity of voltage dead band compensation method are able to demonstrate that by above contrast.
As Fig. 9 (b) -9(c) shown in, during permanent-magnetic synchronous motor rotor low speed.Compared to the high-speed case shown in Fig. 9 a, to the greatest extent
Pipe q shaft voltage uqWaveform still has notable difference before and after institute of the present invention extracting method works, but phase current ia、ibAnd q axle
Electric current iqThere is not significant difference in waveform.The voltage cycle that during permanent-magnetic synchronous motor rotor low speed, voltage dead band effect causes
Interfering frequency ratio is relatively low, and electric current loop has enough regulating powers to the curent change that it causes, even if in this case not taking
Dead area compensation measure, also can obtain the reasonable current waveform of sine degree.
As shown in Figure 10, q shaft current instruction is set to constant 0.5a, makes motor by adjusting dynamometer machine output torque
Stabilization of speed is in 1200rpm.When not taking voltage dead band indemnifying measure, as shown in Figure 10 (a) shows, dq shaft current is equal with voltage
Occur in that regular dither, wherein pulsation of current amplitude has reached positive and negative 0.1a;And the current filtering of the present invention with
After dead-zone compensation method works, such as shown in Figure 10 (b), pulsation of current frequency substantially slows down, and mains ripple amplitude is notable simultaneously
Reduce the validity it was demonstrated that current filtering of the present invention and dead-zone compensation method.
As shown in figure 11, the experiment condition of Figure 11 with Figure 10 is identical, contrasts it is obvious that as shown in Figure 11 (a) shows, not
Very big distortion is had using the current filtering of the present invention and the phase current waveform of dead-zone compensation method, and adopts the electric current of the present invention
After filtering and dead-zone compensation method, shown in such as Figure 11 (b), phase current waveform becomes to smooth very much, distortion significantly reduce it was demonstrated that
Effectiveness of the invention.
Shown in Figure 12, the instruction of q shaft current is set to constant 0.5a, makes permanent magnetism same by adjusting dynamometer machine output torque
Step motor 2 stabilization of speed is in 500rpm.Contrast Figure 10 and Figure 12, due to the reduction of rotating speed, in Figure 12 (a) and Figure 12 (b), dq
Shaft current is reduced with voltage ripple frequency, even if on the premise of not taking dead area compensation measure, pulsation amplitude also has obvious fall
Low.With the reduction of frequency, the ability of electric current loop anti-dead time effect impact is strengthened.
As shown in figure 13, the experiment condition of Figure 13 with Figure 12 is identical, because rotating speed is relatively low, even if not taking dead area compensation to arrange
Apply, the pulsation amplitude of stator phase currents also has obvious reduction, with the reduction of frequency, the ability of electric current loop anti-dead time effect impact
Strengthened.
As shown in figure 14, in Figure 14 (a) and Figure 14 (b), the instruction of q shaft current is set to constant 0.5a, by adjusting
Dynamometer machine output torque makes permagnetic synchronous motor 2 rotating speed stablize in 170rpm and 170rpm respectively.With permagnetic synchronous motor
The reduction further of rotating speed, even if not taking dead area compensation measure, stator monophase current can obtain the reasonable waveform of sine degree,
Because the simple stator relying on the electric current loop adjuster adjustment effect of itself can obtain relatively sine is mutually electric during low speed
Stream waveform, then it is inconspicuous to compensate meaning to dead band.Meanwhile, the when anaplasia that during low speed, phase current is detained in zero point annex
Long, the judgement to current polarity is affected be more susceptible to noise, and the possibility occurring by mistake compensating is bigger.Therefore, can during low speed
Relied on not taking indemnifying measure current regulator itself adjustment effect can deadband eliminating effect impact.
The various embodiments described above are merely to illustrate the present invention, and the structure of wherein each part, connected mode and manufacture craft etc. are all
Can be varied from, every equivalents carrying out on the basis of technical solution of the present invention and improvement, all should not exclude
Outside protection scope of the present invention.
Claims (4)
1. a kind of permagnetic synchronous motor current filtering and dead area compensation device compensation method it is characterised in that: described compensate dress
Put including position sensor, permagnetic synchronous motor, rotating speed computing module, coordinate transformation module, electric current inverse transform block, speed ring
Pi adjuster, current sensor, summation module, increment type Kalman filter, the first electric current loop pi adjuster, voltage inverse transformation
Module, the second electric current loop pi adjuster, inverter and dead area compensation module;Described coordinate transformation module, increment type Kalman filter
Ripple device and the first electric current loop pi adjuster constitute q shaft current ring;Described coordinate transformation module, increment type Kalman filter and
Two electric current loop pi adjusters constitute d shaft current ring, and described q shaft current ring and d shaft current ring constitute electric current loop;
The input of described position sensor connects the output end of described permagnetic synchronous motor, the output end of described position sensor
Connect described rotating speed computing module, described coordinate die change block and electric current inverse transform block respectively, electrical angle θ collecting is transmitted
To described rotating speed computing module, described coordinate die change block and electric current inverse transform block;The rotating speed of described rotating speed computing module output
ω as negative-feedback, and with given rotating speed command value ω*After taking difference, as the input of described speed ring pi adjuster;Described
Current sensor connects the stator of described permagnetic synchronous motor, by the three-phase current of the permanent-magnetic synchronous motor stator detecting
Biphase current takes through the summation of described summation module after bearing and inputs described coordinate transformation module;Described current sensor is simultaneously also by institute
State biphase current and input described coordinate transformation module, described coordinate transformation module carries out described three-phase current after dq coordinate transform
Input described increment type Kalman filter, q shaft current detected value iqWith d shaft current detected value idThrough described increment type Kalman
After filter process, by q shaft current predictive filtering value iq_preInput described q shaft current ring and electric current inverse transform block respectively, will
Described d shaft current predictive filtering value id_preInput described d shaft current ring and electric current inverse transform block respectively;Described q shaft current is pre-
Survey filter value iq_preAs q shaft current ring negative-feedback, the output with described speed ring pi adjuster is compared, and fiducial value is input to institute
State the first electric current loop pi adjuster and obtain q shaft voltageQ shaft voltageTransmit to described voltage inverse transform block;Described d axle electricity
Stream detected value id_preAs d shaft current ring negative-feedback and previously given electric currentRelatively, fiducial value is input to described second electricity
Stream ring pi adjuster obtains d shaft voltageD shaft voltageTransmit to described voltage inverse transform block;Described voltage contravariant die change
The output end of block connects the input of described inverter;The output end of described electric current inverse transform block connects described dead area compensation mould
The input of block, the output end of described dead area compensation module connects the input of described inverter, the output end of described inverter
Connect the input of described permagnetic synchronous motor;
Described compensation method comprises the following steps:
1) current sensor is by the permagnetic synchronous motor detecting threephase stator electric current ia、ibAnd icInput to coordinate transformation module
Interior, the coordinate transform of abc/ α β is carried out to it, obtains the current component i under two-phase rest frameα、iβ:
In formula, icFor ia、ibThe negative value of sum;
2) in coordinate transformation module, electrical angle θ that the permanent-magnetic synchronous motor rotor according to receiving rotates through, static to two-phase
Current component i under coordinate systemα、iβCarry out α β/dq coordinate transform again, obtain the electric current inspection under two-phase synchronous rotary dq coordinate system
Measured value id、iq:
In formula, the electrical angle that θ rotates through for permanent-magnetic synchronous motor rotor, obtained by position sensor;
3) electrical angle θ that permanent-magnetic synchronous motor rotor rotates through inputs to rotating speed computing module, carries out differential to electrical angle θ,
Obtain speed feedback value ω;Speed feedback value ω and previously given rotational speed command value ω*Defeated as speed ring pi adjuster
Enter, obtain current instruction value through calculation process
4) current detection value iq、idIt is input in increment type Kalman filter, by increment type Kalman filter output d axle electricity
Stream predictive filtering value id_preWith q shaft current predictive filtering value iq_pre;
5) current instruction valuePreviously given electric currentRespectively with d shaft current predictive filtering value id_prePredict filter with q shaft current
Wave number iq_preRelatively, fiducial value is respectively as the input of the first electric current loop pi adjuster, the second electric current loop pi adjuster, Jing Guoyun
Calculation processes and respectively obtains the first electric current loop pi adjuster, the reference voltage of the second electric current loop adjuster output
6) d shaft current predictive filtering value id_pre, q shaft current predictive filtering value iq_prePermanent magnet synchronous electric with position sensor output
Electrical angle θ that machine rotor rotates through is separately input to electric current inverse transform block, by electric current inverse transform block output three-phase prediction electricity
Stream ia_pre、ib_preAnd ic_pre;
7) three-phase predicted current ia_pre、ib_preAnd ic_preInput dead area compensation module, dead area compensation module predicts electricity according to three-phase
Stream ia_pre、ib_preAnd ic_prePolarity export corresponding offset voltage;Described dead area compensation comprises the following steps:
1. dead area compensation module is according to next cycle three-phase predicted current i receivinga_pre、ib_preAnd ic_pre, obtain next week
Relevant voltage error delta u that phase three-phase predicted current produces respectivelya、δubWith δ uc:
Sign () be predicted current polarity, predicted current value > 0 when, sign () value be 1, otherwise for -1;tdDead for setting
Area's time, ton、toffIt is respectively break-over of device time and turn-off time, tsFor controlling cycle, vdcFor DC bus-bar voltage;
2. by three-phase predicted current ia_pre、ib_preAnd ic_preThe voltage error δ u producinga、δubWith δ ucTake negative value respectively, obtain
Arrive and three-phase predicted current ia_pre、ib_preAnd ic_preCorresponding offset voltage;
8) reference voltageInput voltage inverse transform block, voltage inverse transform block exports three-phase voltage ua, ub, uc, with three
Phase predicted current ia_pre、ib_preAnd ic_preCorresponding offset voltage respectively with three-phase voltage ua, ub, ucInversion is inputted after superposition
Device, inverter exports corresponding three-phase voltage to permagnetic synchronous motor, drives permagnetic synchronous motor work.
2. as claimed in claim 1 a kind of permagnetic synchronous motor current filtering and dead-zone compensation method it is characterised in that: described
Step 4) in, increment type Kalman filter is to current detection value id、iqProcess comprise the following steps:
(1) under synchronous rotating frame, the stator d axle of permagnetic synchronous motor, q shaft voltage equation are:
ud=rid+lddid/dt-ωlqiq,
uq=riq+lqdiq/dt+ωldid+ωψf,
Wherein ud、uqIt is respectively stator d, q shaft voltage, id、iqIt is respectively stator d, q shaft current, r is stator resistance, ld、lqRespectively
For stator d, q axle inductance, ψfFor permanent magnet flux linkage, ω is rotor speed;
(2) according to the stator q shaft voltage equation in step (1), in current period (k) tsWith a upper cycle (k-1) tsInside build respectively
The discrete voltage equation of vertical permagnetic synchronous motor:
uq(k)=re(iq(k)+iq_pre(k+1))/2+le(iq_pre(k+1)-iq(k))/ts+ω(ldid+ψf),
uq(k-1)=r (iq(k)+iq(k-1))/2+lq(iq(k)-iq(k-1))/ts+ω(ldid+ψf),
Wherein iq_pre(k+1) it is the predicted value to next start time in cycle q shaft current, abbreviation current forecasting in current period
Value, iqK () is the current detection value of current period, iq(k-1) a upper periodic permanent magnet synchronous motor stator q shaft current detected value, ts
For controlling cycle, uqK () is current period stator q shaft voltage, uq(k-1) it is a upper cycle stator q shaft voltage, re、leIt is respectively
To permanent-magnetic synchronous motor stator resistance r, stator q axle inductance lqEstimate;
(3) ignore the change of the voltage term related to rotating speed, two formula in step (2) are subtracted each other, obtains permanent magnet synchronous electric
The simplification current increment formula of machine, because reMuch smaller than le/ts, therefore ignore the impact of r, obtain in current period to next week
Predicted value i of start time phase d shaft currentd_pre(k+1), and by current increment formula change into matrix form:
(4) according to the Mathematical Modeling that the current increment formula of step (3) matrix form sets up increment type Kalman filter it is:
Wherein, w is input noise vector, and v is output noise vector;xk、xk-1For system mode vector, ykFor system export to
Amount, uk-1For dominant vector;fk-1、bk-1, c be coefficient matrix;
(5) Mathematical Modeling according to increment type Kalman filter, is iterated to its correlated variables, obtains optimal estimation value
3. as claimed in claim 2 a kind of permagnetic synchronous motor current filtering and dead-zone compensation method it is characterised in that: described
In step (5), described optimal estimation valueComputational methods comprise the following steps:
1. calculate prior estimate vector valueWith corresponding error matrix
Wherein, qk-1For noise matrix qk-1,Optimal estimation vector value for system state variablesIn (k-1) cycle
State vector,For kth cycle prior estimate vector, it is an intermediate variable,For kth cycle prior estimate error matrix,
For intermediate variable matrix, pk-1For system (k-1) cycle error matrix;
2. calculate gain matrix kk:
3. computing system is in the optimal estimation value of kth periodic system state variable
Whereiniq_(k-1) it is permanent-magnetic synchronous motor rotor (k-1) current detection value iqOptimal estimation
Value, iq_K () is permanent-magnetic synchronous motor rotor in kth periodic current detected value iqOptimal estimation value;
4. calculate the error matrix p in kth cyclekOptimal estimation value:
Wherein, qk-1、rk-1It is respectively the covariance matrix of noise w, v, error matrix pkFor the optimal estimation value in estimation process
Error matrix, by successive ignition, error matrix pkEventually converge to null matrix.
4. as claimed in claim 1 a kind of permagnetic synchronous motor current filtering and dead-zone compensation method it is characterised in that: described
Step 6) in, in described electric current inverse transform block, processing procedure comprises the following steps:
1. predict next periodic permanent magnet synchronous electric motor rotor coordinate transform angle, θpre, due to permagnetic synchronous motor mechanical time
Constant is much larger than the state of electrical time constant operation then it is assumed that motor remains a constant speed at short notice, i.e. permagnetic synchronous motor
The angle, θ that rotor turned within next cycle with current period is consistent;
2. combine the predictive filtering value of dq shaft current, by coordinate transform, obtain the predicted value of the three-phase current in next cycle
ia_pre、ib_preAnd ic_preFor:
And predicted value i of next cycle three-phase current is calculated according to above formulaa_pre、ib_preAnd ic_pre.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310692734.6A CN103684179B (en) | 2013-12-17 | 2013-12-17 | Compensation device and compensation method of current filtering and dead zone of permanent magnet synchronous motor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310692734.6A CN103684179B (en) | 2013-12-17 | 2013-12-17 | Compensation device and compensation method of current filtering and dead zone of permanent magnet synchronous motor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103684179A CN103684179A (en) | 2014-03-26 |
CN103684179B true CN103684179B (en) | 2017-01-18 |
Family
ID=50320713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310692734.6A Active CN103684179B (en) | 2013-12-17 | 2013-12-17 | Compensation device and compensation method of current filtering and dead zone of permanent magnet synchronous motor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103684179B (en) |
Families Citing this family (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR3021469B1 (en) * | 2014-05-21 | 2016-06-24 | Commissariat A L`Energie Atomique Et Aux Energies Alternatives | METHOD OF TORQUE CONTROL OF AN ELECTRIC MOTOR |
CN104476544A (en) * | 2014-10-23 | 2015-04-01 | 广东工业大学 | Self-adaptive dead zone inverse model generating device of visual servo mechanical arm system |
CN105790660B (en) * | 2016-03-03 | 2019-02-22 | 南京理工大学 | Ultrahigh speed permanent magnet synchronous motor revolving speed adaptive robust control system and method |
CN107317502B (en) * | 2016-04-18 | 2023-07-18 | 珠海格力电器股份有限公司 | Inverter dead zone compensation method and device and inverter |
JP6319532B1 (en) * | 2016-07-20 | 2018-05-09 | 日本精工株式会社 | Electric power steering device |
CN106291246B (en) * | 2016-08-26 | 2019-03-01 | 天津瑞能电气有限公司 | A kind of quick power grid fundamental voltage amplitude detection method of LES bimodulus and bimodulus detector |
GB201617387D0 (en) * | 2016-10-13 | 2016-11-30 | Trw Automotive Gmbh | Control system for electric motor circuit |
FR3060127B1 (en) * | 2016-12-13 | 2019-03-15 | Seb S.A. | METHOD FOR DYNAMICALLY COMPENSATING THE OFFSET ERROR OF AN ACQUISITION CHAIN COMPRISING A CURRENT SENSOR |
CN106712629B (en) * | 2016-12-15 | 2019-06-11 | 宁波央腾汽车电子有限公司 | A kind of current control method of permanent magnet synchronous motor |
CN106788058A (en) * | 2016-12-22 | 2017-05-31 | 南京埃斯顿自动控制技术有限公司 | A kind of dead time compensation control method of permagnetic synchronous motor |
CN106809050B (en) * | 2017-01-11 | 2019-06-11 | 广东高标电子科技有限公司 | A kind of method and apparatus of control electric vehicle operation |
CN107070341B (en) * | 2017-03-24 | 2019-05-10 | 中国科学院长春光学精密机械与物理研究所 | Permanent magnet synchronous motor method for suppressing torque ripple based on Robust Iterative Learning Control |
CN108736779A (en) * | 2017-11-30 | 2018-11-02 | 深圳市科卫泰实业发展有限公司 | A kind of horizontal stage electric machine control method |
CN108288934B (en) * | 2018-02-05 | 2019-11-22 | 中山大洋电机股份有限公司 | A kind of control method correcting PMSM motor compensating project |
CN109088567B (en) * | 2018-08-02 | 2021-05-28 | 哈尔滨工程大学 | Follow current interference compensation method for brushless direct current motor without position sensor |
CN111162699B (en) * | 2018-11-08 | 2023-09-01 | 中车永济电机有限公司 | Large-power direct-drive permanent magnet electric transmission system for electric locomotive |
CN109981015A (en) * | 2019-03-23 | 2019-07-05 | 广东希塔变频技术有限公司 | Motor drive control method, device, circuit and transducer air conditioning |
CN110071673B (en) * | 2019-04-26 | 2021-03-16 | 河北工业大学 | Permanent magnet motor period lag compensation and three-phase power-on six-beat control device and method |
CN110098774A (en) * | 2019-05-21 | 2019-08-06 | 上海大郡动力控制技术有限公司 | Electric machine controller dead-time compensation method based on current forecasting |
CN110829930A (en) * | 2019-09-30 | 2020-02-21 | 潍柴动力股份有限公司 | Inverter dead zone compensation method and device, inverter and automobile |
CN111030184A (en) * | 2019-12-28 | 2020-04-17 | 新风光电子科技股份有限公司 | Dead zone compensation method in grid-connected inverter and vector control |
CN111756287B (en) * | 2020-06-18 | 2022-08-05 | 中车永济电机有限公司 | Dead zone compensation method suitable for permanent magnet motor control based on current prediction |
CN111756300B (en) * | 2020-06-18 | 2022-08-05 | 中车永济电机有限公司 | Dead zone compensation method suitable for linear induction motor control based on current prediction |
CN114070171A (en) * | 2020-07-30 | 2022-02-18 | 纬湃科技有限责任公司 | Method, device and vehicle for determining phase current of inverter |
CN112737448B (en) * | 2020-12-29 | 2023-03-03 | 联合汽车电子有限公司 | Vehicle motor control system and control method |
CN112865642B (en) * | 2021-01-18 | 2022-06-10 | 南京航空航天大学 | Harmonic suppression system and method for line-controlled steering permanent magnet synchronous motor |
CN113037162B (en) * | 2021-02-22 | 2022-04-26 | 江苏大学 | Vibration compensation controller for neural network band-pass filter of bearingless permanent magnet synchronous motor |
CN113364384A (en) * | 2021-06-03 | 2021-09-07 | 广东电网有限责任公司 | Dead zone compensation method and device for low-speed-stage permanent magnet synchronous motor |
CN114244222B (en) * | 2021-11-02 | 2023-05-05 | 西南交通大学 | Permanent magnet synchronous motor control method |
CN114257150B (en) * | 2022-01-26 | 2022-11-01 | 合肥倍豪海洋装备技术有限公司 | Permanent magnet synchronous motor dead zone compensation method based on improved Kalman filter |
CN114744939B (en) * | 2022-03-10 | 2024-06-04 | 华中科技大学 | Online compensation method and equipment for dead zone voltage of current loop of permanent magnet synchronous motor |
CN115508704B (en) * | 2022-09-26 | 2024-09-06 | 常州傲楚电子科技有限公司 | Method and device for detecting open-phase state of electronic water pump of automobile |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102208894A (en) * | 2011-03-16 | 2011-10-05 | 浙江理工大学 | Rotating speed evaluation method used for speed-sensorless induction motor vector controlling |
CN103401503A (en) * | 2013-07-29 | 2013-11-20 | 清华大学 | Method and device for distinguishing double-three-phase motor parameter on line on harmonic plane |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3666578B2 (en) * | 2000-08-18 | 2005-06-29 | 株式会社安川電機 | Predictive control device |
-
2013
- 2013-12-17 CN CN201310692734.6A patent/CN103684179B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102208894A (en) * | 2011-03-16 | 2011-10-05 | 浙江理工大学 | Rotating speed evaluation method used for speed-sensorless induction motor vector controlling |
CN103401503A (en) * | 2013-07-29 | 2013-11-20 | 清华大学 | Method and device for distinguishing double-three-phase motor parameter on line on harmonic plane |
Non-Patent Citations (3)
Title |
---|
基于卡尔曼滤波器的PMSM逆变器死区效应补偿方法;周建华等;《微特电机》;20091231(第3期);第25-27页 * |
基于扩展Kalman滤波器的PMSM高性能控制系统;郑泽东等;《电工技术学报》;20071031;第22卷(第10期);第18-23、29页 * |
永磁同步电机改进电流预测控制;王伟华等;《电工技术学报》;20130331;第28卷(第3期);第50-55页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103684179A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103684179B (en) | Compensation device and compensation method of current filtering and dead zone of permanent magnet synchronous motor | |
CN107086834B (en) | The permanent-magnet synchronous motor rotor position delay compensation method evaluation method of Square wave injection | |
CN106602941B (en) | A kind of control device and method reducing brshless DC motor commutation torque ripple | |
JP6132948B1 (en) | Motor control device and motor control method | |
US6844697B2 (en) | Motor controller | |
CN103501146B (en) | Commutation method for suppressing torque ripple and the system of BLDCM Drive System | |
CN106059434B (en) | The current loop control method and device of motor based on single current sensor | |
EP2164165A1 (en) | Method and apparatus for reducing torque ripple in permanent magnet synchronous machines | |
Vogelsberger et al. | Using PWM-induced transient excitation and advanced signal processing for zero-speed sensorless control of AC machines | |
CN103036496B (en) | Self-adaption reverse-pushing controlling permanent magnet synchronous motor direct torque control (DTC) system and control method thereof | |
CN107302328B (en) | The control method of permanent magnet synchronous motor position-sensor-free based on low frequency voltage injection method | |
CN103516284B (en) | A kind of permagnetic synchronous motor current increment prediction algorithm | |
CN108390602B (en) | A kind of direct prediction power control method of hybrid exciting synchronous motor | |
CN110071674B (en) | Position-sensor-free permanent magnet synchronous motor maximum torque current ratio control method | |
CN106849808B (en) | New method for sensorless control technique of PMSM and method with LC filter | |
CN105720879B (en) | A kind of novel doubly fed induction generator control method based on direct character control | |
CN104184374A (en) | Advance angle regulation method for permanent magnet synchronous motor control system | |
CN109039171A (en) | A kind of high-speed permanent-magnet brushless DC motor control method based on variable turn-on cycle | |
CN103563243A (en) | Inverter control device | |
CN104868808B (en) | Aerial three-stage brushless power generation system starting excitation control method of two-phase exciter | |
CN103475296A (en) | Control method of permanent magnet synchronous brushless direct-current motor in low frequency | |
CN103532466A (en) | Method and device for controlling torque change rate of permanent magnet synchronous motor | |
CN101753091A (en) | Current loop control method of permanent magnet synchronous motor | |
CN111082726B (en) | Current control method of permanent magnet motor servo system | |
CN100568705C (en) | A kind of closed loop synchronous modulation method and system based on space vector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |