4.1. Numerical Experiment
In the simulation experiment, the basic parameters of the Wageningen B-series propeller included the number of blades
Zw = 4, the diameter of the propeller
Dw = 4 m, the pitch ratio
Pw/
Dw = 1, and the expanded blade area ratio
Aε/
A0 = 0.7. The simulation experimental parameters are shown in
Table 3.
Then, Equations (1) and (2) were discretized by using a
Z-transformation:
For the shaft speed control model shown in
Figure 3, the sampling period
ts = 0.01s, and the variation of
Tr is shown in
Table 4. The excitation signal of the ER-PID controller is
, where
k = 1, 2, …,
M,
M = 10,000, and
t = kts.The empirical data set
S = {[
f1(
k),
f2(
k),
KP(
k),
KI(
k),
KD(
k)]|
k = 1, 2, …, 10,000} obtained according to step 1.1 in
Section 3.2 was divided into three sub-datasets
S1 = {[
f1(
k),
f2(
k),
KP(
k)]|
k = 1, 2, …, 10,000},
S2 = {[
f1(
k),
f2(
k),
KI(
k)]|
k = 1, 2, …, 10,000}, and
S3 = {[
f1(
k),
f2(
k),
KD(
k)]|
k = 1, 2, …, 10,000}, which were used to construct IREM
P, IREM
I, and IREM
D, respectively. Furthermore, in the simulation experiments, three inference models for the ER-PID controller were constructed by using the three sub-datasets. The initial reference values of each input (i.e.,
f1 and
f2) and each output (i.e.,
KP,
KI, and
KD) are shown in
Table 5.
Taking the inference model for
KP as an example, all the sample pairs in
S1 were transformed into an integrated similarity distribution according to Equations (12) and (13), and the casting results for each input were generated in
Table 6 and
Table 7. At the same time, according to Equations (14) and (15), the IREM
P of
f1 (
Table 8) and the IREM
P of
f2 (
Table 9) were obtained from the casting results using likelihood function normalization. Similarly, the above method was used to construct IREM
I and IREM
D, respectively.
The input vector
X(
k) = [
f1(
k),
f2(
k)] at time
k was introduced into three inference models to obtain the three coefficients
,
, and
. Meanwhile, according to Equation (19), the two adjacent pieces of evidence activated by
X(
k) and their corresponding importance weights were optimized using the SLP algorithm in
Section 3.3. The IREMs at time
k were modified using the optimized evidence and were used as the initial IREMs for the inference models at time
k + 1. Consequently, the local update and iterative optimization proposed in this study were realized iteratively.
Take the input sample X(k) = [f1(k),f2(k)] = [0.2766,0.0116] at time k = 3 as an example to illustrate the process of obtaining KP online.
(1): Transform the input.
According to step 1.2 in
Section 3.2, the similarities of
f1(
k) matching
and
were
α1,2 = 0.7645 and
α1,3 = 0.2355, and evidence
and
were activated. The similarities of
f2(
k) matching
and
were
α2,2 = 0.7648 and
α2,3 = 0.2352, and evidence
and
were activated.
(2): Acquire the activated evidence.
The activated evidence = [0.4342,0.1897,0.2017,0.1744] and = [0.7768,0.0682,0.0682,0.0868] were obtained using Equation (16).
(3): Combine the activated evidence.
Then, and were fused using Equation (10) with the consideration of their reliability factors () and the optimized importance weights ( = 0.6262, = 0.6087), and the fusion result was OP(X(k)) = {(,0.8897),(,0.0341),(,0.0363),(,0.0399)}.
(4): Obtain the PID parameters.
With the result OP(X(k)) and the reference values of output, the proportional coefficient according to Equation (18). Similarly, we obtained the integration coefficient and the differential coefficient at time k = 3.
(5): Local optimization.
Then, the 12 pieces of evidence activated by
X(3) and the importance weights of the activated evidence were obtained, as shown in
Table 10. The SLP algorithm was used to fine-tune these parameters, and the optimized parameters shown in
Table 11 replaced their corresponding values at time
k = 3 and were taken as the initial model parameters at
k = 4.
(6): Iterative update.
Iteratively, the sample vector
X(4) = [0.2766,0.0204] also activated the 12 pieces of evidence and the importance weights of the above evidence, as shown in
Table 12. Moreover, the SLP algorithm was used to optimize these parameters, and the optimized parameters in
Table 13 were taken as the initial model parameters at
k = 5. Using this iterative optimization method, the parameters activated by the input sample were optimized so that the IREMs and the importance weights of the activated evidence were updated in real time.
4.2. Simulation Experiments on the ER-PID Controller Accuracy and Anti-Interference
Figure 7 shows the tracking results and errors of
n(
k) tracking
nr(
k) when the ER-PID controller was constructed by using data set
S. Furthermore, the change curves of the control signal and control parameters (
KP,
KI, and
KD) are plotted in
Figure 8. It is clear that this method was convergent, and the MSE was 0.0135.
To verify the anti-interference performance of the ER-PID controller, single-point perturbation and multi-point perturbation experiments were conducted.
Simulation experiment 1: Single-point perturbation experiment on an ER-PID controller.
An additional perturbation ξ(k) was added to the input f1(k) at times k = 1000, 3000, 5500, and 8200, i.e., f1(k) = nr(k) + ξ(k) (k = 1000,3000,5500,8200). The input with perturbation satisfied ξ(1000) = ξ(3000) = ξ(5500) = ξ(8200) = 0.1.
Simulation experiment 2: Multi-point perturbation experiment on ER-PID controller.
The number of disturbance points in the experiment was increased based on the single-point perturbation experiment, and the disturbance was added to f1 at k = 1000~1004, 3000~3004, 5500~5504, and 8200~8204, which satisfied ξ(k) = 0.1.
Figure 9,
Figure 10,
Figure 11 and
Figure 12 show the results of the single-point perturbation and the multi-point perturbation experiments, and it can be seen that the adaptive ER-PID controller can still track the shaft speed reference (
nr) and recover to a steady state even though the speed jumps existed in n
r. Moreover, in simulation experiments 1 and 2, the MSEs of the shaft speed control using the ER-PID controller were 0.0123 and 0.0143, respectively. Furthermore, the change curves of the control signal and control parameters (
KP,
KI, and
KD) are plotted in
Figure 10 and
Figure 12. It can be seen that the controller gain was adjusted adaptively to re-stabilize the system when a disturbance was generated. Generally speaking, the ER-PID controller had good anti-interference performance and tracking performance.
4.3. Comparisons with Other Shaft Speed Control Methods
To illustrate the effectiveness of the shaft speed method proposed in this study, the shaft speed control method based on the ER-PID controller was further compared with the control performance of the shaft speed control model based on a traditional PID controller [
11], BP-PID controller [
15], FI-PID controller [
14], and combined control [
32]. Furthermore, two simulation experiments of the controller accuracy and random perturbation were implemented.
Simulation experiment 3: Simulation experiment on controller accuracy.
The MSE and dynamic indicators (overshoot and adjustment time) of the five methods were compared in
Table 14, and the MSE of the ER-PID method was 0.0135, which was smaller than the other methods.
Figure 11 describes the tracking results and errors of five methods regarding
n(
k) tracking
nr(
k).
From
Figure 13 and
Table 14, it can be seen that in the stage
t < 20 s, the ER-PID method responded faster to a given value, the system overshoot was relatively short, and the adjustment time was short, while the other methods responded slower to a given value and the overshoot and the adjustment time were slightly longer. In the stages 20 s <
t < 40 s and 70 s <
t < 100 s, the response speed, overshoot, and adjustment time of the traditional PID were slightly smaller than other methods. In the stage 40 s <
t < 70 s, the adjustment time of the ER-PID method was shorter than other methods. The overshoot of the ER-PID method was only larger than that of the combined control and smaller than that of other methods.
Overall, by analyzing the dynamic indicators of the speed control system, it was found that the ER-PID method performed better than other methods regarding the dynamic indicators and MSE. All the advantages of the ER-PID controller ensured that the system reached a stable state quickly and improved the tracking ability of the system.
Simulation experiment 4: Random perturbation experiment.
A sinusoidal disturbance signal was added to the system input f1, that is, f1(k) = nr(k) + A ∗ sin(wkts), k = 1, 2,..., 10,000, noise variable A~U(0,0.1), and w~U(0,1π).
We performed 100 such experiments, where the values of
A and
w are randomly generated.
Table 15 and
Figure 14 show the mean value of the tracking MSE and the tracking MSE for the five methods in 100 experiments. It can be seen from
Figure 10 that the tracking MSEs of the ER-PID method, traditional-PID method, and FI-PID method were relatively stable in the 100 random perturbation experiments, but the MSE of the BP-PID method had large fluctuations and poor stability.
From the above statistical results, the mean value of the tracking MSE for the ER-PID method was 0.0148, which was significantly smaller than the MSE of the other methods. Consequently, it was concluded that the ER-PID method had better adaptability for input interference than the other methods.