Adaptive boosting algorithm-based turbofan engine direct data-driven control method

Information

  • Patent Grant
  • 11788473
  • Patent Number
    11,788,473
  • Date Filed
    Thursday, March 19, 2020
    4 years ago
  • Date Issued
    Tuesday, October 17, 2023
    8 months ago
Abstract
The present invention belongs to the technical field of control of aero-engines, and proposes an adaptive boosting algorithm-based turbofan engine direct data-driven control method. First, a turbofan engine controller is designed based on the Least Squares Support Vector Machine (LSSVM) algorithm, and further, the weight of a training sample is changed by an adaptive boosting algorithm so as to construct a turbofan engine direct data-driven controller combining a plurality of basic learners into strong learners. Compared with the previous solution only adopting LS SVM, the present invention enhances the control precision, improves the generalization ability of the algorithm, and effectively solves the problem of sparsity of samples by the adaptive boosting method. By the adaptive boosting algorithm-based turbofan engine direct data-driven control method designed by the present invention.
Description
TECHNICAL FIELD

The present invention belongs to the technical field of control of aero-engines, and particularly relates to an adaptive boosting algorithm-based turbofan engine direct data-driven control method.


BACKGROUND

Turbine fan engine is called turbofan engine for short, and widely used in military and civilian fields due to the advantages of high propulsion efficiency and low fuel consumption. As the brain of the turbofan engine, a control system is a key component that directly determines the safety and performance thereof. The turbofan engine is a complex strong nonlinear system, so how to effectively control the turbofan engine becomes a difficult problem. The traditional turbofan engine control system adopts a control method that combines the PID control algorithm and MIN/MAX switching, and the method has conservativeness, small performance improvement and slow dynamic response. At the same time, with the emergence of emerging control theories and the verification and application in other fields, how to use advanced control methods to improve the conservativeness brought by the traditional control of turbofan engines and to improve the safety and performance of turbofan engines has important application significance.


The existing literature shows that the turbofan engine control method is mainly divided into a model-based method and a data-driven method. First, in the model-based control method, if the dynamic behavior of a control object is specified, a controller can be designed accordingly to make the control object meet the control requirements. For such a complex thermodynamic system as a turbofan engine, it is difficult to achieve an ideal model with precise parameters. Therefore, it is difficult to achieve the optimal performance of the turbofan engine. Second is the data-driven control method, which can design the controller by directly using a controlled system or the data input and output on line or off line instead of analyzing and using the mathematical model of the control object and also can achieve the control objectives. Therefore, compared with the model-based control method, the data-based turbofan aero-engine control gets rid of the dependence on the precise model, and solves the problem of realizing effective control on the turbofan engine when the precise mathematical model of the turbofan engine is not established or the mechanism model is difficult to establish. However, the data-driven algorithm has the following problems: 1. the generalization ability of a single model is weak, and such complex nonlinear system as the turbofan engine cannot be fully controlled under different working conditions within the range of a full envelope; and 2. as the test data of the turbofan engines is relatively less, the problem of sparsity of data samples is prone to occur, which reduces the precision and generalization ability of the data-driven model. Therefore, for the above problems, it is of great significance to design a turbofan engine direct data-driven control method that can solve the problems of weak generalization ability and sparsity of samples.


SUMMARY

In view of the problems of the existing turbofan engine control method, the present invention proposes an adaptive boosting algorithm-based turbofan engine direct data-driven control method. First, a turbofan engine controller is designed based on the Least Squares Support Vector Machine (LSSVM) algorithm, and further, the weight of a training sample is changed by an adaptive boosting algorithm so as to construct a turbofan engine direct data-driven controller combining a plurality of basic learners into strong learners. Compared with the previous solution only adopting LSSVM, the present invention enhances the control precision, improves the generalization ability of the algorithm, and effectively solves the problem of sparsity of samples by the adaptive boosting method.


The technical solution of the present invention is as follows:


An adaptive boosting algorithm-based turbofan engine direct data-driven control method, comprises the following steps:


Step 1: establishing a data set for the design of a turbofan engine direct data-driven controller


Step 1.1: collecting control signals during the operation of the turbofan engine, including input fuel flow wf(n) of turbofan engine, corrected relative rotary speed n1cor(n) of low-pressure rotor, and corrected relative rotary speed n2cor(n) of high-pressure rotor, wherein n=1, 2, . . . , indicating the nth sampling period;


