Next Article in Journal
Towards Resilient and Secure Smart Grids against PMU Adversarial Attacks: A Deep Learning-Based Robust Data Engineering Approach
Previous Article in Journal
A Product-Design-Change-Based Recovery Control Algorithm for Supply Chain Disruption Problem
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Design of Sensorless Control System for Permanent Magnet Linear Synchronous Motor Based on Parametric Optimization Super-Twisting Sliding Mode Observer

School of Electrical Engineering, Hebei University of Science and Technology, Shijiazhuang 050018, China
*
Author to whom correspondence should be addressed.
Electronics 2023, 12(12), 2553; https://doi.org/10.3390/electronics12122553
Submission received: 28 April 2023 / Revised: 22 May 2023 / Accepted: 25 May 2023 / Published: 6 June 2023

Abstract

:
To improve the chattering problem caused by the terminal sliding mode control (TSMC) and sliding mode observer (SMO) in permanent magnet synchronous linear motor (PMLSM) control systems, this study presents the design of a continuous terminal sliding mode control (CTSMC) controller and an improved SMO. By enhancing the sliding mode surface, CTSMC enhances the dynamic response and robustness of the system. The observer replaces the traditional sliding mode switching law with a super-twisting (ST) algorithm, a twisting algorithm that makes use of the structural characteristics of the second-order sliding mode to ensure output continuity and reduce the observed buffeting. The sliding mode gain of the ST algorithm is optimized using the particle swarm optimization (PSO) algorithm to acquire the optimal parameters and fully exploit the observer’s performance potential. Finally, the proposed method is simulated and tested. The comparison results show that the proposed method boosts the system’s dynamic response and robustness and reduces chattering.

1. Introduction

With the continuous progress of industry, the requirements of motors continue to increase. Due to its simple structure, high positioning accuracy, large thrust strength, and lack of a transmission system, PMLSM is attracting more and more attention and research [1,2]. However, achieving high precision control of PMLSM is challenging due to the serious coupling between states, the uncertainty of load disturbance, and the resultant side effects that can affect its control performance [3,4]. To address the control problem of PMLSM, several new control algorithms, including model-free control, active disturbance rejection control, model predictive control, and sliding mode control (SMC), have been advocated [5,6]. Of these, SMC control is essentially a nonlinear control method, which is not affected by external disturbances and parameter changes and has extremely high robustness and extremely fast response speed. With the change in system state, the SMC structure also changes, so that the system will slide in accordance with the expected state trajectory and gradually converge to the sliding mode surface and ultimately stabilize [7,8]. However, traditional SMC cannot guarantee that the system converges within a finite time frame, and because the switching frequency of SMC cannot reach infinite speed, serious chattering problems occur [9,10]. In the literature [11], a TSMC is designed to solve the problem that the traditional SMC cannot guarantee that the system converges within a finite time frame, to reduce the convergence time, and to improve the dynamic performance, but the system produces strange phenomena in a certain area. In the literature [12], a neural network is combined with SMC, and the switching gain in the SMC is trained by the neural network, which effectively improves the stability and robustness of the system and reduces chattering. However, the high cost of the neural network is not conducive to practical applications. In the literature [13], an adaptive SMC is designed that can effectively suppress chattering and reduce tracking errors by dynamically adjusting the width and gain of the boundary layer functions. However, the adaptive control increases the calculation and adjustment time. In the literature [14], a Gaussian error function is used instead of a sign function to reduce chattering. However, this method has high requirements for the precision of various state quantities of the motor, which is not conducive to practical applications.
In most servo control systems, precise actuator position and speed feedback is essential for achieving high-performance control [15]. Traditional PMLSM relies on sensors to obtain position and speed information, but this brings a high cost and limited working place, and the control performance is limited by detection accuracy and other problems [16,17]. To decrease the cost of the system and expand the working place of the motor, sensorless control strategies have been widely used in PMLSM. Sensorless control mainly comprises an extended Kalman filter algorithm, a model reference adaptive algorithm, an SMO algorithm, and an artificial intelligence theoretical estimation algorithm [6,18,19]. Among them, SMO is famous for its easy convergence, insensitivity to motor parameters, simple and convenient parameter adjustment, less computation, etc., and has been widely used in practice [20,21,22]. The literature [23] designed an adaptive sliding mode observer that can adjust sliding mode gain adaptively according to the system state and improve the responsiveness and robustness. However, it does not solve the inherent chattering problem of SMO, which seriously affects the velocity and location estimation accuracy in the motor. In the literature [24], a sinusoidal saturation function is utilized to substitute the sign function, which reduces system chattering caused by the sliding mode observer to a certain extent, but also undermines the system’s stability and performance. In the literature [25], a high-order integrated sliding mode surface is employed to suppress chattering, which achieves good results. However, this method has the defects of a complex algorithm and too many debugging parameters.
To address the singularity issue of TSMC and improve responsiveness and robustness, a CTSMC was designed. The use of the CTSMC guarantees that the system state will converge to the desired trajectory within a bounded time frame, avoids the occurrence of singularity, improves the ability of the system to deal with disturbance, and ensures the continuity of control. To address the chattering issue of traditional SMOs, an ST-SMO with optimized parameters was designed. The ST algorithm is utilized to substitute the conventional sliding mode switching law, and the second-order sliding mode structural characteristics in the ST are used to ensure output continuity and reduce chattering. The PSO is used to optimize the sliding mode gain of the ST algorithm, and a set of optimal parameters is obtained to achieve better control performance. The simulation and experimental results demonstrate the practicability of the proposed strategy. The key innovation points of this article are as follows:
(1)
Simplify the control structure. The system’s control structure is simplified by integrating the position loop and speed loop, and the position controller is developed using the CTSMC algorithm.
(2)
Improve tracking accuracy. The ST algorithm is designed and the PSO is used to optimize the sliding mode gain of the ST algorithm, and a set of optimal parameters is obtained to better realize the control performance of the algorithm.
(3)
System comparison and validation. By comparing the designed CTSMC with the SMC and TSMC systems, and by comparing the designed PSO super-twisting sliding mode control (PSO-ST-SMC) with the SMO, the advantage of the designed system is verified.

2. Mathematical Model of PMLSM

In terms of structure, the PMLSM can be regarded as a rotating motor, as shown in Figure 1, which is split and spread along the radial direction. In PMLSM, the movable structure is called the moving part and the fixed part is called the stator.
To simplify analysis and control system design, the following assumptions are usually made during the construction of the mathematical model of a PMLSM: motor core saturation is ignored, inductance parameters remain unchanged, eddy current and hysteresis losses in the motor are ignored, the rotor magnetic field is sinusoidal in the air gap space, there is no damping winding on the rotor, and the effect of external rings on motor performance is not considered. Based on the above assumptions, the mathematical model of PMLSM under the d-q axis was established:
u d = R i d + L d d i d d t π τ v L q i q u q = R i q + L q d i q d t + π τ v ( L d i d + ψ f ) ,
where R is the stator resistance, τ is PMLSM pole distance, ν is the speed of PMLSM, u d and u q are the voltage of PMLSM, i d and i q are the current of PMLSM, L d and L q are the inductance components of PMLSM, and ψ f is the permanent magnet flux link.
The electromagnetic thrust equation for PMLSM is
F e = p n 3 π 2 τ [ ψ f i q + ( L d L q ) i d i q ] ,
where F e is the PMLSM thrust and p n is the polar number of PMLSM.
In PMLSM, L d = L q , and the equation can be streamlined to
F e = p n 3 π 2 τ ψ f i q = K f i q ,
where K f is the electromagnetic thrust coefficient and K f = p n 3 π 2 τ ψ f .
The kinetic equation of PMLSM is
F e = M d v d t + B v + F d
where M is the moving mass, B is the viscous friction factor, v is the motion velocity of PMLSM, and F d is the sum of system uncertainties.
According to Equation (4), the equation of motion of PMLSM system is:
d v d t = K f i q M B v M F d M = a u + b v + c F d ,
where a = K f M , b = B M , c = 1 M , and u = i q .

3. Position Controller Design

3.1. Design of the CTSMC Position Controller

To address the issue of PMLSM location tracking control, a CTSMC controller was designed, which can guarantee good robustness and tracking performance of the closed-loop system.
The PMLSM’s CTSMC controller was designed based on position error feedback. The system input is the position error and the output is the current reference value. Define the system state variable as
e 1 = x r x e 2 = e ˙ 1 = x ˙ r v e ˙ 2 = x ¨ r v ˙ ,
where x r is the reference position value, smooth everywhere and differentiable in the second order, and x is the actual position. By substituting Equation (5) into Equation (6), we obtain:
e ˙ 2 = x ¨ r e f v ˙ = x ¨ r a u b v c F d .
To enhance the system’s robustness and dynamic performance, the CTSMC sliding mode surface is formulated as follows:
s = e 1 + β 1 e 2 y 1 s g n ( e 2 ) ,
where β 1 > 0 ,   1 < y 1 < 2 , these two coefficients are constants to be designed. The derivation of Equation (8) can be obtained as follows:
s ˙ = e 2 + β 1 y 1 e 2 y 1 1 e ˙ 2 .
This paper adopts an equivalent control method. The structure of the equivalent control law is:
u = u e q + u s w ,
where u e q is the slipping-mode equivalent control part and u s w represents the uncertain component of the control system.
The motion process in the control system is divided into two stages, the approach stage and the sliding mode. When the system is in the sliding mode, the equivalent control part plays a role, and the system is completely located in the sliding mode region on the sliding mode surface. The essential condition that the state trajectory stays in the sliding mode surface is s ˙ = 0 , making s ˙ = 0 and F d = 0 equivalent control parts:
s ˙ = e 2 + β 1 y 1 e 2 y 1 1 e ˙ 2 = e 2 + β 1 y 1 e 2 y 1 1 ( x ¨ r e f a i q b v c F d ) = 0 ,
u e q = 1 a ( x ¨ r b v + 1 β 1 y 1 e 2 2 y 1 s g n ( e 2 ) ) .
The switching control u s w plays a role as the system reaches the sliding mode; u s w makes the system state move toward the sliding mode surface by controlling high-frequency switching and ensures that the state will slide along the sliding mode surface to the stable state. Switching control u s w can be designed as:
u s w = 1 a ( ε sgn ( s ) + k s ) ,
where the epsilon ε sgn ( s ) is uniform convergence and k s is exponential convergence. The CTSMC position controller is obtained as follows:
u = u e q + u s w = 1 a ( x ¨ r b v + 1 β 1 y 1 e 2 2 y 1 s g n ( e 2 ) + ε sgn ( s ) + k s ) .

3.2. Proof of Stability of CTSMC

In order to ensure that the system state motion trajectory is asymptotically stable after reaching the sliding mode region, it will strictly move along the predetermined sliding surface to the steady equipoise point, which is verified with the Lyapunov function. The Lyapunov function is defined as follows:
V = 1 2 s 2 .
Taking the derivative of the Lyapunov function yields:
V ˙ = s s ˙ .
By substituting Equations (7), (9), and (14) into Equation (16), we obtain:
V ˙ = s s ˙ = s ( β 1 y 1 e 2 y 1 1 ( ε sgn ( s ) + k s ) ) β 1 y 1 e 2 y 1 1 ( s + k s 2 ) .
Because the β 1 > 0 ,   1 < y 1 < 2 , it can be learned that e 2 y 1 1 > 0 , available V ˙ 0 . Based on the Lyapunov stability theory, the system state asymptotically approaches s = 0 . Therefore, the displacement feedback x of the motor will converge to the desired displacement signal x r e f in a finite time. The control structure based on the CTSMC method is shown in Figure 2.

4. Observer Design

4.1. Traditional SMO

Traditional SMOs are designed in the static coordinate system α β ; the current state equation is:
d i α d t = 1 L ( R i α + u α E α ) d i β d t = 1 L ( R i β + u β E β ) ,
where E a = π τ v ψ f   E β = π τ v ψ f   cos θ is the induced electromotive force in coordinate system α β . To acquire an estimate of the extended back electromotive force, a conventional SMO can be designed as
d i ^ α d t = 1 L ( R i ^ α + u α z α ) d i ^ β d t = 1 L ( R i ^ β + u β z β )
z α = k sgn ( i ^ α i α ) z β = k sgn ( i ^ β i β ) ,
where i ^ α , i ^ β are the current observations and k is the gain.
Subtract from Equation (18), and the equation for the current error state is:
d i ~ α d t = 1 L ( R i ~ α z α + E α ) d i ~ β d t = 1 L ( R i ~ β z β + E β ) ,
where i ~ α = i ^ α i α and i ~ β = i ^ β i β are the current observation errors.
When a state variable is located on a sliding mode,
i ~ = i ~ ˙ = 0 .
By substituting Equation (22) into Equation (21), we obtain
E = [ k sgn ( i ^ a i a ) k sgn ( i ^ β i β ) ] T .
It can be seen from Equation (23) that there is a high-frequency switching signal in the estimated back electromotive force. Nevertheless, there is a discontinuous high-frequency switching signal in the estimated back electromotive force, which will produce a large deviation when the position velocity information is obtained from the back electromotive force.

4.2. ST Algorithm

In the traditional SMO, due to the existence of the sign function, a serious chattering phenomenon is caused, which leads to a large tracking error. While low-pass filtering can reduce chattering, it can also introduce phase delay. Therefore, the ST algorithm is presented to address the chattering issue in the traditional SMO. The ST form is illustrated in Equation (24):
d x 1 d t = k 1 x ~ 1 1 2 sgn ( x ~ 1 ) + x 2 d x 2 d t = k 2 sgn ( x ~ 1 ) ,
where x 1 , x 2 are state variables, x ~ i = x ^ i x i is the error between the estimated value and the actual value, and k 1 , k 2 are gains. The x 1 in the superhelix algorithm is substituted by the current signal i ^ α , i ^ β estimated by PMLSM, respectively, to obtain the PMLSM sliding mode observer based on the superhelix algorithm, as illustrated in Equation (25):
d i ^ α d t = 1 L ( R i ^ α + u a k 1 s g n i ~ α d t k 2 i ~ α 1 2 s g n ( i ~ α ) ) d i ^ β d t = 1 L ( R i ^ β + u β k 1 s g n i ~ β d t k 2 i ~ β 1 2 s g n ( i ~ β ) ) .
The error equation of the current obtained by subtracting Equation (18) from Equation (25) is:
d i ~ α d t = 1 L ( R i ~ α k 1 s g n i ~ α d t k 2 i ~ α 1 2 s g n ( i ~ α ) + E α ) d i ~ β d t = 1 L ( R i ~ β k 1 s g n i ~ β d t k 2 i ~ β 1 2 s g n ( i ~ β ) + E β ) ,
where i ~ α = i ^ α i α and i ~ β = i ^ β i β are current observation errors.
When the system is steady, the estimation is equivalent to the actual current, namely, i ~ α = 0 , i ~ β = 0 . At this time, the back electromotive force of PMLSM can be obtained:
E a = k 1 s g n ( i ~ α ) d t + k 2 i ~ α 1 2 s g n ( i ~ α ) E β = k 1 s g n ( i ~ β ) d t + k 2 i ~ β 1 2 s g n ( i ~ β ) ,
where k 1 , k 2 are sliding mode gains.
The ST algorithm is a second-order sliding mode and can hide the discontinuous switching in the integral to ensure that the control law is continuous in time, greatly reducing chattering. The ST algorithm still has a high-frequency switching function to ensure the robustness compared with other high-order sliding modes; it is easy to implement and has high practical value.
However, the sliding mode gain k 1 , k 2 in the ST algorithm is difficult to obtain; it is usually obtained manually through repeated debugging, and the requirements for parameters are different when facing different input waveforms. If one parameter is debugged for each input waveform, it will not only consume energy but also not be conducive to practical applications. Moreover, we have no way to know whether the manually debugged parameters are exerting the optimal performance of the controller. In order to save the cost and energy and exert the optimal performance of the controller, the PSO algorithm is introduced to find the optimal parameter value. The diagram is shown in Figure 2.

4.3. PSO Algorithm

