Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
APPARATUS AND METHOD FOR OPERATING A VALVE USING A CUSHION FILTER
Document Type and Number:
WIPO Patent Application WO/2005/052710
Kind Code:
A1
Abstract:
A method, system, and computer program are provided for operating a valve using a cushion filter. The method, system, and computer program receive a process variable signal associated with operation of a valve. The method, system, and computer program filter the process variable signal to produce a filtered process variable signal using a cushion filter. The cushion filter implements a cushion in a bias used by the cushion filter. The method, system, and computer program generate an output signal for adjusting the valve based at least partially on the filtered process variable signal.

Inventors:
LU JOSEPH Z (US)
Application Number:
PCT/US2004/038928
Publication Date:
June 09, 2005
Filing Date:
November 19, 2004
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HONEYWELL INT INC (US)
LU JOSEPH Z (US)
International Classes:
G05B5/01; G05B6/02; G05D9/12; G05D11/13; (IPC1-7): G05D9/12; G05B6/02
Foreign References:
US4332507A1982-06-01
EP0448920A11991-10-02
Attorney, Agent or Firm:
Hoiriis, David (101 Columbia Road P.O. Box 224, Morristown NJ, US)
Download PDF:
Claims:
WHAT IS CLAIMED IS
1. An apparatus, comprising: an input operable to receive a process variable signal associated with operation of a valve; and a cushion filter operable to filter the process variable signal to produce a filtered pocess variable signal, the cushion filter implementing a cushion in a bias used by the cushion filter, the filtered process variable signal used to generate an output signal for adjusting the valve.
2. The apparatus of Claim 1, wherein the cushion filteis operable to filter the process variable signal by: identifying a bias associated with a sample of the process variable signal, the bias comprising a cushion and an increment; and outputting an expected value for a prior sample of the process variable signal combined with a portion of the bias, the portion of the bias based at least partially on a size of the cushion.
3. The apparatus of Claim 1, wherein the cushion filter is operable to filter the process variable signal by identifying an expected value for a sample of the process variable signal using a model.
4. The apparatus of Claim 3, wherein the model identifies an expected behavior of the process variable signal.
5. The apparatus of Claim 1, wherein the cushion filter is operable to filter the process variable signal by taking into account at least one of noise in the process variable signal and a ramp disturbance in the process variable signal.
6. The apparatus of Claim 5, wherein the process variable signal comprises one of (1) a process variable signal identifying a flow rate of one or more materials exiting a tank and flowing through a pipe, and (2) a process variable signal identifying a level of one or more materials in the tank.
7. The apparatus of Claim 6, wherein: the apparatus comprises two inputs operable to receive both process variable signals; the valve controls the flow of materials into the tank; and the output signal controls the valve such that the level of the one or more materials in the tank remains at least n ear a desired level.
8. The apparatus of Claim 7, wherein: the cushion filter is operable to filter the process variable signal that identifies the level of one or more materials in the tank; and the process variable signal that identifies the level suffers from a ramp disturbance caused by one or more materials entering the tank in unknown quantities.
9. A method, comprising: receiving a process variable signal associated with operation of a valve; filtering the process variable signal to prodce a filtered process variable signal using a cushion filter, the cushion filter implementing a cushion in a bias used by the cushion filter; and generating an output signal for adjusting the valve based at least partially on the filtered process variable signal.
10. The method of Claim 9, wherein filtering the process variable signal comprises: identifying a bias associated with a sample of the process variable signal, the bias comprising a cushion and an increment; and outputting an expected value for a prior sample of the process variable signal combined with a portion of the bias, the portion of the bias based at least partially on a size of the cushion.
11. The method of Claim 9, wherein: filtering the process variable signal comprises identifying an expected value for a sample of the process variable signal using a model; and the model identifies an expected behavior of the process variable signal.
12. The method of Claim 9, wherein filtering the process variable signal at least partially reduces at least one of noise in the process variable signal and a ramp disturbance in the process variable signal.
13. The method of Claim 12, wherein the process variable signal comprises one of (1) a process variable signal identifying a flow rate of one or more materials exiting a tank and flowing through a pipe, and (2) a process variable signal identifying a level of one or more materials in the tank.
14. The method of Claim 13, wherein: receiving the process variable signal comprises receiving both process variable signals; the valve controls the flow of materials into the tank; the output signal controls the valve such that the level of the one or more materials in the tank remains at least near a desired level; and filtering the process variable signal comprises filtering the process variable signal that identifies the level of one or more materials in the tank, the process variable signal that identifies the level suffering from a ramp disturbance caused by one or more materials entering the tank in unknown quantities.
Description:
APPARATUS AND METHOD FOR OPERATING A VALVE USING A CUSHION FILTER TECHNICAL FIELD [001] This disclosure relates generally to process control systems and more specifically to an apparatus and method for operating a valve using a cushion filter.

