Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Next Article in Journal
Vibration Suppression of Two Adjacent Cables Using an Interconnected Tuned Mass Damper/Nonlinear Energy Sink
Next Article in Special Issue
Current Harmonic Suppression in Maritime Vessel Rudder PMSM Drive System Based on Composite Fractional-Order PID Repetitive Controller
Previous Article in Journal
Coastal Erosion Dynamics and Protective Measures in the Vietnamese Mekong Delta
Previous Article in Special Issue
A Study on Fishing Vessel Energy System Optimization Using Bond Graphs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Parameter Identification of Maritime Vessel Rudder PMSM Based on Extended Kalman Particle Filter Algorithm

by
Tianqing Yuan
1,2,
Tianli Wang
1,2,
Jing Bai
3,* and
Jingwen Fan
3
1
Key Laboratory of Modern Power System Simulation and Control & Renewable Energy Technology, Ministry of Education (Northeast Electric Power University), Jilin 132012, China
2
Department of Electrical Engineering, Northeast Electric Power University, Jilin 132012, China
3
Yuda Engineering (Jilin) Co., Ltd., Siping 136000, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2024, 12(7), 1095; https://doi.org/10.3390/jmse12071095
Submission received: 30 May 2024 / Revised: 25 June 2024 / Accepted: 26 June 2024 / Published: 28 June 2024
(This article belongs to the Special Issue Advancements in Power Management Systems for Hybrid Electric Vessels)

Abstract

:
To address the issue of system parameter variations during the operation of a maritime light vessel rudder permanent magnet synchronous motor (PMSM), an extended Kalman particle filter (EKPF) algorithm that combines a particle filter (PF) with an extended Kalman filter (EKF) is proposed in this paper. This approach enables the online identification of motor resistance and inductance. For highly nonlinear problems that are challenging for traditional methods such as Kalman filtering, this algorithm is typically a statistical and effective estimation method that usually yields good results. Firstly, a standard linear discrete parameter identification model is established for a PMSM. Secondly, the PF algorithm based on Bayesian state estimation as a foundation for subsequent research is derived. Thirdly, the advantages and limitations of the PF algorithm are analyzed, addressing issues such as sample degeneracy, by integrating it with the Kalman filtering algorithm. Specifically, the EKPF algorithm for online parameter identification is employed. Finally, the identification model within MATLAB/Simulink is constructed and the simulation studies are executed to ascertain the viability of our suggested algorithm. The outcomes from these simulations indicate that the proposed EKPF algorithm identifies resistance and inductance values both swiftly and precisely, markedly boosting the robustness and enhancing the control efficacy of the PMSM.

1. Introduction

In modern maritime light vessel navigation systems, the accuracy and reliability of the autopilot system are crucial for navigational safety. As the core component of the autopilot system, the steering gear motor is required to possess high dynamic response, high efficiency, and precise control characteristics. Low-power permanent magnet synchronous motors (PMSMs) have been identified as the ideal choice for steering gear motors due to their excellent power density, efficiency, and control performance [1,2]. Over the years, with the advancement in PMSM drive control technology, scholars both domestically and internationally have proposed a plethora of control techniques to achieve the high-performance control of permanent magnet motors [3,4,5,6]. Whether it is speed control, position control, or torque control, achieving the high dynamic response and precise control goals requires accurate motor parameters. However, these parameters are significantly influenced by factors such as temperature, stator current, and magnetic flux saturation, leading to substantial variations. Consequently, methods such as vector control and direct torque control often fall short of achieving the results predicted by theoretical analysis. In the complex marine environment, the steering gear motor must maintain high-performance operation under various conditions. To realize efficient PMSM control, accurate parameter identification becomes crucial [7,8,9,10,11], leading to the emergence of various motor parameter identification methods. This is of great practical significance for enhancing the performance and reliability of the autopilot system. Depending on the operating conditions of the PMSM, the parameter identification can be categorized into offline parameter identification or online parameter identification. Offline parameter identification, due to its non-interference with the online operational status of the motor and conservation of the online control resources, has garnered widespread attention in the industrial sector. On the other hand, online parameter identification methods can be synchronized with the motor operation, enabling the real-time acquisition of the motor parameters. They meet the need for accurate parameter tracking under different motor operating conditions and reflect the changes in the motor status over time. Compared to offline parameter identification, the online methods offer better real-time performance and flexibility [12]. The traditional online identification methods include least squares estimation [13], model reference adaptive control [14,15], and Kalman filtering [16,17].
Considering that the inductance parameters are influenced by the PMSM operation status, a motor model utilizing the transient voltage equation is developed and a forgetting factor is incorporated to enhance the least squares identification method in [18], which can improve the algorithm’s tracking capabilities. When the forgetting factor is set to a certain value, the least squares method may struggle to ensure robustness. Ref. [8] treats the error between the theoretical and actual outputs as a variable and dynamically adjusts the forgetting factor during the identification process, thereby accelerating the convergence speed of the algorithm while ensuring good robustness. Assuming that the stator resistance and permanent magnet flux linkage are known and constant, Ref. [19] achieves the online identification of the d-axis and q-axis inductances through a model reference adaptive control algorithm. Ref. [20] proposes a disturbance compensation-based model reference adaptive system, designing a disturbance estimator to estimate the external disturbances in real time and updating the adaptation rate based on the disturbance, thus reducing the impact of parameter uncertainty and disturbances on the system and expanding the application scenarios of the model reference adaptive control algorithm. The Kalman filtering algorithm provides real-time updates of estimated values for linear systems, achieving optimal parameter estimation. However, in cases where the noise is unknown or the modeling error is significant, the Kalman filtering algorithm often fails to achieve the desired effect. Since the motor system is nonlinear, many scholars have proposed improvements to the Kalman filtering algorithm, such as extended Kalman filtering [21,22], unscented Kalman filtering [23], and cubature Kalman filtering [24], to extend its application scope. The prerequisite for using Kalman filtering is that the measurement noise follows a Gaussian distribution. However, in practice, the statistical properties of the system noise are often unknown or time-varying. In [25], an adaptive Kalman filtering algorithm based on variational Bayesian inference is presented, which selects appropriate conjugate distributions to estimate the covariance matrix of noise with minimal changes, to some extent addressing the aforementioned issues. However, it is limited by the linear Gaussian state model. The H filtering algorithm has good robustness to unknown noise but at the cost of accuracy. The H filtering algorithm is only suitable for linear systems, and, when applied to nonlinear systems, it still has many drawbacks. Therefore, modifications of the H filtering algorithm have been proposed. Xia proposes a fitted H filtering algorithm based on fitted transformation to address the problems in nonlinear uncertain systems, which shows good robustness [26,27]. Furthermore, outliers in the system can also reduce the estimation accuracy of the H filtering algorithm. Therefore, based on the H filtering algorithm, Zhao studies a series of derivative algorithms [28,29,30], among which the Krein space robust unscented Kalman filter based on the generalized maximum likelihood can effectively handle outliers [30].
In addition to the aforementioned common traditional identification methods, there are some identification methods that are highly effective for handling highly nonlinear systems but have not been widely applied due to certain limitations. For example, the PF algorithm, which suffers from low computational efficiency [31], has only been applied with the continuous improvement in computer computational capabilities in recent years. While the PF algorithm is relatively simple and can accurately estimate target parameters, its limitations include high computational complexity, particle degeneracy, and potential delays in responding to dynamic system changes. To address these issues, this paper employs the EKPF algorithm, which combines the extended Kalman filtering algorithm with the particle filtering algorithm, for parameter identification. This approach mitigates problems such as particle degeneracy to some extent and improves the overall performance of the particle filter.

