Method and apparatus for analyzing process characteristics

Abstract: Methods and apparatus for determining characteristics of a process -- such as primary and second time constants, dead-time, and gain -- apply a doublet pulse to the process and measure its response. By way of example, in one aspect there is provided a method for generating a signal, τ₁, representing an estimate of a primary time constant of a non-self-regulating process, in accord with the mathematical expression τ₁ (δmτ a ²)/A⁺; where A⁺ is a factor representing the time-wise integration of the controlled variable during the period when the doublet pulse is being applied.

Description: This application is related to the following applications, assigned to the assignee hereof and filed the same day herewith, and which claim priority from United States Patent Application No. 889474 entitled METHOD AND APPARATUS FOR TUNING PROCESS CONTROL EQUIPMENT, and United States Patent Application No. 889473 entitled IMPROVED METHOD AND APPARATUS FOR ADAPTIVE DEAD TIME PROCESS CONTROL. The teachings of the above-cited applications are incorporated herein by reference. Background of the Invention The invention relates to process control and, more particularly, to systems for analyzing processes to determine characteristics such as dead time, primary and secondary time constants and static gain. Process control refers to a methodology for controlling the operational parameters of a process by monitoring one or more of its characteristics over time. It is used to ensure that the quality and efficiency of a process do not vary substantially during a single run or over the course of several runs. While process control is typically employed in the manufacturing sector, it also has application in service industries. A process control unit, or "controller," typically operates by comparing values of a process characteristic -- referred to as the controlled variable -- with a target value to determine whether the process is operating within acceptable bounds. For example, in a process in which fluid flows at a constant rate from a tank that is continuously filled to constant volume, a controller monitors the liquid level and, if necessary to prevent the tank from running dry or overflowing, adjusts an inlet valve to increase or restrict inflow to the tank. In order to function properly, a controller must be adjusted to accommodate charcteristics of the specific process it will control. This requires identifying process parameters such as the primary time constant (which reflects the rate at which the process responds to changes in input), gain (which reflects the magnitude of response), and so forth. Prior art techniques for identifying those parameters involve applying a single step to the process, monitoring the process response and, from that calculating the requisite process parameters. For example, in a text previously authored by him, the inventor hereof suggests the following procedure for determining process dead time: 1. Place the process controller in manual mode and apply a single step to the process. 2. Monitor the resultant change in output of the process. 3. Graphically, or otherwise, determine the point of intersection between (a) the line defining process output prior to application of the step pulse, and (b) the tangent of maximum slope of the process response curve. The point of intersection identified in step 3 is taken as the dead time. This and related techniques for determining process characteristics by monitoring response to a single step are generally quite effective. Nevertheless, an object of this invention is to provide more accurate methods and apparatus for analyzing process characteristics. More particularly, an object of this invention is to provide a method and apparatus for determining process characteristics such as primary and secondary time constants, dead time, and steady state gain, among others, as effectively and accurately as possible. The present invention is defined by independent method claims 1 and 7, and by independent apparatus claims 13 and 20. Summary of the Invention The invention achieves the aforementioned objects by providing methods for determining characteristics of a process by applying a doublet pulse to the process and by measuring its response. Those characteristics include primary and second time constants, dead time, and gain. The invention is applicable, for example, in determining characteristics of a process that is to be placed under the control of a process controller. Moreover, the analysis can be carried out by, or in connection with, the controller itself, as adapted in accord with the teachings herein. The doublet pulse can be applied to the process by the manipulated variable signal output of the controller in accord with the following steps: (i) incrementing the manipulated variable a predetermined amount, δm; (ii) monitoring the controlled variable to determine the time period, τ a , for it to change from its original value by an amount, NB; (iii) once the controlled variable has changed by that amount, decrementing the manipulated variable stepwise by an amount -2 x δm; (iv) after another time interval τ a , incrementing the manipulated variable an amount δm to bring it to its original value. Aspects of the invention pertain to methods for determining characteristics of non-self-regulating processes, i.e., those which have no natural equilibrium or steady state. A simple example of such process is shown in Figure 1a. There, a metering pump 10 removes a constant flow of fluid from a tank 12, while inflow to the tank is controlled by valve 14. If the inflow varies from the outflow, then the tank will eventually overfill or run dry. In one aspect, the invention provides a method for generating a signal, τ 1 , representing an estimate of a primary time constant of a non-self-regulating process. The primary time constant of a non-self regulating process is the time it takes for the output (the controlled variable) to change an amount equal to the step change in its input (the manipulated variable). According to this aspect of the invention, that signal is generated in accord with the mathematical expression τ 1 = (δmτ a 2 )/A + where A + is a factor representing the time-wise integration of the controlled variable during the period when the doublet pulse is being applied. For a first-order non-self-regulating process - that is, a process that can be modeled by a first-order differential equation -- the invention provides a method for generating a signal, τ d , representing a dead time of the process. The dead time is the time it takes a change in the process input (i.e., the manipulated variable signal) to be reflected by a change in the controlled variable signal. For example, referring to Figure 1a if the flow of fluid delivered from the tank is to be delivered at a specific temperature, based on heat delivered by a heater 16 and measured at the pump 10, then the dead time is the time it takes a change in temperature of the fluid to be detected at a temperature sensor. According to this aspect of the invention, the dead time signal τ d is generated in accord with the mathematical expression τ d = τ a - (NBτ 1 /δm) For a non-self-regulating process of the second-order, the invention provides a method for generating the signal τ d by the following steps: (i) generating a signal, t 1 , representing a first time interval as a function of the mathematical expression t 1 = NB * τ 1 / δm (ii) generating a signal, t 2 , representing a second time interval having, initially, a value substantially equal to that of the first time interval, t 1 ; (iii) iteratively regenerating the signal, t 2 , until its value no longer changes significantly between iterations; wherein, such regeneration is in accord with the mathematical expression t 2 = t 1 + τ 2 * (1-e -t 2 /τ 2 ); where τ 2 is a secondary time constant of the process as determined in accord with other aspects of the invention, as described below; and (iv) estimating the dead time τ d as a function of the mathematical expression τ d = τ a - t 2 where t 2 is a final value of that interval, as determined in step (iii), above. Other aspects of the invention pertain to methods for determining characteristics of self-regulating processes, i.e., those which have a natural tendency to return to a natural equilibrium or steady state. According to one aspect, the invention provides a method for generating a signal, τ 1 , estimating the primary time constant of a self-regulating process. This is based on evaluation of the mathematical expression τ 1 = -τ a /ln(1 - OVS) where OVS is a ratio between first and second peak values of the controlled variable during application of the doublet pulse. Another aspect provides a method for generating a signal, K p , representing a steady-state gain of a first-order self-regulating process, as a function of the mathematical expression K p = δc 1 /(δm * OVS) where δc 1 represents a difference between the original value of the controlled variable and its first peak value during application of the doublet pulse. Still other aspects of the invention provide apparatus operating in accord with the above methodology. These and other aspects of the invention will become evident from the following description which is given by way of example only with reference to the attached drawings, in which: Figure 1a depicts an exemplary process of the type amenable to analysis in a method according to the invention; Figure 1b illustrates the process of Figure 1a coupled to an apparatus according to the invention for determining the characteristics of that process; Figure 2 depicts a preferred structure of an apparatus for determining process characteristics constructed in accord with the invention; Figure 3 depicts a preferred method for determining process characteristics in accord with the invention; and Figures 4 - 6 depict doublet pulses and their effect on first-order non-self-regulating, second-order non-self-regulating, and first-order self-regulating processes. Detailed Description of the Illustrated Embodiment Figure 1b depicts an exemplary process of the type amenable to analysis by an apparatus constructed and operated in accord with the invention. As above, a metering pump 10' is designed to deliver a constant flow of fluid 11' from tank 12'. Inflow to the tank is controlled at valve 14'. A process controller 18 monitors the level of fluid in the tank 12' and controls the inflow at valve 14'. More particularly, the controller monitors a controlled variable signal, c, representing the level of fluid in the tank. The controller generates a manipulated variable signal, m, that governs the degree of flow through the valve 14'. The illustrated process is exemplary only and represents any process amenable to analysis in accord with the teachings herein. Moreover, the manipulated and control variable signals, m and c, respectively, can be generated in a conventional manner appropriate to the process under analysis. Figure 2 depicts an apparatus 20 for determining process characteristics constructed in accord with the invention. The apparatus includes a controlled variable signal monitor 22, an element 24 for generating the manipulated variable signal, an element 26 for generating a doublet pulse, and elements 28, 30, 32, 34 for estimating time constants τ 1 , τ 2 , τ d , and K p , respectively. The elements 22 - 34 are interconnected and operated in the manner described below. The monitor 22 monitors, or samples, values of the controlled variable c at intervals δt in a conventional manner, e.g., under control of a timer or clock. Preferably, the sampled values are stored in an array; alternatively, they can be stored in a file, in registers, or in other like manner. The doublet pulse generating element 26 generates a manipulated variable signal in the form of a doublet pulse. Particularly, as illustrated in Figure 4, the element 26 increments the manipulated variable signal, m, a predetermined amount, δm. The element 26 notes changes in the controlled variable signal, c, resulting from the incrementing of manipulated variable signal, to determine the time period, τ a , before the controlled variable signal changes from its original value by a predetermined noise band amount, NB. Once the controlled variable has changed by that amount, the element 26 decrements the manipulated variable stepwise by an amount -2 x δm. After another time interval τ a , the element 26 increments the manipulated variable an amount δm to bring it to its original value. Those skilled in the art will appreciate that illustrated apparatus 20, including elements 22 - 24 therein, can be implemented based on the teachings herein in special purpose hardware. Preferably, those elements are implemented in software for execution, e.g., on a general purpose microprocessor. In this regard, it will be appreciated that such implementation can be attained using conventional programming techniques as particularly adapted in accord with the teachings herein to provide the disclosed structure, signaling and functionality. The process characteristics determined, e.g., by such an apparatus 20, in accord with the teachings herein can be used in connection with the methods and apparatus disclosed in the above-cited related patent applications. Referring to Figure 3, an apparatus 20 according to the invention analysis proceeds according to the type and order of the process being analyzed, to wit, whether the process is self-regulating or non-self-regulating process and whether it is first-order or second-order. A determination as to type and order can be determined automatically in the manner discussed below. Referring, to Figure 4 there is shown the effect of the doublet pulse on a 1st-order non-self-regulating process. As illustrated, the first pulse of the manipulated variable, m, drives the controlled variable c at a rate: dc/dt = δm/τ 1 where τ 1 is the integrating time constant of the process. The change in the signal c in response to the initial pulse can be represented as follows: δc = δm(τ a )/τ 1 where τ a is the width of the pulse. The downward pulse of the manipulated variable signal drives the controlled variable signal c back to its original value in the same way, producing an integrated deviation A + . The element 30 generates a signal, A + , representing the integrated deviation in accord with the mathematical relation: A + = δm(τ a 2 )/τ 1 From that signal, A + , the element 30 generates a signal, τ 1 , representative of an estimate of the primary time constant of the process. Particularly, it generates the signal, τ 1 , in accord with the mathematical relation: τ 1 = δm(τ a 2 )/A + Based on that result, the element 28 generates a signal, τ d , representing an estimate of the dead time. That signal is determined by subtracting τ a from the time required for c to reach the noise band, NB, as expressed by the following mathematical relation: τ d = τ a - (NB * τ 1 /δm) The apparatus 20 can determine whether a non-self-regulating process is of the first or second order by comparing the time interval τ a with the factor A + /δc. If those values are equal -- that is, A + /δc = τ a -- then the process is deemed to be of the first order; otherwise, it is deemed to be of the second order. Figure 5 depicts the effect of application of a doublet pulse to a 2nd-order non-self-regulating process. At the outset, it is noted that the area under the curve A + is not affected by the secondary lag. However, the secondary time constant of the process reduces the peak height δc. By monitoring that peak height, element 32 can generate a signal τ 2 representative of the secondary time constant according to the mathematical relation: τ 2 = A + /δc - τ a The time required for the controlled variable signal c to reach the noise-band limit, NB, is a complex function of both time constants τ 1 and τ 2 . The dead time element 28 generates the signal τ d approximating that dead time by executing the following steps: i) computing a first time interval t 1 as a function of the mathematical expression t 1 = NB * τ 1 / δm ii) initializing a second time interval t 2 to have a value substantially equal to that of the first time interval, t 1 , iii) iteratively determining the second time interval t 2 in accord with the mathematical expression t 2 = t 1 + τ 2 * (1-e -t 2 /τ 2 ) until a difference between successive iterative values of the second time interval t 2 are within a predetermined range, and where τ 2 is a secondary time constant of the non-self-regulating process, iv) estimating the dead time τ d as a function of the expression τ d = τ a - t 2 where t 2 is a final value resulting from step (iii). Figure 6 illustrates the effect of application of a doublet pulse to a 1st-order self-regulating process. In this instance, the controlled variable overshoots its original value, resulting in an area A + which is compensated by an equal and opposite area A - . Illustrated peak, δc 1 , is an exponential function of time (pulse duration), as expressed by the following mathematical relation: δc 1 = K p δm (1 - e -τ a /τ 1 ) where K p is the process steady-state gain. The height of the second peak, δc 2 , can be expressed by the mathematical relation: δc 2 = - K p δm(1 - e -τ a /τ 1 ) 2 The overshoot is the ratio of the first and second peaks, δc 1 and δc 2 , expressed as follows OVS = - δc 2 /δc 1 = 1 - e -τ a /τ 1 Accordingly, for a self-regulating process, the primary time constant estimator 30 generates the signal τ 1 , representative of an estimate of the primary time constant in accord with the mathematical relationship: τ 1 = - τ a /ln(1 - OVS) The static gain estimation element, 34, generates a signal K p , representing an estimate of the process's gain, in accord with the mathematical relation: K p = δc 1 /(δm*OVS) The time required for the controlled variable signal, c, to reach the noise band, NB, is an exponential function of K p and τ 1 . The dead time estimator 28 generates a signal τ d representative of the process dead time in accord with the expression τ d = τ a + τ 1 ln(1 - NB/K p δm) If the self-regulating process under analysis is of the second order, the secondary lag rounds the peaks and shifts them to the right. It also reduces the areas A + and A - (although maintaining their equality). Accordingly, for a second order self-regulating process, parameters K p , τ 1 , and τ 2 cannot be determined directly, but must be estimated by approximation. To begin, Equation (11) approximates the sum of τ 1 and τ 2 : Στ = - τ a /ln(1 - OVS) Although, the accuracy of this decreases as τ 1 approaches τ 2 . The ratio A + /δc 1 is quite sensitive to the ratio of τ 2 /τ 1 . Consequently, the ratio is first calculated as if the process were first-order. To wit, the apparatus 20 determines the ratio in accord with the relation: (A + /δc 1 ) 1 = [τ a - Στ * ln (1 + OVS)]/OVS Using the result of that determination, a difference ratio signal δA is generated in accord with the relation: δA = (A + /δc 1 ) - (A + /δc 1 ) 1 The estimated ratio R = Στ/τ a is a function of the overshoot, OVS. The apparatus 20 determines a ratio signal R in accord with the expression R = -1/ ln(1 - OVS) If R is greater than or equal to four, then the apparatus generates two correction factors CF 1 and CF 2 in accord with the mathematical relation CF 1 = 1 + δA * (0.78 * ln(R) - 1.06) CF 2 = 4 * δA * R -1.5 If R is less than four, then the apparatus performs the following steps to set the correction factor signals: 1) generate a signal, δA max , as a function of the mathematical expression δA max = 0.051 * e (0.82 * R) 2) if R less than or equal to two, generate a coefficient signal b having a value 0.5; otherwise, generate a coefficient signal, b, as a function of the mathematical expression b = 0.4 + 0.38 * δA max 3) if δA is greater than or equal to δA max , reset the correction factors signals CF 1 and CF 2 to values equal to the coefficient signal b; 4) otherwise, if δA is less than δA max , generate the correction factors signals as functions of the mathematical expressions CF 1 = b + ( 1 - b ) * 1 -δ A /δ A max CF 2 = b * ( 1- 1 -δ A /δ A max ) From this, the primary time constant estimator 30 generates a signal τ 1 representative of the primary time constant of the second-order self-regulating process as follows: τ 1 = CF 1 * Στ The second time constant estimator 32 generates the signal τ 2 in accord with Eq. 22, below. The steady state element 34, then generates the signal K p , estimating the steady-state gain in accord with the expression K p = (δc 1 /(δm*OVS)) * e 1.3*δA Further, the element 28 generates the dead time signal τ d for 2nd-order non-self-regulating processes by executing the following steps: i) estimating whether the secondary time constant τ 2 is substantially equal to the primary time constant τ 1 and, if so, generating a time interval t 2 as a function of the mathematical expression t 2 = 1.65 * τ 1 * NB / K p * δ m ii) estimating whether said secondary time constant τ 2 is less than the primary time constant τ 1 and, if so, determining the second time interval t 2 iteratively in accord with the expression t 2 = -τ 1 * ln{[τ 2 * e- t 2 /τ 2 + (τ 1 - τ 2 ) * (1-NB/ K p * δm )]/τ 1 } iii) estimating the dead time, τ d , as a function of the mathematical expression τ d = τ a - t 2 As noted above, the second time constant estimator 32 generates the signal τ 2 in accord with the mathematical relation: τ 2 = CF 2 *Στ Summary The foregoing describes methods and apparatus for determining characteristics of a process, such as primary and second time constants, dead-time, and gain, by applying a doublet pulse and measuring the process response. These methods and apparatus provide the simplicity, accuracy and effectiveness demanded by the art. Those skilled in the art will appreciate that the illustrated embodiment is exemplary, and that other embodiments incorporating additions and modifications to that described above are feasible.