Step 1.2: Δu represents the input of turbofan engine, Δy represents the output of turbofan engine, Δn1cor(n) and Δn2cor(n) respectively represent the variations of corrected relative rotary speeds of low-pressure rotor and high-pressure rotor of the turbofan engine, and Δwf(n) represents the variation of the input fuel flow of turbofan engine, defining

Δu=[Δwf(1),Δwf(2), . . . ,Δwf(n)]T
Δy=[Δn2cor(1),Δn2cor(2), . . . ,Δn2cor(n)]T

[Δu,Δy] is the original data set for the design of the turbofan engine direct data-driven controller;


Step 1.3: using the corrected relative rotary speed n2cor of high-pressure rotor as a scheduling parameter p (with the dimension equal to 1), and converting the scheduling parameter p to be within [−1,1], as shown in the following formula:






p
=



2


n

2

cor



-

(


n

2

cor_max


+

n

2

cor_min



)



(


n

2

cor_max


-

n

2

cor_min



)






wherein n2cor_max and n2cor_min are respectively the upper limit and lower limit of the relative rotary speed n2cor of high-pressure rotor of the turbofan engine;


Step 2: adopting the methods of mean substitution and analysis of the Box-plot to perform data cleaning on the data in the data set [Δu,Δy], and filling missing data and eliminating outlier data in the data set;


Step 3: adopting the LS SVM algorithm to design the turbofan engine controller


Step 3.1: adopting the random sampling method to use 80% of the data set as a training data set and 20% as a testing data set;


Step 3.2: adopting the Gauss kernel function Ω=K(p,t,k) to map the training data set to a high-dimensional feature space with the dimension of z from the original space so as to realize the linear regression of the training data set in the z-dimensional feature space, wherein the kernel function is expressed as follows:






Ω
=


K

(

p
,
t
,
k

)

=

exp
(

-






p

(
t
)

-

p

(
k
)




2
2


2


σ
2




)






wherein t and k respectively represent the time t and the time k, p(t) and p(k) represent the scheduling parameters of the time t and the time k, σ is the initial hyper-parameter radial basis width of the Gauss kernel function, and σ>0 is required;


Step 3.3: establishing the optimization problem of LSSVM:










min



ω
,
b
,
e




J

(

ω
,
e

)


=



1
2



ω
T


ω

+


1
2


γ





i
-
1

N


e
i
2









s
.
t
.



y
i

[



ω
T



φ

(

x
i

)


+
b

]


=

1
-

e
i







wherein ω is the normal vector of a hyperplane, the hyper-parameter γ is the weight (with the dimension equal to 1) for balancing “computation power for finding an optimal hyperplane” and “minimum deviation between training set and testing set”, yi is the dependent variable after the control signals are given, e is the training error, b is the bias operator, and N is the number of samples in the training data set;


Step 3.4: using the Gaussian kernel function in step 3.2 and solving the optimization problem in step 3.3 to obtain the LSSVM regression function, which is expressed as follows:







y
lssvm



=





k
=
1

N



α
k



K

(

p
,
t
,
k

)



+
b






wherein ylssvm is the output of the turbofan engine controller designed based on the LSSVM algorithm, a is the Lagrangian operator, b is the bias operator, and N is the number of samples in the training data set;


Step 4: using the adaptive boosting method and the output of the turbofan engine controller designed based on the LSSVM algorithm established in step 3 to construct an adaptive boosting algorithm-based turbofan engine direct data-driven controller, and adjusting the parameters of the controller


Step 4.1: the training data set is T=[Δu′,Δy′], and [Δu′,Δy′] is the turbofan engine control data set obtained after data cleaning, wherein Δu′ is a control signal, Δy′ is the measured value Δn2cor of high-pressure rotor variation, and the basic learners in the adaptive boosting algorithm adopt the turbofan engine controller designed based on the LSSVM algorithm constructed in step 3 to give the initial hyper-parameter radial basis width σ and the weight γ and set epoch as the iteration number of the basic learners;


Step 4.2: initializing the weight of the training data set to D (1)=(w11, w12, . . . , w1N), w1i=1/N, i=1, 2, . . . , N, where w is the weight of each sample in the training data set;


Step 4.3: for the iteration number k=1, 2, . . . , epoch, using the training data set of the weight D(k) for training to obtain the basic learner Gk(x), and calculating the maximum error Ek predicted by the basic learner on the training data set, which is expressed as follows:

Ek=max|yi−Gk(xi)|,i=1,2, . . . ,N


Step 4.4: calculating the relative error of each data sample in the training data set, and adopting a linear error, a square error or an exponential error, which are respectively expressed as follows:









Linear


error
:


e
ki


=




"\[LeftBracketingBar]"



y
i

-

G

k

(

x
i

)





"\[RightBracketingBar]"



E
k



;






Square


error
:


e
ki


=



(


y
i

-

G

k

(

X
i

)



)

2


E
k
2



;




Exponential


error
:





e
ki

=

1
-

exp

(

-



y
i

-

G

k

(

x
i

)




E
k



)



;

_






Step 4.5: calculating the regression error rate eregression, as shown in the following formula:







e
regression

=




i
-
1

N



w
ki



e
ki







wherein wki is the weight of the data sample in the training data set obtained from the last iteration, and eki is the relative error obtained in step 4.4;


Step 4.6: calculating the weight coefficient weightk of the basic learner, as shown in the following formula:







weight
k

=


e
regression


1
-

e
regression







Step 4.7: updating the sample weight distribution of the training data set, and adaptively adjusting the initial hyper-parameter radial basis width a according to the regression error rate, which is expressed as follows:







w

k
+

1

i



=



w
ki


Z
k




weight
k

1
-

e
ki









σkk-1−0.8*exp(−(weightk−weightk-1))


wherein wki is the weight coefficient of the ith data sample at the kth iteration, σk is the hyper-parameter σ at the kth iteration, and Zki-1Nwki·weightk1-eki is the normalized operator;


Step 4.8: averaging the predictive values yc generated by all iterations to obtain the final strong learner output yfinal, which is expressed as follows:








y
final

=



1
epoch






c
=
1

epoch


y
c






Step 5: using the cross validation method to determine the initial hyper-parameter radial basis width σ and the weight γ to satisfy the validation error of less than 0.1%, maintaining the condition of σ,γ>ζ at all times during the iteration, wherein ζ is a smaller number not less than 0, if not in line, discarding the initial value, and selecting larger radial basis width σ and weight γ as the initial values of iteration to complete the design of the adaptive boosting algorithm-based turbofan engine direct data-driven controller.


The present invention has the following beneficial effects: by the adaptive boosting algorithm-based turbofan engine direct data-driven control method designed by the present invention.





DESCRIPTION OF DRAWINGS


FIG. 1 is a flow chart of a control method of the present invention.



FIG. 2 is a flow chart of a least squares support vector machine algorithm adopted by the present invention.



FIG. 3 is a flow chart of an adaptive boosting algorithm adopted by the present invention.



FIG. 4 is a structural block diagram of an adaptive boosting algorithm-based turbofan engine direct data-driven controller.



FIG. 5 is a comparison diagram of control results obtained based on a single LSSVM controller and an adaptive boosting algorithm-based turbofan engine direct data-driven controller of the present invention under the working conditions of Δn2cor=88% and Δwf=100.



FIG. 6(a) and FIG. 6(b) are respectively comparison diagrams of control absolute errors and relative errors obtained based on a single LSSVM controller and an adaptive boosting algorithm-based turbofan engine direct data-driven controller of the present invention under the working conditions of Δn2cor=88% and Δwf=100.





DETAILED DESCRIPTION

The embodiments of the present invention will be further described in detail below in combination with the drawings and the technical solution.


The flow chart of the control method of the present invention is shown in FIG. 1, and comprises the following specific steps:


Step 1: establishing a data set for the design of a turbofan engine direct data-driven controller.


Step 1.1: collecting control signals during the operation of the turbofan engine, including input fuel flow wf(n) of turbofan engine, corrected relative rotary speed n1cor(n) of low-pressure rotor, and corrected relative rotary speed n2cor(n) of high-pressure rotor, wherein n=1, 2, . . . , indicating the nth sampling period;


Step 1.2: Δu represents the input of turbofan engine, Δy represents the output of turbofan engine, Δn1cor(n) and Δn2cor(n) respectively represent the variations of corrected relative rotary speeds of low-pressure rotor and high-pressure rotor of the turbofan engine, and Δwf(n) represents the variation of the input fuel flow of turbofan engine, defining

Δu=[Δwf(1),Δwf(2), . . . ,Δwf(n)]T
Δy=[Δn2cor(1),Δn2cor(2), . . . ,Δn2cor(n)]T

[Δu,Δy] is the original data set for the design of the turbofan engine direct data-driven controller;


Step 1.3: using the corrected relative rotary speed n2cor of high-pressure rotor as a scheduling parameter p (with the dimension equal to 1), and converting the scheduling parameter p to be within [−1,1], as shown in the following formula






p
=



2