BACKGROUND [002] Processing facilities are typically managed using process control systems. Among other functions, these control systems often manage the use of valves in the processing facilities. The valves typically control the flow of materials in the facilities. Examp le processing facilities include manufacturing plants, chemical plants, crude oil refineries, and ore processing plants. In these facilities, the valves may control the flow of water, oil, hydrochloric acid, or any other or additional materials.

[003] Conventional process control systems use one or more signals to control the operation of the valves. Typically, the signals used to control valves suffer from noise or other anomalies. Conventional process control systems filter the signals using low-pass filters. The low-pass filters often cannot eliminate much of the noise or other anomalies from the signals without impeding the performance of the process control systems. Allowing the noise or other anomalies to remain in the signals typically causes the process control systems to adjust the valves more than necessary, which may increase wear on the valves and decrease the operational life of the valves.

SUMMARY [004] This disclosure provides an apparatus and method for operating a valve using a cushion filter.

[005] In one aspect, a method, system, and computer program are provided for operating a valve using a cushion filter. The method, system, and computer program receive a process variable signal associated with operation of a valve. The method, system, and computer program filter the process variable signal to produce a filtered process variable signal using a cushion filter. The cushion filter implements a cushion in a bias used by the cushion filter. The method, system, and computer program generate an output signal for adjusting the valve based at least partially on the filtered process variable signal.

[006] In a particular aspect, the cushion filter identifies a bias associated with a sample of the process variable signal.

The bias includes the cushion and an incr ement. The cushion filter also outputs an expected value for a prior sample of the process variable signal combined with a portion of the bias as part of the filtered process variable signal. The portion of the bias is based at least partially on a size of the cushion.

[007] Other technical features may be readily apparent to one skilled in the art from the following figures, descriptions, and claims.

BRIEF DESCRIPTION OF THE DRAWINGS [008] For a more complete understanding of this disclosure, reference is now made to the following description, taken in conjunction with the accompanying drawings, in which: [009] FIGURE 1 illustrates an example systemfor operating a valve using a cushion filter according to one embodiment of this disclosure; [010] FIGURE 2 illustrates an example representation of a feedback loop for operating a generic system using a cushion filter according to one embodiment of this disclosure; [011] FIGURES 3A and 3B illustrate example mechanisms for holding and releasing a cushion in a cushion filter according to one embodiment of this disclosure; [012] FIGURES 4A through 4C illustrate example effects of using a cushion filter according to one embodiment of this disclosure; [013] FIGURE 5 illustrates an example methodfor filtering a signal using a cushion filteraccording to one embodiment of this disclosure; and [014] FIGURE 6 illustrates an example methodfor operating a valve using a cushion filter according to one embodiment of this disclosure.

DETAILED DESCRIPTION [015] FIGURE 1 illustrates an example system 100 for operating a valve using a cushion filter according to one embodiment of this disclosure. The system 100 shown in FIGURE 1 is for illustration only. Other embodiments of the system 100 may be used without departing from the scope of this disclosure.

[016] In the illustrated example, the system 100 includes a tank 102 that stores one or more materials. The tank 102 represents any suitable structure capable of retaining one or more materials. The materials in the tank 102 rise to a level 104, which in this example is approximately half of the tank's height. To identify the level 104 of the material (s) in the tank 102, the tank 102 includes one or more sensors 106. The sensors 106 identify or estimate the level 104 of the materials in the tank 102. The sensors 106 include any s tructure, device, or apparatus for sensing the level 104 of materials in the tank 102.