2. Establishing the Parameter Identification Model for PMSM

The mathematical model of the PMSM is typically formulated in the synchronous rotating reference frame d-q. The stator voltage equation is provided by
u d = R s i d + d ψ d d t ω e ψ q u q = R s i q + d ψ q d t + ω e ψ d
The stator flux linkage equation is
ψ d = L d i d + ψ f ψ q = L q i q
Substituting Equation (2) into Equation (1):
u d = R s i d + L d d d t i d ω e L q i q u q = R s i q + L q d d t i q + ω e L d i d + ψ f
In the equations, ud and uq are the voltages along the d and q axes, respectively; id and iq are the currents along the d and q axes, respectively; Rs is the stator resistance; ψd and ψq are the components of stator flux linkage along the d and q axes, respectively; ωe is the electrical angular speed of the rotor; Ld and Lq are the d- and q-axis inductances, respectively; ψf is the flux linkage of the permanent magnet.
Selecting the components of current along the d and q axes, id and iq, and the parameters to be identified, Ld, Lq, and Rs, as state variables, we establish the state-space equations for the permanent magnet synchronous motor. This paper primarily focuses on surface-mounted permanent magnet synchronous motors, where Ld = Lq = Ls. Therefore, after rearrangement, Equation (3) becomes
d d t i d i q R s L s = R s L s ω e 0 0 ω e R s L s 0 0 0 0 0 0 0 0 0 0 i d i q R s L s + 1 L s 0 0 1 L s 0 0 0 0 u d u q ω e ψ f
Due to the presence of coupling terms in the coefficient matrix of state Equation (4), direct identification of Rs and Ls is rather complex. Therefore, we introduce intermediate variables a and b to simplify the identification equation. Let a = Rs/Ls and b = 1/Ls, Equation (4) becomes
d d t i d i q a b = 0 ω e i d u d ω e 0 i q u q ω e ψ f 0 0 0 0 0 0 0 0 i d i q a b + w
The output y can be expressed as
y = 1 0 0 0 0 1 0 0 i d i q a b + v
In the above two equations, w represents the process noise of the system, while v represents the measurement noise of the system. x = [id iq a b]T denotes the state variable matrix of the system, and y = [id iq] represents the output variable matrix of the system. By discretizing Equations (5) and (6) with a sampling period Ts, we obtain the following equations:
x k + 1 = F k x k + w k y k = H k x k + v k
In the equations, wk and vk are mutually independent white noise processes. Fk and Hk are coefficient matrices defined as follows:
F k = 1 ω e T s i d T s u d T s ω e T s 1 i q T s u q ω e ψ f T s 0 0 1 0 0 0 0 1 H k = 1 0 0 0 0 1 0 0
Using the filtering algorithm, parameters a and b can be identified through the above model. Then, by utilizing the relationship between a, b, Rs, and Ls, the identification values of resistance Rs and inductance Ls can be obtained. The specific identification process is illustrated in Figure 1, where the s-Function module represents the part where the filtering algorithm program is implemented.

