Hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process

Information

  • Patent Application
  • 20230297736
  • Publication Number
    20230297736
  • Date Filed
    May 24, 2023
    a year ago
  • Date Published
    September 21, 2023
    8 months ago
Abstract
A hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process includes a real equipment layer and a virtual object layer, where in the real equipment layer and the virtual object layer realize communication through hard wirings and data acquisition cards, the real equipment layer and virtual object layer realize communication in OPC mode through Ethernet; the real equipment layer comprises monitoring equipment and control equipment, and the virtual object layer comprises an MSWI actuator model, an MSWI instrument device model and an MSWI process object model which are respectively operated in different industrial personal computers. The hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process provided by the invention is used for providing a reliable engineering verification environment for MSWI process control.
Description
TECHNICAL FIELD

The invention relates to the technical field of municipal solid waste incineration, in particular to a hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process.


BACKGROUND

At present, there are still many problems to be solved in terms of recycling mechanism, treatment technology and management strategy of municipal solid waste (MSW) in China, the most prominent of which is the problem of excessive pollutant discharge. Municipal solid waste incineration (MSWI) is a treatment technology widely used to realize MSW harmlessness, reduction, and resource utilization. As a typical complex industrial process, it has the characteristics of multi-variable, strong coupling, and strong nonlinearity. According to the current situation, it is necessary to study the appropriate MSWI process technology according to the characteristics of MSW.


To conduct research on the effective control of MSWI process technology, it is first necessary to construct the process model. Existing simulation platforms for MSWI process models are mostly limited to single-loop control, and do not consider the multiple-input and multiple-output characteristics of the actual MSWI process controlled objects. Moreover, the actuator model, process object model and instrument model are not separated, and the authenticity of signal transmission and possible interference between actual devices are ignored; at the same time, in the face of complex industrial processes, traditional simulation platforms mostly use physical equipment such as water tanks, pumps, valves, and frequency converters as the basis to build simplified industrial process control equipment prototype, although the equipment prototype is conducive to forming an intuitive impression of the equipment, it has limitations due to issues such as site size and safety; this makes the development of a simulation platform an inevitable requirement.


SUMMARY

The object of the present invention is to provide a hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process, which is used to provide a reliable engineering verification environment for MSWI process control.


To achieve the above object, the present invention provides the following scheme:


A hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process comprises: real equipment layer and virtual object layer, where in the real equipment layer and the virtual object layer realize communication through hard wirings and data acquisition cards, the real equipment layer and virtual object layer realize communication in OPC (OLE for Process Control) mode through Ethernet.


The real equipment layer comprises monitoring equipment and control equipment; the monitoring equipment is used to realize the monitoring of MSWI process state, download program in the control equipment and set PID (Proportion Integral Differential) loop parameters; the control equipment adopts the same controller as the actual site; the program downloaded in the controller is used to carry out loop control and variable conversion for the MSWI process.


The virtual object layer includes MSWI actuator model, MSWI instrument device models and MSWI process object models running in different industrial personal computer respectively; the object model of MSWI process is based on ensemble random forest and gradient boosting decision tree (EnRFGBDT) algorithm to predict three key controlled variables of furnace temperature (FT), flue gas oxygen content (OC) and main steam flow rate (BSF).


The MSWI actuator model simulates signals sent from the real equipment layer to transmit the MSWI process actuator variables to the MSWI process object model; the MSWI instrument device model receives the MSWI process instrument device variables obtained from the simulation of the MSWI process object model and performs simulation, and transmits to the real device layer; the MSWI process object model is established in three ways: data simulation, mechanism modeling and data-driven; by receiving MSWI process actuator variables for simulation, MSWI process instrument device variables are obtained and transmitted to the MSWI instrument device model.


Optionally, the data acquisition card adopts an Advantech board.


Optionally, the MSWI actuator model is expressed by first-order transfer function mode with time delay, a signal conversion is established between the real equipment layer and the industrial computer equipped with the MSWI actuator model, which can be expressed as:







P

t

r

u

e

A

=




P
max
A

-

P
min
A




U
max
A

-

U
min
A



*

U

t

r

u

e

A






wherein: PmaxA is the upper limit of the actuator variable with a physical value, PminA is the lower limit of the actuator variable with a physical value, UmaxA is limit of the voltage signal output after the actuator variable is converted, UminA is the lower limit of the voltage signal output after the actuator variable conversion, UtrueA is the actual value of the electrical signal of actuator variable, PtrueA is the current actual value of the actuator variable with a physical value.


Optionally, when the MSWI actuator model is a feeder, it can be described as follows:








F
˙

feeder

=



-

1

T
feeder





F
feeder


+



K
feeder


T
feeder





U
feeder

(

t
-
τ

)







wherein: Ffeeder is the feeding speed of the feeder, Ufeeder is the frequency of the feeder motor, Tfeeder is the response time constant of the feeder, and Kfeeder is the ratio between the frequency of the motor of the feeder and the feeding speed of the feeder in the steady state, τ is the lag time.