PSO is an optimization algorithm based on swarm intelligence. It was proposed by American sociologists Kennedy and Eberhart to observe the behavior of animal groups with swarm behavior, such as birds or fish. It has the advantages of fast convergence speed and few adjustment parameters, and is simple and easy to implement. The core idea of the PSO algorithm is to simulate the behavior of animal groups with clustering behavior, such as birds or fish schools. Through information exchange and cooperation between individuals, the global optimal solution is sought. Each possible solution in the parameter space to be optimized is regarded as a particle, and the optimal solution is sought by constantly updating the position and speed of each particle. Its specific implementation process is shown in the figure below:
(1)
The PSO algorithm begins by initializing the particle swarm, which includes the population size, initial position and velocity of particles, and other relevant parameters.
(2)
It evaluates the fitness value of each particle based on its current position and velocity.
(3)
The fitness value of the particle is compared with the current best personal value, and the better value is chosen as the best personal value.
(4)
The best personal value of each particle is compared with the global extreme value, and the superior one is chosen as the global extreme value.
(5)
The particle position and velocity update according to the formula.
(6)
The PSO algorithm judges whether it meets the maximum number of iterations or the set termination condition. If either of these conditions is met, it exits the optimization process and outputs the optimal solution; if the conditions are not met, it returns to Step 2.
In the PSO algorithm, the updating of particle velocity and position is achieved with the following formula:
v i ( t + 1 ) = w v i ( t ) + c 1 r 1 ( p b s t i x i ( t ) ) + c 2 r 2 ( g b e s t x i ( t ) ) x i ( t + 1 ) = x i ( t ) + v i ( t + 1 ) ,
where v i ( t ) represents the speed of particle i at time t , x i ( t ) represents the position of particle i at time t , p b s t i represents the personal best value of particle i , g b e s t represents the global best value, w is the inertia weight, c 1 and c 2 are two constants, c 1 is the self-learning factor, c 2 is the group learning factor, and r 1 and r 2 are random numbers between 0 and 1.
Firstly, the PSO generates a particle swarm, and the particles in the particle swarm are assigned to the parameters k 1 , k 2 in the controller. Then, the control system Simulink model is run to constantly update the position and speed of the particle swarm and output the corresponding performance indicators of this set of parameters. When the largest number of iterations or the required performance indicators are reached, it returns the values of parameters k 1 , k 2 .
In this paper, ITAE is selected as the error evaluation index to evaluate the performance index of each group of parameters. The error evaluation index is defined as:
J = 0 t e 1 d t ,
where e 1 represents the difference between the estimated current and the actual current of the PMLSM. The diagram is shown in Figure 3.
By combining the PSO algorithm with the ST algorithm, in which the PSO algorithm is used to optimize the sliding mode gain k 1 , k 2 of the ST algorithm, find the optimal parameter values, and rederive the formula, the back electromotive force of PMLSM can be written as follows:
E a = k 1 s s g n ( i ~ α ) d t + k 2 s i ~ α 1 2 s g n ( i ~ α ) E β = k 1 s s g n ( i ~ β ) d t + k 2 s i ~ β 1 2 s g n ( i ~ β ) .
In the formula, k 1 s and k 2 s are parameters obtained by the particle swarm optimization algorithm.
A low-pass filter is typically added to obtain a continuous estimation of the back electromotive force, as shown in Equation (31):
E ^ α β = ω c s + ω c E α β
where ω c = 2 π f c , and f c represents the cutoff frequency of the low-pass filter.
With the estimated back electromotive force in hand, the location information of the actuator can be obtained using the following formula. The estimated value of the location can be expressed as:
s ^ = τ E ^ α 2 + E ^ β 2 π ψ f d t .
In summary, the control principle of the designed observer is as follows: the optimal gain of the observer is first obtained by the PSO algorithm, then the estimated back electromotive force signal is obtained by the ST algorithm, and finally the position signal is obtained by the phase-locked loop module.

5. Simulation and Experiment

In this paper, a sensorless control system based on PSO-ST-SMO is proposed, and its block diagram is illustrated in Figure 4. Table 1 shows the PMLSM arguments. To emphasize the superiority of the system, a comparative experiment was set up, and the SMC, TSMC, and CTSMC were set up, respectively, to compare the controllers. On the basis of the CTSMC controller, the traditional SMO and PSO-ST-SMO are integrated for observer comparison.
The PSO parameters are as follows: iteration number Maxiter = 50, population number swarm size = 30, particle dimension (number of parameters to be adjusted) Dim = 2, acceleration coefficient c1 = c2 = 2, and the inertia coefficient w = 0.8. The cutoff condition of the algorithm is whether the largest number of iterations is reached or whether the error is less than the set value after the position is stabilized. After several iterations, the optimal parameters of the ST-NTSMC position controller obtained by the PSO algorithm and the corresponding minimum value of fitness function are shown in Table 2. The process of parameter convergence is shown in Figure 5a, and the process of fitness function convergence is shown in Figure 5b.

5.1. Comparison between Position Controllers

