• Aucun résultat trouvé

Robust filtering for TDR traces

N/A
N/A
Protected

Academic year: 2022

Partager "Robust filtering for TDR traces"

Copied!
8
0
0

Texte intégral

(1)

HAL Id: hal-00313787

https://hal.archives-ouvertes.fr/hal-00313787

Submitted on 27 Aug 2008

HAL

is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire

HAL, est

destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

Robust filtering for TDR traces

Philippe Neveux, Eric Blanco

To cite this version:

Philippe Neveux, Eric Blanco. Robust filtering for TDR traces. IEEE Transactions on Instrumenta- tion and Measurement, Institute of Electrical and Electronics Engineers, 2008, 57 (6), pp.1237-1243.

�10.1109/TIM.2007.915462�. �hal-00313787�

(2)

Robust Filtering for TDR Traces

Philippe Neveux and Eric Blanco

Abstract—Time-domain reflectometry (TDR) is a valuable tech- nique for the measurement of dielectric properties of soils. The filtering of noisy TDR traces is treated in this paper. The problem of biased estimation occurs when the permittivity of the soil varies with the depth. In practical issues, only the apparent permittivity of the soil along the TDR line is available. Hence, robust optimal filtering has to be developed to provide a robust and reliable estimation. This filtering step is essential for the estimation of the permittivity with the depth.

Index Terms—Discrete time filters, Kalman filtering, robust- ness, time-domain reflectometry (TDR), uncertain systems.

I. INTRODUCTION

S

OIL MOISTURE estimation is based on time-domain reflectometry (TDR) measurements. The TDR technique consists of at least two rods that are “plugged” in the soil. At the inlet of the rods, we impose a step voltage and measure the variation of the current at the inlet of the line. This variation is related to the water content of the soil under consideration.

Original works have shown that a relation exists between the permittivity of the soil and its water content [9], [11], [14].

The estimation of the apparent permittivity of the soil can be obtained from TDR traces, whereas the estimation of the variation of the permittivity along the rods is an open problem [5], [10], [12], [15]. In both cases, the estimation is based on the analysis of the recorded measurements. Consequently, as the data are corrupted by noise, they should be filtered be- fore use.

In this context, a major problem is the lack of information on the permittivity profile in the soil. In fact, to filter the data, we should refer to the model of the TDR line. Since this model is uncertain because of the impreciseness of the estimation of the permittivity, we should develop an estimator that will ensure good estimation performance in the presence of modeling errors.

In this paper, the TDR line is described by means of a state-space representation after a centered finite-difference dis- cretization. The development of this representation is given in detail in Section II. The effect of model mismatch on the signal estimation by a standard Kalman filter is also shown as a benchmark problem in Section II. The robust estimation technique is presented in Section III. It is based on the so-called

Manuscript received April 10, 2006; revised November 13, 2007.

P. Neveux is with the Faculté des Sciences, Unité Mixte de Recherche (UMR) 1114 EMMAH, Institut National de la Recherche Agronomique, Université d’Avignon et des Pays de Vaucluse, 84029 Avignon, France (e-mail: philippe.neveux@univ-avignon.fr).

E. Blanco is with the Laboratoire Ampère, UMR 5005 CNRS, Ecole Centrale de Lyon, 69134 Ecully, France (e-mail: eric.blanco@ec-lyon.fr).

Digital Object Identifier 10.1109/TIM.2007.915462

Fig. 1. Schematic view of the TDR line.

compensated Kalman filter [3], [6]. This approach permits one to keep the computational burden at the same level as the stan- dard Kalman filter. This point is essential as the discretization of the TDR line entails a large-scale model.

II. POSITION OF THEPROBLEM

The TDR line (see Fig. 1) is described in 1-D by the telegraphist’s equations [7]. The dimensionless form (Σ) of the model is given by the following set of equations [2]:

)

µrti=−∂zv−ai εrtv=−∂zi−bv with the boundary conditions

v(z= 0, t) =u(t) (1) i(z= 1, t) = v(z= 1, t)

RT (2)

where

i(z, t)andv(z, t) intensity and voltage at timetand posi- tionz∈[0,1];

εr relative permittivity of the soil evolving with depthz;