Optionally, the MSWI instrument is expressed by first-order transfer function model, a signal conversion is established between the real equipment layer and the industrial computer equipped with the model of MSWI instrument device, which can be expressed as:







U
true
I

=




U
max
I

-

U
min
I




P
max
I

-

P
min
I



*

P
true
I






wherein: PmaxI the upper limit of the instrument variable, PminI is the lower limit of the instrument variable, UmaxI is the upper limit of the voltage signal output after the instrument variable conversion, UminI is the lower limit of the voltage signal output after the instrument variable conversion, UtrueI is the current real value of the instrument variable electrical signal, and PtrueI is the actual current value of an instrument variable with a physical value.


Optionally, when the MSWI instrument device model is primary air flowmeter, it can be described below:








Q
.


p

r

i


=



-

1

T

p

r

i






Q

p

r

i



+



K

p

r

i



T

p

r

i





U
pri







wherein: Qpri is the primary air flow per unit time, Upri is the primary air valve opening, Tpri is the primary air volume response time constant, and Kpri is the proportional relationship between the primary air valve opening and the primary air flow per unit time in steady state.


According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects: the hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process by the present invention carries the MSWI actuator model and the MSWI instrument device model on two industrial personal computers, the data acquisition card uses electrical signals to realize the signal transmission between the loop control system, the actuator and the instrument device, which truly simulates the type of signal transmission in the field and avoids the lack of signals in the traditional simulation experiment platform and unknown factors such as transmission interruption and signal interference exist in the field; through the model building of three key controlled process variables and the adjustment of the PID loop, the effectiveness of hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process proposed by the present invention is verified. It also provides a reliable engineering verification environment for other researches on the optimization control of MSWI process.





DESCRIPTION OF THE DRAWINGS

In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention, for technical personnel in this field, other drawings can also be obtained according to these drawings without paying creative labor.



FIG. 1 is the MSWI process object model of the embodiment of the present invention;



FIG. 2 is the software design structural diagram of the embodiment of the present invention;



FIG. 3 is a real equipment layer software design structural diagram of an embodiment of the present invention;



FIG. 4 is a structural diagram of virtual object layer software design in an embodiment of the present invention;



FIG. 5 is the flow chart of the operation mode ofthe embodiment of the present invention;



FIG. 6a is an interface diagram 1 of the MSWI monitoring software system according to the embodiment of the present invention;



FIG. 6b is an interface diagram 2 of the MSWI monitoring software system according to the embodiment of the present invention;



FIG. 6c is an interface diagram 3 of the MSWI monitoring software system according to the embodiment of the present invention;



FIG. 7 is an interface diagram of the software system of the MSWI actuator according to the embodiment of the present invention;



FIG. 8 is an interface diagram of the MSWI process object software system according to the embodiment of the present invention;



FIG. 9 is an interface diagram of the software system of the MSWI instrument device according to the embodiment of the present invention.





PREFERRED EMBODIMENTS

The technical scheme in the embodiment of the invention will be described clearly and completely in combination with the drawings attached in the embodiment of the invention. Obviously, the embodiments described are only partial embodiments of the invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without creative labor are within the scope of protection of the invention.


The object of the present invention is to provide hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process, which is used to provide a reliable engineering verification environment for MSWI process control.


In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.


A hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process provides by the invention, comprises: real equipment layer and virtual object layer, where in the real equipment layer and the virtual object layer realize communication through hard wirings and data acquisition cards, the real equipment layer and virtual object layer realize communication in OPC mode through Ethernet.


The real equipment layer comprises monitoring equipment and control equipment; the monitoring equipment is used to realize the monitoring of MSWI process state, download program in the control equipment and set PID loop parameters; the control equipment adopts the same controller as the actual site; the program downloaded in the controller is used to carry out loop control and variable conversion for the MSWI process.


The virtual object layer includes MSWI actuator model, MSWI instrument device models and MSWI process object models running in different industrial personal computer respectively; the object model of MSWI process is based on ensemble random forest and gradient boosting decision tree (EnRFGBDT) algorithm to predict three key controlled variables of furnace temperature (FT), flue gas oxygen content (OC) and main steam flow rate (BSF).


The MSWI actuator model simulates signals sent from the real equipment layer to transmit the MSWI process actuator variables to the MSWI process object model; the MSWI instrument device model receives the MSWI process instrument device variables obtained from the simulation of the MSWI process object model and performs simulation, and transmits to the real device layer; the MSWI process object model is established in three ways: data simulation, mechanism modeling and data-driven; by receiving MSWI process actuator variables for simulation, MSWI process instrument device variables are obtained and transmitted to the MSWI instrument device model.


Therefore, using the combination of real equipment layer and virtual object layer to build a multi-input multi-output loop control hardware-in-loop simulation experiment platform for MSWI process can avoid the lack of signal communication interruption, signal transmission delay and other problems in the traditional simulation platform, and can simulate unknown interference factors that exist in actual industrial sites.


