Time/Space noise and « thermal » processing of temperature signal
J.C. Batsale, C. Pradere Lecture 6
1
Eurotherm Advanced School – Metti 5 – Roscoff – June 13-18, 2011
Time/Space noise and thermal processing of temperature signal - - PowerPoint PPT Presentation
Eurotherm Advanced School Metti 5 Roscoff June 13-18, 2011 Time/Space noise and thermal processing of temperature signal J.C. Batsale, C. Pradere L ecture 6 1 Introduction The processing of space and time temperature
1
Eurotherm Advanced School – Metti 5 – Roscoff – June 13-18, 2011
more necessary (not only in heat transfer but also in all domains related to continuous media such as solid or fluid mechanics…)
measure, store and process thermal information ( Infrared thermography , optical or mechanical scans, …)
properties from a great amount of thermal data, such as temperature fields?
– Difficulties occurring with such instruments (noise and signal perturbation, systematic errors…) – Difficulties related to the manipulation of a great amount of data and the suitable processing of such data
2
3
PIV velocity fields Shearography: strain fields Thermography: temperature fields
With a lot of active heating possibilities (Laser, flash lamps, acoustic or electromagnetic sources….)
FLIR-CEDIP Orion, Titanium… Irisys FLIR-Indigo-A10
x y
Insulating foam Black painted glass wafer: 2 inch diameter 170 µm of thickness
z
Visible mirror Transmitting IR Laser diode IR Camera IR microscope Laser beam
4
5
10 20 30 40 50 60 70 80 90 100
1 2 3 10 20 30 40 50 60 70 80 90 100
1 2 3 4 10 20 30 40 50 60 70 80 90 100
0.5 1 1.5 2 2.5 3
Perfectly gaussian noise Correlated signal (parasitic periodic noise superposed to the signal) Digitized noise All of them have the same rough statistical characteristics (zero mean value, standard deviation), oher ways to study such signal?
1 2 3 4 5 500 1000 1500 2000 2500 3000 3500
histogram
6
Hypothesis :
− − − −β β β β constant and unknown before the estimation and Xij known without error
σ σ σ known) and uncorrelated errors
^ ^
β β β βoptimum minimize the sum squares function S between theory and experiment
7
Real value measurement
T (°C)
Time (s)
Example : Stationary Signal -Estimation of the mean value
β = 1 : : 1 1 : :
2 1 N
T T T N T
N i i
=
1
The processing of a great amount N of noisy and stationary data improves the accuracy of the estimation.
8
Example :Estimation of several parameters from the previous signal Case where f and g are orthogonal
( )
β
∧ ∧
= ⋅ ⋅
1
f T f f
t t
β
∧ ∧
= ⋅ ⋅
2
g T g g
t t
− − 1 1 2
t t
≈
− − − 2 2 1 max 2
ˆ cov g f t N σ B
2 2
9
T1 T2 : : TN = f1 g1 f2 g2 : : : : fN gN β1 β2
Signal Power Spectral density fft(T).*conj(fft(T)) N=100
N=800
10
5 10 15 20 25 30 5 10 15 20 25 30
5 5 10 15 20 25 30 5 10 15 20 25 30
2 10 20 30 5 10 15 20 25 30
5 10 20 30 5 10 15 20 25 30
5
Digitized noise Random Space correlation Non-uniformity distortion When a signal is multidimensional, instead of projecting on an orthogonal basis, it is possible to set out a singular value decomposition (SVD).
11
SVD decomposition of the previous images
5 10 15 20 25 30 5 10 15 20 25 30
5 5 10 15 20 25 30 5 10 15 20 25 30
2 10 20 30 5 10 15 20 25 30
5 5 10 15 20 25 30 1 2 3 4 5 6 7 8 9 10 sigular values 5 10 15 20 25 30 35 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 singular values 5 10 15 20 25 30 5 10 15 20 25 30 35 singular values 5 10 15 20 25 30
0.1 0.2 U1(x) and V1(y)
Random Space correlation Non-uniformity distortion The Singular values are giving an idea about the « complexity » of the images U1(x) and V1(y) Σ values Uniform singular values distribution (non-compressible signal) High order zero singular values (compressible signal)
12
T
Bourouga and Bardon, 2000), several illustrations:
– Perturbation of the Isothermal lines and Position error – Inertia of the sensor
l’instrumentation d’un capteur thermique pariétal à faible inertie, International Journal of Thermal Sciences 39 (1) (January 2000) 96– 109.
Isothermal lignes Well positioned sensor Badly positioned sensor Real temperature evolution Observed signal (noisy but also delayed)
13
t
= −
=
i j j j i i
t U H Y
1
=
− m m m m
U . . U U H H H H . . . H H H H H H t Y . . Y Y
2 1 1 2 1 1 2 3 1 2 1 2 1
behaviour Y(t): observed behaviour
The observable signal Y(t) is a correlated signal! Even if N observations are made, only less than N informations are really available.
h: exchange coefficient ρcL: heat capacity
14
Calibration emission and reflexion, with infrared thermography
and influence of the environment) (see [3], [4]).
Non uniformity correction (NUC) A distribution of gain and offset for each pixel must be regularly re-estimated (Non Uniformity Correction). Bad or dead Pixels Generally, these pixels are recognized initially by the device provider and corrected by a signal averaged from the neighbouring pixels (Bad Pixel Replacement). Time recording, dead time step Thermal stability of the instrument The freezing of the detector array and the thermal regulation is not always stable (1 to 5 mK). Space resolution
15
The integration time of FPA cameras with quantum detectors is generally about 100µs. The time for electronic recording and storage is greater (about 40 ms at 25 Hz). If an accurate triggering is possible, the heterodyne methods can be implemented.
16
cam exc
(k integer) (k and N integers)
N 1 k f f
exc acq
+ =
It is possible to reconstruct very fast transient periodic phenomena with a 25 Hz camera!
17
Tslit Tplate Tslit x T x SRF − − = ) ( ) (
− =
L
d x U p x Y ) ( ) ( ) ( χ χ χ
∆ =
m m
U U U p p p p p p p p p p p p x Y Y Y . . . . . .. .. . .
2 1 1 2 2 1 2 3 2 1 2 3 2 1 2 1
20 40 60
0.1 0.2 0.3 0.4 0.5 x=width of the slit SRF(x) real signal Measured signal symetrical part
0,1 0,2 0,3 0,4 0,5 0,6 0,7 0,8 0,9 1 0,5 1 1,5 2 2,5 3 3,5 4
Pix el SR F
E dge C enter
The pixels of an infrared camera are generally correlated (N pixels, but less than N informations)!
18
(with unknowns and non perfect characteristics)
– the random noise : with zero mean value is an unwanted perturbating noise but able to be processed with simples asumptions (related to the uniform covariance matrix). – the systematic errors: (NUC, time derive, parasitic effects, sensor positions ...) which must be fought, detected or bypassed by the experimenter. – the space and time convolutions and correlations of the signal acting on the real time and space resolution limit.
monodimensional one.
19
In a lot of cases, the heat transfer models will consist in derivating the space and time temperature field.
20
) cos( ) exp( ) sin( / 2 / ) , (
2 1
x t a b L L b t x T
n n N n n n
α α α α − + =
=
n
0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
0.2 0.4 0.6 0.8 1 1.2 x T(x) 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
20 40 x Derivative of T(x)
Temperature field from the previous analytical expression at a given time
at time t=0.5s; a=10-5 m2 s-1; b=L/2; L=0.1m; (continuous line: real signal, ‘o’: discrete noisy signal);
Finite differences space-derivative
21
i
Unfortunately, when the space step ∆x is tending to zero, the approximation error is effectively tending to zero, but the random error is tending to infinity! Random variable : “measurement noise”: Approximation error:
22
i+1 − ˆ
i
i = Ti + eTi
i
ˆ T 'i = T(xi+1) − T(xi ) ∆x + ε(xi+1) + eTi+1 − eTi ∆x
=
=
N n n nx
x T ) ( β
T n ]
.... , , [
3 2 1
β β β β = B
t 1 t
−
= ... ... ... 1 . 1 1
2 2 2 2 2 1 1 m m
x x x x x x X
0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
0.2 0.4 0.6 0.8 1 1.2 x T(x) 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
50 100 150 x Derivative of T(x)
Polynomial fitting Derivation of the polynomial expression The projection of the signal on a reduced polynomial basis is giving quite good results (excepted with the boundaries) when the rank of the polynom is adapted.
23
n n M n
=
n
T M ]
3 2 1
matrix is orthogonal,
0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
0.2 0.4 0.6 0.8 1 1.2 x T(x) 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
20 x derivative of T(x)
Fourier fitting Derivation of the serie The derivation of the “Fourier estimated expression” is giving good results when the rank
24
− =
L
d x T p x T ) ( ) ( ) ( ~ χ χ χ
1 ) ( =
L
d p χ χ
− = − =
L L
d dx x dp T d dx x dT p x dx T d ) ( ) ( ) ( ) ( ) ( ~ χ χ χ χ χ χ The discrete approximation of the derivative is then conveniently considered by a convolution with a « derived » kernel.
0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
0.2 0.4 0.6 0.8 1 1.2 x T(x) 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
50 100 x derivative of T(x)
Filtering of the signal Derivation by a convolution with a “derivated kernel” Filtering of the signal Derivation by “derivated kernel”
25
20 40 60 80 100 20 40 60 80 100
0.5 1 1.5 t x T(x,t)
10 20 30 40 50 60 70 80 90 100
0.2 0.4 0.6 x Uk(x) U1(x) U2(x) U3(x) 10 20 30 40 50 60 70 80 90 100
0.1 0.2 0.3 0.4 0.5 t Vk(t) V1(t) V2(t) V3(t)
10 20 30 40 50 60 70 80 90 100
0.2 0.4 0.6 0.8 1 1.2 x T(x,0.02) 10 20 30 40 50 60 70 80 90 100
50 x Space derivative ot T(x,0.02)
Consider not only the Space but also the time signal! 3 dominant Singular values Reconstructed signal with a reduced rank of SVD decomposition Space derivative of the compressed signal Uk(x) Vk(t)
26
2.2 Estimation of a transverse diffusivity field from flash experiments (comparison of classical Non Destructive Evaluation methods):
IR camera « Flash » lamp Composite sample Ox Oy Oz e l L IR camera IR camera « Flash » lamp Composite sample Ox Oy Oz Ox Oy Oz e l L
Flash uniforme y=0
( )
, , T x y e t =
27
28
Metrology Imaging Laboratory method
Sample
Thermocouple
1 T(t) measurement
0.1 T (°C) 10 20 30 t (s) 40
Industrial method
Sample
IRcamera
>10 000 pixels T(t) measurement
2.5 T (°C) 10 20 30 t (s) 40
29
Can we discern two very noisy thermograms ?
0.5 1 1.5 20 40
Temperature level Time (s)
2.2.1 Estimation with physical asymptotic expansions:
∂ ∂ ∆ + =
) , , (
) , ( ) , , ( ) , ( ) , , , (
λ
λ λ β
t z
f y x t z f y x q t z y x T
With q(x,y) : spatial distribution of energy, and ∆λ (x,y): spatial thermal conductivity variation
( )
( )
2 1 2
/ ² ² exp 2 1 , L at f cL Q L t a n cL Q t z T
n
ρ π ρ = ⋅ ⋅ ⋅ ⋅ − ⋅ + ⋅ = =
∞ =
1D température response: Asymptotic expansion by considering a small thermal conductivity variation Other possibility : consider the conductivity sensitivity function as a logarithmic time derivative
) / ( 2
2
/ ) , (
cL t i i
i
t f t cL Q cL t f cL Q t T
ρ λ
∂ ∂ λ λ ρ ρ λ ρ ∆ + ≈
Other possibilities with other thermophysical properties :
+ ∆ − ≈
) / ( 2 2
2
2 / / ) , (
cL t i i i
i
t f t cL t f L L cL Q cL t f cL Q t T
ρ λ
∂ ∂ ρ λ ρ ρ λ ρ
+ ∆ − ≈
) / ( 2 2
2
/ / ) , (
L c t i i i
i
t f t L c t f c c L c Q L c t f L c Q t T
ρ λ
∂ ∂ ρ λ ρ ρ ρ ρ λ ρ
30
2 1
2 1 i i i
β β
t
t N N
t X t X t X t X = ) ( ... ) ( ) ( ... ) (
2 2 1 1
1 1 β β β β
X
t 1 t
2 1 −
Is suitable only if X is perfectly known. If f is only a reference curve obtained from experiment, the time logarithmic derivative will noisy and the estimation bad! Shepard proposed to decompose the signal with a polynomial fitting, such as:
31
=
( ) ( )
, , ,
réarrangement
T x y t T X t →
space time matrix
( ) ( ) ( )
1
,
P T k k k k
T X t U X V t λ
=
= ⋅ ⋅
( ) ( )
,
réarrangement k k
U X U x y →
32
Flash Milieu hétérogène Caméra IR séquence IR
t e m p s (SVD)
« M
e s » From a sequence (about 100 or 1000 images), the SVD will give sometime 3
33
34
temporal covariance matrix only depending on
Only depending on
Space covariance matrix only depending on
Only depending on
SVD T
2 ,
, ,
Diagonalisation T i j i j t
M T X t T X t dt U U = ⋅ ⋅ ⇒ Σ
2 ,
, ,
Diagonalisation T i j i j X
N T X t T X t dX V V = ⋅ ⋅ ⇒ Σ
35
( ) ( ) { } { } ( ) ( )
{ } ( )
max max
,
x moy x moy x
T T x T x t T t x t T τ τ τ ∂ ≈ + − ⋅ ∂
Asymptotic expansion:
( ) { } ( )
2 x moy
T V t t τ ∂ ≈ ∂
( ) ( )
( )
2 moy moy
U x x x τ τ τ τ ≈ − − U1 (x) and V1(t) are very near from the time and space average signal. U2(x) and V2(t) are the space and time deviation from the space and time average signal.
36
Relative evolution of versus the stress = transvers diffusivity variations.
( )
2
U x
37
38
39
IR Camera Material Laser diode Motorized displacements in X and Y directions
40
If the system is in pure relaxation it gives The diffusivity is to be estimated only if the correlation coefficient is near from 1:
k j i k j i k j i j i
, , , ,
k j i k k k k k j i
T T T T T T
, 1 j i, 1 j i, j , 1 i j , 1 i ,
4 − + + + = ∆
− + − +
k j i k j i k j i
, 1 , ,
+
with ;
2 , ,
x t a Fo
j i j i
∆ ∆ =
;
k j i k j i j i
, , ,
t t t t
F k j i F k j i F k j i k j i F j i
2 , 2 , , , ,
41
ΔT δT ΔT δT
∆ = ∆ =
t t t t t t
F k j i F k j i F j i F k j i F k j i k j i F j i
T T T T T Fo
2 , 2 , , 2 , , , ,
1 δ ρ δ δ
0.2
0.2 0.4 0.6 0.8 1 1.2 Laplacian(T) derivative(T) Heat source on Pure diffusion No diffusion or bad pixel
0.5 1
0.2 0.4 0.6 0.8 1 1.2 1.4 Laplacian(T) derivative(T) Heat source on Pure diffusion No diffusion or bad pixel
Perfect data Noisy data
ρi, j
Ft =
∆Ti, j
k δTi, j k Ft
∆Ti, j
k 2 Ft
δTi, j
k 2 Ft
→ 1
k = δTi, j k
42
Temperature field Evolution of a central pixel Correlation field Correlation at a central pixel Diffusivity field Diffusivity estimation at a central pixel
43
Nombre de Pixels en x Nombre de Pixels en x
k = δTi, j k
ρi, j
Ft =
∆Ti, j
k δTi, j k Ft
∆Ti, j
k 2 Ft
δTi, j
k 2 Ft
→ 1
44