n

2

cor



-

(


n

2

cor_max


+

n

2

cor_min



)



(


n

2

cor_max


-

n

2

cor_min



)






wherein n2cor_max and n2cor_min are respectively the upper limit and lower limit of the relative rotary speed n2cor of high-pressure rotor of the turbofan engine;


Step 2: adopting the methods of mean substitution and analysis of the Box-plot to perform data cleaning on the data in the data set [Δu,Δy], and filling missing data and eliminating outlier data in the data set obtained by collection;


The steps of adopting the LSSVM algorithm to design the turbofan engine controller in step 3 are as follows, and the structural block diagram thereof is shown in FIG. 2:


Step 3.1: for the training data obtained in step 1.2, adopting the random sampling method to use 80% of the total data as training data and 20% as testing data;


Step 3.2: adopting the Gauss kernel function Ω=K(p,t,k) to map the training data set to a high-dimensional feature space with the dimension of z from the original space so as to realize the linear regression of the training data set in the z-dimensional feature space, which is expressed as follows:






Ω
=


K

(

p
,
t
,
k

)

=

exp
(

-






p

(
t
)

-

p

(
k
)




2
2


2


σ
2




)






wherein p is the scheduling parameter in the linear variable parameter model, t and k respectively represent the time t and the time k, p(t) and p(k) represent the scheduling parameters of the time t and the time k, σ is the radial basis width (belonging to a hyper-parameter) of the Gauss kernel function, and σ>0 is required;


Step 3.3: establishing the optimization problem:









min

ω
,
b
,
e



J

(

ω
,
e

)


=



1
2



ω
T


ω

+


1
2


γ





i
-
1

N


e
i
2









s
.
t
.



y
i

[



ω
T



φ

(

x
i

)


+
b

]


=

1
-

e
i







wherein ω is the normal vector of a hyperplane, the hyper-parameter γ is the weight for balancing “computation power for finding an optimal hyperplane” and “minimum deviation between training set and testing set”, and γ>ζ is required, wherein ζ is a smaller number (with the dimension equal to 1) not less than 0, yi is the dependent variable after the control signals are given, e is the training error, b is the bias operator, and N is the number of samples in the training data set;


Step 3.4: using the Gaussian kernel function in step 3.2 and solving the optimization problem in step 3.3 to obtain the LSSVM regression function, which is expressed as follows:







y
lssvm



=





k
=
1

N



α
k



K

(

p
,
t
,
k

)



+
b






wherein ylssvm is the output of the turbofan engine controller designed based on the LSSVM algorithm, a is the Lagrangian operator used during the solving process, and N is the number of data samples for training;


As shown in FIG. 3, in step 4, using the adaptive boosting method and the output of the turbofan engine controller designed based on the LSSVM algorithm established in step 3 to construct an adaptive boosting algorithm-based turbofan engine direct data-driven controller, and adjusting the parameters of the controller;


Step 4.1: inputting the training sample T=[Δu′,Δy′], wherein [Δu′,Δy′] is the turbofan engine control data set obtained after data cleaning, wherein Δu′ is a control signal, Δy′ is the measured value Δn2cor of high-pressure rotor variation, and the basic learners in the adaptive boosting algorithm adopt the turbofan engine controller designed based on the LSSVM algorithm constructed in step 3 to give the initial hyper-parameter radial basis width σ and the weight γ and set epoch as the iteration number of the basic learners;


Initially setting σ=30 and γ=10, and setting the iteration number epoch=10 of the basic learners;


Step 4.2: initializing the weight of the training set to D(1)=(w11, w12, . . . , w1N),








w

1

i


=

1
N


,





i=1, 2, . . . , N, where w is the weight of each data sample;


Step 4.3: for the iteration number k=1, 2, . . . , epoch, using the training data set of the weight D(k) for training to obtain the basic learner Gk(x), and calculating the maximum error Ek predicted by the basic learner on the training data set, which is expressed as follows:

Ek=max|yi−Gk(xi)|,i=1,2, . . . ,N


Step 4.4: calculating the relative error of each data sample in the training data set, and generally adopting a linear error, a square error and an exponential error (selecting one in use), which are respectively expressed as follows:











Linear



error
:

e
ki



=




"\[LeftBracketingBar]"



y
i

-

G

k

(

x
i

)





"\[RightBracketingBar]"



E
k







Square



error
:

e
ki



=



(


y
i

-

G

k

(

x
i

)



)

2


E
k
2








Exponential



error
:

e
ki



=

1
-

exp

