neurofuzzy model-based predictive control of weld fusion ...ymzhang/papers/ieee trans on... · ieee...

13
IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based Predictive Control of Weld Fusion Zone Geometry Yu M. Zhang, Senior Member, IEEE, and Radovan Kovacevic Abstract—A closed-loop system is developed to control the weld fusion, which is specified by the top-side and back-side bead widths of the weld pool. Because in many applications only a top-side sensor is allowed, which is attached to and moves with the welding torch, an image processing algorithm and neurofuzzy model have been incorporated to measure and estimate the top- side and back-side bead widths based on an advanced top-side vision sensor. The welding current and speed are selected as the control variables. It is found that the correlation between any output and input depends on the value of another input. This cross coupling implies that a nonlinearity exists in the process being controlled. A neurofuzzy model is used to model this nonlinear dynamic process. Based on the dynamic fuzzy model, a predictive control system has been developed to control the welding process. Experiments confirmed that the developed control system is effective in achieving the desired fusion state despite the different disturbances. Index Terms— Fuzzy control, modeling, predictive control, welding. I. INTRODUCTION F USION is the primary requirement of a welding operation. The fusion state can be specified using the outline of the cross-sectional solidified weld bead (Fig. 1). Extraction and control of the fusion outline is evidently impractical. A few geometrical parameters should be used to characterize the fusion zone and then be controlled to achieve the desired fusion. This study focuses on controlling the fusion state of fully penetrated welds in gas tungsten arc (GTA) welding. The fusion state on a cross section is characterized using two parameters of the fusion zone, the top-side and back-side widths of the fusion zone (Fig. 1). Therefore, the top-side width and back-side bead width of the weld pool are referred to as the fusion state. A multivariable system will be developed to control and in this study. Pool width control has been extensively studied. One of the pioneering works was done by Vroman and Brandt [1] who used a line scanner to detect the weld pool region. Chin et al. [2], [3] found that the slope of the infrared intensity Manuscript received July 26, 1996; revised October 28, 1997. This work was supported by the National Science Foundation under Contract DMI- 9634735, the Allison Engine Company, Indianapolis, IN, and the Center for Robotics and Manufacturing Systems, University of Kentucky, Lexington, KY. Y. M. Zhang is with the Welding Research and Development Laboratory, Center for Robotics and Manufacturing Systems, University of Kentucky, Lexington, KY 40506 USA. R. Kovacevic is with the Department of Mechanical Engineering, Southern Methodist University, Dallas, TX 75275 USA. Publisher Item Identifier S 1063-6706(98)05151-0. Fig. 1. Fusion parameters of fully penetrated weld pool. becomes zero when the liquid-solid interface of the weld pool is crossed. This zero slope is caused by the emissivity difference between the liquid and solid [2]. In order to directly observe the weld pool, the intensive arc light should be avoided or eliminated. Richardson et al. [4] proposed the co-axial observation to avoid the arc light. Pietrzak and Packer [5] have developed a weld pool width control system based on the co-axial observation. Compared with the pool width, weld penetration is a more critical component of the weld quality. For the case of full penetration, the state of the weld penetration is specified by the back-side bead width (Fig. 1). With a back-side sensor, can be reliably measured. However, it is often required that the sensor be attached to and move with the torch to form a so-called top-side sensor. For such a sensor, is invisible. Hence, extensive studies have been done to explore the possibility of indirectly measuring based on pool oscillation, infrared radiation, ultrasound, and radiography. Although many valuable results have been achieved, only a few control systems are available to quantitatively estimate and control the back-side bead width. Fusion control requires the simultaneous control of both the top-side and back-side bead widths and is, therefore, more complicated than either penetration or pool width control. Hardt et al. [6] have simultaneously controlled the depth, which specifies the weld penetration state for the case of partial penetration and width of the weld pool using top-side and back-side sensors. To obtain a top-side sensor based control system, we have proposed estimating the back-side bead width using the sag geometry behind the weld pool [7]. Based on a detailed dynamic modeling study [8], an adaptive system has been developed to control both the top-side and back-side widths of the weld pool [9]. In this case, a delay arises since the feedback can only be measured at the already solidified sag behind the pool. More instantaneous and accurate information can be ac- quired from the weld pool. In order to use the weld pool information in welding process control, a real-time image 1063–6706/98$10.00 1998 IEEE

Upload: others

Post on 22-Sep-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389

Neurofuzzy Model-Based Predictive Controlof Weld Fusion Zone Geometry

Yu M. Zhang, Senior Member, IEEE, and Radovan Kovacevic

Abstract—A closed-loop system is developed to control the weldfusion, which is specified by the top-side and back-side beadwidths of the weld pool. Because in many applications only atop-side sensor is allowed, which is attached to and moves withthe welding torch, an image processing algorithm and neurofuzzymodel have been incorporated to measure and estimate the top-side and back-side bead widths based on an advanced top-sidevision sensor. The welding current and speed are selected asthe control variables. It is found that the correlation betweenany output and input depends on the value of another input.This cross coupling implies that a nonlinearity exists in theprocess being controlled. A neurofuzzy model is used to modelthis nonlinear dynamic process. Based on the dynamic fuzzymodel, a predictive control system has been developed to controlthe welding process. Experiments confirmed that the developedcontrol system is effective in achieving the desired fusion statedespite the different disturbances.

Index Terms— Fuzzy control, modeling, predictive control,welding.

I. INTRODUCTION

FUSION is the primary requirement of a welding operation.The fusion state can be specified using the outline of

the cross-sectional solidified weld bead (Fig. 1). Extractionand control of the fusion outline is evidently impractical. Afew geometrical parameters should be used to characterizethe fusion zone and then be controlled to achieve the desiredfusion.

This study focuses on controlling the fusion state of fullypenetrated welds in gas tungsten arc (GTA) welding. Thefusion state on a cross section is characterized using twoparameters of the fusion zone, the top-side and back-sidewidths of the fusion zone (Fig. 1). Therefore, the top-sidewidth and back-side bead width of the weld pool arereferred to as the fusion state. A multivariable system will bedeveloped to control and in this study.

Pool width control has been extensively studied. One ofthe pioneering works was done by Vroman and Brandt [1]who used a line scanner to detect the weld pool region. Chinet al. [2], [3] found that the slope of the infrared intensity

Manuscript received July 26, 1996; revised October 28, 1997. This workwas supported by the National Science Foundation under Contract DMI-9634735, the Allison Engine Company, Indianapolis, IN, and the Center forRobotics and Manufacturing Systems, University of Kentucky, Lexington,KY.

Y. M. Zhang is with the Welding Research and Development Laboratory,Center for Robotics and Manufacturing Systems, University of Kentucky,Lexington, KY 40506 USA.

R. Kovacevic is with the Department of Mechanical Engineering, SouthernMethodist University, Dallas, TX 75275 USA.

Publisher Item Identifier S 1063-6706(98)05151-0.

Fig. 1. Fusion parameters of fully penetrated weld pool.

becomes zero when the liquid-solid interface of the weldpool is crossed. This zero slope is caused by the emissivitydifference between the liquid and solid [2]. In order to directlyobserve the weld pool, the intensive arc light should be avoidedor eliminated. Richardsonet al. [4] proposed the co-axialobservation to avoid the arc light. Pietrzak and Packer [5]have developed a weld pool width control system based onthe co-axial observation.

Compared with the pool width, weld penetration is a morecritical component of the weld quality. For the case of fullpenetration, the state of the weld penetration is specified bythe back-side bead width (Fig. 1). With a back-side sensor,

can be reliably measured. However, it is often requiredthat the sensor be attached to and move with the torch toform a so-called top-side sensor. For such a sensor,isinvisible. Hence, extensive studies have been done to explorethe possibility of indirectly measuring based on pooloscillation, infrared radiation, ultrasound, and radiography.Although many valuable results have been achieved, only afew control systems are available to quantitatively estimateand control the back-side bead width.

Fusion control requires the simultaneous control of both thetop-side and back-side bead widths and is, therefore, morecomplicated than either penetration or pool width control.Hardt et al. [6] have simultaneously controlled the depth,which specifies the weld penetration state for the case of partialpenetration and width of the weld pool using top-side andback-side sensors. To obtain a top-side sensor based controlsystem, we have proposed estimating the back-side bead widthusing the sag geometry behind the weld pool [7]. Based ona detailed dynamic modeling study [8], an adaptive systemhas been developed to control both the top-side and back-sidewidths of the weld pool [9]. In this case, a delay arises sincethe feedback can only be measured at the already solidifiedsag behind the pool.

More instantaneous and accurate information can be ac-quired from the weld pool. In order to use the weld poolinformation in welding process control, a real-time image

1063–6706/98$10.00 1998 IEEE

Page 2: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

390 IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998

Fig. 2. GTA welding.

processing algorithm was developed to detect the weld poolboundary in a previous study [10] from the images captured bya high-shutter-speed camera assisted with a pulsed laser [11].Hence, the weld pool geometry can be utilized to develop moreadvanced welding process control systems.

It is known that skilled operators can estimate and controlthe welding process based on pool observation. This impliesthat an advanced control system could be developed to controlthe fusion state by emulating the estimation and decisionmaking processes of human operators. In the past, operator’sexperience was the major source to establish the fuzzy modelthat emulates the operator. Recently, neurofuzzy approach, i.e.,determining the parameters in fuzzy models using optimizationalgorithms developed in neural network training, has beenemployed to establish fuzzy models based on experimentaldata. Hence, we developed a neurofuzzy system for estimatingthe back-side bead width from the pool geometry [12]. Inthis work, a neurofuzzy dynamic model based multivariablesystem will be designed to control the fusion state using thetop-side pool width and the estimated back-side bead width asthe feedback of the fusion state.

II. PROCESS

A. Controlled Process

GTA is used for precise joining of metals. The GTA weldingprocess is illustrated in Fig. 2. A nonconsumable tungstenelectrode is held by the torch. Once the arc is established, theelectrical current flows from one terminal of the power supplyto another terminal through the electrode, arc and workpiece.The temperature of the arc can reach 8000–10 500 K [13] and,therefore, the workpiece becomes molten forming the weldpool, whereas the tungsten electrode remains unmolten. Theshielding gas is fed through the torch to protect the electrode,molten weld pool, and solidifying weld metal from beingcontaminated by the atmosphere.

The major adjustable welding parameters include the weld-ing current, arc length, and travel speed of the torch. Ingeneral, the weld pool increases as the current increases andthe travel speed decreases. For GTA welding, the weldingcurrent is maintained constant by the inner closed-loop controlsystem of the power supply despite the variations in thearc length and other parameters. Thus, when the arc length

Fig. 3. Weld pools made using different welding speeds. Current: 100 A;arc length: 3 mm, 3 mm 304 stainless steel. (a) 2.92 mm/s. (b) 2.42 mm/s.(c) 1.95 mm/s. (d) 1.43 mm/s.