µr relative magnetic permeability of the soil;

aandb related to the resistivity of the rods and the permittivity of the soil, respectively;

0018-9456/$25.00 © 2008 IEEE

(3)

1238 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 57, NO. 6, JUNE 2008

u(t) deterministic input signal that can be assimilated to the Heaviside function;

RT resistivity of the soil at the end of the line;

x partial derivative with respect tox.

The objective of this paper is to develop a formalism that permits one to estimate the inlet current i(z= 0, t) from its noisy measurement when the permittivityεr evolves with the depth and the designer holds the apparent permittivity.

A. State-Space Modeling of the TDR Line

The discretization of the equations of (Σ) will be done due to the centered finite-difference method, except for the boundary conditions [10]. The discretization in directionzwith a step∆zpermits one to defineN+ 1interpolation nodes. The objective of this section is to write the model(Σ)(considering thatεris constant) in the form(Σs)

s)

Xk+1=F Xk+GUk Yk=HXk

where

k discrete time k∆t with ∆t as the time discretization step;

Xk,Uk, andYk state vector of the line, input, and mea- sured output at timek, respectively;

F,G, andH constant real-valued matrices with appro- priate dimensions.

The development of this representation will be made in three steps, namely

1) for the interior nodes;

2) for the boundary nodes;

3) for the overall transmission line.

In steps 1) and 2), we will present the results of the discretiza- tion by the appropriate finite-difference method, and then, we will give the structure of the matricesF,G, andHin step 3).

1) Interior Nodes: For each interpolation node with a node numbernsuch that0< n < N, we discretize the model) with the centered finite difference. Thus, we obtain

ik+1n =ikn1−αikn−β

vn+1k −vnk1

(3) vnk+1=vk−1n −γvkn−δ

ikn+1−ikn1

(4) with the parameters defined by

α=2a∆t

µr β= ∆t µr∆z γ=2b∆t

εr δ= ∆t εr∆z.

2) Boundary Nodes: The derivation of the expression of the current and voltage at the boundary nodes will be done using

the classical finite-difference method. From the conditions (1) and (2), we obtain the following.

• At the beginning of the line(n= 0) ik+10 =

1−α

2

ik1−β 2

vk1−uk

v0k=uk. (5)

• At the end of the line(n=N) ikN =vNk

RT

vk+1N =

1−α 2 −RTβ

vNk +RTβvNk−1. (6) 3) State-Space Model of the Line: To build the matricesF andG, we define the matrices

F˜=

 0 0 0 δ

, F˜0= 1−α 2

F˜+=

0 0 −β 2 0

F=



0 0 0 0 0 0 β 0 0 0 0 0 δ 0 0 0

, F0=



0 1 0 0

1 −α 0 0

0 0 0 1

0 0 1 −γ



F+=−F

F= [0 0 RTβ 0] F0= 1−α 2 −RTβ

F+=

 0

−β 0

RδT



G0=β

2, G1=

 0 β 0 0

.

The state-space model of the line is given by the result.

Proposition 1: The 1-D state-space model of the TDR line is given by(Σs), where

• the dynamic matrixF is obtained by means of concatena- tion, i.e.,

F =











F˜0 F˜+ 0 · · · · 0 F˜ F0 F+ . .. ... 0 F F0 F+ . .. ... ... . .. ... ... ... 0 ... . .. F F0 F+ 0 · · · · 0 F F0











(4)

• the input matrixGis given by

G=





G0

G1 0... 0





• the output matrixH is given by H= [ 1 0 · · · 0 ].

The proof of this result is given in the Appendix.

Remark 1: In this paper, we present the model forεrandb constant withz. The model for εr(z)andb(z) can be easily derived. In fact, in the space dicretization, we should consider εr,nandbn. Consequently, we will haveγnandδn. To construct F andG, the concatenation would be the same, with the block matrices indexed with the number of nodes.

B. TDR Trace Filtering With the Kalman Filter

1) Standard Kalman Filter: The model (Σs) is a typical difference state-space model that is used in linear discrete- time systems in the control and estimation theory [1], [4]. In the context of filtering, the model is modified to take into account both input and output noises. Clearly,(Σs)is written as (Σs), i.e.,

