Title of Invention | METHOD OF REGULATING AND CONTROLLING A TECHNICAL PROCESS |
---|---|
Abstract | The present invention relates to a method for controlling driving a technical process executed in time by applying at each time t instructions C <sub>1</sub>(t), leading to a measurable but not observable result R (t) and generating a plurality of observable quantities distinct from the result R (t) whereof at least two are independent G<sub>1</sub> (t), which consists in measuring at least two independent observable quantities G<sub>1</sub> (t). Gp (t); with a predictive model M or a set of models whereof the variable comprise the at least two independent observable quantities calculating an estimation R es(t)=M(Gi (t). Gp(t) of the result R (t); using a drive law I, whereof the input variable is the estimated result R es(t) calculating new instructions C<sub>1</sub>(t + 1), applicable for the time t + 1 and replacing the instructions [C<sub>1</sub>(t). C<sub>n</sub>(l)]. The invention is applicable to spot welding. (%i) |
Full Text | The present invention relates to a method of regulating and controlling a technical process which is executed in time either in a continuous manner or in a discontinuous manner, the process being in particular spot-welding of an assembly of metal sheets. The technical processes which can be regulated and controlled by control systems are very varied and are to be found in all industries. In general, a process transforms an object, characterised by quantities which are input quantities for the process, into another object characterised by quantities which are output quantities for the process. The execution of the process can be controlled by desired quantities corresponding to regulating parameters fixed by an operator or by a control system. Also in general, it is desired that at least one output quantity should remain close to an intended value, and it is then said that this quantity is regulated. In order to achieve this objective, that is to say obtaining an output quantity having a value close to the intended value, the desired quantities are adjusted. The adjustment of the desired quantities on the basis of the measurement of characteristic quantities of the process, as well as the use of these measurements for monitoring the execution thereof, constitutes the method of regulating and controlling the process. It should be noted that, if the output quantities are variables which are independent of one another, it is only possible to regulate one and only one of these quantities. It will therefore be assumed in the following that only one output quantity is regulated, even if the process can be characterised by several output quantities which are independent of one another. In the following the output quantity to be regulated will also be called the "result". Finally, the execution of the process may in general be characterised by quantities linked to the phenomena brought into play by the process; these quantities are neither input quantities nor output quantities. An input or output quantity, or any other quantity associated with the process, may or may not be measured and, if it may be measured the measurement may or may not be carried out in real time without disrupting the process. In the following: "Measurable quantity" will be used to mean a quantity which can be measured, that is to say to which it is possible to make a numerical value correspond; such a quantity is not necessarily measurable in real time. "Observable quantity" will be used to mean a measurable quantity which can be measured directly on the process or on the product directly resulting from the process, in real time. Methods for regulating and controlling a process are known for example which consist of measuring the output quantity to be regulated, comparing this measurement with the intended value then, using a control law, modifying the desired quantities. Such a process assumes that the output quantity in question can be measured in real time. In a variant of the preceding method, the quantity to be regulated is not measurable in real time but is correlated in a known manner with another output quantity which is itself measurable in real time. In this case the quantity to be regulated is replaced by the measurable output quantity and this latter quantity is adjusted. Methods for regulating and controlling a process are also known which consists of measuring the input quantities and calculating the desired quantities using a model of which the variables are the measured input quantities and the intended output value. This model then constitutes the control law; it does not permit calculation of a forecast value for the output quantity to be regulated. Such a process assumes that it is possible to measure the input quantities and that a suitable model is available. Methods of regulating and controlling a process are also known which consist of measuring ihe input quantities, calculating with the aid of a predictive model, the variables of which are the input quantities and the desired quantities, an estimate of the value of the output quantity to be regulated, comparing this estimate with the intended value and using this comparison in order to modify the desired quantities using a drive law. Such a process assumes that the input quantities can be measured in real time and that a suitable predictive model is available. Finally, methods of regulating and controlling a process are known which use a model permitting calculation, on the basis of the output quantity to be regulated and the desired quantities, of the value of an output quantity which is easy to measure, different from the quantity to be regulated but closely correlated therewith. In this method, on the basis of the intended value for the output quantities to be regulated and the desired quantities, an intended value is calculated for the output quantity which is easy to measure, then the measured value of this quantity is compared with the intended value, and on the basis of this comparison the desired quantities are modified using a control law. This method assumes in particular that at least one output quantity which is easy to measure is known, which can be calculated on the basis of a model of which the variables are the output quantity to be regulated and desired quantities. However, processes exist to which none of these methods of regulation and control are applicable. This is so in particular in the case of spot-welding of an assembly of metal sheets. In effect, in this process the result to be obtained can only be measured by a destructive test and cannot therefore be used for continuously regulating and controlling the process. On the other hand, the result depends not only upon the input and desired quantities but also upon the wear on the device used for carrying out the welding. But no reliable means are known for measuring the wear on the device. Therefore it is not possible on the basis of the input and desired quantities to forecast either the quality of the weld nor any other output quantity which, by itself, would be representative of the quality of the weld. Finally, no output quantity closely correlated with the result to be regulated is known. Therefore there are processes, of which spot-welding is an example, in which the input quantities, the output quantities and the desired quantities do not allow the known methods of regulation to be implemented. The object of the present invention is to remedy this drawback by proposing a means for continuously regulating and controlling a technical process such as spot-welding in which it is not possible to observe (in the sense defined above) the result obtained, and for which this result cannot be forecast on the basis only of the measurements of the measurable input quantities or of one single measurable output quantity. Therefore the invention relates to a method of regulating and controlling a technical process which is executed in time either in a continuous manner or in a discontinuous manner by applying at each time t desired'values{Ci(t), ..., Cn(t)} leading to a result R(t) which is measurable but not observable which it is desired to keep close to an intended value Rv and generating a plurality of observable quantities of which at least two are independent {G](t), ■ • •> Gm(t)} according to which: at least two independent observable quantities G](t),.,., Gp(t) are measured, with the aid of a predictive model M, or a set of models, of which the input variables include the at least two independent observable quantities and possibly at least one desired value Ci(t),..., Cq(t), an estimate R^s(t)=M(G](t), ..., Gp(t), Ci(t), ..., Cq(t)) of the result R(t) is calculated, with the aid of a control law L of which the input variable is the estimated result R and the intended result Rv, new desired values {Ci(l+1), ..., Cn(t+1)} == L(R<:s rv> are calculated which are applicable for the time t+1, and the desired values {C](t), ..., Cn(t)} are replaced by the desired values {Ci(t+1), ...,Cn(t+l)}. The predictive model M may be a statistical adjustment model depending upon parameters {9i, ..., Op) which constitute a parameters vector 0 adjusted on a learning base Bap consisting of all of the desired values, the measurements of the observable quantities and the measurement of the result for a plurality of successive executions of the technical process. In order to detemiine the model M it is possible, for example, to proceed in the following manner: a model structure is chosen depending upon a parameter vector 6, a cost function J is chosen having for example a quadratic form, with the learning base a succession of adjusted models Ma,k is calculated corresponding to different parameter vectors 0k of dimension qi for each model Ma,k the coefficients hji of each of the examples of the learning base are calculated, and the generalised score of the model Ma,k is calculated: E(Ga.k) = li^l.N [(Ma,k(x'; ea.u) - Ri)/(l-hii)]' and a quantity |i(6a.k) = (N.qk)'^^^ Sj=i toN hii'^^ is calculated and the model Ma.k having the greatest jx(ea,k) is chosen from amongst the models having the smallest E(0a.k); this model is the optimal model Ma.opt. Preferably: for the measurement of the result R a dispersion range [Omin, Omax] of the standard deviation of the measuring error is determined, and the parameters {9], .... Sp J of the predictive model M are adjusted in such a way that on a test base Bicst it has a score S such that Omm In order to adjust the parameters {0i, ..., 0p} of the predictive model M, it is possible lo choose a first learning base Bap and a first test base Btcsi and to proceed as follows: with the aid of the said first learning base a first estimate of the parameters {0i, ..., Qp} is determined in such a way that the score of the model M for the learning base is within the dispersion range [Omin, amax]» then, using this first estimate of the parameters in the model M, with the aid of the first test base Bujsi, the score S is evaluated and compared with the dispersion range [Omin. Omax]- If S is within the said dispersion range it is considered that the estimate of the parameters is satisfactory, in the opposite case the learning base Bap is completed with examples taken from the first lest base in order to constitute a new learning base, the test base is completed if need be and the parameters {Q\, ..., 0p} are determined again with the aid of the new learning base and the score S on the new test base, and the iterations are continued until the score S is within the dispersion-range [omin, Omax]- In order to complete the learning base with examples taken from the test base it is possible: to fix a confidence interval threshold Sk for the predictions of the model, to calculate the confidence interval Ik for prediction of the model M for each of the examples of the test base, and to introduce into the learning base all the examples of the test base of which the confidence interval Dc is greater than Sk. In the course of the operation of the process, it is possible to measure at least one result and the corresponding observable quantities in such a way as to determine at least one supplementary example which is added to the learning base and, with the new learning base thus obtained, to evaluate the performance of the model and, if necessary, adjust the parameters of the model. The model M is for example a neural network. The technical process may in particular b^ spot-welding of metal sheets. In this case the result R is, for example, the diameter O of the weld nugget and the desired values C), ..., Cn are the welding force Fs, the welding intensity Is, the welding time Ats and the forging time Atf. The observable quantities are, for example, the total electrical energy Ei, the maximum expansion in the course of welding Azs and the maximum contraction during the forging phase Azf. The control law L may be defined in the following way: a minimum value Omin and a maximum value Omax are chosen for the diameter of the weld nugget, a number qm is chosen. the moving mean Omg of the qm last predictions of the diameter of the weld nugget O is formed, if Omg > Omax the desired value Ic of the welding intensity is decreased, if Omin ^ ^mg max the desired value Ic of the welding intensity is not modified, if Omg It is also possible to fix a value Ro It is also possible to fix a welding intensity increment Ale and, when the desired value Ic of the welding intensity is decreased or increased, the increment Ale is subtracted from or added tolc. This method is preferably implemented by a computer. The invention will now be described in greater detail for the example of spot-welding with reference to the accompanying drawings, in which: Figure 1 is a basic diagram of the spot-welding of two metal sheets, Figure 2 is a schematic sectional view of a spot-weld nugget, Figure 3 is a schematic sectional view of a spot-weld nugget after pulling apart, Figure 4 is a diagram showing the development of the diameter of the weld nugget as a function of the welding intensity for two states of wear of the welding electrodes, Figure 5 is a diagram showing the development of the welding intensity instruction as a function of the number of welds produced, Figure 6 shows schematically the development of several characteristic quantities of the welding in the course of producing a spot-weld. Spot-welding is a method of assembling two metal sheets which is known per se. Two sheets 1 and 2 (Figure 1) are disposed one upon the other in a marginal overlap zone and are clamped between two electrodes 3 and 3' connected to a control module 4 having a transformer connected to a source of electricity 5. With the aid of the electrodes an electric current of intensity Ic is made to pass during a limited time through the contact zone 6 of the sheets which is situated between the electrodes. The passage of the electric current in the contact zone 6 causes the metal to heat up which makes it melt and form a molten core 7 (Figure 2) surrounded by a zone affected by the heat 8 which has indentations 9 and 9' caused by the pressure of the electrodes. After the passage of the electric current, the molten core 7 solidifies and ensures a connection between the two sheets. In general, in order to assemble the two sheets a plurality of spot-welds are produced which are disposed along the overlap zone of the sheets. The whole area consisting of the zone which is molten then solidified 7 and the zone affected by the heat 8 is called the weld nugget. The quality of the weld, that is to say the mechanical resistance of the weld nugget, is evaluated by the average diameter of the latter. In order to measure this average diameter, a portion of spot-welded sheets containing a weld nugget is taken and the two pieces of sheet are separated by pulling apart. Then (Figure 3) a portion of sheet la containing an approximately round hole 10 and a portion 2a containing the nugget 8 are obtained. In order to measure the diameter O of the nugget, the largest and the smallest diameter of the nugget are measured and the arithmetic mean of these two measurements is formed. This measurement is made in the groove 16 which is situated approximately at the interface between the two sheets. Thus the quality of the weld is a measurable quantity, the measurement of this quality being the diameter of the weld nugget. It should be noted that the quality of the weld can also be measured by other means, for example by measuring the force of pulling apart the weld nugget; the person skilled in the art knows how to determined these methods of measuring the quality of the weld nugget. However, this quantity is not observable in the sense which was defined above, since in order to measure it it is necessary to destroy the weld and consequently it is not possible to measure it in real time, that is to say as the weld is being produced. The welding process comprises the following steps: putting the sheets in place between the electrodes, docking, an operation consisting of bringing the electrodes closer to the sheets and progressively clamping them by increasing the clamping force up to a nominal value, fusion of the molten core by passing current through during a predetermined time, forging by maintaining the clamping force during a predetermined time, relaxation of the clamping by moving the electrodes apart. Each of these steps lasts a fraction of a second or about a second, the complete cycle lasting several seconds. The quality of the welding, for sheets of a given thickness and type (nature of the metal, presence or absence of coating, etc.), depends upon the following parameters: clamping force F of the electrodes against the sheets, intensity of the welding current Is. time during which the current At^ is made to pass through, time during which the force for forging Atf is applied, state of wear of the electrodes. For each of these parameters, except for the state of wear of the electrodes, desired values are defined which are those which must be produced with the aid of the welding machine controlled by its automatic systems. It will be observed that, at a given clamping force F, a given time for passage of the current Ats and a given forging time Atf the quality of welding (measured by the diameter of the nugget O) varies with the current Is (Figure 4) starting from a minimum value Omin and leaching a maximum value O^ax when the current Is passes from a value l^in to a value Inux, the value above which a phenomenon called expulsion is observed corresponding to the fact that the fusion is too great so that the molten metal is expelled without the diameter of the nugget increasing; in fact, this latter decreases, as the curve 11 indicates. However, the diameter of the weld nugget also depends upon the wear of the electrodes (which is reflected inter alia by an increase in the diameter of the ends of the electrodes). The effect of this wear is to deform the nugget diameter = f (intensity) curve by displacing it towards the high intensities and decreasing its gradient, as can be seen in Figure 4, in which the curve 11 corresponds to a new electrode and the curve 12 to a worn electrode. For the worn electrode the minimum diameter Omin corresponds to an intensity rmin > Imin and the maximum diameter Imax; the difference between Imax and I'max being substantially greater than the difference between I'min aJid Imin. In order for the welding to be satisfactory, it is necessary for the diameter of the weld nugget to be between min and Omax and for the intensity to be less than the intensity for which the phenomenon of expulsion appears. As the electrodes wear during production of the welds, in order to guarantee the quality of the successive spot-welds it is necessary at least to make the instruction develop as the number of spot-welds produced with the same electrodes increases. Figure 5 shows a diagram representing "number of welds/intensity" in which the curves 13 and 14 are shown which represent respectively the development of Imax and Imin as a function of the number of welds (the scale of the horizontal axis corresponding to the number of welds is arbitrary and is chosen so that the curves 13 and 14 are straight lines, which is purely formal). The curves 13 and 14 delimit a zone of weldabihty 15 in which the points of operation are located which correspond to the successive welds referenced Sj to sg. These welds are disposed "in steps", which corresponds to the usual manner of controlling a spot-welding installation, known by the name of "law of phase difference". As in reality the curves 13 and 14 do not have a conveniently known form, it is appropriate to determine the number of welds after which it is necessary to modify the intensity instruction and to what extent. It is the object of the present invention, applied to spot-welding, to determine automatically when to vary the intensity instruction and by how much. In order to aid understanding of the invention, an elementary cycle for carrying out a spot-weld will now be described in greater detail with reference to Figure 6. Figure 6 shows the development over time of two observable quantities, which are: the force F clamping the electrodes against the assembly to be welded, the spacing z between the electrodes; this spacing is measured by the distance between two arbitrary reference points A and A* defined on each of the electrodes (Figure 1). These two quantities can be measured in real time with the aid of force and displacement sensors with which the welding machine is equipped in a known manner. Six successive phases are observed in Figure 6, which are: 1: before clamping of the electrodes the force is zero and the spacing has a value ZQ which is sufficient to permit positioning of the sheets to be assembled between the electrodes, 2 and 3: docking, the electrodes move towards one another until they arrive in contact with the sheets, the distance z decreases, then the force increases to reach the desired force Fc and the distance z is established at a value Zi corresponding to the contact of the two sheets on one another, 4: welding, the electric current is made to pass through with a desired intensity Ic. During this phase, due to the expansion of the sheets resulting fi*om the heat generated by the electric current, the force F increases up to a value F^ax.s* the spacing z between the electrodes increases up to a value Z2, 5: forging, the force is maintained but the supply of electric current is cut off, the force stabilises at the value Fc and the electrodes move towards one another slightly forming indentations in the zones of contact with the sheets, the distance z passes through a minimum Z3, 6: end of welding, the electrodes are moved apart in order to disengage or displace the sheets. 12 It can also be seen in this drawing that the quantities F and z vary with time. At each moment F(t) and z(t) can be measured. Using electrical measurements which are known per se, it is also possible to measure the momentary intensity i(t) and the momentary voltage u(t) during the phase 4. h order to control the welding process, the desired values are fixed which are the force Fc and the intensity Ic as well as the durations of welding Ats and of forging Atf, By suitable computer processing, which the person skilled in the art will know how to carry out, of the measurements F(t), z(t) and u(t) it is possible to determine, after carrying out a spot-weld, quantities which are observable in the sense which has been defined above. These observable quantities are for example: the maximum welding force Fmax,s, the maximum expansion in the course of welding AZmax.s - Z2 - Zi, the maximum shrinkage in the course of forging Azmaxj = Z2 - Z3» the total electrical energy consumed E^icc = 1 u(t).i(t).dt, (the integration is made over the duration of the welding). It should be noted that in this process the observable quantities which have just been defined are not input quantities nor output quantities nor desired values. On the basis of these observable quantities, and particularly on the basis of the quantities Azniax.s, Azmax,f and Eciec, it is possiblc to calculate a forecast value of the diameter Op of the weld nugget. In order to calculate Az^ax.r and E^icc, and such that: Edicc, but it could take other into account and it could involve one or several desired values such as Ic, Fc, Ats and Atf. It is important, however, to note that the model takes into account at least two independent variables, of which at least one is an observable quantity, which is necessary in order to evaluate Op. In effect, taking into account of only one of these measurable quantities, completed if need be by taking into account of one or several desired values, or simply taking into account of the desired values, does not enable Op to be evaluated with sufficient precision. As has been indicated previously, the control of the spot-welding process consists of determining, after each production of a weld, the desired values to be applied in order to carry out the following weld in a satisfactory manner. More particularly, it consists of determining the desired value Ic of the current intensity so that the diameter of the weld nugget is satisfactory, that is to say it is within the two values Omin and Or^ax defined above, and so that the desired value Ic of the current is situated within the weldability range. Thus for each welding operation: the observable parameters necessary in order to determine the observable quantities used by the model M are recorded; in the present case these are Azmax,s> Az^ax/ and with the aid of the model M an estimate of the result Res is calculated, equal in the present case to the diameter of the weld nugget: Res = Op = M(AZmax^, Azmax.f* Eciec)» with the aid of a control law L having as input variable at least Res, the desired value of the current Ic is calculated for the following welding operation: Ic = L(Rcs), and the following welding operation is carried out using the new desired value of the intensity. Several control laws are possible. In particular, it is possible to use the control law L defined in the following manner: a minimum value Omin and a maximum value Omax are chosen for the diameter of the weld nuggetj a number qm is chosen, the moving mean *I)mg is formed of qm last predictions of the diameter nugget, if Omg > (l>max the desired value Ic of the welding intensity is decreased, if Omin ^ ^mg desired value Ic of the welding intensity is increased. It is also possible to fix a value OQ In order to adjust the desired value of the intensity, a welding intensity increment Ale is fixed and, when the desired value Ic of the welding intensity is decreased or increased, the increment Ale is subtracted from or added to Ic. The model M is a statistical model constructed on the basis of a learning base Bap consisting of all the desired values, the observable quantities as well as the measurements of the result which are obtained for a series of N spot-welds. It can be validated on a test base B^est made up in the same way as the learning base but with different examples from those which make up the learning base. The model M is for example a neural network, but it can be any type of statistical model The construction of the model and its use will now be described in a general manner, then the particular features of the application to spot-welding will be described. As has been indicated above, the leaming base is made up of a set of N obser\'ations, referenced by an index i, chosen in such a way as to best cover the possible conditions of carrying out the process to be measured. The following are made to correspond to each observation i: the result R\ obtained (measured); n variables x\, ..., x*n» corresponding to the desired values and the observable quantities measured and forming the vector x'; it may be noted that these variables may equally correspond to input quantities which in the case of spot-welding may be for example the thickness and the nature of the sheets to be welded; however, in the present case it is considered that all the observations are made with identical sheets. In the same way, the test base is composed of N' observations for each of which the measured values of R and n variables xi, ..., Xn which constitute the vector x are made to correspond. The model M is a function of suitable form which the person skilled in the art will know how to choose as a function of the type of model which he wishes to use; this may be a polynomial of the n variables Xi, .;., Xn or a neural network including at least one non-linear neuron and depending upon the same variables. This function depends upon parameters 6u .... 0q which constitute a vector 0. It makes it possible to calculate an estimate of the result R^si = M(x; 0) (or in developed fashion: R^si- M(xi, ..., Xn; Qi,..., 9q)). This model maybe adjusted on the learning base by seeking the vector Oa which minimises the score S, also denoted S(M ; Bap) when it is calculated for the model M on the learning base Bap, equal to the sum, for all of the points of the learning base, of the values of a cost function J which is for example the standard deviation between the estimate made by the model and the result effectively measured: The vectors x\ ►.., x^ are the vectors corresponding to tlie different points of the learning base Bap. The search for the vector Oa may be made by any cost minimisation method known to the person skilled in the art, such as for example the quasi-Nevnon algorithm (described for example in W.H. PRESS & al, "Numerical Recipes in C: The art of Scientific Computing' second Edition, Cambridge University Press, 1992) or the Levenburg-Marquardt algorithm (described for example in K. LEVENBURG, "A Method for the Solution of Certain Nonlinear Problems in Least Squares', Quarteriy Journal of Applied Mathematics n (2), pp. 164-168, 1994, and in D.W. MARQUARDT, "An Algorithm for Least-Squares Estimation of Non-linear Parameters", Journal of the Society of Industrial and Applied Mathematics 11 (2), pp. 431-441,1963). Thus an adjusted model Ma(x; 9a) is obtained. Such a model can be tested on the test base Btcsi by calculating the score S which is equal to the cost function, calculated for the points of the test base: The score can equally be calculated, in the same manner, on the learning base. However, for one and the same type of model, models may be envisaged which include more or fewer parameters. For example, if the model is of the polynomial type of the T^ degree or of a higher degree. Equally, if the model is of the neural network type a model may be chosen which includes one or several neuron(s). The score of a model depends particularly upon the number of parameters, and in particular when this number increases the score decreases, which is desirable since a model is all the better as its score is low, in so far as there is no over-adjustment. In effect, the measurement results which constitute the learning or test bases are tainted by errors which introduce a random noise. By increasing the number of parameters too much, it is possible to obtain a model of which the score on the learning base is zero, which might appear ideal but which in reality is a defect. In effect, such a model predicts perfectly not the phenomenon to be modelled but the phenomenon to which is added the noise which has affected the learning base. As a result the application of such a model to a point not contained in the learning base will give an a priori result tainted by a major error. Moreover, for one and the same type of model, that is to say for a given algebraic form and a given number of parameters, the cost fiinction admits in the general case several minima, that is to say several parameters vectors 9a. One model corresponds to each of these parameters vectors. In order to seek the best model, that is to say the one which will have the lowest score whilst not being affected by an over-adjustment, it is possible to use methods which are known/?er se, such as the methods known as "cross validation" or "regularisation". However, these methods are not only unwieldy but also they are not always sufficiently effective. Also, the inventor has devised a new method with improved performance over the known methods. In order to implement this method, the procedure is as follows: a model structure is chosen in which the number of parameters can be chosen arbitrarily, a first adjusted model is determined as indicated above, including qi parameters: Maj(x; 9a.i), in which 6a.i is vector of dimension qi, the Jacobian Z of the model Ma.i(x; 0a,i) is calculated. For this, the functions Ma.i (x'; 9) are considered in which it is considered that the parameters vector 9 of the model is variable. The matrix Z is then the matrix having qi lines and N columns of which the terms z^ are equal to: Zij = a Ma,](x*; 9)/ d Bj at the point 9 = 9a,) then for each observation i of Bap the following scalar, denoted hij, is calculated: hji =(2i.i, ...,2i,ql) (ZZ)" (Zj.i, ..., Zi.ql) then, on the learning base a generalised score is calculated of the model having as the parameters vector 9a,i: E (9a.l) = Ii=l.N [{Ma.i(x\ 9a.O - R,)/(l " hii)]' and a quantity \i (9a.i) = (N.qi)*^'^ Ii=i,N hij^'^ is calculated then in the same manner models are determined which have, according to choice, different structures or different- numbers of parameters, or which correspond to different minima of one and the same cost function. Then a series of models Ma,k is obtained with which the quantities E(Oa,k) and |i(6a.k) are associated, by comparing the values of E(ea.k) and ^(ea,k) the model Ma,k is then determined for which E(6a,k) is amongst the smallest values obtained and |x(Oa.k) is maximal. This model corresponds to the optimal model which is denoted Ma^opi. This is the model which is then used in order to effect regulation of the process. In order to determine the optimal model it is possible, for example, to proceed in the following manner: a plurality of models Ma.k are considered for which the corresponding values of E(9a.k) and [i(Ga.k) are calculated, the set consisting of the values of E(Oa.k) is considered, this set includes a smaller value min[E(Oa,k)], and at least two models are retained of which the values of E(Oa.k) are closest to min[E(0a,k)], for this any criterion may be used which the person skilled in the art can determine, the models which have been selected as indicated are considered, and amongst those models the one for which the value of M'(Ga.k) is greatest is retained; this model is the model considered as optimal. Thus the model having the greatest |i(Ga,k) is chosen from amongst the models having the smallest E(Ga.k). It is also possible, using a method which is known per se, lo choose a "set of models" consisting of a plurality of models which are acceptable a priori, and each time that it is wished to make a forecast the set of models is used in order to detemiine the most relevant forecast (see for example CLEMEN, R.T. 'Combining forecasts: A reviewf and annotated bibliography, International Journal of Forecasting, Vol 5, pp 559-584, 19890. In the following reference will be made simply to a "model", but the explanation which will be given could be transposed mutatis mutandis by the person skilled in the art to a "set of models". The model thus obtained is not necessarily satisfactory, which is the case in particular when the learning base does not contain enough points or when these points are not distributed in a satisfactory manner in the space for the entries. In order to evaluate the quality of the model and if need be to improve it, the test base can be used. For this, the procedure is as follows: a range of estimation of the standard deviation of the measurement noise [Omin, Omax] is determined a priori by preliminary tests for the measurement of the result R, then the score of the model Ma.opi is calculated on the lest base: S(Ma.opi ; Btcst) and this score is compared with the range [omin, Omax]; if Omin The examples taken from the test base and introduced into the learning base can be chosen in various ways. However, it is preferable to choose the points for which the confidence interval for estimation of the result R made by the model is the greatest, that is for which this estimate is the most uncertain. This confidence interval of the point i, irrespective of whether it belongs to the learning base or to the test base, is determined by the coefficient hii defined previously. More precisely, it is proportional to hji . This adjustment or resetting of the model can be made in the course of execution of the process, by taking measurements of the result from time to time in such a way as lo constitute a test base with the aid of which the performance of the model is evaluated and. if necessary, the learning base is enhanced in order to recalculate a mode! with better perfonnance. In the particular case of spot-welding, according to the invention: by preliminary tests a first learning base is constructed and, by tests of reproducibility of the measurement, the dispersion range of the standard deviation of the measurement noise [omin, c^max] is evaluated for the measurement of the diameter of the weld nugget (the result R). This learning base is constructed by producing series of spot-welds with welding intensities varying alternately between the lower limit of weldability and the upper limit of weldability without causing the other desired values to vary, these being the welding time, the forging time and the welding force. This makes it possible to construct a model which will serve to control the welding without varying the duration of a cycle, that is to say preserving a constant productivity. a statistical model, and preferably a neural model, is considered, having as input variable the observable quantities defined above and as output variable the estimate of the diameter of the weld nugget. With the aid of the learning base, and by applying for example the method which has just been defined, the model is optimised. The inventors have found that a good model is in particular a model of which the input variables are Azmax.s, Azmax.f and Eeico as indicated above, in order to regulate the process, the model is used as indicated above in order to re-update, if necessary, the desired welding value Ic after each spot-weld is produced. Furthermore, and in order to improve the model, it is possible during the entire duration of operation of the process to take samples of welded sheets and to measure the diameter of the weld nugget in such a way as to constitute a test base. With the aid of this test base the score of the model is calculated; if this score is satisfactory the model is not modified; if this score is not satisfactory the points for which the prediction is the most uncertain, that is to say for which the confidence inter\'al is greater than a value Sk fixed in advance, are extracted from the test base and these points are introduced into the learning base in order to enhance it. With this enlianced learning base an optimised model is recalculated and the regulation of the process is continued with this new model. As will be easily understood, the application of the method which has just been described is not limited to the case of spot-welding but is applicable to any process which may the subject of modelling. Irrespective of whether it is applied in the general case or in the case of spot-welding, the method is implemented by a computer connected to sensors and to a module for controlling the process. This computer includes programs intended to calculate the optimal model on the basis of files in which are recorded the data relating to the learning and test bases, programs intended to use the optimal model on the basis of data measured over the process, to calculate the desired values on the basis of the control law, and to send these desired values to the equipment intended to carry out the process. The person skilled in the art will be able to produce such an automatic system. In the particular case of spot-welding, the equipment intended to carry out the process is a .spot-welding machine which is knov/n per se and has, also in a known manner, means for measurement of the position of the electrodes, the force, the momentary intensity and voltage, as well as control means. These means are. connected in a known manner to the computer, either directly or by way of particular automatic devices which are known per se. WE CLAIM : 1. A method of regulating and controlling a technical process which is executed in time either in a continuous manner or in a discontinuous manner by applying at each time t desired values {Ci(t),...,Cn(t)} leading to a result R(t) which is measurable but not observable and generating a plurality of observable quantities separate from the result R(t) of which at least two are independent {Gi(t),....,Gn(t)}, comprising the following steps: measuring at least two independent observable quantities Gi(t),...., Gp(t) calculating an estimate Res(t) = M Gi(t),...,Gp(t) of the result R(t) with the aid of a predictive model M, or a set of models, of which the variables include the at least two independent observable quantities. - calculating new desired values {Cj(t+ 1)} =L (Res(t) which are applicable for the time t + 1 with the aid of a control law L of which the input variable is the estimated resuh Res(t) - and replacing the desired values {Ci(t),....,Cn(t)} by the desired values {Ci(t + l),...,Cn (t+ 1)} 2. The method as claimed in Claim 1, wherein the predictive model M is a statistical adjustment model depending upon parameters {9 i 9 p} which constitute a parameters vector 9 adjusted on a learning base Bap consisting of all of the desired values, the measurements of the observable quantities and the measurement of the result for a plurality of successive executions of the technical process. 3. The method as claimed in Claim 2, wherein in order to determine the model M, it comprises the following steps: choosing a model structure depending upon a parameter vector 9, choosing a cost function having for example a quadratic form, - executing a plurality of successives executions of the technical process and determining the desired values, measuring the observable quantities and measuring the results of the successives executions of the technical process, and constructing a learning base Bap, calculating a succession of adjusted models Ma,k corresponding to different parameter vectors 9k of dimension qk which minimise, globally or locally, the cost function on the learning base Bap, calculating for each model Ma,k the coefficients hjj of each of the examples of the learning base , and the generalised score of the model Ma,k E(e«,u = Si = I,N[M a,i.(x*; ea,k) - R/(l-hn)]' calculating |i(0a,k)= N.qk*"'^' Si = i to N hii '^" and choosing as optimal model M a,opt the model Ma,k having the greatest |a(9a,k)is chosen 'from amongst the models having the smallest E(9a,k)- 4. The method as claimed in Claim 2 or 3, wherein, in order to measure the result R, it comprises the following steps; determining a dispersion range of the standard deviation of the measurement noise and adjusting the parameters {9 i^ , 9 p} of the predictive model M in such a way that, on a test base Btest, the model M has a score S = S(M ; Btest) such that Cmin 5. The method as claimed in Claim 3, wherein, in order to adjust the parameters {9 i^ ^ 9 p} of the predictive model M, it comprises the steps of: choosing a first learning base Bap and a first test base Btest? determining with the aid of the said first learning base, a first estimate of the parameters {9 1^ , 6 p} in such a way that the score of the model M for the learning base is within the range [amin^Omax] . then, evaluating the score S = S(M; B test) using this first estimate of the parameters in the model M, with the aid of the first test base Btest. comparing the score S(M; Btest) with the dispersion range [Omin^cTmax] and, if S is within the said range considering that the estimate of the parameters is satisfactory, in the opposite case completing the learning base Bap with examples taken from the first test base in order to constitute a new learning base, completing the test base if need be and determining the parameters {9 i^ , 9 p}, again with the aid of the new learning base and the score S on the new test base, and continuing the iterations until the score S is within the dispersion range [amin^cTmax] 6. The method as claimed in Claim 5, wherein in order to complete the learning base with examples taken from the test base, it comprises the steps of: fixing a confidence interval threshold Sk for the predictions of the model, calculating the confidence interval Ik for prediction of the model M for each of the examples of the test base, and introducing into the learning base at least one of the examples of the test base of which the confidence interval Ik is greater than Sk, that is to say of which the estimate of the result is the most uncertain. 7. The method as claimed in Claim 5, wherein the confidence interval Ik of the prediction of the model M for each example of the test base is proportional to the square root of the coefficient hn of this example. 8. The method as claimed in any one of Claims 4 to 7, wherein in the course of the operation of the process, it comprises the steps, measuring at least one result and the corresponding observable quantities and determining at least one supplementary example, adding to the learning base, and, adjusting the parameters of the model and evaluating the performance of the model with the new leaming base thus obtained. 9. The method as claimed in any one of Claims 1 to 8, wherein the model M is a neural network. 10. The method as claimed in any one of Claims 1 to 9, wherein the technical process is the spot—^welding of metal sheets, 11. The method as claimed in Claim 10, wherein the result R is the diameter O of the weld nugget or any other comparable quantity such a, for example the force of pulling apart the weld nugget, and the desired values Ci, , Cn are the welding force Fg, the welding intensity Is, the welding time Atg and the forging time Atr. 12. The method as claimed in Claim 11, wherein the observable quantities are the total electrical energy E^iec. the maximum expansion in the course of welding AZ niax,s and the maximum contraction during the forging phase AZ max,f. 13. The method as claimed in Claim 11 or Claim 12, wherein the control law L is defined : choosing a minimum value Omin and a maximum value Omax for the diameter of the weld nugget, choosing a number qm, forming the moving mean mg of the qm last predictions of the diameter of the weld nuggetO, and, if Omg > O^ax, decreasing the value Ic of the wleind intensity; if welding intensity is increased. 15. The method as claimed in claim 13 or claim 14, wherein a welding intensity increment Ale is subtracted from or added to Ic 16. The method as claimed in any one of claims 10 to 15 wherein in order to construct a learning base, it comprises the step of producing a succession of spotwelds by alternately varying the desired value for the welding intensity Ic between the lower limit and the upper limit of the range of weldability and thus using the welding electrodes, the other desired values being kept constant. |
---|
1374-chenp-2003 claims-duplicate.pdf
1374-chenp-2003 description (complete)-duplicate.pdf
1374-chenp-2003 drawings-duplicate.pdf
1374-chenp-2003-correspondnece-others.pdf
1374-chenp-2003-correspondnece-po.pdf
1374-chenp-2003-description(complete).pdf
1374-chenp-2003-other documents.pdf
Patent Number | 223181 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Indian Patent Application Number | 1374/CHENP/2003 | ||||||||
PG Journal Number | 47/2008 | ||||||||
Publication Date | 21-Nov-2008 | ||||||||
Grant Date | 05-Sep-2008 | ||||||||
Date of Filing | 01-Sep-2003 | ||||||||
Name of Patentee | USINOR | ||||||||
Applicant Address | IMMEUBLE "LA PACIFIC", LA DEFENSE 7, 11/13 COURS VALMY, 92800 PUTEAUX | ||||||||
Inventors:
|
|||||||||
PCT International Classification Number | G05B13/02 | ||||||||
PCT International Application Number | PCT/FR02/00516 | ||||||||
PCT International Filing date | 2002-02-12 | ||||||||
PCT Conventions:
|