increases, the arc voltage increases so that the arc powerincreases, but the distribution of the arc energy is decentralizedso that the efficiency of the arc decreases. As a result, thecorrelation between the weld pool and arc length may not bestraightforward. In addition to these three welding parameters,the weld pool is also determined by the welding conditionssuch as the heat transfer condition, material, thickness, andchemical composition of the workpiece, shielding gas, angleof the electrode tip, etc. In a particular welding processcontrol system, only a few selected welding parameters areadjusted through the feedback algorithm to compensate forthe variations in the welding conditions.

Compared with the arc length, the roles of the weldingcurrent and welding speed in determining the weld pool andweld fusion geometry are much more significant and definite.For many automated welding systems, the welding speed canbe adjusted on-line. Such an on-line adjustment may also bedone for many advanced welding robots with proper interfaces.Thus, in addition to the welding current, we selected thewelding speed as another control variable. The controlledprocess can therefore be defined as a GTA welding processin which the welding current and speed are adjusted on-lineto achieve the desired back-side and top-side widths of theweld pool.

B. Nonlinearity

The heat input of the arc in a unit interval along the traveldirection can be written as

(1)

where is the welding current, is the welding speed, andis the welding voltage. Roughly speaking, one can assume

that the area of the weld pool is approximately proportionalto .

When the welding speed changes, both the lengthandwidth of the weld pool alter. However, their ratioreferred to as the relative width of the weld pool in this work,does not change significantly (ranged from 0.72 to 0.85 inFig. 3). This suggests that

In our case, the voltage can be assumed constant. Hence,

(2)

where .

Page 3: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

ZHANG AND KOVACEVIC: NEUROFUZZY MODEL-BASED CONTROL OF WELD FUSION ZONE GEOMETRY 391

Fig. 4. Weld pools made using different currents. Arc length: 3 mm; speed:1.9 mm/s, 3 mm 304 stainless steel. (a) 95 A. (b) 105 A. (c) 110 A. (d) 115 A.

When the current increases, the relative width de-creases (Fig. 4). This implies

(3)

where and .During closed-loop control, the control variablesand are

subject to fundamental adjustments so thatand changeas the control variables move in the control variable plan

. Hence, the correlation between the top-side geometricalparameters (width and length) of the weld pool and the inputvariables is nonlinear. Because of the correlation between theback-side bead width and the top-side geometrical parameters,it is apparent that the correlation between the back-side beadwidth and the control variables is also nonlinear. Hence, thecontrolled plant is a two-input–two-output nonlinear multivari-able process. Because of the thermal inertia, the process willalso be dynamic.

III. N EUROFUZZY NONLINEAR DYNAMIC MODELING

A. Neurofuzzy Modeling

A fuzzy system has three major conceptual components:rule base, database, and reasoning mechanism [14]. The rulebase consists of the used fuzzy IF–THEN rules. The databasecontains the membership functions of the fuzzy sets. Thereasoning mechanism performs the inference procedure forderiving a reasonable output or conclusion based on theIF–THEN rules from the input variables.

In the conventional fuzzy models, the fuzzy linguisticIF–THEN rules are primarily derived from human experience[15]. Because the fuzzy modeling takes advantage of existinghuman knowledge, which might not be easily or directlyutilized by other conventional modeling methods [14], suchfuzzy models have been successfully used in different areas,including manufacturing [16]–[19]. In these models, no sys-tematic adjustments are made on the used rules, membershipfunctions, or reasoning mechanism based on the behavior ofthe fuzzy model. In general, if the fuzzy rules elicited fromthe operators’ experience are correct, relevant, and complete[20], the resultant fuzzy model can function well. However,frequently such fuzzy rules from the operators do not satisfythe correctness, relevance, and completeness requirements[20]; the rules may be vague and misinterpreted, or the rulebase could be incomplete. In such cases, the performanceof the fuzzy system can be greatly improved if systematicadjustments are made based on its behavior.

The adjustability of the used rules, membership functions,and reasoning mechanism allow the fuzzy model to adaptto the addressed problem or process. In order to adjust theparameters in the fuzzy model, various learning techniques de-veloped in the neural network literature have been used. Thus,the term neurofuzzy modeling is used to refer to the applicationof algorithms developed through neural network training toidentify parameters for a fuzzy model [14]. A neurofuzzymodel can be defined as a fuzzy model with parameters, whichcan be systematically adjusted using the training algorithms inneural network literature. In neurofuzzy modeling, the abstractthoughts or concepts in human reasoning are combined withnumerical data so that the development of fuzzy modelsbecomes more systematic and less time consuming. As a result,neurofuzzy systems have been successfully used in differentareas [21]–[24].

Most neurofuzzy systems have been developed based onthe Sugeno-type fuzzy model [25]. A typical fuzzy rule in aSugeno-type model has the form: IFis and is THEN

. Here, and are fuzzy sets and is acrisp function which can be any function as long as the systemoutputs can be appropriately described within the fuzzy regionspecified by the antecedent of the rule [14]. In this paper, aneurofuzzy system will be developed to model the nonlineardynamics of the process being controlled.

B. Model

Relationships in (2) and (3) imply that the fuzzy modelcan be established based on partitioning the inputs. Define

and as the outputs, and asthe control variables. In this study, the units of and are100 A and 1/mm, respectively. Denote the present time instantby . Consider the following model:

