With the development of motor technology, sensorless control attracts more and more attention. In this paper, an improved flux linkage observer is proposed to overcome issues including inaccurate initial positions and sampling noise. The voltage and current models are combined, and a sliding-mode observer is designed based on the hybrid model to obtain the compensation voltage. Therefore, the estimated flux linkage after compensation can greatly resist the influence caused by inaccurate initial positions or sampling noise. Phase-locked loop technology is used to process the estimated flux linkage to get the stable estimated speed and position. The proposed scheme has a simple structure and only one parameter. It is easy to use and adjust in practice. The simulation and experimental results verify that the proposed algorithm is effective, and the estimated flux linkage and position is accurate with an inaccurate initial position.

Permanent magnet synchronous linear motors (PMSLMs) are widely used in various fields such as precision machining, oilfield equipment, rail transportation, etc. due to their special motion, high thrust density and high motion accuracy (Cao et al., 2015; Pellegrino et al., 2012). Because of the unique structure, a long-enough position detection system is always needed in PMSLMs for a good control performance (Lin et al., 2021). On the other hand, linear position encoders are susceptible to damage and need regular maintenance (Cao et al., 2019; Lu et al., 2011). Especially in harsh environments, external impacts or collisions very easily damage the linear position encoder and make the system unable to work properly. These all greatly limit the application and development of PMSLMs. Therefore, a sensorless control algorithm is of great significance to the PMSLM.

With the development, many sensorless control algorithms have been proposed to estimate the speed and position of rotors accurately. Some scholars achieved real-time estimation by injecting high-frequency pulse signals at zero or low speed (Wang et al., 2019; Ofori et al., 2015). This method makes use of the salient effect of the motor and analyzes the current response, which carries position information. However, this method is powerless for the motor whose salient effect is not obvious, and the high-frequency signal also increases the loss. Model reference adaptation (Cirrincione et al., 2013; Cheng et al., 2015), Kalman filtering (Pasqualotto et al., 2023; Lu et al., 2011), state observer (Accetta et al., 2014; Zhang et al., 2020) and other methods based on intelligent-control theory establish the rotor state observer according to the motor mathematical model and adjust the model in real time according to the operating state to accurately estimate the speed and position. These methods have strong robustness and anti-interference ability and are suitable for observing the motor state under long-term operation. On the other hand, the algorithms are also complex and require high computing capacity. The estimation effect at low speeds is also not ideal. The position estimation based on back electromotive force (EMF) has the advantages of simple structure, less calculation and fast response, but it also has the problems of low detection accuracy and being easily affected by a change in motor parameters (Hussain and Toliyat, 2015; Zhang et al., 2021; Wang and Ge, 2010). Especially at low speeds, the back EMF is too small, which makes the speed and position estimations more sensitive to noise. The position estimation based on flux linkage is simple in structure and is easy to implement. The integration process greatly reduces the influence of current noise, but it also increases the influence of direct current (DC) bias. The open-loop detection method also makes the algorithm less anti-interference oriented (Zhao et al., 2019; Xiao et al., 2021). Each method has its advantages and disadvantages. To establish a suitable sensorless position estimation algorithm and to increase the reliability and anti-interference ability on the basis of simple structure and less computation is also one of the purposes of this paper.

It is a key step to obtain the stator flux linkage by integrating the back EMF of the motor. Theoretically, the flux linkage obtained by integrating the back EMF can still work properly even at low speeds. For the DC bias and high-frequency noise of the current sensor (Pavlitov et al., 2014; Du et al., 2020), some scholars design various types of high-pass or low-pass filters to eliminate the impact (Cupertino et al., 2010; Xiao et al., 2017). Although it brings amplitude attenuation and phase offset, it also achieves good practical results. In fact, the integral process for the flux linkage always requires an accurate initial value of the flux linkage, i.e., the exact initial position of the motor. The inaccurate initial value of integration will lead to errors in the flux linkage estimation and have a negligible effect on the speed and position estimation, which has not been considered in much of the literature (Wang et al., 2012; Yang et al., 2022; Ting et al., 2019). In practical applications, due to the external interference, the direct drive of PMSLMs is more likely to lead to inaccurate initial positions. When the inaccurate initial position is used to calculate the flux linkage, error occurs, which will affect the speed and position estimation.

To solve this problem and establish a position estimation scheme with good performance, an improved flux linkage observer is proposed in this paper. Sliding-mode control is widely known and used for its good robustness and anti-interference capacity (Afifa et al., 2023). The same sliding-mode observer is also famous because of its strong nonlinearity. Sliding-mode theory can always have a good performance in nonlinearity issues, and it can also be used in this paper. Different from the traditional open-loop calculation method, the flux linkage is calculated through the voltage model firstly and then uses the inaccurate flux linkage to estimate the current through the current model. Finally, a sliding-mode observer is established based on the estimated current and the actual current, and the output is applied to the voltage model as the compensation voltage to form a closed-loop structure. The output of the sliding-mode observer, as the compensation voltage, is used to correct the inaccurate flux linkage. Then, the inaccurate flux linkage will tend towards the actual value under the action of the sliding-mode observer. Compared to the other observers, the proposed observer has the advantages of a simple structure, only one parameter, reliable anti-interference and being easy to implement. The widely known and annoying chattering problem caused by a nonlinear sliding-mode function (Ahmad et al., 2023) can also be effectively suppressed because of the integral item in the modified flux linkage.

Section 1 of this paper is an overview of position estimation and puts forward the existing problems. Section 2 describes the voltage, current model and common position calculation method of the motor. In Sect. 3, the improved flux linkage observer algorithm proposed in this paper is analyzed, and its stability is proved. Sections 4 and 5 simulate and experiment with the proposed flux linkage observer to further illustrate its performance. Section 6 summarizes the full paper.

The motor used in this paper is a surface-mounted PMSLM shown in Fig. 1. The windings are internal in the moving part, and permanent magnets are also internal in the fixed shaft. Injecting current into the windings, the moving part can move along the shaft. For good control performance, the position sensor is always needed and should cover the full length. As mentioned before, position information will be replaced by a sensorless scheme in this paper. To simplify the analysis, there are some assumptions that we have outlined below:

all three phases of the motor have the same resistance and inductance;

the mutual inductance of the windings are ignored;

electromagnetic losses and eddy current effects are ignored.

The permanent magnet synchronous tube linear motor used in this paper.

These simplifications are acceptable and reasonable for the topic in this paper because, under normal operating conditions, the influences of these factors are very small and can be ignored (Zhang et al., 2016). The composite flux linkage produced by permanent magnets and windings is called stator flux linkage, and that produced by permanent magnets is called rotor flux linkage. The two-phase voltage model in a static coordinate system can be expressed as

Position estimation based on phase-locked loop (PLL).

To solve the problem of the initial estimated position being inaccurate due to uncertain interference, the traditional method of stator flux linkage estimation is improved upon in this section. For voltage error caused by inverter nonlinearity, noise in the measuring current, inaccurate initial-phase angle and other interference factors, Eq. (3) can be rewritten as

Although

By combining Eqs. (2) and (9), the two-phase current in the static coordinate system calculated by estimated flux linkage can be expressed as

Position estimation based on improved flux linkage.

Taking the

According to Eqs. (9) and (10), the estimated current is

According to Eqs. (1) and (2),

The improved flux linkage observer proposed in this paper has a good suppression effect on the inaccurate position estimation caused by the high-frequency noise of voltage and current, uncertain interference, and inaccurate initial position and has a good anti-interference capacity and stability. Next, the proposed observer will be verified by simulation and experiments.

To further examine the actual performance of the improved observer, some simulations are carried out according to the mathematical model of PMSLMs. The MATLAB/Simulink is used in this paper, and its version is 2016b. The common space vector pulse width modulation (SVPWM) drive scheme is used to control the motor, and the frequency of the inverter is 10 kHz. The controller adopts a simple PI controller, including speed loop control and current loop control. The control system is shown in Fig. 4, and the motor parameters are shown in Table 1. Actually, the proposed flux linkage observer only needs the voltage and current of the

Control system of PMSLMs.

Parameters of PMSLMs.

To simulate the possible current noise in actuality, a random disturbance with amplitude 1 A is added to the current

The

Estimated flux linkage with convention voltage model.

Using the improved flux linkage observer proposed in this paper, simulations are performed under constant load and uniform speed. The estimation of the flux linkage is shown in Fig. 7. Under the influence of the current noise and the error of the integral initial value, the estimated value of the flux linkage can still converge to the true value and stabilize quickly. The estimated speed of the PMSLM is shown in Fig. 8. In the initial stage of motor start-up, the estimated speed can quickly and stably converge to the actual value after a short adjustment. The estimated position and position errors are shown in Fig. 9. Similarly, in the initial stage of start-up, the position error is large. After a short adjustment, the estimated position can keep up with the actual position steadily, and the error can converge to near zero.

Estimated flux linkage with the improved flux linkage observer.

Estimated speed with the improved flux linkage observer.

Estimated position and error with the improved flux linkage observer.

Because of the fixed coefficient

Under the condition of variable speeds, the proposed observer is simulated and tested. The speed of the PMSLM changes from 0.5 to 0.7 m s

Estimated flux linkage with the improved flux linkage observer under variable speeds.

Estimated speed with the improved flux linkage observer under variable speeds.

Estimated position and error with the improved flux linkage observer under variable speeds.

Estimated speed with the improved flux linkage observer under variable loads.