3. Particle Filter

3.1. Bayesian State Estimation

Assume the equation describing a nonlinear system is as follows:
x k + 1 = f k ( x k , w k ) y k = h k ( x k , v k )
where k is the time index, xk is the state variable, wk is the process noise, yk is the measurement value, and vk is the measurement noise. The functions fk(·) and hk(·) are the process equation and measurement equation of the time-varying nonlinear system, respectively. The noises wk and vk are independent white noises with known probability density functions. The purpose of the Bayesian estimator is to estimate the probability density of the state xk conditioned on the measurement values y1, y2, …, yk. This conditional probability density is represented as
p(xk|Yk) = The probability density of the state xk conditioned on the measurement values y1, y2, …, yk.
At k = 1, the first measurement value is obtained. Therefore, the initial condition of the estimator is the probability density function of x0 conditioned on the absence of measurement values, denoted as Y0, expressed as
p ( x 0 ) = p ( x 0 | Y 0 )
Once p(xk|Yk) is computed, the most suitable estimate of xk can be determined based on the specific problem. When the conditional probability density function p(xk|Yk) is multimodal, the mean of xk cannot be used as an estimate.
To compute the conditional probability density function p(xk|Yk), a recursive method is required. Prior to this, it is essential to ascertain p(xk|Yk−1), representing the probability density of xk conditioned on all measurements up to time k. This step is fundamental in deriving a recursive solution for evaluating p(xk|Yk). This can be expressed utilizing the Bayes’ theorem and the properties of joint probability density functions as follows:
p x k Y k 1 = p x k , x k 1 Y k 1 d x k 1 = p x k x k 1 , Y k 1 p x k 1 Y k 1 d x k 1
From Equation (9), it can be observed that xk is fully determined by xk−1 and wk−1. Therefore, p[xk|(xk−1,Yk−1)] = p(xk|xk−1), and we have
p x k Y k 1 = p x k x k 1 p x k 1 Y k 1 d x k 1
In the equation, the second probability density function on the right-hand side, p(xk|xk−1), is initially unknown but becomes known at the start (refer to Equation (11)). This function p(xk|xk−1) denotes the probability density of the state at time k, given the state at time (k − 1), which is established. Given our knowledge of the system equation fk(·) and the noise wk, this probability density function is ascertainable.
Now, consider the posterior conditional probability density function of xk. Express this probability density function utilizing Bayes’ theorem and the properties of joint probability density functions as follows:
p x k Y k = p Y k x k p y k p x k = p y k , Y k 1 x k p y k , Y k 1 p x k Y k 1 p Y k 1 p Y k 1 x k p x k = p x k , y k , Y k 1 p x k p y k , Y k 1 p x k , Y k 1 p Y k 1 p Y k 1 p Y k 1 x k
Multiply the numerator and denominator simultaneously by p(xk, yk):
p x k Y k = p x k , y k , Y k 1 p x k , Y k 1 p Y k 1 p x k p y k , Y k 1 p Y k 1 p Y k 1 x k p x k , y k p x k , y k
In Equation (15), the conditional probability density function is derived several times by utilizing the ratio of the joint probability density function to the marginal probability density function. This method effectively captures the relationship between the conditioned and conditioning events; we obtain
p x k Y k = p Y k 1 x k , y k p y k x k p x k Y k 1 p y k Y k 1 p Y k 1 x k
Note that yk is a function of xk, so p[Yk−1|(xk, yk)] = p(Yk−1|xk). After rearranging, we obtain
p x k Y k = p y k x k p x k Y k 1 p y k Y k 1
All probability density functions on the right-hand side of the equation are known. From the measurement equation hk(·) and the probability density function of the measurement noise vk, we can obtain p(yk|xk). From Equation (13), we know p(xk|Yk−1). The probability density function of p(yk|Yk−1) can be obtained.
p y k Y k 1 = p y k , x k Y k 1 d x k = p y k x k , Y k 1 p x k Y k 1 d x k
yk is completely determined by xk and vk, so p[yk|(xk,Yk−1)] = p(yk|xk), and
p y k Y k 1 = p y k x k p x k Y k 1 d x k
From the above discussion, we can conclude that P(yk|xk) can be obtained from the probability density function of the measurement equation hk(·) and the measurement noise vk, and p(xk|Yk−1) can be obtained from Equation (13).
In summary, the recursive equations for the Bayesian state estimator can be summarized as follows:
1. The system equation and measurement equation are as follows:
x k + 1 = f k ( x k , w k ) y k = h k ( x k , v k )
where wk and vk are independent white noise processes with known probability density functions.
2. Assuming the probability density function p(x0) of the initial state is known, the estimator is initialized as follows:
p ( x 0 | Y 0 ) = p ( x 0 )
3. For k = 1, 2, …, execute the following equations:
(a) Obtain the prior probability density function from Equation (13) as follows:
p x k Y k 1 = p x k x k 1 p x k 1 Y k 1 d x k 1
(b) Obtain the posterior probability density function from Equations (17) and (19) as follows:
p x k Y k = p y k x k p x k Y k 1 p y k x k p x k Y k 1 d x k

3.2. Establishment of the Particle Filter

