Adaptive process control system with comparing a parameter with its running average

Abstract: An abrasive waterjet cutting system is monitored and controlled by measuring at least one process parameter (P) and using that measurement as a comparison with a running average (P(ave)) of the process parameter as it may change over time. Optionally, the rate of change of the process parameter may also be used to signal an emergency condition, and extreme outer limits (L1,H2) of the process parameter may be used to define unacceptable operating conditions.

Description: A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent disclosure, as it appears here, but otherwise reserves all copyright rights whatsoever. This invention relates to process control; more particular, the invention relates to an adaptive process control system which may be used in an abrasive waterjet cutting assembly in which at least one parameter of the process is used to control the various parts thereof in such a manner that abrupt process changes are distinguished from gradual process changes. The prior art is replete with process control systems in which one or more parameters of the system are continuously monitored and in which the process is suitably modified in response to the results of such monitoring. That is, any one or more of the process parameters have upper and lower limits assigned to them and if the system drifts, or jumps, beyond these limits, appropriate action is taken, such as, for example, a complete shutdown if the particular parameter happens to be a vital one. An inherent conflict in such a process control system is always between the need for rapid response in the case of an emergency and the avoidance of over-reaction to a momentary condition which has no real emergency significance. That is, slow and gradual changes may eventually push the system to the outer boundaries of its performance envelope but this does not signify a true emergency condition. It is known from US Patent 5339070 to provide an adaptive process control system comprising: a) means for measuring at least one process parameter and generating a time varying analog signal, defined as a first signal, representative of such parameter; b) sampling means for periodically sampling, at a selected sampling rate, such first signal and providing a second signal; c) means responsive to the second signal for converting the second signal to a digital form, defined as a third signal, reflecting the value of the process parameter; d) a computer responsive to the third signal to provide a sixth signal representing an average of the process parameter and e) comparison means for comparing values of the third signal with values of the sixth signal and creating an error signal when the value of the third signal reflects a value beyond the value of the sixth signal. The present invention is characterised in that the computer is also responsive to the third signal for providing fourth, fifth, seventh and eighth signals, the fourth signal representing the value of the rate of change of the process parameter; the fifth signal representing a value of the running average of the process parameter, updated at the sampling rate plus a first constant; the sixth signal representing a value of the running average of the process parameter, updated at the sampling rate, minus a second constant; the seventh signal representing a non-running average of the process parameter plus a third constant; the eighth signal representing a non-running average of the process parameter minus a fourth constant; and the comparison means is operative for comparing the values of the third signal with the values of each of the fifth through eighth signals and for generating respective error signals when the value of the third signal reflects a value beyond the value of the fifth through eighth signals and where the value of the fourth signal is beyond the value defined by a fifth constant. A preferred control system advantageously adapts to gradual changes in the various operating process parameters of the system without unduly triggering shutdowns when there is no real emergency, and also to provide a process control system in which the system will respond to rapid changes that do not exceed the conventional system limits. For a better understanding of the present invention and to show how the same may be carried into effect, reference will now be made, by way of example, to the accompanying drawings, in which:- Figure 1 shows a broad symbolic diagram of how the adaptive process control system can be applied to an abrasive waterjet cutting system; Figure 2 is a functional block diagram of one embodiment of the adaptive process control system; Figure 2a shows a reproduction of the wave form actually generated by a sensor used; Figure 3 is a flow chart of the various steps used to operate the adaptive process control system; and Figure 3A is a graphical illustration of how the system adapts to gradual, non-emergency, changes in the process of the system and also shows a break-through point. With reference to Figure 1, there is shown a broad system diagram of an embodiment as applied to an abrasive waterjet cutting, or machining system. Briefly, a nozzle, generally indicated at "A", is comprised of an orifice B and a focusing tube C applying a mixture of high pressure water and abrasive to a moving workpiece "D". The nozzle assembly A is supplied with abrasive from a vibration feeder E and high pressure water from a source F. A vacuum sensor G senses the pressure conditions inside the nozzle A and provides a sensor signal to a data processing and controlling unit H whose output controls not only the motion of a workpiece D but also the feed from the feeder E, and the feed of high pressure water from the source F. The controlling unit H also feeds a display circuit I for the display of any alarm messages. In operation, as high pressure water and abrasives are supplied to the nozzle, the workpiece D is moved back and forth under the control of equipment (not shown) to manoeuvre the workpiece for the desired cutting or machining effect. Gradual changes in either water pressure, abrasive feed or nozzle wear, are sensed by the vacuum sensor G which provides its signal to the data processing and controlling unit H so that unit H can distinguish emergency conditions from gradual changes. If an emergency condition has indeed been reached, the data processing and controlling unit H will shutdown one, more or all, of the principal moving parts of the system. In addition, the data processing and controlling unit H will also flash an alarm message to the display I. With reference to Figure 2, there is shown a functional block diagram of the apparatus. A sensor 10, which may be a vacuum sensor in the preferred embodiment, generates a signal 1, a reproduction of which is shown in Figure 2A. It is to be noted that the signal 1 exhibits significant high frequency content with sharp peaks and valleys and also exhibits a low frequency drift, even within a range of 300 seconds. Such a signal is, by itself, not very useful for process control. A signal sampler 12, operating at a sampling frequency of SF, repeatedly "samples", i.e. measures, the value of signal 1 and provides its own output signal, signal 2. An A-D converter 14 receives signal 2 in analog form and converts it into a digital form so that an accurate data processing operation can take place. A conventional computer 16, programmable in a fashion to be described below, receives the digital version of the sensor signal 3 and generates a number of signals 4, 5, 6, 7 and 8. The fourth signal, identified in Figure 2 as "P(DOT)" is provided to a comparator 18 to compare the P(DOT) signal with both an upper and lower set point S to determine whether the rate of change of the process parameter lies beyond acceptable limits. In effect, the P(DOT) signal approximates, more or less, what is mathematically known as the first derivative of signal 1, representing pressure. That is, the larger the number of samples, i.e. the higher sampling frequencies SF, the more signal 4, the P(DOT) signal, will approximate that of a true first derivative. If the P(DOT) signal 4 is beyond the limits set by the set point S, comparator 18 will generate an error signal ES which is then provided, by suitable circuitry, along with other error signals ES, to both a display unit 32 and a control unit 34. Returning to the computer 16, it also generates a signal 5 which comprises a calculated average of pressure, P(ave), plus a fixed constant H1. The P(ave) signal is calculated by computer 16 in accordance with the following formula: P(ave) = P+[(T3.SF-1).P(ave) (previous)] T3.SF where T3 is an arbitrary timing constant. The P(ave) signal 5 is continuously updated by computer 16 at the rate of the sampling frequency SF so that a continuously running average is calculated. Thus, the P(ave) signal 5, plus the fixed constant H1, provides a "floating" upper limit of a performance envelope which will change as the system continues in operation. The P(ave) signal plus the H1 constant is provided to a comparator 20 where signal 5 is compared with the actual digital version of signal 3 so that if the value of signal 3 exceeds the value of signal 5, comparator 20 will generate an error signal ES. The computer 16 also provides a signal 6 which is the same P(ave) running average of the pressure sensor but minus a fixed constant L1 to set a lower limit for the system. Signal 6 and signal 3 are compared in a comparator 22 so that if signal 3 descends below the magnitude of signal 6, the comparator 22 will generate an error signal ES. In effect, the comparator 22 assures that the signal 3 does not go below the floating, lower set point of the system. The computer 16 also provides a signal 7 which represents an initial determination of the average pressure, designated P(ave) 0 plus a second fixed constant H2. Unlike signals 5 and 6, signal 7, once determined during an initial period, is not thereafter updated so that it does not represent the running average of the P(ave) signals 5 and 6. A comparator 24 compares signal 3 with signal 7 and if signal 3 is below the upper limit set by signal 7 nothing will happen. However, if signal 3 has a value larger than signal 7, the comparator 24 generates an error signal ES in a fashion described with respect to the previous comparators. The computer 16 also provides a signal 8 to comparator 26. Signal 8 is, like signal 7, the initial average determination, P(ave) 0 , but adjusted for a lower limit by the constant L2. Comparator 26 will generate a ES signal when the value of signal 3 is below the value of signal 8. If it is, comparator 26 will generate an error signal ES. As an optional feature, there may be provided an additional comparator 28 having an upper limit H3 and a lower limit L3 which is not influenced by computer 16. Comparator 28 monitors signal 3 to make sure that it is below the upper set point H3 and above the lower set point L3 and is useful for determining, upon start-up, whether the system is within the broadest range of parameters acceptable therefor. If the signal 3 is beyond the boundaries set by H3 and L3, it will generate an error signal ES. All error signals ES, generated by comparators 18, 20, 22, 24, 26 and 28 are provided by a common connection 30 to a display unit 32 and a control unit 34. The display unit will indicate which particular comparison was unsuccessful and the control unit 34 will initiate, through otherwise conventional mechanisms, such as relays, closure of valves, stopping of feeders, or pausing the equipment moving the workpiece. With reference now to Figure 3, there is a flow chart illustrating the method of control of an adaptive process control system. At step 100 the process is started by the closure of, for example, a main switch (not shown). This process starts the various units shown in Figure 1. At step 102, a first timer, timer 1, starts counting down, and a second timer, timer 2 starts at the same instant in step 104. Step 106 determines whether the timer 1 has reached its zero count and if not step 106 is repeated until timer 1 does count down. Step 108 will also start a timer 2 to countdown but will not reach zero until steps 110 and 112 have determined that the value of pressure P is above the lower limit L3 and below the upper limit H3. Once the timer 2 has counted down, in step 114 the P(DOT) signals shown in the drawings as a P and P(ave) is calculated every time that data is received by computer 16. That is, data is updated at the rate of the sampling frequency SF. Subsequent to step 114, step 116 modifies the running average P(ave) with fixed constants H1 and L1 to indicate the floating, set point. This is best illustrated by reference to Figure 3A where the upper and lower set points are shown as changing the "envelope" within which the P(ave) signal may operate over a period of time. That is, the floating upper limit is denoted graphically by line 150 while the lower limit line is denoted by line 152. In accordance with the previous notation, the wave form 1 represents the signal from sensor 10 and R represents the range of variation typically encountered in the signal 1. Point "x" identifies when the upper limit has been exceeded. Returning now to Figure 3, in step 118 the computer makes an initial determination of P(ave) (not updated) and modifies them by the fixed constants H2 and L2. In practice, the fixed constants H2 and L2 are larger in magnitude than the fixed constants H1 and L1 and, dependent upon system choices, each constant H1, L1, H2 and L2 may have different values. Typical values of a representative set of fixed constants for a particular system may be: H1 : 10mmHg L1 : 10mmHg H2 : 12.7mmHg L2 : 12.7mmHg H3 : 254mmHg L3 : 25.4mmHg S : 3.5mmHg/s In steps 120 and 122 a determination is made whether the P(DOT) signal, shown in Figure 3 as a P is within the limits dictated by a set point S and this step determines whether the rate of change of the P(DOT) signal is beyond the limits set by the set point S. If that is the case, the routine will generate a "Yes" that will flow through the system in a manner to be described later. In steps 124 and 126 the value of signal P (signal 3 in Figure 2) is compared against lower limit L1 and upper limit H1. If signal P is beyond the limits set, further actions as will be described below will take place. In steps 130 and 132 signal P is compared to the broader band set by constants H2 and L2 and, again, an indication that signal P is beyond either limit, will likewise generate a "Yes" message. A review of Figure 3 will show that all "Yes" messages generated by steps 110, 112, 120, 122, 124, 126, 130 and 132, will lead to step 128 where a number of corrective actions will be caused to occur such as closure of the high pressure valve, stopping of the abrasive feeder, and pause in the equipment moving the workpiece D (see Figure 1). In addition, all "Yes" results from the previously identified comparison steps will lead to a monitoring display, as illustrated in steps 134, 136, 138, 140 and 142 which will tell the operator what particular fault is likely to have occurred in the system. The calculation described herein may be performed by any conventional mathematics program, for example, "MATHCAD 6.0 PLUS" (TM of the Mathsoft Corp., Cambridge, Mass, U.S.A.). It is to be noted that the system described will also function adequately if comparators 18, 24 and 26 are made optional, i.e. that they are not necessarily a part of the optimum system. It will be appreciated that the adaptive process control system monitors a selected one or more process parameters. The system not only determines the value of a signal representing such a parameter but also detects when such signal is beyond the limits established for the system. In addition to measuring the value of the process parameter signal, the system also determines the rate of change of the signal so that truly abrupt changes are appropriately monitored, regardless of whether such abrupt changes exceed the conventional limits of a system. Furthermore, the system calculates a running average of the process parameter signal which also has appended thereto outer limits, both upper and lower. Thus, gradual changes in the system, such as accumulated wear and tear, prevent an emergency reaction when none is necessary. The boundaries, i.e. the upper and lower limits for such a signal simply "float" with the running average. Also, an optional "start-up" control is provided which has its own limits which determine, immediately upon start-up of the system, whether the gross parameters have not been met and therefore should prevent even start-up.

