A sliding-mode control of a Dual-PMSMs synchronization driving method
2023-12-01SONGXiaoliZHANGChiGUOYawei
SONG Xiao-li ,ZHANG Chi,3,GUO Ya-wei,3
(1.National Astronomical Observatories/Nanjing Institute of Astronomical Optics & Technology,Chinese Academy of Sciences, Nanjing 210042, China;2.CAS Key Laboratory of Astronomical Optics & Technology, Nanjing Institute of Astronomical Optics & Technology, Nanjing 210042, China;3.University of Chinese Academy of Sciences, Beijing 100049, China)
Abstract: Speed synchronization performance and anti-interference are important factors that affect the synchronous operation dynamic response and steady-state accuracy of dual Permanent Magnet Synchronous Motors’ (Dual-PMSMs).By introducing cross-coupling control as the framework,an integral sliding mode speed tracking controller based on an improved bi-power reaching method is proposed to reduce the speed error between two motors.A load torque observer is designed to bring the observed value into the Sliding Mode Control (SMC) reaching method that enhances the anti-disturbance performance of the system.Meanwhile,a synchronous controller is designed using a Fuzzy-Proportional-Integral-Derivative (FPID) control to improve the synchronization of the Dual-PMSMs.The results show that compared with the traditional PI algorithm as the target speed is 800 r/min,the proposed control method can decrease the two motors’ speed synchronization error from 25 r/min to 12 r/min under a no-load startup and reduce the speed synchronization error from 7 r/min to 2.2 r/min with sudden load torque,improving the synchronization and disturbance rejection.
Key words: sliding mode control;cross-coupling control;improved bi-power reaching method;observer;Dual-PMSMs
1 Introduction
Permanent Magnet Synchronous Motors (PMSM) with high torque,power densities,simple structures,reliable operation and other outstanding advantages,has been widely used in many fields such as new energy,CNC machine tools,aerospace,ship propulsion etc.However,in a high-power transmission system,it is difficult for the single PMSM to meet the high demands for power due to its limitation in volume and some other factors,which makes the dual-or multi-motor cooperative drive load method a widely researched topic.
The PMSM is a nonlinear,multi-variable and strongly coupled system.It is sensitive to external disturbances which brings significant challenges to Dual-PMSM synchronous drive control performance.Traditional PID control is widely used in PMSM speed regulation systems for its simple structure and high reliability.However,it is difficult to meet demands for accurate control in the face of external disturbances[1,2].Recently,various nonlinear algorithms have been introduced to PMSM control systems such as fuzzy control[3,4],neural network control[5],adaptive control[6],sliding mode control[7,8]and mode predictive control[9-10]etc.Sliding mode control is widely used in PMSM control systems because of its insensitivity to parameters and external disturbances,fast response speed and robustness[11-12].
The common Dual-PMSM synchronous control structures mainly include[13]: Master-Slave Control,Master Reference Control,Cross-Coupling Control,etc.In Ref.[14],the concept of Cross-Coupling Control is proposed and rotational speed cross-coupling control is realized to eliminate the synchronization error of a two-motor system,but it requires additional hardware to be implemented to a cross-coupled system.In Ref.[15],Shih proposed Relative Cross-Coupling Control to reduce the position error in Bi-axis motion.In Ref.[16],to overcome the defects of the conventional relative crosscoupling control strategy,the speed weight coefficient reflects the importance of each motor’s speed in the improved relative cross-coupling control strategy,which mostly achieves the decoupling of the system’s synchronization and tracking performance but all motors use the same speed controller.Reference [17] analyzed the cross-coupling inherent characteristics of IMs and studied four control strategies to determine the effect of several operating parameters over stator currents cross-coupling.However,it did not mention the speed synchronization error of two-motor operation.In Ref.[18],a Master-Slave control structure is proposed with no coupling between two motors and thus there is no feedback between them.If one of the motors is disturbed,the other motor cannot compensate.This structure cannot effectively adjust the synchronization error.
To ensure the speed synchronization performance in anti-internal and external interference,this paper proposes a novel reaching method based on a sliding-mode control for a Dual-PMSM system.An integral sliding mode speed tracking controller based on the improved bi-power reaching method is designed to replace the traditional PID speed tracking controller to mitigate the external disturbance of the dual-motor speed control system.A load torque observer is built to bring the observed value into the sliding mode control law to enhance the anti-disturbance performance of the system.At the same time,the speed synchronization controller uses the fuzzy PI control,which can adjust the PI parameters online in real time according to the synchronization error,so that the system has adaptive adjustment ability when facing external disturbances.
2 PMSM mathematical model
The mathematical model of PMSM is derived under the assumption that saturation from the eddy current high-order harmonic components is negligible,the stator windings are symmetric in space and the stator currents produce sinusoidal magnetic motive forces.According to these assumptions,the voltage equation of PMSM can be obtained as (1) in thed-q(Direct axis Quadrature axis) synchronous rotating reference coordinate when the PMSM is in a steady state.
whereudanduqare voltage components of the d and q axes,respectively;idandiqare current components of thedandqaxes,respectively;LdandLqare thedandqaxes’ inductance;Rsis the stator resistance;andωeis the mechanical angular velocity of the motor.
The electromagnetic torque equation can be expressed as
wherepis the number of stator pole pairs;ψis the permanent magnet’s magnetic flux;Teis electromagnetic torque,andTLis the load torque.
If the motor is an SPMSM (Surface Permanent Magnet Synchronous Motor),soLd=Lq=L,the torque equation can be simplified as
The motion equation of the PMSM is
whereJis the moment inertia;Bis the friction coefficient.ω is the mechanical angular velocity of the mirror.
3 Design of the sliding mode speed tracking controller
Sliding Mode Control (SMC) is essentially a kind of nonlinear control,which is a control algorithm based on variable structure control.It uses the switching function to make the controlled system continuously change and forces the controlled system to continuously approach the sliding mode surface in the dynamic process.After sliding the surface,a high-frequency up and down motion is performed along the sliding surface,that is,the sliding mode.Since the sliding mode surface is independent of the parameters and disturbances of the system,it is strongly immune to external disturbances.The traditional sliding mode control has a contradiction between the sliding mode chattering and the approach speed,and the traditional sliding mode surface easily causes high-frequency disturbance of the system due to the existence of the differential term.The selection of a sliding mode surface and a sliding mode reaching method are key to reducing chattering and ensuring the dynamic performance of a Dual-PMSM system.
3.1 Design of the sliding mode surface
According to the theory of SMC,various reaching laws can be selected to achieve highly dynamic DPMSM performance.
Define the slide surface as
The PMSM system status variables functions are defined as
whereωrefandωiare the given and the actual speed of theith PMSM,respectively,andcis the integral coefficient.The SMC structure of the Dual-PMSMs system is the same.Compared with literatures[19,20],the integral sliding mode can effectively avoid the high frequency noise caused by the differential and reduce the steady state error.
3.2 Design of the improved bi-power reaching method
The traditional reaching method is expressed as-k|s|sgn(s).To adapt to the variations of the sliding mode surface,the improved bi-power reaching method can be designed as
wherek1,k2,k3>0,1 >α>0,β>1.The first term on the right side of the equal sign guarantees the effective time convergence of the sliding mode.The second term ensures the rapid convergence of the control system away from the sliding mode’s surface.The third term provides the lowest rate of change for the control system.Next,the characteristics of the improved bi-power reaching method proposed in this paper will be discussed,mainly from the perspective of rapidity and the steady-state error bound.
3.2.1 The rapidity of the improved bi-power reaching method
When the state variablesis far away from the sliding mode surface,the second term has a large rate of change and therefore plays a dominant role.When the state variablesis close to the sliding mode surface,the first term has a large rate of change and plays a dominant role.Here,the third term is assumed in the interval [a,b] and can be considered to achieve the accelerated convergence of the intermediate state.
In the first state,the first and the third term can be ignored so
In the second state,the first and the second term can be ignored so
In the third state,the second and the third term can be ignored so
If the initial variables(0) >b>0,the sliding mode motion process can be divided into three stages.Whens(0)→s=b,the second term plays a dominant role and the other terms can be ignored.Whens=b→s=a,the third term plays a dominant role and the other terms can be ignored.Whens=a→s=0,the first term plays a dominant role and the other terms can be ignored.Here,equation (8)can be integrated,thus
The approach time of the first stage is therefore
When equation (9) is integrated,
The approach time of the second stage is
Lastly,equation (10) is integrated,thus
The approach time of the first stage is
The total approach time can be expressed as(17),if the minor terms are ignored in the three stages.
If the initial variables(0) <-b<0,the sliding mode motion process can be divided into three stages.Whens(0)→s=-b,the second term plays a dominant role and the other terms can be ignored.Whens=-b→s=-a,the third term plays a dominant role and the other terms can be ignored.Whens=-a→s=0,the first term plays a dominant role and the other term can be ignored.
Similarly,equation (8) can be integrated,thus
The approach time of the first stage is
When equation (9) is integrated,thus
The approach time of the second stage is
Lastly,equation (10) is integrated,thus
The approach time of the first stage is
If the minor terms are ignored in the three stages,the total approach time can be expressed as equation (24)
It is evident that the control system can reach the balance point in a finite time.After reaching the balance point,the speed error is zero when reaching the sliding mode,and it can effectively reduce sliding mode chattering[21].
3.2.2 Analysis of steady-state error bound and stability
If equation (7) has the influence of uncertainty disturbance,which can be written as
DefineDas the upper bound of the uncertainty perturbation d(t),that is,|d(t)| ≤D.When there are uncertain and bounded external disturbances in the system,in order to analyze the convergence of the system in finite time,the following lemma is introduced first.
Lemma 1.In Ref.[22],IfthereisacontinuousdifferentiablefunctionV(x)definedintheneighborhoodU⊂Rncontainingtheorigin,andthereis arealnumberϕ>0,0 <θ<1,satisfytheconditions
(1)V(x) ispositivedefiniteinU;
(2)V·≤-φVθ(x),∀x∈U.
If the Lyapunov function is defined as
by substituting equation (25) into the differentiation ofV,the following equation can be obtained
If |s|(k3|s|-d(t))≥0,then equation (27) can be simplified as
From Lemma 1,it can be seen that the system converges in finite time about the equilibrium zero so the system can be guaranteed to converge in regionin a finite time.
Equation (27) can also be transformed into
Similarly,whenk1|s|α-d(t)≥0 ork2|s|βd(t)≥0,the system is guaranteed to converge in the regionin a finite time.So,the steady-state error bound of the improved bipower convergence law is
From the analysis,if the value of the parameters are proper,the value of the steady-state error bound of the improved bi-power reaching formula is smaller.It means that the reaching formula has better immunity to the bounded disturbance of uncertainty and stronger robustness.Also,it can be seen that whether or not the system contains uncertain disturbances,Therefore,the designed sliding mode control system is stable and the system can reach the sliding mode’s surface.
3.3 Replace of symbol function
The general SMO method has the chattering phenomenon because of the discontinuity of the sign function sgn(s).In order to suppress the intrinsic chattering for better performance,this paper designs a continuous function to replace the sign function.
where η is a very small positive number.
3.4 Design of speed controller
The speed controller provides the current value to produce a torque reference for the motor drive system.Equation (5) can be differentiated,thus
Equations (6) and (7) can be rewritten as
So,the new reference current is obtained as
The block diagram of the final speed control law is shown in Fig.1.
Fig.1 Block diagram of the speed controller
4 Design of the load-based torque observer
Generally,the load torque and external disturbance torque in the PMSM control system are regarded as the total torque.The reasonable design of the observer can effectively observe the load torque and calculate the motor current in equation (34) to realize disturbance suppression of the system.The total torque can be regarded as a constant value within a control period,which means
In order to obtain the estimated value of the total torqueTLi,the disturbance observer can be designed according to modern control theory and the gain in the observer can be reasonably configured to observe the rotational speed and the total disturbance torque.The state equation of the system is constructed as follows
in a nonlinear time-varying feedback system,where
We can know
It can be seen that the system is fully observable.The observer and observation error equations are constructed as follows
The matrixG=can be found so that the eigenvalues of the matrix (A-GC) are located in the left half-plane by the pole configuration.The observation errorebetween the observedand the actualTLcan be close to zero in finite time.Fig.2 is the block diagram of the total disturbance torque observer.
Fig.2 Structural block diagram of the disturbance torque observer
Fig.3 Surface diagram of ∆kp value output
Fig.4 Surface diagram of ∆ki value output
5 Speed synchronization controller design
The cross-coupling control adopts speed synchronization error compensation current to make the double-PMSM respond quickly and realize speed synchronization.However,the speed error synchronization coefficient in cross-coupling control is usually difficult to obtain through theoretical analysis.Therefore,a cross-coupling synchronization control algorithm based on an improved double-power sliding mode control and fuzzy adaptive PI control is designed to improve the system’s accuracy.
For the fuzzy adaptive PI control,the synchronization errors ∆ ω and its rate of change ∆ω are the input and the current compensation is the output (Define ∆ ω=ω1-ω2,∆ ωc=∆ ω/∆t).Thekpandkivalues of the PI controller are continuously adjusted through ∆kpand ∆kionline.Wheneis large,a largekpandkishould be taken to reduce the error.Wheneis moderate,a moderatekpandkishould be moderated to avoid overshoot of the synchronous system.Wheneis small,a smallkpandkishould be selected to avoid the impact of the synchronous system and give adaptive adjustment ability.Table 1 and Table 2 are the fuzzy rules ofkpandki.Figs.3-4 (color online) show the relationship of the surface of ∆kpand ∆ki.The control diagram of the Dual-PMSMs synchronous system is shown in Fig.5.
Tab.1 kp fuzzy rule table
Tab.2 ki fuzzy rule table
Fig.5 Overall block diagram of dual-motor synchronous control system
6 Simulation and analysis
The purpose of the current study is to determine the speed synchronization performance and antiinterference of a Dual-PMSM system.In order to verify the performance of the proposed control strategy,a Dual-PMSMs synchronous control modeling simulation is performed in MATLAB/Simulink.The parameters of Dual-PMSMs and the controller parameters are shown in Tables 3 and 4.The simulated speed response waveform of the proposed improved bi-power reaching method and traditional reaching method is compared in Fig.6 (color online) with reference speeds from 800 r/minto1 200 r/min.It can be seen that the improved bipower reaching method control has less adjustment time (Traditional reaching method speed controller parameter:k=30;The improved bi-power reaching method speed controller parameters are shown in Table 4 PMSM1.).
Fig.6 Comparison of speed response waveforms between the improved and traditional reaching methods
It can be seen that the parameters of the two motors is different and the process is more difficult than it is for motors with the same parameters.The parameters of the current loop PI controller are the same between the two control strategies,wherekp=350 andkp=82 500.The speed PI controller para-meters of the traditional double PI parallel crosscoupling control method are designed atkp=0.02 andki=1.
Tab.3 Parameters of the motor
Tab.4 SMC controller parameters
The performance comparison between the traditional double PI cross-coupling control from noload torque and sudden load torque perturbation is shown in Figs.7-Fig.10 when the reference speed isωref=800 r/min.
From Fig.7(a),it can be seen that traditional dual PI parallel cross-coupling control has a larger overshoot at no-load torque start and it reaches the reference speed after 0.075 s.The designed control strategy in this paper has no overshoot and can reach the reference speed in 0.015 s,as shown in Fig.7(b).Due to the different parameters of the two motors,the speed synchronization error of the Dual-PMSMs is larger whether uses the traditional crosscoupling control strategy or the improved bi-power reaching sliding mode control method at startup.From Fig.8(a) we can know that the maximum synchronization error can reach 25 r/min at the reference speed of 800 r/min when use the traditional cross-coupling control strategy.However,Fig.8(b)shows that the maximum speed error of the proposed control strategy is 12 r/min under no-load torque startup conditions.
Fig.7 Speed waveforms obtained by different methods under no-load torque starting condition.(a) Conventional crosscoupled control.(b) Improved bi-power reaching method
Fig.8 Synchronization error waveforms obtained by different methods under no-load torque startup condition.(a) Conventional cross-coupling control.(b) Improved bi-power reaching method sliding mode control
The speed waveform and the synchronization error waveform are shown in Fig.9,where a 2 N·m load torque is suddenly applied to motor 1 at 1 s and a 2.5 N·m load torque is suddenly applied to motor 2 at 2 s.Fig.10(a) shows that the large synchronization error is 7 r/min with sudden load torque and it can reach stability after 0.2 s under the conventional cross-coupling controller.Fig.10 (b) shows that the proposed control strategy has a maximum speed synchronization error of 2.2 r/min with sudden load torque and reaches stability after 0.1 s (Fig.10).Thus,the improved method has better anti-disturbance performance and speed tracking capabilities than those of the traditional control algorithm.
Fig.9 Torque speed waveforms obtained by different methods under sudden load torque condition.(a) Conventional crosscoupling control.(b) Improved bi-power reaching method sliding mode control
Fig.10 Synchronization error waveforms obtained by different methods under sudden surge load torque condition.(a) Conventional cross-coupling control.(b) Improved bi-power reaching method sliding mode control
7 Conclusion
Based on the traditional cross-coupling control,an integral sliding mode speed tracking controller based on bi-power reaching method is designed and an observer is introduced into the sliding mode control rate to enhance the robustness and anti-disturbance of the system.A speed synchronization controller based on fuzzy adaptive PI control adjusts the PI parameters of the speed synchronous controller according to the real-time synchronization error.The comparison experimetal indicates that the system has certain adaptive adjustment ability for external disturbance.