s)

Xk+1=F Xk+GUk+GWk Yk=HXk+Vk

Υk =HXk

whereWk andVk are zero-mean white processes, which are mutually uncorrelated with covariancesQandR, respectively.

The celebrated Kalman filter for the system(Σs)is given by the following algorithm [4].

1) State estimate extrapolation:

Xˆk+1=FXˆ+k +GUk. 2) Error covariance extrapolation:

Pk+1=F P+kF+GQG. 3) Kalman gain matrix:

Kk+1=Pk+1H

HPk+1H+R−1 . 4) State estimate update:

Xˆ+k+1= ˆXk+1+Kk+1

Yk+1−HXˆk+1

. 5) Output estimate:

Υˆk+1=HXˆk+1. 6) Error covariance update:

P+k+1= (I−Kk+1H)Pk+1. Hstands for the transpose of matrixH.

Fig. 2. Benchmark problem. Variation ofεrwith the depth.

Fig. 3. Benchmark problem. Measured signalYk.

2) Benchmark Problem: This modeling procedure has been developed for soil with permittivity varying with depth (see Fig. 2), according to the trends given in Remark 1. The state- space model has been implemented with the apparent permit- tivity(εr= 17.25). The simulated measured output signalYk is given in Fig. 3. The result of the estimation is given in Fig. 4, together with the TDR trace. It clearly appears that the Kalman filter based on the apparent permittivity model fails to estimate the TDR trace. To overcome this problem, we should use a filter that permits one to estimate the TDR trace, even if the model is erroneous.

III. ROBUSTFILTERINGTECHNIQUE

A. Filtering Procedure

Different approaches have been developed to estimate the signal Υk in the presence of a model error. In this paper, as the discretized system (Σs) is a large-scale system, we have decided to develop a so-called robust filter with memory cost

(5)

1240 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 57, NO. 6, JUNE 2008

Fig. 4. Benchmark problem. SignalΥk(solid line) and Kalman filter estimate (dotted line).

Fig. 5. Feedback representation of the uncertainties.

and computational burden equivalent to those of the standard Kalman filter presented in Section II-B1.

In fact, the celebrated techniques of robust filtering are intimately related to the notion of exogenous perturbation (see [8] and references therein) that enters the nominal model in a feedback manner (see Fig. 5). This exogenous perturbation is, by construction, correlated with the state of the system.

Hence, in addition to the error covariance matrix, we should also compute a correlation matrix with the same dimensions.

These matrices are obtained by means of two distinct Riccati equations. In the context of this paper, this solution is not convenient.

The elegant solution developed in this paper is based on the compensated Kalman filter theory [3], [6]. When using a com- pensated Kalman filter, we have the following representation:

1) state estimation extrapolation, i.e., Xˆk+1=FXˆ+k +GUk

ξˆk+1= ˆξ+k 2) state estimate update, i.e.,

Xˆ+k+1= ˆXk+1+κ1ξˆk+1+Kk+1

Yk−HXˆk+1 ξˆk+1+ = ˆξk+1 + ˜κ2

Yk−HXˆk+1

Υˆk+1=HXˆ+k+1

where the state variableξˆk+is, by construction, the inte- gral of the error signal(Yk−HXˆk+1). This integration

term plays the same role as the integration term used in the proportional–integral controller in the control theory.

It permits one to ensure that the tracking error will vanish to zero.κ1 andκ˜2 are real-valued matrices with appropriate dimensions. They should be chosen such that the estimator is stable.

This estimator can be thought of as being designed for the following system:

Xk+1=F Xk+GUk+GWk+κ1ξk ξk+1=ξk+κ2Vk

Yk =HXk+Vk Υk =HXk

where Vk is a zero-mean white process with unit covariance, which is uncorrelated withWkandVk.

Considering the augmented system with the state vector, we have a new representation(Σc)of the model, i.e.,

c)



χk+1=k+BUk+M ωk Yk=k+Vk

Υk =k with

A=

I 0 κ1 F

B=

0 G

M =

0 κ2

G 0

χk = ξk

Xk

ωk= Wk

Vk

C= [0 H] E{ωkωk}=

Q 0 0 1

=Q.

