CONTROL METHOD AND APPARATUS WITH BIASED SET POINT

Abstract: A process controller may incorporate statistical computations of the variance in the controlled variable. Statistical measures may then be used to offset the controller set point to maintain the controlled variable distribution in an acceptable specification zone. The statistical measures may be made automatically and continuously thereby obviating human intervention, while producing high quality, though statistically variable, process output. The statistical measures may be calculated specifically or generated by a weighted integration method.

Description: The present invention relates to a process control apparatus and method for set point control, and in particular to feedback control apparatus and method employing a numerically calculated set point. Industrial process controllers are commonly tuned to control an output to meet a particular output specification. Where the features of the system function ideally, setting the control to the ideal specification then produces the specified output with no variation. Material handling systems do not work ideally for numerous reasons, and as a result there is frequently a statistical distribution in the output from the system. Where there is no functional difference between the high side and the low side results of the statistical distribution, setting the control to meet the center of the statistical distribution is a correct choice. Functional differences may exist between the high and low sides of the distribution. One side of the distribution is then acceptable, while the other is not. For example, a chemical reaction may occur on the high side of the distribution that produces a pollutant thereby spoiling the output, or the material or energy investment may exceed what is necessary thereby wasting resources. In the cases where an important difference exists in the output distribution, the process needs to be controlled so the distribution is on the preferred side of the specification and then to be within a measure of closeness to the specification. Where the distribution is known and has a fixed value, a simple solution is to tune the process to a level offset from the specification by an amount sufficient to locate the distribution center in the preferred zone, but close enough to the specification so the amount of output falling in the unacceptable zone is tolerable. Unfortunately, an output distribution is generally not known, and is likely to change in time. Further, the feature important to control may not be the center of the distribution, which may not be symmetric, but the amount of product, or the existence of any product occurring in the unacceptable zone. Prior art document US-A-3 515 860 discloses an apparatus for automatically controlling a continuous material forming process with a controller whose set point is periodically changed or updated in response to a feedback signal from an automatic statistical variance computer, so that when the process variance decreases the controller set point value approaches a selected limiting value and when the variance increases the set point value recedes from the limiting value. During the time interval required to carry out an actual variance computation, an auxiliary computer maintains a continually updated running estimate of the next variance value to be expected. When the computed estimate exceeds the previous variance value by a predetermined amount, an alarm is sounded and the set point value is automatically retracted from the limiting value. Further, prior art document US-A-3 648 035 describes a system and method for maximizing the profit of a tobacco manufacturing process by computing a measure of the process spread, which can be calculated either in response to standard deviation or fraction defective. In response to the calculation of process spread, the average weight of cigarettes manufactured is controlled to maximize profit so that average weight is minimized and variable percentage of the cigarettes weigh less than a limit value. Finally, prior art document US-A-3 876 872 describes a continuous material production process which is regulated by a controller whose set point is automatically optimized according to statistical computations based on inputs of measured fraction defective and fraction defective set point values. These values are each converted to a linear deviation quantity based on an estimate of standard deviation computed from defect level, process average and measured fraction defective. The deviation quantities and the difference therebetween are computed repeatedly, and the difference values are accumulated to provide integral control of the set point for the process controller. It is an object of the present invention to provide an apparatus and method for set point control wherein excursions in the controlled variable are kept on an acceptable side of specification limit which may be approached as closely as observed variation allows. To solve this object the present invention provides an apparatus and method as specified in claims 1 and 5, respectively. Biasing the set point of a controller to the preferred side of a specification limit in relation to the standard deviation of variation in the controlled variable keeps most of the excursions in the controlled variable on the acceptable side of specification limit. The specification limit may then be approached as closely as observed variation allows. The controlled process may then be maximized for profit or quality by keeping the controlled variable close to the specification limit, but without exceeding the limit. This invention can be more fully understood from the following detailed description when taken in conjunction with the accompanying drawings, in which: FIG. 1 shows a schematic diagram of a statistical control process. FIG. 2 shows a schematic diagram of a preferred control process. FIG. 1 shows a schematic diagram of a control process employing a statistical control process. A specification limit 30 is received defining the preferred output condition. The specification limit 30 is then augmented or diminished by a bias amount 40 in a summation block 50 depending on whether errors in the process output are preferred on the high side or low side of the specification limit 30. The specification limit 30 offset by the bias amount 40 is then the set point 60 for a controller 70. The controller 70 affects a process 80 having a measured feature called a measured variable 90. The goal of the controller 70 is to bring the process 80 to a state where the measured variable equals the set point 60, or in the present case, where the distribution of the measured variable 90 values is offset on the preferred side of the specification limit 30. The set point 60 and measured variable 90 are used to produce a control signal affecting the controller. Commonly, the difference between the set point 60 and the measured variable 90 is computed in a difference block 100 as an error signal 110 used as the control signal. The error signal 110 is supplied to the controller 70 to direct the direction and size of the controller's response in affecting the process 80 and correspondingly the measured variable 90. The process 80 is sensed to produce the measured variable 90 which is returned to the difference block 100 to generate the error signal 110. Applicant additionally supplies the measured variable 90 to a bias calculating block 120. The bias calculating block 120 calculates a statistical measure of the distribution in the measured variable 90, for example, the standard deviation. The statistical measure is then appropriately scaled to produce the bias amount 40. Numerous statistical measures may be made. The standard deviation is a familiar measure. To compute the standard deviation of the measured variable 90, an average value of the measured variable 90 is computed for a sample period. The length of the sample period is determined by the user in accordance with the nature of the process 80, the sampling rate of the measured variable 90, and the level of confidence sought. Where the specification limit 30 has a fixed value, and the process 80 is slow moving in comparison to the sampling rate, good statistics may generally be taken under all conditions. Where the distribution is changing, the statistic needs to be normalized by the distribution trend, and compensated for the delay in the process 80. The average sample value of the measured variable 90 may be computed as a running average of a number of sample values. A number n s is selected by the user which is the number of samples to be averaged. The number n s times the sample rate t r gives an effective sample period, which exceeds the closed loop period of the measured signal, and is set to correspond to the capacity of the process 80. The sample average, s ave , may be computed in several ways. A running average may be computed by summing the n s most recent sample values s i and dividing the sum by the sample count n s . With each additional sample, the oldest sample value S (i-ns-1) is removed, while the newest sample value s i is included in the sum. The sum is divided by the sample count n s . Alternatively, a weighted time series sum may be computed, for example, s ave = Σs i e -t i /τ , where all sample values s i are included but given less weight as the sample ages. The time t i is the age of the sample s i . The factor τ is a time constant similar to the sample count n s selected by the user to correspond to the process 80, sampling rate and other process 80 features. The weighted time series is conveniently computed as a percentage of the previous weighted average plus the remaining percentage times the current sample value, s ave = (x %) (s old ) + (100 - x %)(s i ). Alternatively a block average may be computed where n s samples are taken, and averaged as a block. The next n s values are used as a block for the next average calculation. Also a running average is usual. The average value, s ave , is subtracted from the current sample value, s i , and the result squared, (s i - s ave )². The squared value is then averaged over a number of samples. Again the average of the squared values may be computed in the several ways listed. Averaging the sum of the squares in the same fashion as the sample average is convenient. Again a running average is usual. The square root of the result is the standard deviation. The standard deviation is then scaled according to the degree of quality assurance required in measured variable 90. For a normal distribution and an offset of one standard deviation, only 15.87 percent of the measured variable 90 samples should be in the unacceptable zone, for an offset of two standard deviations only 2.28 percent of the output should be in the unacceptable zone, and for three standard deviations, only 0.14 percent. To enhance the uniformity of the distribution in the measured variable 90 a subgrouping procedure may be performed. A subgroup of n s samples, four or more, may be averaged as a group to form a subgroup sample value sg j . The statistical analysis is performed on the subgroup sample values sg j . Thus, the standard deviation calculated is for the subgroup values sg j which may then be converted to the standard deviation of the individual samples s i by multiplying by the square root of the number of samples in the subgroup. The statistically calculated bias operates with the assumption that the set point is at the mean of the distribution. If the process is nonlinear, distribution of the controlled variable tends to be skewed leading to a statistically inaccurate result. Compensation may be applied to the set point 60 and measurement variable 90 signals to linearize the signals, and as a result, to linearize the error signal 110 and the response of the controller. The distribution in the measured variable 90 is then forced to become more uniform. However, the mean of measured variable 90 distribution curve may no longer coincide with the set point 60 of the controller 70. Setting the bias 40 as function of the standard deviation is then not completely accurate, and fails according to the degree of skewness in the measured variable 90. A method and apparatus uses an integrator to position the set point so no more than a selected percentage of the integrated area between the measured variable and the specification limit lies on the unacceptable side of the specification limit. An integrator gain is weighted so a higher gain is applied when the measurement is on the unacceptable side of the specification limit than when the measurement is on the acceptable side of the specification. The gains are weighted in portion to the ratio of the desired integrated areas. FIG. 2 shows a schematic diagragm of a preferred controlled area biasing control process. A specification limit 210 is received by an integrator block 220. Broadly, the integrator block 220 responds to the difference between the specification limit 210 and a measurment signal 230. As the difference increases, the response of the integrator block 220 increases. The integrator block 220 also responds to the duration of the difference. As the duration of the difference increases, the response of the integrator block also increases. The integrator block 220 also responds to a gain factor. A separate gain block may be used, operating with the measurement signal 230, and providing a gain signal to the integrator block 220. The gain generating process is preferably included in the integrator block 220. The gain producing means in a simple and preferred form examines the measurement signal 230 for one of two conditions. Where the measurement signal 230 is on the preferred side of the measurement distribution, the gain signal is low. Where the measurement signal 230 is on the unacceptable side of the specification limit 210 the gain signal is high. Preferrably, the product of the low gain and the portion of the output sought to be on the preferred side of the specification limit equals the product of the high gain and the portion of the output allowed in the unacceptable side of the distribution. For example, where 97 percent of the distribution is sought to be in the acceptable region, and 3 percent is allowed in the unacceptable region, the low gain signal times 97 should equal 3 times the high gain signal. Conceptually the preferred integrator block 220 integrates the area between the specification and measurement amounts, and weights the result so the area on the unacceptable side appears large. The preferred integrator block 220 integrates the difference between the specification limit 210 and the measurement signal 230 according to a two state (high low) gain function. The integrator block 220 then outputs a set point signal 240. The set point signal 240 may optionally be linearized in a set point function block 250 to produce a linearized set point signal 260. The set point signal 240, or linearized set point signal 260, as the case may be, is combined in a difference block 270 with the measurement signal 230 to produce an error signal 280. The error signal 280 is supplied to a controller 290 operating on a process 300 having a measured feature to produce the measured signal 230. The measured signal 230 may optionally be linearized in a measurement function block 310 to produce a linearized measurement signal 320. In most instances, where the set point 240 is linearized in a function block 250, the measurement signal 230 is linearized correspondingly so the two signals combined in the difference block 270 are comparable. While there have been shown and described what is at present considered to be the preferred embodiment of the invention, it will be apparent to those skilled in the art that various changes and modifications can be made herein without departing from the scope of the invention defined by the appended claims. For example, numerous combinations and formulations of statistical measures are possible. Different statistical moments, cubic or higher orders, may be made, or corresponding roots of higher order moments may be made. Different distributions in the measured variable other than a normal distribution may be used or assumed. The calculation and signal processes may be performed by digital or analog equipment, or may be implemented directly in hardware.