The PF is derived from Bayesian state estimation and is used for numerically implementing Bayesian filters. The concept is straightforward and intuitive. At the outset of the estimation process, we randomly generate a specific number N of state vectors according to the initial probability density function p(x0). These state vectors are termed particles and are labeled as x+0,i (where i = 1, …, N). For each subsequent time step k = 1, 2, …, the next batch of particles is produced using state equation f(·).
x k , i = f k 1 x k 1 , i + , w k 1 i ( i = 1 , , N )
where each noise vector wik−1 is randomly generated based on the known probability density function of wk−1. After obtaining the measurement at time k, the likelihood probability density of each particle xk,i, denoted as p(yk|xk,i), is computed. For example, if given an m-dimensional measurement equation yk = h(xk) + vk, and vk ~ N(0, R), the likelihood probability density qi for the measurement y* under the condition that xk equals the particle xk,i can be computed as follows:
q i = p y k = y * x k = x k , i = p v k = y * h k x k , i ~ 1 ( 2 π ) m / 2 | R | 1 / 2 exp y * h x k , i T R 1 y * h x k , i 2
In the above equation, “~” indicates that this probability density function is proportional to the expression on the right-hand side. If this equation is applied to all particles x0,i (i = 1, …, N), then the “relative” likelihood probability density of the state being equal to each particle will be correct. Normalize the likelihood probability density obtained from Equation (25).
q i = q i j = 1 N q j
This guarantees that the total of all likelihood probability densities sums to 1.
Next, we perform resampling. The resampling process entails discarding particles with minimal weights and concentrating on those with larger weights. By resampling, we amplify the presence of particles with substantial weights, thereby better representing the posterior distribution using particles and their associated weights. Resample particles from the computed likelihood probability density functions; i.e., randomly generate a new set of particles x+k,i based on the likelihood probability density function qi. There can be several different resampling methods; one of the most direct methods is as follows. For 1, …, N, perform the following two steps:
1. Generate a random number r from a uniform distribution in the interval [0, 1].
2. Accumulate the likelihood function qi until the cumulative sum is greater than r. That is, for m = 1 j 1 q m < r , but m = 1 j q m r , the new particle x+k,i is set equal to the old particle xk,j.
As the sample size N tends to ∞, the set probability density function of the new particles x+k,i approximates p(xk|yk).
The steps of resampling can be summarized as follows:
x k , i + =   Probability   of   x k , j   in terms of q j
The resampling process diagram is as Figure 2.
The primary bottleneck of the PF is often computational complexity. To address this, more efficient resampling techniques can be used. With particles x+k,i now distributed according to p(xk|yk), arbitrary statistical properties of this function can be computed.
In summary, the steps of particle filter can be summarized as follows:
1. The system equation and measurement equation are as follows:
x k + 1 = f k ( x k , w k ) y k = h k ( x k , v k )
where wk and vk are independent white noise processes with known probability density functions.
2. Assuming the probability density function p(x0) of the initial state is known, N initial particles x+0,i(i = 1, …, N) are randomly generated based on p(x0). The parameter N serves as a trade-off between computational load and estimation accuracy.
3. For k = 1, 2, …, execute the following steps:
(a) Execute time update using the known process equation and the probability density function of the process noise to obtain the prior particles xk,i:
x k , i = f k 1 x k 1 , i + , w k 1 i ( i = 1 , , N )
where each noise vector wik−1 is randomly generated according to the known probability density function of wk−1.
(b) Compute the likelihood probability density qi for each particle xk,i given the measurement yk. This can be obtained by estimating p(yk|xk,i) using the probability density function of the nonlinear measurement equation and the measurement noise.
(c) Normalize the obtained likelihood probability density as follows:
q i = q i j = 1 N q j
Now, the sum of all likelihood probability densities equals 1.
(d) Perform resampling, i.e., randomly generate a set of posterior particles x+k,i based on the likelihood probability densities qi.
(e) Now that we have a set of particles x+k,i distributed according to the probability density function p(xk|yk), arbitrary statistical properties of this probability density function can be computed.

4. Extended Kalman Particle Filter

