Control of two stage valves

Abstract: A method and apparatus for controlling a two-stage valve (10) using a closed-loop control system, the system including a variable gain element (54), the method involving continually performing the steps of estimating the flow gain of the pilot stage (12) of the valve; comparing the estimated flow gain with a reference flow gain; and in response to said comparison step, adjusting the gain of the variable gain element (54) to maintain a substantially constant closed-loop gain.

Description: The present invention relates to a method and apparatus for controlling a two-stage valve. It is known that when two-stage valves are controlled by traditional techniques the dynamic response of the main stage spool is dependent on the pressure supplied to the pilot stage. This undesirable dependency arises because the flow gain of the pilot stage is approximately proportional to the pilot pressure. One prior solution to this problem is to introduce a pressure regulator between the pilot and main stage valves to maintain a constant pilot stage supply pressure irrespective of the pressure in the rest of the hydraulic system. It is an object of the present invention to provide a control system for a two-stage valve which is capable of controlling the valve in such a manner that its dynamic response is independent of the pressure supplied to the pilot stage thereof, while avoiding the use of a dedicated pressure regulator, as described in relation to the prior art. Accordingly, in a first aspect, the present invention provides a method for controlling a two-stage valve using a closed-loop control system, the system including a variable gain element, the method involving continually performing the steps of estimating the flow gain of the pilot stage of the valve; comparing the estimated flow gain with a reference flow gain; and in response to said comparison step, adjusting the gain of the variable gain element to maintain a substantially constant closed-loop gain. Preferably, the estimation of the flow gain of the pilot stage of the valve includes the measurement of the positions of the main and pilot spools. Conveniently, a recursive least squares algorithm, using said measured spool positions as input signals, is used to calculate the estimated flow gain. Preferably, said input signals are prefiltered in order to remove offset errors and high frequency noise. In a second aspect, the present invention provides apparatus for controlling a two-stage valve, having a pilot stage and a main stage, the apparatus including a variable gain element; means for estimating the flow gain of the pilot stage of the valve; comparison means for comparing the estimated flow gain with a reference flow gain; and adjustment means responsive to the comparison means for adjusting the gain of the variable gain element to nullify the effects of variations in pilot stage supply pressure on the flow gain of the pilot stage. The comparison means and the adjustment means may be embodied in a reference means forming part of a microprocessor controller for the valve as hereinafter described. Preferably, the means for estimating the flow gain is responsive to the positions of the main and pilot stage spool positions. Conveniently, the means for estimating the flow gain is in the form of an estimator, preferably a recursive least squares estimator. The variable gain element may suitably be non-linear. In the context of the present invention, the term 'estimate' should be construed widely so as to encompass not only instances wherein the estimate is generally equal to the quantity being estimated, but also instances wherein the estimate is merely 'related to' or in some way 'dependent on' the quantity being estimated. Exemplary embodiments of the invention are hereinafter described with reference to the accompanying drawings, in which: Figure 1 shows, partly in section a conventional two-stage valve; Figure 2 shows a block diagram of a control system in accordance with the present invention; Figure 3 shows the gain characteristic of the variable non-linear gain element of Figure 2; Figure 4 shows graphically an example of the variation of the non-linear gain element control parameters plotted against estimated gain; and Figure 5 presents a comparison of the step responses of the prior art and the present invention. Referring to Figure 1, this shows a conventional two-stage valve 10 comprising a pilot stage 12 and a main stage 14. Control flow Q is supplied to the main stage 14 from the pilot stage through one or other of the pilot service ports A,B and associated drillings A' and B' in the main stage. As is conventional in the art, a solenoid 7 is operable to control the position of the spool in the pilot stage and linear variable differential transformers 8,9 are operable to provide measures x,y of the position of the spool in the pilot and main stages 12,14, respectively. Referring to Figure 2, a closed loop digital control system 50 in accordance with the present invention for controlling the dynamic response of the two-stage valve 10 comprises two nested feedback loops, an inner loop 15 responsive to measured and desired pilot stage spool positions x,xd, respectively, and an outer loop 18 responsive to measured and desired main stage spool positions y,yd, respectively. The inner loop 15 comprises a differencing device 40, responsive to the measured and desired pilot stage spool positions x,xd, and operable to calculate a pilot stage error signal εp which equals xd-x; a controller 41, responsive to the pilot stage error signal εp, and operable to control appropriately the position of the pilot stage spool; and a feedback path 42 operable to feed back the measured pilot stage spool position signal x to the differencing device 40. The outer loop 18 comprises a differencing device 45, which is responsive to the measured and desired main spool position signals y,yd, respectively, and operable to calculate a main stage error signal εm which equals yd-y; and variable non-linear gain element 54, responsive to the main stage error signal εm, and operable to provide an input signal xd to the inner loop 15. The outer loop 18 further includes the inner loop 15 and the two stage-valve 10 in its forward path, and a feedback path 52 operable to feed back the measured main stage spool position signal y . In addition, an estimator 60, responsive to the measured main and pilot spool position signals x,y, calculates an estimate K and f of the flow gain K f . Preferably, and as shown, prefilter means 58 is operable to prefilter the spool position signals, x, y to produce the spool position signals x f , y f , respectively. The function of the prefilter means 58 is to eliminate offset errors and to attenuate any high frequency noise in x and y . The digital low pass filters in the prefilter means 58 may be of the infinite impulse response variety and have the general form:- x f x ( z )= (1- Z -1 )( b 0 + b 1 Z -1 + b 2 Z -2 ) ( a 0 + a 1 Z -1 + a 2 Z -2 ) y f y ( z )= (1- Z -1 )( b o + b 1 Z -1 + b 2 Z -2 ) ( a 0 + a 1 Z -1 + a 2 Z -2 ) the coefficient a o -a 2 and b o -b 2 being selected in both cases according to well-known design techniques to provide a suitable cut-off frequency. As always, the selection of the cut-off frequency is an engineering compromise between the desire to attenuate unwanted noise and providing sufficient bandwidth for the filter to follow higher frequency variations in x and y . Z is the normal forward shift operator and Z -1 the backward shift operator. Thus it will be appreciated that the provision of the term (1-Z -1 ) in the numerator of filter transfer functions given above effects the removal of the offset errors by 'backward differencing' the input to the filters. The estimator 60, referred to above, is of the recursive least squares type. This may have the form of K f (k) = K f (k-1) + S ( k -1) x ( k ) β + S ( k -1) [ x ( k )] 2 [ y f (k)-y f (k-1)- K f (k)x(k) ] S(k) = S ( k -1) β - [ S ( k -1)] 2 [ x ( k )] 2 β 2 + β S ( k -1) [ x ( k )] 2 where in accordance with established convention (k) and (k-1) denote the k th and (k-1) th sample, respectively. The variable S is the "covariance gain", and the parameter β is the "forgetting factor" which determines how fast the estimator responds to changes in the pilot pressure. Parameter β is selected usually on an empirical basis depending on what use the invention is being put. It will be appreciated that the estimator thus compares the velocity of the pilot spool with the acceleration of the main spool. In other embodiments, a simpler estimator may be employed. For example: K f = y x In this equation K and f is the estimated flow gain, and x and y are the pilot and main spool positions, respectively. The two main problems associated with this form of estimator are : (a) Offset errors in the pilot spool position measurement give rise to an estimated gain of zero. (b) When the pilot spool measurement is zero, the flow gain estimate goes to infinity. The characteristic gain function of the non-linear variable gain element 54 is shown in Figure 3, as pilot stage desired spool position versus main stage error signal εm. A reference means 62, which forms part of an overall microprocessor controller for the valve 10, is responsive to the estimated pilot stage flow gain K and f and operable to configure or adjust the variable non-linear gain element 54 to the appropriate gain characteristic. It will be noted that, in this preferred embodiment of the invention, the characteristic gain function is defined by 4 selectable parameters, x max a limit, k o the intercept, k 1 a high gain, and k 2 a low gain, whereby the overall characteristic of the variable non-linear gain element 54 may be suitably adjusted to compensate for the dependence of the pilot stage flow gain K f spool position x on the pilot stage supply pressure P s . In setting up a given system, the relationship between the estimated flow gain and the pilot stage supply pressure is derived empirically by manually tuning the variable non-linear gain element 54 at various values of pilot stage supply pressure P, and storing the resulting flow gain and gain element control parameters in the reference means 62, the resulting flow gain and non-linear gain element control parameters thereby constituting reference data. An example set of results for such a procedure is shown graphically in Figure 4. In operation, the main stage error εm is scaled by non-linear gain element 54 such that the overall closed loop gain of the system remains constant. As the pilot supply pressure varies, the gain characteristic of the non-linear gain element 54 is adjusted by the reference means 62, which is responsive to the estimated pilot stage gain K and f , and operable to use the previously derived reference data to reconfigure or adjust the gain characteristic of the variable non-linear gain element 54 to eliminate substantially the effect of said variation and thereby achieve an improved dynamic response. Thus the reference means 62 acts not only as the source of reference flow gains but also as the comparator to compare estimated flow gain with a reference flow gain, and the adjustment means by which the variable gain element 54 is reconfigured as a result of the comparison. An example of the improved step response of the two stage valve controlled in accordance with the present invention is shown in Figure 5. The step command signal is referenced A and the corresponding response of a system in accordance with the present invention at various pressures 200, 140, 100, 70 and 30 bar is generally referenced B. The corresponding response at 40 bar of a prior art system using a pressure regulator is referenced C. It may thus be seen that with respect to the prior art system using a pressure regulator, the step response of the present invention exhibits much sharper rising and falling edges, and is thereby capable of operating at significantly higher frequencies. Thus, with only the provision of a novel control scheme the present invention is able to improve significantly the dynamic response of the main stage spool over a wide range of supply pressures in comparison with the conventional arrangement, the invention thus affording a significant advance in the art.

Claims: A method for controlling a two-stage valve (10) using a closed-loop control system, the system including a variable gain element (54), the method involving continually performing the steps of: estimating (60) the flow gain (K and f ) of the pilot stage (12) of the valve (10); comparing (62) the estimated flow gain (K and f ) with a reference flow gain; and in response to said comparison step, adjusting (62) the gain of the variable gain element (54) to maintain a substantially constant closed-loop gain. A method according to claim 1, wherein the step of estimating the flow gain (K and f ) of the pilot stage of the valve includes the measurement of the positions (x,y) of the main and pilot spools. A method according to claim 2, wherein a recursive least squares estimator, using said measured spool positions (x,y) as input signals, is used to calculate the estimated flow gain. A method according to any of the preceding claims and comprising the further step of filtering the input signals to the estimator means (60) in order to remove offset errors and high frequency noise. Apparatus for controlling a two-stage valve (10), having a pilot stage (12) and a main stage (14), the apparatus including a variable gain element (54); a means (60) for estimating the flow gain (K and f ) of the pilot stage; comparison means (62) for comparing the estimated flow gain with a reference flow gain; and adjustment means (62) responsive to the comparison means for adjusting the gain of the variable gain element (54) to nullify the effects of the variations in pilot stage supply pressure (P s ) on the flow gain of the pilot stage (12). Apparatus according to claim 5, wherein the means (60) for estimating the flow gain (K and f ) of the pilot stage (12) is responsive to the positions of the main and pilot stage spool positions (x, y) . Apparatus according to claim 5 or 6, wherein the means (60) for estimating the flow gain of the pilot stage (12) is in the form of a recursive least squares estimator. Apparatus according to any of claims 5 to 7, and further comprising means (58) for filtering the input signals to the estimating means (60). Apparatus according to any of the preceding claims, wherein the apparatus comprises two nested feedback loops comprising an inner loop (15) responsive to measured and desired pilot stage spool positions (x,xd), and an outer loop (18) responsive to measured and desired main stage spool positions (y,yd).

Inventors: GAMBLE JONATHAN BRUCE, RIEDLE BRADLEY D, GAMBLE, JONATHAN BRUCE, RIEDLE, BRADLEY D.
Applicants: TRINOVA LTD, TRINOVA LIMITED
Application year: 1993
Main classification: G05D13
IPC codes: F15B13, G05D3, F15B9