[MAP Logo]

Materials Algorithms Project
Program Library



Program MAP_NEURAL_NNWORK

  1. Provenance of code.
  2. Purpose of code.
  3. Specification.
  4. Description of subroutine's operation.
  5. References.
  6. Parameter descriptions.
  7. Error indicators.
  8. Accuracy estimate.
  9. Any additional information.
  10. Example of code
  11. Auxiliary subroutines required.
  12. Keywords.
  13. Download source code.
  14. Links.

Provenance of Source Code

Billy Chan, Ph.D., P.Eng.,
MIL Systems,
1150 Morrison Drive,
Ottawa, Ontario,
Canada, K2H 8S9.

bchan@MILSystems.com

Program added: June 1999

Top | Next

Purpose

NNWork is a MS-DOS based graphics program which uses a backpropagation neural network paradigm for analyzing empirical data, and enabling predictions to be carried out. A number of data files are provided which can be used for predicting cetain weld parameters: the heat affected zone hardness, the 800 to 500 °C cooling time, t8/5, and the weld dimensions.

Top | Next | Prev

Specification

Complete program. Also included are a number of data files which can be read by the program.

Language:Source code not available.
Product form:Executable file for IBM-PC, PC/AT or compatible with at least 1M RAM, MS-DOS version 3.3 or later, a high resolution monitor (at least 640x348 active pixels) and a floppy disc drive with 300k free disc space. An Intel 486 processor with hard disc is highly recommended. Optional equipment: mouse (Microsoft or Logitech compatible) and dot matrix or HP II LaserJet (PCL compatible) printer.


Top | Next | Prev

Description

THE PROGRAM

Backpropagation network (BPN) is an artificial neural network modelling paradigm which is well known for its prediction and data-mapping characteristics. i.e. it is capable of acquiring a knowledge about a relationship between input-output data sets in training and subsequently predicting an outcome for any given input data set within the knowledge domain of interest. An introduction to BPN is given in Appendix 1 of the manual: The outputs are linked to the inputs via an internal network (neural network) of points (nodes) which are arranged into a series of layers (hidden layers). Experimentally determined values of the inputs and outputs are used in the training process to determine suitable values for the strength of the links between each node of the network. Once these have been determined, they can be used to predict an outcome for any given set of inputs (within the range of values used for training).

The program is split into the three modules:

The data normalisation module
The training data-set consists of sets of experimental parameters (inputs) and measured values for the quantity of interest (output). The program requires the data to be normalised so that each variable lies between 0 and 1. The maximum and minimum values of the data after normalisation can be selected in the program; intermediate data values are scaled proportionally between these two values. (Maximum and minimum values of 0.1 and 0.9 are recommended.) This module reads in data files (*.DAT) and produces a normalised data file (*.ANN) which can be read into the training module.

The training module
In this module the user is able to specify details of the internal network to be used and to adjust various parameters which modify the training process. The error tolerance level must also be specified (default is 0.04). Training is then instigated and continues until the RMS error is less than this value. The module reads in the normalised data files (*.ANN) and produces a weights file (*.WT1) which can then be used in the prediction module.

The prediction module
The predicition module uses the results of the training module to make predictions for any specified values of the inputs (within the range of values used for training). The reliability of these predictions should first be tested using another set of experimental input/output data values. This module can read in a file containing a series of inputs (*.TST) and produce an output file (*.RES) with the results, which should then be checked against the known experimental results. The program can then be used interactively to make predictions, by entering the desired input values. 2-d plots of the output as a function of one of the input values can also be produced.



USE OF THE PROGRAM FOR PREDICTING WELD PARAMETERS

A series of weights files are provided which can be used to make predictions of HAZ (heat affected zone) hardness, the 800 to 500 °C cooling time, t8/5, and the weld dimensions.


Cooling time, t8/5, of a submerged arc bead-on-plate weld