Claims: An adaptive process control system comprising: a) means for measuring at least one process parameter and generating a time varying analog signal, defined as a first signal, representative of such parameter; b) sampling means for periodically sampling, at a selected sampling rate, such first signal and providing a second signal; c) means responsive to the second signal for converting the second signal to a digital form, defined as a third signal, reflecting the value of the process parameter; d) a computer responsive to the third signal to provide a sixth signal representing an average of the process parameter and e) comparison means for comparing values of the third signal with values of the sixth signal and creating an error signal when the value of the third signal reflects a value beyond the value of the sixth signal; CHARACTERISED IN THAT the computer is also responsive to the third signal for providing fourth, fifth, seventh and eighth signals, the fourth signal representing the value of the rate of change of the process parameter; the fifth signal representing a value of the running average of the process parameter, updated at the sampling rate plus a first constant; the sixth signal representing a value of the running average of the process parameter, updated at the sampling rate, minus a second constant; the seventh signal representing a non-running average of the process parameter plus a third constant; the eighth signal representing a non-running average of the process parameter minus a fourth constant; and comparison means is operative for comparing the values of the third signal with the values of each of the fifth through eighth signals and for generating respective error signals when the value of the third signal reflects a value beyond the value of the fifth through eighth signals and where the value of the fourth signal is beyond the value defined by a fifth constant. A system according to claim 1, including comparison means to compare the third signal with pre-set sixth and seventh constants and for generating an error signal when the value of the third signal is beyond the limits defined by the sixth and seventh constants. A system according to claim 1 or 2, wherein the process is an abrasive waterjet system. A system according to claim 3, wherein the process parameter is pressure within a nozzle in the abrasive waterjet system. A system according to any one of the preceding claims, wherein the sampling rate is between about 0.1 to 10Hz. A system according to any one of the preceding claims, further including means for displaying the error signals to identify which comparison has failed. A system according to any one of the preceding claims, further including means responsive to the error signals for controlling the process. A method for adaptively controlling a process comprising: a) measuring at least one process parameter and generating a time varying analog signal, defined as a first signal, representative of such parameter; b) periodically sampling, at a selected sampling rate, such first signal and providing a second signal; c) converting the second signal to a digital form, defined as a third signal, reflecting the value of the process parameter; d) providing a sixth signal representing an average of the process parameter; and e) comparing values of the third signal with values of the sixth signal and creating an error signal when the value of the third signal reflects a value beyond the value of the sixth signal; CHARACTERISED BY also providing fourth, fifth, seventh and eighth signals in response to the third signals, the fourth signal representing the value of the rate of change of the process parameter; the fifth signal representing a value of the running average of the process parameter, updated at the sampling rate plus a first constant; the sixth signal representing a value of the running average of the process parameter, updated at the sampling rate, minus a second constant; the seventh signal representing a non-running average of the process parameter plus a third constant; the eighth signal representing a non-running average of the process parameter minus a fourth constant; and comparing the values of the third signal with the values of each of the fifth through eighth signals and generating respective error signals when the value of the third signal reflects a value beyond the value of the fifth through eighth signals and where the value of the fourth signal is beyond the value defined by a fifth constant. A method according to claim 8, including the further step of comparing the third signal with pre-set sixth and seventh constants and for generating an error signal when the value of the third signal is beyond the limits defined by the sixth and seventh constants. A method according to claim 8 or 9, wherein the process is an abrasive waterjet cutting process. A method according to claim 10, wherein the process parameter is pressure within a nozzle in the abrasive waterjet system. A method according to claim 8, 9, 10 or 11, wherein the sampling rate is between about 1 to 10Hz. A method according to any one of claims 8 to 12, further including the step of displaying the error signals to identify which comparison has failed. A method according to any one of claims 8 to 13, further including a step for controlling the process in response to the error signals.

Inventors: MUNOZ JOSE P, ZENG JIYUE, MUNOZ, JOSE P., ZENG, JIYUE
Applicants: INGERSOLL RAND CO, INGERSOLL-RAND COMPANY
Application year: 1997
Main classification: G05B19
IPC codes: G05B19