Claims: A method for determining a time constant of a non-self-regulating process by the application thereto of a manipulated variable signal (m) in order to vary a first characteristic of said process, whereby, in response to said application, said process generates a controlled variable signal (c) representative of said first characteristic, wherein said method comprises the steps of: A) applying said manipulated variable signal (m) to said process in the form of a doublet pulse by: i) incrementing said manipulated variable signal (m) substantially instantaneously, from an original value thereof, by a predetermined amount δm, thereby causing said controlled variable signal (c) to change from an original value, ii) monitoring said controlled variable signal (c) to determine a time period τa, after said incrementing of said manipulated variable (m), during which the controlled variable signal (c) changes from its said original value by a predetermined amount NB, iii) responding to such determination by decrementing said manipulated variable signal (m) substantially instantaneously by an amount substantially equal to 2 x δm, and iv) incrementing, after another time interval τa, said manipulated variable signal (m) substantially instantaneously to its said original value; and B) determining said time constant of said process as a function of a time-wise change in a value of said controlled variable signal (c) during said application of said doublet pulse. A method according to claim 1, wherein said determining step includes the steps of A. integrating a value of said controlled variable signal (c) as a function of time during application of said doublet pulse to produce a value A + , and B. estimating a primary time constant, τ 1 , of said process as a function of the mathematical expression τ 1 = (δmτ a 2 )/A + . A method according to claim 2, including the step of estimating a dead time, τ d , of at least a selected non-self-regulating process as a function of the mathematical expression τ d = τ a - (NBτ 1 /δm) and optionally including the step of selecting a first-order non-self-regulating process to be one for which such dead time, τ d , is to be estimated as a function of the mathematical expression τ d = τ a - (NBτ 1 /δm), or optionally including the steps of A. determining a difference, δc, between the original value of the controlled variable signal (c) and a value of that signal at a peak amplitude thereof during application of said doublet pulse, B. identifying as a first-order non-self-regulating process one for which the time period, τ a , is substantially equal to A + /δc. A method according to claim 2, including the steps of A. determining a difference, δc, between the original value of the controlled variable signal (c) and a value of that signal at a peak amplitude thereof during application of said doublet pulse, B. of estimating a secondary time constant, τ 2 , of at least a selected non-self-regulating process as a function of the mathematical expression τ 2 = A + /δc - τ a and optionally including the step of selecting a second-order non-self-regulating process to be one for which such secondary time constant, τ 2 , is to be estimated as a function of the mathematical expression τ 2 = A + /δc - τ a the method optionally further including the step of identifying as a second-order non-self-regulating process one for which the time period. τ a , is not substantially equal to A + /δc. A method according to claim 2, including the step of estimating the dead time, τ d , of at least a selected non-self-regulating process by: A. computing a first time interval t 1 as a function of the mathematical expression t 1 = NB * τ 1 / δm B. initializing a second time interval t 2 to have a value substantially equal to that of the first time interval, t 1 , C. interatively determining said second time interval t 2 in accord with the mathematical expression t 2 = t 1 + τ 2 * (1-e -t 2 /τ 2 ) until a difference between successive iterative values of said second time interval t 2 are within a predetermined range, and where τ 2 is a secondary time constant of said selected non-self-regulating process, D. estimating such dead time τ d as a function of the expression τ d = τ a - t 2 where t 2 is a final value resulting from said iteratively calculating step. A method according to claim 5, including the step of selecting a second-order non-self-regulating process to be one for which such dead time, τ d , is to be estimated as a function of the mathematical expression τ d = τ a - t 2 and for example the method may further include the steps of A. determining a difference, δc, between the original value of the controlled variable signal (c) and a value of that signal at a peak amplitude thereof during application of said doublet pulse, B. identifying as a second-order non-self-regulating process one for which the time period, τ a , is not substantially equal to A + /δc. A method for determining a second characteristic of a self-regulating process by the application thereto of a manipulated variable signal (m) in order to vary a first characteristic of said process, whereby, in response to said application, said process generates a controlled variable signal (c) representative of said first characteristic, wherein said method comprises the steps of: A) applying said manipulated variable signal (m) to said process in the form of a doublet pulse by: i) incrementing said manipulated variable signal (m) substantially instantaneously, from an original value thereof, by a predetermined amount δm, thereby causing said controlled variable signal (c) to change from an original value, ii) monitoring said controlled variable signal (c) to determine a time period τa, after said incrementing of said manipulated variable (m), during which the controlled variable signal (c) changes from its said original value by a predetermined amount NB, iii) responding to such determination by decrementing said manipulated variable signal (m) substantially instantaneously by an amount substantially equal to 2 x δm, and iv) incrementing, after another time interval τa, said manipulated variable signal (m) substantially instantaneously to its said original value; and B) determining said second characteristic of said process as a function of a time-wise change in a value of said controlled variable signal (c) during said application of said doublet pulse. A method according to claim 7, wherein said determining step includes the steps of A. identifying a first peak value, δc 1 , representing a difference between the original value of the controlled variable signal (c) and a value of that signal at a first peak amplitude thereof during application of said doublet pulse, B. identifying a second peak value, δc 2 , representing a difference between the original value of the controlled variable signal (c) and the value of that signal at a second, subsequent peak amplitude thereof during application of said doublet pulse, C. determining an overshoot ratio, OVS, of said process as a function of the mathematical expression OVS = -δc 2 /δc 1 . A method according to claim 8, wherein said determining step includes the step of estimating a primary time constant, τ 1 , of at least a selected self-regulating process as a function of the mathematical expression τ 1 = -τ a /ln(1 - OVS), or said determining step includes the step of estimating a steady-state gain, K p , of at least a selected self-regulating process as a function of the mathematical expression K p = δc 1 /(δm * OVS), or said determining step includes the steps of A. estimating a steady state gain, K p , of at least a selected self-regulating process as a function of the mathematical expression K p = δc 1 /(δm * OVS) B. estimating a dead time, τ d , of that process as a function of the mathematical expression τ d = τ a + τ 1 * ln(1 - NB/K p * δm)) , the selected self-regulating process in each case for example being a first-order self-regulating process. A method according to claim 8, wherein said determining step includes the step of executing the following operations for at least a selected self-regulating process, which for instance is a second-order-self-regulating process: A. estimating a total time lag, Στ, as a function of the mathematical expression Στ = -τ a /ln(1 - OVS) B. integrating a value of said controlled variable signal as a function of time, during a period when that variable signal exceeds its original value and during application of said doublet pulse, to produce a value A + , C. computing a first ratio, (A + /δc 1 ) 1 , as a function of the mathematical expression (A + /δc 1 ) 1 = [τ a - (Στ * ln(1 + OVS))]/OVS D. computing a difference between ratios, δA, as a function of the mathematical expression δA = (A + /δc 1 ) - (A + /δc 1 ) 1 E. computing a second ratio, R, as a function of the mathematical expression R = -1/ln(1-OVS) F. responding to a value of R greater than or equal to 4 for generating correction factors CF 1 and CF 2 as functions of the mathematical expressions CF 1 = 1 + δA * (0.78 * ln(R) - 1.06) CF 2 = 4 * δA * R -1.5 G. responding to a value of R less than 4 for i) determining a maximum estimate of δA, namely δA max , as a function of the mathematical expression δA max = 0.051 * e (0.82 * R) ii) responding to a value of R less than or equal to 2 for defining a coefficient b to a value of 0.5, and responding to a value of R greater than 2 for defining said coefficient, b, as a function of the mathematical expression, otherwise giving b the value b = 0.4 + 0.38 * δA max iii) responding to a value of δA being greater than or equal to δA max for generating correction factors CF 1 and CF 2 as equal to coefficient b, and for otherwise estimating these correction factors as a function of the mathematical expression CF 1 = b + (1 - b) * 1 -δ A /δ A max CF 2 = b * (1- 1 -δ A /δ A max ) H. estimating said primary time constant τ 1 according to the mathematical expression τ 1 = CF 1 * Στ. A method according to claim 8, wherein said determining step includes the step of executing the following operations for at least a selected self-regulating process, which for instance is a second-order self-regulating process: A. generating a summation signal, Στ, as a function of the mathematical expression Στ = -τ a /ln(1 - OVS) B. integrating a value of said controlled variable signal as a function of time, during a period when that variable signal exceeds its original value, during application of said doublet pulse to produce a value A + , C. computing a first ratio, (A + /δc 1 ) 1 , as a function of the mathematical expression (A + /δc 1 ) 1 = [τ a - (Στ * ln(1 + OVS))]/OVS D. computing a difference δA of ratios as a function of the mathematical expression δA = - (A + /δc 1 ) - (A + /δc 1 ) 1 E. computing said steady-state gain K p as a function of the mathematical expression K p = (δc 1 /(δm * OVS)) * e 1.3 * δA A method according to claim 10, wherein said executing step includes the step of estimating a secondary time constant, τ 2 , as a function of the mathematical expression τ 2 = CF 2 * Στ, and for example , the method further includes the step of estimating a dead time, τ d , of at least a self-regulating process, for example a second-order self-regulating process, having a secondary time constant τ 2 , said estimating step comprising the steps of: A. estimating whether said secondary time constant τ 2 is substantially equal to said primary time constant τ 1 , and responding to such estimation for determining a value for a time interval t 2 as a function of the mathematical expression t 2 = 1.65 * τ 1 * NB / K p * δ m B. estimating whether said secondary time constant τ 2 is not substantially equal to said primary time constant τ 1 for determining a value for said time interval t 2 iteratively, until it no longer changes significantly, as a function of the mathematical expression t 2 = -τ 1 * ln{[τ 2 * e -t 2 /τ 2 + (τ 1 - τ 2 ) * (1-NB/ Kp * δm )]/τ 1 } C. estimating a dead time, τ d , as a function of the mathematical expression τ d = τ a - t 2 An apparatus for determining a second characteristic of a process by the application thereto of a manipulated variable signal (m) in order to vary a first characteristic of said process, whereby, in response to said application, said process generates a controlled variable signal (c) representative of said first characteristic, said apparatus comprising: A) pulse means (26) arranged to generate said manipulated variable signal (m) in the form of a doublet pulse and apply said doublet pulse to said process, B) monitoring means (22) responsive to said controlled variable signal (c) for monitoring said controlled variable signal (c), and C) analysis means (28,30,32,34) coupled to said monitoring means (22) for determining said second characteristic of said process as a function of a time-wise change in said controlled variable (c) during application of said doublet pulse. An apparatus (20) according to claim 13, wherein said pulse means includes A. means (26) for incrementing said manipulated variable signal (m) from an original value thereof a predetermined amount, δm, to cause said controlled variable signal (c) to change from an original value thereof, B. means coupled to said monitoring means for determining a time period, τ a , after such incrementing that the controlled variable signal (c) changes from its original value by a predetermined amount, NB, C. means (26) for decrementing said manipulated variable signal (m), after said time period τ a , stepwise an amount substantially equal to, -2 x δm, and for incrementing, after another time interval, τ a , said manipulated variable signal (m) substantially to said original value. An apparatus (20) according to claim 13, wherein said analysis means includes A. means for integrating a value of said controlled variable signal as a function of time during application of said doublet pulse to determine a value A + , and for generating a signal representative thereof, and B. primary time constant means (30) for generating a signal representative of a primary time constant, τ 1 , of said process in accord with the mathematical expression τ 1 = (δmτ a 2 )/A + , the apparatus, for example , including means (28) for generating a signal representative of a dead time, τ d , of at least a selected process, wherein that signal is generated in accord with the mathematical expression τ d = τ a - (NBτ 1 /δm), and optionally further including means (28) for selecting a first-order non-self-regulating process to be one for which such dead time, τ d , is to be estimated in accord with the mathematical expression τ d = τ a - (NBτ 1 /δm) An apparatus (20) according to claim 15, including A. means for determining a difference, δc, between the original value of the controlled variable signal (c) and a value of that signal at a peak amplitude thereof during application of said doublet pulse, B. means for determining whether the time period, τ a , is substantially equal to factor A + /δc, C. means responsive to an affirmative such determination for identifying the corresponding process as being of the first order. An apparatus (20) according to claim 15, including A. means for generating a signal, δc, representative of a difference between the original value of the controlled variable signal (c) and a value of that signal at a peak amplitude thereof during application of said doublet pulse, B. secondary time constant means (32) for generating a signal representative of a secondary time constant, τ 2 , of at least a selected non-self-regulating process, said signal being generated in accord with the mathematical expression τ 2 = A + /δc - τ a , the apparatus, for example, further including means for selecting a second-order non-self-regulating process to be one for which such secondary time constant, τ 2 , is to be estimated in accord with the mathematical expression τ 2 = A + /δc - τ a , and optionally further including means identifying as a second-order non-self-regulating process one for which the time period, τ a , is not substantially equal to A + /δc. An apparatus (20) according to claim 15, including dead time means (28) for generating a signal representative of a dead time, τ d , of at least a selected process, said dead time means including: A. means for generating a signal representative of a first time interval t 1 in accord with the mathematical expression t 1 = NB * τ 1 / δm B. means for generating a signal representative of a second time interval t 2 to have a value substantially equal to that of the first time interval, t 1 , C. means for iteratively regenerating the signal representative of said second time interval t 2 in accord with the mathematical expression t 2 = t 1 + τ 2 * (1-e -t 2 /τ 2 ) until a difference between successive iterative values of said second time interval t 2 are within a predetermined range, and where τ 2 is a secondary time constant of said selected non-self-regulating process, D. means for generating a signal representative of such dead time τ d in accord with the expression τ d = τ a - t 2 where t 2 is a final value resulting from said iteratively calculating step. An apparatus (20) according to claim 18, wherein said secondary time constant means includes means for selecting a second-order non-self-regulating process to be one for which such dead time, τ d , is to be estimated in accord with the mathematical expression τ d = τ a - t 2 and, for example, said secondary time constant means includes A. means for generating a signal, δc, representative of a difference between the original value of the controlled variable signal (c) and a value of that signal at a peak amplitude thereof during application of said doublet pulse, B. means identifying as a second-order non-self-regulating process one for which the time period, τ a , is not substantially equal to A + /δc. An apparatus for determining a second characteristic of a self-regulating process by the application thereto of a manipulated variable signal (m) in order to vary a first characteristic of said process, whereby, in response to said application, said process generates a controlled variable signal (c) representative of said first characteristic, said apparatus comprising: A) pulse means (26) arranged to generate said manipulated variable signal (m) in the form of a doublet pulse and apply said doublet pulse to said process, B) monitoring means (22) responsive to said controlled variable signal (c) for monitoring said controlled variable signal (c), and C) analysis means (28,30,32,34) coupled to said monitoring means (22) for determining said second characteristic of said process as a function of a time-wise change in said controlled variable (c) during application of said doublet pulse. An apparatus (20) according to claim 20, wherein said pulse means (26) includes A. means for incrementing said manipulated variable signal (m) from an original value thereof a predetermined amount, δm, to cause said controlled variable signal (c) to change from an original value thereof, B. means coupled to said monitoring means for determining a time period, τ a , after such incrementing that the controlled variable signal (c) changes from its original value by a predetermined amount, NB, C. means for decrementing said manipulated variable signal (m), after said time period τ a , stepwise an amount substantially equal to, -2 x δm, and for incrementing, after another time interval, τ a , said manipulated variable signal (m) substantially to said original value. An apparatus (20) according to claim 20, wherein said analysis means (28,30,32,34) includes A. identifying a first peak value, δc 1 , representing a difference between the original value of the controlled variable signal (c) and a value of that signal at a first peak amplitude thereof during application of said doublet pulse, B. identifying a second peak value, δc 2 , representing a difference between the original value of the controlled variable signal (c) and the value of that signal at a second, subsequent peak amplitude thereof during application of said doublet pulse, C. determining an overshoot ratio, OVS, of said process in accord with the mathematical expression OVS = -δc 2 /δc 1 , and optionally said analysis means includes primary time constant means (30) for generating a signal representative of an estimate of a primary time constant τ 1 , of at least a selected self-regulating process, for instance a first-order self-regulating process, said signal being generated in accord with the mathematical expression τ 1 = -τ a /ln(1 - OVS), and still further said analysis means may include steady-state gain means (34) for generating a signal, K p , representative of a steady-state gain of at least a selected self-regulating process, for example a first-order self-regulating process, said signal being generated in accord with the mathematical expression K p = δc 1 /(δm * OVS). An apparatus (20) according to claim 22, wherein said analysis means includes A. steady state gain means (34) for generating a signal, K p , representative of a steady state gain of at least a selected self-regulating process such as a first order self-regulating process, said signal being generated in accord with the mathematical expression K p = δc 1 /(δm * OVS) B. dead time means (28) for generating a signal, τ d , representative of a dead time of that process, said signal being generated in accord with the mathematical expression τ d = τ a + τ 1 * ln(1 - NB/(K p * δm)) An apparatus (20) according to claim 22, wherein said analysis means (28,30,32,34) includes means for executing the following operations for at least a selected self-regulating process, which for example is a second-order self-regulating process: A. generating a signal, Στ, representative of a total time leg in accord with the mathematical expression Στ = -τ a /ln(1 - OVS) B. generating a signal, A + , representative of an integration of a value of said controlled variable signal (c) as a function of time, during a period when that variable signal exceeds its original value and during application of said doublet pulse, C. generating a signal, (A + /δc 1 ) 1 , in accord with the mathematical expression (A + /δc 1 ) 1 = [τ a - (Στ * ln(1 + OVS))]/OVS D. generating a signal, δA, in accord with the mathematical expression δA = (A + /δc 1 ) - (A + /δc 1 ) 1 E. generating a signal, R, in accord with the mathematical expression R = -1/ln(1-OVS) F. responding to a value of R greater than or equal to 4 for generating correction factor signals CF 1 and CF 2 in accord the mathematical expressions CF 1 = 1 + δA * (0.78 * ln (R) - 1.06) CF 2 = 4 * δA * R -1.5 G. responding to a value of R less than 4 for i) generating a signal, δA max , in accord with the mathematical expression δA max = 0.051 * e (0.82 * R) ii) responding to a value of R less than or equal to 2 for generating a coefficient signal, b, to having a value of 0.5, and responding to a value of R greater than 2 for generating said coefficient signal, b, in accord with the mathematical expression b = 0.4 + 0.38 * δA max iii) responding to a value of δA being greater than or equal to δA max for generating correction factor signals CF 1 and CF 2 as equal to said coefficient signal b, and for responding to a value of δA being less δA max for generating these correction factor signals in accord with the mathematical expression CF 1 = b + (1 - b) * 1 -δ A /δ A max CF 2 = b * (1- 1 -δ A /δ A max ) H. generating a primary time constant τ 1 in accord with the mathematical expression τ 1 = CF 1 * Στ. An apparatus (20) according to claim 22, wherein said analysis means (28,30,32,34) includes means for executing the following operations for at least a selected self-regulating process, such as a second-order self-regulating process: A. generating a summation signal, Στ, in accord with the mathematical expression Στ = -τ a /ln(1 - OVS) B. generating a signal A + representative of an integration of a value of said controlled variable signal (c) as a function of time, during a period when that variable signal exceeds its original value, during application of said doublet pulse to produce a value A + , C. generating a first ratio signal, (A + /δc 1 ), in accord with the mathematical expression (A + /δc 1 ) 1 = [τ a - (Στ * ln(1 + OVS))]/OVS D. generating a difference of ratios signal δA in accord with the mathematical expression δA= (A + /δc 1 ) - (A + /δc 1 ) 1 E. generating a steady-state gain signal K p in accord with the mathematical expression K p = (δc 1 /(δm * OVS)) * e 1.3 * δA, the apparatus optionally including means (32) for estimating a secondary time constant, τ 2 , in accord with the mathematical expression τ 2 = CF 2 * Στ, and the apparatus for example comprising means (28) for generating a dead time signal, τ d , of at least a self-regulating process, e.g. a second-order self-regulating process, having a secondary time constant τ 2 , by executing the following operations. I. estimating whether said secondary time constant τ 2 is substantially equal to or greater than said primary time constant τ 1 , and responding to such estimation for determining a value for a time interval t 2 in accord with the mathematical expression t 2 = 1.65 * τ 1 * NB/ K p * δm II. estimating whether said secondary time constant τ 2 is not substantially equal to or greater than said primary time constant τ 1 for determining a value for said time interval t 2 iteratively, until it no longer changes significantly, in accord with the mathematical expression t 2 = -τ 1 * ln{[τ 2 * e -t 2 /τ 2 + (τ 1 - τ 2 ) * (1-NB/ Kp * δm )]/τ 1 } III. generating said dead time signal, τ d , in accord with the mathematical expression τ d = τ a - t 2

Inventors: SHINSKEY FRANCIS G, SHINSKEY, FRANCIS G.
Applicants: FOXBORO CO, THE FOXBORO COMPANY
Application year: 1993
Main classification: G05B23
IPC codes: G05B23