The cooling time is obtained using the plate temperature, the plate thickness and the energy input rate per unit length as inputs to the network. The energy input rate, H, is calculated from the welding current, voltage, speed and efficiency using the equation H=efficiency.voltage.current/speed. The following weights files are available:

T-20-53.WT2 Network: 2 hidden layers with 5 and 3 nodes.
T-20-5.WT1 Network: 1 hidden layer with 4 nodes.
T-20D.WT2 Network: 2 hidden layers with 4 and 3 nodes.

Twenty data-sets were used to produce the weights files. They were obtained from various sources and are given in Appendix III of reference 1. The maximum and minimum values of the inputs and outputs for the training data-sets used are:

Plate thickness: 12.7 - 63 mm.


Heat input: 0.49 - 9.69 kJ/mm.
Plate temperature: 15 - 155 °C.


Output t8/5: 3.1 - 96.8 s.

The most accurate results can be obtained using T-20-53.WT2, which made predictions with a mean error of 14%. These weights files can also be used for making predictions for other welding processes provided an appropiate value for the welding efficiency is given. Good agreement with experimental data over the valid input range was obtained for gas metal arc welds (GMAW) when a value of 70% (rather than 80%) was used for the efficiency.


HAZ hardness of a submerged arc bead-on-plate weld

The HAZ hardness of welds can be obtained given the composition of the weld material and the 800 to 500 °C cooling time. The material composition is specified in terms of the carbon concentration and two values for the carbon equivalent from references [2] and [3] respectively:

CE (wt%) = C + Mn/6 + (Cu+Ni)/15 + (Cr+Mo+V)/5
and
Pcm (wt%) = C + Si/30 + (Mn+Cu+Cr)/20 + Ni/60 + Mo/15 + V/10 + 5B

where C, Si, Mn, Cu, Cr, Ni, Mo, B and V refer to their corresponding concentrations in wt%. The data used for training the network was taken from the paper by Yurioka [4]. The following weights files are available:

H50-4A2.WT1 Network: 1 hidden layer with 4 nodes; 50 data-sets used for training.
Inputs: carbon concentration, CE, Pcm, t8/5
H50-53B.WT2 Network: 2 hidden layers with 5 and 3 nodes; 40 data-sets used for training.
Inputs: carbon concentration, CE, Pcm, t8/5
H41-4C.WT1 Network: 1 hidden layer with 4 nodes; 41 data-sets used for training.
Inputs: carbon concentration, CE, Pcm, t8/5
PCM50-4A.WT1 Network: 1 hidden layer with 4 nodes; 50 data-sets used for training.
Inputs: carbon concentration, Pcm, t8/5
CE50-4C.WT1 Network: 1 hidden layer with 4 nodes; 50 data-sets used for training.
Inputs: carbon concentration, CE, t8/5
CE41-4D.WT1 Network: 1 hidden layer with 4 nodes; 41 data-sets used for training.
Inputs: carbon concentration, CE, t8/5
C41SI-4C.WT1 Network: 1 hidden layer with 4 nodes; 41 data-sets used for training.
Inputs: carbon and silicon concentrations, CE, t8/5
SI43-4-1.WT1 Network: 1 hidden layer with 4 nodes; 43 data-sets used for training.
Inputs: carbon and silicon concentrations, CE, t8/5
SIB-4A.WT1 Network: 1 hidden layer with 4 nodes; 41 data-sets used for training.
Inputs: carbon, silicon and boron concentrations, CE, t8/5

The maximum and minimum values of the inputs and outputs for the training data-sets used are:

Carbon concentration: 0.045 - 0.245 wt%.


Pcm: 0.181 - 0.349 wt%.
Silicon concentration: 0.164 - 0.436 wt%.


CE: 0.381 - 0.549 wt%.
Boron concentration: 0 - 0.0018 wt%.


t8/5: 6.16 - 56.84 s.
Hardness (HVN): 215.8 - 469.2 wt%.

