Next Article in Journal
A GIS-Based Fuzzy Model to Detect Critical Polluted Urban Areas in Presence of Heatwave Scenarios
Previous Article in Journal
Mitigating Large Language Model Bias: Automated Dataset Augmentation and Prejudice Quantification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Observer-Based Suboptimal Controller Design for Permanent Magnet Synchronous Motors: State-Dependent Riccati Equation Controller and Impulsive Observer Approaches

by
Nasrin Kalamian
1,
Masoud Soltani
2,
Fariba Bouzari Liavoli
3 and
Mona Faraji Niri
4,*
1
Department of Electrical Engineering, Tafresh University, Tafresh 3951879611, Iran
2
Department of Electrical Engineering, Pooyesh Institute of Higher Education, Qom 8776637116, Iran
3
Department of Electrical Engineering, Danesh Alborz University, Qazvin 3441152278, Iran
4
Warwick Manufacturing Group, University of Warwick, Coventry CV4 7AL, UK
*
Author to whom correspondence should be addressed.
Computers 2024, 13(6), 142; https://doi.org/10.3390/computers13060142
Submission received: 20 March 2024 / Revised: 28 May 2024 / Accepted: 30 May 2024 / Published: 4 June 2024

Abstract

:
Permanent Magnet Synchronous Motors (PMSMs) with high energy efficiency, reliable performance, and a relatively simple structure are widely utilised in various applications. In this paper, a suboptimal controller is proposed for PMSMs without sensors based on the state-dependent Riccati equation (SDRE) technique combined with customised impulsive observers (IOs). Here, the SDRE technique facilitates a pseudo-linearised display of the motor with state-dependent coefficients (SDCs) while preserving all its nonlinear features. Considering the risk of non-available/non-measurable states in the motor due to sensor and instrumentation costs, the SDRE is combined with IOs to estimate the PMSM speed and position states. Customised IOs are proven to be capable of obtaining quality, continuous estimates of the motor states despite the discrete format of the output signals. The simulation results in this work illustrate an accurate state estimation and control mechanism for the speed of the PMSM in the presence of load torque disturbances and reference speed changes. It is clearly shown that the SDRE-IO design is superior compared to the most popular existing regulators in the literature for sensorless speed control.

1. Introduction

Permanent Magnet Synchronous Motors (PMSMs) have advantages such as constant speed, an adjustable power factor, high efficiency, field winding elimination, DC power supply rejection, Joule loss deletion in excitation circuits, omission in brushes and slip rings, a short radial length, and easy maintenance [1,2,3,4,5]. They have simple configurations and easy-to-understand operation mechanisms which make them ideal to be used as actuators in many applications [6,7].
The control of PMSMs has progressed very well in the last few decades. Examples include works such as [8], where Nonlinear Model Predictive Speed Controllers (NMPSCs) are proposed to predict and control the positions and speed at each sampling period through the variable forecast horizon. In [9], to estimate and control the rotor speed and position, an Extended Kalman Filter (EKF) is designed for a sensor-free vector control drive. In [10,11], linear model prediction controllers (MPCs) with the addition of least mean square (LMS) identification strategies and online parameter detection are presented for permanent magnet synchronous generators (PMSGs). In [12], a Robust Adaptive Backstepping Control (RABC) is suggested for High-Speed Permanent Magnet Synchronous Motors (HSPMSM). In [13], a Sliding Mode Observer (SMO) and Sliding Mode Control (SMC) are, respectively, employed to estimate and control the motor speed, torque, and current with third-degree harmonic current. In [14], a model reference adaptive system (MRAS) for estimating and controlling the velocity in internal PMSMs with bandwidth modulation is offered. Furthermore, in [15], an MRAS controller is utilised for sensorless speed control. The authors used the pseudo-linearisation technique and produced state-dependent matrices. Then, the state-dependent matrices were applied to an MRAS mechanism. It should be noted that only the pseudo-linearisation concept was used, and the Riccati equation technique was not investigated in [15]. Moreover, an adaptive, interconnected observer was suggested in order to estimate the speed. In [16], a robust adaptive observer-based approach for the sensorless speed control of PMSMs is studied to estimate the rotor shaft speed and position. In [17], an Adaptive Nonlinear Continuous Observer (ANCO) is used to estimate the self-induction coefficient, stator resistance, rotor velocity/position, and load torque by using the current measurements for the PMSM. In [18], adaptive fuzzy RST digital control (AFRSTD), digital control, and fuzzy digital RST control are generated for a PMSM system. In [19], a Sliding Mode focused on an Extended State Observer (SMESO) and Fast Terminal Sliding Mode Control (FTSMC) is recommended to develop disturbance elimination capacity and increase the dynamic performance of PMSM drive systems.
Reviewing the literature as summarised above reveals that most of the controllers and observers designed for PMSMs have been based on approaches that depend on linear or linearised models. These approaches, although simple, are not ideal for dealing with the inherent nonlinearities of a PMSM. Conventional linearisation methods such as Jacobian approximations do not preserve critical information about the nonlinear mechanisms and are usually time-invariant to reduce the controller design efforts. However, these aspects all reduce the control performance. In the same context, Linear Quadratic Regulators (LQRs) have been shown to perform very well for many linear systems. Therefore, numerous efforts have been made to expand them to nonlinear dynamical systems. The introduction of the state-dependent Riccati equation (SDRE) [20,21,22,23] technique was an effort to fulfil this desire. The SDRE technique is a state-dependent control method based on a pseudo-linearisation display which produces a optimal plan for the cost function of a suboptimal solution [20,21,22,23]. In the SDRE technique, the nonlinear system is transformed into a pseudo-linearised matrix depending on states without any approximation. This pseudo-linearisation representation might not be unique, and there might be countless versions that would make the degrees of freedom of the controller infinite. This is one of the aspects that requires research for its application in different systems.
The SDRE technique has been applied in many applications, such as robotics, navigation systems, Unmanned Aerial Vehicles (UAVs), submarines, Heating Ventilation and Air Conditioning Systems (HVACs), healthcare, and power systems [21,22,23]. In [24], a suboptimal SMC was obtained from a mix of the SDRE and SMC for a class of nonlinear closed-loop systems for the Scout robot. In [25], an SDRE controller was designed for UAVs using the Artificial Potential Field (APF) approach. In [26], the nonlinear SDRE was applied for the fault-tolerant control of a DC micro-grid (MG) in the power system.
On the other hand, the SDREs face challenges regarding access to the system’s states for feedback design. Here, state observers can provide a solution. In [27], the SDRE method is utilised for both control and observation purposes for an Air Handling Unit (AHU) system. The Riccati equation is solved at every sample time, and a suboptimal control law and an estimated state vector are produced based on its solution. It should be noted that the SDRE observer needs continuous data from output sensors at each sample time. In this regard, impulsive systems and observers are well suited for simulating real-world systems in which internal states change instantaneously. Compared to classical continuous and discrete systems, impulsive systems can contain sudden, abrupt, and intermittent changes at variable time intervals [28,29]. In such a mechanism, an impulse could model the sudden change that happens in the system state. The time intervals between these impulses can be fixed or variable with time, known or unknown, and deterministic or stochastic. In [30], an impulsive observer (IO) is introduced based on state-dependent matrices for nonlinear time-delay systems. Furthermore, an adaptive IO (AIO) is suggested for a class of nonlinear time-delay systems with unknown parameters in [31]. Moreover, in [32], an AIO is investigated based on the feasibility of a centralisation perspective for a class of uncertain nonlinear systems.
Based on the literature review summarised and the challenges listed above, in this paper, a state-dependent, centred pseudo-linearisation representation is combined with an impulsive observer to not only estimate motor speed/position in a so-called “sensorless” scheme but also to control these parameters. The proposed observer can provide continuous estimates of the output states of the system, even in the presence of discrete output measurements. Through this approach, by utilising a pseudo-linearisation display instead of linearisation, not only is the design of a linear control scheme facilitated, but also all the nonlinear specifications of the system are preserved along with an accurate estimate of the states.
It should be mentioned that in [27], the authors used an SDRE controller and SDRE observer for an AHU system. The SDRE observer used continuous output signals to estimate the states, and its structure is of the Luenberger type but with state-dependent matrices. Both controller and observer gains are obtained by solving the SDRE at every sample time. In the present paper, the SDRE controller is used with an observer state-dependent impulsive observer for the PMSM when no speed sensors are available. This observer only utilises the output signal at impulse times and does not require continuously estimated states (between the impulses). In [15], the authors used an MRAS to control an IPMSM. The purpose of the mentioned paper was to use the pseudo-linearisation presentation in the structure of the MRAS controller. To estimate the speed, stator resistance, winding inductance, and torque load, an augmented adaptive interconnected observer (AAIO) was used with a similar structure in [33].
In [30], the basic structure of the state-dependent impulsive observer is introduced for nonlinear time-delay systems. The Congo Ebola disease is addressed and presented as a case study without any input control signal criteria. The combination of the SDRE and an impulsive observer was introduced for the first time by the authors of [34] for a manipulator robot case study. The major difference between the present paper and this previous one is that each joint of the manipulator arm was assumed to have a control actuator, and there were the same number of output and control input signals in this system. Thus, the input matrix was an orthogonal one. Unlike the previous case study, the PMSM system in the present paper has only states that are measurable. Therefore, for the speed and position signals, no direct control is available. Also, here, it is assumed that the angles are measured and available only in impulse time stamps, and only angular velocities are estimated by the observer, i.e., there is no access to physical measurements. Addressing this state access problem while there is a nonlinear dependency between the outputs and speed signals is the key challenge addressed in this work. This challenge is addressed through the following:
  • Developing a pseudo-linearised representation of the PMSM system.
  • Designing a controller for optimal tracking of the PMSM’s reference speed with high accuracy and a quick speed without a speed sensor.
  • Estimating motor speed in a sensorless framework.
  • Addressing the challenge of disturbances during the course of the control.
  • Maintaining the function of estimation and speed control during all times of sampling and not just at the impulse sample times.
  • Quantifying the effects of impulse intervals (the sample rate) and load torque.
The simulated examples in this work demonstrate the performance of the controlled system despite the changes in the reference speed and load torque and the variable sample rates. To show the superiority of the proposed estimation and control approach, the results are compared with the linear control approach of LQRs. It is worth noting that the PMSM here is only considered as a case study, and the proposed work has the potential to be applied to systems with similar challenges and requirements without a loss in generalisability.
Given the introduction and motivation for this work given above, the rest of the paper is organised as follows: Section 2 is dedicated to the state-dependent Riccati equation principles, and Section 3 summarises the fundamentals of the impulsive state estimator. Section 4 includes the main results and the proposed work; the stability theorems and the proofs are given in this section. Section 5 is dedicated to the PMSM control case study, with simulations and visualisations given in Section 6; this section includes a comprehensive discussion of the results, the sensitivity analysis, and practical considerations as well. Comparisons are also included in this section. The last section includes the conclusion and potential future work.

2. State-Dependent Riccati Equation