To validate the tracking efficiency of the control system, no-load and load experiments were carried out, and three sets of simulation conditions were set:
(1)
The change in the given reference position is 0.1 m–0.3 m.
(2)
Given a reference position of 0.2 m, load the system abruptly.
(3)
A sinusoidal wave with a fixed amplitude of 0.2 m is applied to the system.
(1)
The change in the given reference position is 0.1 m–0.3 m.
The PMLSM was started under a no-load condition, the expected starting position of the trajectory was 0.1 m, and the position changed by 0.1 m every 2 s. The performance of the different control methods was compared.
The position tracking curve of PMLSM under the control of SMC, TSMC, and CTSMC is shown in Figure 6. PMLSM tracks the expected signal under the no-load condition, the system runs for 10 s, the starting position is 0.1 m, and the position changes by 0.1 m every 2 s. Upon closer inspection of Figure 6a, it becomes apparent that the three control schemes demonstrate effective tracking of the desired position. In the ascent stage, the response speed of CTSMC is obviously faster than the other two controls, the system adjustment time is shortest, the given signal can be quickly tracked, and the dynamic response capability is the best. Figure 6 presents the position tracking error curves for all three control schemes. As can be seen from the local magnification of Figure 6b, SMC has the worst tracking performance and causes the maximum system chattering when tracking the desired position. In comparison, TSMC and CTSMC have better tracking performance and better control accuracy. When the position changes, CTSMC and TSMC adjust for about 0.2 s and 0.3 s, reflecting better dynamic performance of the control system based on the CTSMC controller. In summary, CTSMC has the best tracking effect on the desired trajectory and can track the desired trajectory quickly when it changes, with minimum buffeting and the highest tracking and positioning accuracy.
(2)
Given a reference position of 0.2 m, load the system abruptly.
To validate the robustness of the control system, a 45 N load was randomly added to the system.
During the operation of the system, a 45 N load was randomly added. Figure 7a shows the operation of the system. As can be observed from the local magnification in Figure 7a, when compared with SMC and TSMC, CTSMC’s position changes are significantly reduced, and the adjustment time is faster. Figure 7b shows the error comparison of the three control schemes under load. Through local amplification of Figure 7b, it can be seen that after the 45 N load is added abruptly, the maximum position error for SMC is approximately 0.012 m and the maximum position errors of the TSMC and CTSMC are approximately 0.005 m and 0.001 m, respectively. Figure 7c shows the comparison of the electromagnetic thrust under load. According to the local amplification of Figure 7c, the CTSMC’s electromagnetic thrust is almost 0 under no-load conditions, and the system runs stably. After the sudden addition of the 45 N load, the electromagnetic thrust fluctuation of CTSMC is small and the control is more stable. To sum up, CTSMC has stronger robustness. After the system is suddenly loaded, the error fluctuation is small and the recovery time is fast, so that the motor can run smoothly. In conclusion, CTSMC significantly improves the anti-disturbance performance.
(3)
A sinusoidal wave with a fixed amplitude of 0.2 m was given to add load to the system.
A sinusoidal curve with an expected trajectory of s = 0.2 sin t adds 45 N load to the system at 4.6 s.
At 4.6 s, a 45 N load disturbance was abruptly added to the system to test the robustness of the system. Figure 8a displays the position tracking curves of the system under all three control schemes. All three control schemes are able to effectively track the given position curve even under the presence of the load disturbance, demonstrating a certain degree of robustness. Nevertheless, as apparent from the local magnification in Figure 8a, there is a large fluctuation in the SMC control tracking curve at 4.6 s. Meanwhile, the tracking curves of TSMC and CTSMC fluctuate less. Figure 8b is the position error curve. The local amplification of Figure 8b shows that the maximum errors of SMC, TSMC, and CTSMC are about 0.006 m, 0.004 m, and 0.001 m, respectively. The position error fluctuation of the CTSMC scheme is the least, and exhibits superior tracking accuracy and stronger robustness when compared with the other two control schemes. In conclusion, the CTSMC scheme shows strong system robustness in the presence of interference.

5.2. Comparison of Observers

The control performance of the CTSMC system proposed in this paper was verified by a controller simulation comparison. Building on the CTSMC system, traditional SMO was incorporated and compared with the proposed PSO-ST-SMO.
From Figure 9a–c, it is evident that traditional SMO results in significant chattering in the estimation signal. The observer transmits the error caused by chattering to the position controller of the control system, thus reducing the overall accuracy of the control system. Figure 9d–f shows the designed P-ST-SMO system. The ST algorithm is designed to substitute the conventional sliding mode control law, and the PSO is introduced at the same time to obtain the optimal parameters, give full play to the performance of the observer, effectively decrease the observation chattering, and enhance the tracking accuracy of the system.

5.3. Experiment

To further validate the feasibility and effectiveness of the control system, the block diagram of the PMLSM control system based on STM32 is illustrated in Figure 10 as built.
The rectifier and intelligent circuit form the power module (IPM) to supply power to the entire system. Real-time monitoring and processing of the system are achieved by utilizing detection circuits such as a current sensor and grating sensor. Figure 11 shows the construction of the experimental platform.
Firstly, the CTSMC control system proposed in this paper was established, and the traditional SMC and TSMC control systems were compared to analyze the lively performance and anti-disturbance capacity of the designed controller. The experimental conditions are consistent with the simulation. Through the on/off signal control of the electromagnet, the loading action of the weight load can be quickly completed.
(1)
Controller Comparison (No-Load)
Figure 12a–c indicates the comparison of the system running position and trajectory, and Figure 12d–f shows the performance indicators when tracking the expected trajectory, which are, respectively, overshoot, maximum error, and average error. Black is the expected trajectory and red is the tracking trajectory of the system. Local magnification of Figure 12a–c shows that the proposed CTSMC has the highest control accuracy and the minimum system buffeting. It can be seen from Figure 12d–f that the proposed CTSMC performance index is optimal. The specific data are shown in Table 3. It can be seen from the data that the designed control method is better than the other two methods in terms of overshoot, maximum error, and average error.
(2)
Controller Comparison (Load)
Figure 13a–c is the comparison of the position trajectory of the system when the step signal is tracked; Figure 13d–f is the error fluctuation of three control schemes when the step signal is tracked; Figure 13g–i is the comparison of the position trajectory of the system when the sinusoidal signal is tracked; and Figure 13j–l is the error fluctuation of the three control schemes when the sinusoidal signal is tracked. The waveform change sizes of the SMC, TSMC, and CTSMC after a sudden load are about 0.015 m, 0.008 m, and 0.002 m, respectively, and the recovery times are about 0.4 s, 0.25 s, and 0.1 s, respectively.
As can be seen from Figure 13, the traditional SMC not only has a long adjustment time but also poor tracking accuracy in the acceleration process without load. Moreover, when loading is added, the position waveform changes more obviously. Compared with the traditional SMC control system, the adjustment time of the TSMC control system is shorter, the overshoot is smaller, and the position waveform changes only slightly after adding the load. Finally, the position waveform of the CTSMC control system developed in this paper is analyzed. In the position rise stage, the system has almost no overshoot, the rise time and adjustment time are shorter, the position waveform jitter is small, and the control precision is high. After loading is added, the location is barely affected by the load.
(3)
Observer Comparison
The first part of the experiment was to compare and verify the installation of the encoder, which proves the good control performance of the CTSMC position controller. The second half of the experiment was based on the designed CTSMC control system, adding the traditional SMO and PSO-ST-SMO for comparison. The feasibility and effectiveness of the designed PSO-ST-SMO were analyzed. Given three waveforms for the reference position, the position observed by the observer is returned to the controller, and the position waveform is obtained, as shown in Figure 14.
Figure 14a–c shows the position trajectory comparison of SMO, and Figure 14d–f shows the position trajectory comparison of PSO-ST-SMO. Because the SMO is accompanied by high-frequency chattering in sliding mode, the estimated back electromotive force also has chattering. The traditional SMO system introduces chattering directly into the arctangent function division operation, leading to an amplification of the error resulting from the chattering. In the PSO-ST-SMO control system developed in this paper, the ST algorithm is designed to substitute the conventional sliding mode control law, and PSO is introduced to obtain the optimal parameters, give full play to the performance of the observer, and effectively weaken chattering.