The most accurate results can be obtained using H50-4A2.WT1, which made predictions with a mean error of 3%. The weights files which were produced using only one value for the carbon equivalent as an input, made less accurate predictions but nevertheless had a mean error of less than 4%. SIB-4A.WT1, which included the boron concentration explicitly, produced results of comparable accuracy to the other weights files. However, it is likely to be unreliable due to an uneven distribution of boron content in the training data-sets.


Weld bead geometry

The weld bead geometry is defined in terms of the bead width, bead height, penetration, the (upper bead) deposit area (A1), the (lower bead) plate fusion area (A2) and the 22.5° lower bead bay length. (The bay angle was measured and found to have a mean value of 22.4° with a standard deviation of 8.2°.)

Diagram showing the weld bead geometry.


The data sets, obtained from bead-on-plate gas-metal-arc welds with either C-25 (25% CO2 and 75% Ar) or M-2 (2% O2 and 98% Ar) shielding gas, are given in Appendix VI of reference 1. The weld bead geometry was measured as a function of welding current, voltage, wire speed travel and plate thickness. Other welding parameters remained constant: electrode extension = 19.05mm; electrode diameter = 0.89mm, polarity = negative; efficiency = 70%. The following weights files are available:


----------------- GMAW welds with C-25 shielding gas -----------------

Inputs: welding current, voltage & speed; plate thickness.

C25-BW.WT1 Output: bead width; mean error = 5%.
C25-BH.WT1 Output: bead height; mean error = 7%.
C25-PENE.WT2 Output: penetration; mean error = 12%.
C25-225.WT1 Output: low bead bay length; mean error = 7%.
C25-A1.WT1 Output: deposit area (upper bead); mean error = 12%.
C25-A2.WT1 Output: plate fusion area (lower bead); mean error = 12%.

Input ranges used for training the network:
Welding current: 169 - 311 Amps.


Welding speed: 3.8 - 10.6 mm/s.
Welding voltage: 21 - 41 Volts.


Plate thickness: 6.9 - 15.3 mm.



----------------- GMAW welds with M-2 shielding gas -----------------

Inputs: welding current, voltage & speed; plate thickness.

M2-BW.WT1 Output: bead width; mean error = 7%.
M2-BH.WT1 Output: bead height; mean error = 8%.
M2-PENE.WT2 Output: penetration; mean error = 17%.
M2-225.WT1 Output: low bead bay length; mean error = 15%.
M2-A1.WT1 Output: deposit area (upper bead); mean error = 12%.
M2-A2.WT1 Output: plate fusion area (lower bead); mean error = 18%.

Input ranges used for training the network:
Welding current: 169 - 311 Amps.


Welding speed: 4.5 - 9.0 mm/s.
Welding voltage: 25 - 36 Volts.


Plate thickness: 6.9 - 15.3 mm.



------ GMAW welds - combined results for both C-25 and M-2 shielding gases ------

Inputs: welding current, voltage & speed; plate thickness; shielding gas parameter (sGas). Set sGas=0.9 for C-25 shielding gas and sGas=0.1 for M-2 shielding gas.

BW.WT1 Output: bead width.
BH.WT1 Output: bead height.
PENE.WT2 Output: penetration.
225.WT2 Output: low bead bay length.
A1.WT1 Output: deposit area (upper bead).
A2.WT2 Output: plate fusion area (lower bead).


The predictions are less accurate than those from networks for one shielding gas only. The input ranges used for training are the same as for C-25 shielding gas.



---------- GMAW welds with C-25 shielding gas - the inverse problem ----------

Outputs: welding current, voltage & speed.

C25INV.WT2 Inputs: bead width, bead height, penetration, lower bead bay length, plate thickness.
INV-WPA2.WT2 Inputs: bead width, penetration, plate fusion area, plate thickness.
INV-WPAA.WT2 Inputs: bead width, penetration, deposit area, plate fusion area, plate thickness.
INV-WAA.WT1 Inputs: bead width, deposit area, plate fusion area, plate thickness.

Input ranges used for training the network:
Bead width: 8.4 - 16.2 mm.


