WO2022121923A1 - Smart modelling method and apparatus of complex industrial process digital twin system, device, and storage medium - Google Patents

Smart modelling method and apparatus of complex industrial process digital twin system, device, and storage medium Download PDF

Info

Publication number
WO2022121923A1
WO2022121923A1 PCT/CN2021/136323 CN2021136323W WO2022121923A1 WO 2022121923 A1 WO2022121923 A1 WO 2022121923A1 CN 2021136323 W CN2021136323 W CN 2021136323W WO 2022121923 A1 WO2022121923 A1 WO 2022121923A1
Authority
WO
WIPO (PCT)
Prior art keywords
model
deep learning
online
parameters
industrial process
Prior art date
Application number
PCT/CN2021/136323
Other languages
French (fr)
Chinese (zh)
Inventor
柴天佑
王维洲
Original Assignee
东北大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 东北大学 filed Critical 东北大学
Publication of WO2022121923A1 publication Critical patent/WO2022121923A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/048Activation functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/049Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the invention belongs to the technical field of industrial artificial intelligence, and in particular relates to an intelligent modeling method, device, equipment and storage medium of a complex industrial process digital twin system.
  • the mechanism models of these industrial processes have the following complexities: the models contain nonlinear terms between input and output variables, multivariable strong coupling , unknown frequently changing disturbances, unknown structure of some models, unknown order of input and output variables, and unknown dynamic characteristics of changes. Therefore, the existing system identification methods based on mechanism models cannot establish dynamic models of these industrial processes.
  • the interaction of material flow, information flow, and energy flow in the production process makes the dynamic characteristics of these industrial processes change unknown with the production time, resulting in the input and output data of these processes being changed, open, and uncertain Therefore, the existing deep learning technology in the complete information space cannot establish the dynamic model of these industrial processes.
  • the present invention aims to solve one of the technical problems in the related art at least to a certain extent.
  • the technical scheme of the present invention is as follows:
  • An intelligent modeling method for a complex industrial process digital twin system comprising the following steps:
  • the mechanism model includes an identifiable model and an unmodeled dynamic part
  • the identification model error is the model output error caused when the parameters in the identifiable model are replaced by their identification values.
  • the intelligent model of the unknown nonlinear dynamic system includes an offline deep learning model, an online deep learning model, a deep learning correction model and a self-correction mechanism; LSTM is used to establish the offline deep learning model;
  • the online deep learning model is established with the same structure as the deep learning model;
  • the deep learning correction model is established with the same structure as the offline deep learning model;
  • the connection weight parameters and bias parameters of the deep learning correction model are used to correct the connection weight parameters and bias of the online deep learning model parameter; wherein, the historical data used by the deep learning correction model is more than the historical data used by the online deep learning model.
  • both the online deep learning model and the deep learning correction model include an input layer, a hidden layer, a fully connected layer and an output layer; the connection weight parameters of the hidden layer in the online deep learning model are fixed. and bias parameters, and online correction of the connection weight parameters and bias parameters of the fully connected layer in the online deep learning model; online training of the hidden layer and the fully connected layer in the deep learning correction model
  • the connection weight parameters and bias parameters of the hidden layer of the deep learning correction model replace the connection weight parameters and bias parameters of the hidden layer in the online deep learning model, and the full value of the deep learning correction model is used.
  • the connection weight parameters and bias parameters of the connection layer replace the connection weight parameters and bias parameters of the fully connected layer in the online deep learning model.
  • the complex industrial process is an fused magnesia smelting process.
  • An intelligent modeling device for a complex industrial process digital twin system comprising:
  • the mechanism model modeling module is used to establish a mechanism model of a complex industrial process, and the mechanism model includes two parts: an identifiable model and an unmodeled dynamic;
  • a parameter identification module for estimating the parameters of the identifiable model to obtain an identification model
  • an unknown nonlinear dynamic acquisition module used for using the identified model error and the unmodeled dynamic to form an unknown nonlinear dynamic system
  • an intelligent model modeling module of an unknown nonlinear dynamic system used for establishing an intelligent model of the unknown nonlinear dynamic system
  • a digital twin system intelligent model modeling module used for establishing an intelligent model of the complex industrial process digital twin system by using the identification model and the intelligent model of the unknown nonlinear dynamic system;
  • the identification model error is the model output error caused when the parameters in the identifiable model are replaced by their identification values.
  • the unknown nonlinear dynamic system intelligent model modeling module includes an offline deep learning model modeling module, an online deep learning model modeling module, a deep learning calibration model modeling module and a self-calibration module; the offline depth The learning model modeling module adopts LSTM to build the offline deep learning model; the online deep learning model modeling module adopts the same structure as the offline deep learning model to build the online deep learning model; the deep learning correction model builds the online deep learning model.
  • the model module adopts the same structure as the offline deep learning model to establish the deep learning correction model; the self-correction module, the output of the intelligent model of the complex industrial process digital twin system and the actual output of the complex industrial process When the error between them is greater than the set threshold, a self-correction mechanism is used to correct the connection weight parameters and bias parameters of the online deep learning model with the connection weight parameters and bias parameters of the deep learning correction model; wherein, the The deep learning correction model uses more historical data than the online deep learning model.
  • the online deep learning model and the deep learning correction model include an input layer, a hidden layer, a fully connected layer and an output layer;
  • the online deep learning model modeling module is fixed in the online deep learning model
  • the connection weight parameters and bias parameters of the hidden layer, and the connection weight parameters and bias parameters of the fully connected layer in the online deep learning model are corrected online;
  • the deep learning correction model modeling module is trained online
  • the self-correction module in the output of the intelligent model of the complex industrial process digital twin system, is the same as the
  • a self-correction mechanism is used to replace the connection weight parameters and bias parameters of the hidden layer of the deep learning correction model in the online deep learning model.
  • the connection weight parameters and bias parameters of the hidden layer are replaced by the connection weight parameters and bias parameters of the fully connected layer of the deep learning correction model to replace the connection of the fully connected layer in the online deep learning model weight parameters and bias
  • the complex industrial process is an fused magnesia smelting process.
  • a device for realizing an intelligent modeling method for a digital twin system of a complex industrial process including: terminal-side sub-devices, edge-side sub-devices, and cloud-side sub-devices;
  • the terminal-side sub-device is used to obtain the input data of the online deep learning model and the deep learning correction model;
  • the edge side sub-device is used to run the identification model and the online deep learning model
  • the cloud side sub-device is used to run the deep learning correction model
  • the terminal-side sub-device is a process control system of the complex industrial process
  • the edge-side sub-device is an edge computing device
  • the cloud-side sub-device is an industrial cloud.
  • a computer-readable storage medium storing a computer program, when the program is executed by a processor, realizes the above-mentioned intelligent modeling method for a digital twin system of a complex industrial process.
  • the invention combines the system identification method based on the mechanism model with the deep learning method based on big data, adopts the terminal-edge-cloud collaboration method, establishes the intelligent model of the digital twin system of the complex industrial process, and solves the problem of the construction of the digital twin system of the complex industrial process.
  • the model problem is improved, and the modeling accuracy is improved.
  • Fig. 1 is the realization flow chart of the intelligent modeling method of complex industrial process digital twin system according to the embodiment of the present invention
  • Fig. 2 is the realization flow chart of the intelligent modeling method of the digital twin system of the fused magnesia smelting process according to an embodiment of the present invention
  • FIG. 3 is a structural diagram of an LSTM network according to an embodiment of the present invention.
  • FIG. 4 is a node diagram of an LSTM unit according to an embodiment of the present invention.
  • Fig. 5 is the variation curve of the error with the number of neurons of an embodiment of the present invention.
  • Fig. 6 is the variation curve of the error with the number of element nodes of an embodiment of the present invention.
  • Fig. 7 is the variation curve of the error with the number of network layers of an embodiment of the present invention.
  • Fig. 8 is the variation curve of the error with the length of the time series window according to an embodiment of the present invention.
  • FIG. 9 is a structural diagram of a digital twin system of an fused magnesia smelting process according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an apparatus for intelligent modeling of a complex industrial process digital twin system according to an embodiment of the present invention.
  • Fig. 1 is the realization flow chart of the complex industrial process digital twin system intelligent modeling method of the embodiment of the present invention, and the method comprises the following steps:
  • S1 Establish a mechanism model of a complex industrial process, the mechanism model includes an identifiable model and an unmodeled dynamic part.
  • an unknown constant F is used to represent a nonlinear function F( ⁇ ) whose model parameters are unknown changes, and a new variable is used.
  • F( ⁇ ) a nonlinear function
  • V( ) the unknown nonlinear function
  • the mechanism models of complex industrial processes can be represented by identifiable models and unmodeled dynamics.
  • the input and output data u i (k) and y i (k) of the process are used to obtain new variable data representing the nonlinear term between the input and output Use input and output data ui (k), yi (k) and new variable data
  • the identification algorithm is used to estimate the parameters of the identifiable model, so as to obtain the identification model.
  • the identification model error is the model output error caused when the parameters in the identifiable model are replaced by their identification values.
  • f is a nonlinear function of unknown change
  • y i (k) is the ith phase output of the mechanism model at time k
  • u i (k) is the ith phase input of the mechanism model at time k
  • n is the order of the unknown nonlinear dynamic system.
  • the intelligent model of the unknown nonlinear dynamic system includes an offline deep learning model, an online deep learning model, a deep learning correction model and a self-correction mechanism.
  • the multi-layer long and short-term memory network LSTM is used, the input variable in formula (1) is selected as the input of a single neuron, the order n is used as the number of neurons, v(k) is used as the label data, and the input of formula (1) is used.
  • the output data constitutes a large data sample, and a training algorithm is used to make the error ⁇ v (k) between the label data v (k) and the output v (k) of the offline deep learning model as small as possible, and determine the number of neurons in the offline deep learning model.
  • the number n the number of unit nodes h of the LSTM, the number of layers of the neural network L, the connection weight parameters and bias parameters of each layer, so as to establish an offline deep learning model.
  • the online deep learning model is established with the same structure as the offline deep learning model, that is, the online deep learning model is established by using LSTM, and the number of neurons, unit nodes and neural network layers of the online deep learning model are the same as those of the offline deep learning model.
  • the same is true for deep learning models.
  • the initial value of the connection weight parameter and bias parameter of each layer of the online deep learning model adopts the connection weight parameter value and bias parameter of the corresponding layer of the offline deep learning model, and the connection weight parameter and the bias parameter of the hidden layer in the online deep learning model are fixed.
  • Bias parameter using the real-time updated input data and label data of the time series window length N to correct the connection weight parameters and bias parameters of the fully connected layer of the online deep learning model, where the time series window length N is obtained through training Algorithm to make the labeled data v(k) with the output of the online deep learning model
  • the error ⁇ v(k) is as small as possible.
  • a deep learning correction model is established. That is, LSTM is used to establish a deep learning correction model, and the number of neurons, unit nodes and neural network layers of the deep learning correction model are the same as those of the offline deep learning model.
  • the input data and output data of formula (1) at the current moment and all previous moments are used as the input data and label data of the deep learning correction model, and all the connection weight parameters and bias parameters of each layer of the deep learning correction model are trained.
  • the upper bound of the error interval set by the self-correction mechanism is ⁇ .
  • the deep learning correction model is used for each error.
  • the connection weight parameters and bias parameters of the layers replace the connection weight parameters and bias parameters of the corresponding layers of the online deep learning model.
  • the input data of the online deep learning model and the deep learning correction model are obtained by the end-process control system, the online deep learning model runs on the edge-edge computing device, and the deep learning correction model runs on the cloud-industrial cloud.
  • S5 Use the identification model and the intelligent model of the unknown nonlinear dynamic system to establish the intelligent model of the digital twin system of the complex industrial process.
  • the intelligent modeling method of the complex industrial process digital twin system can be used in the fused magnesia smelting process.
  • the fused magnesia smelting process is a strong nonlinear and strong coupling industrial process with the rotation direction and frequency of the three-phase motor as the input and the three-phase electrode current as the output.
  • the submerged arc method is adopted in the smelting process, and the material is fed while melting.
  • the height of the molten pool changes with the continuous addition and melting of the raw ore, the length of the raw ore particles and the change of the impurity composition.
  • the resistivity of the molten pool changes with the temperature of the melt, the length of the raw ore particles and Changes in impurity composition. Therefore, the model order of the melting current dynamic model is unknown and the dynamic characteristics change is unknown, so the mathematical model cannot be established by the system identification method based on the mechanism model.
  • the input and output data of this process are in a changing, open and uncertain information space, so it is impossible to use the existing deep learning technology of complete information space to establish its dynamic model.
  • Fig. 2 is the realization flow chart of the intelligent modeling method of the digital twin system of the fused magnesia smelting process of an embodiment of the present invention, and the method comprises the following steps:
  • S1' Establish the electrode current mechanism model in the smelting process of fused magnesia, and represent the mechanism model with an identifiable model and an unknown nonlinear function.
  • the material is added while melting, and the molten pool is continuously increased with the continuous addition and melting of the raw ore.
  • the relationship between is:
  • y i (t) is the electrode current of the i-th phase at time t
  • y is the optimal melting current
  • k h (y, y i (t)) is the conversion coefficient between the cumulative feeding amount and the height of the molten pool, the The conversion coefficient changes with the fluctuation of the electrode current y i (t) around the optimal melting current y
  • m 0 is the initial feeding amount
  • B 1 is the length of the raw ore particle
  • B 2 is the impurity composition of the raw ore
  • km (B 1 , B 2 ) is the conversion coefficient between the electric vibration frequency and the feeding speed, and the conversion coefficient changes with the changes of B 1 and B 2
  • the current control system adjusts the distance between the electrode and the molten pool by dragging the motor, so that the electrode current stably tracks the optimal melting current setting value to melt the diamond.
  • Magnesium Ore In the smelting process of fused magnesia, the electrode current dynamic mechanism model with the rotation direction and frequency u i (t) of the motor as the input and the electrode current y i (t) as the output is as follows:
  • Li is the self-inductance of the i-th phase circuit
  • F i ( ) is the unknown nonlinear function of the i-th phase circuit
  • s is the motor rotation difference ratio
  • r d is the equivalent gear radius of the lifting mechanism
  • p is the number of pole pairs of the motor
  • g 0 is the arc conductivity constant
  • ra is the arc column radius
  • T 0 is the gas ionization temperature constant
  • T 1 is the arc gap temperature
  • u i (t) is the motor rotation direction and frequency of the i-th phase circuit
  • U i is the phase voltage of the i-th phase circuit, is the influence of the three-phase circuit coupling on the i-th phase current.
  • ⁇ h ie ( ⁇ ) is the change of electrode height when the electrode is subjected to the electromagnetic force generated by the feeding disturbance and the changing mutual inductance ; changes; f 0 is the proportional coefficient of the molten pool resistance; S is the cross-sectional area of the molten pool.
  • M 12 ( ) is the mutual inductance between A and B-phase circuits
  • M 13 ( ) is the mutual inductance between A and C-phase circuits
  • M 23 ( ) is the mutual inductance between B and C-phase circuits
  • M 12 ( ⁇ ), M 13 ( ⁇ ) and M 23 ( ⁇ ) vary with the addition and melting of raw ore and the change of melt temperature.
  • equation (5) can be expressed as:
  • the unknown nonlinear function V i (k) is used to represent the unknown part of the model structure and the unknown order of the input and output variables, the unknown disturbance, the coupling of the unknown change and the dynamic characteristics of the unknown change, let Substitute Qi and (13) into equation (12), so that the electrode current mechanism model (12) in the smelting process of fused magnesia can be expressed as:
  • V i (k) is:
  • the new variable data representing the nonlinear term between the input and output in the formula (14) is obtained from the formula (13).
  • the parameter Q i in the identifiable model (14) is estimated by the least square identification algorithm, and its estimated value is obtained for:
  • S3' construct an unknown nonlinear dynamic system vi ( k) by using the identification model error and the unknown nonlinear function V i (k), and express the mechanism model as the sum of the output of the identification model and the output of the unknown nonlinear dynamic system.
  • v i (k) can be represented by an unknown variable nonlinear function f i , namely:
  • the current mechanism model of the fused magnesia smelting process can be expressed as the output of the identification model and the output of the unknown nonlinear dynamic system v i (k), namely:
  • the intelligent model consists of an offline deep learning model, an online deep learning model, a deep learning correction model and a self-correction mechanism.
  • the number of nodes of a single neuron in LSTM be h
  • the number of network layers is L
  • the current moment is time k
  • the output of the n i neuron in the n l layer is Figure 4 shows the cell node diagram of the LSTM.
  • the output of the n i neuron in layer 1 for:
  • represents the multiplication of elements at the corresponding positions of the two vectors;
  • is the output gate output is the state of the LSTM unit, as shown in the following formula:
  • the output of the n i neuron in the n l layer is the same as the output of the n i neuron in the first layer shown in equations (24) to (26), the difference lies in the weight matrix and The dimension of is h ⁇ (h+h), the input of the n i neuron is the output of the n i neuron in the n l -1 layer, namely:
  • W d ⁇ R 3 ⁇ h and b d ⁇ R 3 are the weights and biases of the fully connected layer.
  • LSTM is used to establish an online deep learning model, and the number of neurons, unit nodes and neural network layers of the online deep learning model are the same as those of the offline deep learning model.
  • the connection weight parameters of each layer of the online deep learning model and The initial value of the bias parameter adopts the connection weight parameter value and bias parameter of the corresponding layer of the offline deep learning model, and the connection weight parameter and bias parameter of the 1st to 7th layers in the online deep learning model are fixed, and the time series window length is used.
  • W d (k) ⁇ R 3 ⁇ h and b d (k) ⁇ R 3 are the weights and biases of the fully connected layer, is the output of the third neuron in the seventh layer.
  • the updated dataset is for:
  • the output of the electrode current intelligent model is obtained.
  • the error between the actual value y i (k+1) of the electrode current in the smelting process of fused magnesia When , all connection weight parameters and bias parameters of each layer of the deep learning correction model are used to correct the connection weight parameters and bias parameters of the corresponding layers of the online deep learning model.
  • the input data of the online deep learning model and the deep learning correction model are obtained by the end-PLC control system of the fused magnesia smelting process. Industrial cloud runs.
  • the electrode current intelligent model of the digital twin system of the fused magnesia smelting process is:
  • the identification model is output Intelligent model output with unknown nonlinear dynamic systems
  • the two current models established by addition are compared, and the model outputs are respectively and and and They are obtained from equations (17) and (34), respectively.
  • the performance evaluation indicators root mean square error (RMSE) and mean absolute percentage error (MAPE) shown in equations (41) and (42) are used to evaluate the model accuracy. The results are shown in Table 1.
  • N 0 300 is the number of time steps
  • y i (k) is the real value
  • Output values for the model are the real values
  • an intelligent modeling device for a digital twin system of a complex industrial process including: a mechanism model modeling module, a parameter identification module, an unknown nonlinear dynamic acquisition module, an unknown nonlinear dynamic
  • the system intelligent model modeling module and the digital twin system intelligent model modeling module including:
  • the mechanism model modeling module is used to establish a mechanism model of a complex industrial process, and the mechanism model includes two parts: an identifiable model and an unmodeled dynamic;
  • the parameter identification module is used for estimating the parameters of the identifiable model to obtain the identification model
  • the unknown nonlinear dynamic acquisition module is used for using the identified model error and the unmodeled dynamic to form an unknown nonlinear dynamic system
  • the unknown nonlinear dynamic system intelligent model modeling module is used to establish the intelligent model of the unknown nonlinear dynamic system
  • the digital twin system intelligent model modeling module is used to establish the intelligent model of the complex industrial process digital twin system by using the identification model and the intelligent model of the unknown nonlinear dynamic system;
  • the identification model error is the model output error caused when the parameters in the identifiable model are replaced by their identification values.
  • the unknown nonlinear dynamic system intelligent model modeling module includes an offline deep learning model modeling module, an online deep learning model modeling module, a deep learning calibration model modeling module and a self-calibration module; the offline depth The learning model modeling module adopts LSTM to build the online deep learning model; the online deep learning model modeling module adopts the same structure as the offline deep learning model to build the online deep learning model; the deep learning correction model builds the online deep learning model.
  • the model module adopts the same structure as the offline deep learning model to establish the deep learning correction model; the self-correction module, the output of the intelligent model of the complex industrial process digital twin system and the actual output of the complex industrial process When the error between them is greater than the set threshold, a self-correction mechanism is used to correct the connection weight parameters and bias parameters of the online deep learning model with the connection weight parameters and bias parameters of the deep learning correction model; wherein, the The deep learning correction model uses more historical data than the online deep learning model.
  • both the online deep learning model and the deep learning correction model include an input layer, a hidden layer, a fully connected layer and an output layer; the online deep learning model modeling module fixes the online deep learning connection weight parameters and bias parameters of the hidden layer in the model, and online correction of the connection weight parameters and bias parameters of the fully connected layer in the online deep learning model; the deep learning correction model modeling module The connection weight parameters and bias parameters of the hidden layer and the fully connected layer in the deep learning correction model are trained online; the self-correction module, in the output of the intelligent model of the complex industrial process digital twin system, is the same as the When the error between the actual outputs of the complex industrial process is greater than a set threshold, a self-correction mechanism is used to replace the online deep learning model with the connection weight parameters and bias parameters of the hidden layer of the deep learning correction model The connection weight parameters and bias parameters of the hidden layer in the deep learning correction model are used to replace the fully connected layer in the online deep learning model with the connection weight parameters and bias parameters of the fully connected layer of the deep learning correction model.
  • the complex industrial process is an fused magnesia smelting process.
  • Each module in the above-mentioned intelligent modeling device for a digital twin system of a complex industrial process can be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a device for implementing the intelligent modeling method for a digital twin system of a complex industrial process in the above embodiments including: terminal-side sub-devices, edge-side sub-devices, and cloud-side sub-devices;
  • the terminal side sub-device is used to obtain the input data of the online deep learning model and the deep learning correction model;
  • the edge side sub-device is used to run the identification model and the online deep learning model;
  • the cloud side The sub-device is used for running the deep learning correction model;
  • the terminal-side sub-device is a process control system of the complex industrial process, the edge-side sub-device is an edge computing device, and the cloud-side sub-device is an industrial cloud.
  • a computer-readable storage medium which stores a computer program, and when the program is executed by a processor, realizes the intelligent modeling method for a digital twin system of a complex industrial process in each of the foregoing embodiments.
  • the intelligent modeling method, device and equipment for a complex industrial process digital twin system proposed in the embodiments of the present invention are aimed at the problem that the accuracy of the complex industrial process digital twin system is difficult to guarantee.
  • an intelligent model of the complex industrial process digital twin system is established, which solves the modeling problem of the complex industrial process digital twin system and improves the modeling accuracy.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • Feedback Control In General (AREA)