6. Conclusions

To enhance the position tracking precision of PMLSM, a CTSMC position controller is designed and a PSO-ST-SMO is used to replace the conventional SMO, which decreases the chattering of the system. Through the comparison of the simulation and experiment, the CTSMC speeds up the lively response of the system, reduces the position overshoot, strengthens the robustness of the system, and realizes the fast tracking of the position. PSO-ST-SMO realizes position observation, reduces system chattering, and enhances system observation precision. Both the simulation and experimental findings demonstrate that the control precision is higher, the observation error is smaller, the control effect is better, and the control performance of the PMLSM is generally improved.

Author Contributions

Writing—review and editing, supervision, project administration, funding acquisition, S.D.; review and editing, supervision, project administration, funding acquisition, Y.W.; methodology, software, writing—original draft preparation, S.W. and L.J.; validation, W.S. and Y.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the Hebei Province science and technology support plan (No. 2054180ID).

Data Availability Statement

Due to the nature of this research, participants of this study did not agree for their data to be shared publicly, so supporting data is not available.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wang, M.-Y.; Niu, Y.-J.; Yang, R.; Tan, Q.; Jiang, J.-L.; Li, L.-Y. A Robust Double Closed-Loop Control Scheme for PMLSM Drives. IEEE Access 2018, 6, 62645–62654. [Google Scholar] [CrossRef]
  2. Wang, M.; Li, L.; Pan, D.; Tang, Y.; Guo, Q. High-Bandwidth and Strong Robust Current Regulation for PMLSM Drives Considering Thrust Ripple. IEEE Trans. Power Electron. 2016, 31, 6646–6657. [Google Scholar] [CrossRef]
  3. Chen, S.-Y.; Chiang, H.-H.; Liu, T.-S.; Chang, C.-H. Precision Motion Control of Permanent Magnet Linear Synchronous Motors Using Adaptive Fuzzy Fractional-Order Sliding-Mode Control. IEEE/ASME Tretalans. Mechatron. 2019, 24, 741–752. [Google Scholar] [CrossRef]
  4. Wang, M.-Y.; Yang, R.; Tan, Q.; Cao, J.-W.; Zhang, C.-M.; Li, L.-Y. A High-Bandwidth and Strong Robust Current Control Strategy for PMLSM Drives. IEEE Access 2018, 6, 40929–40939. [Google Scholar] [CrossRef]
  5. Zhao, K.; Yin, T.; Zhang, C.; He, J.; Li, X.; Chen, Y.; Zhou, R.; Leng, A. Robust Model-Free Nonsingular Terminal Sliding Mode Control for PMSM Demagnetization Fault. IEEE Access 2019, 7, 15737–15748. [Google Scholar] [CrossRef]
  6. Xu, W.; Liao, K.; Ge, J.; Qu, G.; Cheng, S.; Wang, A.; Boldea, I. Improved Position Sensorless Control for PMLSM via an Active Disturbance Rejection Controller and an Adaptive Full-Order Observer. IEEE Trans. Ind. Appl. 2023, 59, 1742–1753. [Google Scholar] [CrossRef]
  7. Song, J.; Niu, Y.; Zou, Y. Finite-Time Stabilization via Sliding Mode Control. IEEE Trans. Autom. Control 2017, 62, 1478–1483. [Google Scholar] [CrossRef]
  8. Zhang, X.; Su, H.; Lu, R. Second-Order Integral Sliding Mode Control for Uncertain Systems With Control Input Time Delay Based on Singular Perturbation Approach. IEEE Trans. Autom. Control 2015, 60, 3095–3310. [Google Scholar] [CrossRef]
  9. Amrr, S.M.; Alturki, A. Robust Control Design for an Active Magnetic Bearing System Using Advanced Adaptive SMC Technique. IEEE Access 2021, 9, 155662–155672. [Google Scholar] [CrossRef]
  10. Yu, X.; Fu, Y.; Li, P.; Zhang, Y. Fault-Tolerant Aircraft Control Based on Self-Constructing Fuzzy Neural Networks and Multivariable SMC Under Actuator Faults. IEEE Trans. Fuzzy Syst. 2018, 26, 2324–2335. [Google Scholar] [CrossRef] [Green Version]
  11. Zhao, X.; Fu, D. Adaptive Neural Network Nonsingular Fast Terminal Sliding Mode Control for Permanent Magnet Linear Synchronous Motor. IEEE Access 2019, 7, 180361–180372. [Google Scholar] [CrossRef]
  12. Wang, P.; Xu, Y.; Ding, R.; Liu, W.; Shu, S.; Yang, X. Multi-Kernel Neural Network Sliding Mode Control for Permanent Magnet Linear Synchronous Motors. IEEE Access 2021, 9, 57385–57392. [Google Scholar] [CrossRef]
  13. Fu, D.; Zhao, X. A Novel Robust Adaptive Nonsingular Fast Integral Terminal Sliding Mode Controller for Permanent Magnet Linear Synchronous Motors. IEEE J. Emerg. Sel. Top. Power Electron. 2022, 11, 1672–1683. [Google Scholar] [CrossRef]
  14. Yuan, H.; Zhao, X. Adaptive Jerk Control and Modified Parameter Estimation for PMLSM Servo System With Disturbance Attenuation Ability. IEEE/ASME Trans. Mechatron. 2023, 28, 164–174. [Google Scholar] [CrossRef]
  15. Wen, T.; Wang, Z.; Xiang, B.; Han, B.; Li, H. Sensorless Control of Segmented PMLSM for Long-Distance Auto-Transportation System Based on Parameter Calibration. IEEE Access 2020, 8, 102467–102476. [Google Scholar] [CrossRef]
  16. Yang, C.; Ma, T.; Che, Z.; Zhou, L. An Adaptive-Gain Sliding Mode Observer for Sensorless Control of Permanent Magnet Linear Synchronous Motors. IEEE Access 2018, 6, 3469–3478. [Google Scholar] [CrossRef]
  17. Sun, X.; Wu, M.; Yin, C.; Wang, S.; Tian, X. Multiple-Iteration Search Sensorless Control for Linear Motor in Vehicle Regenerative Suspension. IEEE Trans. Transp. Electrif. 2021, 7, 1628–1637. [Google Scholar] [CrossRef]
  18. Cheng, H.; Sun, S.; Zhou, X.; Shao, D.; Mi, S.; Hu, Y. Sensorless DPCC of PMLSM Using SOGI-PLL-Based High-Order SMO With Cogging Force Feedforward Compensation. IEEE Trans. Transp. Electrif. 2022, 8, 1094–1104. [Google Scholar] [CrossRef]
  19. Yang, R.; Li, L.-Y.; Wang, M.-Y.; Zhang, C.-M.; Zeng-Gu, Y.-M. Force Ripple Estimation and Compensation of PMLSM With Incremental Extended State Modeling-Based Kalman Filter: A Practical Tuning Method. IEEE Access 2019, 7, 108331–108342. [Google Scholar] [CrossRef]
  20. Wang, F.; He, L.; Kang, J.; Kennel, R.; Rodríguez, J. Adaptive Model Predictive Current Control for PMLSM Drive System. IEEE Trans. Ind. Electron. 2023, 70, 3493–3502. [Google Scholar] [CrossRef]
  21. Ye, J.; Yang, J.; Xie, D.; Huang, B.; Cai, H. Strong Robust and Optimal Chaos Control for Permanent Magnet Linear Synchronous Motor. IEEE Access 2019, 7, 57907–57916. [Google Scholar] [CrossRef]
  22. Cho, K.; Kim, J.; Choi, S.B.; Oh, S. A High-Precision Motion Control Based on a Periodic Adaptive Disturbance Observer in a PMLSM. IEEE/ASME Trans. Mechatron. 2015, 20, 2158–2171. [Google Scholar] [CrossRef]
  23. El-Sousy, F.F.M.; Abuhasel, K.A. Adaptive Nonlinear Disturbance Observer Using a Double-Loop Self-Organizing Recurrent Wavelet Neural Network for a Two-Axis Motion Control System. IEEE Trans. Ind. Appl. 2018, 54, 764–786. [Google Scholar] [CrossRef]
  24. Xu, D.; Ding, B.; Jiang, B.; Yang, W.; Shi, P. Nonsingular Fast Terminal Sliding Mode Control for Permanent Magnet Linear Synchronous Motor via High-Order Super-Twisting Observer. IEEE/ASME Trans. Mechatron. 2022, 27, 1651–1659. [Google Scholar] [CrossRef]
  25. Yang, R.; Wang, M.; Li, L.; Zenggu, Y.; Jiang, J. Integrated Uncertainty/Disturbance Compensation With Second-Order Sliding-Mode Observer for PMLSM-Driven Motion Stage. IEEE Trans. Power Electron. 2019, 34, 2597–2607. [Google Scholar] [CrossRef]