Remark 2: The solution that we have presented can be viewed as a compensation of the model by adding a fictitious signalζk, as follows:

Xk+1=F Xk+GUk+GWk+ζk.

The compensation signal is considered as a Wiener process [13] by

ζk =κ1ξk ξk+1=ξk+κ2Vk.

Hence, the robust filtering technique can also be considered as a deconvolution technique for the signalζk.

In the original formulation of the compensated Kalman filter, the choice of the matricesκ1andκ˜2was critical with regard to the stability of the estimator. The proposed technique permits one to limit the stability condition to the matrixκ1. In fact,κ1

should be chosen such that the eigenvalues ofAlie in the unit circle. It should be noticed that if the tuning parameter κ1 is set to zero, the state vector of the line and the compensation signal will be decoupled; hence, the filter will be the standard Kalman filter. The parameter κ2 appears in the structure of

(6)

Fig. 6. Benchmark problem. Estimation error for the (solid line) standard Kalman filter and the (dashed line) proposed filter.

the noise effect on the system. Hence, the parameterκ2 will permit one to tune the amount of noise in the estimation. If κ2 is set to zero, the compensation signal will be considered as a constant and will stay at its initial value. If the initial value is null, then the estimator will be the standard Kalman filter.

The estimation algorithm is the same as the standard Kalman filter presented in the previous section, in which the corre- sponding matrices are replaced. In the context of TDR trace estimation, the output signal Yk is a scalar signal. Thus, we only add a single state in the augmented model with respect to the original model(Σs). This constant allows us to state that due to the large-scale model, the proposed method has fairly the same memory and computational costs as the standard Kalman filter.

B. Our Benchmark Problem

In this section, the proposed method has been applied to the case treated in Section II-B. The matricesκ1andκ2are chosen as follows:

κ1= 0.1U, κ2= 10−6 whereU is a unit vector of appropriate dimension.

To evaluate the performance of the proposed technique, we define the relative root-mean-square error (RRMSE) as follows:

RRMSE= E

kΥˆk)2

E{(Υk)2}

where E{·} is the mathematical expectation. The estimation error of the proposed technique is compared with the estima- tion error of the standard Kalman filter in Fig. 6. It clearly appears that the estimation error of the proposed technique has a magnitude that varies in a restricted area around zero, whereas the estimation error of the standard Kalman filter presents an

TABLE I

BENCHMARKPROBLEM: COMPARISON OF THEMEAN ANDRRMSEOF THEESTIMATIONERROR

TABLE II

EXPERIMENTALDATA: GRAVIMETRICESTIMATION OFεr

important bias. This fact is strengthened by the value of the mean of the estimation error and the RRMSE given in Table I.

It should be noticed that the optimal choice of the pair (κ1, κ2) is not unique. In fact, as κ2 permits one to adjust the width of the bandpass of the estimator, the critical point lies in the choice of κ1 such that the augmented system is stable. Another important point as to the choice of the tuning parameters is that we can concentrate the integral compensation on the states that are subject to an uncertain parameter. For example, in the benchmark problem, it appears that only the equations corresponding to the voltage are directly concerned with the parametric uncertainty. Hence, we could set to zero the components ofκ1 that do not correspond to states directly subject to uncertainties and set to 0.1 all the other components.

In this case, the result is similar to the previous setting.

C. Experimental Data

The proposed filtering technique has been used on exper- imental data obtained from the Campbell TDR100 data ac- quisition device. The soil is a homogeneous sand medium.

The data acquisition system has given an apparent permittivity εr= 6.08. To verify whether the soil moisture profile is con- stant or not, a gravimetric study has been completed. The results of this study are given in Table II, wherezis the dimensionless depth, and the permittivity is obtained by applying the Topp polynomial function [14]. In Table II, it appears that the permit- tivity evolves with the depth. Consequently, to filter the data, we have to apply the proposed method. As in the benchmark problem, we have compared our approach with the standard Kalman filter both developed with εr. The result is given in Fig. 7. It appears that while the Kalman filter is biased, the proposed filter gives a good filtered estimate.

IV. CONCLUDINGREMARKS

The estimation problem of TDR traces has been treated in this paper. The problem encountered is the lack of information that the designer holds on the permittivity profile along the TDR rods. Empirical techniques permit one to estimate an apparent value of this permittivity. We have shown on a benchmark problem that this value entails a biased estimation of the TDR traces. We have proposed an estimator based on the compen- sated Kalman filter theory that permits efficient estimation of the signal with the same computational burden as the standard Kalman filter.

(7)

1242 IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 57, NO. 6, JUNE 2008

Fig. 7. Experimental data. (Solid gray line) Measured signal versus (solid dark line) standard Kalman filter estimate and (dashed line), proposed filter estimate.

APPENDIX

PROOF OFPROPOSITION1

To obtain (Σs), we should define the state variables as follows:

xkn,1=ikn xk+1n,1 =xkn,2

xkn,3=vkn xk+1n,3 =xkn,4. Then, (3) and (4) become

xk+1n,2 =xkn,1−αxkn,2−β

xkn+1,3−xkn−1,3 xk+1n,4 =xkn,3−γxkn,4−δ

xkn+1,1−xkn−1,1 . At the inlet(n= 0), as the voltage is imposed by the user and considering (5), we setxk0,1=ik0. Thus

xk+10,1 =

1−α 2

xk0,1−β 2

xk1,3−uk .

From (3), it is clear that the equationik+11 =xk+11,2 depends on vk0. Consequently, it should be modified as follows:

xk+11,2 =xk1,1−αxk1,2−β

xk2,3−uk .

At the end of the line (n=N), considering (6), we set xkN,3=vkN. Thus

xkN,1=xkN,3 RT

xk+1N,3 =

1−α 2 −RTβ

xkN,3+RTβxkN−1,3.

From (4), it is clear that the equation vk+1N1=xk+1N1,4 de- pends onikN. Consequently, it should be modified as follows:

xk+1N1,4=xkN1,3−γxkN1,4−δ xkN,3

RT −xkN2,1

. To obtain the matricesF,G, andH, we introduce the node state vector ψkn= [xkn,1 xkn,2 xkn,3 xkn,4]. For the bound- ary nodes, it reduces toψk0 =xk0,1andψNk =xkN,3.

In the following, we will present a technique that permits one to obtain the matricesF andG. We will operate in ascending order ofn.

Considering the previously given state equations together with the special cases due to the boundary conditions, we have

• forn= 0:

ψk+10 = ˜F0ψk0+ ˜F+ψ1k+G0uk (7)

• forn= 1:

ψk+11 = ˜Fψk0+F0ψ1k+F+ψ2k+G1uk (8)

• for1< n < N−1:

ψnk+1=Fψn−1k +F0ψkn+F+ψn+1k (9)

• forn=N−1:

ψNk+1−1=FψNk−2+F0ψkN−1+F+ψkN (10)

• forn=N:

ψNk+1=FψNk1+F0ψNk. (11) Now, introduce the state vector Xk, the inputUk, and the outputYkas follows:

Xk =





ψ0k ψ1k ... ψkN−1

ψkN





Uk=uk Yk=ik0 =ψ0k

withXk (4N−2)×1.

Then, the result given in Theorem 1 can be easily derived.

This completes the proof.

REFERENCES

[1] M. Athans and P. L. Falb,Optimal Control. New York: McGraw-Hill, 1966.

[2] H. Bolvin, A. Chambarel, and P. Neveux, “A numerical tool for transmis- sion lines,” inProc. Int. Conf. Comput. Sci., Atlanta, GA, 2005, vol. 1, pp. 271–278.

[3] G. R. Duan, G. P. Liu, and S. Thompson, “Eigenstructure assignment design for proportional-integral observers: Continuous time case,”Proc.

Inst. Electr. Eng.—Control Theory Appl., vol. 148, no. 3, pp. 263–267, May 2001.

[4] A. Gelb, Applied Optimal Estimation. Cambridge, MA: MIT Press, 1974.

[5] T. J. Heimovaara, J. A. Huismann, J. A. Vrugt, and W. Bouten, “Obtaining the spatial distribution of water content along a TDR probe using the SCEM-UA Bayesian inverse modelling scheme,”Vadose Zone J., vol. 3, pp. 1128–1145, 2004.

(8)