The MSWI process object model uses the ensemble decision tree algorithm (mixed ensemble random forest and gradient boosting decision tree (EnRFGBDT) method) to build the MSWI process object model, which includes Bootstrap and Random Sub-space Method (RSM) module and model construction module, the latter includes a random forest (RF) model sub-module, a gradient boosting decision tree (GBDT) model sub-module and an average integration sub-module, as shown in FIG. 1.


The multiple-input multiple-output modeling problem is described as the following formula, and its purpose is to minimize the square root of the model prediction error, and then build a high-precision model, such as minimum samples (MinSamples), number of features (FeaturesNum), number of decision trees (Tn), and number of iterations (Iteration).










Min


F

=




1
N



(





(



y
ˆ


F

T


j
FT


-

y

F

T


j
FT



)

2


+




(



y
ˆ


O

C


j
OC


-

y
OC

j
OC



)

2


+




(



y
ˆ


B

S

F


j

B

S

F



-

y

B

S

F


j

B

S

F




)

2



)









=




1
N



(







(



1

j
FT








j
FT

=
1


J
FT




(



f

RF
-
FT


j
FT


(
·
)

+





i
FT

=
1


I
FT




f

GBDT
-
FT



j
FT

,

i
FT



(
·
)



)



-

y
FT

j
FT



)

2







+




(



1

j
OC








j
OC

=
1


J
OC




(



f

RF
-
OC


j
OC


(
·
)

+





i
OC

=
1


I
OC




f

GBDT
-
OC



j
OC

,

i
OC



(
·
)



)



-

y
OC

j
OC



)

2








+




(



1

j
BSF








j
BSF

=
1


J
BSF




(



f

RF
-
BSF


j
BSF


(
·
)

+





i
BSF

=
1


I
BSF




f

GBD
-
BSF



j
BSF

,

i
BSF



(
·
)



)



-

y
BSF

j
BSF



)

2






)












s
.
t
.


{




1



Min


Samples


<
N






1



Features


Num



M






1


T

n

<

5

0

0







1


Iterations

<

1

0

0










wherein ŷRF·FTjFT, ŷRF·OCjOC and ŷRF·BSFjBSF represent the predicted values of FT, OC and BSF in the j-th RF sub-model fRFj(□); yRF·FTjFT, yRF·OCjOC and yRF·BSFjBSF represent the real values of FT, OC and BSF in the j-th RF sub-model fRFj(□); jFT, jOC and jBSF represent the number of training subsets and RF sub-models in FT, OC and BSF models; fRF−FTjFT(⋅), fRF−OCjOC(⋅) and fRF−BSFjBSF(⋅) represent the predicted output of RF sub-model in FT, OC and BSF models, respectively; fGBDT−FTjFT,iFT(⋅), fGBDT−OCjOC,iOC(⋅) and fRF−BSFjBSF,iBSF(⋅) represent the predicted output of GBDT sub-model in FT, OC and BSF models, iFT, iOC and iBSF respectively represent the number of models of the GBDT sub-model in the FT, OC and BSF models, that is, the number of iterations.


The functions of each module in FIG. 1 are as follows:

    • (1) Bootstrap and RSM module: select MFT th input features from MSWI process data XMSWI={xn}n=1N∈RN×M, randomly sample NFT times to generate JFT training subsets {XFTjFT}jFT=1JFT;
    • (2) Model building module:
    • {circle around (1)} RF model sub-module: use the generated training subset {XFTjFT}jFT=1JFT to build the RF sub-model {fRF□FTjFT(□)}jFT=1JFT and then subtract the predicted value {ŷRF□FTjFT}jFT=1JFT from the real value {ŷFTjFT}jFT=1JFT to get the prediction error {eFTjFT,0}jFT=1JFT;
    • {circle around (2)} GBDT model sub-module: After iterating IFT times with the error {eFTjFT,0}jFT=1JFT as the training subset, a GBDT sub-model {{fGBDT□FTjFTiFT(□)}iFT=1IFT}jFT=1JFT of IFT×JFT is constructed;
    • {circle around (3)} Average integration sub-module: the prediction output of the RF sub-model {ŷRF·FTjFT,iFT}iFT=1IFT and the prediction output of the GBDT sub-model {ŷGBDT·FTjFT,iFT}iF=1IFT are integrated through a simple average to obtain the final prediction output of the FT model ŷFT.


Bootstrap and RSM Module:

First, use Bootstrap to extract a training subset with the same number of samples as the modeling data to reduce the correlation between sub-models; then, use the RSM mechanism to randomly select features; finally, generate J-th training subset containing N samples and M features (where N, M and J are selected empirically).


The generation process of the training subset can be expressed as:












X
MSWI

=



{

x
n

}


n
=
1

N



R

N
×
M








J



}



{





X

M
type

1

=


{


(

x

M
type


1
,

M
1



)

n

}


n
=
1

N













X

M
type

j

=


{


(

x

M
type


j
,

M
j



)

n

}


n
=
1

N













X

M
type

J

=


{


(

x

M
type


J
,

M
J



)

n

}


n
=
1

N












    • wherein: XMtypej is the training subset for the j-th selected number Mtype controlled variable, Mtype={FT, OC, BSF, . . . }, (xMtypej,Mj)n represents the n-th input sample of the j-th training subset, and Mj represents the number of input features included in j-th training subsets.





RF Model Sub-Module:

Remove repeated samples due to random sampling in the training subset








{


(

X
FT


j
FT

,

M

j
FT




)

n

}


n
-
1

N

,




and mark them as








{


(

x

F

T



j

F

T


,

M

j

F

T





)


n
sel


}



n
sel

=
1


N
sel


,




wherein nsel represents the sample currently selected, Nsel represents the total number of samples selected for sampling (set according to experience); then, the m-th input feature xFTjFT,m is used as a segmentation variable, and the value xFT·nseljFT,m corresponding to the nsel sample is used as the segmentation point to divide the input feature space into two regions R1FT and R2FT.






{






R
1

F

T


(

m
,

x

FT
·

n
sel




j

F

T


,
m



)

=

{


x

F

T



j

F

T


,

M
jFT







"\[LeftBracketingBar]"



x


j

F

T


,
m




x

FT
·

n
sel




j

F

T


,
m





}









R
2

F

T


(

m
,

x

FT
·

n
sel




j

F

T


,
m



)

=

{


x

F

T



j

F

T


,

M
jFT







"\[LeftBracketingBar]"



x


j

F

T


,
m


>

x

FT
·

n
sel




j

F

T


,
m





}









Based on the following criteria, the optimal segmentation variables and segmentation points are found by traversal:







min

m
,

x

FT
·

n
sel




j
FT

,
m




[




min

C
1








x
FT


j
FT

,
m





R
1
FT

(

m
,

x

FT
·

n
sel




j
FT

,
m



)





(


y
1

j

F

T



-

C
1

F

T



)

2



+



min

C
2








x
FT


j
FT

,
m





R
2
FT

(

m
,

x

FT
·

n
sel




j
FT

,
m



)





(


y
2

j
FT


-

C
2
FT


)

2




]




wherein: Y1jFT and Y2jFT represent the real values of the jFT training subset in the regions R1FT and R2FT respectively; C1FT and C2FT represent the average values of the real values in the regions R1FT and R2FT respectively.


According to the above formula, the optimal segmentation variable and segmentation point are found by traversal, thereby dividing the sample space into two regions; then, repeat the traversal of the divided regions, and then find the optimal segmentation variable and segmentation point in this region, until the number of leaf node training samples is less than the empirically set threshold θRF□FT; finally, the input feature space is divided into K regions and marked as R1, . . . , Rk, . . . , RK.


The RF sub-model based on the CART (Classification And Regression Tree) regression tree can be expressed as:








y
^


RF
·
FT


j

F

T



=



f

RF
·
FT


j
FT


(
·
)

=




k
=
1

K



c

RF
·
FT

k



I

(


x

F

T



j

F

T


,

M

j
FT






R
k


)












C

RF



FT

k

=


1

N

R
k










n

R
k


=
1



N

R
k




y

FT
·

n

R
k




j

F

T






,


N

R
k




θ

RF
·
FT







wherein NRk represents the number of samples contained in the region Rk,








y
^


RF



FT


uj
FT


=



f

RF



FT


uj
FT


(

)

=




k
=
1

K



c

RF



FT

k



I

(


x
FT


j
FT

,

M

j
FT






R
k


)












c

RF



FT

k

=


1

N

R
k









n

R
k


=
1


N

R
k




y


FT



n


R
k



j
FT





,







N

R
k




θ

RF



FT






is the nRk value of the jFT-th training subset in the region Rk; I(⋅) represents the indicator function, which is 1 when






x

F

T



j

F

T


,

M

j

F

T








∈Rk exists, otherwise it is 0.


The prediction error of the RF sub-model constructed by the training subset is:






e
FT
j

FT

,0
=y
FT
j

FT

−ŷ
RF·FT
j

FT
={(eFTjFT,0)n}n=1N


where: (eFTjFT,0)n represents the prediction error of the nth training sample. Finally, the predicted output ŷRF·FTjFT of the RF sub-model is subtracted from the true value ŷRF·FTjFT to obtain the output error {eFTjFT,0}jFT=1JFT.


GBDT Model Sub-Module:

Building the first sub-model fGBDT·FTjFT,1(⋅), which can be expressed as:












y
^


GBDT
·
FT



j
FT

,
1


=



f

GBDT
·
FT



j
FT

,
1


(

{

x
FT


j
FT

,

M

j
FT





)

n


}


n
=
1

N

,


{


(

e
FT


j
FT

,
0


)

n

}


n
=
1

N


)




wherein: ŷGBDT·FTjFT,1 represents the output of the first GBDT sub-model. The loss function for the above sub-models is defined as follows:








L

G


BDT
·
FT



(


y

j

F

T



,


y
ˆ


G


BDT
·
FT




j
FT

,
1



)

=


1
2






n
=
1

N



(



(

e
FT


j
FT

,
0


)

n

-


(


y
ˆ


G


BDT
·
FT




j
FT

,
1


)

n


)

2







wherein: (ŷGBDT·FTjFT,1)n, indicates the predicted value of the nth sample in the jFT-th training subset.


Compute Compute the output residuals eFTj,1 of the sub-model fGBDT·FTjFT,1(⋅), which can be expressed as follows:










e
FT


j
FT

,
1


=



e
FT


j
FT

,
0


-


f

GBDT
·
FT



j
FT

,
1


(
·
)








=



y
FT

j
FT


-


f

RF
·
FT


j
FT


(
·
)

-


f

GBDT
·
FT



j
FT

,
1


(
·
)








=



y
FT

j
FT


-


y
^


RF
·
FT


j
FT


-


y
^


GBDT
·
FT



j
FT

,
1










eFTjFT,1 as the truth value of the output space of the training subset in the second GBDT sub-model fGBDT·FTjFT,2(⋅). Likewise, the second GBDT sub-model can be expressed as:








y
^


GBDT
·
FT



j
FT

,
2


=


f

GBDT
·
FT



j
FT

,
2


(



{


(

x
FT


j
FT

,

M

j
FT




)

n

}


n
=
1

N

,


{


(

e
FT


j
FT

.1


)

n

}


n
=
1

N


)





where: (eFTjFT.1)n is the prediction error of the nth sample in the first GBDT sub-model.


It can be concluded that the iFT-th GBDT sub-model can be marked as fGBDT·FTjFT,iFT(⋅) and its residual is calculated as follows:











e
FT


j
FT

,

i
FT



=



y
FT

j
FT


-


f

RF
·
FT


j
FT


(
·
)

-


f

GBDT
·
FT



j
FT

,
1


(
·
)

-


,


,

-


f

GBDT
·
FT



j
FT

,

i
FT



(
·
)









=



y
FT

j
FT


-


y
^


RF
·
FT


j
FT


-


y
^


GBDT
·
FT



j
FT

,
1


-


,


,

-


y
^


GBDT
·
FT



j
FT

,

i
FT











After iteration (IFT−1) times, the true value of the output space of the training subset in the IFT−1-th sub-model is:






e
FT
j

FT

,I

FT

−1
=y
FT
j

FT

−ŷ
RF·FT
j

FT

−ŷ
GBDT·FT
j

FT

,1
−, . . . , −ŷ
GBDT·FT
j

FT

,I

FT

−, . . . , −ŷ
GBDT·FT
j

FT

,I

FT

−1


wherein: ŷGBDT·FTjFT,IFT−1 is the predicted output of the IFT−1 sub-model fGBDT·FTjFT,IFT−1(⋅).


Therefore, the IFT-th sub-model can be expressed as:








y
ˆ


GBDT
·
FT



j
FT

,

I
FT



=


f

GBDT
·
FT


j

,
FT


I
FT



(



{


(

x
FT


j

F

T


,

M

j
FT




)

n

}


n
=
1

N

,



{


(

e
FT


j

F

T


,


I

F

T


-
1



)

n

}


n
=
1

N


)





wherein: (eFTjFT,IFT−1)n represents the prediction error of the sample in IFT−1-th GBDT sub-model.


Finally, all IFT GBDT sub-models based on jFT-th training subset can be expressed as {fGBDT·FTjFT,iFT(⋅)}iFT=1 and their output can be expressed as {ŷGBDT·FTjFT,iFT}iFT=1IFT. Ensemble sub-module on average:


From the construction process of the two sub-modules, it can be concluded that the RF sub-model constructed in parallel can be expressed as {fRF·FTjFT(⋅)}jFT=1JFT, the GBDT sub-model of simultaneous cascade and parallel establishment can be expressed as








{


(


f

GBDT
·
FT



j
FT

,

i
FT



(
·
)

)



i
FT

=
1


I
FT


}



j
FT

=
1


J
FT


.




For the jFT-th training subset, this invention constructs IFT RF sub-models and IFT GBDT sub-models, and the sum of their predicted outputs is used as the overall output of the training subset, which can be expressed as:












y
^

FT

j
FT


=




y
^


RF
·
FT


j
FT


+


y
^


GBDT
·
FT



j
FT

,
1


+


,


,


+


y
^


GBDT
·
FT



j
FT

,

i
FT




+

,


,

+


y
^


GBDT
·
FT



j
FT

,


I
FT

-
1










=




y
^


RF
·
FT


j
FT


+





i
FT

=
1


I
FT





y
^


GBDT
·
FT



j
FT

,

i
FT











=




f

RF
·
FT


j
FT


(
·
)

+





i
FT

=
1


I
FT





f

GBDT
·
FT



j
FT

,

i
FT



(
·
)










Since the JFT training subsets are parallel, the above models are combined here by a simple average weighting method, and the final FT model can be expressed as:











y
^

FT

=



1

j
FT








j
FT

=
1


J
FT





y
^

FT

j
FT










=



1

j
FT








j
FT

=
1


J
FT




(



f

RF
·
FT


j
FT


(
·
)

+





i
FT

=
1


I
FT





f

GBDT
·
FT



j
FT

,

i
FT



(
·
)



)










The MSWI actuator model is represented by an inertia link with a time constant, and the feeder is taken as an example to describe as follows:








F
.

feeder

=



-

1

T
feeder





F
feeder


+



K
feeder


T
feeder





U
feeder

(

t
-
τ

)







wherein: FFeeder is the feeding speed of the feeder, Ufeeder is the frequency of the feeder motor, Tfeeder is the response time constant of the feeder, and Kfeeder is the ratio between the frequency of the motor of the feeder and the feeding speed of the feeder in the steady state, τ is the lag time.


At the same time, since the real equipment layer and the industrial personal computer equipped with the MSWI actuator model can only be transmitted through electrical signals, it is necessary to establish signal conversion, and the conversion formula is:







P
true
A

=




P
max
A

-

P
min
A




U
max
A

-

U
min
A



*

U
true
A






wherein: PmaxA is the upper limit of the actuator variable with a physical value, PminA is the lower limit of the actuator variable with a physical value, UmaxA is the upper limit of the voltage signal output after the actuator variable is converted, UminA is the lower limit of the voltage signal output after the actuator variable conversion, UtrueA is the actual value of the electrical signal of actuator variable, PtrueA is the current actual value of the actuator variable with a physical value.


The MSWI instrument device model is approximated by a proportional link, and the primary air flowmeter is used as an example to describe as follows:








Q
.

pri

=



-

1

T
pri





Q
pri


+



K
pri


T
pri




U
pri







wherein: Qpri is the primary air flow per unit time, Upri is the primary air valve opening, Tpri is the primary air volume response time constant, and Kpri is the proportional relationship between the primary air valve opening and the primary air flow per unit time in steady state.


At the same time, since the real equipment layer and the industrial personal computer equipped with the MSWI instrument device model can only be transmitted through electrical signals, it is necessary to establish signal conversion, and the conversion formula is:







U
true
I

=




U
max
I

-

U
min
I




P
max
I

-

P
min
I



*

P
true
I






wherein: PmaxI is the upper limit of the instrument variable, PmaxI is the lower limit of the instrument variable, UmaxI is the upper limit of the voltage signal output after the instrument variable conversion, UminI is the lower limit of the voltage signal output after the instrument variable conversion, UtrueI is the current real value of the instrument variable electrical signal, and PtrueI is the actual current value of an instrument variable with a physical value.


The hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process provided by the present invention has a software design structure as shown in FIG. 2. The real equipment layer includes MSWI monitoring software system and MSWI loop control software system, and the virtual object layer includes MSWI actuator model software system, MSWI instrument device models software system, and MSWI process object models software system, each of which is installed in the equipment with the OPC environment. The OPC environment configuration method is as follows: configure the distributed component object model (distributed component object model, DCOM) for the device according to the running distribution package provided by the OPC foundation; create a new OPC user, and grant this user the right to run and use the operating system DCOM program; Modify the rules of the operating system firewall (Firewall) about DCOM and OPC, open DCOM access rights; create OPC program inbound rules; configure DCOM security attributes; configure local security policies, so as to realize the data transmit between devices in the platform.


The software design structure diagram of the real equipment layer is shown in FIG. 3. The real equipment layer consists of MSWI monitoring software system and the MSWI loop control software system. The MSWI monitoring software system includes incineration process interface, grate status interface, FGD (Flue Gas Desulphurization) processing interface, and parameters setting interface, etc.; MSWI loop control software system includes variable conversion function, PID loop function, OPC communication function, etc.


The OPC client developed in MSWI monitoring software system receives MSWI process variable values sent to the OPC Server in real time during MSWI operation process, and displays all process variables graphically on the incineration process interface, grate status interface, etc., to realize monitoring function during the whole MSWI process. At the same time, it also has the MSWI process loop parameter setting function, which can set and modify the parameters of the MSWI process loop according to production requirements, production indicators and expert experience.


MSWI loop control software system is mainly composed of the MSWI process loop control program, which is downloaded to the controller. The software system communicates with the virtual object layer by receiving and sending electrical signals and using the variable conversion function; at the beginning of operation, it adjusts the parameters for the designed PID loop, and the parameters of the PID loop can be adjusted during the subsequent operation. Real-time changes through the MSWI monitoring software system to meet the requirements of different operating conditions. By receiving the signal returned by the software system of the MSWI instrument device, the variable value of the MSWI process instrument device is obtained, and the loop is adjusted according to the PID loop parameters based on the error between the actual measured value and the set value, and a signal is sent to the relevant actuator to generate a signal. It is used for MSWI object software system to carry out simulation until the tracking of the target actual measurement value to the set value is realized.


The software design structure diagram of the virtual object layer is shown in is FIG. 4. The virtual object layer is composed of the MSWI actuator software system, the MSWI object software system and the MSWI instrument device software system. Among them: the MSWI actuator software system includes the board configuration interface, OPC configuration interface, solid waste incineration 1 interface, etc.; MSWI object software system includes OPC configuration interface, mechanism model interface, digital drive model interface, etc.; MSWI instrument device software system includes board card configuration interface, OPC configuration interface, solid waste incineration 1 interface, waste heat boiler interface etc.


The data acquisition card driver calling function is developed in the MSWI actuator software system, which receives the electrical signal sent by the real equipment layer to the local, and at the same time converts it into the MSWI process actuator variable with actual physical meaning according to the variable relationship and the actuator model value; the Echarts chart developed by JavaScript is displayed on the front-end interface, and written to the OPC Server by using the OPC write function.


MSWI object software system is equipped with OPC Server to realize the signal transmission with the MSWI actuator software system and the MSWI instrument device software system. The OPC Server contains 146 points labels that are involved in the MSWI running which can be added as required.


MSWI process objects can be simulated in various ways according to the requirement, the software system has developed a model selection function that through the interface of the mechanism model and the interface of the digital drive model, the simulation mode of the MSWI process object can be selected and related parameters can be set; at the same time, the OPC Client is developed in order to realize the communication function, the Client uses the OPC read function to read the variable value of the MSWI process actuator in the OPC Server, and converts it according to the selected model requirements to perform a simulation; uses the OPC write function to output the variable value of the MSWI process instrument device. The value is written into the OPC Server and displayed on the foreground interface. It includes a database developed by MySQL to realize the storage of process data during MSWI operation and the later visual display.


In the MSWI instrument software system, the OPC Client is developed to realize the data communication with the MSWI object software system, and the OPC reading function is used to read the process variable value of the MSWI process instrumentation device in the OPC Server, and the Echarts chart developed by JavaScript is displayed on the front interface; then according to the variable relationship and the model of the instrument device, it is converted into an electrical signal, and at the same time, the driver of the data acquisition card is called to transmit the electrical signal back to the real equipment layer.



FIG. 5 shows the operation mode of the hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process. Firstly, through the MSWI monitoring software system, the OPC data communication method is used for graphical display and the setting of loop parameters (such as KP, KI, KD and set values in the PID loop); then, the MSWI loop control software system uses Ethernet to receive the loop parameters in the MSWI process monitoring software system for adjustment, and the output results of the PID loop are transmitted in the form of electrical signals; then, the MSWI actuator software system calls the data acquisition card to convert the electrical signals into actual physical meanings according to the actuator model. The value of the process variables are written into the OPC Server, and at the same time displayed on the front interface in the form of the Echarts dashboard; after that, the MSWI object software system uses the variable values of the MSWI process actuator in the OPC Server to simulate the object, and the obtained MSWI process instrument device variable values (such as temperature, oxygen content, etc.) are written to the OPC Server and displayed on the front interface, and the running process data is saved to the MySQL database for subsequent use; finally, the MSWI instrument device software system receives the MSWI data in the OPC Server. The variable values of the process instrument device are converted into electrical signals by calling the data acquisition card according to the instrument device model, and then transmitted to the MSWI loop control system, and at the same time, the process variable value of the MSWI process instrument device with actual physical meaning is displayed to the foreground in the form of an Echarts dashboard in the interface. If the actual measured value does not track the set value at this time, the loop adjustment is performed in the MSWI loop control system, and the above process is repeated until the actual measured value realizes the tracking of the set value.


The hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process provided by the invention is composed of four industrial personal computers and one controller. MSWI monitoring software system, MSWI object software system, MSWI actuator software system and MSWI instrument device software system run in an industrial personal computer respectively, configured as I5-6500 CPU, 8 GB memory and 64-bit Windows 7 professional edition system. At the same time, data acquisition cards are added to the industrial personal computer run by the MSWI actuator software system and the MSWI instrument device software system to realize the signal transmission between the platforms. The MSWI loop control software system is downloaded in the controller, which consists of 4 air switches, 1 DC power supply, 1 communication modules, 1 CPU module, 6 analog 8-input 8-output modules, 3 analog 16 input module, 3 analog 16 output modules, 5 digital input and output modules and 9 board terminal boards.


In order to verify the validity of the simulation experiment platform of the present invention, the setting of furnace temperature loop, flue gas oxygen content loop and main steam flow loop in MSWI process is verified: the MSWI monitoring software system interface is shown in FIG. 6a-6c, at the beginning of the operation of the simulation experiment platform, loop parameters were set according to the furnace temperature, flue gas oxygen content and main steam flow rate. After the operation started, FIG. 6a showed the current running state of the MSWI simulation process. FIG. 6b shows PID loop parameter setting and tracking effect, and FIG. 6c shows the trend chart of main process variables in MSWI simulation.


The foreground interface of the MSWI actuator software system is shown in FIG. 7. The data acquisition card driver is called in real time to receive the electrical signal issued by the MSWI loop control software system, and the MSWI process is output according to the actuator model. The mechanism process variable value is written into the OPC Server and displayed on the foreground interface at the same time; the foreground interface of the MSWI object software system is shown in FIG. 8. After receiving the value of the process variable value of the MSWI process actuator in the OPC Server, the variable conversion is performed. The Matlab object model embedded with offline training is used for simulation to obtain the process variable values of the MSWI process instrument device, and the simulation results are written into the OPC Server and displayed on the front interface at the same time; the software system of the MSWI instrument device is shown in FIG. 9, receiving the process variable value of the MSWI process instrument device in the OPC Server, and displayed on the front interface, at the same time, it is converted into an electrical signal according to the model of the instrument device, and then sent back to the MSWI loop control software system by hard wirings.


The above experimental results show that the hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process proposed by the present invention can realize the effective transmission of signals between platform, and satisfies the real-time tracking between the actual simulation value and the set value in the three designed loops after the PID loop adjustment.


The hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process provided by the present invention installs the MSWI actuator model and the MSWI instrument device model in two industrial personal computers respectively, to realize the signal transmission between the loop control system and the actuator and the instrument device by using the data acquisition card. The type of signal transmission in the field is simulated truly, avoiding the unknown factors in the field such as lack of signal transmission interruption and signal interference in the traditional simulation experiment platform. By modeling three key controlled process variables and adjusting PID loop, the effectiveness of the proposed hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process is verified. It also provides a reliable engineering verification environment for other research on MSWI process optimization control.


In the invention, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help to understand the method of the present invention and its core idea. At the same time, for the general technical personnel in this field, there will be changes in the specific implementation mode and application range according to the idea of the invention. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims
  • 1. A hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process, comprising: a real equipment layer and a virtual object layer, wherein communication between the real equipment layer and the virtual object layer is realized through hard wirings and data acquisition cards, communication in the real equipment layer and in the virtual object layer is realized in OPC mode through Ethernet; the real equipment layer comprises monitoring equipment and control equipment; the monitoring equipment is used to realize the monitoring of MSWI process state, download program in the control equipment and set PID loop parameters; the control equipment adopts the same controller as the actual site; the program downloaded in the controller is used to carry out loop control and variable conversion for the MSWI process;the virtual object layer includes MSWI actuator models, MSWI instrument device models and MSWI process object models running in different industrial personal computer respectively; the object model of MSWI process is based on ensemble decision tree algorithm to predict three key controlled variables of furnace temperature (FT), flue gas oxygen content (OC) and main steam flow rate (BSF);the MSWI actuator model simulates signals sent from the real equipment layer to transmit the MSWI process actuator variables to the MSWI process object model; the MSWI instrument device model receives the MSWI process instrument device variables obtained from the simulation of the MSWI process object model and performs simulation, and transmits to the real device layer; the MSWI process object model is established in three ways: data simulation, mechanism modeling and data-driven; by receiving MSWI process actuator variables for simulation, MSWI process instrument device variables are obtained and transmitted to the MSWI instrument device model.
  • 2. The hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process according to claim 1, wherein the data acquisition card adopts an Advantech board.
  • 3. The hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process according to claim 1, wherein the MSWI actuator model is expressed by first-order transfer function model with time delay, a signal conversion is established between the real equipment layer and the industrial computer equipped with the MSWI actuator model, which can be expressed as:
  • 4. The hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process according to claim 1, wherein, when the MSWI actuator model is a feeder, it can be described as follows:
  • 5. The hardware-in-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process according to claim 1, wherein the MSWI instrument is expressed by first-order transfer function model, a signal conversion is established between the real equipment layer and the industrial computer equipped with the model of MSWI instrument device, which can be expressed as:
  • 6. The hardware-in-the-loop simulation experiment platform of multiple input and multiple output loop control for MSWI process according to claim 5, wherein when the MSWI instrument device model is primary air flowmeter, it can be described below:
Priority Claims (1)
Number Date Country Kind
202111333717.4 Nov 2021 CN national
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of international application PCT/CN2022/127860 filed on Oct. 27, 2022, which claims priority to Chinese application No. 202111333717.4, filed on Nov. 11, 2021, the contents of the above identified applications are hereby incorporated by reference in its entirety and made a part of this specification.

Continuations (1)
Number Date Country
Parent PCT/CN2022/127860 Oct 2022 US
Child 18201578 US