Claims: Process control apparatus for set point control, offset in a preferred control direction, of a process (300) having at least one specification limit (210), comprising: a. means for determining a measured process signal (230); b. a process controller (290) responsive to an error signal (280) to produce a control signal (120) for controlling the process (300) and c. a difference block (270) adapted to produce the error signal (280) from a first input signal (260) including a set point signal (240) component and a second input signal (320) obtained from said measured process signal (230), d. means for adjusting differences in the specification limit and the measured process signal to produce said first input signal (260); and e. means (220, 250, 310) for offsetting the error signal in the preferred control direction to produce the process control signal, characterized in that said offsetting means (220, 250, 310) includes an integrator (220) which integrates the difference between the specification limit (210) and the measured process signal (230) according to a high-low-state gain function. Process control apparatus as in claim 1, wherein said integrator (220) offsets the set point signal from the specification limit (210) such that over a time average, the portion of the measured process signal (230) on a preferred side of the specification limit (210) at least equals a desired portion of the total measured process signal. Process control apparatus as in claim 2, wherein the integrator (220) includes a two-state gain function having a first gain factor when the measured process signal is on a preferred side of the specification limit (210) and having a second gain factor when the measured process signal is on the unpreferred side of the specification limit (210). Process control apparatus as in claim 3, wherein the first and second gain factors are in proportion to the size of the measured process signal (230) desired on the preferred size of the specification limit to the size of the measured process signal desired on the unpreferred side of the specification limit. Process control apparatus as in claim 2, wherein said offsetting means includes first and second function blocks (250, 310), said first function block (250) being adapted to provide a linearized set point signal (260) as said first input signal to the difference block (270), and the second function block (310) being adapted to provide a linearized measured process signal (320) as the second input signal to said difference block (270). A method for set point bias control of a process (300) with a process controller (290) receiving indirectly a set point signal (240) to operate on the process (300) producing a measured process signal (230) comprising the steps of: (a) receiving a specification limit (210); (b) integrating the difference between the specification limit and the measured process signal to form an integration result (240), using a two-state gain function with a first gain applied when the measured process signal is on a preferred side of the specification limit, and a second gain applied when the measured process signal is not on the preferred side of the specification limit, (c) generating an error signal (280) from the set point signal (240), the specification limit (210), and the measured process signal (230), (d) controlling the process according to the error signal (120); and (e) measuring a process feature to produce the measured process signal (230). The method of claim 6 wherein the second gain is greater than the first gain. The method of claim 7 wherein the second gain is greater than the first gain in a ratio of the desired amount the measured process signal (230) is on the preferred side of the specification limit (210) to the amount of the measured amount on the unpreferred side of the specification limit (210).

Inventors: SHINSKEY FRANCIS G, SHINSKEY, FRANCIS, G.
Applicants: FOXBORO CO, THE FOXBORO COMPANY
Application year: 1988
Main classification: G05B13
IPC codes: G05B13, G05B21