(

-



y
i

-

G

k

(

x
i

)




E
k



)



;











Step 4.5: calculating the regression error rate eregression, as shown in the following formula:







e
regresssion

=




i
-
1

N



w
ki



e
ki







wherein wki is the weight of the data sample in the training data set obtained from the last iteration, and eki is the relative error obtained in step 4.4;


Step 4.6: calculating the weight coefficient weightk of the basic learner, as shown in the following formula:







weigh


t
k


=


e

r

e

g

r

ession



1
-

e

r

e

g

r

ession








Step 4.7: updating the sample weight distribution of the training data set, and adaptively adjusting the hyper-parameter σ according to the regression error rate, which is expressed as follows:








w

k
+

1

i



=



w
ki


Z
k





weight
k

1
-

e
ki









σ
k

=


σ

k
-
1


-

0.8
*

exp

(

-

(


weight
k

-

weight

k
-
1



)


)








wherein wki is the weight coefficient of the ith data sample at the kth iteration, σk is the hyper-parameter σ at the kth iteration, and ZkΣi-1Nwki·weightk1-eki is the normalized operator.


Step 4.8: averaging the predictive values yc generated by all iterations to obtain the final strong learner output yfinal, which is expressed as follows:







y
final

=


1
epoch






c
=
1


e

p

o

c

h



y
c







Step 5: using the cross validation method to determine the initial hyper-parameter radial basis width σ and the weight γ to satisfy the validation error of less than 0.1%, maintaining the condition of σ,γ>ζ at all times during the iteration, wherein ζ is a smaller number not less than 0, if not in line, discarding the initial value, and selecting a larger radial basis width σ as the initial value of iteration to complete the design of the adaptive boosting algorithm-based turbofan engine direct data-driven controller.



FIG. 5 is a comparison diagram of control results of a high-pressure rotor obtained based on a single LSSVM controller and an adaptive boosting algorithm-based turbofan engine direct data-driven controller of the present invention under the working conditions of Δn2cor=88% and Δwf=100, from which it can be seen that the controller of the invention shortens the response time and reduces overshoot



FIG. 6(a) and FIG. 6(b) are respectively comparison diagrams of control absolute errors and relative errors of a high-pressure rotor obtained based on a single LSSVM controller and an adaptive boosting algorithm-based turbofan engine direct data-driven controller of the present invention under the working conditions of Δn2cor=88% and Δwf=100. When the turbofan engine reaches a steady operating state, compared with the original method, the improvement method adopted reduces the absolute error by 95.8% and reduces the average relative error by 3.29% within the entire working time.


In conclusion, the turbofan engine direct data-driven controller using the adaptive boosting algorithm can shorten the time for the turbofan engine to reach the target rotary speed, and significantly reduce the control error and improve the control precision, with obvious performance advantages.

Claims
  • 1. An adaptive boosting algorithm-based turbofan engine direct data-driven control method, wherein the method comprises the following steps: step 1: establishing a data set for the design of a turbofan engine direct data-driven controllerstep 1.1: collecting control signals during the operation of the turbofan engine, including input fuel flow wf(n) of turbofan engine, corrected relative rotary speed n1cor(n) of low-pressure rotor, and corrected relative rotary speed n2cor(n) of high-pressure rotor, wherein n=1, 2, . . . , indicating the nth sampling period;step 1.2: Δu represents the input of turbofan engine, Δy represents the output of turbofan engine, Δn1cor(n) and Δn2cor(n) respectively represent the variations of corrected relative rotary speeds of low-pressure rotor and high-pressure rotor of the turbofan engine, and Δwf(n) represents the variation of the input fuel flow of turbofan engine, defining Δu=[Δwf(1),Δwf(2), . . . ,Δwf(n)]T Δy=[Δn2cor(1),Δn2cor(2), . . . ,Δn2cor(n)]T
Priority Claims (1)
Number Date Country Kind
202010013151.6 Jan 2020 CN national
PCT Information
Filing Document Filing Date Country Kind
PCT/CN2020/080158 3/19/2020 WO
Publishing Document Publishing Date Country Kind
WO2021/139004 7/15/2021 WO A
US Referenced Citations (2)
Number Name Date Kind
11580441 Ding Feb 2023 B2
20150345403 Cai Dec 2015 A1
Foreign Referenced Citations (3)
Number Date Country
102411305 Apr 2012 CN
108375474 Aug 2018 CN
110348079 Oct 2019 CN
Related Publications (1)
Number Date Country
20210348567 A1 Nov 2021 US