In the SDRE method, the nonlinear system is first transformed into a pseudo-linearisation form without any approximation, and then the benefits of the linear representation are used to design the controller, observer, or any nonlinear filters. Its ability to be implemented in a wide range of nonlinear systems, the existence of a methodical process for the transformation, and the possibility of obtaining optimal solutions for control purposes are among the advantages of the SDRE technique [21,22,23].
The dynamics of a nonlinear system are considered as follows [21]:
x ˙ t = f x t , u t y t = h x t ,
where x R n , u R p , and y R q are, respectively, the states, control, and output vectors of the system. f : R n × R p R n and h : R n R q are the nonlinear functions here. The pseudo-linearised display of the system (1) is as follows:
x ˙ t = A x t x t + B x t u t y t = C x t x t ,
A x t R n × n , B x t R n × p , and C x t R q × n are the system’s state-dependent coefficient matrices, inputs, and outputs, respectively. To track the reference path of the system, the cost function with the SDRE’s infinite time horizon is defined as follows:
J = 0 C x t r t T Q x C x t r t + u T t R x u t d t ,
where the weight coefficients Q x and R x are state-dependent [24] and can determine state or input preferences. The control input to minimise the cost function (4) is calculated as follows [20]:
u t = K x x t + R 1 x B T x ν x ,
such that K x = R 1 x B T x P x and P x are the solutions to the Riccati equation in the form of (5):
A T x P x + P x A x P x B x R 1 x B T x P x + C T Q x C = 0 ,
where ν x is the solution to the following algebraic equation:
A x B x K x T ν x + C T Q x r t = 0       ν x = A x B x K x T 1 C T Q x r t .
In the process presented above, optimal tracking can be achieved without worrying about the rank reduction in the controllability and observability matrices.

3. Impulsive Observer

In this section, it is described how the state observer is designed to estimate the states of the system. Through this framework, the controller can perform based on the estimated states. Impulsive systems have two continuous and discrete dynamic behaviours. The continuous dynamic behaviours are described by differential equations that are continuous in time, describing the intervals between impulses. However, the discontinuous dynamic behaviour is described by differential equations that denote the impulse moments when system states abruptly change. According to these features, impulsive systems are very suitable for describing real-world variable processes in which system states change instantaneously at certain points in time. Impulsive dynamic systems can be seen as a subset or class of hybrid systems with precipitate jumps. There is a main continuous or discrete dynamic in impulsive systems, in which moments also occur between impulses and change the states of the system. The time interval between these impulses can be fixed or variable with time, known or unknown, and deterministic or stochastic.
In general, for a nonlinear system, the system is denoted as in Equation (7) [28]:
x ˙ t = f t , x t ; t t k Δ x t = f I x t ; t = t k
with x R n as the continuous state vector and t as the time variable. With, f : R + × R n R n and f I : R n R n as nonlinear functions with appropriate dimensions, the state variable jumps can be expressed as Δ x t k = x t k + x t k , in discrete intervals of k = 1 , 2 , t k , where t k > t k 1 > 0 . Δ x t k is also known as the Impulsive Differential Equation (IDE). There are two main approaches to studying stability issues in impulsive systems. The classical approach is based on the positive definite Lyapunov function, with a negative derivative for non-impulsive systems. It should be noted that most of the existing articles have used the classical perspective to examine the stability of a system or its observer. Unlike non-impulsive systems, impulsive systems can have a positive derivative at some point in time but have a descending trend overall [28].
A system with impulsive equations is defined as follows:
w ˙ t = g t , w t ; t t k w t k + = ψ k w t k ,
where V V 0 and g : R + × R + R are continuous, and ψ k : R + R + is non-descending. Also, the following equations are established:
D + V t , x g t , V t , x ; t t k V t , x + Δ x ψ k V t , x ; t = t k
Hypothesis 1.
It is assumed that  f t , 0 = 0 ,  f I 0 = 0 , and  g t , 0 = 0  for all  k  with  t > 0 .
Therefore, the obvious response of the main system and the comparison system is in t k 1 , t k . The theorem of the comparison system is presented as Theorem 1.
Theorem 1.
The conditions are assumed to be as follows:
-
V : R + × S ρ R + ,  V V 0 ,  ρ > 0  in  t k 1 , t k , and  D + V t , x g t , V t , x .
-
There is a  ρ 0 > 0 , so  x S ρ 0  and  x + Δ x S ρ 0  for all  k , and in  t = t k ,  V t , x + Δ x ψ k V t , x .
-
b x V t , x a x  on  R + × S ρ  when  a , b κ .
Moreover, the stability characteristics of the obvious solution to the comparison system will result in the stability of the main system [28].
Outcome 1.
Suppose  g t , V t , x = ξ ˙ t V t , x  when  ξ C 1 R + , R +  and  ψ k V t , x = d k V t , x . The origin of the main system will be asymptotically stable if the following conditions are met:
ξ ˙ t 0 d k 0 ; k = 1 , 2 , ξ t k ξ t k 1 + ln γ d k 0 ; γ > 1

State-Dependent Impulsive Observer

A state-dependent impulsive observer (SDIO) is suggested as follows:
x ^ ˙ = A x ^ x ^ + B x ^ u ; t t k y ^ = C x ^ Δ x ^ = F x ^ y y ^ ; t = t k
where x ^ and y ^ are the estimated state and output vectors, respectively. Δ x ^ is the jump vector of the estimated states. The observer gain is F , which is also determined according to the closed-loop stability theorem [29].

4. Main Design: SDRE Controller Based on State-Dependent Impulsive Observer