PF has many advantages, such as being a statistical and effective estimation method for highly nonlinear systems, often yielding good results. However, achieving good performance with PF comes with significantly increased computational complexity. Additionally, when the regions of high probability density for the state-space probability density functions p(yk|xk) and p(xk|yk−1) do not overlap, sample degeneracy occurs, causing all particles to converge to a single value. This issue can be mitigated by increasing the number of particles N, but this rapidly leads to a large computational burden and typically only delays sample degeneration. Sample degeneration and other factors may prevent PF from promptly reflecting system dynamics.
Improving the performance of the particle filter can be achieved through combination with other filters. In this study, we adopt the EKPF, which integrates the EKF with the PF to enhance its performance and mitigate the issue of sample degeneration. In this approach, at each measurement instant, the EKF iterates over the particles, and these measurements are used to resample the particles. This is akin to running N Kalman filters concurrently and performing one resampling step after each measurement. After obtaining xk,i as per Equation (24), x+k,i can be iteratively obtained from xk,i using the iteration equations of the EKF [32].
P k , i = F k 1 , i P k 1 , i + F k 1 , i T + Q k 1 K k , i = P k , i H k , i T H k , i P k , i H k , i T + R k 1 x k , i + = x k , i + K k , i y k h x k , i P k , i + = I K k , i H k , i P k , i
Kk,i represents the Kalman gain for the i-th particle, and Pk,i denotes the a priori estimate error covariance for the i-th particle. The matrices F and H, representing the partial derivatives, are defined as follows:
F k 1 , i = f x x = x k 1 , i + H k , i = h x x = x k , i
Next, following the procedure in Section 3.2, resample x+k,i and its corresponding covariance matrix P+k,i. This method, which updates prior particles xk,i based on the measurement at time k before resampling, helps to mitigate particle degeneracy.
In summary, the EKPF is as follows.
1. The system equation and measurement equation are as follows:
x k + 1 = f k ( x k , w k ) y k = h k ( x k , v k )
where wk and vk are independent white noise processes with known probability density functions.
2. Assuming the probability density function p(x0) of the initial state is known, N initial particles x+0,i are randomly generated based on p(x0), with corresponding covariance matrices P+0,i = P+0(i = 1, …, N). The choice of N should balance computational complexity and estimation accuracy.
3. For sampling time k = 1, 2, …, follow these steps:
(a) Based on the process equation and the probability density function of the process noise, obtain the prior particles xk,i and covariance Pk,i through the time update equation:
x k , i = f k 1 x k 1 , i + , w k 1 i P k , i = F k 1 , i P k 1 , i + F k 1 , i T + Q k 1 F k 1 , i = f x x = x k 1 , i +
Here, each noise vector wik−1 is randomly generated based on the known probability density function of wk−1.
(b) Update the posterior particles and their covariance matrices based on the prior particles and their covariance matrices:
H k , i = h x x = x k , i K k , i = P k , i H k , i T H k , i P k , i H k , i T + R k 1 x k , i + = x k , i + K k , i y k h x k , i P k , i + = I K k , i H k , i P k , i
(c) Compute the likelihood probability density qi for each particle x+k,i conditioned on the measurement yk. The likelihood probability density p(yk|x+k,i) can be estimated based on the nonlinear measurement equation and the probability density function of the measurement noise.
(d) Normalize the probabilities obtained in the previous step:
q i = q i j = 1 N q j
At this point, all likelihood probabilities sum to 1.
(e) Correct the posterior particles x+k,i and their corresponding covariance matrices P+k,i based on the probabilities qi. This constitutes the resampling process.
(f) Now that we have a set of posterior particles x+k,i and covariance matrices P+k,i, we can compute statistical quantities based on these.

5. Simulation Analysis and Comparison

To confirm the feasibility of the proposed parameter identification algorithm, this chapter carries out relevant simulation verification. In the simulation process, a simulation model is built using MATLAB/Simulink, and the two methods mentioned above are implemented in the s-Function module of Simulink. The flowchart of the s-Function module is shown in Figure 3.
The s-Function module is implemented using a non-graphical method to create a dynamic system. In this module, the input variables needed for the motor control system are obtained in real time, the state variables are updated in real time, and, thus, the real-time identification of the motor parameters in the control model is achieved. The selected input variables are u = [id iq ωe ud uq], state variables are x = [id iq a b] (where a = Rs/Ls and b = 1/Ls), and output variables are y = [id iq]. The chosen number of particles N is 2000. The particle cloud is generated by providing an initial particle and standard deviation of the initial particle cloud using the “randn” function. The motor parameters used are shown in Table 1.
In the first part of this section, simulation analysis is conducted on the PF algorithm to verify its performance and identify any limitations. In the second part, simulation analysis is performed on the EKPF algorithm. Firstly, steady-state condition parameter identification simulation is conducted to validate the effectiveness of the method. Subsequently, to assess the robustness of the EKPF algorithm, simulation analyses are performed under three different operating conditions: variations in motor load, alterations in stator resistance, and changes in stator inductance.

5.1. PF Simulation Analysis

In this section, the PF algorithm is simulated with the following parameter settings: initial particles are set to [0; 5; 208.696; 434.78], initial standard deviation of particle cloud is set to [2; 8; 30; 60], process noise covariance matrix Q is diag([0 0 0.9 1.18]), measurement noise covariance matrix R is diag([1 1]), motor load is set to 0.3 N·m, and motor speed is set to 900 rpm, as shown in Figure 4. Three scenarios are simulated: (1) resistance and inductance remain stable; (2) resistance changes abruptly from 0.84 Ω to 1.2 Ω; (3) inductance changes abruptly from 3 mH to 4 mH.
(1) Resistance and inductance remain stable. The simulation results are shown in Figure 5.
From Figure 5, it can be observed that, for stable parameters, the PF algorithm achieves fast and accurate identification of Rs and Ls.
(2) When the resistance changes abruptly from 0.84 Ω to 1.2 Ω, the simulation results are shown in Figure 6.
(3) The inductance abruptly changes from 3 mH to 4 mH, as shown in the simulation results in Figure 7.
From Figure 6 and Figure 7, it can be observed that, when the stator resistance or stator inductance undergoes a sudden change, the identification process fails to promptly reflect the dynamic changes in the system.
In summary, the PF algorithm can perform identification relatively quickly and accurately to some extent. However, due to the issue of particle degeneracy in the PF algorithm, it may fail to respond promptly to dynamic changes in the system.

5.2. EKPF Simulation Analysis

