diff --git a/matlab/figs/LMI_obtained_comp_filters.pdf b/matlab/figs/LMI_obtained_comp_filters.pdf new file mode 100644 index 0000000..053bc38 Binary files /dev/null and b/matlab/figs/LMI_obtained_comp_filters.pdf differ diff --git a/matlab/figs/LMI_obtained_comp_filters.png b/matlab/figs/LMI_obtained_comp_filters.png new file mode 100644 index 0000000..a89e379 Binary files /dev/null and b/matlab/figs/LMI_obtained_comp_filters.png differ diff --git a/matlab/figs/comp_cvx_h2i_hinf_norm.pdf b/matlab/figs/comp_cvx_h2i_hinf_norm.pdf new file mode 100644 index 0000000..dd6b901 Binary files /dev/null and b/matlab/figs/comp_cvx_h2i_hinf_norm.pdf differ diff --git a/matlab/figs/comp_cvx_h2i_hinf_norm.png b/matlab/figs/comp_cvx_h2i_hinf_norm.png new file mode 100644 index 0000000..0ad728f Binary files /dev/null and b/matlab/figs/comp_cvx_h2i_hinf_norm.png differ diff --git a/matlab/figs/compare_cvx_h2hinf_comp_filters.pdf b/matlab/figs/compare_cvx_h2hinf_comp_filters.pdf new file mode 100644 index 0000000..ea4a3a5 Binary files /dev/null and b/matlab/figs/compare_cvx_h2hinf_comp_filters.pdf differ diff --git a/matlab/figs/compare_cvx_h2hinf_comp_filters.png b/matlab/figs/compare_cvx_h2hinf_comp_filters.png new file mode 100644 index 0000000..6b334d7 Binary files /dev/null and b/matlab/figs/compare_cvx_h2hinf_comp_filters.png differ diff --git a/matlab/figs/cps_compare_cvx_h2i.pdf b/matlab/figs/cps_compare_cvx_h2i.pdf new file mode 100644 index 0000000..c6efd33 Binary files /dev/null and b/matlab/figs/cps_compare_cvx_h2i.pdf differ diff --git a/matlab/figs/cps_compare_cvx_h2i.png b/matlab/figs/cps_compare_cvx_h2i.png new file mode 100644 index 0000000..7d51f41 Binary files /dev/null and b/matlab/figs/cps_compare_cvx_h2i.png differ diff --git a/matlab/figs/psd_compare_cvx_h2i.pdf b/matlab/figs/psd_compare_cvx_h2i.pdf new file mode 100644 index 0000000..d294fec Binary files /dev/null and b/matlab/figs/psd_compare_cvx_h2i.pdf differ diff --git a/matlab/figs/psd_compare_cvx_h2i.png b/matlab/figs/psd_compare_cvx_h2i.png new file mode 100644 index 0000000..a1f9111 Binary files /dev/null and b/matlab/figs/psd_compare_cvx_h2i.png differ diff --git a/matlab/figs/super_sensor_uncertainty_compare_cvx_h2i.pdf b/matlab/figs/super_sensor_uncertainty_compare_cvx_h2i.pdf new file mode 100644 index 0000000..18a3d1e Binary files /dev/null and b/matlab/figs/super_sensor_uncertainty_compare_cvx_h2i.pdf differ diff --git a/matlab/figs/super_sensor_uncertainty_compare_cvx_h2i.png b/matlab/figs/super_sensor_uncertainty_compare_cvx_h2i.png new file mode 100644 index 0000000..4520a9b Binary files /dev/null and b/matlab/figs/super_sensor_uncertainty_compare_cvx_h2i.png differ diff --git a/matlab/index.html b/matlab/index.html index 46d17aa..c1d9c29 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. @@ -431,23 +444,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{org51f2bdd} +\label{orgecfbe8a} \Phi_{\tilde{n}_1}(\omega) = \Phi_{\tilde{n}_1}(\omega) = 1 \end{equation} -
Figure 1: Fusion of two sensors
@@ -457,16 +470,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
@@ -476,7 +489,7 @@ We obtain the architecture of figure 2. \(H_1(s)\) and \(H_2(s)\) are complementary filters: \begin{equation} -\label{org7eb0521} +\label{orgc62aef9} H_1(s) + H_2(s) = 1 \end{equation} @@ -493,14 +506,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{org29e3384} +\label{orgb11ad80} \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\):
@@ -520,7 +533,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:
@@ -542,11 +555,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.
@@ -616,7 +629,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\):
@@ -706,12 +719,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:
@@ -844,7 +857,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;
@@ -600,15 +613,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);
@@ -976,7 +989,7 @@ Test bounds: 0.0000 < gamma <= 36.7543
1.8 Comparison of the methods
+1.8 Comparison of the methods