Lower bead bay length: 2.1 - 4.7 mm.
Bead height: 2.2 - 4.1 mm.


Deposit area: 8.9 - 23 mm2.
Penetration: 1.8 - 5.9 mm.


Plate fusion area: 4.2 - 16.6 mm2.

The most accurate results are obtained using INV-WPA2.WT2



FURTHER DETAILS

Files for Downloading

man*.doc and man*.ps
A user manual, written using Microsoft Word version 6.0. Postscript files of each section are also provided.

man*.rtf and man*.txt
Versions of the manual in RTF format (with figures) and text format (without figures).

nnwork.exe
The executable program.

nnwork.ovr
Essential for the running of the program. It must be placed in the same directory as the executable file.

*.wt1, *.wt2
The weights files which can be read into the program to make predictions of weld parameters.

sample.dat, sample.ann, sample.tst, sample.res
Sample data files.

*.hlp
Help pages - accessed from the program.

Installing and Running NNWork
Place nnwork.exe, nnwork.ovr and the *.hlp files into the same directory on either the hard disc or floppy disc. To start the program either type nnwork at an MSDOS prompt or (in windows) double click on the file nnwork.exe. The function keys can be used to enter the different modules (<F* NORM>,<F* TRAIN> and <F* USE>) and to execute the various commands. Further details are given in section 1.2.2 and part II of the manual.


Top | Next | Prev

References

  1. B.K.H. Chan, 1996, PhD Thesis, Department of Mechanical and Aerospace Engineering, Carleton University, Ottawa, Canada. Predicting Weld Features Using Artificial Neural Network Technology.
  2. The IIW Formula for Carbon Equivalent, Technical Report, 1967, IIW Doc IX-535-67.
  3. Y. Ito, and K. Bessyo, 1968, Trans. Jap. Welding Soc., 37, 983-991.
  4. N. Yurioka, S. Ohshita, and H. Tamehiro, 1981, Proc. Conf. on Pipeline Welding in the 80's.

Top | Next | Prev

Parameters

t8/5 cooling time
Input parameters: plate thickness (mm); heat input (kJ/mm); plate temperature (°C).
Output parameter: t8/5 cooling time (s)

HAZ Hardness
Input parameters: chemical composition of weld (C, Mn, Cu, Ni, Cr, Mo, V, Si B) (wt%); t8/5 cooling time (s).
Output parameter: HAZ hardness (HVN).
Weld bead geometry
Input parameters: welding current (A); welding voltage (V); welding speed (mm/s); plate thickness (mm).
Output parameter: bead width (mm) / bead height (mm) / penetration (mm) / lower bead bay length (mm) / upper bead deposit area (mm2) / lower bead plate fusion area (mm2).
Further details are given in the Description.

Top | Next | Prev

Error Indicators

None.

Top | Next | Prev

Accuracy

See Description.

Top | Next | Prev

Further Comments

None.

Top | Next | Prev

Example

1. Program text

Complete program.

2. Program data

INPUT         WEIGHTS FILE:  T-20-53.WT2 (RMS error = 0.0400)         OUTPUT
____________________________________________________________________________
              MINIMUM  MAXIMUM             MAXIMUM  MINIMUM
Thk(mm) 15.00   6.41    69.29               108.51   -8.61  103.07  T8/5 (s)
(kJ/mm)  5.00  -0.66    10.84
 PT(C)  50.00  -2.50   172.50

3. Program results

Cooling time t8/5 = 103.07 seconds.
See above.

Top | Next | Prev

Auxiliary Routines

None.

Top | Next | Prev

Keywords

neural network, HAZ hardness, weld, weld geometry, cooling time

Top | Next | Prev

Download

Download MAP information files
Download program and data files
Download program manual

Top | Prev


MAP originated from a joint project of the National Physical Laboratory and the University of Cambridge.

MAP Website administration / map@msm.cam.ac.uk

Top | Index | MAP Homepage Valid HTML 3.2!