CN105643157B - Automatic girder welding obstacle predicting method for optimizing GRNN based on correction type fruit fly algorithm - Google Patents
Automatic girder welding obstacle predicting method for optimizing GRNN based on correction type fruit fly algorithm Download PDFInfo
- Publication number
- CN105643157B CN105643157B CN201610117455.0A CN201610117455A CN105643157B CN 105643157 B CN105643157 B CN 105643157B CN 201610117455 A CN201610117455 A CN 201610117455A CN 105643157 B CN105643157 B CN 105643157B
- Authority
- CN
- China
- Prior art keywords
- fruit bat
- grnn
- sensitivity
- obstacle
- algorithm
- 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.)
- Active
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23K—SOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
- B23K37/00—Auxiliary devices or processes, not specially adapted to a procedure covered by only one of the preceding main groups
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23K—SOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
- B23K2101/00—Articles made by soldering, welding or cutting
- B23K2101/28—Beams
Landscapes
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an automatic girder welding obstacle predicting method for optimizing a GRNN based on a correction type fruit fly algorithm. According to the method, an ultrasonic sensor is adopted to collect obstacle information, two factors of pheromones and sensitivity are introduced into a traditional fruit fly algorithm, an optimizing strategy and the substitute mode of the fruit fly position are improved, the global optimization characteristics of fruit fly optimization are corrected, and the GRNN is subject to parameter optimization; the optimized GRNN is trained by the collected obstacle information, and an optimal automatic girder welding obstacle prediction model is built; and then according to a prediction result given by the prediction model, automatic gun retreating and returning of a girder production line welding gun is achieved. The correction type fruit fly algorithm is adopted to optimize the GRNN so as to perform obstacle prediction on automatic girder welding, the prediction speed and precision of obstacles are improved, meanwhile, the production efficiency of automatic girder welding is greatly improved, the production cost is saved for an enterprise, and giant economic benefits are brought.
Description
Technical field
The invention belongs to field of automatic welding, and in particular to a kind of crossbeam based on amendment type fruit bat algorithm optimization GRNN
Automatic welding obstacle Forecasting Methodology.
Background technology
Crossbeam is widely used in the industries such as bridge, container, hoisting machinery as a kind of welding structural element. and it is common for I-shaped
The girder constructions such as beam, H type beams, box, generally there are the barriers such as gusset, dividing plate and cavity between crossbeam and web. due to big
The species of beam is various, and the clamping precision of workpiece is not high, and the position of the barrier of workpiece has larger randomness, it is difficult to by list
One method carries out forecasting-obstacle.At present, the welding of crossbeam still adopts semi-manual automanual welding method, works as welding process
In when running into barrier, can only the switching signal of manually button exit welding gun, manually opened after clearing the jumps again
OFF signal makes welding gun return to welding position, restarts welding, this severely limits the production efficiency of crossbeam welding, constrains enterprise
The development of industry, therefore the predictive study of barrier is carried out, that realizes welding gun moves back rifle and time rifle automatically, to realizing that crossbeam automatization welds
Connect significant.
The content of the invention
It is contemplated that the speed and degree of accuracy in improving crossbeam automatic welding to forecasting-obstacle, so as to improve crossbeam certainly
The production efficiency of dynamic weldering, is that enterprise saves production cost, increases economic efficiency.
The present invention is employed the following technical solutions:A kind of crossbeam automatic welding obstacle based on amendment type fruit bat algorithm optimization GRNN
Forecasting Methodology, comprises the following steps that:
Step 1:The information of collection container crossbeam barrier (gusset, gutter channel and auxiliary upper flange), including obstacle
The size of thing, three indexs of supersonic sensing measured value and workpiece height:Wherein barrier size is different because of product.
Step 2:It is that unified Analysis are carried out to different types of sample, obtains preferable prediction effect, must be to sample data
Make following normalized:
Wherein, XkRepresent initial data XkInput sample Jing after normalization, XminAnd XmaxIn representing initial data respectively
Minima and maximum.
Step 3:Smoothing factor σ in optimal GRNN is searched using amendment type fruit bat algorithm, so as to obtain optimum GRNN.
Step 4:It is using the data after normalization as training sample, for training optimum GRNN, optimal big so as to obtain
The forecast model of beam automatic welding barrier.
In step 3, described amendment type fruit bat algorithm is that pheromone and sensitivity two are introduced in traditional fruit bat algorithm
The individual factor.
Sensitivity and pheromone in described amendment type fruit bat algorithm is defined as follows:
The optimal fruit bat bestSmell of flavor concentration is found out first, calculates i-th individual food information element P of fruit bat
(i);
Retain the position (Xo (i), Yo (i)) of fruit bat body position (X (i), Y (i)) and previous generation, spirit is calculated according to following formula
Sensitivity judges the value (the same to Rx (i) of computing formula of Ry (i)) of factor R x (i);
The factor is judged according to the sensitivity that pheromone is individual with the conformity relation of sensitivity and fruit bat, each fruit bat is calculated
The corresponding sensitivity S (i) of body;
Wherein:Smin=Pmin,Smax=Pmax
The fruit bat that pheromone is matched with sensitivity is found out, that is, is met P (i)≤S (i), is determined the search starting point of next round:
Wherein:(Xbest,Ybest) and (Xworst,Yworst) it is respectively in the good fruit bat of olfactory function flavor concentration most preferably and most
Poor coordinate.
The specific implementation step of described amendment type fruit bat algorithm is as follows:
Step one:Initialization
1) according to object function, initial value, population scale Sizepop, maximum iteration time Maxgen are searched in setting;
2) random initializtion fruit bat position (X_axis, Y_axis);
3) fruit bat individuality random direction and distance (X, Y) are given;
4) random coordinates according to fruit bat position, calculate the distance (Dist) and flavor concentration decision content (SM) with origin;
5) flavor concentration (Smell) of fruit bat individuality position is calculated according to object function (Function);
Smell (i)=Function (SM (i)) (9)
6) fruit bat initial information element and sensitivity are produced according to formula (1)-(3), and finds out pheromone and matched with sensitivity
Fruit bat, retain the coordinate of wherein concentration highest and lowest individual;
Step 2:Iteration optimizing
7) starting point that fruit bat individuality next round is searched is determined according to formula (4) and formula (5);
8) repeat 4) and 5) to calculate the individual flavor concentration value of fruit bat;Judge current best flavors concentration whether better than front
One iteration best flavors concentration:If so, next step, otherwise execution step are entered 2) then;
9) fruit bat initial information element and sensitivity are produced according to formula (1)-(3), and finds out pheromone and matched with sensitivity
Fruit bat, retain the coordinate of wherein concentration highest and lowest individual;
10) into iteration optimizing, repeat step 7) -9);
Step 3:Terminate judging, until current iteration number of times is equal to maximum iteration time Maxgen, or reached target essence
Degree requires or theoretially optimum value that optimizing terminates, and exports optimizing result.
The beneficial effect that the present invention reaches:1. amendment type fruit bat algorithm only needs to setting initially compared with traditional fruit bat algorithm
Change scope, it is not necessary to which direction and the distance of the search of every generation fruit bat are set, parameter setting is simpler;2. amendment type fruit bat
Optimized algorithm is easier to jump out local extremum and find globally optimal solution;3. the crossbeam based on amendment type fruit bat algorithm optimization GRNN
The prediction effect of automatic welding obstacle forecast model is stable, and precision of prediction is high.
Description of the drawings
Fig. 1 is the crossbeam automatic welding obstacle Forecasting Methodology flow chart based on amendment type fruit bat algorithm optimization GRNN;
Flight paths of the Fig. 2 for FOA-GRNN model fruit bats
Flight paths of the Fig. 3 for AFOA-GRNN model fruit bats
Fig. 4 is searching process of the AFOA algorithms to SPREAD values
Fig. 5 is the root-mean-square error of two kinds of model predictions
Fig. 6 predicts the outcome for AOFA-GRNN models
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.
Embodiment 1, referring to Fig. 1, the present invention is employed the following technical solutions:It is a kind of to be based on amendment type fruit bat algorithm optimization GRNN
Crossbeam automatic welding obstacle Forecasting Methodology, comprise the following steps that:
Step 1:The information of collection container crossbeam barrier (gusset, gutter channel and auxiliary upper flange), including obstacle
The size of thing, three indexs of supersonic sensing measured value and workpiece height:Wherein barrier size is different because of product.
Step 2:It is that unified Analysis are carried out to different types of sample, obtains preferable prediction effect, must be to sample data
Make following normalized:
Wherein, XkRepresent initial data XkInput sample Jing after normalization, XminAnd XmaxIn representing initial data respectively
Minima and maximum.
Step 3:Smoothing factor σ in optimal GRNN is searched using amendment type fruit bat algorithm, so as to obtain optimum GRNN.
Step 4:It is using the data after normalization as training sample, for training optimum GRNN, optimal big so as to obtain
The forecast model of beam automatic welding barrier.
In step 3, described amendment type fruit bat algorithm is that pheromone and sensitivity two are introduced in traditional fruit bat algorithm
The individual factor.
Sensitivity and pheromone in amendment type fruit bat algorithm is defined as follows:
The optimal fruit bat bestSmell of flavor concentration is found out first, calculates i-th individual food information element P of fruit bat
(i);
Retain the position (Xo (i), Yo (i)) of fruit bat body position (X (i), Y (i)) and previous generation, spirit is calculated according to following formula
Sensitivity judges the value (the same to Rx (i) of computing formula of Ry (i)) of factor R x (i);
The factor is judged according to the sensitivity that pheromone is individual with the conformity relation of sensitivity and fruit bat, each fruit bat is calculated
The corresponding sensitivity S (i) of body;
Wherein:Smin=Pmin,Smax=Pmax
The fruit bat that pheromone is matched with sensitivity is found out, that is, is met P (i)≤S (i), is determined the search starting point of next round:
Wherein:(Xbest,Ybest) and (Xworst,Yworst) it is respectively in the good fruit bat of olfactory function flavor concentration most preferably and most
Poor coordinate.
The specific implementation step of described amendment type fruit bat algorithm is as follows:
Step one:Initialization
11) according to object function, initial value, population scale Sizepop, maximum iteration time Maxgen are searched in setting;
12) random initializtion fruit bat position (X_axis, Y_axis);
13) fruit bat individuality random direction and distance (X, Y) are given;
14) random coordinates according to fruit bat position, calculate the distance (Dist) and flavor concentration decision content (SM) with origin;
15) flavor concentration (Smell) of fruit bat individuality position is calculated according to object function (Function);
Smell (i)=Function (SM (i)) (9)
16) fruit bat initial information element and sensitivity are produced according to formula (1)-(3), and finds out pheromone and matched with sensitivity
Fruit bat, retain the coordinate of wherein concentration highest and lowest individual;
Step 2:Iteration optimizing
17) starting point that fruit bat individuality next round is searched is determined according to formula (4) and formula (5);
18) repeat 4) and 5) to calculate the individual flavor concentration value of fruit bat;Judge whether current best flavors concentration is better than
Preceding iteration best flavors concentration:If so, next step, otherwise execution step are entered 2) then;
19) fruit bat initial information element and sensitivity are produced according to formula (1)-(3), and finds out pheromone and matched with sensitivity
Fruit bat, retain the coordinate of wherein concentration highest and lowest individual;
20) into iteration optimizing, repeat step 7) -9);
Step 3:Terminate judging, until current iteration number of times is equal to maximum iteration time Maxgen, or reached target essence
Degree requires or theoretially optimum value that optimizing terminates, and exports optimizing result.
Embodiment 2, by taking certain container crossbeam forecasting-obstacle as an example, the barrier of prediction has a gusset, gutter channel and auxiliary
Helping upper flange three types. prediction index includes the size of barrier, three fingers of supersonic sensing measured value and workpiece height
Mark:Wherein barrier size is different because of product, and data herein include the barrier size of 6 kinds of products;Obstacle information leads to
Ultrasonic sensor collection is crossed, ultrasound wave is with position changing machine clamp centerline same level and parallel with workpiece web;Workpiece is high
The difference in height of the centrage for workpiece and position changing machine clamp centrage is spent, the data that ultrasonic sensor is gathered first are can be considered.
Experiment, part sample data such as table 1 are predicted to 200 groups of truthful datas of certain container company container crossbeam product collection
It is shown, wherein specifying obstacle identity:1 is gusset, and 2 is gutter channel, and 3 are auxiliary upper flange.
The initial data of 1 part sample of table
In order to verify the performance of proposed amendment type fruit bat algorithm optimization GRNN forecasting-obstacle models, using MATLAB
Newgrnn functions in neutral net GRNN workbox carry out forecasting-obstacle, and pass through amendment type fruit bat optimized algorithm AFOA
Optimal spreading parameter SPREAD is searched, while contrast experiment is carried out with FOA-GRNN models. two kinds of models are joined using identical
Number is arranged:If fruit bat population be 10, maximum iteration time is 200, fruit bat initial position be [0,1], fruit bat random flight in FOA
Range direction is [- 1,1] with distance range, and optimizing end condition is GRNN neural network forecast root-mean-square errors RMSE<1e-12. Jing
Used as training sample, 20 groups used as forecast sample afterwards for front 180 groups of data of normalized. the fruit bat searching process of two kinds of models
As shown in Figures 2 and 3.
Contrast Fig. 2 and Fig. 3 can be seen that AFOA-GRNN models compare FOA-GRNN models, and the individual point searched of fruit bat is more
Few, search path is more random, and search space is bigger. therefore, improved fruit bat optimized algorithm is easier to jump out local extremum and look for
To globally optimal solution.
Can be seen that from Fig. 4 and Fig. 5:Root-mean-square error RMSE=7.4786e-13 of FOA-GRNN model predictions, repeatedly
Generation number is 137, takes 265.736789S;And root-mean-square error RMSE=1.7549e-16 of AFOA-GRNN model predictions,
Iterationses are 10, take 17.731818S. and repeat to test, as a result stable. therefore, amendment type AFOA-GRNN model relative to
Unmodified FOA-GRNN models, predetermined speed is faster and precision of prediction is higher.
The optimal spreading factor SPREAD values that amendment type fruit bat optimized algorithm AFOA finds are updated in GRNN models, are entered
Row is left the forecasting-obstacle of 20 groups of samples, as a result as shown in Figure 6.
From in Fig. 6, AFOA-GRNN models are up to many conversion of 100%. Jing to the forecasting accuracy of obstacle identity
Experiment, prediction effect is stable, compares that FOA-GRNN model errors rates are low, and precision of prediction is higher.
Claims (3)
1. the crossbeam automatic welding obstacle Forecasting Methodology based on amendment type fruit bat algorithm optimization GRNN, it is characterised in that concrete steps are such as
Under:
Step 1:The information of collection container crossbeam barrier, including the size of barrier, supersonic sensing measured value and work
Part three indexs of height:Wherein barrier size is different because of product;
Step 2:It is that unified Analysis are carried out to different types of sample, obtains preferable prediction effect, sample data must be made such as
Lower normalized:
Wherein, XkRepresent initial data XkInput sample Jing after normalization, XminAnd xmaxRespectively represent initial data in minimum
Value and maximum;
Step 3:Smoothing factor σ in optimal GRNN is searched using amendment type fruit bat algorithm, so as to obtain optimum GRNN;
Step 4:Using the data after normalization as training sample, for training optimum GRNN, so as to obtain optimal crossbeam certainly
The forecast model of dynamic weldering barrier.
2. the crossbeam automatic welding obstacle Forecasting Methodology based on amendment type fruit bat algorithm optimization GRNN according to claim 1,
It is characterized in that:In step 3, amendment type fruit bat algorithm be introduce in traditional fruit bat algorithm pheromone and sensitivity two because
Son.
3. the crossbeam automatic welding obstacle Forecasting Methodology based on amendment type fruit bat algorithm optimization GRNN according to claim 2,
It is characterized in that:Sensitivity and pheromone in amendment type fruit bat algorithm is defined as follows:
The optimal fruit bat bestSmell of flavor concentration is found out first, calculates i-th individual food information element P (i) of fruit bat;
Retain the position (Xo (i), Yo (i)) of fruit bat body position (X (i), Y (i)) and previous generation, according to following formula meter sensitivity
Judge the value of factor R x (i), the same to Rx (i) of computing formula of Ry (i);
The factor is judged according to the sensitivity that pheromone is individual with the conformity relation of sensitivity and fruit bat, each fruit bat individuality is calculated right
The sensitivity S (i) answered;
Wherein:Smin=Pmin, Smax=Pmax
The fruit bat that pheromone is matched with sensitivity is found out, that is, is met P (i)≤S (i), is determined the search starting point of next round:
Wherein:(Xbest,Ybest) and (Xworst,Yworst) be respectively the good fruit bat of olfactory function in flavor concentration it is optimal and worst
Coordinate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610117455.0A CN105643157B (en) | 2016-03-02 | 2016-03-02 | Automatic girder welding obstacle predicting method for optimizing GRNN based on correction type fruit fly algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610117455.0A CN105643157B (en) | 2016-03-02 | 2016-03-02 | Automatic girder welding obstacle predicting method for optimizing GRNN based on correction type fruit fly algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105643157A CN105643157A (en) | 2016-06-08 |
CN105643157B true CN105643157B (en) | 2017-05-03 |
Family
ID=56492792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610117455.0A Active CN105643157B (en) | 2016-03-02 | 2016-03-02 | Automatic girder welding obstacle predicting method for optimizing GRNN based on correction type fruit fly algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105643157B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106446962B (en) * | 2016-10-12 | 2019-10-18 | 湘潭大学 | A kind of crossbeam barrier dynamic clustering recognition methods |
CN106777566B (en) * | 2016-11-29 | 2019-09-24 | 湖南科技大学 | Switched reluctance machines structure parameter optimizing method based on adaptive drosophila algorithm |
CN106679880A (en) * | 2016-12-21 | 2017-05-17 | 华南理工大学 | Pressure sensor temperature compensating method based on FOA-optimized SOM-RBF |
CN107463959A (en) * | 2017-08-05 | 2017-12-12 | 国网江西省电力公司电力科学研究院 | A kind of fruit fly recognition methods based on BP neural network |
CN107677473A (en) * | 2017-09-23 | 2018-02-09 | 哈尔滨理工大学 | A kind of GRNN rotating machinery fault Forecasting Methodologies based on FOA optimizations |
CN110802601B (en) * | 2019-11-29 | 2021-02-26 | 北京理工大学 | Robot path planning method based on fruit fly optimization algorithm |
CN112051740A (en) * | 2020-08-31 | 2020-12-08 | 五邑大学 | Parameter setting method and device for sliding mode controller and storage medium |
CN112488201A (en) * | 2020-11-30 | 2021-03-12 | 湖南艾克机器人有限公司 | Weld obstacle identification method based on concave-convex radius complex function |
CN113985907B (en) * | 2021-10-28 | 2024-02-02 | 国网江苏省电力有限公司泰州供电分公司 | Tree obstacle risk prediction and optimization method based on multi-load data of unmanned aerial vehicle |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8026456B2 (en) * | 2007-02-20 | 2011-09-27 | Illinois Tool Works Inc. | TIG welding system and method |
CN103942625A (en) * | 2014-04-23 | 2014-07-23 | 天津大学 | Hydropower station plant dam structure vibration response prediction method based on FOA-GRNN |
CN104091216A (en) * | 2014-07-29 | 2014-10-08 | 吉林大学 | Traffic information predication method based on fruit fly optimization least-squares support vector machine |
-
2016
- 2016-03-02 CN CN201610117455.0A patent/CN105643157B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105643157A (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105643157B (en) | Automatic girder welding obstacle predicting method for optimizing GRNN based on correction type fruit fly algorithm | |
CN104200087B (en) | For the parameter optimization of machine learning and the method and system of feature tuning | |
CN109947098A (en) | A kind of distance priority optimal route selection method based on machine learning strategy | |
CN107220734A (en) | CNC Lathe Turning process Energy Consumption Prediction System based on decision tree | |
CN109961186A (en) | Desulphurization system operating parameter prediction technique based on decision tree and BP neural network | |
CN103218296B (en) | A kind of method of abundant detection null pointer dereference defect | |
CN108346293B (en) | Real-time traffic flow short-time prediction method | |
CN101382801B (en) | Optimum soft measuring instrument based on EGA-optimized polymerization of propylene production process and method | |
CN108960421B (en) | Improved online forecasting method for speed of unmanned surface vehicle based on BP neural network | |
CN104091216A (en) | Traffic information predication method based on fruit fly optimization least-squares support vector machine | |
CN108090628A (en) | A kind of grain feelings security detection and analysis method based on PSO-LSSVM algorithms | |
CN105260532A (en) | Sequence approximation optimization based thin sheet tension VBHF (Variable Blank Holder Force) uncertainty design method | |
CN113158560A (en) | Intelligent driving vehicle autonomous capacity testing method based on scene impedance | |
CN104915679A (en) | Large-scale high-dimensional data classification method based on random forest weighted distance | |
CN110488810A (en) | Welding robot optimum path planning method based on improved Particle Swarm Algorithm | |
CN109507888B (en) | Propylene polymerization production process optimal online forecasting system based on ensemble learning | |
CN106355193A (en) | Adaptive mutation particle swarm optimization algorithm | |
CN114898220B (en) | Intelligent production control method for structural member of overhead working truck | |
CN112950934A (en) | Road congestion reason identification method | |
CN110155073A (en) | Driving behavior mode identification method and system based on driver's preference | |
CN103984996A (en) | Lake-reservoir algal bloom generating mechanism time varying model optimization and prediction method based on taboo searching algorithm and genetic algorithm | |
CN109978017A (en) | Difficult specimen sample method and system | |
CN114065452A (en) | Power grid topology optimization and power flow control method based on deep reinforcement learning | |
CN104360339B (en) | Laser radar air strip scanning boundary identification method and device | |
CN111738878A (en) | Bridge stress detection system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |