CN101539781A - Electrogalvanizing zinc coating thickness BP neural network control method and application in PLC thereof - Google Patents

Electrogalvanizing zinc coating thickness BP neural network control method and application in PLC thereof Download PDF

Info

Publication number
CN101539781A
CN101539781A CN200910131086A CN200910131086A CN101539781A CN 101539781 A CN101539781 A CN 101539781A CN 200910131086 A CN200910131086 A CN 200910131086A CN 200910131086 A CN200910131086 A CN 200910131086A CN 101539781 A CN101539781 A CN 101539781A
Authority
CN
China
Prior art keywords
neural network
thickness
coating
electrogalvanizing
control method
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN200910131086A
Other languages
Chinese (zh)
Other versions
CN101539781B (en
Inventor
苍安
隆凭
尹凤
肖志斌
翁祺
郭小平
于平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Metallurgical Equipment Research Design Institute Co Ltd
Original Assignee
Beijing Metallurgical Equipment Research Design Institute Co Ltd
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 Beijing Metallurgical Equipment Research Design Institute Co Ltd filed Critical Beijing Metallurgical Equipment Research Design Institute Co Ltd
Priority to CN2009101310860A priority Critical patent/CN101539781B/en
Publication of CN101539781A publication Critical patent/CN101539781A/en
Application granted granted Critical
Publication of CN101539781B publication Critical patent/CN101539781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to an electrogalvanizing zinc coating thickness BP neural network control method and an application in PLC thereof. The method includes the following steps of: (1) collecting electrogalvanizing sample data; (2) establishing BP neural network; (3) BP neural network learning and training; and (4) recording the trained BP neural network in a PLC controller. The adoption of an electrogalvanizing zinc coating thickness BP neural network controller designed by the invention can control galvanizing thickness with high accuracy, effectively inhibit industrial interference, and has intelligent self-adaptability, and good accuracy and fault-tolerance.

Description

Electrogalvanizing zinc coating thickness BP neural network control method and the application on PLC thereof
Technical field
The present invention relates to a kind of BP neural network control method of electrogalvanizing zinc coating thickness, also relate to the application of BP neural network control method on PLC of electrogalvanizing zinc coating thickness.
Background technology
On the electrogalvanizing production line, zinc coating thickness control is the core control technology.Aspect the zinc coating thickness design of Controller, mentality of designing in the past will be made precise math model to controlling object often; Carry out design of Controller according to precise math model afterwards.
Electro-galvanized layer THICKNESS CONTROL object has between multivariate, strong coupling and the variable characteristics such as amplitude of variation difference is big, is difficult to set up point-device controlling object model, and each variable is carried out de control; Simultaneously, accurately fixing mathematical model has shortcomings such as anti-interference difference and fault-tolerant ability difference.
Summary of the invention
In order to improve the product quality of electrogalvanizing production line, make product thickness even, accurately reach the setting thickness requirement, improve the top grade rate of product, the PLC control method of the electrogalvanizing zinc coating thickness based on the BP neural network algorithm of the present invention comprises the following steps:
A, training sample data are gathered
Gather the data sample of the actual production of some at the electrogalvanizing production line, sample is approximately wanted 10,000 groups of samples, and guarantees the ergodicity of data.Sample is gathered typing with the form of input vector and output vector.1 input vector and 1 corresponding output vector are formed one group of sample data.Input vector comprises thickness of coating, following thickness of coating, elements such as width of steel band and coating bath total current number; Output vector comprises that thickness of coating is calculated speed and following thickness of coating is calculated two elements of speed.
In conjunction with the experience and the disturbing factor of actual production, consider that simultaneously the defective of some data is taked to revise.According to senior zincincation slip-stick artist's empirical data and the ideal effect that expectation reaches, data are analyzed and handled, obtain outstanding training data.
B, BP neural network are set up
According to electroplating thickness control requirement, network approximation accuracy and computer computation ability, and input and output vector situation is set up amphineura network structure.They contain 1 input layer and two hidden layers and 1 BP neural network structure that output layer is formed to set up two neural networks with same structure.
The input layer of first network structure is the column vector that contains 3 elements, is respectively thickness of coating, coil of strip width and coating bath total current number; It is linear function that hidden layer 1 has 20 its excitation functions of neuron; It is the S function that hidden layer 2 has 20 its excitation functions of neuron, as formula (1):
S ( n ) = log sig ( n ) = 1 1 + e - n - - - ( 1 )
Output layer adopts the linear incentive function, is output as thickness of coating and calculates speed.
Second network structure is identical with first.3 elements of input column vector are respectively: following thickness of coating, coil of strip width and coating bath total current number; Be output as down thickness of coating and calculate speed.Two networks are with parallel way computing data.
C, e-learning and training
Network training and study employing change gradient algorithm (Conjugate Gradient Backpropagation, CGBP).Its for the first time iteration begin to search for along the steepest gradient descent direction, suc as formula (2):
p(0)=-g(0) (2)
Then, the linear search of decision optimum distance carries out along the direction of current search:
x(k+1)=x(k)+αp(k) (3)
P (k)=-g (k)+β (k) p (k-1) (4) becomes the gradient modified value and adopts the Fletcher-Reeves correction algorithm, suc as formula (5):
β ( k ) = g T ( k ) g ( k ) g T ( k - 1 ) g ( k - 1 ) - - - ( 5 )
Adopt Fletcher-Reeves correction algorithm speed fast, and the BP algorithm more variable than common learning rate (Variable Learning RateBackpropagation, VLBP) training algorithm is fast, saves the Computer Storage space simultaneously.
The error performance function is square error MES (Mean Square Error).
Programming of the BP network architecture and learning algorithm programming realize on computers, adopt mathematical simulation emulational language MATLAB or other higher level lanquages.To import the MATLAB program of computing machines through 10000 groups of sample datas of Screening Treatment, write the corresponding program training network, obtain corresponding weights and deviate.
The Industry Control of D, BP network realizes
With network structure with the corresponding descriptive language coding of PLC.Because the storage space of PLC is smaller, thus the method for off-line training adopted, what promptly only typing had trained in computing machine in program in PLC, reach the network of accuracy requirement.
Adopt the electrogalvanizing zinc coating thickness BP neural network controller of the present invention's design, can control zinc-plated thickness accurately, suppress industrial noise, intelligent adaptive effectively, have good accuracy and fault-tolerance.
Description of drawings
Fig. 1 is the process flow diagram of electrogalvanizing zinc coating thickness BP neural network control method;
Fig. 2 is error performance function and the graph of relation of training step number;
Fig. 3 is the comparison diagram of nerve network controller simulation result and actual result.
Embodiment
Below in conjunction with drawings and the specific embodiments the present invention is further described.
As shown in Figure 1, the PLC control method of the electrogalvanizing zinc coating thickness based on the BP neural network algorithm of the present invention comprises the following steps:
A, training sample data are gathered
Gather the data sample of the actual production of some at the electrogalvanizing production line, sample is approximately wanted 10,000 groups of samples, and guarantees the ergodicity of data.Sample is gathered typing with the form of input vector and output vector.1 input vector and 1 corresponding output vector are formed one group of sample data.Input vector comprises thickness of coating, following thickness of coating, elements such as width of steel band and coating bath total current number; Output vector comprises that thickness of coating is calculated speed and following thickness of coating is calculated two elements of speed.
In conjunction with the experience and the disturbing factor of actual production, consider that simultaneously the defective of some data is taked to revise.According to senior zincincation slip-stick artist's empirical data and the ideal effect that expectation reaches, data are analyzed and handled, obtain outstanding training data.
B, BP neural network are set up
According to electroplating thickness control requirement, network approximation accuracy and computer computation ability, and input and output vector situation is set up amphineura network structure.They contain 1 input layer and two hidden layers and 1 BP neural network structure that output layer is formed to set up two neural networks with same structure.
The input layer of first network structure is the column vector that contains 3 elements, is respectively thickness of coating, coil of strip width and coating bath total current number; It is linear function that hidden layer 1 has 20 its excitation functions of neuron; It is the S function that hidden layer 2 has 20 its excitation functions of neuron, as formula (1):
S ( n ) = log sig ( n ) = 1 1 + e - n - - - ( 1 )
Output layer adopts the linear incentive function, is output as thickness of coating and calculates speed.
Second network structure is identical with first.3 elements of input column vector are respectively: following thickness of coating, coil of strip width and coating bath total current number; Be output as down thickness of coating and calculate speed.Two networks are with parallel way computing data.
C, e-learning and training
Network training and study employing change gradient algorithm (Conjugate Gradient Backpropagation, CGBP).Its for the first time iteration begin to search for along the steepest gradient descent direction, suc as formula (2):
p(0)=-g(0) (2)
Then, the linear search of decision optimum distance carries out along the direction of current search:
x(k+1)=x(k)+αp(k) (3)
p(k)=-g(k)+β(k)p(k-1) (4)
Become the gradient modified value and adopt the Fletcher-Reeves correction algorithm, suc as formula (5):
β ( k ) = g T ( k ) g ( k ) g T ( k - 1 ) g ( k - 1 ) - - - ( 5 )
Adopt Fletcher-Reeves correction algorithm speed fast, and save the Computer Storage space than common training algorithm.
The error performance function is square error MES (Mean Square Error).
Programming of the BP network architecture and learning algorithm programming realize on computers, adopt mathematical simulation emulational language MATLAB or other higher level lanquages.To import the MATLAB program of computing machines through 10000 groups of sample datas of Screening Treatment, write the corresponding program training network, obtain corresponding weights and deviate.The error performance function is distinguished as shown in Figures 2 and 3 with the graph of relation of training step number and the comparison diagram of nerve network controller simulation result and actual result, and controller is through emulation testing, and output valve and actual result error are within 1%.
The Industry Control of D, BP network realizes
With network structure with the corresponding descriptive language coding of PLC.Because the storage space of PLC is smaller, thus the method for off-line training adopted, what promptly only typing had trained in computing machine in program in PLC, reach the network of accuracy requirement.

Claims (5)

1, electrogalvanizing zinc coating thickness BP neural network control method is characterized in that: comprise the following steps:
(1) gathers the electrogalvanizing sample data;
(2) set up the BP neural network;
(3) BP neural network learning and training.
2, electrogalvanizing zinc coating thickness BP neural network control method as claimed in claim 1, it is characterized in that: described electrogalvanizing sample is gathered typing with the form of input vector and output vector, 1 input vector and 1 corresponding output vector are formed one group of sample data, input vector comprises thickness of coating, following thickness of coating, width of steel band and coating bath total current number, output vector comprise that thickness of coating is calculated speed and following thickness of coating is calculated speed.
3, electrogalvanizing zinc coating thickness BP neural network control method as claimed in claim 1, it is characterized in that: set up two neural networks with same structure, each neural network is and contains 1 input layer and two hidden layers and 1 BP neural network structure that output layer is formed; The input layer of first network structure is the column vector that contains thickness of coating, coil of strip width and several 3 elements of coating bath total current, hidden layer 1 has 20 neurons, its excitation function is a linear function, hidden layer 2 has 20 neurons, its excitation function is the S function, output layer adopts the linear incentive function, is output as thickness of coating and calculates speed; Second network structure is identical with first, and 3 elements of input column vector are respectively: following thickness of coating, coil of strip width and coating bath total current number; Be output as thickness of coating and calculate speed, two networks are with parallel way computing data.
4, electrogalvanizing zinc coating thickness BP neural network control method as claimed in claim 1, it is characterized in that: described BP neural network learning adopts with training and becomes gradient algorithm, its for the first time iteration begin to search for along the steepest gradient descent direction, then, the linear search of decision optimum distance carries out along the direction of current search, becomes the gradient modified value and adopts the Fletcher-Reeves correction algorithm.
5, electrogalvanizing zinc coating thickness BP neural network control method as claimed in claim 1 is characterized in that: with the BP neural network typing PLC controller that trains.
CN2009101310860A 2009-04-22 2009-04-22 Electrogalvanizing zinc coating thickness BP neural network control method and application in PLC thereof Active CN101539781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101310860A CN101539781B (en) 2009-04-22 2009-04-22 Electrogalvanizing zinc coating thickness BP neural network control method and application in PLC thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101310860A CN101539781B (en) 2009-04-22 2009-04-22 Electrogalvanizing zinc coating thickness BP neural network control method and application in PLC thereof

Publications (2)

Publication Number Publication Date
CN101539781A true CN101539781A (en) 2009-09-23
CN101539781B CN101539781B (en) 2010-08-11

Family

ID=41123003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101310860A Active CN101539781B (en) 2009-04-22 2009-04-22 Electrogalvanizing zinc coating thickness BP neural network control method and application in PLC thereof

Country Status (1)

Country Link
CN (1) CN101539781B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103205665A (en) * 2012-01-13 2013-07-17 鞍钢股份有限公司 An automatic control method for zinc layer thickness in a continuous hot galvanizing zinc line
CN103324085A (en) * 2013-06-09 2013-09-25 中国科学院自动化研究所 Optimal control method based on supervised reinforcement learning
CN104007659A (en) * 2014-05-28 2014-08-27 重庆科技学院 Method for implementing BP neural network in S7-300 series PLCs
CN104005074A (en) * 2014-05-07 2014-08-27 浙江工业大学 Magnesium-based material biological composite coating controllable-degradation rate control method
CN105446821A (en) * 2015-11-11 2016-03-30 哈尔滨工程大学 Improved neural network based fault diagnosis method for intelligent underwater robot propeller
CN105549384A (en) * 2015-09-01 2016-05-04 中国矿业大学 Inverted pendulum control method based on neural network and reinforced learning
CN108734329A (en) * 2017-04-21 2018-11-02 北京微影时代科技有限公司 A kind of method and device at prediction film next day box office
CN109754058A (en) * 2018-05-08 2019-05-14 天津大学 A kind of depth datum approximating method based on CGBP algorithm
CN109837572A (en) * 2019-04-03 2019-06-04 浙江亚通焊材有限公司 A kind of electro-deposition method of Sn-Bi system lead-free low-temperature solder
CN111339581A (en) * 2018-12-18 2020-06-26 通用电气公司 Methods of forming electroformed components and related systems
CN111882030A (en) * 2020-06-29 2020-11-03 武汉钢铁有限公司 Ingot adding strategy method based on deep reinforcement learning
CN115261963A (en) * 2022-09-27 2022-11-01 南通如东依航电子研发有限公司 Method for improving deep plating capability of PCB
CN115841274A (en) * 2022-11-30 2023-03-24 重庆金石智诚科技有限公司 Method for producing luminous car logo, electronic device and system

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103205665B (en) * 2012-01-13 2015-05-06 鞍钢股份有限公司 An automatic control method for zinc layer thickness in a continuous hot galvanizing zinc line
CN103205665A (en) * 2012-01-13 2013-07-17 鞍钢股份有限公司 An automatic control method for zinc layer thickness in a continuous hot galvanizing zinc line
CN103324085A (en) * 2013-06-09 2013-09-25 中国科学院自动化研究所 Optimal control method based on supervised reinforcement learning
CN103324085B (en) * 2013-06-09 2016-03-02 中国科学院自动化研究所 Based on the method for optimally controlling of supervised intensified learning
CN104005074A (en) * 2014-05-07 2014-08-27 浙江工业大学 Magnesium-based material biological composite coating controllable-degradation rate control method
CN104005074B (en) * 2014-05-07 2017-01-11 浙江工业大学 Magnesium-based material biological composite coating controllable-degradation rate control method
CN104007659A (en) * 2014-05-28 2014-08-27 重庆科技学院 Method for implementing BP neural network in S7-300 series PLCs
CN104007659B (en) * 2014-05-28 2016-08-24 重庆科技学院 BP neutral net implementation method in S7-300 series of PLC
CN105549384A (en) * 2015-09-01 2016-05-04 中国矿业大学 Inverted pendulum control method based on neural network and reinforced learning
CN105549384B (en) * 2015-09-01 2018-11-06 中国矿业大学 A kind of inverted pendulum control method based on neural network and intensified learning
CN105446821B (en) * 2015-11-11 2019-05-17 哈尔滨工程大学 A kind of Intelligent Underwater Robot propeller method for diagnosing faults based on improvement neural network
CN105446821A (en) * 2015-11-11 2016-03-30 哈尔滨工程大学 Improved neural network based fault diagnosis method for intelligent underwater robot propeller
CN108734329A (en) * 2017-04-21 2018-11-02 北京微影时代科技有限公司 A kind of method and device at prediction film next day box office
CN109754058A (en) * 2018-05-08 2019-05-14 天津大学 A kind of depth datum approximating method based on CGBP algorithm
CN111339581A (en) * 2018-12-18 2020-06-26 通用电气公司 Methods of forming electroformed components and related systems
CN111339581B (en) * 2018-12-18 2024-02-02 通用电气公司 Method of forming electroformed components and related systems
CN109837572A (en) * 2019-04-03 2019-06-04 浙江亚通焊材有限公司 A kind of electro-deposition method of Sn-Bi system lead-free low-temperature solder
CN111882030A (en) * 2020-06-29 2020-11-03 武汉钢铁有限公司 Ingot adding strategy method based on deep reinforcement learning
CN111882030B (en) * 2020-06-29 2023-12-05 武汉钢铁有限公司 Ingot adding strategy method based on deep reinforcement learning
CN115261963A (en) * 2022-09-27 2022-11-01 南通如东依航电子研发有限公司 Method for improving deep plating capability of PCB
CN115841274A (en) * 2022-11-30 2023-03-24 重庆金石智诚科技有限公司 Method for producing luminous car logo, electronic device and system

Also Published As

Publication number Publication date
CN101539781B (en) 2010-08-11

Similar Documents

Publication Publication Date Title
CN101539781B (en) Electrogalvanizing zinc coating thickness BP neural network control method and application in PLC thereof
US11214850B2 (en) Prediction control method and system for component contents in rare earth extraction process
Pan et al. A comparison of neural network backpropagation algorithms for electricity load forecasting
CN103745273B (en) Semiconductor fabrication process multi-performance prediction method
TWI419070B (en) Relative variable selection system and selection method thereof
Wang et al. A proposal of adaptive PID controller based on reinforcement learning
CN111047085B (en) Hybrid vehicle working condition prediction method based on meta-learning
Bo et al. Online adaptive dynamic programming based on echo state networks for dissolved oxygen control
CN102626557B (en) Molecular distillation process parameter optimizing method based on GA-BP (Genetic Algorithm-Back Propagation) algorithm
CN103971163B (en) Adaptive learning rate wavelet neural network control method based on normalization lowest mean square adaptive filtering
CN107016453A (en) A kind of aquaculture dissolved oxygen prediction method and device
CN105159071A (en) Method for estimating economic performance of industrial model prediction control system in iterative learning strategy
CN109473182A (en) A kind of MBR film permeability rate intelligent detecting method based on deepness belief network
CN111367181A (en) Hybrid drive intelligent judgment control method for sewage treatment system
CN108805331A (en) A kind of electricity demand forecasting method
CN111435469B (en) Method for predicting warehousing flow of downstream power station in cascade power station
CN103675010B (en) The industrial melt index soft measurement instrument of support vector machine and method
Doherty Control of pH in chemical processes using artificial neural networks
Zhai et al. Fast predictive control for air-fuel ratio of SI engines using a nonlinear internal model
Yang et al. Adaptive neural-network-based approach for the control of continuously stirred tank reactor
CN102043380A (en) Quadratic polynomial-based nonlinear compound PID (proportional-integral-differential) neural network control method
CN116662925A (en) Industrial process soft measurement method based on weighted sparse neural network
Shen et al. Stock index prediction based on adaptive training and pruning algorithm
Yu et al. Forecasting model of agricultural products prices in wholesale markets based on combined BP neural network-time series model
Fan et al. Survey of the selection and evaluation for dispatching rules in dynamic job shop scheduling problem

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant