1. Introduction
In recent years, electric ship propulsion has become an important alternative to the commonly used combustion drives. This applies to both small all-electric ships (with their own energy storage) and large seagoing ships in the diesel–electric solution [
1]. This is related to the very high requirements placed on engineers designing ship drives in terms of reducing the carbon footprint and other environmental problems (e.g., noise, vibrations). The International Maritime Organization has defined stringent requirements for improving ship energy efficiency by introducing the Energy Efficiency Design Index (EEDI) [
2].
Figure 1 shows opportunities for improving EEDI [
3].
As improving the energy efficiency of a vessel through technological change is a major challenge for engineers due to technological limitations, improvement through speed optimization (reduction) is now common practice. This situation stimulates the continuous technological development of all components affecting the energy efficiency of a ship. Increasing energy efficiency by reducing losses (a solution proposed in this article) will improve EEDI (which is implied in the definition of EEDI) while improving the economic effect.
PMSM, compared to the commonly used Electrically Excited Synchronous Motors and, less frequently, Squirrel Cage Motors used in ship drives, in addition to the well-known advantages (such as higher power density, high reliability, lower vibrations, lower weight and dimensions) are characterized by higher efficiency (especially when the motor is underloaded), mainly due to the elimination of excitation losses (from 3 to 6%, depending on the load and motor power) [
4,
5,
6,
7]. Due to the possibility of using a large number of pole pairs, the use of gears is not required (gear losses are approximately 2%, depending on the number of gear stages), which also increases the efficiency [
8,
9].
An additional benefit of using a ship’s electric drive is its maneuverability (flexibility and dynamics), which is particularly useful on passenger, port and inland ships.
The requirements for the ship’s propulsion are high due to the specific nature of the drive’s operation. There are frequent and sudden changes in load while maintaining a constant propeller speed (especially in rough seas—immersion and emergence of the propeller).
The main task of the PMSM control system is to ensure appropriate drive dynamics. Regardless of the control strategy, the control method consists of decoupling the state variables: PMSM electromagnetic flux and torque [
10]. Two basic categories of control can be distinguished: control based on the general algorithm of vector control of AC drives, consisting in the orientation of the stator current vector relative to the rotor flux (Field Oriented Control—FOC) and direct control of the electromagnetic torque and flux (Direct Torque Control—DTC) [
10,
11,
12,
13].
FOC control has become the most popular in recent years due to the low requirements for the control system. Among the various strategies and control systems according to the FOC method, the most frequently implemented is control maintaining a constant power angle (angle between the stator current vector and the rotor flux) [
10]. This is performed in a synchronously rotating d, q coordinate system so that the d axis coincides with the axis of the rotating magnet, and the q axis is perpendicular to it. The stator current has only one component in the q axis (
Is =
Iq) and is directly responsible for the torque. The control system with linear Proportional and Integral (PI) controllers allows the speed (or torque) of the PMSM to be controlled [
12,
13,
14,
15]. PI controllers are commonly used in PMSM drives (using the FOC control method). They are considered one of the simplest control techniques and offer adequate performance. However, PI controllers are not the best choice for applications where high efficiency and precision are required [
14].
In [
15], a modification of the classical FOC method with energy optimization was proposed, allowing for the reduction in reactive power in the INV-PMSG circuit to zero. Despite the effectiveness of control with additional energy optimization (Q = 0), testing using the FOC method, which involves analyzing the circuit in a steady state, has shown its drawbacks, i.e., oscillations of the electromagnetic moment with dynamic changes in load or speed. This is caused, in accordance with the idea of the classical FOC method, by the lack of control during the transition period. The reduction in reactive power in propulsion systems with PMSMs is widely described in the literature, but it mainly concerns the converter supply circuit (AC/DC), not the INV-PMSM circuit analyzed in [
15,
16,
17].
The problem of adaptive and/or optimal control of PMSM machine has been ad-dressed in many papers with the use different approaches and algorithms. To mention a few, in [
18], the authors designed a classical cascade control structure with the inner (current) loop built using an optimal linear–quadratic regulator (LQR)-type controller, while the speed controller, in the outer control loop, is of the PI adaptive type. However, to determine the optimal controller gains, one needs the system parameters to be known and, on the other hand, the overall system optimal performance cannot be achieved here.
Many works in this context start from the position of the adaptive dynamic programing method; e.g., in [
19], to avoid using the conventional cascade PI structure, the authors transformed the PSM model via feedforward control inputs, obtaining the speed and current tracking problem with augmented control
u = [
id iq ud uq], also taking into account the saturation of voltages. The obtained new control problem was then treated as a non-linear optimal control task. To solve this new formulated problem adaptive dynamic programing method was used. The optimal solution of the ensuing Hamilton–Jacobi–Issac equation, which provides the value to the control law, was approximated by a simple online approximator. However, such modern and advanced approaches appear to be too complex and demanding for standard practical applications (implementations).
A classical PI controller coupled with an adaptive speed observer was analyzed in [
20]. Although a speed sensor is not required here, the problem of PI controller tuning still remains.
In this article, the authors presented a properly designed control with features such as self-adjusting regulator settings for various operating conditions, optimal control in the transient state and reduction in reactive power to zero. Therefore, proper control aims to ensure not only the high efficiency of the engine, but also to make it a self-operated device. Reducing reactive power to zero in the INV-PMSM circuit facilitates a reduction in losses in the inverter, power cables and the machine by approximately 10% [
21].
The main objective of the paper is to propose a PMSM speed controller design based on its nonlinear mathematical model. It is assumed that the model parameters are unknown, as are the external disturbances. In order to meet the requirements listed above, the synthesis of the controller is based on optimal and adaptive control techniques, in particular, on an adaptive version of the standard output feedback linearization method [
22,
23]. Model basis function approximators [
24] are proposed to cope with unknown plant parameters. During the routine work of the PMSM (i.e., under specified steady-state conditions), besides modeling errors, the load disturbances d also have to be taken into account. These disturbances lead to the steady speed error which can be typically compensated by the integral action introduced to the control system. To avoid the problems, inherent in the use of the integral action, the load disturbances and other constant modeling errors are treated as an unknown additional parameter to be addressed adaptively.
The novelty of the paper is the approach using adaptive output feedback linearization combined with LQR optimization, the analysis of system inner (zero) dynamics and the guarantee of system reactive power zeroing. In none of the known publications do the above-mentioned elements appear together and in such a form.
Improving the efficiency of the PMSM drive by reducing reactive power during energy conversion has been widely described in the literature, focusing primarily on the converter power supply circuit [
16,
25,
26]. There are few publications on limiting the start-up in the converter machine circuit (INV-PMSM), and the proposed methods for improving the energy efficiency of the system are complicated and ineffective [
27,
28]. The authors proposed a solution to reduce reactive power in the converter machine circuit (INV-PMSM), which facilitates a reduction in losses in the INV, transmission line and PMSM.
In this paper, it has been proven that the introduced parameter tuning method guarantees the asymptotic stability of the system. One may say that, besides general system model structure (which is well known), no extra knowledge is here required.
The paper is divided into five sections and ends with conclusions. The principal concept of PMSM models and the adaptive control techniques are given in Section II. The designing of an optimal and adaptive speed stabilization controller is presented in Section III. In Section IV, the overall results of the work are discussed. Finally, Section V includes the final discussion and conclusions.
2. Models and Methods
2.1. General Model Structure and the Statement of Control Problem
The mathematical description of PMSM is performed in the synchronously rotating system of
d,
q coordinates, which are closely related to its magnetic field. The
d axis coincides with the magnetic field vector, while the electromagnetic force
E will then coincide with the
q axis. The nonlinear model of the PMSM machine in the rotor reference frame (
d,
q frame) can be written in the form of the following system of differential equations:
where the following are defined:
Ud(t), Uq(t), Id(t), Iq(t)—the inverter output voltage and stator currents (PMSM) on d, q axes.
—the modulus of the flux vector of PMSM excitation;
—the angular speed of sinusoidal state variables in the machine (this is so-called electric speed);
r1,
L1—resistance and inductance of phase stator windings.
where the following are defined:
p—the number of pairs of magnetic poles;
—the angular speed of PMSM rotor rotation (this is so-called mechanical speed);
Te—PMSM electromagnetic torque.
where the following are defined:
TL—load torque;
J—moment of inertia.
By analyzing the system (1), (2), (3), it is easy to notice that for specified ωm and TL, there are an infinite number of equilibrium points (steady states) of the system, associated with input pairs (Ud, Uq).
Therefore, there is a natural problem of selecting a pair of inputs (controls) Ud*, Uq* in such a way to ensure the reset of the system’s reactive power (Q = 0), which we will refer to as energy optimization.
The control problem is twofold:
- 1.
Design a feedback control system generating pairs of inputs (controls)) (Ud, Uq) to stabilize the angular velocity of the machine rotor , despite load disturbances TL, assuming that the system parameters are unknown and the transient dynamics is optimized;
- 2.
Using the fact of an infinite number of steady-state solutions from point 1, find the Ud*, Uq* controllers ensuring that the system’s reactive power is zeroed (Q = 0).
2.2. Theoretical Introduction to the Adaptive Control Methods Used
To cope with the problem formulated above, the main concept of the adaptive control technique applied here and its formal proof in the form of a detailed analysis of the system output stabilization problem are now presented. For simplicity and clarity, but without loss of generality, the following second-order nonlinear affine system, SISO, is considered of the form:
where the following are defined:
—state variables;
u—control variable;
y—system output;
f and c—known function and constant, respectively;
d—known disturbance.
However, it should be noted that these considerations also apply to a general nonlinear system in Brunovsky canonical form [
29]. For the time being, it is also assumed that the system is completely known.
It is easy to see that to stabilize the system output at the assumed setpoint
it is enough to apply a simple feedback linearizing controller of the form:
where
is the desired output and
v some sub controller,
Denoting
,
, the obtained system takes the form:
Now, taking
, we can see that the controller gains
and
can be easily determined by one of the standard methods, e.g., pole placement or LQR techniques [
30].
To be more realistic, we now assume that the function
f and the disturbance
d are unknown but can be represented as a linear combination of some known basis functions:
where
are known basis functions,
are constant but unknown system parameters and
, i.e., the disturbance is treated as an unknown constant parameter.
Let
denote the estimates of the parameters
and let:
Hence,
Now, taking control
u as:
where
v stands for a subsidiary control, yields
Note that since the term in parentheses is unknown, the system is not necessarily stable.
One idea to solve this stability problem seems to be an appropriate tuning of the parameter estimates to ensure system stabilization.
In the following, using the Lyapunov approach, a formula is derived for tuning the parameters in such a way as to ensure asymptotic stability for the system (11).
To this end, write (11) in the matrix form
and denote
where
is a diagonal matrix of tuning parameters.
Let the Lyapunov function now be chosen (more precisely, a candidate for the Lyapunov function) in the form:
where
, i.e., a positively defined matrix.
The time derivative of
V, along with the solutions of the tracking error dynamics equation, is:
Assuming control
v as
yields
Taking into account that
, denoting the term *
(where
and
) as well as making the term in the second bracket equal to zero (see (21)), one can obtain
, thereby establishing that
and
θ are bounded. However, according to Barbalat’s Lemma [
22], it can be inferred that
, cf. [
24], obtaining the system asymptotic stability. To address the parameter drift problem via the σ-modification method, see [
31].
What is more, it can be seen that the matrix
P is a solution of the algebraic Riccati equation:
coupled to the standard linear quadratic problem, where
is a linear system dynamics and
is optimization criterion.
Consequently, an optimal (sub)controller and the parameter adaptation law has been obtained in the form:
Concluding, the solution to the optimal, adaptive control (stabilization) problem formulated above, represented by the dynamics (4), unknown nonlinearity f and unknown load disturbance d, is given by Formulas (21), (23) and (10), where c is taken as a design parameter.
3. Designing an Optimal and Adaptive PMSM Speed Stabilization Controller
Using the theoretical results of
Section 2.2, an optimal and adaptive controller for PMSM speed stabilization also including system energetic optimization will now be designed.
3.1. Conversion of the Machine Model to the Appropriate Form via I/O Linearization Method—Nonadaptive Version of Controller Synthesis
To facilitate the analysis and for the sake of clarity, the traditional notations in the control theory have been adopted. Let, at first, the model (1), (2), (3) be written in the following state-space form:
where the following are defined:
—system state;
—control vector.
The considered control problem is to stabilize the state variable
on the desired
value; i.e., bring the system output:
to zero, by using control variables
u1 and
u2, where
denotes the desired value of ω
m.
Analyzing the form of the above nonlinear system (24), one can observe that for controlling the output y, it is enough to manipulate only the control variable u2, while u1 may serve us as an extra control parameter which will be then used for the system energetic optimization.
The synthesis of control
u2 can be performed by the input–output (I/O) feedback linearization, a method well known in the field of nonlinear control system engineering [
22].
Based on this method, the model of (24) and (25) is transformed to the canonical form suitable for direct derivation of the control law u2.
However, to avoid the Lie derivative formalism, specifically here, the output of (25) is repeatedly differentiated with respect to time until control u2 appears.
First, we denote
Hence, using (24), we obtain:
Differentiating (26) once more (and again using (24)), we have:
Thus, the canonical form of some (sub)system of (24) was obtained (cf. (4)):
where
and
So, the nonadaptive controller version is [
4]:
where
Now assuming that the system parameters are known, the gains
k1 and
k2 of this PD-type controller can be easily obtained by the pole placement method or the LQR algorithm [
4].
3.2. Optimal and Adaptive Controller Synthesis—Basic Case
Since the system (28) is of the form (4), the theory presented in
Section 2.2. can further be applied. Therefore, the previous assumption requiring knowledge of the system parameters can now be rejected.
To this end, let us write (31) in the standard parametric form
where
is a design parameter.
Now, assuming that
the final formula for control
u2 is obtained (cf. (21)):
To sum up, we obtained an optimal and adaptive controller in the form (35), (36), the implementation of which only requires measurement access to the components of the system state x1, x2, x3.
Remark 1. Note that the approximator of the function f is represented by basis functions that depend on x1, x2, x3 (instead of on y1, y2), which is not a problem due to the
possibility of transforming system (24) into (28) with the third equation attached to it (see zero dynamic).
3.3. Optimal and Adaptive Controller Synthesis—Simplified Case
Now, with reference to
Section 3.2, let it be assumed that
where the system parameters are assumed to be (reasonably) arbitrary—e.g., easily available nominal parameters (here, subscript
‘n’).
So, the final formula for control
u2 is obtained (cf. (35), (21)) in the form:
and, based on (23), the parameter estimate law is:
It should be noted that this version of the control algorithm, in order to improve system performance, uses additional, easily accessible knowledge contained not only in the system structure, but also in the arbitrarily adopted estimates of the system parameters.
As will be seen in the simulations carried out later, this type of adaptive controller shows good performance, which together with its relative simplicity, may be of interest for wider practical application.
Remark 2. In this simplified controller version, the stability proof of former section should be supplemented to deal with (include) an approximation error of function
f. The relevant details, in this respect, can be found [
31].
In order to clarify and facilitate the operating of formulas scattered in the text, the following briefly outlines the entire procedure:
- 3.
Having canonical matrices A, B as in (12) and selecting criterial matrices Q, r, the Riccati Equation (20) should be solved, obtaining the matrix P;
- 4.
Differentiating y (or y1), one obtains y2 (26);
- 5.
Using the model basis function (see (34) or (37)), current estimates of parameters are obtained via formulas (36) or (39);
- 6.
By the formula (35) or (38), the dynamical controller u2 is obtained,
- 7.
Set the design parameter to obtain a satisfactory system performance.
3.4. Resetting Reactive Power by the Second Control Input Synthesis—System Energetic Optimization
Now, having the second control parameter at our disposal (u1), one can modify the control process in terms of affecting the value of the object’s steady-state signals.
In this context, it seems reasonable to perform an energetic optimization of the system operation, i.e., to guarantee that the system reactive power equals zero:
To this end, one can observe that a simple transformation of (40) yields
This means that having access to the system state and control u2, generated via dynamic controller (35) or (38) (see previous section), a respective control u1 can be easily found that guarantees the condition (40), i.e., the zeroing of reactive power consumption.
3.5. Analysis the System Zero Dynamics
The partial transformation of the coordinates from x to y is defined by the equations in (29). After this transformation, a new system (28) of the second order, representing the external dynamics, is obtained. As the original system (24), (25) is of the third order, the missing part of the dynamics should be completed with the internal (zero) dynamics (of the first order). The proof of stability of the internal dynamics plays a key role in the successful application of the I/O linearization method, as it guarantees the stability of the whole (original) system (24).
To analyze the system zero dynamics, it is enough to examine the original system (24), (25), assuming that its output is precisely equal to zero. This leads to the system’s restricted motion [
32] being confined to the set:
where
and
denotes the Lie derivative.
The motion of the original system (24), (25) on
, with the input [
32]
represents the system zero dynamics:
As the term
= const (see (42)) and as
is bounded (and constant in a steady state), this dynamics takes the form of a stable linear system:
In this way, it is proven that the control (35) or (38) found above stabilizes the entire nonlinear system (24).
4. Results
The system of adaptive PMSM control of the ship’s electric propulsion system with energy optimization possibility in an INV-PMSM circuit (Q = 0), as presented in this article, is shown in
Figure 2.
The simulation studies presented below, which are used to verify the performance of the designed control algorithm, were based on the PMSM nonlinear dynamic model (1), (2), (3) as being representative of a real machine.
The model parameters were adopted as shown in
Table 1:
During the test, variations in machine speed ω
m, load torque
TL, stator currents
Id,
Iq, active
P and reactive power
Q were recorded, as well as the process of tuning parameter estimates, all vs. time. The results of the test, presented in
Figure 3,
Figure 4 and
Figure 5, are as follows:
Figure 3 depicts, respectively, the actual machine speed ω
m in relation to the reference speed
, load torque
TL related to the electromagnetic moment
Te, stator currents
Id and
Iq, active
P and reactive power Q.
In the figures below, (a) refers to the basic case, while (b) refers to the simplified case.
As can be observed in
Figure 3, the set speed of 300 rad/s was changed to 150 rad/s after 1 s, while the load torque was changed from 10 Nm to 100 Nm after 0.5 s.
It can be seen that after a step change in operating conditions, i.e., speed or/and load, there is an immediate fine-tuning of the controller parameters (
Figure 4) ensuring stable system operation. The dynamics of the transition processes for the mechanical quantities is correct with perfect resistance to load disturbances. However, the transients of electrical signals, as, e.g., voltages, (
Figure 5a)), exhibit at the switching moments peaks, which are decaying oscillations caused by the abrupt nature of the changes in the set value of ω
m or disturbances (
TL) and subsequent rapid changes in the tunable parameters, under the new operating conditions. Observe that in the simplified case, the abrupt peaks are relatively negligible. This is due to the fact that we have only one parameter to tune, as well as the fact that the difference between the standard zero initial conditions, during its tuning, and its final value is much smaller. The reactive power is maintained at zero at all times, as postulated.
During the numerical experiment, it was assumed that , , designed parameter , and tuning parameter . However, in the simplified case, in addition, it was assumed that , , and . As can be seen, despite the quite arbitrarily adopted parameters in the simplified case, the system works better than in the basic case. This is due to the fact that in the (simplified) case, some very preliminary, but still relevant knowledge, about the object parameters is obtained, whereas in the general (basic) case, there is no knowledge at all.
The basic case (a) of adaptive control assumes no knowledge of the PMSM parameters
. During engine start-up, parameters
, with an initial value of 0, must rapidly adjust to the equilibrium points (
Figure 4a). This causes a transient in the voltage values
provided by the controller (
Figure 5a), the symptom of which is torque jitter (
Figure 3a). The case of simplified adaptive control (b) assumes approximate knowledge (order of magnitude) of the PMSM parameter values on which the controller is based. This fact makes it easier to tune the parameter
(here, a single one) so that oscillations do not occur during the transition period (
Figure 3b,
Figure 4b and
Figure 5b).
In the case of classical PMSM control, according to the FOC method, as already mentioned in the introduction, the INV-PMSM electrical circuit analysis is only valid for the steady state.
Transients (e.g., speed changes) are not adequately controlled, resulting in significant oscillations, e.g., in torque [
11,
12]. Attempts to optimize the settings of the PID controller used in the FOC method do not yield good results in this respect.
5. Discussion and Conclusions
The main idea of the paper is to design a controller for PMSM machine. Its general concept is based on some known, canonical system dynamics with a function to adapt it to the real dynamics by adjusting the unknown parameters.
The applied methods of baseline controller design and its parameters tuning are based on optimal and adaptive techniques from the field of control theory, i.e., LQR and direct adaptive control, combined with the output feedback linearization.
More specifically, the system with canonical matrices A and B, which represent some basic system dynamics, is tuned to follow the real system via the adaptation of parameters.
Simulation tests have shown that the control system designed via the control techniques applied here ensures a fast transient response and good load disturbance resistance response, and unlike a standard PID controller, does not require the troublesome adjustment of its settings. Moreover, it reduces the reactive power of the system to zero.
The authors proposed an original adaptive PMSM control that does not require ac-curate machine rating data, as is the case with classic PMSM control according to the FOC method using PID controllers. The control algorithm developed by the authors also ensures energy optimization by reducing reactive power in the INV-PMSM circuit. The authors found no descriptions in the literature of adaptive PMSM control systems based on input–output linearization, LQR and reactive power reduction techniques in the INV-PMSM circuit being implemented at the same time.
The proposed adaptive system is characterized not only by robustness to the effects of load disturbances, but mainly by the fact that it does not need to be tuned, which is a major problem for standard PID-type controllers. The controller synthesis in the simplified case appears to be particularly attractive for practical implementation, because using standard, uncertain knowledge available ‘at hand’, we can achieve very good, cost-free control performance.
Currently, the authors are in the process of completing the construction of a laboratory station with a PMSM drive based on a new technology, i.e., Speedgoat hardware in the Rapid Control Prototyping mode [
33]. It should be noted here that the simulation model developed in Matlab-Simulink used in the article can be easily used during laboratory experiments. Speedgoat’s powerful prototyping hardware with a flexible and easy-to-use I/O is 100% compatible with Matlab-Simulink. In their next article, the authors intend to present the results of an experimental research study.