Chapter 4
Chapter 4
1
1
lim
&
( )
&
( ) . (4.2)
In the implementation, we can only approximate the expected value by choosing a large but finite
number for k and possibly checking for convergence. To avoid storage of all past records, we use
a recursive formula for the above approximation as
{ }
R R
ij ij i j
k
k
k k k k ( ) ( ) ( )
&
( )
&
( ) +
1
1 1 , (4.3)
where the index k denotes the time step in which R
ij
is computed. This index notation is different
from the usual notation for correlation functions, where the index k would normally show the
delay between
&
( )
i
k and
&
( )
j
k .
If
&
( )
i
k and
&
( )
j
k are modal coordinates, then they must be orthogonal to each other, therefore,
uncorrelated. Thus, the correlation between the two modal coordinates must be zero.
b z z
a z a z
i
i i
1
1 2
1
1
2
2
1
,
, ,
( )
+ +
&
( )
( )
i
f
&
( )
( )
j
f
b z z
a z a z
j
j j
1
1 2
1
1
2
2
1
,
, ,
( )
+ +
&
( )
i
k
&
( )
j
k
f(k)
k
k
k
64
lim ( ) ;
k
ij
k i j
R 0 . (4.4)
This principle will be used to develop a method to separate the structural response into its modal
coordinates.
Simulation of the filters in Fig. 4.4 with a Gaussian zero-mean random input results in signals in
Fig. 4.5 for modes 1 and 3. The product of the two outputs
&
( )
1
k and
&
( )
3
k is averaged over
time to estimate the zero-lag cross correlation function, R
13
( ) k . As expected, the computed
zero-lag cross correlation between the two modal coordinates approaches zero as more and more
samples are included in the computation.
0
5x 10
-3
0
2x 10
-5
0 0.5 1 1.5
0
1 x 10
-7
Time (s)
-0.01
0
0.01
Avg
[ & & ]
1 3
& &
1 3
&
1
&
3
-1 x 10
-7
-2x 10
-5
-5x 10
-3
Figure 4.5 Mode-1 coordinate, mode-3 coordinate, product of mode-1 and mode-3 coordinates,
average of product of mode-1 and mode-3 coordinates.
65
4.2.2 Adaptive Computation of Sensor Gain Matrix
We can compute the zero-lag correlations between all modes of a structure, and define a matrix of
correlations among sensor outputs at zero lag as
R
R R R
R
R R
1
]
1
1
1
1
11 12 1
12
1
L
M
M
L
M
M MM
, (4.5)
where the components R
ij
, i = 1, , M, j = 1, , M, are defined as in Eq. (4.2), and computed
as in Eq. (4.3). M is the number of modes included in calculations. Since the correlations between
any different modes is zero, R must be diagonal.
Now consider the system in Fig. 4.6. The correlations between the sensor outputs
&
$
m
(m = 1, ,
M) will form a diagonal matrix only if the sensor outputs are proportional to modal coordinates.
This condition will be achieved only if the gain matrix W has the correct components. If the gain
matrix does not have the correct component, the correlations between the sensor outputs will not
form a diagonal matrix. The foregoing notion can serve as a basis for developing algorithms to
adjust the sensor gain matrix W iteratively until the correlation matrix is diagonal. The
development of such algorithms will be explained as follows.
Define the correlation between sensor outputs as
]
R
'
1
]
1
1
1
E
&
$
&
$
&
$
&
$
1
1
M L
M
M
(4.6)
where M is the number of modes in the frequency range of interest. Substituting Eq. (2.32) into
Eq. (4.6), we can express the correlation matrix as
[ ]
R WVV W E
T T
. (4.7)
66
Figure 4.6 Adjusting sensor gain matrix to diagonalize correlation matrix.
In the adaptive system, the sensor gain matrix will be adjusted from time to time. However, the
sensor gain matrix W that transforms E[VV
T
] into modal coordinates is a constant matrix.
Therefore, for the purpose of obtaining W we can simplify Eq. (4.7) into
[ ]
R W VV W E
T T
. (4.8)
V
n
V
N
V
1
Beam
PVDF
segments
f(k)
Adaptive gain
adjuster
&
$
1
&
$
m
&
$
M
W
1,1
W
m,N
W
m,1
W
M,N
W
1,n
W
m,n
W
M,n
W
M,1
W
1,N
67
Next, we define the expected value term in the above equation as
[ ]
S VV E
T
. (4.9)
If S is diagonalizable, with an eigenvector matrix
[ ]
= =
1
L
M
, (4.10)
where
m
is the m
th
eigenvector of S, then the matrix
1 1
S is diagonal. Moreover, is an
eigenvector matrix, so
= =
1 T
. (4.11)
Thus, to diagonalize the sensor output correlation matrix R in Eq. (4.8) we can simply set the
gain matrix to
W
T
. (4.12)
4.3 Numerical Example
The above equation is a very important conclusion in this research. The equation states that: if we
set the sensor gain matrix to the transpose of the eigenvector matrix of the expected values of the
products between segment outputs, then the outputs of the sensor will be orthogonal to each
other.
To verify the above theory, we simulate the system in Fig. 4.6 with a computation program shown
in Fig. 4.7. The physical properties of the system are as in Subsection 3.1.1. The segment output
correlation matrix S in Eq. (4.9) is approximated with a recursive formula similar to Eq. (4.3).
The sensor gain matrix W is the transpose of the eigenvector matrix of S. As the estimate for S
becomes closer to the true expected values of the correlation between the segment outputs, the
sensor gain matrix W in Eq. (4.12) becomes closer to a gain matrix that results in orthogonal
sensor outputs. This means that the sensor output correlation matrix in Eq. (4.6) becomes closer
to a diagonal matrix. The orthogonal sensor outputs will be proportional to the modal
coordinates.
We run the above simulation with the beam example with a Gaussian random input force and
obtain the following results. At the outset, k = 16, the sensor gain matrix W (let us call this gain
matrix W(16)) is as shown in Fig. 4.8. Each plot shows the gains for one mode. This early guess
68
of sensor gain matrix W does not really resemble the ideal sensor gain matrix in Fig. 4.9 (which is
a rescaled version of Fig. 3.6.)
Figure 4.7 Sensor gain matrix adjustment using eigenvector matrix of segment output
correlations.
0.2
0.4
-0.6
0
0.2
-0.4
0
0.4
-0.6
0
0.2
-0.5
0
0.5
-0.4
0
0.2
-0.4
0
0.4
-0.4
0
0.4
-0.2
0
0.4
-0.4
0
0.4
Mode
1
2
3
4
5
6
7
8
2 4 6 8 10
9
10
Segment 1 3 5 7 9 2 4 6 8 10 3 5 7 9 1
Figure 4.8 Sensor gain matrix computed with 16 sets of time data, W(16).
Segment
output
matrix
C
S
Beam
dynamics
f(k)
Modal
coordinates
(no access)
Segment
outputs V
{ }
S S VV ( ) ( ) ( ) k
k
k k +
1
1 1
T
W ( ) Eigenvector matrixof
T
S
Adjustable
gain W
&
$
( ) k
Sensor
outputs
69
10
Mode 1
-2
0
2
2
-1
0
1
3
-0.5
0
0.5
4
-0.2
0
0.4
5
-0.2
0
0.2
6
-0.2
0
0.2
7
-0.2
0
0.2
8
2 4 6 8 10
-0.1
0
0.2
9
-0.1
0
0.05
10
Segment 1 3 5 7 9 2 4 6 8 10 3 5 7 9 1
0
Figure 4.9 Ideal sensor gain matrix.
With a sensor gain matrix that is so different from the ideal, we cannot expect the sensor outputs
to be uncorrelated. To verify this statement, we run another simulation with 8192 points using the
gain matrix in Fig. 4.8. Then we compute the correlation matrix of the resulting sensor outputs.
The correlation matrix is shown in Fig. 4.10.a. in a picture format suitable for showing symmetric
matrices with large diagonal elements. The height of each bar in this figure shows the value of the
corresponding component of the correlation matrix. Since the (10,10) component of the
correlation matrix is much greater than the other components, the scaling of the heights obscure
the depiction of the other components. Rescaling the picture as in Fig. 4.10.b gives a better idea
of the relative values of the matrix components. Notice that the sensor output correlation matrix is
far from being diagonal. This means that the sensor gain matrix results in sensor outputs that are
not uncorrelated.
At time step k = 256, the sensor gain matrix is as shown in Fig. 4.11. It appears that the segment
gains are starting to evolve towards the ideal gain matrix (Fig. 4.9). However, with this segment
gain matrix, the output correlation matrix is still not diagonal (See Fig. 4.12.)
A question that naturally arises from the above examples is: How many time steps should be used
to estimate the expected value of segment outputs (Eq. (4.9)) to obtain a sensor gain matrix (Eq.
(4.12)) that will uncorrelate the sensor outputs? To answer this question, we need to go back to
Eq. (4.1) and determine the number of time data points that will make Eq. (4.2) a reasonable
70
approximation to Eq. (4.1). To this end, we can check a few estimates for the correlation between
different modal coordinates. We know that the correlation should be close to zero. If we examine
Fig. 4.5 again, we can observe that the estimate for the correlation between
&
( )
1
k and
&
( )
3
k
settles around zero after about 30 000 time data points. For k > 30000, this estimate is almost
unaffected by large fluctuations in
&
( )
1
k or
&
( )
3
k . We also know that
&
( )
1
k is the most slowly
varying modal coordinate of the system. Therefore, if the product of
&
( )
1
k and another modal
coordinate settles around zero, evidently other products of modal coordinates also settle around
their expected values. Based on the above observation, we compute the sensor gain matrix W
using 32768 time-data points. The resulting sensor gain matrix is shown in Fig. 4.13. Notice that
each row of this sensor gain matrix is very nearly proportional to the corresponding row in the
ideal sensor gain matrix shown in Fig. 4.9. Figure 4.14 shows that correlation between the sensor
outputs for this sensor gain matrix is almost diagonal.
0
10 0
10
-0.5
0.5
1
2
2.5
x 10
-6
M
o
d
e
S
e
n
s
o
r
R
(
V
^
2
)
Using W(16)
a)
Figure 4.10.a Sensor output correlation matrix using W(16).
(Drawn to scale)
71
0
5
10 0
5
10
-5
0
5
x 10
-7
Mode
S
e
n
s
o
r
R
(
V
^
2
)
Using W(16)
scale)
(Out of
3e-006
b)
Figure 4.10.b Sensor output correlation matrix using W(16).
(Not to scale)
0.2
0.4
-0.4
0
0.4
-0.4
0
0.2
-0.5
0
0.5
-0.4
0
0.4
-0.4
0
0.4
-0.5
0
0.5
-0.6
0
0.4
-0.4
0
0.4
-0.4
0
0.4
Mode
1
2
3
4
5
6
7
8
2 4 6 8 10
9
10
Segment 1 3 5 7 9 2 4 6 8 10 3 5 7 9 1
Figure 4.11 Sensor gain matrix W(256).
0
5
10 0
5
10
0
2
4
6
8
x 10
-7
Mode
S
e
n
s
o
r
R
(
V
^
2
)
k = 256
scale)
(Out of
1.11e-006
Figure 4.12 Sensor output correlation matrix resulting from W(256).
0.2
0.4
-0.4
0
0.4
-0.4
0
0.4
-0.4
0
0.4
-0.2
0
0.2
-0.4
0
0.4
-0.2
0
0.4
-0.4
0
0.4
-0.2
0
0.4
-0.2
0
0.2
Mode
1
2
3
4
5 6
7 8
2 4 6 8 10
9
10
Segment 1 3 5 7 9 2 4 6 8 10 3 5 7 9 1
Figure 4.13 Sensor gain matrix calculated using 32768 time data points.
73
0
5
10 0
5
10
0
2
4
6
8
10
x 10
-7
Mode
S
e
n
s
o
r
R
(
V
^
2
)
Using W(32768)
scale)
(Out of
3.29e-006
Figure 4.14 Sensor output correlation matrix resulting from W(32768).
If we continue using more and more time points, we may obtain better estimate for the segment
output correlation matrix and a better sensor gain matrix. However, the improvements may be
marginal because the estimates for the correlations have settled around their theoretical values.
For example, the sensor gain matrix obtained using 49152 time data points, shown in Fig. 4.15, is
very close to the sensor gain matrix obtained using 32768 points, shown in Fig. 4.13. The sensor
output correlation matrix obtained with 49152 time data points (Fig. 4.16) is also very similar to
the corresponding matrix obtained with 32768 points (Fig. 4.14). Evidently, the correlations have
settled around their theoretical values.
-0.4
-0.2
-0.4
0
0.4
-0.4
0
0.4
-0.5
0
0.5
-0.4
0
0.4
-0.4
0
0.4
-0.2
0
0.4
-0.4
0
0.4
-0.4
0
0.4
-0.2
0
0.2
Mode
1
2
3
4
5 6
7 8
2 4 6 8 10
9
10
Segment 1 3 5 7 9 2 4 6 8 10 3 5 7 9 1
Figure 4.15 Sensor gain matrix calculated using 49152 time data points.
0
5
10 0
5
10
0
2
4
6
8
10
x 10
-7
Mode
S
e
n
s
o
r
R
(
V
^
2
)
Using W(49152)
scale)
(Out of
3.29e-006
Figure 4.16 Sensor output correlation matrix resulting from W(49152).
75
Each row of the gain matrix represents a sensor that is supposed to sense only one particular
modal coordinate and filter out other modal coordinates. The rows of the gain matrix obtained
with the adaptive technique using 32768 time data points are not exactly proportional to the
corresponding rows in the ideal gain matrix that we would obtain analytically if we knew the
mode shapes of the structure. Therefore, the sensor outputs obtained with the adaptive sensor in
Fig. 4.7 may not be exactly proportional to the ideal modal coordinates. To compare the sensor
outputs to the ideal modal coordinates, we obtain the frequency response functions
(
&
$
( ) ( )
m
f , m = 1, , 10) of the system in Fig. 4.7, and compare them with the frequency
response functions (
&
( ) ( )
m
f , m = 1, , 10) of the same system with the ideal gain matrix.
The comparison is shown in Fig. 4.17.
Around the natural frequencies, the adaptive sensor outputs are nearly proportional to the modal
coordinates. Away from the natural frequencies some of the adaptive sensor outputs are
corrupted by signals from modes that the sensor should not be sensitive to. The imperfect filtering
of other modes means that the sensor gain matrix still needs some refinement. A method to refine
the sensor gain matrix will be presented in the next chapter. The important statement at this point
is that the above numerical simulation and frequency-domain verification show that the sensor
gain matrix computation scheme described in this chapter converges closely to the ideal sensor
gain matrix. Thus, we have established the basis for a new method to compute the sensor gain
matrix of a modal sensor without knowledge of the mode shapes of the structure.
Being in its conception, this method still needs much more development before it can be applied
as a standard modal filtering technique. In the next chapter we will discuss the problems that must
be solved to implement this method.
4.4 Chapter Summary
As mentioned in Chapter 1, most methods for designing modal sensors for structures rely on
precise knowledge of the modal properties of the structures, especially the mode shapes. Modal
sensors designed using inaccurate mode shape functions may not filter out undesired modes which
the sensors are not supposed to sense. Some of the currently available methods may enables us to
design a modal sensor without knowledge of the mode shapes. However, these methods require
that we know the natural frequencies and modal damping of the structure. In this dissertation we
attempt to develop another method to design a modal sensor without even knowing the above
modal properties of the structure.
In this chapter we established the basis for such a method. This method is based on the fact that
modal coordinates of a vibrating structure are uncorrelated to each other. In our case study, the
sensor is composed of strain sensing segments. We produce the uncorrelated outputs by
transforming the segment outputs with a correct sensor gain matrix. We obtain this gain matrix
from the estimated expected values of the correlation between the segment outputs.
76
0 200 400 600
0
1
Mode 1
0 200 400 600
0
1
Mode 2
0 500 1000
0
1
Mode 3
0 500 1000
0
1
Mode 4
0.2
0.4
0.6
0.8
0.2
0.4
0.6
0.8
0.2
0.4
0.6
0.8
0.2
0.4
0.6
0.8
0 500 1000 1500
0
1
Mode 5
0 1000 2000
1
Mode 6
Frequency (Hz)
0.2
0.4
0.6
0.8
0.2
0.4
0.6
0.8
Frequency (Hz)
Figure 4.17 Magnitudes of adaptive sensor outputs (solid lines) and ideal modal coordinates
(dotted lines).
77
0 1000 2000 3000
0.2
0.4
0.6
0.8
1
Mode 7
0 1000 2000 3000
0.2
0.4
0.6
0.8
1
Mode 8
0 2000 4000
0.2
0.4
0.6
0.8
1
Mode 9
Frequency (Hz)
0 2000 4000
0.2
0.4
0.6
0.8
1
Mode 10
Frequency (Hz)
Figure 4.17 Magnitudes of adaptive sensor outputs (solid lines) and ideal modal coordinates
(dotted lines).
We showed that the sensor outputs produced by the transformation with this sensor gain matrix
are, indeed, uncorrelated to each other. We also showed that each row of the sensor gain matrix is
proportional to the corresponding row in the ideal sensor gain matrix that would result from
analytical calculation using known mode shape functions.
The sensor gain matrix that will produce modal coordinates can be shown to be equal to the
eigenvector matrix of the segment output correlation matrix. The segment output correlation
matrix is defined as a matrix that contains the correlations between the segment outputs at zero
time lag. This segment output correlation matrix can be obtained on-line by processing the
outputs of the sensor segments when the structure is excited with a persistent excitation such as
Gaussian random force. These segment outputs are multiplied by each other. The products are
averaged over time to estimate the expected values of the products. The estimation improves with
78
time as more data points are used to estimate the correlations. The resulting sensor gain matrix
converges over time to the ideal sensor gain matrix.
The computation of the sensor gain matrix involves the computation of the eigenvector matrix of
the segment output correlation matrix. In the application, the eigenvector computation must be
done iteratively. However, the eigenvectors do not have to be updated frequently, since changes
in the eigen-properties of the structure are generally very slow.
The FRFs from force to sensor outputs are generally proportional to the FRFs from force to
modal coordinates. Away from natural frequencies, the sensor outputs may contain a little
contribution from unwanted modes. To eliminate this sensitivity to unwanted modes, the adaptive
design procedure described in this chapter still needs refinement.