Estimated position and error with the improved flux linkage observer under variable loads.

The experiment system used in this paper is shown in Fig. 15, including the tubular PMSLM, position sensor, oscilloscope, computer, controller and driver. The controller and driver are integrated together and communicate with the computer in real time. The control algorithm is set and adjusted through the computer software. The whole control system also adopts the PI control algorithm that is commonly used in practice to establish the current control loop and speed control loop. The position sensor is used to detect the position of the moving part. Commonly, the information from position sensor will feedback to the controller. However, in this paper, the information on position and speed is from the improved sensorless scheme.

Experiment system of the PMSLM in this paper.

The improved flux linkage observer proposed in this paper is established with the voltage and current data collected by the built-in sensor to estimate the position and speed of the PMSLM. The estimated value is compared with the actual position and speed obtained by the position sensor. Oscilloscope is used to display relevant signals for observation and debugging. Due to the limit of the length of the PMSLM and the experiment equipment, the performance of the proposed flux linkage observer can only be verified under different speeds. The overall movement time is 1 s, and the motor movement speed is changed at 0.5 s. There is an artificial deviation between the motor's actual initial position and the estimated initial position. The flux linkage, speed and position estimations of the motor are tested under the action of the improved flux linkage observer when the permanent magnet synchronous linear motor (PMSLM) is in operation.

The inaccuracy of the initial position will cause error in the calculation of the flux linkage during operation. The estimated flux linkage using the convention voltage model without a flux linkage observer is shown in Fig. 16. It can be found that the flux linkage always has a deviation and is asymmetrical. This greatly affects the performance of the estimated position and speed. Figure 17 shows the variation of the estimated flux linkage under the action of the proposed observer. Obviously, the initial error can be greatly compensated for by the improved flux linkage observer, and the estimated flux linkage converges with the actual value quickly. At 0.5 s, the controller makes the motor speed change. At the same time, the estimated flux linkage is also adjusted by the observer and soon returns to stability again. It can be found that the improved flux linkage observer has a good compensation effect on the rotor flux linkage estimation error caused by the initial-position error.

The estimated flux linkage with the inaccurate initial-phase angle under the convention voltage model.

The estimated flux linkage with the inaccurate initial-phase angle under the improved flux linkage observer.

Figures 18 and 19 show the speed and position estimation of the PMSLM based on the corrected rotor flux linkage. In Fig. 18, at the beginning, the estimated speed fluctuates slightly around the actual speed. This is because the estimated flux linkage is inaccurate, and the estimated speed is stable until the initial flux linkage error is well compensated for. At 0.5 s, as the actual speed changes, the estimated speed can still track the actual speed quickly and converge to the actual speed after a short fluctuation. It can be clearly found that the speed fluctuation at 0.5 s is smaller and shorter. This shows that the proposed observer has a good performance in terms of dynamic response after the initial error is compensated for and can respond to system changes in time. The position estimation shown in Fig. 19 also has the same change. At the beginning, the estimated position is inaccurate. As the initial flux linkage error is compensated for, the estimated position constantly approaches the real position. At 0.5 s, the position error also has a small sudden change with the motor speed change, and it returns to stability again. The steady error of the estimated position is about 2 mm, and it gradually approaches the real position.

The actual speed and estimated speed under variable speed conditions.

The actual position and estimated position under variable speed conditions.

In this paper, an improved flux linkage observer of PMSLM is proposed, which can effectively suppress the speed and position estimation errors caused by the inaccurate initial position, high-frequency current noise and voltage error that may exist in practice. Firstly, the voltage model is used to calculate the stator flux linkage preliminarily, and the estimated current is calculated through the preliminary stator flux linkage using the current model. Then, a sliding-mode observer is established according to the estimated current and the actual current. The output of the observer is used as a compensation part of the voltage model to further correct the flux linkage. The theoretical model of the improved flux linkage observer is analyzed. The range of the coefficient in the observer is analyzed, and the proof of system stability is also shown in this paper. At last, the simulation and experiments show that the improved observer can greatly compensate for the estimated error and have a good dynamic response ability, especially for the initial-position error in practice. The proposed improved flux linkage observer has a simple structure and only one parameter. The common issues with regard chattering in sliding mode also have been effectively suppressed. It is suitable for practical applications.

No data sets were used in this article.

WY conducted theoretical analysis and verification and wrote the manuscript. GY and LW provided experimental assistance. DL and AAZ collected the experimental results and created the figures.

The contact author has declared that none of the authors has any competing interests.

Publisher’s note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors.

This research has been supported by the National Postdoctoral Program for Innovative Talents (grant no. BX2021126), the National Natural Science Foundation of China (grant no. 52105106), and the China Postdoctoral Science Foundation (grant no. 2021M701711).

This paper was edited by Zi Bin and reviewed by two anonymous referees.