Disclosure of Invention
In order to solve the problems, the invention provides a GaN substrate growth heating furnace temperature self-setting method and a system, which can carry out self-adaptive operation in the growth process of the GaN substrate and automatically adjust the parameters of a PID (proportion integration differentiation) controller of the heating furnace temperature so as to adjust the temperature of the heating furnace and provide a stable temperature environment for the growth of GaN substrate materials.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention provides a GaN substrate growth heating furnace temperature self-tuning method, which comprises the following steps:
constructing a neural network, and setting a transfer function, a performance index, a learning rate, an alpha factor and a weight initial matrix of the neural network;
when the heating furnace actually runs, determining an input layer node of the neural network according to the actual temperature returned by the heating furnace system on site;
when the temperature of the heating furnace exceeds the deviation allowable range, the neural network is utilized to adjust the control parameters of the PID controller, and the self-adaptive setting of the temperature of the heating furnace is realized.
As an alternative embodiment, a neural network structure of 3-5-3 is constructed, input and output of the neural network are determined, and nodes of the input layer of the neural network are system input, system output and system deviation; and the nodes of the output layer of the neural network are control parameters of the PID controller.
As an alternative embodiment, the transfer function of the neural network is a sigmoid function, the transfer function of the hidden layer of the neural network selects a positive and negative symmetric sigmoid function, and the transfer function of the output layer of the neural network selects a non-negative sigmoid function.
As an alternative embodiment, the difference between the temperature set value and the actual output value of the on-site heating furnace is selected as the performance index.
As an alternative embodiment, the initial weight matrix of the neural network takes random values between [ -1,1 ].
As an alternative embodiment, the specific process of adjusting the control parameters of the PID controller by using the neural network comprises the following steps: and obtaining an input matrix by adopting an incremental PID control algorithm, wherein the input is system input, system output and system deviation, and the input matrix of the hidden layer can be obtained from the weight matrix from the input layer to the hidden layer.
As an alternative embodiment, the specific process of adjusting the control parameters of the PID controller by using the neural network comprises the following steps: according to the adjustment principle of a back propagation algorithm, firstly, the weight value from the hidden layer to the output layer is adjusted, then, the weight value from the input layer to the hidden layer is adjusted, the weight value after the current adjustment of the output layer is stored, the weight value after the current adjustment of the hidden layer is stored, the deviation is updated, and the next BP neural network adjustment is carried out.
A second aspect of the present invention provides a temperature self-tuning system for a GaN substrate growth heating furnace, comprising:
the neural network construction module is configured to construct a neural network and set a transfer function, a performance index, a learning rate, an alpha factor and a weight initial matrix of the neural network;
an acquisition module configured to acquire a temperature of a GaN substrate growth heating furnace;
the parameter correlation module is configured to determine an input layer node of the neural network according to the actual temperature returned by the acquisition module in the field when the heating furnace actually runs;
the self-adaptive setting module is configured to adjust the control parameters of the PID controller by utilizing the neural network when the temperature of the heating furnace exceeds the deviation allowable range;
and a PID controller configured to adjust the temperature of the GaN substrate growth heating furnace by the actuator based on the control parameter.
A third aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in a GaN substrate growth furnace temperature self-tuning method as described above.
A fourth aspect of the present invention provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in a GaN substrate growth furnace temperature self-tuning method as described above when executing the program.
Compared with the prior art, the invention has the beneficial effects that:
the invention combines the neural network and the PID controller, thereby realizing the self-adaptive setting of the temperature of the heating furnace; the temperature of the heating furnace is controlled in real time by adopting an online adjustment mode and utilizing a BP neural network; the control effect of the PID controller is improved by adopting the neural network, and the accuracy and the anti-interference performance of the temperature control of the system are improved.
Detailed Description
The invention is further described with reference to the following figures and examples.
It is to be understood that the following detailed description is exemplary and is intended to provide further explanation of the invention as claimed. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
Example one
A heating furnace temperature self-tuning method based on BP neural network PID comprises the following steps:
(1) determining a network structure and a network layer number of a neural network;
(2) determining inputs and outputs of a neural network;
(3) determining a transfer function, a performance index, a learning rate, an alpha factor and a weight initial matrix of the neural network;
(4) when the heating furnace actually runs, the heating furnace system returns to the actual temperature on site, and the input layer node of the neural network is determined;
(5) when the temperature of the heating furnace exceeds the deviation allowable range, the neural network adjusts the K of the PID controllerp、Ki、KdAnd the three parameters are used for realizing the self-adaptive setting of the temperature of the heating furnace.
As shown in FIG. 1, firstly, determining the network structure and the network layer number of the neural network, wherein the neural network structure of 3-5-3 is adopted in the invention;
secondly, determining input and output of the neural network, wherein nodes of an input layer of the neural network are system input, system output and system deviation; the nodes of the output layer of the neural network are Kp, Ki and Kd of the PID controller;
then, the transfer function of the neural network is a sigmoid function, wherein the transfer function of the hidden layer of the neural network selects a positive and negative symmetric sigmoid function:
selecting a nonnegative sigmoid function by the transfer function of the neural network output layer:
setting the learning rate to be 0.2 and the alpha factor to be 0.05;
selecting the difference value between the temperature set value and the actual output value of the on-site heating furnace as a performance index:
the initial weight matrix of the neural network can be selected as a smaller random value between [ -1,1], such as:
the initial weight matrix from the input layer to the hidden layer may be selected as:
the initial weight matrix from the hidden layer to the output layer can be selected as:
a heating furnace temperature self-setting method based on BP neural network PID comprises the following specific implementation principles:
the heating furnace body adopts a vertical integral non-opening-closing structure, and the control part is centralized in a control cabinet and consists of a power control system and a temperature control system. A plurality of heating modules and built-in temperature sensors are arranged in each temperature area of the heating furnace and are respectively connected with a cascade automatic temperature control circuit formed by electric elements such as a silicon controlled power regulator, a transformer and the like, the heating power of each heating module is reasonably adjusted through the automatic temperature control circuit, and the temperature of each temperature area is independently and precisely controlled within a preset temperature range by combining the type and the heating mode of the heating module arranged in the heating temperature area so as to meet the control requirement of HVPE equipment.
Designing upper computer system control software, communicating with a programmable controller, setting the temperature of each temperature zone according to the process requirements, arranging temperature sensors in each temperature zone, carrying out A/D conversion on the collected temperature signals, then entering the programmable controller, calculating the control quantity by the programmable controller through comparing the actual temperature value with the set value during heating and combining a neural network control algorithm, then sending output signals to a silicon controlled power regulator through D/A conversion, and controlling the heating power of the resistance furnace by changing the duty ratio of the silicon controlled power regulator to realize heating control.
In the embodiment, the HVPE equipment mainly comprises a heating furnace body and a temperature control part to form a whole machine system, wherein the heating furnace body can comprise a quartz tube with the outer diameter of 210mm and comprises 5 groups of heating units, the total effective height from top to bottom is 900mm, and each two adjacent areas are provided with heat insulation baffles to reduce the mutual influence of temperature areas and eliminate the chimney effect.
Establishing an HVPE system heating furnace model: theoretical analysis and experimental verification prove that the HVPE system heating furnace has self-balancing capability and non-oscillation characteristics under the influence of step input, and a transfer function of the HVPE system heating furnace can be approximated by a proportion link, a first-order inertia link and a delay link, and can be approximated as follows:
where K is the static gain, τ is the delay time, T is the inertial time constant, G(s) -transfer function, s is the Laplace transform factor of the state variable.
Designing a BP neural network PID controller: the HVPE equipment heating furnace BP neural network PID controller adopts a 3-5-3 neural network structure, the preset temperature values of all temperature areas are defined as the input of the BP neural network PID controller, a plurality of heating modules and temperature sensors are arranged in all temperature areas in the heating furnace, the furnace temperature is controlled through related circuits, the actual furnace temperature is returned through a thermocouple and is compared with the preset values, and the preset temperature, the actual furnace temperature and the temperature difference form the input of the BP neural network controller; the input matrix passes through the input layer to the hidden layer and then passes through the hidden layer to the output layer, and the output parameter is K of the PID controllerp、Ki、KdSo as to realize the self-adjustment of the parameters of the heating furnace controller.
The output of the BP neural network PID controller adopts an incremental PID control algorithm, and the output expression of the PID controller is as follows:
Δu(k)=Kp[e(k)-e(k-1)]+Kie(k)+Kd[e(k)-2e(k-1)+e(k-2)]
u(k)=u(k-1)+Δu(k)
in order to verify the correctness of the design of the BP neural network PID controller, the function is transferred to the heating furnace system in the Simulink environmentCarrying out simulation analysis on the numbers; fitting actual engineering data through a Matlab fitting tool box to approximately obtain transfer function parameters: k is 14, T is 380 and T is 75, namely the transmission parameter of the HVPE equipment furnace temperature control model is
And (3) simulating the heating furnace temperature control system in Simulink, and building a system simulation model.
In a simulation model S function, the function of a BP neural network PID controller is realized, and the input matrix of the system is as follows: xi ═ rin (k), yout (k), error (k) ];
the weight matrix of the input matrix from the input layer to the hidden layer can obtain the input matrix I of the hidden layer, and the activation function is
The output of the output layer is a parameter K of a PID controller
p、K
i、K
dThe activation function is
The output increment delta u of the heating furnace temperature control system can be obtained through an incremental control algorithm, and then the system output is obtained through a correction formula.
The neural network model is a BP neural network, so that the adjustment principle of a back propagation algorithm can be known, the weight adjustment from the hidden layer to the output layer is firstly carried out, then the weight adjustment from the input layer to the hidden layer is carried out, then the weight after the current adjustment of the output layer is stored, the weight after the current adjustment of the hidden layer is stored, the deviation is updated, the next BP neural network adjustment can be carried out, the BP neural network is continuously adjusted in the way, and a better temperature control effect can be obtained.
According to the HVPE equipment process requirements, a heating furnace temperature control system is researched and analyzed, a BP neural network is combined with conventional PID control, and the temperature control system of the HVPE system heating furnace is controlled and designed through a programmable controller. The experimental simulation and the actual field experimental effect show that compared with the traditional PID control, the system adopting BP neural network PID control has smaller overshoot, shorter regulation time and better robustness, obviously improves the temperature control precision and better meets the requirement of HVPE process material growth.
Example two:
a temperature self-tuning system of a GaN substrate growth heating furnace comprises:
the neural network construction module is configured to construct a neural network and set a transfer function, a performance index, a learning rate, an alpha factor and a weight initial matrix of the neural network;
an acquisition module configured to acquire a temperature of a GaN substrate growth heating furnace;
the parameter correlation module is configured to determine an input layer node of the neural network according to the actual temperature returned by the acquisition module in the field when the heating furnace actually runs;
the self-adaptive setting module is configured to adjust the control parameters of the PID controller by utilizing the neural network when the temperature of the heating furnace exceeds the deviation allowable range;
and a PID controller configured to adjust the temperature of the GaN substrate growth heating furnace by the actuator based on the control parameter.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.