[6] W. H. Lee and M. Athans, “The discrete-time compensated Kalman fil- ter,” Mass. Inst. Technol., Cambridge, MA, LIDS Tech. Rep. ESL-P-791, 1977.

[7] P. G. Magnusson, G. C. Alexander, and V. K. Tripathi,Transmission Lines and Waves Propagation, 3rd ed. Boca Raton, FL: CRC, 1992.

[8] R. S. Mangoubi, “Robust estimation and failure detection,” inAdvances in Industrial Control. Berlin, Germany: Springer-Verlag, 1998.

[9] K. Noborio, “Measurement of soil water content and electrical conductiv- ity by time domain reflectometry: A review,”Comput. Electron. Agric., vol. 31, no. 3, pp. 213–237, May 2001.

[10] B. Oswald, H. R. Benedickter, W. Bachtold, and H. Fluhler, “Spatially resolved water content profiles from inverted time domain reflectometry signals,”Water Resour. Res., vol. 39, no. 12, pp. 15.1–15.19, 2003.

[11] C. H. Roth, M. A. Malicki, and R. Plagge, “Empirical evaluation of the relationship between soil dielectric constant and volumetric water content as the basis for calibrating soil moisture measurements by TDR,”J. Soil Sci., vol. 43, pp. 1–13, 1992.

[12] S. Schlaeger, “A fast TDR-inversion technique for the reconstruction of spatial soil moisture content,”Hydrol. Earth Syst. Sci., vol. 9, no. 5, pp. 481–492, 2005.

[13] T. Söderström,Discrete-Time Stochastic Systems. New York: Springer- Verlag, 2002.

[14] G. C. Topp, “Electromagnetic determination of soil water content: Mea- surements in coaxial transmission lines,”Water Resour. Res., vol. 16, no. 3, pp. 574–582, 1980.

[15] J. M. Wraith, D. A. Robinson, S. B. Jones, and D. S. Long, “Spatially char- acterizing apparent electrical conductivity and water content of surface soils with time domain reflectometry,”Comput. Electron. Agric., vol. 46, no. 1–3, pp. 239–261, 2005.

Philippe Neveux was born in 1970. He received the Ph.D. degree in automatic and signal processing from the Université de Lyon, Lyon, France, in 2000.

Since 2000, he has been with the Université d’Avignon et des Pays de Vaucluse, Avignon, France, where he works with the Institut National de la Recherche Agronomique on soil moisture estimation from TDR measurement. His main research activities are in the field of deconvolution, minimax optimiza- tion, and robust filtering.

Eric Blancowas born in 1975. He received the M.S.

and Ph.D. degrees in automatic and signal processing from the Université de Lyon, Lyon, France, in 1998 and 2002, respectively.

From 1998 to 2003, he was with the Automatic and Process Engineering Laboratory (LAGEP), Université de Lyon, where he worked on ro- bust estimation problems. In 2003, he obtained a chair in Automatic and Signal Processing with the Department of Electronics, Electrical and Con- trol Engineering, Ecole Centrale of Lyon, Ecully, France. His current research interest at the Laboratoire Ampère includes control systems design, diagnosis, estimation, and prediction of complex systems.

Références

Documents relatifs

The above heuristics turn out to give a correct answer for nonlinear wave equations, if one considers general nonlinearities: actually, in this case, smooth enough decaying initial

The model is further simplified so as to apply Kalman filter approach to es- timate displacement and unknown parameters (material properties, e.g., friction angle and

LMI results for robust control design of observer- based controllers, the discrete-time case with polytopic uncertainties. Slack variable approach for robust stability analysis

The use of optimal quantization methods to estimate the filter supposes to have numerical access to optimal (or stationary) quantizers of the marginals of the signal process.. One

of standard linear primitives (half-spae, point, m-at and m-simplex) and. how they an

The literature reveals four major uses of the BM concept: to map specific business sectors or industries and create taxonomies; to describe the

State estimation of nonlinear discrete-time systems based on the decoupled multiple model approach.. Rodolfo Orjuela, Benoît Marx, José Ragot,

The closely related problem of joint input and state estimation for linear discrete-time systems, which are of great importance for Fault Tolerant Control (FTC) when