In this section, simulations are conducted to analyze the EKPF algorithm. The parameter settings for the identification algorithm are as follows: the initial particles are set to [0; 5; 208.696; 434.78], the standard deviation of the initial particle cloud is [2; 8; 30; 60], the process noise covariance matrix Q is diag([0 0 0.9 1.18]), the measurement noise covariance matrix R is diag([1 1]), and the estimation error covariance matrix P0 is diag([0.01 0.1 3 3]). The performance and robustness of the algorithm are validated separately for steady-state and dynamic conditions.

5.2.1. Steady-State Performance

The motor operates under steady-state conditions with a load torque of 0.3 N·m and a speed of 900 rpm, as shown in Figure 8, while the stator resistance and stator inductance remain constant at 0.84 Ω and 3 mH, respectively. The simulation results are shown in Figure 9.
From Figure 9, it can be observed that the EKPF algorithm achieves parameter identification of resistance and inductance in a short time, with the final identification results deviating by around 3% from the actual values. This demonstrates the effectiveness of the parameter identification algorithm.

5.2.2. Robustness Verification

(a) Load Torque
The motor speed is maintained at 900 rpm, while the torque is adjusted from 0.2 N·m to 0.4 N·m within a span of 0.5 s. The outcomes of this simulation are displayed in Figure 10.
From Figure 11, it can be observed that the EKPF algorithm ensures parameter identification even when the torque changes (doubles). The difference between the identification results before and after the change is within 2%, demonstrating the robustness of the EKPF parameter identification algorithm to torque variations.
(b) Stator Resistance
In this section, simulations were performed under two conditions: abrupt changes in resistance due to motor faults and gradual increases in resistance from factors such as temperature rise. The stator resistance shifts suddenly from 0.84 Ω to 1.2 Ω and then increases gradually to 1.2 Ω. The motor speed is fixed at 900 rpm, with the motor load set at 0.3 N·m. The outcomes of these simulations are presented in Figure 12.
From Figure 12, it can be observed that the EKPF algorithm ensures parameter identification during resistance changes, and it maintains a satisfactory response speed during sudden resistance changes, demonstrating the robustness of the EKPF parameter identification algorithm to resistance variations.
(c) Stator inductance
In this section, simulations were conducted for the inductance change conditions corresponding to the previous section: sudden inductance change due to motor failure and gradual increase in inductance due to improper design. The stator inductance changed abruptly from 3 mH to 4 mH, and gradually increased to 4 mH. The motor speed was established at 900 rpm, and the motor load was configured at 0.3 N·m. The results of the simulation are depicted in Figure 13.
From Figure 13, it can be observed that the EKPF algorithm ensures parameter identification during inductance changes, and it maintains a satisfactory response speed during sudden inductance changes, demonstrating the robustness of the EKPF parameter identification algorithm to inductance variations.

6. Conclusions

PMSMs are widely used in various fields, such as vessel autopilots. To achieve efficient PMSM control, the accurate identification of motor parameters is particularly important. This paper combines the PF algorithm with the EKF algorithm to form the EKPF algorithm for the online identification of motor resistance and inductance. The theoretical analysis and simulation results show that, compared to the PF algorithm, the EKPF algorithm can identify results more quickly and accurately, and its robustness is significantly improved. When the parameters to be identified change, whether suddenly or gradually, the EKPF algorithm maintains good identification accuracy and fast convergence speed.

Author Contributions

Conceptualization, T.Y. and T.W.; methodology, T.W.; software, T.W.; validation, T.Y., formal analysis, J.B. and T.W.; investigation, J.B. and J.F.; writing—original draft preparation, T.W.; writing—review and editing, J.B. and J.F.; visualization, T.W.; supervision, T.Y.; funding acquisition, T.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Scientific Research Project of Education Department of Jilin Province, grant number (No. JJKH20230121KJ).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