The impulsive observer is assumed to be state-dependent (11). The control input when using the state-dependent Riccati controller is as follows:
u t = R 1 x B T x P x x t + R 1 x B T x ν x ν x = A x B x K x T 1 C T Q x r t .
Hypothesis 2.
The following Lipshitz conditions are assumed to be valid for the system:
A c x x A c x ^ x ^ K A e B c x r B c x ^ r K B e
where  K A  and  K B  are constant and positive.
Theorem 2.
The proposed state-dependent impulsive observer’s estimation error for the SDRE controller is  e = x x ^ , which will converge to zero asymptotically when the following assumptions and conditions are met:
i ε 1 1 + ε 2 1 M i ε 1 1 + ε 2 1 M i ε 1 1 + ε 2 1 I 0 ;    i = 1 , 2
i = A c T x ^ M i + M i A c x ^ + M 1 M 2 / Δ k + 2 ε 1 K A 2 + ε 2 K B 2 I + 2 ε 1 A c T x ^ A c x ^ α M i
σ M 1 M 2 F ¯ x ^ C T M 2 F ¯ x ^ C M 2 0
α Δ k + ln γ σ 0
where  α 0 ,  σ 0 ,  γ 1 , and  γ σ 1  are the design parameters, and  F x ^ = F ¯ x ^ M 2 1 .
Proof of Theorem 2.
The SDRE closed-loop system is written as follows:
x ˙ = A x x + B x k x x + ν x r = A x B x k x x + B x ν x r = A c x x + B c x r ,
where A c x = A x + B x k x and B c x = B x ν x . It can also be written for the observer in t t k :
x ^ ˙ = A x ^ B x ^ k x ^ x ^ + B x ^ ν x ^ r = A c x ^ x ^ + B c x ^ r
Therefore, the dynamics of the estimation error in t t k are rewritten as follows:
e ˙ = A c x x + B c x r A c x ^ x ^ + B c x ^ r = A c x ^ x x ^ + A c x A c x ^ x + B c x B c x ^ r = A c x ^ e + A ˜ x + B ˜ r
where A ˜ = A c x A c x ^ and B ˜ = B c x B c x ^ . In t = t k ,
Δ e = F x ^ C e t k e t k + = I F x ^ C e t k .
The positive definite Lyapunov function is introduced as follows:
V x , t = e T M e ;    M = 1 ρ M 1 + ρ M 2 , ρ = t k t Δ k ;    Δ k = t k t k 1 ;    t t k 1 , t k ,
where M is an alternating matrix in t t k 1 , t k , and M 1 and M 2 are defined as symmetric, positive definite matrices.
M t k = M 1 ;    M t k + = M 2 ,
So, the derivative of the Lyapunov function in the time interval t t k 1 , t k is equal to
V ˙ x , t = e T A c T x ^ M + M A c x ^ + M 1 + M 2 Δ k e + x T A ˜ T M e + e T M A ˜ x + r T B ˜ T M e + e T M B ˜ r .
Using the Yang inequality [30], the result is as follows:
x T A ˜ T M e + e T M A ˜ x ε 1 x T A ˜ T A ˜ x + ε 1 1 e T M 2 e r T B ˜ T M e + e T M B ˜ r ε 2 r T B ˜ T B ˜ r + ε 2 1 e T M 2 e ,
And, according to Hypothesis 2, the following result is obtained:
x T A ˜ T A ˜ x = A ˜ x 2 2 A c x x A c x ^ x ^ 2 + 2 A c x ^ x x ^ 2 2 K A 2 e T e + 2 e T A c T x ^ A c x ^ e
r T B ˜ T B ˜ r = B ˜ r 2 K B 2 e T e .
Hence, the derivative of Lyapunov’s function will be taken as follows:
V ˙ e T ( A c T x ^ M + M A c x ^ + M 1 + M 2 / Δ k + 2 ε 1 K A 2 + ε 2 K B 2 I              + ε 1 1 + ε 2 1 M 2 + 2 ε 1 A c T x ^ A c x ^ ) e .
By applying ± α V x , t to (28), the following result is obtained:
V ˙ x , t e T ¯ e + α V x , t ,
which can be written as follows:
¯ = ¯ 1 + ρ ¯ 2 + ρ 2 ¯ 3 , ¯ 1 = A c T x ^ M 1 + M 1 A c x ^ + M 1 M 2 / Δ k + 2 ε 1 K A 2 + ε 2 K B 2 I + ε 1 1 + ε 2 1 M 1 2 + 2 ε 1 A c T x ^ A c x ^ α M 1 , ¯ 2 = A c T x ^ M 2 M 1 + M 2 M 1 A c x ^ + 2 ε 1 1 + ε 2 1 M 1 M 2 M 1 α M 2 M 1 ,   ¯ 3 = ε 1 1 + ε 2 1 M 2 M 1 2 .
If 0 ρ t 1 , ¯ 3 0 , and the following conditions are satisfied by the LMIs (14), as well as the definition of λ ˙ t = α 0 , the first condition of the comparison system theorem is established as follows:
¯ 1 0 ¯ 1 + ¯ 2 + ¯ 3 0 .
In t = t k + , the Lyapunov function is presented as follows:
V x , t k + = e T t k + M t k + e t k + = e T t k I F x ^ C T M 2 I F x ^ C e t k .
This is the case if the following condition is met:
I F x ^ C T M 2 I F x ^ C σ M 1
which is the same condition for the LMI (16) as V x , t k + σ V x , t k and d k = σ 0 .
Therefore, the second condition of the comparison system theorem is established. □
According to the third condition, the upper limit of the impact distance is obtained as follows:
Δ k max = ln γ σ / α

5. Case Study: Permanent Magnet Synchronous Motor

The dynamic model of the permanent magnet synchronous motor used in this paper on the d q axis is as follows [35]:
d i d d t = R s L d i d + ω r i q + V d L d d i q d t = R s L q i q ω r i d λ f ω r + V q L q d ω r d t = 3 2 N p J λ f i q B J ω r T L J d θ d t = ω r
where i d and i q are the currents and V d and V q are the voltages of the d and q axes, respectively. R s is the stator resistance. L q and L d are, respectively, the inductances of the winding on the q and d axes. λ f and ω r are the magnetic flux of the permanent magnet and the mechanical speed of the motor, respectively. θ and J are the angular position of the rotor and the moment of inertia. B is the coefficient of friction. N p is the number of poles, and T L is the load torque. Table 1 presents the values of the engine parameters according to [35]. The pseudo-linearised representation of the PMSM is obtained as follows:
A x = R s L d x 3 0 x 3 R s L q λ f 0 3 2 N p J λ f B J , B x = 1 L d 0 0 1 L q , C x = 1 0 0 0 1 0
where x = i d i q ω r T is the state vector, u = V d V q is the input vector, and y = i d i q T is the output vector. The advantage of this presentation is that it is both controllable and observable.
An overview of the control, speed estimation, and identification of the synchronous motor’s parameters is shown in Figure 1. In this block diagram, the voltage in the dq plane is applied to the motor, and the currents are captured as the response. These current values are not necessarily available at each sample point, but to reduce the cost of measurements, they are assumed to be available only for a few time stamps. The impulse observer receives the current and voltage values and estimates the motor speed for all of the time stamps. This speed is then used as an input to the SDRE controller for tracking purposes. Here signals with * reference to the setpoint of the system.