Figure 1. PMLSM diagram.
Figure 1. PMLSM diagram.
Electronics 12 02553 g001
Figure 2. CTSMC control block diagram.
Figure 2. CTSMC control block diagram.
Electronics 12 02553 g002
Figure 3. Parameter optimization process.
Figure 3. Parameter optimization process.
Electronics 12 02553 g003
Figure 4. PMLSM control system structure.
Figure 4. PMLSM control system structure.
Electronics 12 02553 g004
Figure 5. Iterative process (a) Optimal individual fitness; (b) Optimal parameter.
Figure 5. Iterative process (a) Optimal individual fitness; (b) Optimal parameter.
Electronics 12 02553 g005
Figure 6. Controller comparison (no load). (a) Position tracking, (b) Position error.
Figure 6. Controller comparison (no load). (a) Position tracking, (b) Position error.
Electronics 12 02553 g006
Figure 7. Robustness comparison of controllers (under load). (a) Position tracking, (b) Position error, (c) Electromagnetic thrust.
Figure 7. Robustness comparison of controllers (under load). (a) Position tracking, (b) Position error, (c) Electromagnetic thrust.
Electronics 12 02553 g007
Figure 8. Robustness comparison of controllers (under load). (a) Position tracking, (b) Position error.
Figure 8. Robustness comparison of controllers (under load). (a) Position tracking, (b) Position error.
Electronics 12 02553 g008
Figure 9. Observer comparison (a) SMO of step signal, (b) SMO of sinusoidal signal, (c) SMO of triangular signal, (d) PSO-ST-SMO of step signal, (e) PSO-ST-SMO of sinusoidal signal, (f) PSO-ST-SMO of triangular signal.
Figure 9. Observer comparison (a) SMO of step signal, (b) SMO of sinusoidal signal, (c) SMO of triangular signal, (d) PSO-ST-SMO of step signal, (e) PSO-ST-SMO of sinusoidal signal, (f) PSO-ST-SMO of triangular signal.
Electronics 12 02553 g009aElectronics 12 02553 g009b
Figure 10. PMLSM control block diagram.
Figure 10. PMLSM control block diagram.
Electronics 12 02553 g010
Figure 11. Experimental platform.
Figure 11. Experimental platform.
Electronics 12 02553 g011
Figure 12. Comparison of controller dynamic property (no load). (a) SMC, (b) TSMC, (c) CTSMC, (d) Overshoot, (e) Maximum error, (f) Average error.
Figure 12. Comparison of controller dynamic property (no load). (a) SMC, (b) TSMC, (c) CTSMC, (d) Overshoot, (e) Maximum error, (f) Average error.
Electronics 12 02553 g012
Figure 13. Dynamic property contrast of the three control strategies (load). (a) SMC, (b) TSMC, (c) CTSMC, (d) Error fluctuation of SMC, (e) Error fluctuation of TSMC, (f) Error fluctuation of CTSMC (g) Wave fluctuation of SMC (Sinusoidal signal), (h) Wave fluctuation of TSMC (Sinusoidal signal), (i) Wave fluctuation of CTSMC (Sinusoidal signal), (j) Error fluctuation of SMC, (k) Error fluctuation of TSMC, (l) Error fluctuation of CTSMC.
Figure 13. Dynamic property contrast of the three control strategies (load). (a) SMC, (b) TSMC, (c) CTSMC, (d) Error fluctuation of SMC, (e) Error fluctuation of TSMC, (f) Error fluctuation of CTSMC (g) Wave fluctuation of SMC (Sinusoidal signal), (h) Wave fluctuation of TSMC (Sinusoidal signal), (i) Wave fluctuation of CTSMC (Sinusoidal signal), (j) Error fluctuation of SMC, (k) Error fluctuation of TSMC, (l) Error fluctuation of CTSMC.
Electronics 12 02553 g013aElectronics 12 02553 g013b
Figure 14. Observer comparison (a) SMO of step signal, (b) SMO of sinusoidal signal, (c) SMO of triangular signal, (d) PSO-ST-SMO of step signal, (e) PSO-ST-SMO of sinusoidal signal, (f) PSO-ST-SMO of triangular signal.
Figure 14. Observer comparison (a) SMO of step signal, (b) SMO of sinusoidal signal, (c) SMO of triangular signal, (d) PSO-ST-SMO of step signal, (e) PSO-ST-SMO of sinusoidal signal, (f) PSO-ST-SMO of triangular signal.
Electronics 12 02553 g014
Table 1. PMLSM main parameters.
Table 1. PMLSM main parameters.
ParameterNumerical Value
Stator resistance, Rs2.6
d-q axis inductance, Ldq/mH6.27
Moving mass, m/kg1.425
Coefficient of viscous friction, B/N/m⋅s0.2
Pole distance, τ/m0.018
Flux link, wb0.24
DC Bus Voltage, U/V48
Table 2. Parameter optimization result.
Table 2. Parameter optimization result.
Algorithmk1k2ƒ (Swarm)
PSO400.59248.420.571
Table 3. Control method performance indicators (Step).
Table 3. Control method performance indicators (Step).
Error TypeSMCTSMCCTSMC
Expected trajectoryStepStepStep
Overshoot (m)0.00350.00210.0009
Maximum error (m)0.00420.00310.0015
Average error (m)0.00370.00290.0012
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Du, S.; Wang, S.; Wang, Y.; Jia, L.; Sun, W.; Liu, Y. Design of Sensorless Control System for Permanent Magnet Linear Synchronous Motor Based on Parametric Optimization Super-Twisting Sliding Mode Observer. Electronics 2023, 12, 2553. https://doi.org/10.3390/electronics12122553

AMA Style

Du S, Wang S, Wang Y, Jia L, Sun W, Liu Y. Design of Sensorless Control System for Permanent Magnet Linear Synchronous Motor Based on Parametric Optimization Super-Twisting Sliding Mode Observer. Electronics. 2023; 12(12):2553. https://doi.org/10.3390/electronics12122553

Chicago/Turabian Style

Du, Shenhui, Shaohua Wang, Yao Wang, Liangguan Jia, Weisong Sun, and Yang Liu. 2023. "Design of Sensorless Control System for Permanent Magnet Linear Synchronous Motor Based on Parametric Optimization Super-Twisting Sliding Mode Observer" Electronics 12, no. 12: 2553. https://doi.org/10.3390/electronics12122553

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop