diff --git a/matlab/index.html b/matlab/index.html index c1d9c29..cbf7471 100644 --- a/matlab/index.html +++ b/matlab/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +The idea is to combine sensors that works in different frequency range using complementary filters. @@ -444,23 +425,23 @@ The Matlab scripts is accessible here
-Let's consider the sensor fusion architecture shown on figure 1 where two sensors (sensor 1 and sensor 2) are measuring the same quantity \(x\) with different noise characteristics determined by \(N_1(s)\) and \(N_2(s)\). +Let's consider the sensor fusion architecture shown on figure 1 where two sensors (sensor 1 and sensor 2) are measuring the same quantity \(x\) with different noise characteristics determined by \(N_1(s)\) and \(N_2(s)\).
\(\tilde{n}_1\) and \(\tilde{n}_2\) are normalized white noise:
\begin{equation} -\label{orgecfbe8a} +\label{orge64e355} \Phi_{\tilde{n}_1}(\omega) = \Phi_{\tilde{n}_1}(\omega) = 1 \end{equation} -
Figure 1: Fusion of two sensors
@@ -470,16 +451,16 @@ Let's consider the sensor fusion architecture shown on figure 2. +We obtain the architecture of figure 2. -
Figure 2: Fusion of two sensors with ideal dynamics
@@ -489,7 +470,7 @@ We obtain the architecture of figure 2. \(H_1(s)\) and \(H_2(s)\) are complementary filters: \begin{equation} -\label{orgc62aef9} +\label{org9f8097b} H_1(s) + H_2(s) = 1 \end{equation} @@ -506,14 +487,14 @@ We have that the Power Spectral Density (PSD) of \(\hat{x}\) is: And the goal is the minimize the Root Mean Square (RMS) value of \(\hat{x}\): \begin{equation} -\label{orgb11ad80} +\label{orgc722a2b} \sigma_{\hat{x}} = \sqrt{\int_0^\infty \Phi_{\hat{x}}(\omega) d\omega} \end{equation}
Let's define the noise characteristics of the two sensors by choosing \(N_1\) and \(N_2\):
@@ -533,7 +514,7 @@ N2 = (
+
Figure 3: Noise Characteristics of the two sensors (png, pdf)
As \(\tilde{n}_1\) and \(\tilde{n}_2\) are normalized white noise: \(\Phi_{\tilde{n}_1}(\omega) = \Phi_{\tilde{n}_2}(\omega) = 1\) and we have:
@@ -555,11 +536,11 @@ For that, we use the \(\mathcal{H}_2\) Synthesis.
-We use the generalized plant architecture shown on figure 4.
+We use the generalized plant architecture shown on figure 4.
Figure 4: \(\mathcal{H}_2\) Synthesis - Generalized plant used for the optimal generation of complementary filters
-We define the generalized plant \(P\) on matlab as shown on figure 4.
+We define the generalized plant \(P\) on matlab as shown on figure 4.
-The complementary filters obtained are shown on figure 5.
+The complementary filters obtained are shown on figure 5.
-The PSD of the noise of the individual sensor and of the super sensor are shown in Fig. 6.
+The PSD of the noise of the individual sensor and of the super sensor are shown in Fig. 6.
-The Cumulative Power Spectrum (CPS) is shown on Fig. 7.
+The Cumulative Power Spectrum (CPS) is shown on Fig. 7.
@@ -629,7 +610,7 @@ The obtained RMS value of the super sensor is lower than the RMS value of the in
Figure 5: Obtained complementary filters using the \(\mathcal{H}_2\) Synthesis (png, pdf)
Figure 6: Power Spectral Density of the estimated \(\hat{x}\) using the two sensors alone and using the optimally fused signal (png, pdf)
Figure 7: Cumulative Power Spectrum of individual sensors and super sensor using the \(\mathcal{H}_2\) synthesis (png, pdf)
-An alternative Alternative formulation of the \(\mathcal{H}_2\) synthesis is shown in Fig. 8.
+An alternative Alternative formulation of the \(\mathcal{H}_2\) synthesis is shown in Fig. 8.
Figure 8: Alternative formulation of the \(\mathcal{H}_2\) synthesis
Another objective that we may have is that the noise of the super sensor \(n_{SS}\) is following the minimum of the noise of the two sensors \(n_1\) and \(n_2\):
@@ -719,12 +700,12 @@ We could try to approach that with the \(\mathcal{H}_\infty\) synthesis by using
-As shown on Fig. 3, the frequency where the two sensors have the same noise level is around 9Hz.
+As shown on Fig. 3, the frequency where the two sensors have the same noise level is around 9Hz.
We will thus choose weighting functions such that the merging frequency is around 9Hz.
-The weighting functions used as well as the obtained complementary filters are shown in Fig. 9.
+The weighting functions used as well as the obtained complementary filters are shown in Fig. 9.
Figure 9: Weights and Complementary Fitlers obtained (png, pdf)
We have that:
@@ -857,7 +838,7 @@ We use this as the weighting functions for the \(\mathcal{H}_\infty\) synthesis
-The weighting function and the obtained complementary filters are shown in Fig. 10.
+The weighting function and the obtained complementary filters are shown in Fig. 10.
Figure 10: Weights and Complementary Fitlers obtained (png, pdf)
Figure 11: Weights and Complementary Fitlers obtained (png, pdf)
The three methods are now compared.
-The Power Spectral Density of the super sensors obtained with the complementary filters designed using the three methods are shown in Fig. 12.
+The Power Spectral Density of the super sensors obtained with the complementary filters designed using the three methods are shown in Fig. 12.
-The Cumulative Power Spectrum for the same sensors are shown on Fig. 13.
+The Cumulative Power Spectrum for the same sensors are shown on Fig. 13.
-The RMS value of the obtained super sensors are shown on table 1.
+The RMS value of the obtained super sensors are shown on table 1.
1.3 H-Two Synthesis
+1.3 H-Two Synthesis
P = [0 N2 1;
@@ -613,15 +594,15 @@ Finally, we define \(H_2(s) = 1 - H_1(s)\).
1.4 Alternative H-Two Synthesis
+1.4 Alternative H-Two Synthesis
1.5 H-Infinity Synthesis - method A
+1.5 H-Infinity Synthesis - method A
1.6 H-Infinity Synthesis - method B
+1.6 H-Infinity Synthesis - method B
1.7 H-Infinity Synthesis - method C
+1.7 H-Infinity Synthesis - method C
Wp = 0.56*(inv(N1)+inv(N2))/(1 + s/2/pi/1000);
@@ -989,7 +970,7 @@ Test bounds: 0.0000 < gamma <= 36.7543
1.8 Comparison of the methods
+1.8 Comparison of the methods