Because the sensors 102 measure a level 104 of materials in the tank 102, one or more sensors 102 may be referred to as a measuring device.

[017] As shown in FIGURE 1, material flows into the tank 102 from a first pipe 108 and a second pipe 110, and the material exits the tank 102 through a third pipe 112. Each of the pipes 108-112 represents any suitable structure capable of facilitating the transport of one or more materials The pipes 108-112 could, for example, represent steel or plastic pipes or tubes capable of facilitating the transport of oil, water, hydrochloric acid, or any other material or materials.

[018] In this example, the first pipe 108 allows material to enter the tank 102 through a valve 114. The valve 114 controls the rate at which the material or materials flow into the tank 102. The valve 114 may, for example, change an opening in the pipe 108, where a larger valve opening allows more material to flow through the pipe 108. The valve 114 includes any structure capable of controlling the flow of one or more materials through a pipe 108.

[019] In the illustrated example, the system 100 uses a feedback loop, which includes a measuring device 116, a controller 118, and a valve adjuster 120, to control the valve 114. The measuring device 116 monitors one or more characteristics associated with the material (s) flowing through the pipe 112. For example, the measuring device 116 may measure the flow rate of material flow ing through the pipe 112. The measuring device 116 could monitor any other or additional characteristics of material flowing through the pipe 112. The measuring device 116 also outputs a signal 122 to the controller 118, where the signal 122 includes val ues identifying the measurements made by the measuring device 116. The flow rate or other monitored characteristic in the system 100 may be referred to as a process variable, and the signal 122 provided to the controller 118 may be referred to as a proces s variable (PV) signal. The measuring device 116 includes any hardware, software, firmware, or combination thereof capable of measuring at least one characteristic of material flowing through the pipe 112.

[020] The controller 118 controls the opening and cleing of the valve 114 in the system 100. In the illustrated embodiment, the controller 118 controls the valve 114 using the process variable signal 122 provided by the measuring device 116 and a signal 124 output by the sensors 106. As an example, the controller 118 may adjust the valve opening so that the level 104 of material in the tank 102 remains at or near a desired level.

As a particular example, the controller 118 uses the signal 122 to estimate the amount of material exiting the tank 102, and ti controller 118 estimates how to adjust the opening of the valve 114 so that the proper amount of material is replaced in the tank 102. The controller 118 uses the signal 124 to determine if the level 104 is at or near the desired level and to identify w hen material may be entering the tank 102 from the second pipe 110.

The controller 118 also generates an output signal (OP) 126 containing output values, which identify the extent to which the valve 114 should be opened.

[021] In some embodiments, the controller 118 uses a model 128 to predict the behavior of the system 100. The model 128 may, for example, represent expected behaviors of the process variable signals 122,124 and the output signals 126 that correspond to the expected behaviors. When the controller 118 receives actual values in the signals 122,124, the controller 118 consults the model 128 and outputs the corresponding values in the output signal 126. In other embodiments, the controller 118 does not use a model 128 to generate the output signal 126.

The controller 118 includes any hardware, software, firmware, or combination thereof for controlling the operation of the valve 114.

[022] The valve adjuster 120 uses the values in the output signal 126 to adjust the valve opening or allow the valvell4 to remain in its current position. For example, in some embodiments, the output values in the signal 126 identify the relative amount of change that is needed for the valve 114. In these embodiments, positive values could indicate that the valve 114 should be opened more, negative values could indicate that the valve 114 should be closed more, and zero could indicate that no change is needed. In other embodiments, the output values in the signal 126 identify the absolute position of the valve 114.

In these embodiments, a minimum value such as zero could indicate that the valve 114 should be completely closed, a maximum value could indicate that the valve 114 should be completely opened, and a value in between indicates that the valve 114 should be partially opened. The valve adjuster 120 includes any structure capable of opening and/or closing a valve 114.