6. Simulation Results and Discussions

6.1. The Main Simulation Results

The design parameters are considered as follows:
R x = d i a g 1 , 1 , Q x = d i a g 10 3 + x 1 2 , 10 3 + 10 x 2 2 , 10 2 + x 3 2 , α = 10 , γ = 1.001 , σ = 0.95 .
The initial conditions of the states and their estimations are as follows:
x 0 = 0 , 0 , 1 T , x ^ 0 = 10 , 10 , 50 T .
Also, the desired values of the speed and current on the d-axis are assumed to be zero. According to the values of the design parameters, the maximum distance between impulses is calculated as Δ k max = ln 1.001 × 0.95 / 10 = 0.005 s. The sampling time T s = 10 4 s, and the interval between impulses is also assumed to be Δ = 5 × 10 3 s, which means that an output is available every five sampling times. The tracking error is defined as x r e f x ^ and the estimation error is called as x x ^ .
The results were simulated by MATLAB 2023b software with an ASUS laptop (Ausu Laptop Model: K556CPU COREi7/7500u, RAM DDR4, Graphic GFORCE 940MX). These results are displayed in Figure 2 for the speed tracking error, the speed estimation error, and the estimated speed jumps (speed impulses). The figures on the top row are the tracking performance and its zoomed-in version. It is very clear that the reference speed was successfully tracked after only the first 0.02 s. The figures in the second row demonstrate the tracking errors, which are very small after convergence happens. According to the results, it is clear that the proposed observer can estimate the motor speed very well. The proposed controller also tracks reference paths with appropriate accuracy. At first, it is seen that, despite the error between the actual and estimated values, these jumps have a greater amplitude, which gradually decreases.
Further results are plotted in Figure 3 to show the d-current estimation, the d-current tracking error, the d-current estimation error, and the estimated d-current jumps (d-current impulses).
Figure 4 illustrates the q-current estimation, the q-current estimation error, and the estimated q-current jumps (q-current impulses). Eventually, as the signal converges to the true value, the jump amplitude also becomes zero.
The control inputs are shown in Figure 5. As can be seen, all inputs and their changes are smooth and slow. The allowed range for the input control signals was between −250 and +250, so it is clear that the signals are within the prescribed range. Therefore, these inputs can be implemented in practice. Generally, in the proposed method, the control signals can be forced to stay within a range by tuning the controller’s parameters. Also, by making a trade-off between the performance and the control input variations, a design that can be implemented in real applications can be achieved.
The observer gains are also plotted in Figure 6, which are obtained at any time by solving the LMIs of Theorem 2. Obviously, the gains remain unchanged after the conversion.

6.2. The Effect of Impulse Intervals

To show the effects of impulse intervals on the estimation error of the states by the proposed observer, the two criteria of the normalised mean square error (NMSE) and the correlation coefficient (CC) were used. These two criteria can be calculated as follows:
N M S E = 1 N j = 1 N i = 1 3 e i , j max j e i , j 2
c c i = j = 1 N x i , j x ^ i , j j = 1 N x 2 i , j j = 1 N x ^ 2 i , j
where e i , j is the error of the i th state. The NMSE metric shows the strength of the estimation and the correlation coefficient of the similarity of the real and estimated states. If the two signals are completely similar, the correlation coefficient is 1, and if they are completely different, the correlation coefficient is −1.
Table 2 shows that the accuracy of the estimation decreases with increasing impulse intervals, although the values are still acceptable up to the maximum impulse intervals determined by the proposed Theorem 2. In the last column, where the impulse interval is selected above the maximum value, a high error is witnessed, and the similarity between the actual and estimated signals is reduced.

6.3. The Effect of Load Torque

In this section, to investigate the effect of the load torque as a disturbance to the performance of the closed-loop system, a load torque of 5 Nm at an equilibrium point from 0.25 to 0.35 per second is applied to the motor. The load torque impulsive observer gains, speed tracking and estimation with load torque, speed tracking error with load torque, and speed estimation error with load torque are plotted in Figure 7.
According to the results, it is clear that despite the load torque acting on the system as a disturbance, the performance of the proposed controller and observer in tracking reference paths and estimating the states is satisfactory. The tracking error is directly related to increasing or decreasing load torque amplitude. It is worth noting that the load torque was considered such that a change in the speed or current response is visible. Robust approaches should be used if there is more disturbance or higher accuracy is required.

6.4. Comparisons

In this section, a comparison between the SDRE and LQR optimal controllers is provided. In this comparison, the SDRE controller examines the system nonlinearly, and the LQR, which is a linearised version, examines the system linearly. This comparison shows the better performance of the SDRE method. In the SDRE approach, a pseudo-linearisation matrix and SDC are generated, which will preserve the nonlinear properties of the system, whereas in the LQR version, the system is first linearised around the equilibrium point. So, this linearisation cannot include nonlinear features of the system and eliminates them. Hence, the system does not have a nonlinear nature and will have the same system matrices at all times. Meanwhile, the system matrices in the SDRE controller update their state-dependent system matrices at each sampling time. This solves the state-dependent Riccati equation for each time sample. But in LQRs, the Riccati equation is checked only once. The linearisation of the motor equations around the equilibrium point is performed using the Jacobian method as follows:
A x = x ˙ 1 u 1 x ˙ 1 u 3 x ˙ 3 u 1 x ˙ 3 u 3 = R s L d x e 3 x e 2 x e 3 R s L q λ f x e 1 0 3 2 N p J λ f B J , B = x ˙ 1 u 1 x ˙ 1 u 3 x ˙ 3 u 1 x ˙ 3 u 3 x = x e = 1 L d 0 0 1 L q 0 0 .
The weighting coefficients R and Q are considered to be the same in both the LQR and SDRE methods, and the calculation of these coefficients is arbitrary. The response of the algebraic Riccati equation for the matrices (39) and the LQR state feedback gain is obtained as follows:
P = 2.1259 0.0012 0.5347 0.0012 1.5945 0.0693 0.5347 0.0693 0.5487 , K = 9.8650 0.0055 2.4810 0.0055 7.3993 0.3217 .
The following figures show the outputs and states of the SDRE and LQR controllers. Both controllers assume that all states are available, and they track both paths optimally. Figure 8 displays the speed estimation, currents (d-axis and q-axis), and voltages (d-axis and q-axis). It is clear that the SDRE controller performs much better than the LQR, especially when changing the equilibrium point. Because the LQR controller is linearised around the equilibrium point, by changing the equilibrium point, the linearisation accuracy is significantly reduced. Furthermore, Table 3 shows a numerical comparison between the proposed method and the LQR. The numerical results verified the efficiency of the proposed framework compared to the LQR technique in varying the reference speed.
As Table 3 shows, for both cases, the distance between the impulses (where the output signals become available) is 0.005 s. In both cases, a similar impulse observer was designed. However, the LQR performs more weakly compared to the SRDE controller. All the performance measures of the NMSE, c c1, c c2, and c c3, which are the normalised mean squared errors and correlation coefficients across both the d and q axes, are lower for the LQR compared to the SDRE. Based on the performance metrics, this superiority is due to the SDRE being able to take care of the system’s intrinsic nonlinearities, especially when the working point changes during tracking.

7. Conclusions

In this article, an observer-based suboptimal controller for the PMSM according to the SDRE controller and impulsive observer approaches was applied, and a pseudo-linearised representation and SDRE strategy procedure were presented. Moreover, a mathematical formulation of the impulsive state observer was presented. The proposed SDRE technique guarantees the tracking of reference paths with acceptable accuracy and speed. Despite the change in the reference speed, the performance of the closed-loop system was maintained, and the reference paths were well tracked. The results illustrate that despite the load torque, the performance of the system decreases to some extent, but it is still acceptable. A comparison was applied between the SDRE method and an LQR, which was designed based on the Jacobian linearisation approach. According to the results obtained, it is clear that when changing the reference speed, the LQR controller cannot guarantee the performance of the system in tracking the reference path. In the future, suggestions can be made for robust and adaptive SDRE controllers to handle disturbances and uncertainty in system models.

Author Contributions

Conceptualization, N.K. and M.F.N.; methodology, N.K.; software, N.K. and M.S.; validation, N.K., F.B.L. and M.S.; formal analysis, N.K.; investigation, M.F.N.; resources, M.F.N.; data curation, F.B.L. and M.S.; writing—original draft preparation, N.K.; writing—review and editing, M.F.N. and F.B.L.; visualization, M.S.; supervision, M.F.N.; project administration, N.K.; funding acquisition, M.F.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data is contained within the article.

Conflicts of Interest

Authors declare not conflicts of interests.

References

  1. Li, S.; Liu, H.; Ding, S. A speed control for a PMSM using finite-time feedback control and disturbance compensation. Trans. Inst. Meas. Control 2010, 32, 170–187. [Google Scholar] [CrossRef]
  2. Li, S.; Zong, K.; Liu, H. A composite speed controller based on a second-order model of permanent magnet synchronous motor system. Trans. Inst. Meas. Control 2011, 33, 522–541. [Google Scholar] [CrossRef]
  3. Yan, Y.; Zhu, J.G. A survey of sensorless initial rotor position estimation schemes for permanent magnet synchronous motors. In Proceedings of the Australasian Universities Power Engineering Conference, Brisbane, Australia, 26–29 September 2004; pp. 26–29. [Google Scholar]
  4. Benjak, O.; Gerling, D. Review of position estimation methods for IPMSM drives without a position sensor, Part I: Nonadaptive Methods. In Proceedings of the International Conference on Electrical Machines, Rome, Italy, 6–8 September 2010; pp. 1–6. [Google Scholar]
  5. Benjak, O.; Gerling, D. Review of position estimation methods for IPMSM drives without a position sensor, Part II: Adaptive Methods. In Proceedings of the International Conference on Electrical Machines and Systems, Incheon, Republic of Korea, 10–13 October 2010; pp. 1–6. [Google Scholar]
  6. Benjak, O.; Gerling, D. Review of position estimation methods for IPMSM drives without a position sensor, Part III: Methods based on saliency and signal injection. In Proceedings of the International Conference on Electrical Machines, Rome, Italy, 6–8 September 2010; pp. 873–878. [Google Scholar]
  7. Zhao, Y. Position/Speed Sensorless Control for Permanent-Magnet Synchronous Machines. Ph.D. Thesis, University of Nebraska, Electrical Engineering Department, Lincoln, NE, USA, 2014. [Google Scholar]
  8. Li, S.; Li, J.; Tang, Y.; Shi, Y.; Cao, W. Model-based model predictive control for a direct-driven permanent magnet synchronous generator with internal and external disturbances. Trans. Inst. Meas. Control 2020, 42, 386–397. [Google Scholar]
  9. Wei, Y.; Wei, Y.; Yuan, S.; Qi, H.; Guo, X.; Li, M. Nonlinear Model Predictive Speed Control with Variable Predictive Horizon for PMSM Rotor Position. J. Control Eng. Appl. Inform. 2021, 23, 86–94. [Google Scholar]
  10. Walambe, R.A.; Joshi, V.A. Closed Loop Stability of a PMSM-EKF Controller-Observer Structure. IFAC-Pap. 2018, 51, 249–254. [Google Scholar] [CrossRef]
  11. Sawma, J.; Khatounian, F.; Monmasson, E.; Idkhajine, L.; Ghosn, R. Analysis of the impact of online identification on model predictive current control applied to permanent magnet synchronous motors. IET Electr. Power Appl. 2017, 11, 864–873. [Google Scholar] [CrossRef]
  12. El-Sousy, F.F.; El-Naggar, M.F.; Amin, M.; Abu-Siada, A.; Abuhasel, K.A. Robust Adaptive Neural-Network Backstepping Control Design for High-Speed Permanent-Magnet Synchronous Motor Drives: Theory and Experiments. IEEE Access 2019, 7, 99327–99348. [Google Scholar] [CrossRef]
  13. Hezzi, A.; Bensalem, Y.; Elghali, S.B.; Abdelkrim, M.N. Sliding Mode Observer based sensorless control of five phase PMSM in electric vehicle. In Proceedings of the International Conference on Sciences and Techniques of Automatic Control and Computer Engineering (STA), Sousse, Tunisia, 24–26 March 2019; pp. 530–535. [Google Scholar]
  14. Khlaief, A.; Boussak, M.; Châari, A. A MRAS-based stator resistance and speed estimation for sensorless vector controlled IPMSM drive. Electr. Power Syst. Res. 2014, 108, 1–15. [Google Scholar] [CrossRef]
  15. Izadinasab, A.; Ghanbari, M. Control of sensorless PMSM using state dependent model reference adaptive system adaptive augmented observer. J. Model. Eng. 2020, 18, 85–95. [Google Scholar]
  16. Usama, M.; Kim, J. Robust adaptive observer-based finite control set model predictive current control for sensorless speed control of surface permanent magnet synchronous motor. Trans. Inst. Meas. Control 2021, 43, 1416–1429. [Google Scholar] [CrossRef]
  17. Hamida, M.A.; De Leon, J.; Glumineau, A.; Boisliveau, R. An Adaptive Interconnected Observer for Sensorless Control of PM Synchronous Motors With Online Parameter Identification. IEEE Trans. Ind. Electron. 2013, 60, 739–748. [Google Scholar] [CrossRef]
  18. Toumi, D.; Mihoub, Y.; Hassaine, S.; Moreau, S. Design and implementation of adaptive fuzzy-RST digital speed control of PMSM drive. Asian J. Control 2021, 24, 2534–2547. [Google Scholar] [CrossRef]
  19. Xu, W.; Junejo, A.K.; Liu, Y.; Hussien, M.G.; Zhu, J. An Efficient Antidisturbance Sliding-Mode Speed Control Method for PMSM Drive Systems. IEEE Trans. Power Electron. 2021, 36, 6879–6891. [Google Scholar] [CrossRef]
  20. Lewis, F.L. Optimal Control, 3rd ed.; John Wiley: Hoboken, NJ, USA, 2012. [Google Scholar]
  21. Çimen, T. State-Dependent Riccati Equation (SDRE) Control: A Survey. IFAC Proc. Vol. 2008, 41, 3761–3775. [Google Scholar] [CrossRef]
  22. Çimen, T. Systematic and effective design of nonlinear feedback controllers via the state-dependent Riccati equation (SDRE) method. Annu. Rev. Control 2010, 34, 32–51. [Google Scholar] [CrossRef]
  23. Çimen, T.; Manikandan, R.; Saha, N.; Korayem, A.H.; Korayem, M.H.; Nekoo, S.R.; Lin, L.-G.; Xin, M.; Lee, J.; Lee, Y.; et al. Survey of State-Dependent Riccati Equation in Nonlinear Optimal Feedback Control Synthesis. J. Guid. Control Dyn. 2012, 35, 1025–1047. [Google Scholar] [CrossRef]
  24. Korayem, A.H.; Nekoo, S.R.; Korayem, M.H. Optimal sliding mode control design based on the state-dependent Riccati equation for cooperative manipulators to increase dynamic load carrying capacity. Robotica 2018, 37, 321–337. [Google Scholar] [CrossRef]
  25. Nekoo, S.R.; Acosta, J.A.; Ollero, A. Collision Avoidance of SDRE Controller using Artificial Potential Field Method: Application to Aerial Robotics. In Proceedings of the 2020 International Conference on Unmanned Aircraft Systems (ICUAS), Athens, Greece, 1–4 September 2020. [Google Scholar]
  26. Batmani, Y.; Takhtabnus, M.; Mirzaei, R. DC microgrid fault-tolerant control using state-dependent Riccati equation techniques. Optim. Control Appl. Methods 2021, 43, 1–15. [Google Scholar] [CrossRef]
  27. Liavoli, F.B.; Fakharian, A. Sub-optimal observer-based controller design using the state dependent riccati equation approach for air-handling unit. In Proceedings of the 2019 27th Iranian Conference on Electrical Engineering (ICEE), Yazd, Iran, 30 April–2 May 2019; pp. 991–996. [Google Scholar]
  28. Lakshmikantham, V.; Bainov, D.D.; Simeonov, P.S. Theory of Impulsive Differential Equations; World Scientific: London, UK, 1989. [Google Scholar]
  29. Li, Z.; Soh, Y.; Wen, C. Switched and Impulsive Systems: Analysis, Design and Applications, 1st ed.; Springer: Berlin, Germany, 2005. [Google Scholar]
  30. Kalamian, N.; Khaloozadeh, H.; Ayati, M. Design of state-dependent impulsive observer for nonlinear time-delay systems. IET Control Theory Appl. 2019, 13, 3155–3163. [Google Scholar] [CrossRef]
  31. Kalamian, N.; Khaloozadeh, H.; Ayati, M. Adaptive state-dependent impulsive observer design for nonlinear deterministic and stochastic dynamics with time-delays. ISA Trans. 2020, 98, 87–100. [Google Scholar] [CrossRef]
  32. Kalamain, N.; Khaloozadeh, H.; Ayati, M. On design of adaptive impulsive observer based on comparison system: Modifications in stability theory and feasibility centralization. Int. J. Dyn. Control 2022, 11, 149–161. [Google Scholar] [CrossRef]
  33. Kivanc, O.C.; Ozturk, S.B. Sensorless PMSM drive based on stator feedforward voltage estimation improved with MRAS multiparameter estimation. IEEE/ASME Trans. Mechatron. 2018, 23, 1326–1337. [Google Scholar] [CrossRef]
  34. Kalamian, N.; Niri, M.F.; Mehrabizadeh, H. Design of a Suboptimal Controller based on Riccati Equation and State-dependent Impulsive Observer for a Robotic Manipulator. In Proceedings of the 2019 6th International Conference on Control, Instrumentation and Automation (ICCIA), Sanandaj, Iran, 30–31 October 2019; pp. 1–6. [Google Scholar]
  35. Liu, Z.H.; Nie, J.; Wei, H.L.; Chen, L.; Li, X.H.; Zhang, H.Q. A newly designed VSC-based current regulator for sensorless control of PMSM considering VSI nonlinearity. IEEE J. Emerg. Sel. Top. Power Electron. 2020, 9, 4420–4431. [Google Scholar] [CrossRef]