Authors Jing Bai and Jingwen Fan were employed by the company Yuda Engineering (Jilin) Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Liu, X.; Hu, W.; Ding, W.; Xu, H.; Zhang, Y. Research on multi-parameter identification method of permanent magnet synchronous motor. Trans. China Electrotech. Soc. 2020, 35, 1198–1207. [Google Scholar]
  2. Zhang, Y.; Zhang, B.; Yang, H.; Norambuena, M.; Rodriguez, J. Generalized sequential model predictive control of IM drives with field-weakening ability. IEEE Trans. Power Electron. 2018, 34, 8944–8955. [Google Scholar] [CrossRef]
  3. Zhang, Z.; Liu, X.; Yu, J.; Yu, H. Time-varying disturbance observer based improved sliding mode single-loop control of PMSM drives with a hybrid reaching law. IEEE Trans. Energy Convers. 2023, 38, 2539–2549. [Google Scholar] [CrossRef]
  4. Chen, Z.; Zhang, X.; Liu, C.; Zhang, H.; Luo, G. Research on Current decoupling and harmonic suppression strategy of permanent magnet synchronous motor by proportional resonance adaptive disturbance rejection control. Proc. CSEE 2021, 42, 9062–9072. [Google Scholar]
  5. Ullah, K.; Guzinski, J.; Mirza, A.F. Critical review on robust speed control techniques for permanent magnet synchronous motor (PMSM) speed regulation. Energies 2022, 15, 1235. [Google Scholar] [CrossRef]
  6. Wang, M.; Sun, D.; Ke, W.; Nian, H. A universal lookup table-based direct torque control for OW-PMSM drives. IEEE Trans. Power Electron. 2020, 36, 6188–6191. [Google Scholar] [CrossRef]
  7. Liu, X.P.; Hu, W.P.; Zou, Y.L.; Zhang, Y. Multi-parameter identification of permanent magnet synchronous motor based on improved particle swarm optimization. Electr. Mach. Control 2020, 24, 112–120. [Google Scholar]
  8. Fang, G.H.; Wang, H.C.; Gao, X. Parameter identification algorithm of permanent magnet synchronous motor based on dynamic forgetting factor recursive least square method. Comput. Appl. Softw. 2021, 38, 280–283. [Google Scholar]
  9. Shen, Y.; Jin, B. Permanent magnet synchronous motor fuzzy forgetting factor recursive least squares parameter identification. J. Syst. Simul. 2019, 30, 3404–3410. [Google Scholar]
  10. Cao, X.Y.; Zhang, X.X. Research on multi-parameter identification metthod of parmanent magnet synchronous motor based on mutation particle swarm optimization. Micromotors 2021, 54, 83–88+96. [Google Scholar]
  11. Li, W.; Du, Z. PMSM parameter identification based on improved grey wolf optimization algorithm. Modul. Mach. Tool Autom. Manuf. Tech. 2020, 4, 113–117. [Google Scholar]
  12. Odhano, S.A.; Pescetto, P.; Awan, H.A.A.; Hinkkanen, M.; Pellegrino, G.; Bojoi, R. Parameter identification and self-commissioning in AC motor drives: A technology status review. IEEE Trans. Power Electron. 2018, 34, 3603–3614. [Google Scholar] [CrossRef]
  13. Yin, H.; Wei, Y.; Zhang, Y.; Jing, P.; Cai, D.; Liu, X. Identification of control parameters of the permanent magnetic synchronous generator using least square method. Energy Rep. 2022, 8, 1538–1545. [Google Scholar] [CrossRef]
  14. Holakooie, M.H.; Ojaghi, M.; Taheri, A. Modified DTC of a six-phase induction motor with a second-order sliding-mode MRAS-based speed estimator. IEEE Trans. Power Electron. 2018, 34, 600–611. [Google Scholar] [CrossRef]
  15. Khan, Y.A.; Verma, V. Stator resistance estimation for MRAS-based speed sensorless vector-controlled switched reluctance motor drive. Electr. Eng. 2021, 103, 1949–1963. [Google Scholar] [CrossRef]
  16. Yildiz, R.; Barut, M.; Zerdali, E. A comprehensive comparison of extended and unscented Kalman filters for speed-sensorless control applications of induction motors. IEEE Trans. Ind. Inform. 2020, 16, 6423–6432. [Google Scholar] [CrossRef]
  17. Yin, Z.; Li, G.; Zhang, Y.; Liu, J. Symmetric-strong-tracking-extended-Kalman-filter-based sensorless control of induction motor drives for modeling error reduction. IEEE Trans. Ind. Inform. 2018, 15, 650–662. [Google Scholar] [CrossRef]
  18. Liu, X.; Wang, X.P.; Wang, S.H. Inductance indentification of permanent magnet synchronous motor based on least square method. Electr. Mach. Control Appl. 2020, 47, 1–5+32. [Google Scholar]
  19. Zhu, Z.-Q.; Liang, D.; Liu, K. Online parameter estimation for permanent magnet synchronous machines: An overview. IEEE Access 2021, 9, 59059–59084. [Google Scholar] [CrossRef]
  20. Gao, D.X.; Zhou, L.; Chen, J.; Pan, C.Z. Design of derivative-free model-reference adaptive control for a class of uncertain systems based on disturbance compensation. Control Theory Appl. 2023, 40, 735–743. [Google Scholar]
  21. Dang, D.Q.; Rafaq, M.S.; Choi, H.H.; Jung, J.-W. Online parameter estimation technique for adaptive control applications of interior PM synchronous motor drives. IEEE Trans. Ind. Electron. 2015, 63, 1438–1449. [Google Scholar] [CrossRef]
  22. Liu, X. Research on Torque Ripple Suppression of Brushless DC Motor Based on Buck-Boost Topology and Kalman Filter; Jiangsu University: Zhenjiang China, 2018. [Google Scholar]
  23. Hu, G.; Gao, B.; Zhong, Y.; Gu, C. Unscented kalman filter with process noise covariance estimation for vehicular ins/gps integration system. Inf. Fusion 2020, 64, 194–204. [Google Scholar] [CrossRef]
  24. Wasim, M.; Ali, A.; Choudhry, M.A.; Saleem, F.; Shaikh, I.U.H.; Iqbal, J. Unscented Kalman filter for airship model uncertainties and wind disturbance estimation. PLoS ONE 2021, 16, e0257849. [Google Scholar] [CrossRef]
  25. Huang, Y.; Zhang, Y.; Wu, Z.; Li, N.; Chambers, J. A novel adaptive Kalman filter with inaccurate process and measurement noise covariance matrices. IEEE Trans. Autom. Control 2017, 63, 594–601. [Google Scholar] [CrossRef]
  26. Xia, J.; Gao, S.; Zhong, Y.; Zhang, J.; Gu, C.; Liu, Y. A novel fitting H-infinity Kalman filter for nonlinear uncertain discrete-time systems based on fitting transformation. IEEE Access 2019, 8, 10554–10568. [Google Scholar] [CrossRef]
  27. Xia, J.; Gao, S.; Gao, B.; Wei, W.; Tian, T. Fitting H-infinity filter for nonlinear discrete-time systems. In Proceedings of the 2019 Chinese Control and Decision Conference (CCDC), Nanchang, China, 3–5 June 2019; pp. 4022–4027. [Google Scholar]
  28. Zhao, J.; Zhang, G.; Dong, Z.Y.; La Scala, M. Robust forecasting aided power system state estimation considering state correlations. IEEE Trans. Smart Grid 2016, 9, 2658–2666. [Google Scholar] [CrossRef]
  29. Zhao, J.; Mili, L. A robust generalized-maximum likelihood unscented Kalman filter for power system dynamic state estimation. IEEE J. Sel. Top. Signal Process. 2018, 12, 578–592. [Google Scholar] [CrossRef]
  30. Zhao, J.; Mili, L. A theoretical framework of robust H-infinity unscented Kalman filter and its application to power system dynamic state estimation. IEEE Trans. Signal Process. 2019, 67, 2734–2746. [Google Scholar] [CrossRef]
  31. Bian, Z.T.; Chen, H. Design and implementation of multi-core parallel particle filter algorithm. Comput. Telecommun. 2024, 1, 63. [Google Scholar]
  32. Wei, Z.S.; Hou, W.; Zhao, Y.; Zheng, S.S. State of charge estimation of lithium-iron batteries based on extended Kalman filter. Acta Sci. Nat. Univ. Sunyatseni 2023, 62, 92–100. [Google Scholar]