Abstract

A smart modelling method and apparatus of a complex industrial process digital twin system, a device, and a storage medium. The smart modelling method of the complex industrial process digital twin system comprises: establishing a mechanism model of a complex industrial process, the mechanism model comprising the two parts of an identifiable model and unmodelled dynamics; estimating parameters of the identifiable model to obtain an identification model; using the error of the identification model and the unmodelled dynamics to form an unknown nonlinear dynamic system; establishing a smart model of the unknown nonlinear dynamic system; and using the identification model and the smart model of the unknown nonlinear dynamic system to establish a smart model of the complex industrial process digital twin system; the error of the identification model is a model output error caused when the parameters in the identifiable model are replaced with identification values thereof. Aimed at the problem of the difficulty of ensuring the precision of a complex industrial process digital twin system, a mechanism model-based system identification method is combined with a big data-based deep learning method, and an end-side cloud collaboration mode is used to establish a smart model of the complex industrial process digital twin system, solving the modelling problem of complex industrial process digital twin systems and increasing the modelling precision.

Description

复杂工业过程数字孪生系统智能建模方法、装置、设备及存储介质Intelligent modeling method, device, equipment and storage medium for complex industrial process digital twin system 技术领域technical field
本发明属于工业人工智能技术领域,尤其涉及复杂工业过程数字孪生系统的智能建模方法、装置、设备及存储介质。The invention belongs to the technical field of industrial artificial intelligence, and in particular relates to an intelligent modeling method, device, equipment and storage medium of a complex industrial process digital twin system.
背景技术Background technique
钢铁、冶金、选矿、石化、电力等流程工业中存在着大量的复杂工业过程,该些工业过程的机理模型存在如下复杂性:模型中含有输入输出变量之间的非线性项、多变量强耦合、未知频繁变化的干扰、部分模型结构未知、输入输出变量阶次未知、未知变化的动态特性,因此,目前已有的基于机理模型的系统辨识方法无法建立该些工业过程的动态模型。生产过程中的物质流、信息流、能源流的相互作用,使该些工业过程的动态特性随生产时间而发生未知变化,导致该些过程的输入、输出数据处于变化的、开放的、不确定的信息空间,因此,目前已有的在完备信息空间的深度学习技术无法建立该些工业过程的动态模型。目前,该些工业过程的运行工况识别、过程控制系统的设定值决策仍然依靠操作人员和工程技术人员凭经验和知识人工识别和决策。由于人难以及时、准确的感知工况信息、处理多源异构信息,加之人的主观和不确定性,难以实现工业过程的高性能控制和运行优化,造成产品质量不稳定、能耗与物耗高。建立工业过程的数字孪生系统是实现工业过程优化运行与控制一体化的关键。然而,由于复杂工业过程存在上述特点,难以采用已有的机理建模方法或深度学习方法建立满足精度要求的数字孪生系统。There are a large number of complex industrial processes in steel, metallurgy, mineral processing, petrochemical, electric power and other process industries. The mechanism models of these industrial processes have the following complexities: the models contain nonlinear terms between input and output variables, multivariable strong coupling , unknown frequently changing disturbances, unknown structure of some models, unknown order of input and output variables, and unknown dynamic characteristics of changes. Therefore, the existing system identification methods based on mechanism models cannot establish dynamic models of these industrial processes. The interaction of material flow, information flow, and energy flow in the production process makes the dynamic characteristics of these industrial processes change unknown with the production time, resulting in the input and output data of these processes being changed, open, and uncertain Therefore, the existing deep learning technology in the complete information space cannot establish the dynamic model of these industrial processes. At present, the identification of operating conditions of these industrial processes and the decision-making of the set value of the process control system still rely on manual identification and decision-making by operators and engineering technicians based on experience and knowledge. Due to the difficulty of human beings to perceive working condition information in a timely and accurate manner, process multi-source heterogeneous information, coupled with human subjectivity and uncertainty, it is difficult to achieve high-performance control and operation optimization of industrial processes, resulting in unstable product quality, energy and material consumption. high. Establishing the digital twin system of industrial process is the key to realize the integration of optimized operation and control of industrial process. However, due to the above-mentioned characteristics of complex industrial processes, it is difficult to use existing mechanism modeling methods or deep learning methods to establish a digital twin system that meets the accuracy requirements.
发明内容SUMMARY OF THE INVENTION
本发明旨在至少在一定程度上解决相关技术中的技术问题之一。本发明的技术方案如下:The present invention aims to solve one of the technical problems in the related art at least to a certain extent. The technical scheme of the present invention is as follows:
一种复杂工业过程数字孪生系统智能建模方法,包括如下步骤:An intelligent modeling method for a complex industrial process digital twin system, comprising the following steps:
建立复杂工业过程的机理模型,所述机理模型包括可辨识模型和未建模动态两部分;Establish a mechanism model of a complex industrial process, the mechanism model includes an identifiable model and an unmodeled dynamic part;
估计所述可辨识模型的参数,得到辨识模型;Estimating the parameters of the identifiable model to obtain an identifiable model;
采用辨识模型误差与所述未建模动态构成未知非线性动态系统;Using the identified model error and the unmodeled dynamic to form an unknown nonlinear dynamic system;
建立所述未知非线性动态系统的智能模型;establishing an intelligent model of the unknown nonlinear dynamic system;
采用所述辨识模型与所述未知非线性动态系统的智能模型建立所述复杂工业过程数字孪生系统的智能模型;Using the identification model and the intelligent model of the unknown nonlinear dynamic system to establish an intelligent model of the complex industrial process digital twin system;
其中,所述辨识模型误差为将可辨识模型中的参数用其辨识值代替时造成的模型输出误差。Wherein, the identification model error is the model output error caused when the parameters in the identifiable model are replaced by their identification values.
进一步,作为优选,所述未知非线性动态系统的智能模型包括离线深度学习模型、在线深度学习 模型、深度学习校正模型和自校正机制;采用LSTM建立所述离线深度学习模型;采用与所述离线深度学习模型相同的结构建立所述在线深度学习模型;采用与所述离线深度学习模型相同的结构建立所述深度学习校正模型;当所述复杂工业过程数字孪生系统的智能模型的输出与所述复杂工业过程的实际输出之间的误差大于设定阈值时,采用自校正机制,用所述深度学习校正模型的连接权参数和偏置参数校正所述在线深度学习模型的连接权参数和偏置参数;其中,所述深度学习校正模型所用的历史数据比所述在线深度学习模型所用的历史数据多。Further, preferably, the intelligent model of the unknown nonlinear dynamic system includes an offline deep learning model, an online deep learning model, a deep learning correction model and a self-correction mechanism; LSTM is used to establish the offline deep learning model; The online deep learning model is established with the same structure as the deep learning model; the deep learning correction model is established with the same structure as the offline deep learning model; when the output of the intelligent model of the complex industrial process digital twin system is the same as the When the error between the actual outputs of the complex industrial process is greater than the set threshold, a self-correction mechanism is adopted, and the connection weight parameters and bias parameters of the deep learning correction model are used to correct the connection weight parameters and bias of the online deep learning model parameter; wherein, the historical data used by the deep learning correction model is more than the historical data used by the online deep learning model.
进一步,作为优选,所述在线深度学习模型和所述深度学习校正模型均包括输入层、隐藏层、全连接层和输出层;固定所述在线深度学习模型中的所述隐藏层的连接权参数和偏置参数,并在线校正所述在线深度学习模型中的所述全连接层的连接权参数和偏置参数;在线训练所述深度学习校正模型中的所述隐藏层和所述全连接层的连接权参数和偏置参数;当所述复杂工业过程数字孪生系统的智能模型的输出与所述复杂工业过程的实际输出之间的误差大于设定阈值时,采用自校正机制,用所述深度学习校正模型的所述隐藏层的连接权参数和偏置参数替换所述在线深度学习模型中的所述隐藏层的连接权参数和偏置参数,用所述深度学习校正模型的所述全连接层的连接权参数和偏置参数替换所述在线深度学习模型中的所述全连接层的连接权参数和偏置参数。Further, preferably, both the online deep learning model and the deep learning correction model include an input layer, a hidden layer, a fully connected layer and an output layer; the connection weight parameters of the hidden layer in the online deep learning model are fixed. and bias parameters, and online correction of the connection weight parameters and bias parameters of the fully connected layer in the online deep learning model; online training of the hidden layer and the fully connected layer in the deep learning correction model When the error between the output of the intelligent model of the complex industrial process digital twin system and the actual output of the complex industrial process is greater than the set threshold, the The connection weight parameters and bias parameters of the hidden layer of the deep learning correction model replace the connection weight parameters and bias parameters of the hidden layer in the online deep learning model, and the full value of the deep learning correction model is used. The connection weight parameters and bias parameters of the connection layer replace the connection weight parameters and bias parameters of the fully connected layer in the online deep learning model.
进一步,作为优选,所述复杂工业过程为电熔镁砂熔炼过程。Further, preferably, the complex industrial process is an fused magnesia smelting process.
一种复杂工业过程数字孪生系统智能建模装置,包括:An intelligent modeling device for a complex industrial process digital twin system, comprising:
机理模型建模模块,用于建立复杂工业过程的机理模型,所述机理模型包括可辨识模型和未建模动态两部分;The mechanism model modeling module is used to establish a mechanism model of a complex industrial process, and the mechanism model includes two parts: an identifiable model and an unmodeled dynamic;
参数辨识模块,用于估计所述可辨识模型的参数,得到辨识模型;A parameter identification module for estimating the parameters of the identifiable model to obtain an identification model;
未知非线性动态获取模块,用于采用辨识模型误差与所述未建模动态构成未知非线性动态系统;an unknown nonlinear dynamic acquisition module, used for using the identified model error and the unmodeled dynamic to form an unknown nonlinear dynamic system;
未知非线性动态系统智能模型建模模块,用于建立所述未知非线性动态系统的智能模型;an intelligent model modeling module of an unknown nonlinear dynamic system, used for establishing an intelligent model of the unknown nonlinear dynamic system;
数字孪生系统智能模型建模模块,用于采用所述辨识模型与所述未知非线性动态系统的智能模型建立所述复杂工业过程数字孪生系统的智能模型;A digital twin system intelligent model modeling module, used for establishing an intelligent model of the complex industrial process digital twin system by using the identification model and the intelligent model of the unknown nonlinear dynamic system;
其中,所述辨识模型误差为将可辨识模型中的参数用其辨识值代替时造成的模型输出误差。Wherein, the identification model error is the model output error caused when the parameters in the identifiable model are replaced by their identification values.
进一步,作为优选,所述未知非线性动态系统智能模型建模模块包括离线深度学习模型建模模块、在线深度学习模型建模模块、深度学习校正模型建模模块和自校正模块;所述离线深度学习模型建模模块采用LSTM建立所述离线深度学习模型;所述在线深度学习模型建模模块采用与所述离线深度学习模型相同的结构建立所述在线深度学习模型;所述深度学习校正模型建模模块采用与所述离线深度学习模型相同的结构建立所述深度学习校正模型;所述自校正模块,在所述复杂工业过程数字孪生 系统的智能模型的输出与所述复杂工业过程的实际输出之间的误差大于设定阈值时,采用自校正机制,用所述深度学习校正模型的连接权参数和偏置参数校正所述在线深度学习模型的连接权参数和偏置参数;其中,所述深度学习校正模型所用的历史数据比所述在线深度学习模型所用的历史数据多。Further, preferably, the unknown nonlinear dynamic system intelligent model modeling module includes an offline deep learning model modeling module, an online deep learning model modeling module, a deep learning calibration model modeling module and a self-calibration module; the offline depth The learning model modeling module adopts LSTM to build the offline deep learning model; the online deep learning model modeling module adopts the same structure as the offline deep learning model to build the online deep learning model; the deep learning correction model builds the online deep learning model. The model module adopts the same structure as the offline deep learning model to establish the deep learning correction model; the self-correction module, the output of the intelligent model of the complex industrial process digital twin system and the actual output of the complex industrial process When the error between them is greater than the set threshold, a self-correction mechanism is used to correct the connection weight parameters and bias parameters of the online deep learning model with the connection weight parameters and bias parameters of the deep learning correction model; wherein, the The deep learning correction model uses more historical data than the online deep learning model.
进一步,作为优选,所述在线深度学习模型和所述深度学习校正模型均包括输入层、隐藏层、全连接层和输出层;所述在线深度学习模型建模模块固定所述在线深度学习模型中的所述隐藏层的连接权参数和偏置参数,并在线校正所述在线深度学习模型中的所述全连接层的连接权参数和偏置参数;所述深度学习校正模型建模模块在线训练所述深度学习校正模型中的所述隐藏层和所述全连接层的连接权参数和偏置参数;所述自校正模块,在所述复杂工业过程数字孪生系统的智能模型的输出与所述复杂工业过程的实际输出之间的误差大于设定阈值时,采用自校正机制,用所述深度学习校正模型的所述隐藏层的连接权参数和偏置参数替换所述在线深度学习模型中的所述隐藏层的连接权参数和偏置参数,用所述深度学习校正模型的所述全连接层的连接权参数和偏置参数替换所述在线深度学习模型中的所述全连接层的连接权参数和偏置参数。Further, preferably, the online deep learning model and the deep learning correction model include an input layer, a hidden layer, a fully connected layer and an output layer; the online deep learning model modeling module is fixed in the online deep learning model The connection weight parameters and bias parameters of the hidden layer, and the connection weight parameters and bias parameters of the fully connected layer in the online deep learning model are corrected online; the deep learning correction model modeling module is trained online The connection weight parameters and bias parameters of the hidden layer and the fully connected layer in the deep learning correction model; the self-correction module, in the output of the intelligent model of the complex industrial process digital twin system, is the same as the When the error between the actual outputs of the complex industrial process is greater than the set threshold, a self-correction mechanism is used to replace the connection weight parameters and bias parameters of the hidden layer of the deep learning correction model in the online deep learning model. The connection weight parameters and bias parameters of the hidden layer are replaced by the connection weight parameters and bias parameters of the fully connected layer of the deep learning correction model to replace the connection of the fully connected layer in the online deep learning model weight parameters and bias parameters.
进一步,作为优选,所述复杂工业过程为电熔镁砂熔炼过程。Further, preferably, the complex industrial process is an fused magnesia smelting process.
一种用于实现复杂工业过程数字孪生系统智能建模方法的设备,包括:端侧子设备、边缘侧子设备和云侧子设备;A device for realizing an intelligent modeling method for a digital twin system of a complex industrial process, including: terminal-side sub-devices, edge-side sub-devices, and cloud-side sub-devices;
所述端侧子设备用于获得所述在线深度学习模型和所述深度学习校正模型的输入数据;The terminal-side sub-device is used to obtain the input data of the online deep learning model and the deep learning correction model;
所述边缘侧子设备用于运行所述辨识模型和所述在线深度学习模型;The edge side sub-device is used to run the identification model and the online deep learning model;
所述云侧子设备用于运行所述深度学习校正模型;The cloud side sub-device is used to run the deep learning correction model;
所述端侧子设备为所述复杂工业过程的过程控制系统,所述边缘侧子设备为边缘计算设备,所述云侧子设备为工业云。The terminal-side sub-device is a process control system of the complex industrial process, the edge-side sub-device is an edge computing device, and the cloud-side sub-device is an industrial cloud.
一种计算机可读存储介质,其存储有计算机程序,所述程序被处理器执行时实现上述复杂工业过程数字孪生系统智能建模方法。A computer-readable storage medium storing a computer program, when the program is executed by a processor, realizes the above-mentioned intelligent modeling method for a digital twin system of a complex industrial process.
本发明将基于机理模型的系统辨识方法与基于大数据的深度学习方法相结合,采用端边云协同方式,建立了复杂工业过程数字孪生系统的智能模型,解决了复杂工业过程数字孪生系统的建模难题,提高了建模精度。The invention combines the system identification method based on the mechanism model with the deep learning method based on big data, adopts the terminal-edge-cloud collaboration method, establishes the intelligent model of the digital twin system of the complex industrial process, and solves the problem of the construction of the digital twin system of the complex industrial process. The model problem is improved, and the modeling accuracy is improved.
附图说明Description of drawings
图1为本发明实施例的复杂工业过程数字孪生系统智能建模方法实现流程图;Fig. 1 is the realization flow chart of the intelligent modeling method of complex industrial process digital twin system according to the embodiment of the present invention;
图2为本发明一个实施例的电熔镁砂熔炼过程数字孪生系统智能建模方法实现流程图;Fig. 2 is the realization flow chart of the intelligent modeling method of the digital twin system of the fused magnesia smelting process according to an embodiment of the present invention;
图3为本发明一个实施例的LSTM网络结构图;3 is a structural diagram of an LSTM network according to an embodiment of the present invention;
图4为本发明一个实施例的LSTM单元节点图;4 is a node diagram of an LSTM unit according to an embodiment of the present invention;
图5为本发明一个实施例的误差随神经元个数的变化曲线;Fig. 5 is the variation curve of the error with the number of neurons of an embodiment of the present invention;
图6为本发明一个实施例的误差随单元节点数的变化曲线;Fig. 6 is the variation curve of the error with the number of element nodes of an embodiment of the present invention;
图7为本发明一个实施例的误差随网络层数的变化曲线;Fig. 7 is the variation curve of the error with the number of network layers of an embodiment of the present invention;
图8为本发明一个实施例的误差随时间序列窗口长度的变化曲线;Fig. 8 is the variation curve of the error with the length of the time series window according to an embodiment of the present invention;
图9为本发明一个实施例的电熔镁砂熔炼过程数字孪生系统结构图;9 is a structural diagram of a digital twin system of an fused magnesia smelting process according to an embodiment of the present invention;
图10为本发明一个实施例的复杂工业过程数字孪生系统智能建模装置的结构示意图。FIG. 10 is a schematic structural diagram of an apparatus for intelligent modeling of a complex industrial process digital twin system according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1为本发明实施例的复杂工业过程数字孪生系统智能建模方法实现流程图,该方法包括以下步骤:Fig. 1 is the realization flow chart of the complex industrial process digital twin system intelligent modeling method of the embodiment of the present invention, and the method comprises the following steps:
S1:建立复杂工业过程的机理模型,所述机理模型包括可辨识模型和未建模动态两部分。S1: Establish a mechanism model of a complex industrial process, the mechanism model includes an identifiable model and an unmodeled dynamic part.
具体的,采用未知常数F表示模型参数为未知变化的非线性函数F(·),采用新的变量
Figure PCTCN2021136323-appb-000001
表示机理模型中的输入u i(k)与输出y i(k)的非线性项,采用未知非线性函数V(·)表示模型结构未知与输入输出变量阶次未知的部分、未知干扰、未知耦合与未知变化的动态特性,从而将复杂工业过程的机理模型用可辨识模型与未建模动态表示。
Specifically, an unknown constant F is used to represent a nonlinear function F(·) whose model parameters are unknown changes, and a new variable is used.
Figure PCTCN2021136323-appb-000001
Represents the nonlinear term of the input ui (k) and output y i (k) in the mechanism model, and uses the unknown nonlinear function V( ) to represent the unknown part of the model structure and the unknown order of input and output variables, unknown disturbance, unknown Coupling and dynamic characteristics of unknown changes, so that the mechanism models of complex industrial processes can be represented by identifiable models and unmodeled dynamics.
S2:估计所述可辨识模型的参数,得到辨识模型。S2: Estimate the parameters of the identifiable model to obtain an identifiable model.
具体的,利用过程的输入输出数据u i(k)、y i(k)求取表示输入输出之间非线性项的新的变量数据
Figure PCTCN2021136323-appb-000002
利用输入输出数据u i(k)、y i(k)和新变量数据
Figure PCTCN2021136323-appb-000003
采用辨识算法估计可辨识模型的参数,从而得到辨识模型。
Specifically, the input and output data u i (k) and y i (k) of the process are used to obtain new variable data representing the nonlinear term between the input and output
Figure PCTCN2021136323-appb-000002
Use input and output data ui (k), yi (k) and new variable data
Figure PCTCN2021136323-appb-000003
The identification algorithm is used to estimate the parameters of the identifiable model, so as to obtain the identification model.
S3:采用辨识模型误差与所述未建模动态构成未知非线性动态系统。S3: Using the identified model error and the unmodeled dynamics to form an unknown nonlinear dynamic system.
具体的,辨识模型误差为将可辨识模型中的参数用其辨识值代替时造成的模型输出误差。采用辨识模型误差和未建模动态构成下式表示的未知非线性动态系统:Specifically, the identification model error is the model output error caused when the parameters in the identifiable model are replaced by their identification values. Using the identified model errors and the unmodeled dynamics to form an unknown nonlinear dynamic system represented by:
Figure PCTCN2021136323-appb-000004
Figure PCTCN2021136323-appb-000004
其中,in,
Figure PCTCN2021136323-appb-000005
Figure PCTCN2021136323-appb-000005
Figure PCTCN2021136323-appb-000006
Figure PCTCN2021136323-appb-000006
f是未知变化的非线性函数,y i(k)为k时刻机理模型的第i相输出,u i(k)为k时刻机理模型的第i相输入,
Figure PCTCN2021136323-appb-000007
为表示u i(k)与y i(k)之间的非线性项的新变量,
Figure PCTCN2021136323-appb-000008
Figure PCTCN2021136323-appb-000009
为辨识模型的输出,
Figure PCTCN2021136323-appb-000010
为k-1时刻未知非线性动态系统智能模型的输出,n为未知非线性动态系统的阶次。
f is a nonlinear function of unknown change, y i (k) is the ith phase output of the mechanism model at time k, u i (k) is the ith phase input of the mechanism model at time k,
Figure PCTCN2021136323-appb-000007
is a new variable representing the nonlinear term between ui (k) and y i (k),
Figure PCTCN2021136323-appb-000008
Figure PCTCN2021136323-appb-000009
To identify the output of the model,
Figure PCTCN2021136323-appb-000010
is the output of the intelligent model of the unknown nonlinear dynamic system at time k-1, and n is the order of the unknown nonlinear dynamic system.
S4:建立所述未知非线性动态系统的智能模型。S4: Build an intelligent model of the unknown nonlinear dynamic system.
具体的,所述未知非线性动态系统的智能模型包括离线深度学习模型、在线深度学习模型、深度学习校正模型和自校正机制。Specifically, the intelligent model of the unknown nonlinear dynamic system includes an offline deep learning model, an online deep learning model, a deep learning correction model and a self-correction mechanism.
采用多层长短周期记忆网络LSTM,选择(1)式中的输入变量作为单个神经元的输入,阶次n作为神经元的个数,v(k)作为标签数据,采用(1)式的输入、输出数据组成大数据样本,采用训练算法,使标签数据v(k)与离线深度学习模型的输出 v(k)的误差Δ v(k)尽可能小,确定离线深度学习模型的神经元个数n、LSTM的单元节点数h、神经网络层数L、各层的连接权参数和偏置参数,从而建立离线深度学习模型。 The multi-layer long and short-term memory network LSTM is used, the input variable in formula (1) is selected as the input of a single neuron, the order n is used as the number of neurons, v(k) is used as the label data, and the input of formula (1) is used. , The output data constitutes a large data sample, and a training algorithm is used to make the error Δv (k) between the label data v (k) and the output v (k) of the offline deep learning model as small as possible, and determine the number of neurons in the offline deep learning model. The number n, the number of unit nodes h of the LSTM, the number of layers of the neural network L, the connection weight parameters and bias parameters of each layer, so as to establish an offline deep learning model.
采用与离线深度学习模型相同的结构建立在线深度学习模型,即,采用LSTM建立在线深度学习模型,且该在线深度学习模型的神经元个数、单元节点数和神经网络层数均与所述离线深度学习模型相同。在线深度学习模型的各层的连接权参数和偏置参数的初始值采用离线深度学习模型的对应层的连接权参数值和偏置参数,固定在线深度学习模型中的隐藏层的连接权参数和偏置参数,采用时间序列窗口长度为N的实时更新的输入数据和标签数据在线校正该在线深度学习模型的全连接层的连接权参数和偏置参数,其中,时间序列窗口长度N是通过训练算法,使标签数据v(k)与在线深度学习模型的输出
Figure PCTCN2021136323-appb-000011
的误差Δv(k)尽可能小而得到的。
The online deep learning model is established with the same structure as the offline deep learning model, that is, the online deep learning model is established by using LSTM, and the number of neurons, unit nodes and neural network layers of the online deep learning model are the same as those of the offline deep learning model. The same is true for deep learning models. The initial value of the connection weight parameter and bias parameter of each layer of the online deep learning model adopts the connection weight parameter value and bias parameter of the corresponding layer of the offline deep learning model, and the connection weight parameter and the bias parameter of the hidden layer in the online deep learning model are fixed. Bias parameter, using the real-time updated input data and label data of the time series window length N to correct the connection weight parameters and bias parameters of the fully connected layer of the online deep learning model, where the time series window length N is obtained through training Algorithm to make the labeled data v(k) with the output of the online deep learning model
Figure PCTCN2021136323-appb-000011
The error Δv(k) is as small as possible.
采用与离线深度学习模型相同的结构,建立深度学习校正模型。即,采用LSTM建立深度学习校正模型,且该深度学习校正模型的神经元个数、单元节点数和神经网络层数均与所述离线深度学习模型相同。采用当前时刻及以前所有时刻的(1)式的输入数据和输出数据作为深度学习校正模型的输入数据和标签数据,训练该深度学习校正模型各层的所有连接权参数和偏置参数。Using the same structure as the offline deep learning model, a deep learning correction model is established. That is, LSTM is used to establish a deep learning correction model, and the number of neurons, unit nodes and neural network layers of the deep learning correction model are the same as those of the offline deep learning model. The input data and output data of formula (1) at the current moment and all previous moments are used as the input data and label data of the deep learning correction model, and all the connection weight parameters and bias parameters of each layer of the deep learning correction model are trained.
自校正机制设定误差的区间上界为δ。当k时刻在线深度学习模型的输出与辨识模型的输出相叠加得到的输出与k时刻实际工业过程的真实输出值之间的误差|Δr(k)|>δ时,采用深度学习校正模型的各层的连接权参数和偏置参数替换在线深度学习模型的相应层的连接权参数和偏置参数。The upper bound of the error interval set by the self-correction mechanism is δ. When the error between the output of the online deep learning model and the output of the identification model superimposed at time k and the real output value of the actual industrial process at time k |Δr(k)|>δ, the deep learning correction model is used for each error. The connection weight parameters and bias parameters of the layers replace the connection weight parameters and bias parameters of the corresponding layers of the online deep learning model.
其中,在线深度学习模型和深度学习校正模型的输入数据由端—过程控制系统获得,在线深度学习模型在边—边缘计算设备运行,深度学习校正模型在云—工业云运行。Among them, the input data of the online deep learning model and the deep learning correction model are obtained by the end-process control system, the online deep learning model runs on the edge-edge computing device, and the deep learning correction model runs on the cloud-industrial cloud.
S5:采用辨识模型与未知非线性动态系统的智能模型建立复杂工业过程数字孪生系统的智能模型。S5: Use the identification model and the intelligent model of the unknown nonlinear dynamic system to establish the intelligent model of the digital twin system of the complex industrial process.
进一步的,在一个实施例中,复杂工业过程数字孪生系统智能建模方法可用于电熔镁砂熔炼过程。Further, in one embodiment, the intelligent modeling method of the complex industrial process digital twin system can be used in the fused magnesia smelting process.
电熔镁砂熔炼过程是以三相电机转动方向与频率为输入、以三相电极电流为输出的强非线性、强耦合工业过程。熔炼过程采用埋弧方式,边熔化边加料,熔池高度随原矿的不断加入和熔化、原矿颗粒长度和杂质成分的变化而发生变化,熔池电阻率随熔液温度的变化、原矿颗粒长度和杂质成分的变化而变化。因此,熔化电流动态模型的模型阶次未知且动态特性变化未知,无法采用基于机理模型的系统辨识方法建立其数学模型。该过程的输入、输出数据处于变化的、开放的、不确定的信息空间,因此无法采用已有的完备信息空间的深度学习技术建立其动态模型。The fused magnesia smelting process is a strong nonlinear and strong coupling industrial process with the rotation direction and frequency of the three-phase motor as the input and the three-phase electrode current as the output. The submerged arc method is adopted in the smelting process, and the material is fed while melting. The height of the molten pool changes with the continuous addition and melting of the raw ore, the length of the raw ore particles and the change of the impurity composition. The resistivity of the molten pool changes with the temperature of the melt, the length of the raw ore particles and Changes in impurity composition. Therefore, the model order of the melting current dynamic model is unknown and the dynamic characteristics change is unknown, so the mathematical model cannot be established by the system identification method based on the mechanism model. The input and output data of this process are in a changing, open and uncertain information space, so it is impossible to use the existing deep learning technology of complete information space to establish its dynamic model.
图2为本发明一个实施例的电熔镁砂熔炼过程数字孪生系统智能建模方法实现流程图,该方法包括以下步骤:Fig. 2 is the realization flow chart of the intelligent modeling method of the digital twin system of the fused magnesia smelting process of an embodiment of the present invention, and the method comprises the following steps:
S1’:建立电熔镁砂熔炼过程电极电流机理模型,将该机理模型用可辨识模型与未知非线性函数表示。S1': Establish the electrode current mechanism model in the smelting process of fused magnesia, and represent the mechanism model with an identifiable model and an unknown nonlinear function.
具体的,电熔镁砂熔炼过程边熔化边加料,熔池随着原矿的不断加入和熔化而不断升高,熔池高度h(·)与电振给料机振动频率
Figure PCTCN2021136323-appb-000012
之间的关系为:
Specifically, in the smelting process of fused magnesia, the material is added while melting, and the molten pool is continuously increased with the continuous addition and melting of the raw ore.
Figure PCTCN2021136323-appb-000012
The relationship between is:
Figure PCTCN2021136323-appb-000013
Figure PCTCN2021136323-appb-000013
其中,y i(t)为t时刻第i相的电极电流,y为最佳熔化电流;k h(y,y i(t))为累计加料量与熔池高度之间的转换系数,该转换系数随电极电流y i(t)围绕最佳熔化电流y的波动而变化;m 0为初始加料量;B 1为原矿颗粒长度;B 2为原矿杂质成分;k m(B 1,B 2)为电振频率与加料速度之间的转换系数,该转换系数随B 1和B 2的变化而变化;
Figure PCTCN2021136323-appb-000014
为t时刻电振给料机的振动频率;σ(t)为电振给料机的启停标志,σ(t)=1表示启动,σ(t)=0表示停止;
Figure PCTCN2021136323-appb-000015
和σ(t)根据实时熔炼状态确定。
Among them, y i (t) is the electrode current of the i-th phase at time t, y is the optimal melting current; k h (y, y i (t)) is the conversion coefficient between the cumulative feeding amount and the height of the molten pool, the The conversion coefficient changes with the fluctuation of the electrode current y i (t) around the optimal melting current y; m 0 is the initial feeding amount; B 1 is the length of the raw ore particle; B 2 is the impurity composition of the raw ore; km (B 1 , B 2 ) is the conversion coefficient between the electric vibration frequency and the feeding speed, and the conversion coefficient changes with the changes of B 1 and B 2 ;
Figure PCTCN2021136323-appb-000014
is the vibration frequency of the electro-vibration feeder at time t; σ(t) is the start-stop sign of the electro-vibration feeder, σ(t)=1 means start, σ(t)=0 means stop;
Figure PCTCN2021136323-appb-000015
and σ(t) are determined according to the real-time smelting state.
当h(·)随加料和熔化而以(4)式规律变化时,电流控制系统通过拖动电机调节电极与熔池之间的距离,使电极电流稳定跟踪最佳熔化电流设定值来熔化菱镁矿石。电熔镁砂熔炼过程以电机转动方向与频率u i(t)为输入、以电极电流y i(t)为输出的电极电流动态机理模型为: When h(·) changes according to formula (4) with feeding and melting, the current control system adjusts the distance between the electrode and the molten pool by dragging the motor, so that the electrode current stably tracks the optimal melting current setting value to melt the diamond. Magnesium Ore. In the smelting process of fused magnesia, the electrode current dynamic mechanism model with the rotation direction and frequency u i (t) of the motor as the input and the electrode current y i (t) as the output is as follows:
Figure PCTCN2021136323-appb-000016
Figure PCTCN2021136323-appb-000016
其中,i=1,2,3分别表示A、B、C三相,L i为第i相电路的自感,F i(·)为第i相电路的未知非线性函数,s为电机转差率,r d为升降机构等效齿轮半径,p为电机极对数,g 0为电弧电导率常数,r a为电弧弧柱半径,T 0为气体电离温度常数,T 1为电弧间隙温度,u i(t)为第i相电路的电机转动方向与频率,U i为第i相电路的相电压,
Figure PCTCN2021136323-appb-000017
为三相电路耦合对第i相电流的影响。
Among them, i=1, 2, 3 represent the three phases of A, B, and C, respectively, Li is the self-inductance of the i-th phase circuit, F i ( ) is the unknown nonlinear function of the i-th phase circuit, and s is the motor rotation difference ratio, r d is the equivalent gear radius of the lifting mechanism, p is the number of pole pairs of the motor, g 0 is the arc conductivity constant, ra is the arc column radius, T 0 is the gas ionization temperature constant, and T 1 is the arc gap temperature , u i (t) is the motor rotation direction and frequency of the i-th phase circuit, U i is the phase voltage of the i-th phase circuit,
Figure PCTCN2021136323-appb-000017
is the influence of the three-phase circuit coupling on the i-th phase current.
F i(·)如(6)式所示: F i ( ) is shown in formula (6):
Figure PCTCN2021136323-appb-000018
Figure PCTCN2021136323-appb-000018
其中,Δh ie(·)为电极受到加料干扰和变化的互感产生的电磁力时电极高度的变化量;ρ(·)为熔池电阻率,随熔液温度的变化、B 1和B 2的变化而变化;f 0为熔池电阻比例系数;S为熔池横截面积。 Among them, Δh ie ( · ) is the change of electrode height when the electrode is subjected to the electromagnetic force generated by the feeding disturbance and the changing mutual inductance ; changes; f 0 is the proportional coefficient of the molten pool resistance; S is the cross-sectional area of the molten pool.
Figure PCTCN2021136323-appb-000019
如(7)式所示:
Figure PCTCN2021136323-appb-000019
As shown in formula (7):
Figure PCTCN2021136323-appb-000020
Figure PCTCN2021136323-appb-000020
其中,M 12(·)为A、B相电路之间的互感,M 13(·)为A、C相电路之间的互感,M 23(·)为B、C相电路之间的互感,M 12(·)、M 13(·)和M 23(·)随原矿的加入和熔化、熔液温度的变化而变化。 Among them, M 12 ( ) is the mutual inductance between A and B-phase circuits, M 13 ( ) is the mutual inductance between A and C-phase circuits, M 23 ( ) is the mutual inductance between B and C-phase circuits, M 12 (·), M 13 (·) and M 23 (·) vary with the addition and melting of raw ore and the change of melt temperature.
将(5)式中的未知非线性函数F i(·)用未知常数F i代替,所造成的模型误差、未知变化的动态特性、未知变化耦合用未知非线性函数
Figure PCTCN2021136323-appb-000021
表示,即(5)式可以表示为:
Replace the unknown nonlinear function F i (·) in equation (5) with an unknown constant F i , and use the unknown nonlinear function for the model error, the dynamic characteristics of the unknown change, and the coupling of the unknown change.
Figure PCTCN2021136323-appb-000021
Representation, that is, equation (5) can be expressed as:
Figure PCTCN2021136323-appb-000022
Figure PCTCN2021136323-appb-000022
其中,
Figure PCTCN2021136323-appb-000023
为:
in,
Figure PCTCN2021136323-appb-000023
for:
Figure PCTCN2021136323-appb-000024
Figure PCTCN2021136323-appb-000024
采用欧拉法对(8)式进行离散化可得:Using Euler's method to discretize equation (8), we can get:
Figure PCTCN2021136323-appb-000025
Figure PCTCN2021136323-appb-000025
其中,
Figure PCTCN2021136323-appb-000026
为(9)式所示未知非线性函数
Figure PCTCN2021136323-appb-000027
的离散形式。
in,
Figure PCTCN2021136323-appb-000026
is the unknown nonlinear function shown in (9)
Figure PCTCN2021136323-appb-000027
discrete form.
为了消除(10)式中u i(k 0)的积分求和表示,对(10)式两边除以y i(k),并和k-1时刻的表达式相减可得: In order to eliminate the integral summation expression of u i (k 0 ) in equation (10), divide both sides of equation (10) by y i (k) and subtract it from the expression at time k-1 to get:
Figure PCTCN2021136323-appb-000028
Figure PCTCN2021136323-appb-000028
由于k时刻y i(k+1)未知,因此令(11)式中的k等于k-1,可得离散化的电流机理模型为: Since y i (k+1) at time k is unknown, set k in equation (11) equal to k-1, and the discretized current mechanism model can be obtained as:
Figure PCTCN2021136323-appb-000029
Figure PCTCN2021136323-appb-000029
采用新的变量
Figure PCTCN2021136323-appb-000030
Figure PCTCN2021136323-appb-000031
表示(12)式中输入与输出之间的非线性项,即:
take a new variable
Figure PCTCN2021136323-appb-000030
and
Figure PCTCN2021136323-appb-000031
represents the nonlinear term between the input and output in Eq. (12), namely:
Figure PCTCN2021136323-appb-000032
Figure PCTCN2021136323-appb-000032
采用未知非线性函数V i(k)表示模型结构未知与输入输出变量阶次未知的部分、未知干扰、未知变化耦合与未知变化的动态特性,令
Figure PCTCN2021136323-appb-000033
将Q i和(13)式代入(12)式,从而将电熔镁砂熔炼过程电极电流机理模型(12)式用可辨识模型与未知非线性函数V i(k)表示为:
The unknown nonlinear function V i (k) is used to represent the unknown part of the model structure and the unknown order of the input and output variables, the unknown disturbance, the coupling of the unknown change and the dynamic characteristics of the unknown change, let
Figure PCTCN2021136323-appb-000033
Substitute Qi and (13) into equation (12), so that the electrode current mechanism model (12) in the smelting process of fused magnesia can be expressed as:
Figure PCTCN2021136323-appb-000034
Figure PCTCN2021136323-appb-000034
其中,V i(k)为: Among them, V i (k) is:
Figure PCTCN2021136323-appb-000035
Figure PCTCN2021136323-appb-000035
S2’:估计可辨识模型参数,获得辨识模型。S2': Estimate the identifiable model parameters to obtain the identification model.
具体的,利用实际过程输入输出数据u i(k)、y i(k),由(13)式求取(14)式中表示输入输出之间非线性项的新的变量数据
Figure PCTCN2021136323-appb-000036
Figure PCTCN2021136323-appb-000037
采用最小二乘辨识算法估计可辨识模型(14)式中的参数Q i,得其估计值
Figure PCTCN2021136323-appb-000038
为:
Specifically, using the actual process input and output data u i (k) and y i (k), the new variable data representing the nonlinear term between the input and output in the formula (14) is obtained from the formula (13).
Figure PCTCN2021136323-appb-000036
and
Figure PCTCN2021136323-appb-000037
The parameter Q i in the identifiable model (14) is estimated by the least square identification algorithm, and its estimated value is obtained
Figure PCTCN2021136323-appb-000038
for:
Figure PCTCN2021136323-appb-000039
Figure PCTCN2021136323-appb-000039
于是可得辨识模型输出
Figure PCTCN2021136323-appb-000040
为:
Therefore, the output of the identification model can be obtained
Figure PCTCN2021136323-appb-000040
for:
Figure PCTCN2021136323-appb-000041
Figure PCTCN2021136323-appb-000041
S3’:采用辨识模型误差和未知非线性函数V i(k)构建未知非线性动态系统v i(k),将机理模型表示为辨识模型输出与未知非线性动态系统输出之和。 S3': construct an unknown nonlinear dynamic system vi ( k) by using the identification model error and the unknown nonlinear function V i (k), and express the mechanism model as the sum of the output of the identification model and the output of the unknown nonlinear dynamic system.
具体的,采用辨识模型误差
Figure PCTCN2021136323-appb-000042
和未知非线性函数V i(k)构成下式表示的未知非线性动态系统v i(k):
Specifically, using the identification model error
Figure PCTCN2021136323-appb-000042
and the unknown nonlinear function V i (k) form an unknown nonlinear dynamic system v i (k) expressed by the following formula:
Figure PCTCN2021136323-appb-000043
Figure PCTCN2021136323-appb-000043
于是v i(k)可由未知变化的非线性函数f i表示,即: Then v i (k) can be represented by an unknown variable nonlinear function f i , namely:
Figure PCTCN2021136323-appb-000044
Figure PCTCN2021136323-appb-000044
其中,输入数据向量
Figure PCTCN2021136323-appb-000045
为:
where, the input data vector
Figure PCTCN2021136323-appb-000045
for:
Figure PCTCN2021136323-appb-000046
Figure PCTCN2021136323-appb-000046
由(14)、(17)和(18)式可得未知非线性动态系统输出v i(k)为: From equations (14), (17) and (18), the output vi ( k ) of the unknown nonlinear dynamic system can be obtained as:
Figure PCTCN2021136323-appb-000047
Figure PCTCN2021136323-appb-000047
由(21)式可得电熔镁砂熔炼过程电流机理模型可表示为辨识模型输出
Figure PCTCN2021136323-appb-000048
与未知非线性动态系统输出v i(k)之和,即:
From the formula (21), the current mechanism model of the fused magnesia smelting process can be expressed as the output of the identification model
Figure PCTCN2021136323-appb-000048
and the output of the unknown nonlinear dynamic system v i (k), namely:
Figure PCTCN2021136323-appb-000049
Figure PCTCN2021136323-appb-000049
S4’:建立未知非线性动态系统v i(k)(i=1,2,3)的智能模型。 S4': Build an intelligent model of the unknown nonlinear dynamic system vi (k) ( i =1, 2, 3).
具体的,该智能模型由离线深度学习模型、在线深度学习模型、深度学习校正模型和自校正机制组成。Specifically, the intelligent model consists of an offline deep learning model, an online deep learning model, a deep learning correction model and a self-correction mechanism.
S41’:采用如图3所示的多层长短周期记忆网络LSTM架构,建立v i(k)的离线深度学习模型,具体的: S41': Use the multi-layer long and short-term memory network LSTM architecture as shown in Figure 3 to establish an offline deep learning model of v i (k), specifically:
选择(19)式中输入数据向量
Figure PCTCN2021136323-appb-000050
的阶次n作为每层神经元的个数;将数据向量
Figure PCTCN2021136323-appb-000051
作为输入数据,分别输入到第1层的 n个神经元;训练网络时标签数据为v(k)=[v 1(k),v 2(k),v 3(k)] T。记LSTM单个神经元的节点数为h,网络层数为L,当前时刻为k时刻,第n l层第n i个神经元的输出为
Figure PCTCN2021136323-appb-000052
图4所示为LSTM的单元节点图。
Select the input data vector in (19)
Figure PCTCN2021136323-appb-000050
The order n is used as the number of neurons in each layer; the data vector
Figure PCTCN2021136323-appb-000051
As input data, it is input to the n neurons of the first layer respectively; the label data is v(k)=[v 1 (k), v 2 (k), v 3 (k)] T when training the network. Let the number of nodes of a single neuron in LSTM be h, the number of network layers is L, the current moment is time k, and the output of the n i neuron in the n l layer is
Figure PCTCN2021136323-appb-000052
Figure 4 shows the cell node diagram of the LSTM.
针对第1层(n l=1),第n i个神经元的输入为: For layer 1 (n l =1), the input to the n i neuron is:
Figure PCTCN2021136323-appb-000053
Figure PCTCN2021136323-appb-000053
第1层第n i个神经元的输出
Figure PCTCN2021136323-appb-000054
为:
The output of the n i neuron in layer 1
Figure PCTCN2021136323-appb-000054
for:
Figure PCTCN2021136323-appb-000055
Figure PCTCN2021136323-appb-000055
其中,⊙表示两个向量对应位置的元素相乘;tanh为双曲正切函数,即tanh(x)=(e x-e -x)/(e x+e -x);
Figure PCTCN2021136323-appb-000056
为输出门输出,
Figure PCTCN2021136323-appb-000057
为LSTM单元状态,如下式所示:
Among them, ⊙ represents the multiplication of elements at the corresponding positions of the two vectors; tanh is the hyperbolic tangent function, that is, tanh(x)=(e x -e -x )/(e x +e -x );
Figure PCTCN2021136323-appb-000056
is the output gate output,
Figure PCTCN2021136323-appb-000057
is the state of the LSTM unit, as shown in the following formula:
Figure PCTCN2021136323-appb-000058
Figure PCTCN2021136323-appb-000058
其中,σ为sigmoid函数,即σ(x)=(1+e -x) -1
Figure PCTCN2021136323-appb-000059
为遗忘门输出,
Figure PCTCN2021136323-appb-000060
为输入门输出,
Figure PCTCN2021136323-appb-000061
为状态候选值,如下式所示:
Among them, σ is a sigmoid function, that is, σ(x)=(1+e -x ) -1 ;
Figure PCTCN2021136323-appb-000059
output for the forget gate,
Figure PCTCN2021136323-appb-000060
is the input gate output,
Figure PCTCN2021136323-appb-000061
is the state candidate value, as shown in the following formula:
Figure PCTCN2021136323-appb-000062
Figure PCTCN2021136323-appb-000062
(25)式和(26)式中,
Figure PCTCN2021136323-appb-000063
Figure PCTCN2021136323-appb-000064
为h×(h+15)维权值矩阵,
Figure PCTCN2021136323-appb-000065
Figure PCTCN2021136323-appb-000066
为h×1维偏置列向量。
(25) and (26),
Figure PCTCN2021136323-appb-000063
and
Figure PCTCN2021136323-appb-000064
is h×(h+15) dimension weight matrix,
Figure PCTCN2021136323-appb-000065
and
Figure PCTCN2021136323-appb-000066
is an h × 1-dimensional offset column vector.
当n l≥2时,第n l层第n i个神经元输出与(24)式~(26)式所示第1层第n i个神经元输出的计算相同,区别在于权值矩阵
Figure PCTCN2021136323-appb-000067
Figure PCTCN2021136323-appb-000068
的维数为h×(h+h),第n i个神经元的输入为第n l-1层第n i个神经元的输出,即:
When n l ≥ 2, the output of the n i neuron in the n l layer is the same as the output of the n i neuron in the first layer shown in equations (24) to (26), the difference lies in the weight matrix
Figure PCTCN2021136323-appb-000067
and
Figure PCTCN2021136323-appb-000068
The dimension of is h×(h+h), the input of the n i neuron is the output of the n i neuron in the n l -1 layer, namely:
Figure PCTCN2021136323-appb-000069
Figure PCTCN2021136323-appb-000069
其中,在计算每层第1个神经元的输入和输出时,
Figure PCTCN2021136323-appb-000070
Figure PCTCN2021136323-appb-000071
的值在k=0时通过随机初始化确定,在k≥1时其值等于前一时刻该层最后一个神经元的输出和状态,即
Figure PCTCN2021136323-appb-000072
Figure PCTCN2021136323-appb-000073
Among them, when calculating the input and output of the first neuron in each layer,
Figure PCTCN2021136323-appb-000070
and
Figure PCTCN2021136323-appb-000071
The value of is determined by random initialization when k=0, and its value is equal to the output and state of the last neuron in the layer at the previous moment when k≥1, namely
Figure PCTCN2021136323-appb-000072
Figure PCTCN2021136323-appb-000073
将第L层第n个神经元的输出
Figure PCTCN2021136323-appb-000074
输入到全连接层,全连接层输出即为离线深度学习模型的输出 v(k),如下式所示:
Put the output of the nth neuron in the Lth layer
Figure PCTCN2021136323-appb-000074
Input to the fully connected layer, and the output of the fully connected layer is the output v (k) of the offline deep learning model, as shown in the following formula:
Figure PCTCN2021136323-appb-000075
Figure PCTCN2021136323-appb-000075
其中,W d∈R 3×h和b d∈R 3为全连接层的权值和偏置。 Among them, W d ∈ R 3×h and b d ∈ R 3 are the weights and biases of the fully connected layer.
采用两炉次的实际过程数据(每炉次为10小时,数据量为36000组)分别作为训练集和测试集,采用(19)式的M个(M=36000)输入、输出数据组成大数据样本,采用下列训练算法使标签数据v(k)与离线深度学习模型输出 v(k)的模型误差Δ v(k)尽可能小来训练网络,确定n、h和L,具体操作如下: The actual process data of two heats (10 hours for each heat and 36,000 sets of data) are used as the training set and the test set respectively, and M (M=36000) input and output data of formula (19) are used to form big data Sample, use the following training algorithm to make the model error Δ v (k) between the label data v (k) and the offline deep learning model output v (k) as small as possible to train the network, determine n, h and L, the specific operations are as follows:
令网络层数L=1,训练算法的目标函数为:Let the number of network layers L=1, the objective function of the training algorithm is:
Figure PCTCN2021136323-appb-000076
Figure PCTCN2021136323-appb-000076
其中,Δ v(k)=v(k)- v(k),v(k)和 v(k)如(30)式和(31)式所示: Where, Δ v (k)=v(k) -v (k), v(k) and v (k) are shown in equations (30) and (31):
Figure PCTCN2021136323-appb-000077
Figure PCTCN2021136323-appb-000077
Figure PCTCN2021136323-appb-000078
Figure PCTCN2021136323-appb-000078
其中,
Figure PCTCN2021136323-appb-000079
由(24)式求得。基于误差反向传播,采用梯度下降算法训练网络权重
Figure PCTCN2021136323-appb-000080
W d和偏置
Figure PCTCN2021136323-appb-000081
b d。所有权重和偏置的训练算法相同,下面以输出门权重
Figure PCTCN2021136323-appb-000082
的训练为例进行描述,目标函数J关于
Figure PCTCN2021136323-appb-000083
的偏导数为:
in,
Figure PCTCN2021136323-appb-000079
It can be obtained from equation (24). Based on error back propagation, gradient descent algorithm is used to train network weights
Figure PCTCN2021136323-appb-000080
W d and Bias
Figure PCTCN2021136323-appb-000081
b d . The training algorithm for all weights and biases is the same, and the output gate weights are used below.
Figure PCTCN2021136323-appb-000082
The training is described as an example, and the objective function J is about
Figure PCTCN2021136323-appb-000083
The partial derivative of is:
Figure PCTCN2021136323-appb-000084
Figure PCTCN2021136323-appb-000084
根据下式更新输出门权重
Figure PCTCN2021136323-appb-000085
Update the output gate weights according to
Figure PCTCN2021136323-appb-000085
Figure PCTCN2021136323-appb-000086
Figure PCTCN2021136323-appb-000086
其中,η为学习率。where η is the learning rate.
采用与(32)式~(33)式相同的训练算法确定其它权重和偏置。Other weights and biases are determined using the same training algorithm as equations (32) to (33).
令LSTM的单元节点数h等于输入时间序列
Figure PCTCN2021136323-appb-000087
的维数15,神经网络层数L等于1。使n从1开始递增,分别计算模型误差Δ v(k)的平均绝对误差(MAE)。由图5可知,当n=3时Δ v(k)的MAE最小,因此该动态系统的阶次n为3,即每层神经元的个数为3。
Let the number of cell nodes h of the LSTM be equal to the input time series
Figure PCTCN2021136323-appb-000087
The dimension of 15, the number of neural network layers L is equal to 1. Let n increase from 1, and calculate the mean absolute error (MAE) of the model error Δv (k), respectively. It can be seen from Figure 5 that when n=3, the MAE of Δ v (k) is the smallest, so the order n of the dynamic system is 3, that is, the number of neurons in each layer is 3.
固定n=3、L=1,令h从15开始递增,分别计算Δ v(k)的MAE。由图6可知,当h=1770时Δ v(k) 的MAE最小,因此单元节点数h取1770。 Fix n=3, L=1, let h increase from 15, and calculate the MAE of Δ v (k) respectively. It can be seen from FIG. 6 that when h=1770, the MAE of Δ v (k) is the smallest, so the number h of unit nodes is 1770.
固定n=3、h=1770,令L从1开始递增,分别计算Δ v(k)的MAE。由图7可知,当L=7时Δ v(k)的MAE最小,因此神经网络层数L取7。 Fix n=3, h=1770, let L increase from 1, and calculate the MAE of Δ v (k). It can be seen from Figure 7 that when L=7, the MAE of Δ v (k) is the smallest, so the number of neural network layers L is 7.
S42’:采用与离线深度学习模型相同的结构建立在线深度学习模型,具体的:S42’: Use the same structure as the offline deep learning model to build an online deep learning model, specifically:
采用LSTM建立在线深度学习模型,且该在线深度学习模型的神经元个数、单元节点数和神经网络层数均与所述离线深度学习模型相同,在线深度学习模型的各层的连接权参数和偏置参数的初始值采用离线深度学习模型的对应层的连接权参数值和偏置参数,固定在线深度学习模型中的第1~7层的连接权参数和偏置参数,采用时间序列窗口长度为N的实时更新的输入数据和标签数据在线校正该在线深度学习模型的全连接层的连接权参数W d(k)和偏置参数b d(k),得到v(k)的在线深度学习模型输出
Figure PCTCN2021136323-appb-000088
为:
LSTM is used to establish an online deep learning model, and the number of neurons, unit nodes and neural network layers of the online deep learning model are the same as those of the offline deep learning model. The connection weight parameters of each layer of the online deep learning model and The initial value of the bias parameter adopts the connection weight parameter value and bias parameter of the corresponding layer of the offline deep learning model, and the connection weight parameter and bias parameter of the 1st to 7th layers in the online deep learning model are fixed, and the time series window length is used. Correct the connection weight parameter W d (k) and bias parameter b d (k) of the fully connected layer of the online deep learning model for the real-time updated input data and label data of N, and obtain the online deep learning of v(k) model output
Figure PCTCN2021136323-appb-000088
for:
Figure PCTCN2021136323-appb-000089
Figure PCTCN2021136323-appb-000089
其中,W d(k)∈R 3×h和b d(k)∈R 3为全连接层的权值和偏置,
Figure PCTCN2021136323-appb-000090
为第7层第3个神经元的输出。
Among them, W d (k)∈R 3×h and b d (k)∈R 3 are the weights and biases of the fully connected layer,
Figure PCTCN2021136323-appb-000090
is the output of the third neuron in the seventh layer.
在k+1时刻,更新的数据集为
Figure PCTCN2021136323-appb-000091
Figure PCTCN2021136323-appb-000092
为:
At time k+1, the updated dataset is
Figure PCTCN2021136323-appb-000091
Figure PCTCN2021136323-appb-000092
for:
Figure PCTCN2021136323-appb-000093
Figure PCTCN2021136323-appb-000093
在线校正W d(k+1)和b d(k+1)的目标函数和校正算法分别如(36)式和(37)式所示: The objective function and correction algorithm for online correction of W d (k+1) and b d (k+1) are shown in equations (36) and (37), respectively:
Figure PCTCN2021136323-appb-000094
Figure PCTCN2021136323-appb-000094
Figure PCTCN2021136323-appb-000095
Figure PCTCN2021136323-appb-000095
其中,
Figure PCTCN2021136323-appb-000096
表示标签数据v(k)与在线深度学习模型输出
Figure PCTCN2021136323-appb-000097
的模型误差,
Figure PCTCN2021136323-appb-000098
Figure PCTCN2021136323-appb-000099
如下式所示:
in,
Figure PCTCN2021136323-appb-000096
Represents labeled data v(k) and online deep learning model output
Figure PCTCN2021136323-appb-000097
model error,
Figure PCTCN2021136323-appb-000098
and
Figure PCTCN2021136323-appb-000099
As shown in the following formula:
Figure PCTCN2021136323-appb-000100
Figure PCTCN2021136323-appb-000100
固定n=3、h=1770、L=7,采用(36)式~(38)式所示训练算法,令N从1开始递增,分别计算Δv(k)的均方根误差(RMSE)。由图8可知,当N=1330时Δv(k)的RMSE最小,因此时间序列窗口长度N取1330。Fix n=3, h=1770, L=7, adopt the training algorithm shown in equations (36) to (38), let N increase from 1, and calculate the root mean square error (RMSE) of Δv(k) respectively. It can be seen from Figure 8 that when N=1330, the RMSE of Δv(k) is the smallest, so the time series window length N is 1330.
S43’:采用与离线深度学习模型完全相同的结构,即n=3、h=1770、L=7,建立下式所示的深度学习校正模型。S43': Using the exact same structure as the offline deep learning model, that is, n=3, h=1770, L=7, establish the deep learning correction model shown in the following formula.
Figure PCTCN2021136323-appb-000101
Figure PCTCN2021136323-appb-000101
其中,
Figure PCTCN2021136323-appb-000102
为k+1时刻深度学习校正模型的输出。k+1时刻采用过去所有时刻的全部数据,更新的数据集为
Figure PCTCN2021136323-appb-000103
在线训练该深度学习校正模型各层的所有连接权参数和偏置参数。
in,
Figure PCTCN2021136323-appb-000102
is the output of the deep learning correction model at time k+1. The k+1 moment adopts all the data of all the past moments, and the updated data set is
Figure PCTCN2021136323-appb-000103
Online training of this deep learning corrects all connection weight parameters and bias parameters of each layer of the model.
设定误差的区间上界为δ=100A,在k+1时刻,若在线深度学习模型的输出与辨识模型的输出相叠加得到的电极电流智能模型的输出
Figure PCTCN2021136323-appb-000104
与电熔镁砂熔炼过程电极电流真实值y i(k+1)之间的误差
Figure PCTCN2021136323-appb-000105
时,采用深度学习校正模型的各层的所有连接权参数和偏置参数校正在线深度学习模型的对应层的连接权参数和偏置参数。
The upper bound of the set error interval is δ=100A. At time k+1, if the output of the online deep learning model and the output of the identification model are superimposed, the output of the electrode current intelligent model is obtained.
Figure PCTCN2021136323-appb-000104
The error between the actual value y i (k+1) of the electrode current in the smelting process of fused magnesia
Figure PCTCN2021136323-appb-000105
When , all connection weight parameters and bias parameters of each layer of the deep learning correction model are used to correct the connection weight parameters and bias parameters of the corresponding layers of the online deep learning model.
其中,在线深度学习模型和深度学习校正模型的输入数据由端—电熔镁砂熔炼过程PLC控制系统获得,辨识模型和在线深度学习模型在边—边缘计算设备运行,深度学习校正模型在云—工业云运行。Among them, the input data of the online deep learning model and the deep learning correction model are obtained by the end-PLC control system of the fused magnesia smelting process. Industrial cloud runs.
S5’:采用辨识模型与未知非线性动态系统的智能模型建立电熔镁砂熔炼过程数字孪生系统的电极电流智能模型。S5’: Establish the electrode current intelligent model of the digital twin system of the fused magnesia smelting process by using the identification model and the intelligent model of the unknown nonlinear dynamic system.
具体的,电熔镁砂熔炼过程数字孪生系统的电极电流智能模型为:Specifically, the electrode current intelligent model of the digital twin system of the fused magnesia smelting process is:
Figure PCTCN2021136323-appb-000106
Figure PCTCN2021136323-appb-000106
其中,辨识模型输出
Figure PCTCN2021136323-appb-000107
由(17)式求得,未知非线性动态系统的智能模型输出
Figure PCTCN2021136323-appb-000108
由(34)式求得。电熔镁砂熔炼过程数字孪生系统的结构图如图9所示。
Among them, the identification model output
Figure PCTCN2021136323-appb-000107
Obtained from (17), the intelligent model output of the unknown nonlinear dynamic system
Figure PCTCN2021136323-appb-000108
It can be obtained from equation (34). The structure diagram of the digital twin system of the fused magnesia smelting process is shown in Figure 9.
选取300组测试集数据,对采用辨识模型输出
Figure PCTCN2021136323-appb-000109
和本发明实施例中将辨识模型输出
Figure PCTCN2021136323-appb-000110
与未知非线性动态系统智能模型输出
Figure PCTCN2021136323-appb-000111
相加建立的两种电流模型进行比较,模型输出分别为
Figure PCTCN2021136323-appb-000112
Figure PCTCN2021136323-appb-000113
Figure PCTCN2021136323-appb-000114
Figure PCTCN2021136323-appb-000115
分别由(17)式和(34)式求得。采用(41)式和(42)式所示的性能评价指标均方根误差(RMSE)和平均绝对百分比误差(MAPE)对模型精度进行评价,结果见表1。
Select 300 sets of test set data, and use the identification model to output
Figure PCTCN2021136323-appb-000109
and in the embodiment of the present invention, the identification model is output
Figure PCTCN2021136323-appb-000110
Intelligent model output with unknown nonlinear dynamic systems
Figure PCTCN2021136323-appb-000111
The two current models established by addition are compared, and the model outputs are respectively
Figure PCTCN2021136323-appb-000112
and
Figure PCTCN2021136323-appb-000113
Figure PCTCN2021136323-appb-000114
and
Figure PCTCN2021136323-appb-000115
They are obtained from equations (17) and (34), respectively. The performance evaluation indicators root mean square error (RMSE) and mean absolute percentage error (MAPE) shown in equations (41) and (42) are used to evaluate the model accuracy. The results are shown in Table 1.
Figure PCTCN2021136323-appb-000116
Figure PCTCN2021136323-appb-000116
Figure PCTCN2021136323-appb-000117
Figure PCTCN2021136323-appb-000117
其中,N 0=300为时间步数,y i(k)为真实值,
Figure PCTCN2021136323-appb-000118
为模型输出值。
Among them, N 0 =300 is the number of time steps, y i (k) is the real value,
Figure PCTCN2021136323-appb-000118
Output values for the model.
表1三相电流模型精度性能评价表Table 1 Three-phase current model accuracy performance evaluation table
Figure PCTCN2021136323-appb-000119
Figure PCTCN2021136323-appb-000119
由表1可以看出,本发明实施例的建模精度明显优于采用辨识模型输出的方法,三相电流y 1(k)、y 2(k)、y 3(k)的RMSE分别降低了93.14%、91.82%、93.72%,MAPE分别降低了96.22%、95.23%、96.14%。采用本发明实施例所建立的三相电流模型精度满足建立电熔镁砂熔炼过程数字孪生系统的要求,为实现电熔镁砂熔炼过程的智能优化控制创造了条件。 It can be seen from Table 1 that the modeling accuracy of the embodiment of the present invention is obviously better than the method of using the identification model output, and the RMSEs of the three-phase currents y 1 (k), y 2 (k), and y 3 (k) are reduced respectively. 93.14%, 91.82%, 93.72%, MAPE decreased by 96.22%, 95.23%, 96.14%, respectively. The accuracy of the three-phase current model established by the embodiment of the present invention satisfies the requirements for establishing a digital twin system of the fused magnesia smelting process, and creates conditions for realizing the intelligent optimization control of the fused magnesia smelting process.
在一个实施例中,如图10所示,提供了一种复杂工业过程数字孪生系统智能建模装置,包括:机理模型建模模块、参数辨识模块、未知非线性动态获取模块、未知非线性动态系统智能模型建模模块和数字孪生系统智能模型建模模块,其中:In one embodiment, as shown in FIG. 10 , an intelligent modeling device for a digital twin system of a complex industrial process is provided, including: a mechanism model modeling module, a parameter identification module, an unknown nonlinear dynamic acquisition module, an unknown nonlinear dynamic The system intelligent model modeling module and the digital twin system intelligent model modeling module, including:
机理模型建模模块用于建立复杂工业过程的机理模型,所述机理模型包括可辨识模型和未建模动态两部分;The mechanism model modeling module is used to establish a mechanism model of a complex industrial process, and the mechanism model includes two parts: an identifiable model and an unmodeled dynamic;
参数辨识模块用于估计所述可辨识模型的参数,得到辨识模型;The parameter identification module is used for estimating the parameters of the identifiable model to obtain the identification model;
未知非线性动态获取模块用于采用辨识模型误差与所述未建模动态构成未知非线性动态系统;The unknown nonlinear dynamic acquisition module is used for using the identified model error and the unmodeled dynamic to form an unknown nonlinear dynamic system;
未知非线性动态系统智能模型建模模块用于建立所述未知非线性动态系统的智能模型;The unknown nonlinear dynamic system intelligent model modeling module is used to establish the intelligent model of the unknown nonlinear dynamic system;
数字孪生系统智能模型建模模块用于采用所述辨识模型与所述未知非线性动态系统的智能模型建立所述复杂工业过程数字孪生系统的智能模型;The digital twin system intelligent model modeling module is used to establish the intelligent model of the complex industrial process digital twin system by using the identification model and the intelligent model of the unknown nonlinear dynamic system;
其中,所述辨识模型误差为将可辨识模型中的参数用其辨识值代替时造成的模型输出误差。Wherein, the identification model error is the model output error caused when the parameters in the identifiable model are replaced by their identification values.
在其中一个实施例中,未知非线性动态系统智能模型建模模块包括离线深度学习模型建模模块、在线深度学习模型建模模块、深度学习校正模型建模模块和自校正模块;所述离线深度学习模型建模模块采用LSTM建立所述在线深度学习模型;所述在线深度学习模型建模模块采用与所述离线深度学习模型相同的结构建立所述在线深度学习模型;所述深度学习校正模型建模模块采用与所述离线深度学习模型相同的结构建立所述深度学习校正模型;所述自校正模块,在所述复杂工业过程数字孪生系统的智能模型的输出与所述复杂工业过程的实际输出之间的误差大于设定阈值时,采用自校正机制,用所述深度学习校正模型的连接权参数和偏置参数校正所述在线深度学习模型的连接权参数和偏置参数;其中,所述深度学习校正模型所用的历史数据比所述在线深度学习模型所用的历史数据多。In one embodiment, the unknown nonlinear dynamic system intelligent model modeling module includes an offline deep learning model modeling module, an online deep learning model modeling module, a deep learning calibration model modeling module and a self-calibration module; the offline depth The learning model modeling module adopts LSTM to build the online deep learning model; the online deep learning model modeling module adopts the same structure as the offline deep learning model to build the online deep learning model; the deep learning correction model builds the online deep learning model. The model module adopts the same structure as the offline deep learning model to establish the deep learning correction model; the self-correction module, the output of the intelligent model of the complex industrial process digital twin system and the actual output of the complex industrial process When the error between them is greater than the set threshold, a self-correction mechanism is used to correct the connection weight parameters and bias parameters of the online deep learning model with the connection weight parameters and bias parameters of the deep learning correction model; wherein, the The deep learning correction model uses more historical data than the online deep learning model.
在其中一个实施例中,所述在线深度学习模型和所述深度学习校正模型均包括输入层、隐藏层、全连接层和输出层;所述在线深度学习模型建模模块固定所述在线深度学习模型中的所述隐藏层的连接权参数和偏置参数,并在线校正所述在线深度学习模型中的所述全连接层的连接权参数和偏置参数;所述深度学习校正模型建模模块在线训练所述深度学习校正模型中的所述隐藏层和所述全连接层的连接权参数和偏置参数;所述自校正模块,在所述复杂工业过程数字孪生系统的智能模型的输出与所述复杂工业过程的实际输出之间的误差大于设定阈值时,采用自校正机制,用所述深度学习校正模型的所述隐藏层的连接权参数和偏置参数替换所述在线深度学习模型中的所述隐藏层的连接权参数和偏置参数,用所述深度学习校正模型的所述全连接层的连接权参数和偏置参数替换所述在线深度学习模型中的所述全连接层的连接权参数和偏置参数。In one embodiment, both the online deep learning model and the deep learning correction model include an input layer, a hidden layer, a fully connected layer and an output layer; the online deep learning model modeling module fixes the online deep learning connection weight parameters and bias parameters of the hidden layer in the model, and online correction of the connection weight parameters and bias parameters of the fully connected layer in the online deep learning model; the deep learning correction model modeling module The connection weight parameters and bias parameters of the hidden layer and the fully connected layer in the deep learning correction model are trained online; the self-correction module, in the output of the intelligent model of the complex industrial process digital twin system, is the same as the When the error between the actual outputs of the complex industrial process is greater than a set threshold, a self-correction mechanism is used to replace the online deep learning model with the connection weight parameters and bias parameters of the hidden layer of the deep learning correction model The connection weight parameters and bias parameters of the hidden layer in the deep learning correction model are used to replace the fully connected layer in the online deep learning model with the connection weight parameters and bias parameters of the fully connected layer of the deep learning correction model. The connection weight parameters and bias parameters of .
在其中一个实施例中,所述复杂工业过程为电熔镁砂熔炼过程。In one of the embodiments, the complex industrial process is an fused magnesia smelting process.
关于复杂工业过程数字孪生系统智能建模装置的具体限定可以参见上文中对于复杂工业过程数字孪生系统智能建模方法的限定,在此不再赘述。上述复杂工业过程数字孪生系统智能建模装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the intelligent modeling device for a digital twin system of a complex industrial process, reference may be made to the limitations on an intelligent modeling method for a digital twin system of a complex industrial process above, which will not be repeated here. Each module in the above-mentioned intelligent modeling device for a digital twin system of a complex industrial process can be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种用于实现上述各实施例中的复杂工业过程数字孪生系统智能建模方法的设备,包括:端侧子设备、边缘侧子设备和云侧子设备;所述端侧子设备用于获得所述在线深度学习模型和所述深度学习校正模型的输入数据;所述边缘侧子设备用于运行所述辨识模型和所述在线深度学习模型;所述云侧子设备用于运行所述深度学习校正模型;所述端侧子设备为所述复杂工业过程的过程控制系统,所述边缘侧子设备为边缘计算设备,所述云侧子设备为工业云。In one embodiment, a device for implementing the intelligent modeling method for a digital twin system of a complex industrial process in the above embodiments is provided, including: terminal-side sub-devices, edge-side sub-devices, and cloud-side sub-devices; The terminal side sub-device is used to obtain the input data of the online deep learning model and the deep learning correction model; the edge side sub-device is used to run the identification model and the online deep learning model; the cloud side The sub-device is used for running the deep learning correction model; the terminal-side sub-device is a process control system of the complex industrial process, the edge-side sub-device is an edge computing device, and the cloud-side sub-device is an industrial cloud.
在一个实施例中,提供了一种计算机可读存储介质,其存储有计算机程序,所述程序被处理器执 行时实现上述各实施例中的复杂工业过程数字孪生系统智能建模方法。In one embodiment, a computer-readable storage medium is provided, which stores a computer program, and when the program is executed by a processor, realizes the intelligent modeling method for a digital twin system of a complex industrial process in each of the foregoing embodiments.
在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例以及不同实施例的特征进行结合和组合。Those skilled in the art may combine and combine the different embodiments described in this specification and the features of the different embodiments without contradicting each other.
综上所述,本发明实施例提出的复杂工业过程数字孪生系统智能建模方法、装置和设备针对复杂工业过程数字孪生系统的精度较难保证的问题,将基于机理模型的系统辨识方法与基于大数据的深度学习方法相结合,采用端边云协同方式,建立了复杂工业过程数字孪生系统的智能模型,解决了复杂工业过程数字孪生系统的建模难题,提高了建模精度。To sum up, the intelligent modeling method, device and equipment for a complex industrial process digital twin system proposed in the embodiments of the present invention are aimed at the problem that the accuracy of the complex industrial process digital twin system is difficult to guarantee. Combining the deep learning methods of big data and using the device-edge-cloud collaboration method, an intelligent model of the complex industrial process digital twin system is established, which solves the modeling problem of the complex industrial process digital twin system and improves the modeling accuracy.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到其各种变化或替换,这些都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art who is familiar with the technical field disclosed in the present invention can easily think of various changes or Replacement, these should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

  1. 一种复杂工业过程数字孪生系统智能建模方法,其特征在于,所述方法包括:An intelligent modeling method for a complex industrial process digital twin system, characterized in that the method comprises:
    建立复杂工业过程的机理模型,所述机理模型包括可辨识模型和未建模动态两部分;Establish a mechanism model of a complex industrial process, the mechanism model includes an identifiable model and an unmodeled dynamic part;
    估计所述可辨识模型的参数,得到辨识模型;Estimating the parameters of the identifiable model to obtain an identifiable model;
    采用辨识模型误差与所述未建模动态构成未知非线性动态系统;Using the identified model error and the unmodeled dynamic to form an unknown nonlinear dynamic system;
    建立所述未知非线性动态系统的智能模型;establishing an intelligent model of the unknown nonlinear dynamic system;
    采用所述辨识模型与所述未知非线性动态系统的智能模型建立所述复杂工业过程数字孪生系统的智能模型;Using the identification model and the intelligent model of the unknown nonlinear dynamic system to establish an intelligent model of the complex industrial process digital twin system;
    其中,所述辨识模型误差为将可辨识模型中的参数用其辨识值代替时造成的模型输出误差。Wherein, the identification model error is the model output error caused when the parameters in the identifiable model are replaced by their identification values.
  2. 根据权利要求1所述的方法,其特征在于,所述未知非线性动态系统的智能模型包括离线深度学习模型、在线深度学习模型、深度学习校正模型和自校正机制;The method according to claim 1, wherein the intelligent model of the unknown nonlinear dynamic system comprises an offline deep learning model, an online deep learning model, a deep learning correction model and a self-correction mechanism;
    采用LSTM建立所述离线深度学习模型;Use LSTM to build the offline deep learning model;
    采用与所述离线深度学习模型相同的结构建立所述在线深度学习模型;The online deep learning model is established using the same structure as the offline deep learning model;
    采用与所述离线深度学习模型相同的结构建立所述深度学习校正模型;The deep learning correction model is established using the same structure as the offline deep learning model;
    当所述复杂工业过程数字孪生系统的智能模型的输出与所述复杂工业过程的实际输出之间的误差大于设定阈值时,采用自校正机制,用所述深度学习校正模型的连接权参数和偏置参数校正所述在线深度学习模型的连接权参数和偏置参数;When the error between the output of the intelligent model of the complex industrial process digital twin system and the actual output of the complex industrial process is greater than a set threshold, a self-correction mechanism is adopted, and the deep learning is used to correct the connection weight parameters of the model and The bias parameter corrects the connection weight parameter and the bias parameter of the online deep learning model;
    其中,所述深度学习校正模型所用的历史数据比所述在线深度学习模型所用的历史数据多。Wherein, the historical data used by the deep learning correction model is more than the historical data used by the online deep learning model.
  3. 根据权利要求2所述的方法,其特征在于,所述在线深度学习模型和所述深度学习校正模型均包括输入层、隐藏层、全连接层和输出层;The method according to claim 2, wherein the online deep learning model and the deep learning correction model both comprise an input layer, a hidden layer, a fully connected layer and an output layer;
    固定所述在线深度学习模型中的所述隐藏层的连接权参数和偏置参数,并在线校正所述在线深度学习模型中的所述全连接层的连接权参数和偏置参数;Fixing the connection weight parameter and bias parameter of the hidden layer in the online deep learning model, and correcting the connection weight parameter and bias parameter of the fully connected layer in the online deep learning model online;
    在线训练所述深度学习校正模型中的所述隐藏层和所述全连接层的连接权参数和偏置参数;online training the connection weight parameters and bias parameters of the hidden layer and the fully connected layer in the deep learning correction model;
    当所述复杂工业过程数字孪生系统的智能模型的输出与所述复杂工业过程的实际输出之间的误差大于设定阈值时,采用自校正机制,用所述深度学习校正模型的所述隐藏层的连接权参数和偏置参数替换所述在线深度学习模型中的所述隐藏层的连接权参数和偏置参数,用所述深度学习校正模型的所述全连接层的连接权参数和偏置参数替换所述在线深度学习模型中的所述全连接层的连接权参数和偏置参数。When the error between the output of the intelligent model of the complex industrial process digital twin system and the actual output of the complex industrial process is greater than a set threshold, a self-correction mechanism is adopted to correct the hidden layer of the model with the deep learning The connection weight parameters and bias parameters of the online deep learning model are replaced by the connection weight parameters and bias parameters of the hidden layer in the online deep learning model, and the connection weight parameters and bias parameters of the fully connected layer of the deep learning correction model are used. The parameters replace the connection weight parameters and bias parameters of the fully connected layer in the online deep learning model.
  4. 根据权利要求1-3任一所述的方法,其特征在于,所述复杂工业过程为电熔镁砂熔炼过程。The method according to any one of claims 1-3, wherein the complex industrial process is an fused magnesia smelting process.
  5. 一种复杂工业过程数字孪生系统智能建模装置,其特征在于,所述装置包括:An intelligent modeling device for a complex industrial process digital twin system, characterized in that the device comprises:
    机理模型建模模块,用于建立复杂工业过程的机理模型,所述机理模型包括可辨识模型和未建模动态两部分;The mechanism model modeling module is used to establish a mechanism model of a complex industrial process, and the mechanism model includes two parts: an identifiable model and an unmodeled dynamic;
    参数辨识模块,用于估计所述可辨识模型的参数,得到辨识模型;A parameter identification module for estimating the parameters of the identifiable model to obtain an identification model;
    未知非线性动态获取模块,用于采用辨识模型误差与所述未建模动态构成未知非线性动态系统;an unknown nonlinear dynamic acquisition module, used for using the identified model error and the unmodeled dynamic to form an unknown nonlinear dynamic system;
    未知非线性动态系统智能模型建模模块,用于建立所述未知非线性动态系统的智能模型;an intelligent model modeling module of an unknown nonlinear dynamic system, used for establishing an intelligent model of the unknown nonlinear dynamic system;
    数字孪生系统智能模型建模模块,用于采用所述辨识模型与所述未知非线性动态系统的智能模型建立所述复杂工业过程数字孪生系统的智能模型;A digital twin system intelligent model modeling module, used for establishing an intelligent model of the complex industrial process digital twin system by using the identification model and the intelligent model of the unknown nonlinear dynamic system;
    其中,所述辨识模型误差为将可辨识模型中的参数用其辨识值代替时造成的模型输出误差。Wherein, the identification model error is the model output error caused when the parameters in the identifiable model are replaced by their identification values.
  6. 根据权利要求5所述的装置,其特征在于,所述未知非线性动态系统智能模型建模模块包括离线深度学习模型建模模块、在线深度学习模型建模模块、深度学习校正模型建模模块和自校正模块;The device according to claim 5, wherein the unknown nonlinear dynamic system intelligent model modeling module comprises an offline deep learning model modeling module, an online deep learning model modeling module, a deep learning correction model modeling module and self-calibration module;
    所述离线深度学习模型建模模块采用LSTM建立所述离线深度学习模型;The offline deep learning model modeling module adopts LSTM to establish the offline deep learning model;
    所述在线深度学习模型建模模块采用与所述离线深度学习模型相同的结构建立所述在线深度学习模型;The online deep learning model modeling module adopts the same structure as the offline deep learning model to establish the online deep learning model;
    所述深度学习校正模型建模模块采用与所述离线深度学习模型相同的结构建立所述深度学习校正模型;The deep learning correction model modeling module adopts the same structure as the offline deep learning model to establish the deep learning correction model;
    所述自校正模块,在所述复杂工业过程数字孪生系统的智能模型的输出与所述复杂工业过程的实际输出之间的误差大于设定阈值时,采用自校正机制,用所述深度学习校正模型的连接权参数和偏置参数校正所述在线深度学习模型的连接权参数和偏置参数;The self-correction module, when the error between the output of the intelligent model of the complex industrial process digital twin system and the actual output of the complex industrial process is greater than a set threshold, adopts a self-correction mechanism, and uses the deep learning to correct The connection weight parameters and bias parameters of the model correct the connection weight parameters and bias parameters of the online deep learning model;
    其中,所述深度学习校正模型所用的历史数据比所述在线深度学习模型所用的历史数据多。Wherein, the historical data used by the deep learning correction model is more than the historical data used by the online deep learning model.
  7. 根据权利要求6所述的装置,其特征在于,所述在线深度学习模型和所述深度学习校正模型均包括输入层、隐藏层、全连接层和输出层;The device according to claim 6, wherein the online deep learning model and the deep learning correction model both comprise an input layer, a hidden layer, a fully connected layer and an output layer;
    所述在线深度学习模型建模模块固定所述在线深度学习模型中的所述隐藏层的连接权参数和偏置参数,并在线校正所述在线深度学习模型中的所述全连接层的连接权参数和偏置参数;The online deep learning model modeling module fixes the connection weight parameter and bias parameter of the hidden layer in the online deep learning model, and online corrects the connection weight of the fully connected layer in the online deep learning model parameters and bias parameters;
    所述深度学习校正模型建模模块在线训练所述深度学习校正模型中的所述隐藏层和所述全连接层的连接权参数和偏置参数;The deep learning correction model modeling module trains the connection weight parameters and bias parameters of the hidden layer and the fully connected layer in the deep learning correction model online;
    所述自校正模块,在所述复杂工业过程数字孪生系统的智能模型的输出与所述复杂工业过程的实际输出之间的误差大于设定阈值时,采用自校正机制,用所述深度学习校正模型的所述隐藏层的连接权参数和偏置参数替换所述在线深度学习模型中的所述隐藏层的连接权参数和偏置参数,用所述深度学习校正模型的所述全连接层的连接权参数和偏置参数替换所述在线深度学习模型中的所述全连接 层的连接权参数和偏置参数。The self-correction module, when the error between the output of the intelligent model of the complex industrial process digital twin system and the actual output of the complex industrial process is greater than a set threshold, adopts a self-correction mechanism, and uses the deep learning to correct The connection weight parameters and bias parameters of the hidden layer of the model replace the connection weight parameters and bias parameters of the hidden layer in the online deep learning model, and the deep learning is used to correct the fully connected layer of the model. The connection weight parameter and the bias parameter replace the connection weight parameter and the bias parameter of the fully connected layer in the online deep learning model.
  8. 根据权利要求5-7任一所述的装置,其特征在于,所述复杂工业过程为电熔镁砂熔炼过程。The device according to any one of claims 5-7, wherein the complex industrial process is an fused magnesia smelting process.
  9. 一种用于实现权利要求2或3所述方法的设备,其特征在于,所述设备包括:端侧子设备、边缘侧子设备和云侧子设备;A device for implementing the method according to claim 2 or 3, characterized in that, the device comprises: terminal-side sub-device, edge-side sub-device, and cloud-side sub-device;
    所述端侧子设备用于获得所述在线深度学习模型和所述深度学习校正模型的输入数据;The terminal-side sub-device is used to obtain the input data of the online deep learning model and the deep learning correction model;
    所述边缘侧子设备用于运行所述辨识模型和所述在线深度学习模型;The edge side sub-device is used to run the identification model and the online deep learning model;
    所述云侧子设备用于运行所述深度学习校正模型;The cloud side sub-device is used to run the deep learning correction model;
    所述端侧子设备为所述复杂工业过程的过程控制系统,所述边缘侧子设备为边缘计算设备,所述云侧子设备为工业云。The terminal-side sub-device is a process control system of the complex industrial process, the edge-side sub-device is an edge computing device, and the cloud-side sub-device is an industrial cloud.
  10. 一种计算机可读存储介质,其存储有计算机程序,其特征在于,所述程序被处理器执行时实现如权利要求1-4中任一所述的方法。A computer-readable storage medium storing a computer program, characterized in that, when the program is executed by a processor, the method according to any one of claims 1-4 is implemented.
PCT/CN2021/136323 2020-12-10 2021-12-08 Smart modelling method and apparatus of complex industrial process digital twin system, device, and storage medium WO2022121923A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011435289.1A CN112560337B (en) 2020-12-10 2020-12-10 Intelligent modeling method, device, equipment and storage medium for digital twin system of complex industrial process
CN202011435289.1 2020-12-10

Publications (1)

Publication Number Publication Date
WO2022121923A1 true WO2022121923A1 (en) 2022-06-16

Family

ID=75060616

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/136323 WO2022121923A1 (en) 2020-12-10 2021-12-08 Smart modelling method and apparatus of complex industrial process digital twin system, device, and storage medium

Country Status (2)

Country Link
CN (1) CN112560337B (en)
WO (1) WO2022121923A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115184563A (en) * 2022-09-08 2022-10-14 北京中环高科环境治理有限公司 Chemical workshop field data acquisition method based on digital twinning
CN115310228A (en) * 2022-08-09 2022-11-08 重庆大学 Gear shape modification design method based on digital twinning
CN116341396A (en) * 2023-05-30 2023-06-27 青岛理工大学 Complex equipment digital twin modeling method based on multi-source data fusion
CN117131828A (en) * 2023-07-12 2023-11-28 合肥工业大学 Digital twin identification method for passive parameters of boost converter
CN117150832A (en) * 2023-11-01 2023-12-01 北京科技大学 Real-time prediction method and device for cross section shape of hot-rolled digital twin strip steel

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112560337B (en) * 2020-12-10 2023-12-01 东北大学 Intelligent modeling method, device, equipment and storage medium for digital twin system of complex industrial process
CN113607601B (en) * 2021-06-18 2022-10-28 东北大学 Intelligent detection method for ore pulp concentration based on combination of identification model and deep learning
CN114637262B (en) * 2022-03-10 2022-11-15 天津科技大学 Decision control method and system of intelligent factory digital twin information based on 5G drive
CN114609917B (en) * 2022-05-11 2022-08-05 曜石机器人(上海)有限公司 Servo driver and servo system based on digital twin technology
CN115857360B (en) * 2023-02-14 2023-07-25 青岛海大新星软件咨询有限公司 Industrial system mechanism modeling simulation platform
CN116700168A (en) * 2023-06-02 2023-09-05 中国五洲工程设计集团有限公司 Virtual-real synchronization method and system for production line

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110703718A (en) * 2019-11-13 2020-01-17 东北大学 Industrial process control method based on signal compensation
CN111439681A (en) * 2020-01-17 2020-07-24 华中科技大学 Intelligent identification method and system for unsafe operation based on tower crane
CN111768000A (en) * 2020-06-23 2020-10-13 中南大学 Industrial process data modeling method for online adaptive fine-tuning deep learning
CN112560337A (en) * 2020-12-10 2021-03-26 东北大学 Intelligent modeling method, device and equipment for complex industrial process digital twin system and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180136617A1 (en) * 2016-11-11 2018-05-17 General Electric Company Systems and methods for continuously modeling industrial asset performance
CN107526294B (en) * 2017-07-26 2020-09-15 西安奕斯伟设备技术有限公司 Intelligent identification method for thermal field temperature-silicon single crystal diameter nonlinear time lag system
CN110363285A (en) * 2019-06-20 2019-10-22 广东工业大学 Integrated transfinite learning machine and the Complex Nonlinear System modeling method of Hammerstein-Wiener

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110703718A (en) * 2019-11-13 2020-01-17 东北大学 Industrial process control method based on signal compensation
CN111439681A (en) * 2020-01-17 2020-07-24 华中科技大学 Intelligent identification method and system for unsafe operation based on tower crane
CN111768000A (en) * 2020-06-23 2020-10-13 中南大学 Industrial process data modeling method for online adaptive fine-tuning deep learning
CN112560337A (en) * 2020-12-10 2021-03-26 东北大学 Intelligent modeling method, device and equipment for complex industrial process digital twin system and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JANUARY SINICA, ZHANG YA-JUN, TIAN-YOU CHAI, JIE YANG: "Alternating Identification Algorithm and Its Application to a Class of Nonlinear Discrete-time Dynamical Systems", ACTA AUTOMATICA SINICA, 15 January 2017 (2017-01-15), pages 101 - 113, XP055942242, [retrieved on 20220713], DOI: 10.16383/j.aas.2017.c150759 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115310228A (en) * 2022-08-09 2022-11-08 重庆大学 Gear shape modification design method based on digital twinning
CN115184563A (en) * 2022-09-08 2022-10-14 北京中环高科环境治理有限公司 Chemical workshop field data acquisition method based on digital twinning
CN115184563B (en) * 2022-09-08 2022-12-02 北京中环高科环境治理有限公司 Chemical workshop field data acquisition method based on digital twinning
CN116341396A (en) * 2023-05-30 2023-06-27 青岛理工大学 Complex equipment digital twin modeling method based on multi-source data fusion
CN116341396B (en) * 2023-05-30 2023-08-11 青岛理工大学 Complex equipment digital twin modeling method based on multi-source data fusion
CN117131828A (en) * 2023-07-12 2023-11-28 合肥工业大学 Digital twin identification method for passive parameters of boost converter
CN117131828B (en) * 2023-07-12 2024-05-03 合肥工业大学 Digital twin identification method for passive parameters of boost converter
CN117150832A (en) * 2023-11-01 2023-12-01 北京科技大学 Real-time prediction method and device for cross section shape of hot-rolled digital twin strip steel
CN117150832B (en) * 2023-11-01 2024-02-23 北京科技大学 Real-time prediction method and device for cross section shape of hot-rolled digital twin strip steel

Also Published As

Publication number Publication date
CN112560337A (en) 2021-03-26
CN112560337B (en) 2023-12-01

Similar Documents

Publication Publication Date Title
WO2022121923A1 (en) Smart modelling method and apparatus of complex industrial process digital twin system, device, and storage medium
CN109946975B (en) Reinforced learning optimal tracking control method of unknown servo system
WO2022121944A1 (en) Method and apparatus for intelligent forecasting of industrial process operation indicators, device, and storage medium
Yi et al. Event-triggered globalized dual heuristic programming and its application to networked control systems
CN108008627B (en) Parallel optimization reinforcement learning self-adaptive PID control method
WO2021196997A1 (en) Method for predicting and controlling water level of series of water conveyance canals on basis of fuzzy neural network
Xiao et al. Online optimal control of unknown discrete-time nonlinear systems by using time-based adaptive dynamic programming
CN112381316B (en) Electromechanical equipment health state prediction method based on hybrid neural network model
Xie et al. On-line prediction of ferrous ion concentration in goethite process based on self-adjusting structure RBF neural network
Ai et al. Data-driven-based adaptive fuzzy neural network control for the antimony flotation plant
CN109685283B (en) Method for predicting submerged arc furnace working condition based on confidence rule base reasoning
WO2022121932A1 (en) Adaptive deep learning-based intelligent forecasting method, apparatus and device for complex industrial system, and storage medium
Chen et al. A multivariate grey RBF hybrid model for residual useful life prediction of industrial equipment based on state data
Wang et al. Strip hardness prediction in continuous annealing using multiobjective sparse nonlinear ensemble learning with evolutionary feature selection
CN114527795B (en) Aircraft intelligent control method based on increment online learning
Janabi-Sharifi et al. An adaptive system for modelling and simulation of electrical arc furnaces
Liang et al. A transfer predictive control method based on inter-domain mapping learning with application to industrial roasting process
Xu et al. A novel method of neural network model predictive control integrated process monitoring and applications to hot rolling process
CN111525548B (en) Method and system for evaluating static voltage stability margin of power grid
Li et al. Integrated adaptive dynamic programming for data-driven optimal controller design
CN109611222A (en) A kind of Electronic Throttle Control method based on impulsive neural networks
Chi et al. Comparison of two multi-step ahead forecasting mechanisms for wind speed based on machine learning models
CN114384931B (en) Multi-target optimal control method and equipment for unmanned aerial vehicle based on strategy gradient
CN114200840B (en) Traditional Chinese medicine pharmaceutical process operation optimization method based on distributed model predictive control
CN115016286A (en) Nonlinear industrial system data-driven reinforcement learning robust control method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21902628

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21902628

Country of ref document: EP

Kind code of ref document: A1