Figure 1. Block control diagram of the proposed method.
Figure 1. Block control diagram of the proposed method.
Computers 13 00142 g001
Figure 2. Speed profiles of the PMSM, the state estimation, the tracking error, and the speed impulses, together with the zoomed-in areas.
Figure 2. Speed profiles of the PMSM, the state estimation, the tracking error, and the speed impulses, together with the zoomed-in areas.
Computers 13 00142 g002
Figure 3. Current on the d-axis of the PMSM, the estimated states, the errors, and the impulses.
Figure 3. Current on the d-axis of the PMSM, the estimated states, the errors, and the impulses.
Computers 13 00142 g003
Figure 4. Current on the q-axis of the PMSM, the estimated states, the errors, and the impulses.
Figure 4. Current on the q-axis of the PMSM, the estimated states, the errors, and the impulses.
Computers 13 00142 g004
Figure 5. Voltage along the d-axis and q-axis of the PMSM, along with the dq axis.
Figure 5. Voltage along the d-axis and q-axis of the PMSM, along with the dq axis.
Computers 13 00142 g005
Figure 6. Impulsive observer gains over the course of estimation and control.
Figure 6. Impulsive observer gains over the course of estimation and control.
Computers 13 00142 g006
Figure 7. Load torque impulsive observer gains, speed tracking and estimation with load torque, speed tracking error with load torque, and speed estimation error with load torque.
Figure 7. Load torque impulsive observer gains, speed tracking and estimation with load torque, speed tracking error with load torque, and speed estimation error with load torque.
Computers 13 00142 g007
Figure 8. Comparison of PMSM parameters between the SDRE and the LQR.
Figure 8. Comparison of PMSM parameters between the SDRE and the LQR.
Computers 13 00142 g008
Table 1. The PMSM’s parameters [35].
Table 1. The PMSM’s parameters [35].
ParameterValue
Number of poles N p 4
Stator resistance R s 0.0875 Ω
Permanent magnetic flux λ f 1 Wb
Inductance L d = L q 0.2155 H
Moment of inertia J 0.0151 kgm 2
Friction coefficient B 0.0378 kgm 2 s 1
Table 2. Summary of the impulse interval effect.
Table 2. Summary of the impulse interval effect.
MetricesImpulse Intervals (Δ(s))
10 4 5 × 10 4 10 3 5 × 10 3 6 × 10 3
N M S E 45.6892128.6873177.1134301.84232521.4897
C C 1 0.99920.99680.99250.97250.6850
C C 2 10.99990.99980.99940.7982
C C 3 110.99990.98120.8241
Table 3. Summary of the comparison between the proposed method and the LQR.
Table 3. Summary of the comparison between the proposed method and the LQR.
Δ(s) = 5 × 10−3The Proposed MethodLQR
N M S E 301.84233128.2159
C C 1 0.97250.6014
C C 2 0.99940.7102
C C 3 0.98120.7371
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

Kalamian, N.; Soltani, M.; Bouzari Liavoli, F.; Faraji Niri, M. Observer-Based Suboptimal Controller Design for Permanent Magnet Synchronous Motors: State-Dependent Riccati Equation Controller and Impulsive Observer Approaches. Computers 2024, 13, 142. https://doi.org/10.3390/computers13060142

AMA Style

Kalamian N, Soltani M, Bouzari Liavoli F, Faraji Niri M. Observer-Based Suboptimal Controller Design for Permanent Magnet Synchronous Motors: State-Dependent Riccati Equation Controller and Impulsive Observer Approaches. Computers. 2024; 13(6):142. https://doi.org/10.3390/computers13060142

Chicago/Turabian Style

Kalamian, Nasrin, Masoud Soltani, Fariba Bouzari Liavoli, and Mona Faraji Niri. 2024. "Observer-Based Suboptimal Controller Design for Permanent Magnet Synchronous Motors: State-Dependent Riccati Equation Controller and Impulsive Observer Approaches" Computers 13, no. 6: 142. https://doi.org/10.3390/computers13060142

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