[023] In this example, the controller 118 attempts to control the operation of the valve 114 so that the material in the tank 102 remains at or near a d esired level 104. However, various anomalies in the system 100 typically affect how the controller 118 operates. For example, the material in the tank 102 may be swelling or rippling, and this or other factors cause noise in the signal 124. As another example, the amount of material sent into the tank 102 from the first pipe 108 and the amount of material exiting the tank 102 through the third pipe 112 may be identified by the controller 118, but the material entering the tank 102 from the second pipe 11 0 may be unknown to the controller 118. This may occur, for example, where the material from the second pipe 110 represents material being recycled from other systems in a processing facility and the amount of material being recycled is unknown at any giv en time. The material entering the tank 102 from the second pipe 110 represents a disturbance to the level 104 in the tank 102 and is referred to as a"ramp disturbance." [024] Noise, ramp disturbances, or other anomalies could affect the way in which the con troller 118 operates. For example, the controller 118 may respond to the noise or ramp disturbances by attempting to adjust the valve 114. Adjusting the valve 114 may or may not be necessary, and unnecessary adjustments may increase wear on the valve 114 and decrease the operational life of the'valve 114.

[025] To help reduce unnecessary adjustments to the valve 114, the controller 118 filters one or more of the signals 122, 124 using one or more cushion filters 130. The signal (s) being filtered may be received by the controller 118 through one or more inputs 132a-132b, each of which represents any suitable structure for receiving a signal. Conventional process control systems filter signals using low-pass filters, and the low-pass filters often cannot elimina te much of the noise or other anomalies from the signals without impeding the controller performance. In general, a cushion filter 130 prevents the controller 118 from adjusting the valve 114 until it becomes more apparent that the valve 114 needs adjusti ng. This helps the controller performance to be largely preserved.

[026] The cushion filter 130 receives an input signal (such as signal 122 or 124) and produces a filtered output signal (which is then used by the controller 118). To filter the input signal, the cushion filter 130 receives actual samples of the input signal and attempts to identify or estimate what the samples would be without any noise, ramp disturbances, or other anomalies in the input signal.

[027] For each sample of the input signal, the cushn filter 130 identifies a difference between the actual sample and the estimate of what the sample would be without any anomalies. This difference is referred to as a"bias."The cushion filter 130 then determines how much of the bias should be included in the filtered output signal. In particular, the cushion filter 130 implements a"cushion"in the bias calculation. In effect, the cushion reduces the amount of the bias that the cushion filter 130 includes in the filtered output signal.

[028] Instead of o utputting the total bias, the cushion filter 130 outputs a"corrected bias"or"bias correction,"which represents the total bias after adjustment using the cushion. As a particular example, for a specific sample of the input signal, the cushion might cause the cushion filter 130 to output ninety percent of the total bias. The cushion is used or held until a consistent signal direction is identified for the input signal.

When a consistent signal direction is identified, the cushion can be"released"or ro longer used in the bias calculation. At that point, the total bias is used and output by the cushion filter 130. Similarly, the cushion may be held if the input signal reverses direction frequently, which allows the cushion to be used to absorb some or all of the noise in the signal.

[029] In some embodiments, the total bias can be expressed using the equation: Bias(i) = Biascorrection(i) + Biascushion(i) (1) where Bias (i) represents the total bias for sample i, BiascOrrection (i) represents the corrected bias for sample i, and Biascushion (i) represents the cushion. This equation can be rewritten as: Biascorrection(i) = bias(i) - biascushion(i). (2) This illustrates that the amount of bias correction included in the filtered output signal actua lly represents the total bias minus the cushion provided by the cushion filter 130. Once a consistent signal direction is obtained, the value of may be reduced or set to zero, which releases the cushion.