(4)

where ’s and ’sare the parameters and orders of the model. This

is an impulse response function that is widely used in industrialprocesses. If the model parameters ’s are constant foreach given , (4) will be a linear time-invariant model.If the parameters are dependent on, the model will be lineartime-varying. In our case, due to the cross-coupling, ’sand ’s will depend on and ’s and ’s on

. The model is nonlinear.In order to model the nonlinear welding process, the control

variables are first partitioned into a number of fuzzy sets.(Modeling comparison shows that the partition of four setsshown in Table I is optimal for both variables.) For the weldingcurrent, the four fuzzy sets are low, middle, high, and veryhigh. For , the four fuzzy sets are: small, moderate,large, and very large. For a given value of, the degree oftruth that belongs to its th fuzzy set is measured by the

Page 4: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

392 IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998

TABLE IFUZZY PARTITION OF CONTROL VARIABLES

Fig. 5. 1=pv � 1=v.

membership function

(5)

where is the number of the partitioned fuzzy sets forand are the parameters of the membership

function.Based on the partition of the control variables, the following

rules can be applied:

If is then

If is then

(6a)

Here, and are constant for the given, ,and . Also, in and in are used toindicate that the parameters and [in model (4)]depend on the partition set and to which and

belong, respectively.Rule (6a) is designed to account for the cross-coupling only.

Theoretically, based on (2) and (3), the rule should be:

If is and is then

and

(6b)

However, in our case, the range of the welding speed inthe closed-loop control will be 1.0–3.0 mm. In this range,the correlation between and can be roughly linear(Fig. 5). Hence, we can regard and

. Also, from Fig. 4, the static correlations betweenthe weld pool parameters and the welding current in Fig. 6 canbe obtained. Again, although the correlations are nonlinear,the nonlinearity is slight. As a result, as will be discussed inSection V, experimental data analysis suggests that the abovemore complex rule (6b) does not significantly improve themodeling. This implies that the cross-coupling is the dominantfactor which causes the nonlinearity. Hence, (6a) is used.

In our case, the partition is fuzzy. This implies that(or ) may simultaneously belong to , , and

(or , , and , but with different membershipfunctions. Hence

(7)

IV. I DENTIFICATION ALGORITHM

The identification of a fuzzy model consists of structureidentification and parameter estimation. During identification,the parameters are estimated for different structures. The finalstructure, i.e., the fuzzy variable partition in this case, isselected by comparing different models. This is, in general,very inefficient. Also, the decision is made purely based onstatistical (mathematical) analysis. No process characteristicsor designer’s experience are involved. If the designer isfamiliar with the process, an experience-based partition may beappropriate. Thus, as suggested in [14], we have selected andpartitioned the fuzzy variables based on our understanding ofthe welding process (Table I). Hence, the identification of thefuzzy model is simplified as a parameter estimation problem.

Denote the data as

(8)

and the prediction errors as

(9)

Define the cost function

(10)

The parameter estimation is to find the optimal parametersso that

(11)

Although many excellent algorithms such as the second-orderback-propagation [26] and normalized cumulative learningrule [27] proposed in the neural network literature can be usedto speed up the parameter identification, the authors foundthat satisfactory identification speed can be achieved by usingthe simplest, but the most frequently usedrule [27], [28]in this case. In order to implement this algorithm, partialderivatives of the cost function with respect to each of the

Page 5: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

ZHANG AND KOVACEVIC: NEUROFUZZY MODEL-BASED CONTROL OF WELD FUSION ZONE GEOMETRY 393

(a) (b)

Fig. 6. Empirical static correlations between the welding current and weld pool parameters. (a)L � i. (b) w � i. The experimental data in Fig. 4 are used.

model parameters are needed. The following can be shown:

(12)

(13)

(14)

Fig. 7. Experimental setup.

(15)

(16)

Page 6: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

394 IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998

(a) (b)

(c) (d)

(e)

Fig. 8. Inputted welding parameters for the five dynamic experiments.

(17)

Thus, an identification procedure can be designed accordingly.

V. DYNAMIC EXPERIMENTS

The experimental setup is shown in Fig. 7. The welds aremade using direct-current GTA welding with the electrodenegative [13]. The welding current is controlled by the com-puter through its analog output to the power supply rangingfrom 10 to 200 A. The torch and camera are attached toa three-axial manipulator. The motion of the manipulatoris controlled by the three-axis motion control board, whichreceives the commands from the computer. The motion can bepreprogrammed and on-line modified by the computer in orderto achieve the required torch speed and trajectory, includingthe arc length. The control vision’s ultrahigh-shutter-speed

vision system [11] is used to capture the weld pool images.This system consists of a strobe-illumination unit (pulse laser),camera head, and system controller. The pulse duration of thelaser is 3 ns and the camera is synchronized with the laserpulse. Thus, the intensity of laser illumination during the pulseduration is much higher than those of the arc and hot metal.Using this vision system, good weld pool contrast can alwaysbe obtained under different welding conditions. In this study,the camera views the weld pool from the rear at a 45angle.The frame grabber digitizes the video signals into 5125128 bit digital image matrices. By improving the algorithm [10]and hardware, the weld pool boundary can now be acquiredon-line in 80 ms.

Five experiments have been done on 1-mm-thick stainlesssteel 304 plates. The workpieces are 250 mm in length and100 mm in width. The shielding gas is pure argon. The arclength is 3 mm in all the experiments. In order to establishthe full penetration mode, the current and welding speed mustbe in certain ranges. We have used control variables in largerranges. Fig. 8 plots the segments in each experiment where

Page 7: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

ZHANG AND KOVACEVIC: NEUROFUZZY MODEL-BASED CONTROL OF WELD FUSION ZONE GEOMETRY 395

(a) (b)

(c) (d)

(e)

Fig. 9. Measured pool parameters from the five dynamic experiments.

the inputs have produced fully penetrated weld pools. Themeasured parameters of the weld pools in these segments aregiven in Fig. 9. The back-side bead width can be calculatedusing the weld pool parameters and the neurofuzzy modeldeveloped in the previous study [12]. The results have alsobeen illustrated in Fig. 9.

Fig. 10 shows the distribution of the control variables inthese segments of experiments. It can be seen that the weldingparameters have filled the projected range of the controlvariables. This distribution implies that the resultant modelcan be used during control if the control variables are in theprojected range.

The above experimental data have been used to fit aneurofuzzy model here. It is found that orders

are sufficient when the sample period s.The identified model parameters are given in Tables II–VI.Here and are the average inputs in

rather than at discreteinstant .

Fig. 10. Distribution of inputs in the dynamic experiments.

Assume that represents the continuous time rather thanthe discrete-time instant. The outputs atcan be predictedusing the inputs in ’s

no matter whether or not is an

Page 8: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

396 IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998

TABLE IIIDENTIFIED FUZZY PARTITION PARAMETERS

TABLE IIIIDENTIFIED c11(j=i2)’s

TABLE IVIDENTIFIED c12(j=i1)’s

TABLE VIDENTIFIED c21(j=i2)’s

TABLE VIIDENTIFIED c22(j=i1)’s

integer. Hence, by applying the identified model, the outputsat any moment can be predicted.

The modeling accuracy of the resultant fuzzy model can beseen in Fig. 11 where the outputs were measured at 10 Hz.The variances of the fitting errors are 0.039 and 0.020 mmfor and , respectively. It is found that the no noticedimprovement can be made when increasing ’s, increasing

and or using (6b). In fact, the welding process is subjectto uncertainty and its outputs cannot be exactly predicted usingthe inputs without any errors. The prediction errors in Fig. 11are certainly not larger than the deviations of the outputscaused by the uncontrollable variations in the welding processwhen the same inputs are used. Hence, the obtained model issufficient.

In order to show the effectiveness of the fuzzy model,a linear model has also been fitted. It is found that themodeling is much poorer (Fig. 12). It is apparent that the

(a)

(b)

Fig. 11. Neurofuzzy modeling results. (a) Back-side bead widthyi. (b)Top-side bead widthy2.

used neurofuzzy model structure has played a critical role inaccurately modeling the nonlinear dynamics of the processbeing controlled.

VI. FUZZY MODEL-BASED PREDICTIVE CONTROL

A number of methods could be used to design a neurofuzzycontroller [14], including mimicking another working con-troller, inverse model, specialized learning, back-propagationthrough time and real-time recurrent learning, feedback lin-earization and sliding control, gain scheduling, etc. The ad-vantage and limitation of each individual method has beenanalyzed in [14].

Traditionally, fuzzy controllers have been designed withoutan explicit model of the process being controlled. However,in neurofuzzy systems, mathematical models are explicitlyused. We notice that the predictive control principle [29]has recently been incorporated with fuzzy models to providedesign methods for neurofuzzy model based controllers be-cause predictive methods have several advantages that makethem good candidates for industrial applications. Oliveira andLemos proposed a fuzzy model based predictive controller forsingle-input single-output systems [30]. They used relationalfuzzy models, rather than the Sugeno-type models as used inour work. Next, we will develop a predictive controller for ourtwo-input two-output Sugeno-type model.

At , the controller needs to determine the control actionbased on the feedback to drive the

welding process to reach the desired outputs . In apredictive control, prediction equations should be developedto predict the outputs. Equation (4) can directly yield the

Page 9: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

ZHANG AND KOVACEVIC: NEUROFUZZY MODEL-BASED CONTROL OF WELD FUSION ZONE GEOMETRY 397

(a)

(b)

Fig. 12. Linear modeling (without variable partition). (a) Back-side beadwidth y1. (b) Top-side bead widthy2.

following recursive prediction equations:

(18)

with initials

(19)

where notations emphasize thatare dependent on .

In order to achieve a robust control, it is required that thefollowing cost function is minimized:

(20)

In a long-range predictive control, the positive integershould be large enough in order to achieve a robust control.In general, the regulation speed increases whendecreases.However, the robustness of the closed-loop control systembecomes poorer. For welding process control, the robustnessis the primary requirement. It is found that can achievesatisfactory regulation speed and excellent robustness.

It is known that fluctuations in welding parameters willgenerate nonsmooth weld appearance, which is not acceptable.Energetic control actions must be avoided. Although all of

can befree variables in optimizing the cost function, onlyand will be actually applied. (In fact, at the succeedinginstants, will be determined again.)In addition, being free variables, and

could vary severely so that energeticcontrol actions are generated. Hence, the outputs can bepredicted to optimize the cost function by assuming constantcontrol variables in the prediction horizon, i.e.,

and . In this case, theprediction equations will be

(21)

where

Page 10: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

398 IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998

(22)

with initials

(23)

Denote

(24)

Then the cost function (20) can be written as

(20 )

It can be seen from (22) that depends on beingdetermined. Hence, minimization of with respect tois a nonlinear optimization problem.

In order to obtain an exact numerical solution of a nonlinearoptimization, an iterative calculation is needed. For a real-timecontrol, an on-line iterative calculation is not preferred. Hence,the necessity of implementing an on-line iterative calculationfor achieving an exact numerical solution should be argued.It is known that the neurofuzzy model identified is a nominalmodel of the welding process. The unavoidable variations inthe welding conditions such as the heat transfer conditioncause the actual dynamics to differ from the nominal model.In this case, an exact numerical solution of the nonlinearoptimization based on the nominal model may not exactlyoptimize the actual cost function. The error increases as theuncertainty of the process increases. For the welding process,the uncertainty which makes the closed-loop control necessaryis substantial [8], [31]. Also, since there is no constrainton the change of the control action ,determined based on the nonlinear optimization of (20) or(20’) could significantly differ from . As a result, thecontrol actions could be very energetic so that the resultantweld appearance is not smooth. Also, the large changes ofthe control actions and the significant difference between theactual dynamics and the nominal model could cause severe

Fig. 13. Closed-loop control system.

errors between the predicted and actual outputs. The closed-loop system could be unstable. Hence, the following modifiedcost function is used:

(25)

where are the weights.When the amplitudes of are not large,

can be approximated byso that can be calculated before the optimiza-

tion. [The resultant accuracy in calculating dependson the actual amplitudes of .] Hence, theoptimization becomes linear. The analytic solution is

(26)

The values of the weights and can be determinedbased on their physical meaning in correlating the preferredchanges of the control actions to the errors between the desiredand measured outputs. In the developed system,(mm/100 A) is selected. This implies that an error of 1mm in the predicted and desired top-side or back-side beadwidth has the same contribution to the cost function as

, i.e., 10 A because the unit of in ourcontrol system is 100 A does. Similarly, (mm )is selected.

VII. CLOSED-LOOP CONTROL EXPERIMENTATION

The developed closed-loop control system can be illustratedusing the diagram in Fig. 13. In order to examine the ro-bustness of the developed control system, uncertainties areemulated using a number of artificial disturbances in theclosed-loop control experiments.

Page 11: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

ZHANG AND KOVACEVIC: NEUROFUZZY MODEL-BASED CONTROL OF WELD FUSION ZONE GEOMETRY 399

(a)

(b)

Fig. 14. Closed-loop control experiment of the top-side and back-side beadwidths under step change in the rate of the shielding gas. (a) Outputs. (b)Control actions.

A. Experiment 1: Step Change of Rate of the Shielding Gas

In arc welding, the weld pool and electrode are preventedfrom being contaminated by the atmosphere by applying theshielding gas. In terms of circuit, the arc column can beregarded as a resistor in which the welding current flows andits resistance depends on both the arc length and shieldinggas. The shielding gas (either the type or rate of the flow) hasan influence on the welding arc, and, therefore, influences theweld pool.

In this experiment, the initial rate of the argon flow was 27l/min. At s, the rate changes to 10 l/min (Fig. 14).As a result, both the top-side and back-side bead widthsincrease. As it can be observed in Fig. 14, by decreasing thewelding current and increasing the welding speed, the closed-loop control system successfully eliminates the influence ofthe decrease in the rate of the argon flow.

B. Experiment 2: Current Disturbance

In this experiment, an artificial error between the actual andnominal values of the welding current is applied. During thefirst 42 s, no error exists between the actual and nominalvalues. From s, the actual current is 5 A largerthan the nominal value. Hence, both the top-side and back-side bead widths increases. As it can be seen in Fig. 15,the welding current and speed immediately decreases andincreases, respectively, so that the outputs can be maintainedat the desired levels again.

(a)

(b)

Fig. 15. Closed-loop control experiment of the top-side and back-side beadwidths under step disturbance caused by the difference between the actual andnominal values of the welding current. (a) Outputs. (b) Control actions.

We notice that for advanced welding systems, such an errorbetween the actual and nominal values of the welding currentmay not be frequently encountered. However, this artificialdisturbance can change the dynamic model, which correlatesthe outputs to the nominal values of the welding parameters.Hence, a model perturbation is emulated.

C. Experiment 3: Speed Disturbance

In this experiment, an artificial error between the actual andnominal values of the welding speed is applied. During the first52 s, no error exists between the actual and nominal values.However, after s, the actual welding speed is 0.5 mm/ssmaller than the nominal value. At s, the weldingcurrent and speed are about 38 A and 2.2 mm/s, respectively.If no closed-loop correction is applied, 38 A welding currentand 1.7 mm/s welding speed will increase the top-side andback-side bead widths by about 2 mm. Fig. 16 shows thatthis disturbance has been overcome by the closed-loop controlsystem by simultaneously changing the welding current andwelding speed.

Unlike the error between the actual and nominal valuesof the welding current, the error between the actual andnominal values of the welding speed can often be met inmany applications. Hence, in addition to the emulation ofthe model perturbation, this experiment also shows that thedeveloped closed-loop control system is robust with respect tothe possible variation in the welding speed.

Page 12: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

400 IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998

(a)

(b)

Fig. 16. Closed-loop control experiment of the top-side and back-side beadwidths under step disturbance caused by the difference between the actual andnominal values of the welding speed. (a) Outputs. (b) Control actions.

D. Experiment 4: Tracking Varying Set Points

Fig. 17 shows a closed-loop control experiment in trackingvaried set-points. In general, the dynamic properties of thenonlinear process vary with the operating points. In order totrack the varied set points, the operating points have to change.If a linear controller is used, the performance of the closed-loop control will in general not be guaranteed for differentoperating points. The welding experiment in Fig. 17 showsthat the varied set points are well tracked. The similar resultshave also been observed in other experiments that trackedother varied set points.

VIII. C ONCLUSIONS

The nonlinearity of the controlled process which has thewelding current and speed as the inputs and back-side andtop-side bead widths as the outputs is fundamental. Theneurofuzzy model can describe the dynamic nonlinear processbeing controlled with sufficient accuracy. A neurofuzzy modelbased predictive algorithm has been developed to control thenonlinear welding process. The control experiments showedthat the desired fusion state can be achieved by using thedeveloped control system despite severe disturbances.

The developed system provides a solution to precise controlof welding process. It is currently being used to weld aerospacematerials. In applications where the requirement on the accu-racy is relatively low and where the variations in the weldingconditions are insignificant, other simpler control algorithmsmay also be used to ease the system design.

(a)

(b)

Fig. 17. Closed-loop control experiment of the top-side and back-side beadwidths in tracking varied set-points. (a) Outputs. (b) Control actions.

ACKNOWLEDGMENT

The authors would like to thank L. Li at the Center forRobotics and Manufacturing Systems Welding Research andDevelopment Laboratory, University of Kentucky, Lexington,for his significant contributions in programming, data process-ing, and experimenting.

REFERENCES

[1] A. R. Vorman and H. Brandt, “Feedback control of GTA welding usingpuddle width measurement,”Welding J., vol. 55, no. 9, pp. 742–749,1976.

[2] W. Chen and B. A. Chin, “Monitoring joint penetration using infraredsensing techniques,”Welding J., vol. 69, no. 4, pp. 181s–185s, 1990.

[3] P. Banerjee, S. Govardhan, H. C. Wikle, H. Y. Liu, and B. A. Chin,“Infrared sensing for on-line weld geometry monitoring and control,”ASME J. Eng. Industry, vol. 117, no. 3, pp. 323–330, 1995.

[4] R. W. Richardson, D. A. Gutow, R. A. Anderson, and D. F. Farson,“Coaxial arc weld pool viewing for process monitoring and control,”Welding J., vol. 63, no. 3, pp. 43–50, 1984.

[5] K. A. Pietrzak and S. M. Packer, “Vision-based weld pool widthcontrol,” ASME J. Eng. Industry, vol. 116, no. 1, pp. 86–92, 1994.

[6] J.-B. Song and D. E. Hardt, “Dynamic modeling and adaptive controlof the gas metal arc welding process,”ASME J. Dynamic Syst., Meas.,Contr., vol. 116, no. 3, pp. 405–413, 1994.

[7] Y. M. Zhang, L. Wu, B. L. Walcott, and D. H. Chen, “Determiningjoint penetration in GTAW with vision sensing of weld-face geometry,”Welding J., vol. 72, no. 1, pp. 463s–469s, 1993.

[8] Y. M. Zhang, R. Kovacevic, and L. Wu, “Dynamic analysis andidentification of gas tungsten arc welding process for full penetrationcontrol,” ASME J. Eng. Industry, vol. 118, no. 1, pp. 123–136, 1996.

[9] Y. M. Zhang, R. Kovacevic, and L. Li, “Robust adaptive control of fullpenetration GTA welding,”IEEE Trans. Contr. Syst. Technol., vol. 4,pp. 394–403, July 1996.

[10] R. Kovacevic, Y. M. Zhang, and R. Ruan, “Sensing and control of weldpool geometry for automated GTA welding,”ASME J. Eng. Industry,vol. 117, no. 2, pp. 210–222, 1995.

Page 13: Neurofuzzy Model-based Predictive Control Of Weld Fusion ...ymzhang/Papers/IEEE Trans on... · IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 6, NO. 3, AUGUST 1998 389 Neurofuzzy Model-Based

ZHANG AND KOVACEVIC: NEUROFUZZY MODEL-BASED CONTROL OF WELD FUSION ZONE GEOMETRY 401

[11] T. Hoffman, “Real-time imaging for process control,”Advanced Mater.Processes, vol. 140, no. 3, pp. 37–43, 1991.

[12] R. Kovacevic and Y. M. Zhang, “Neurofuzzy model-based weld fusionstate estimation,”IEEE Contr. Syst. Mag., vol. 17, no. 2, pp. 30–42,1997.

[13] ASM Handbook—Welding, Brazing, and Soldering. Materials Park,OH: Amer. Soc. Materials, 1993, vol. 6, pp. 30–35.

[14] J. S. R. Jang and C. T. Sun, “Neuro-fuzzy logic modeling and control,”Proc. IEEE, vol. 83, pp. 378–406, Mar. 1995.

[15] E. H. Mamdani and S. Assilian, “An experiment in linguistic synthesiswith a fuzzy logic controller,”Int. J. Mach. Studies, vol. 7, no. 1, pp.1–13, 1975.

[16] R. Du, M. A. Elbestawi, and S. M. Wu, “Automated monitoring ofmanufacturing processes—Part 1: Monitoring methods,”ASME J. Eng.Industry, vol. 117, no. 2, pp. 121–132, 1995.

[17] T. J. Ko and D. W. Cho, “Tool wear monitoring in diamond turningby fuzzy pattern recognition,”ASME J. Eng. Industry, vol. 116, no. 2,pp. 225–232, 1994.

[18] S. B. Billatos and J. A. Webster, “Knowledge-based expert systemfor ballscrew grinding,”ASME J. Eng. Industry, vol. 115, no. 2, pp.239–235, 1993.

[19] X. D. Fang, “Expert system-supported fuzzy diagnosis finish-turningprocess states,”Int. J. Mach. Tools Manuf., vol. 35, no. 6, pp. 913–924,1995.

[20] M. Brown and C. Harris,Neurofuzzy Adaptive Modeling and Control.Englewood Cliffs, NJ: Prentice-Hall, 1994.

[21] K. Tanaka, M. Sano, and H. Watanabe, “Modeling and control of carbonmonoxide concentration using a neuro-fuzzy technique,”IEEE Trans.Fuzzy Syst., vol. 3, pp. 271–279, Aug. 1995.

[22] K. Hayashi, Y. Shimizu, Y. Dote, A. Takayama, and A. Hirako, “Neurofuzzy transmission control for automobile with variable loads,”IEEETrans. Contr. Syst. Technol., vol. 3, no. 1, pp. 49–53, Mar. 1995.

[23] A. M. Sharaf and T. T. Lie, “Neuro-fuzzy hybrid power systemstabilizer,” Elect. Power Syst. Res., vol. 30, no. 1, pp. 17–23, 1994.

[24] O. S. Mesina and R. Langari, “Neuro-fuzzy system for tool conditionmonitoring in metal cutting,” inASME Int. Mech. Eng. CongressDynamic Syst. Contr., Chicago, IL, Nov. 1994, vol. 2, pp. 931–938.

[25] T. Takagi and M. Sugeno, “Fuzzy identification of systems and itsapplications to modeling and control,”IEEE Trans. Syst., Man, Cybern.,vol. 15, pp. 116–132, Jan./Feb. 1985.

[26] D. B. Parker, “Optimal algorithms for adaptive networks: second orderback propagation, second order direct propagation, and second orderHebbian learning,” inProc. IEEE Int. Conf. Neural Networks, San Diego,CA, Jan. 1987, pp. 593–600.

[27] Using NeuralWorks, NeuralWare, Inc., Pittsburgh, PA, 1993.[28] S. Haykin, Neural Networks: A Comprehensive Foundation.New

York: Macmillan College Publ., 1994.[29] D. W. Clarke, C. Mohtadi, and P. S. Tuffs, “Generalized predictive

control-part 1: The basic algorithm,”Automatica, vol. 23, pp. 137–148,1987.

[30] J. V. de Oliveira and J. M. Lemos, “Long-range predictive adaptivefuzzy relational control,”Fuzzy Sets Syst., vol. 70, no. 2/3, pp. 337–357,1995.

[31] K. C. Mills and B. J. Keene, “Factors affecting variable weld penetra-tion,” Int. Mater. Rev., vol. 35, no. 4, pp. 185–216, 1990.

Yu M. Zhang (M’96–SM’97) received the B.S. andM.S. degrees in control engineering, and the Ph.D.degree in mechanical engineering, all from HarbinInstitute of Technology (HIT), Harbin, China, in1982, 1984, and 1990, respectively.

He joined the National Key Laboratory for Ad-vanced Welding Production Technology at HIT, in1984, as a Junior Lecturer, and was promoted toFull Professor in 1993. Since 1991 he has beenwith the Center for Robotics and ManufacturingSystems at the University of Kentucky, Lexington,

KY, where he is currently supervising the Welding Research and DevelopmentLaboratory and the Applied Machine Vision Laboratory. He has authored andco-authored over 50 referred journal papers in welding, modeling, and control.His current research interest focuses on monitoring and control of welding andmanufacturing processes and industrial applications.

Dr. Zhang is a senior member of the Society of Manufacturing Engineers(SME) and a member of the American Society of Mechanical Engineers(ASME) and American Welding Society (AWS). He received the 1995 DonaldJulius Groen Prize from the Institution of Mechanical Engineers, U.K. for hispaper published in the Institution’s journal.

Radovan Kovacevic received the B.S. and M.S.degrees in mechanical engineering from the Uni-versity of Belgrade, Yugoslavia, in 1969 and 1972,respectively, and the Ph.D. degree in mechanicalengineering from the University of Montenegro,Podgorica, Yugoslavia, in 1978.

He is a Herman Brown Professor for Materialsand Manufacturing Processes and Director of Lab-oratory for Manufacturing Processes and Systemsat Southern Methodist University, Dallas, TX. Hewas Associate and Full Professor of mechanical

engineering at the University of Kentucky, Lexington (1991–1997), an Asso-ciate Professor of mechanical engineering at Syracuse University, Syracuse,NY (1987–1990), and spent more than 16 years as part of the faculty atthe University of Montenegro, Yugoslavia. He is an Honorary ConsultantProfessor at the Harbin Institute of Technology, Harbin, China. He was aVisiting Fulbright Scholar, Alexander von Humboldt Scholar (Germany), andCarl Duisberg Scholar (Germany). His research includes modeling, sensingand control of welding processes, abrasive waterjet processes and high-power laser beam processes, applied machine vision in quality control, anddevelopment of the rapid prototyping techniques. He holds two U.S. patentsand has published more than 230 technical papers and five books.

Dr. Kovacevic received the Best Paper Award from the Institution ofMechanical Engineers, U.K., in 1995. He was the recipient of the 1997American Welding Society Adams Memorial Membership Award. He is aFellow of the Society of Manufacturing Engineers.