Figure 1. Identification process flowchart.
Figure 1. Identification process flowchart.
Jmse 12 01095 g001
Figure 2. Resampling process flowchart.
Figure 2. Resampling process flowchart.
Jmse 12 01095 g002
Figure 3. s-Function flowchart.
Figure 3. s-Function flowchart.
Jmse 12 01095 g003
Figure 4. Load torque and speed.
Figure 4. Load torque and speed.
Jmse 12 01095 g004
Figure 5. Identification of Rs and Ls under steady state.
Figure 5. Identification of Rs and Ls under steady state.
Jmse 12 01095 g005
Figure 6. Illustrates the parameter identification of Rs and Ls under the sudden change in stator resistance.
Figure 6. Illustrates the parameter identification of Rs and Ls under the sudden change in stator resistance.
Jmse 12 01095 g006
Figure 7. Depicts the parameter identification of Rs and Ls under the sudden change in inductance from 3 mH to 4 mH.
Figure 7. Depicts the parameter identification of Rs and Ls under the sudden change in inductance from 3 mH to 4 mH.
Jmse 12 01095 g007
Figure 8. Load torque and speed when torque remains constant.
Figure 8. Load torque and speed when torque remains constant.
Jmse 12 01095 g008
Figure 9. Parameter identification of Rs and Ls.
Figure 9. Parameter identification of Rs and Ls.
Jmse 12 01095 g009
Figure 10. Load torque and speed when torque changes.
Figure 10. Load torque and speed when torque changes.
Jmse 12 01095 g010
Figure 11. Parameter identification of Rs and Ls under load torque variation.
Figure 11. Parameter identification of Rs and Ls under load torque variation.
Jmse 12 01095 g011
Figure 12. Parameter identification of Rs and Ls under stator resistance variation: (a) sudden resistance change due to motor faults; (b) slow increase in resistance due to factors such as temperature rise.
Figure 12. Parameter identification of Rs and Ls under stator resistance variation: (a) sudden resistance change due to motor faults; (b) slow increase in resistance due to factors such as temperature rise.
Jmse 12 01095 g012aJmse 12 01095 g012b
Figure 13. Parameter identification of Rs and Ls under stator inductance variation: (a) sudden inductance change; (b) gradual increase in inductance.
Figure 13. Parameter identification of Rs and Ls under stator inductance variation: (a) sudden inductance change; (b) gradual increase in inductance.
Jmse 12 01095 g013
Table 1. Motor parameters used in the present study.
Table 1. Motor parameters used in the present study.
Electromagnetic ParametersValueUnit
DC voltage24V
Stator resistance0.84Ω
d-axis inductance3mH
q-axis inductance3mH
Flux linkage0.01Wb
Number of pole pairs4-
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

Yuan, T.; Wang, T.; Bai, J.; Fan, J. Parameter Identification of Maritime Vessel Rudder PMSM Based on Extended Kalman Particle Filter Algorithm. J. Mar. Sci. Eng. 2024, 12, 1095. https://doi.org/10.3390/jmse12071095

AMA Style

Yuan T, Wang T, Bai J, Fan J. Parameter Identification of Maritime Vessel Rudder PMSM Based on Extended Kalman Particle Filter Algorithm. Journal of Marine Science and Engineering. 2024; 12(7):1095. https://doi.org/10.3390/jmse12071095

Chicago/Turabian Style

Yuan, Tianqing, Tianli Wang, Jing Bai, and Jingwen Fan. 2024. "Parameter Identification of Maritime Vessel Rudder PMSM Based on Extended Kalman Particle Filter Algorithm" Journal of Marine Science and Engineering 12, no. 7: 1095. https://doi.org/10.3390/jmse12071095

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