[030] In some embodiments, such as when a dynamic model is used in predicting the value of a sample, the bias can be expressed using the equation: Bias(i) = y(i)-(#(i-1)+dypred(i))-dyramp(i) (3) where y (i) represents thei-th sample of the input signal, y (i-1) represents the expectedvalue of the (i-1)-th prediction of y (i), dypred (i) represents a predicted difference between the i-th expected sample and the (i-l)-th expected sample, and dyrp (i) represents a change caused by a ramp disturbance. Values for dypred (i) and dyrp (i) may be identified using the model 128 or assigned a value of zero if no model 128 is used.

[031] Using Equation (3), an estimate of thei-th sample can be expressed using the formula: #(i) = #(i-1)+Biascorrection(i) = #(i-1)+(1-#)*Bias(i) (4) where A represents the filter constant of the cushion filter 130.

In particular embodiments, the value of A resides between zero and one.

[032] Equation (3) shown above for calculating the bias may be rewritten as follows: Bias (i) = {y(i-1)-#(i-1)} + fdy (i)-dypred(i)-dyramp(i)} = {cushion} + {increment} (5) where cushion represents the cushion implemented by the cushion filter 130 and increment represents a mismatch betwee n the expected change and the actual change in the samples of the input signal being filtered. In general, if the input signal follows the model 128 or has low noise, this results in a smaller increment. If the input signal varies from the model 128 or hs more noise, this results in a larger increment. As explained below, the values of the cushion and the increment are used to determine how much of the cushion should be saved and used to further filter the input signal.

[033] Although FIGURE 1 illustrates a example system 100for operating a valve 114 using a cushion filter 130, various changes may be made to FIGURE 1. For example, the controller 118 could control the operation of any number of valves 114. Also, the valve 114 and the valve adjuster 120 aid form a single integral unit. In addition, FIGURE 1 represents one operational environment in which the cushion filter 130 may be used. The cushion filter 130 may be used in any other system to filter any other signal (s).

[034] FIGURE 2 illustrates an example representation 200 of a feedback loop for operating a generic system using a cushion filter according to one embodiment of this disclosure. This representation 200 may be used to represent the system 100 of FIGURE 1 or any other system in which a cushy filter is used to filter a signal. The representation 200 shown in FIGURE 2 is for illustration only. Other representations of a control system may be used without departing from the scope of this disclosure.

[035] In this example embodiment, a controller ! is used to control a system 202. The system 202 represents any suitable system for receiving an input signal 204 and generating an ideal output signal 206 based on the input signal 204. The system 202 could, for example, represent a manufacturing ortcher processing system, a signal processing system, or any other suitable system.

In some embodiments, the controller 218 uses a model 228 to predict the future behavior of the system 202. In other embodiments, no model 228 is used by the controller 218.

[036] Ideally, the controller 218 could use the ideal output signal 206 to control the system 202. In practice, the ideal output signal 206 is often corrupted by noise 208, ramp disturbances 210, or other anomalies, which lead to the production of an actual output signal 212.

[037] As shown in this representation 200, the controller 218 only has access to an output signal 212 that has been altered because of noise 208 or ramp disturbances 210. To facilitate more accurate control over the system 202, the controller 218 includes a cushion filter 230, which filters the actual output signal 212. This helps to reduce or eliminate the effects of noise 208 and other anomalies on the controller 218. In particular embodiments, the cushion filter 230 functions according to Equations (1)- (5) as shown above. The signal 212 is received by the controller 218 through an input 232, and an output signal is communicated through an output 234.

[038] Although FIGURE 2 illustrates one example of a representation 200 of a feedback loop for operating a generic system 202 using a cushion filter 230, various changes may be made to FIGURE 2. For example, the ideal output signal 206 from the system 202 could be altered by only one of the noise 208 and the ramp disturbance 210. Also, FIGURE 2 rep resents one operational environment in which the cushion filter 230 may be used. The cushion filter 230 may be used in any other system to filter any other signal (s). As a particular example, the cushion filter 230 could be used in other locations otheithan a feedback loop.

[039] FIGURES 3A and 3B illustrate example mechanisms for holding and releasing a cushion in a cushion filter according to one embodiment of this disclosure. For ease of explanation, the mechanisms shown in FIGURES 3A and 3B are describedwith respect to the cushion filter 130 of FIGURE 1. The same or similar mechanisms could be used by the cushion filter 230 of FIGURE 2 or any other suitable cushion filter.

[040] As shown in FIGURE 3A, two vectors 302,304 represent two possible bias correction s calculated using Equation (5) above. In particular, the vectors 302,304 are plotted along an ellipse, where two axes represent the cushion and the increment shown in Equation (5). The ellipse reaches a maximum value ofa along the increment axis and a maximum value of b along the cushion axis.

[041] In general, when a vector 302 representing a bias correction is more parallel to the cushion axis, this indicates that the signal being filtered has a more consistent signal direction. In other words, the signa 1 being filtered is more consistent with a model 128 or has a smaller amount of noise. As a signal becomes more consistent and the vector 302 approaches the cushion axis, this indicates that the cushion may be released by the cushion filter 130. In thiscase, there is less variation between the expected and actual values of the signal being filtered, so there is less need for a cushion. The cushion filter 130 therefore may filter the signal using a smaller cushion or no cushion.

[042] When a vector 304 represe nting a bias correction is more parallel to the increment axis, this indicates that the signal being filtered has a lessconsistent signal direction. In other words, the signal being filtered is more inconsistent with the model 128 or has a larger amount of noise. When a signal is inconsistent, the cushion filter 130 holds the cushion and does not release it. In this case, the cushion filter 130 waits to see if the inconsistency is temporary, such as when it is caused by noise.

[043] In either case, the cushion filter 130 may provide all or part of the change in the signal being filtered to the controller 118. The controller 118 may then adjust the opening of the valve 114 consistent with the change received from the cushion filter 130. For example, when dhy part of the change is used, the controller 118 may make a smaller adjustment to the valve 114, rather than a larger adjustment as indicated by the signal being filtered. In this way, the cushion filter 130 may wait and see if inconsistent values in a s ignal being filtered are temporary (and therefore do not require valve adjustment).

[044] In particular embodiments, the cushion filter 130 uses directional weighting to provide part of a change in a signal being filtered to the controller 118. For example, arector 302, 304 represents a vector starting at the origin of the axes to a point (x, y) in space. Using elliptical weighting as shown in FIGURE 3A, the weight of the vector may be determined using the formulas: Weight = (x2+y2)0.5 (6) x = a*sin (OJ (7) y = a *cos (B) (8) 0 = tan-z (Cushion/Increment). (9) Equation (6) may be simplified and expressed as: Weight = [(a2*I2+b2*C2)/(I2+C2)]0.5 (10) where I represents the increment and C represents the cushion.

[045] The weight of the vector can be incorporated into the calculation of the bias by modifying Equation (3) as follows : Bias(i) = {y(i)-(#(i-1)+dypred(i))-dyramp(i)}/weight (11) where weight represents the weight of the vector identified using Equation (10). In this example, unexpected changes to a signal being filtered result in a larger weight, which reduces the value of Bias (i) and hence the value of Biascorrection(i). Using Equation (1), a smaller bias correction leads to the use of a large r cushion. Similarly, expected changes to a signal being filtered result in a smaller weight, increasing the value of Bias and hence the value of Biascorrection (i) and resulting in the use of a smaller cushion.

[046] As shown in FIGURE 3B, the cushion filt er 130 could also use a diamond weighting to adjust the bias correction. In this example, the weight of a vector 352,354 may be calculated using the formula: Weight = (a*|I|+b*|Cs C|)- (12) This weight may then be used in Equation (11).

[047] The cushion filter 130 that operates using the above equations may provide better noise attenuation than low-pass filters. In the system 100 of FIGURE 1, better performance by the cushion filter 130 may result in fewer adjustments to the valve 114, which may help to prolong the operating life of the valve 114. Also, the cushion filter 130 could support one or both of elliptical and diamond weighting, and it can be easily tuned by selecting values for a and b. As particular examples, the cushion filter 130 could be tuned by selecting a value of a typically between three and ten and a value of b typically between 0.75 and one. Moreover, the cushion may be generated by the cushion filter 130 using a single sample of the signal being filtered. In addition, the cushion filter 130 is very flexible, can be used in many different types of applications, and is often simple to implement.

[048] Although FIGURES 3A and 3B illustrate two examples of mechanisms for holding and releasing a cushion in a cushion filter, various changes may be made to FIGURES 3A and 3B. For example, any suitable mechanisms may be used to weight the vectors.

[049] FIGURES 4A through 4C illustrate example effects of using a cushion filter 130 according to one embodiment of this disclosure. For ease of explan ation, the effects shown in FIGURES 4A through 4C are described with respect to the cushion filter 130 of FIGURE 1. The same or similar effects could be seen using the cushion filter 230 of FIGURE 2 or any other suitable cushion filter.

[050] FIGURE 4A illustra tes a comparison between the filtering performed by a low-pass filter and the filtering performed by the cushion filter 130. In particular, FIGURE 4A illustrates an input signal 402 to be filtered. In this example, the input signal 402 does not maintain a consistent signal direction. Instead, the input signal 402 represents normal random noise that varies widely from one extreme to the other.

FIGURE 4A also illustrates a low-pass filtered input signal 404 and a cushion-filtered input signal 406. The low-pass filtered input signal 404 represents the input signal 402 after being filtered by a low-pass filter, and the cushion-filtered input signal 406 represents the input signal 402 after being filtered by the cushion filter 130. In this example, the low-pass filtered input signal 404 still varies by quite a large amount, while the cushion-filtered input signal 406 varies much less.

[051] The cushion-filtered input signal 406 still tracks the general behavior of the original input signal 402. For example, when the input signal 402 generally becomes higher, the cushion filtered input signal 406 also becomes higher. Similarly, when the input signal 402 generally becomes lower, the cushion- filtered input signal 406 also becomes lower. However, the cushion-filtered input signal 406 has fewer peaks and valleys than the original input signal 402 and the low-pass filtered input signal 404.

[052] If the original signal 402 represents a process variable signal 122,124 used by the controller 118 of FIGURE 1, the use of a low-pass filter to filter the input signal 402 may still result in unnecessary adjustments to the valve 114. This is because the low-pass filtered input signal 404 still varies widely. In contrast, the cushion-filtered input signal 406 does not vary as much, so use of the cushionfiltered input signal 406 may result in fewer adjustments to the valve 114.

[053] Actual use of the cushion filter 130 in a valve controller 118 is illustrated in FIGURES 4B and 4C. In FIGURE 4B, a process variable signal 452 is plotte d against the corresponding output signal 454 generated by the controller 118, where the controller 118 uses a low-pass filter. As shown in FIGURE 4B, the process variable signal 452 varies widely, having among other things been corrupted by noise and/or ramp disturbances. Based on this process variable signal 452, the controller 118 adjusts the valve 114 quite often as seen by the output signal 454.

[054] In contrast, FIGURE 4C illustrates a process variable signal 482 that is plotted against the corresponding output signal 484, where the controller 118 uses a cushion filter 130.

As shown in FIGURE 4C, the process variable signal 482 still varies widely, but the controller 118 adjusts the valve 114 less than in FIGURE 4B. This indicates that the valve 114 tra vels less when the cushion filter 130 is used in place of a low-pass filter. In this particular example, the valve travel is reduced by a factor of three. Reducing valve travel helps to improve flow through the pipe 108 and extend the life of the valve 114.

[055] Although FIGURES 4A through 4C illustrate examples of the effects of using a cushion filter 130, various changes may be made to FIGURES 4A through 4C. For example, the various plots shown in FIGURES 4A through 4C represent specific examples of the use and non-use of a cushion filter 130. These plots are for illustration. Other cushion filters could function in any other suitable manner.

[056] FIGURE 5 illustrates an example method 500 for filtering a signal using a cushion filter according to one embodiment of this disclosure. For ease of illustration and explanation, the method 500 is described with respect to the cushion filter 130 operating in the system 100 of FIGURE 1. The method 500 could be used by any suitable cushion filter in any suitable system.

[057] The cushion filter 130 receives an actual sample of a signal being filtered at step 502. This may include, for example, the cushion filter 130 receiving a sample of a process variable signal 122,124 or any other signal being filtered. The cushion filter 130 determines an estimated or expected value for that sample at step 504. This may include, for example, the cushion filter 130 using a model 128 to estimate the value of the sample. If no model 128 is available, this may include the cushion filter 130 using the previous sample of the signal being filtered (if any) as the estimate.

[058] The cushion filter 130 identifies a difference or bias associated with the sample at step 506. This may include, for example, the cushion filter 130 identifying the bia s by identifying a cushion and an increment using Equation (5) above.

[059] The cushion filter 130 determines a weight associated with the bias at step 508. This may include, for example, the cushion filter 130 using elliptical, diamond, or other weighting mechanism to determine a weight associated with the bias.

[060] The cushion filter 130 identifies the amount of bias to be included in an output signal using the identified weight at step 510. This may include, for example, the cushion filter 130 dividing the identified bias by the weight to produce a modified bias as shown in Equation (11).

[061] The cushion filter 130 outputs a value corresponding to the sample at step 512. This may include, for example, the cushion filter 130 outputting the estimated value of the sample combined with a small part of the bias (if the weight is large) or a large part of the bias (if the weight is small).

[062] If additional samples will be received, the cushion filter 130 then returns to step 502 to receive and process a new sample. Otherwise, the cushion filter 130 has completed the filtering of the signal, and the method 500 ends.

[063] In particular embodiments, during the first pass through the method 500, the cushion filter 130 may not have an estimate of a prior sample to use while calculating the bias at step 506. Because no estimate of a prior sample is available, the cushion filter 130 may assume that there is no cushion at step 506. This procedure may be referred to as initialization.

After that, the cushion filter 130 may identify both a cushion and an increment at step 506, and the cushion filter 130 performs normally after that. In this way, the cushion filter 130 lags behind the signal being filtered by a single sample, and the cushion is generated by the cushion filter 130 using a single sample.

[064] Although FIGURE 5 illustrates one example of a method 500 for filtering a signal, various changes may be made to FIGURE 5. For example, the cushion filter 130 could estimate the value of a sample before receiving the actual sample.

[065] FIGURE 6 illustrates an example method 600 for operating a valve using a cushion filter according to one embodiment of this disclosure. For ease of illustration and explanation, the method 600 is described with respect to the controller 118 in system 100 of FIGURE 1. The method 600 could be used by any suitable controller in any suitable system to control one or more valves.

[066] The controller 118 receives one or more process variable signals at step 602'. This may include, for example, the controller 118 receiving a process variable signal 122 identifying a flow rate of materials through a pipe. This may also include the controller 118 receiving a process variable signal 124 identifying the level of material in a tank 102.

[067] The controller 118 filters the one or more process variable signals using at least one cushion filter 130 at step 604. This may include, for example, the cushion filter 130 using the method 500 shown in FIGURE 5 to filter one or more of the process variable signals 122,124.

[068] The controller 118 determines how to adjust a valve 114 using the one or more filtered process variable signals at step 606. This may include, for example, the controller 118 consulting a model 128 and identifying the values in the model 128 that correspond to thefiltered process variable signals 122, 124.

[069] The controller 118 outputs values indicating how the valve 114 should be adjusted at step 608. This may include, for example, the controller 118 outputting an output signal 126 to a valve adjuster 120. The output signal 126 contains one or more output values used by the valve adjuster 120 to adjust the valve 114.

[070] Although FIGURE 6 illustrates one example of a method 600 for operating a valve using a cushion filter, various changes may be made to FIGURE 6. For example, the method 600 may represent a repetitive process, where the controller 118 repeatedly performs the steps in the method 600.

[071] It may be advantageous to set forth definitions of certain words and phrases used throughout this patent document.

The terms"include"and"comprise,"as well as derivatives thereof, mean inclusion without limitation. The term"or"is inclusive, meaning and/or. The phrases"associated with"and "associated therewith, "as well as derivatives thereof, may mean to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, or the like. The term"controller"mans any device, system or part thereof that controls at least one operation. A controller may be implemented in hardware, firmware, software, or some combination of at least two of the same. The functionality associated with any particular controller may be centralized or distributed, whether locally or remotely.

[072] While this disclosure has described certain embodiments and generally associated methods, alterations and permutations of these embodiments and methods will be apparent to those skilled in the art. Accordingly, the above description of example embodiments does not define or constrain this disclosure. Other changes, substitutions, and alterations are also possible without departing from the spirit and scope of this disclosure, as defined by the following claims.