SPMSM sensorless composite control method with dual sliding-mode observers

11522480 · 2022-12-06

Assignee

Inventors

Cpc classification

International classification

Abstract

A PMSM sensorless composite control method with dual sliding-mode observers is provided. In particular, two sliding-mode observers are designed, one provides an exponential piecewise sliding-mode function for observation of back electromotive force, and the other sliding-mode observer is for observation of load torque and fine-tuning parameters of a piecewise PI controller while introducing an estimated load torque onto a q-axis for feedforward compensation. A q-axis current inner loop is designed with a second-order sliding-mode controller, which can improve tracking performance of q-axis current and indirectly control an electromagnetic torque. The exponential piecewise sliding-mode function is more conductive to the observation of back electromotive force and can weaken the buffeting phenomenon. The sliding-mode observer for observing the load torque fine-tunes parameters of the piecewise PI controller while performing the feedforward compensation, the load capability of the system is improved. The second-order sliding-mode controller can reduce a torque ripple.

Claims

1. A composite control method with dual sliding-mode observers for sensorless control of a permanent magnet synchronous motor (PMSM) in medium and high speed domains, comprising: (1) sampling a three-phase current i.sub.abc and a three-phase voltage u.sub.abc, obtaining a current i.sub.αβ and a voltage u.sub.αβ in a stationary coordinate system after performing Clark coordinate transformation on the three-phase current i.sub.abc and the three-phase voltage u.sub.abc, obtaining an estimated current custom character in the stationary coordinate system after an integral operation based on a reconstructed PMSM current state equation, performing a difference operation between the estimated current custom character in the stationary coordinate system and the current i.sub.αβ in the stationary coordinate system to obtain a current error custom character, setting the current error custom character as a sliding-mode surface s.sub.αβ, and observing a back electromotive force (EMF) according to an exponential piecewise sliding-mode function z(s.sub.αβ), wherein an expression of the exponential piecewise sliding-mode function is that: z ( s α β ) = { 1 , s αβ σ s αβ 2 σ 2 ( 1 + e - σ ) , 0 s αβ < σ s αβ 2 σ 2 ( 1 + e - σ ) , - σ s αβ < 0 - 1 , s αβ < - σ where σ is a thickness of a boundary layer, and s.sub.αβ is the sliding-mode surface; (2) determining a load sliding-mode observer for observation of load torque, using a mechanical angular speed custom character and a feedback quadrature-axis (q-axis) current as input, outputting an estimated load torque custom character, using a magnitude of the estimated load torque custom character as a judgement condition to switch parameters of a rotational speed outer loop piecewise proportional-integral (PI) controller, and adding the estimated load torque custom character on a q-axis estimated current custom character for feedforward compensation; and (3) using a q-axis current error custom character as a sliding-mode surface, and determining a second-order sliding-mode controller to indirectly control an electromagnetic torque.

2. The composite control method with dual sliding-mode observers for sensorless control of a permanent magnet synchronous motor in medium and high speed domains according to claim 1, wherein the load sliding-mode observer is to observe a load torque to thereby fine-tune parameters of the piecewise PI controller while add the estimated load torque on a q-axis for feedforward compensation.

3. The composite control method with dual sliding-mode observers for sensorless control of a permanent magnet synchronous motor in medium and high speed domains according to claim 1, wherein a q-axis current inner loop uses the second-order sliding-mode controller based on a super-twisting algorithm, and the sliding-mode surface using the q-axis current error is expressed as that:
s.sub.q=custom character−i.sub.q; and the controller for q-axis current is expressed as that: { u q = - K p .Math. "\[LeftBracketingBar]" s q .Math. "\[RightBracketingBar]" 0.5 sign ( s q ) + u sq du sq dt = K i sign ( s q ) , where u.sub.q is a q-axis output voltage, sign( ) is sign function, K.sub.p and K.sub.i adjustable parameters.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The invention is further described below in combination with the accompanying drawings and embodiments.

(2) FIG. 1 illustrates a schematic principle block diagram of a SPMSM composite control method with dual sliding-mode observers according to the invention.

(3) FIG. 2 illustrates an exponential piecewise sliding-mode function according to the invention.

(4) FIG. 3 illustrates a schematic principle block diagram of an exponential piecewise sliding-mode observer according to the invention.

(5) FIG. 4 illustrates a schematic flowchart of a piecewise PI controller according to the invention.

(6) FIG. 5a illustrates a schematic diagram of rotational speed of a SPMSM sensorless composite control method with dual sliding-mode observers according to the invention.

(7) FIG. 5b illustrates a schematic diagram of rotational speed of a SPMSM sensorless control method with a traditional sliding-mode observer.

(8) FIG. 6a illustrates a schematic diagram of rotational speed error of the SPMSM sensorless composite control method with the dual sliding-mode observers according to the invention.

(9) FIG. 6b illustrates a schematic diagram of rotational speed error of the SPMSM sensorless control method with the traditional sliding-mode observer.

(10) FIG. 7a illustrates a schematic diagram of electromagnetic torque of the SPMSM sensorless composite control method with the dual sliding-mode observers according to the invention.

(11) FIG. 7b illustrates a schematic diagram of electromagnetic torque of the SPMSM sensorless control method with the traditional sliding-mode observer.

(12) FIG. 8 illustrates a schematic diagram of rotor position of the SPMSM sensorless composite control method with the dual sliding-mode observers according to the invention.

(13) FIG. 9 illustrates a schematic diagram of load torque estimated by a load sliding-mode observer according to the invention.

(14) FIG. 10 illustrates a schematic diagram of a load torque error between the load torque estimated by the load sliding-mode observer and an actual load torque according to the invention.

DETAILED DESCRIPTION OF EMBODIMENTS

(15) A hardware environment of the invention may use DSP28335 launched by TI (Texas Instruments) company as a main control chip of an experimental platform, and choose IKCM30F60GA model of Infineon company as a driver module. The experimental platform mainly carries out some basic protections for abnormal states such as overcurrent, overvoltage and overtemperature, and samples real-time current and voltage on PMSM three-phase windings. A control algorithm of the invention may be mainly realized by writing a C language program through CCS6.2 (code composer studio 6.2) software. FIG. 1 illustrates a schematic overall principle block diagram of an embodiment of the invention, and programmed logics are as follows.

(16) A three-phase current i.sub.abc and a three-phase voltage u.sub.abc on the PMSM windings are sampled through three sampling resistors of a phase current sampling circuit on the driver module, and then are converted into digital signals, and after equal amplitude Clark transformation, real-time sampled current i.sub.αβ and voltage u.sub.αβ in a stationary coordinate system are obtained.

(17) A current state equation of the permanent magnet synchronous motor in the stationary coordinate system is that:

(18) { di α dt = R s L s i α + u α L s - e α L s di β dt = R s L s i β + u β L s - e β L s .

(19) According to the exponential sliding-mode observer in FIG. 3, the current state equation of the permanent magnet synchronous motor in the stationary coordinate system is reconstructed as that:

(20) { d i α ^ dt = R s L s i α ^ + u α L s - Kz ( s α ) L s d i β ^ dt = R s L s i β ^ + u β L s - Kz ( s β ) L s

(21) where, K is a sliding-mode gain, R.sub.s and L.sub.s respectively are stator resistance and inductance, i.sub.α, i.sub.β, u.sub.α, u.sub.β respectively are stator currents and voltages in the stationary coordinate system; e.sub.α, e.sub.β respectively are components on α and β axes of a back EMF, w.sub.e is an electrical angular speed, ψ.sub.f is a permanent magnet flux linkage, θ.sub.e is an electrical angle, Z(s.sub.αβ) is an exponential piecewise sliding-mode function according to the invention and a function characteristic is shown in FIG. 2; “{circumflex over ( )}” represents an estimated value, and “˜” represent an error value.

(22) The real-time sampled current i.sub.αβ and voltage u.sub.αβ sampled by the phase current sampling circuit on the driver module are used as input, the estimated current custom character is obtained after an integral operation, and then subtracted by the real-time sampled current i.sub.αβ to obtain the real-time current error custom character. The real-time error custom character is used as input of the exponential piecewise sliding-mode function Z(s.sub.αβ), then is multiplied by the sliding-mode gain K, and a low-pass filter is used to filter out redundant high-order harmonic interference in an equivalent back EMF to obtain the estimated back EMF custom character and custom character, at this time, custom character=−custom characterψ.sub.f sin custom character, custom character=custom characterψ.sub.f cos custom character. custom character and custom character are input to a divider for division operation to obtain a tangent value of an estimated electrical angle custom character, and then the estimated electrical angle custom character is obtained through an arctangent function operation, custom character and custom character are first performed with calculation of the sum of squares and then performed with calculation of square root to obtain custom characterΨ.sub.f, and the obtained custom characterΨ.sub.f then is divided by the permanent magnet flux linkage Ψ.sub.f through a divider to obtain an estimated electrical angular speed custom character, and the estimated electrical angle custom character and the estimated electrical angular speed custom character are used to realize speed loop closed-loop and Park transformation of vector control for the permanent magnet synchronous motor.

(23) An embodiment of the invention transforms the estimated electrical angular speed custom character calculated by the exponential sliding-mode observer in FIG. 3 into an estimated mechanical angular speed custom character as follows:
custom character=custom character/p

(24) where p is a pole pair number.

(25) The transformed estimated mechanical angular speed custom character and a feedback q-axis current i.sub.q (obtained by Clark transformation and park transformation after sampling the three-phase current on the PMSM windings) are input a load sliding-mode observer designed by the invention, and an estimated load torque custom character is output. The load sliding-mode observer as designed is as follows:

(26) [ w m ^ . T L ^ . ] = [ 0 - 1 J 0 0 ] [ w m ^ T L ^ ] + [ 1 J 0 ] T e + [ 1 l ] U

(27) where s.sub.w is a difference of a mechanical angular speed observed by the load sliding-mode observer subtracting the mechanical angular speed observed by the exponential sliding-mode observer, and a sliding-mode control law is U=−a.sub.1 sign(s.sub.w)−a.sub.2s.sub.w; a.sub.1 and a.sub.2 are control parameters.

(28) According to an electromagnetic torque formula of a surface-mounted permanent magnet synchronous motor that T.sub.e=T.sub.L=1.5ψ.sub.fi.sub.q, the load torque custom character estimated by the load sliding-mode observer is transformed into a q-axis current compensation value, and added to the output of rotational speed loop piecewise PI controller for feedforward compensation, so that when the system is suddenly added with a load, a sudden drop of speed can be smaller and the response can be faster, thereby improving the load capability of the system.

(29) Because the temperature of a motor will rise and the inductance parameter of the motor will change greatly during an on-load operation of the motor, it is difficult for a single PI controller to adapt to the two working conditions of no-load and on-load, the illustrated embodiment of the invention uses the load torque estimated by the designed load sliding-mode observer as a judgment condition of the rotational speed loop piecewise PI controller, and fine-tunes parameters of the rotational speed loop piecewise PI controller. FIG. 4 illustrates a schematic flowchart of the piecewise PI controller according to the invention, and adjustment criteria of parameters of the piecewise PI controller as follows.

(30) (1) when the estimated load torque custom character is less than a preset error tolerance ε, PI parameters of rotational speed outer loop with no-load operation are used.

(31) (2) when the estimated load torque custom character is greater than the preset error tolerance ε, PI parameters of rotational speed outer loop with on-load operation are used.

(32) The output custom character of the rotational speed outer loop piecewise PI controller after feedforward compensation is subtracted with the feedback q-axis actually sampled current i.sub.q (obtained by Clark transformation and park transformation after sampling the three-phase current on the PMSM windings) in a synchronous rotation coordinate system to obtain the current error custom character, the current error custom character then is input to a second-order sliding-mode controller based on a super-twisting algorithm according to the invention to output an estimated q-axis voltage custom character. The second-order sliding-mode controller based on the super-twisting algorithm is as follows:

(33) { u q = - K p .Math. "\[LeftBracketingBar]" s q .Math. "\[RightBracketingBar]" 0.5 sign ( s q ) + u sq du sq dt = K i sign ( s q ) ,

(34) Where, s.sub.q is a difference of an input value of the piecewise PI controller subtracting the feedback q-axis current value.

(35) The outputs of a d-axis current loop PI controller and the q-axis super-twisting based second-order sliding-mode controller, after Park inverse transformation, are input to the control chip DSP28335, and by means of a modulation of space vector pulse width modulation (SVPWM) algorithm, three pairs of complementary driving signals are obtained to drive on-off of IGBT transistors on three legs in a IPM driver module, and thereby output a three-phase sinusoidal current to the permanent magnet synchronous motor for power supply.

(36) In summary, the composite control method with the dual sliding-mode observers for realizing sensorless control of a permanent magnet synchronous motor in medium and high domains, designs an exponential piecewise sliding-mode function, which has a saturation characteristic of switching function outside a boundary layer, has a small part of step characteristics at the boundary layer, and has characteristics of continuity and exponential approach law inside the boundary layer, and therefore it can avoid multiple jump fluctuations at the sliding surface, and the back EMF observed by the exponential piecewise sliding-mode observer as shown in FIG. 3 is more accurately. The estimated back EMF components custom character and custom character are used to estimate a rotor position by means of an inverse tangent function to obtain an estimated rotor position angle custom character and an estimated electrical angular speed custom character, which can weaken the buffeting phenomenon and improve the accuracy. The estimated electrical angular speed custom character then is transformed into an estimated mechanical angular speed custom character as an input of the load sliding-mode observer, and an estimated load torque custom character is output, and afterwards the estimated load torque custom character is transformed into the q-axis current compensation value and added to the output of the rotational speed loop piecewise PI controller for feedforward compensation, and meanwhile the estimated load torque custom character is used as an judgement condition to fine-tune the parameters of the piecewise PI controller, so that the system can adapt to the two working conditions of no-load and sudden load, thereby improving the load capability of the system. The q-axis current inner loop is designed with super-twisting algorithm based second-order sliding-mode controller to improve q-axis current tracking performance and thereby indirectly control electromagnetic torque and reduce torque ripple.

(37) A simulation model of an embodiment of the invention is built with MATLAB/Simulink, and an application effect of the embodiment of the invention will be described in detail below in combination with simulation waveforms.

(38) As seen from the comparison of FIG. 5a with FIG. 5b, a rotational speed graph of the embodiment of the invention is smoother than that of the traditional sliding-mode observer, the invention can weaken the buffeting phenomenon well, and when a sudden load of 5 N.Math.M is applied at the time of 0.2 s, compared with the traditional sliding-mode observer, the embodiment of the invention has a smaller sudden drop in rotational speed, faster rotational speed recovery and better load capacity. As seen from the comparison of FIG. 6a with FIG. 6b, a rotational speed estimation error of the embodiment of the invention is smaller than a rotational speed estimation error of the traditional sliding-mode observer, and the rotational speed estimation error of the embodiment of the invention is nearly close to 0. As seen from the comparison of FIG. 7a and FIG. 7b, an electromagnetic torque ripple of the embodiment of the invention is smaller than that of the traditional sliding-mode observer. It can be found from FIG. 9 that the load sliding-mode observer designed by the embodiment of the invention can be used to observe the actual load torque in real-time, and the observation effect is accurate and the response is fast. It can be found from FIG. 10 that an error between the estimated load torque of the embodiment of the invention and the actual load torque is close to 0. It can be seen from this set of simulation diagrams that the SPMSM sensorless composite control method with dual sliding-mode observers according to the invention can weaken the buffeting phenomenon and has better dynamic and steady state performances and load capability, which proves the correctness and effectiveness of the invention.