In order to obtain a better estimate of a quantity being measured, several sensors having different characteristics can be merged with a technique called ``sensor fusion''.
The obtained ``super sensor'' combines the benefits of the individual sensors provided that the complementary filters used in the fusion are well designed.
In this study, this issue is addressed and a new method for designing complementary filters is proposed.
This method uses weighting functions to specify the wanted shape of the complementary filters that are then obtained using the standard \(\mathcal{H}_\infty\) synthesis.
The proper choice of the weighting functions is discussed, and the effectiveness and simplicity of the design method is highlighted using several examples.
Second, the frequency range in which the measurement is relevant is bounded by the bandwidth of the sensor.
One way to overcome these limitations is to combine several sensors using a technique called ``sensor fusion''~\cite{bendat57_optim_filter_indep_measur_two}.
In some situations, sensor fusion is used to increase the bandwidth of the measurement~\cite{shaw90_bandw_enhan_posit_measur_using_measur_accel,zimmermann92_high_bandw_orien_measur_contr,min15_compl_filter_desig_angle_estim}.
For instance, in~\cite{shaw90_bandw_enhan_posit_measur_using_measur_accel} the bandwidth of a position sensor is increased by fusing it with an accelerometer providing the high frequency motion information.
For other applications, sensor fusion is used to obtain an estimate of the measured quantity with lower noise~\cite{hua05_low_ligo,hua04_polyp_fir_compl_filter_contr_system,plummer06_optim_compl_filter_their_applic_motion_measur,robert12_introd_random_signal_applied_kalman}.
More recently, the fusion of sensors measuring different physical quantities has been proposed to obtain interesting properties for control~\cite{collette15_sensor_fusion_method_high_perfor,yong16_high_speed_vertic_posit_stage}.
In~\cite{collette15_sensor_fusion_method_high_perfor}, an inertial sensor used for active vibration isolation is fused with a sensor collocated with the actuator for improving the stability margins of the feedback controller. \par
Practical applications of sensor fusion are numerous.
It is widely used for the attitude estimation of several autonomous vehicles such as unmanned aerial vehicle~\cite{baerveldt97_low_cost_low_weigh_attit,corke04_inert_visual_sensin_system_small_auton_helic,jensen13_basic_uas} and underwater vehicles~\cite{pascoal99_navig_system_desig_using_time,batista10_optim_posit_veloc_navig_filter_auton_vehic}.
Naturally, it is of great benefits for high performance positioning control as shown in~\cite{shaw90_bandw_enhan_posit_measur_using_measur_accel,zimmermann92_high_bandw_orien_measur_contr,min15_compl_filter_desig_angle_estim,yong16_high_speed_vertic_posit_stage}.
Sensor fusion was also shown to be a key technology to improve the performance of active vibration isolation systems~\cite{tjepkema12_sensor_fusion_activ_vibrat_isolat_precis_equip}.
Emblematic examples are the isolation stages of gravitational wave detectors~\cite{collette15_sensor_fusion_method_high_perfor,heijningen18_low} such as the ones used at the LIGO~\cite{hua05_low_ligo,hua04_polyp_fir_compl_filter_contr_system} and at the Virgo~\cite{lucia18_low_frequen_optim_perfor_advan}. \par
There are mainly two ways to perform sensor fusion: either using a set of complementary filters~\cite{anderson53_instr_approac_system_steer_comput} or using Kalman filtering~\cite{brown72_integ_navig_system_kalman_filter,odry18_kalman_filter_mobil_robot_attit_estim}.
For sensor fusion applications, both methods are sharing many relationships~\cite{brown72_integ_navig_system_kalman_filter,higgins75_compar_compl_kalman_filter,robert12_introd_random_signal_applied_kalman,becker15_compl_filter_desig_three_frequen_bands}.
However, for Kalman filtering, assumptions must be made about the probabilistic character of the sensor noises~\cite{robert12_introd_random_signal_applied_kalman} whereas it is not the case with complementary filters.
Furthermore, the advantages of complementary filters over Kalman filtering for sensor fusion are their general applicability, their low computational cost~\cite{higgins75_compar_compl_kalman_filter}, and the fact that they are intuitive as their effects can be easily interpreted in the frequency domain. \par
In the early days of complementary filtering, analog circuits were employed to physically realize the filters~\cite{anderson53_instr_approac_system_steer_comput}.
Analog complementary filters are still used today~\cite{yong16_high_speed_vertic_posit_stage,moore19_capac_instr_sensor_fusion_high_bandw_nanop}, but most of the time they are now implemented digitally as it allows for much more flexibility. \par
Several design methods have been developed over the years to optimize complementary filters.
The easiest way to design complementary filters is to use analytical formulas.
Depending on the application, the formulas used are of first order~\cite{corke04_inert_visual_sensin_system_small_auton_helic,yeh05_model_contr_hydraul_actuat_two,yong16_high_speed_vertic_posit_stage}, second order~\cite{baerveldt97_low_cost_low_weigh_attit,stoten01_fusion_kinet_data_using_compos_filter,jensen13_basic_uas} or even higher orders~\cite{shaw90_bandw_enhan_posit_measur_using_measur_accel,zimmermann92_high_bandw_orien_measur_contr,stoten01_fusion_kinet_data_using_compos_filter,collette15_sensor_fusion_method_high_perfor,matichard15_seism_isolat_advan_ligo}. \par
As the characteristics of the super sensor depends on the proper design of the complementary filters~\cite{dehaeze19_compl_filter_shapin_using_synth}, several optimization techniques have been developed.
Some are based on the finding of optimal parameters of analytical formulas~\cite{jensen13_basic_uas,min15_compl_filter_desig_angle_estim,becker15_compl_filter_desig_three_frequen_bands}, while other are using convex optimization tools~\cite{hua04_polyp_fir_compl_filter_contr_system,hua05_low_ligo} such as linear matrix inequalities~\cite{pascoal99_navig_system_desig_using_time}.
As shown in~\cite{plummer06_optim_compl_filter_their_applic_motion_measur}, the design of complementary filters can also be linked to the standard mixed-sensitivity control problem.
Therefore, all the powerful tools developed for the classical control theory can also be used for the design of complementary filters.
For instance, in~\cite{jensen13_basic_uas} the two gains of a Proportional Integral (PI) controller are optimized to minimize the noise of the super sensor. \par
The common objective of all these complementary filters design methods is to obtain a super sensor that has desired characteristics, usually in terms of noise and dynamics.
Moreover, as reported in~\cite{zimmermann92_high_bandw_orien_measur_contr,plummer06_optim_compl_filter_their_applic_motion_measur}, phase shifts and magnitude bumps of the super sensors dynamics can be observed if either the complementary filters are poorly designed or if the sensors are not well calibrated.
Hence, the robustness of the fusion is also of concern when designing the complementary filters.
Although many design methods of complementary filters have been proposed in the literature, no simple method that allows to specify the desired super sensor characteristic while ensuring good fusion robustness has been proposed. \par
Fortunately, both the robustness of the fusion and the super sensor characteristics can be linked to the magnitude of the complementary filters~\cite{dehaeze19_compl_filter_shapin_using_synth}.
Based on that, this paper introduces a new way to design complementary filters using the \(\mathcal{H}_\infty\) synthesis which allows to shape the complementary filters' magnitude in an easy and intuitive way. \par
Section~\ref{sec:requirements} introduces the sensor fusion architecture and demonstrates how typical requirements can be linked to the complementary filters' magnitude.
In Section~\ref{sec:hinf_method}, the shaping of complementary filters is formulated as an \(\mathcal{H}_\infty\) optimization problem using weighting functions, and the simplicity of the proposed method is illustrated with an example.
Section~\ref{sec:discussion} compares the proposed synthesis method with the classical mixed-sensitivity synthesis, and extends it for the shaping of more than two complementary filters.
A general sensor fusion architecture using complementary filters is shown in Fig.~\ref{fig:sensor_fusion_overview} where several sensors (here two) are measuring the same physical quantity \(x\).
The two sensors output signals \(\hat{x}_1\) and \(\hat{x}_2\) are estimates of \(x\).
This means that the super sensor provides an estimate \(\hat{x}\) of \(x\) which can be more accurate over a larger frequency band than the outputs of the individual sensors.
In order to study such sensor fusion architecture, a model for the sensors is required.
Such model is shown in Fig.~\ref{fig:sensor_model} and consists of a linear time invariant (LTI) system \(G_i(s)\) representing the sensor dynamics and an input \(n_i\) representing the sensor noise.
This normalization consists of using an estimate \(\hat{G}_i(s)\) of the sensor dynamics \(G_i(s)\), and filtering the sensor output by the inverse of this estimate \(\hat{G}_i^{-1}(s)\) as shown in Fig.~\ref{fig:sensor_model_calibrated}.
It is here supposed that the sensor inverse \(\hat{G}_i^{-1}(s)\) is proper and stable.
The two sensors are measuring the same physical quantity \(x\) with dynamics \(G_1(s)\) and \(G_2(s)\), and with \emph{uncorrelated} noises \(n_1\) and \(n_2\).
The signals from both normalized sensors are fed into two complementary filters \(H_1(s)\) and \(H_2(s)\) and then combined to yield an estimate \(\hat{x}\) of \(x\).
Thus, this sensor fusion architecture permits to filter the noise of both sensors without introducing any distortion in the physical quantity to be measured.
The estimation error \(\delta x\), defined as the difference between the sensor output \(\hat{x}\) and the measured quantity \(x\), is computed for the super sensor~\eqref{eq:estimate_error}.
As shown in~\eqref{eq:noise_filtering_psd}, the Power Spectral Density (PSD) of the estimation error \(\Phi_{\delta x}\) depends both on the norm of the two complementary filters and on the PSD of the noise sources \(\Phi_{n_1}\) and \(\Phi_{n_2}\).
If the two sensors have identical noise characteristics, \(\Phi_{n_1}(\omega)=\Phi_{n_2}(\omega)\), a simple averaging (\(H_1(s)= H_2(s)=0.5\)) is what would minimize the super sensor noise.
In such case, to lower the noise of the super sensor, the norm \(|H_1(j\omega)|\) has to be small when \(\Phi_{n_1}(\omega)\) is larger than \(\Phi_{n_2}(\omega)\) and the norm \(|H_2(j\omega)|\) has to be small when \(\Phi_{n_2}(\omega)\) is larger than \(\Phi_{n_1}(\omega)\).
The nominal model is the estimated model used for the normalization \(\hat{G}_i(s)\), \(\Delta_i(s)\) is any stable transfer function satisfying \(|\Delta_i(j\omega)| \le1,\ \forall\omega\), and \(w_i(s)\) is a weighting transfer function representing the magnitude of the uncertainty.
The weight \(w_i(s)\) is chosen such that the real sensor dynamics \(G_i(j\omega)\) is contained in the uncertain region represented by a circle in the complex plane, centered on \(1\) and with a radius equal to \(|w_i(j\omega)|\).
As the nominal sensor dynamics is taken as the normalized filter, the normalized sensor can be further simplified as shown in Fig.~\ref{fig:sensor_model_uncertainty_simplified}.
The super sensor dynamics~\eqref{eq:super_sensor_dyn_uncertainty} is no longer equal to \(1\) and now depends on the sensor dynamical uncertainty weights \(w_i(s)\) as well as on the complementary filters \(H_i(s)\).
The dynamical uncertainty of the super sensor can be graphically represented in the complex plane by a circle centered on \(1\) with a radius equal to \(|w_1(j\omega) H_1(j\omega)| + |w_2(j\omega) H_2(j\omega)|\) (Fig.~\ref{fig:uncertainty_set_super_sensor}).
\caption{\label{fig:uncertainty_set_super_sensor}Uncertainty region of the super sensor dynamics in the complex plane (grey circle). The contribution of both sensors 1 and 2 to the total uncertainty are represented respectively by a blue circle and a red circle. The frequency dependency \(\omega\) is here omitted.}
The super sensor dynamical uncertainty, and hence the robustness of the fusion, clearly depends on the complementary filters' norm.
For instance, the phase \(\Delta\phi(\omega)\) added by the super sensor dynamics at frequency \(\omega\) is bounded by \(\Delta\phi_{\text{max}}(\omega)\) which can be found by drawing a tangent from the origin to the uncertainty circle of the super sensor (Fig.~\ref{fig:uncertainty_set_super_sensor}) and that is mathematically described by~\eqref{eq:max_phase_uncertainty}.
As it is generally desired to limit the maximum phase added by the super sensor, \(H_1(s)\) and \(H_2(s)\) should be designed such that \(\Delta\phi\) is bounded to acceptable values.
Typically, the norm of the complementary filter \(|H_i(j\omega)|\) should be made small when \(|w_i(j\omega)|\) is large, i.e., at frequencies where the sensor dynamics is uncertain.
The synthesis objective is to shape the norm of two filters \(H_1(s)\) and \(H_2(s)\) while ensuring their complementary property~\eqref{eq:comp_filter}.
This is equivalent as to finding proper and stable transfer functions \(H_1(s)\) and \(H_2(s)\) such that conditions~\eqref{eq:hinf_cond_complementarity}, \eqref{eq:hinf_cond_h1} and~\eqref{eq:hinf_cond_h2} are satisfied.
\(W_1(s)\) and \(W_2(s)\) are two weighting transfer functions that are carefully chosen to specify the maximum wanted norm of the complementary filters during the synthesis.
In this section, it is shown that the synthesis objective can be easily expressed as a standard \(\mathcal{H}_\infty\) optimization problem and therefore solved using convenient tools readily available.
Consider the generalized plant \(P(s)\) shown in Fig.~\ref{fig:h_infinity_robust_fusion_plant} and mathematically described by~\eqref{eq:generalized_plant}.
Applying the standard \(\mathcal{H}_\infty\) synthesis to the generalized plant \(P(s)\) is then equivalent as finding a stable filter \(H_2(s)\) which based on \(v\), generates a signal \(u\) such that the \(\mathcal{H}_\infty\) norm of the system in Fig.~\ref{fig:h_infinity_robust_fusion_fb} from \(w\) to \([z_1, \ z_2]\) is less than one~\eqref{eq:hinf_syn_obj}.
By then defining \(H_1(s)\) to be the complementary of \(H_2(s)\)\eqref{eq:definition_H1}, the \(\mathcal{H}_\infty\) synthesis objective becomes equivalent to~\eqref{eq:hinf_problem} which ensures that~\eqref{eq:hinf_cond_h1} and~\eqref{eq:hinf_cond_h2} are satisfied.
Therefore, applying the \(\mathcal{H}_\infty\) synthesis to the standard plant \(P(s)\)\eqref{eq:generalized_plant} will generate two filters \(H_2(s)\) and \(H_1(s)\triangleq1- H_2(s)\) that are complementary~\eqref{eq:comp_filter_problem_form} and such that there norms are bellow specified bounds \eqref{eq:hinf_cond_h1},~\eqref{eq:hinf_cond_h2}.
Note that there is only an implication between the \(\mathcal{H}_\infty\) norm condition~\eqref{eq:hinf_problem} and the initial synthesis objectives~\eqref{eq:hinf_cond_h1} and~\eqref{eq:hinf_cond_h2} and not an equivalence.
Hence, the optimization may be a little bit conservative with respect to the set of filters on which it is performed, see~\cite[Chap. 2.8.3]{skogestad07_multiv_feedb_contr}.
The proper design of these weighting functions is of primary importance for the success of the presented \(\mathcal{H}_\infty\) synthesis of complementary filters.
Second, the order of the weighting functions should stay reasonably small in order to reduce the computational costs associated with the solving of the optimization problem and for the physical implementation of the filters (the synthesized filters' order being equal to the sum of the weighting functions' order).
When designing complementary filters, it is usually desired to specify their slopes, their ``blending'' frequency and their maximum gains at low and high frequency.
\caption{\label{fig:weight_formula}Magnitude of a weighting function generated using formula~\eqref{eq:weight_formula}, \(G_0=1e^{-3}\), \(G_\infty=10\), \(\omega_c =\SI{10}{Hz}\), \(G_c =2\), \(n =3\).}
Parameters used are summarized in Table~\ref{tab:weights_params}.
The inverse magnitudes of the designed weighting functions, which are representing the maximum allowed norms of the complementary filters, are shown by the dashed lines in Fig.~\ref{fig:weights_W1_W2}.
The standard \(\mathcal{H}_\infty\) synthesis is then applied to the generalized plant of Fig.~\ref{fig:h_infinity_robust_fusion_plant} and efficiently solved using Matlab~\cite{matlab20}.
The \(\mathcal{H}_\infty\) norm is here found to be close to one~\eqref{eq:hinf_synthesis_result} which indicates that the synthesis is successful: the complementary filters norms are below the maximum specified upper bounds.
Sensor fusion using complementary filters are widely used in the active vibration isolation systems at gravitational wave detectors, such as at the LIGO~\cite{matichard15_seism_isolat_advan_ligo,hua05_low_ligo}, the Virgo~\cite{lucia18_low_frequen_optim_perfor_advan,heijningen18_low} and the KAGRA \cite[Chap. 5]{sekiguchi16_study_low_frequen_vibrat_isolat_system}.
In the first isolation stage at the LIGO, two sets of complementary filters are used to form a super sensor that is incorporated in a feedback loop~\cite{hua04_low_ligo}.
\caption{\label{fig:ligo_super_sensor_architecture}Simplified block diagram of the sensor blending strategy for the first stage at the LIGO~\cite{hua04_low_ligo}.}
The fusion of the position sensor at low frequency with the ``inertial super sensor'' at high frequency using the complementary filters (\(L_1,H_1\)) is done for several reasons, first of which is to give the super sensor a DC sensibility that allows the feedback loop to have authority at zero frequency.
The specifications for the set of complementary filters (\(L_1,H_1\)) used at the LIGO are summarized below (for further details, refer to~\cite{hua04_polyp_fir_compl_filter_contr_system}):
\caption{\label{fig:fir_filter_ligo}Specifications and Bode plot of the obtained FIR complementary filters in~\cite{hua05_low_ligo}. The filters are here obtained using the SeDuMi Matlab toolbox~\cite{sturm99_using_sedum}.}
The weighting functions should be designed such that their inverse magnitude is as close as possible to the specifications in order to not over-constrain the synthesis problem.
However, the order of each weight should stay reasonably small in order to reduce the computational costs of the optimization problem as well as for the physical implementation of the filters.
The proposed \(\mathcal{H}_\infty\) synthesis is performed on the generalized plant shown in Fig.~\ref{fig:h_infinity_robust_fusion_plant}.
After optimization, the \(\mathcal{H}_\infty\) norm from \(w\) to \([z_1,\ z_2]^T\) is found close to one indication successful synthesis.
In Fig.~\ref{fig:comp_fir_ligo_hinf}, the bode plot of the obtained complementary filters are compared with the FIR filters of order 512 obtained in~\cite{hua05_low_ligo}.
Even though the complementary filters using the \(\mathcal{H}_\infty\) synthesis are of much lower order (order 27), they are found to be close to the FIR filters.
\caption{\label{fig:comp_fir_ligo_hinf}Comparison of the FIR filters (dashed) designed in~\cite{hua05_low_ligo} with the filters obtained with \(\mathcal{H}_\infty\) synthesis (solid).}
An alternative way to implement complementary filters is by using a fundamental property of the classical feedback architecture shown in Fig.~\ref{fig:feedback_sensor_fusion}.
This idea is discussed in~\cite{mahony05_compl_filter_desig_special_orthog,plummer06_optim_compl_filter_their_applic_motion_measur,jensen13_basic_uas}.
Consider the feedback architecture of Fig.~\ref{fig:feedback_sensor_fusion}, with two inputs \(\hat{x}_1\) and \(\hat{x}_2\), and one output \(\hat{x}\).
As for any classical feedback architecture, we have that the sum of the sensitivity transfer function \(S(s)\) and complementary sensitivity transfer function \(T_(s)\) is equal to one~\eqref{eq:sensitivity_sum}.
Therefore, provided that the the closed-loop system in Fig.~\ref{fig:feedback_sensor_fusion} is stable, it can be used as a set of two complementary filters.
One of the main advantage of implementing and designing complementary filters using the feedback architecture of Fig.~\ref{fig:feedback_sensor_fusion} is that all the tools of the linear control theory can be applied for the design of the filters.
If one want to shape both \(\frac{\hat{x}}{\hat{x}_1}(s)= S(s)\) and \(\frac{\hat{x}}{\hat{x}_2}(s)= T(s)\), the \(\mathcal{H}_\infty\) mixed-sensitivity synthesis can be easily applied.
To do so, weighting functions \(W_1(s)\) and \(W_2(s)\) are added to respectively shape \(S(s)\) and \(T(s)\) (Fig.~\ref{fig:feedback_synthesis_architecture}).
Then the system is rearranged to form the generalized plant \(P_L(s)\) shown in Fig.~\ref{fig:feedback_synthesis_architecture_generalized_plant}.
The \(\mathcal{H}_\infty\) mixed-sensitivity synthesis can finally be performed by applying the standard \(\mathcal{H}_\infty\) synthesis to the generalized plant \(P_L(s)\) which is described by~\eqref{eq:generalized_plant_mixed_sensitivity}.
The output of the synthesis is a filter \(L(s)\) such that the ``closed-loop'' \(\mathcal{H}_\infty\) norm from \([w_1,\ w_2]\) to \(z\) of the system in Fig.~\ref{fig:feedback_sensor_fusion} is less than one~\eqref{eq:comp_filters_feedback_obj}.
If the synthesis is successful, the transfer functions from \(\hat{x}_1\) to \(\hat{x}\) and from \(\hat{x}_2\) to \(\hat{x}\) have their magnitude bounded by the inverse magnitude of the corresponding weighting functions.
The sensor fusion can then be implemented using the feedback architecture in Fig.~\ref{fig:feedback_sensor_fusion_arch} or more classically as shown in Fig.~\ref{fig:sensor_fusion_overview} by defining the two complementary filters using~\eqref{eq:comp_filters_feedback}.
The two architectures are equivalent regarding their inputs/outputs relationships.
After synthesis, a filter \(L(s)\) is obtained whose magnitude is shown in Fig.~\ref{fig:hinf_filters_results_mixed_sensitivity} by the black dashed line.
The ``closed-loop'' complementary filters are compared with the inverse magnitude of the weighting functions in Fig.~\ref{fig:hinf_filters_results_mixed_sensitivity} confirming that the synthesis is successful.
The obtained ``closed-loop'' complementary filters are indeed equal to the ones obtained in Section~\ref{sec:hinf_example}.
\caption{\label{fig:hinf_filters_results_mixed_sensitivity}Bode plot of the obtained complementary filters after \(\mathcal{H}_\infty\) mixed-sensitivity synthesis.}
Some applications may require to merge more than two sensors~\cite{stoten01_fusion_kinet_data_using_compos_filter,becker15_compl_filter_desig_three_frequen_bands}.
For instance at the LIGO, three sensors (an LVDT, a seismometer and a geophone) are merged to form a super sensor~\cite{matichard15_seism_isolat_advan_ligo} (Fig.~\ref{fig:ligo_super_sensor_architecture}).\par
When merging \(n>2\) sensors using complementary filters, two architectures can be used as shown in Fig.~\ref{fig:sensor_fusion_three}.
The fusion can either be done in a ``sequential'' way where \(n-1\) sets of two complementary filters are used (Fig.~\ref{fig:sensor_fusion_three_sequential}), or in a ``parallel'' way where one set of \(n\) complementary filters is used (Fig.~\ref{fig:sensor_fusion_three_parallel}).
However, when a parallel architecture is used, a new synthesis method for a set of more than two complementary filters is required as only simple analytical formulas have been proposed in the literature~\cite{stoten01_fusion_kinet_data_using_compos_filter,becker15_compl_filter_desig_three_frequen_bands}.
The synthesis objective is to compute a set of \(n\) stable transfer functions \([H_1(s),\ H_2(s),\ \dots,\ H_n(s)]\) such that conditions~\eqref{eq:hinf_cond_compl_gen} and~\eqref{eq:hinf_cond_perf_gen} are satisfied.
\([W_1(s),\ W_2(s),\ \dots,\ W_n(s)]\) are weighting transfer functions that are chosen to specify the maximum complementary filters' norm during the synthesis.
Such synthesis objective is closely related to the one described in Section~\ref{sec:synthesis_objective}, and indeed the proposed synthesis method is a generalization of the one presented in Section~\ref{sec:hinf_synthesis}. \par
A set of \(n\) complementary filters can be shaped by applying the standard \(\mathcal{H}_\infty\) synthesis to the generalized plant \(P_n(s)\) described by~\eqref{eq:generalized_plant_n_filters}.
\begin{equation}
\label{eq:generalized_plant_n_filters}
\begin{bmatrix} z_1 \\\vdots\\ z_n \\ v \end{bmatrix} = P_n(s) \begin{bmatrix} w \\ u_1 \\\vdots\\ u_{n-1}\end{bmatrix}; \quad
P_n(s) = \begin{bmatrix}
W_1 & -W_1 &\dots&\dots& -W_1 \\
0 & W_2 & 0 &\dots& 0 \\
\vdots&\ddots&\ddots&\ddots&\vdots\\
\vdots&&\ddots&\ddots& 0 \\
0 &\dots&\dots& 0 & W_n \\
1 & 0 &\dots&\dots& 0
\end{bmatrix}
\end{equation}
If the synthesis if successful, a set of \(n-1\) filters \([H_2(s),\ H_3(s),\ \dots,\ H_n(s)]\) are obtained such that~\eqref{eq:hinf_syn_obj_gen} is verified.
\(H_1(s)\) is then defined using~\eqref{eq:h1_comp_h2_hn} which is ensuring the complementary property for the set of \(n\) filters~\eqref{eq:hinf_cond_compl_gen}.
Condition~\eqref{eq:hinf_cond_perf_gen} is satisfied thanks to~\eqref{eq:hinf_syn_obj_gen}.
An example is given to validate the proposed method for the synthesis of a set of three complementary filters.
The sensors to be merged are a displacement sensor from DC up to \(\SI{1}{Hz}\), a geophone from \(1\) to \(\SI{10}{Hz}\) and an accelerometer above \(\SI{10}{Hz}\).
Three weighting functions are designed using formula~\eqref{eq:weight_formula} and their inverse magnitude are shown in Fig.~\ref{fig:three_complementary_filters_results} (dashed curves).
Consider the generalized plant \(P_3(s)\) shown in Fig.~\ref{fig:comp_filter_three_hinf_gen_plant} which is also described by~\eqref{eq:generalized_plant_three_filters}.
The standard \(\mathcal{H}_\infty\) synthesis is performed on the generalized plant \(P_3(s)\).
Two filters \(H_2(s)\) and \(H_3(s)\) are obtained such that the \(\mathcal{H}_\infty\) norm of the closed-loop transfer from \(w\) to \([z_1,\ z_2,\ z_3]\) of the system in Fig.~\ref{fig:comp_filter_three_hinf_fb} is less than one.
Filter \(H_1(s)\) is defined using~\eqref{eq:h1_compl_h2_h3} thus ensuring the complementary property of the obtained set of filters.
Figure~\ref{fig:three_complementary_filters_results} displays the three synthesized complementary filters (solid lines) which confirms that the synthesis is successful.\par
\caption{\label{fig:three_complementary_filters_results}Bode plot of the inverse weighting functions and of the three complementary filters obtained using the \(\mathcal{H}_\infty\) synthesis.}
However, the shaping of the complementary filters' magnitude does not allow to directly optimize the super sensor noise and dynamical characteristics.
Future work will aim at developing a complementary filter synthesis method that minimizes the super sensor noise while ensuring the robustness of the fusion.