% Created 2024-06-26 Wed 16:06
% Intended LaTeX compiler: pdflatex
\documentclass[a4paper, 10pt, DIV=12, parskip=full, bibliography=totoc]{scrreprt}

\input{preamble.tex}
\bibliography{modal-analysis.bib}
\author{Dehaeze Thomas}
\date{\today}
\title{Micro-Station - Modal Analysis}
\hypersetup{
 pdfauthor={Dehaeze Thomas},
 pdftitle={Micro-Station - Modal Analysis},
 pdfkeywords={},
 pdfsubject={},
 pdfcreator={Emacs 29.3 (Org mode 9.6)}, 
 pdflang={English}}
\usepackage{biblatex}

\begin{document}

\maketitle
\tableofcontents

\clearpage

In order to further improve the accuracy of the performance predictions, a model that better represents the micro-station dynamics is required.
A multi-body model, consisting of several rigid bodies connected by kinematic constraints (i.e. joints) and springs and damper elements, is a good candidate to model the micro-station.

Even though the inertia of each solid body can easily be estimated from its geometry and its material density, it is more difficult to properly estimate the stiffness and damping properties of the guiding elements connecting each solid body.
The experimental modal analysis will be useful to verify that a multi-body model can represent accurately the dynamics of the micro-station and to help tuning the model.

The approach of tuning the multi-body model from measurements is illustrated in Figure \ref{fig:modal_vibration_analysis_procedure}.
First, a \emph{response model} is obtained, which corresponds to a set of frequency response functions computed from experimental measurements.
From this response model, and modal model can be computed, which consists of two matrices: one containing the natural frequencies and damping factors of the considered modes, and another one describing the mode shapes.
This modal model can then be used to tune the spatial model (i.e. the multi-body model), that is to say to tune the mass spring and damping properties of the considered solid bodies.

\begin{figure}[htbp]
\centering
\includegraphics[scale=1]{figs/modal_vibration_analysis_procedure.png}
\caption{\label{fig:modal_vibration_analysis_procedure}Figure caption}
\end{figure}

The measurement setup used to obtain the response model is presented in Section \ref{sec:modal_meas_setup}.
This includes the instrumentation used (i.e. instrumented hammer, accelerometers and acquisition system), the test planing, and a first analysis of the obtained signals.

In Section \ref{sec:modal_frf_processing}, the obtained frequency response functions between the forces applied using the instrumented hammer and the various accelerometers fixed to the structure are computed.
These measurements are projected at the center of mass of each considered solid body to ease the further use of the results.
The solid body assumption is then verified, validating the use of the multi-body model.

Finally, the modal analysis is performed in Section \ref{sec:modal_analysis}.
It shows how complex the micro-station dynamics is, and the necessity of the developed more complex multi-body model.


\chapter{Measurement Setup}
\label{sec:modal_meas_setup}
In order to perform an experimental modal analysis, a proper measurement setup is key.
This include using appropriate instrumentation (presented in Section \ref{ssec:modal_instrumentation}) and properly preparing the structure to be measured (Section \ref{ssec:modal_test_preparation}).
Then, the location of the measured motion (Section \ref{ssec:modal_accelerometers}) and the location of the hammer impacts (Section \ref{ssec:modal_hammer_impacts}) have to be chosen carefully.
Obtained force and acceleration signals are shown in Section \ref{ssec:modal_measured_signals}, and the quality of the measured data is verified.
\section{Used Instrumentation}
\label{ssec:modal_instrumentation}

Three equipment are key to perform a good modal analysis.
First, \emph{accelerometers} are used to measure the response of the structure.
Here, 3-axis accelerometers\footnote{PCB 393B05. Sensitivity is \(10\,V/g\), measurement range is \(0.5\,g\) and bandwidth is \(0.7\) to \(450\,\text{Hz}\).} shown in figure \ref{fig:modal_accelero_M393B05} are used.
These accelerometers are glued to the micro-station using a thin layer of wax for best results (see \cite[chapt. 3.5.7]{ewins00_modal}).

\begin{figure}[htbp]
\begin{subfigure}{0.33\textwidth}
\begin{center}
\includegraphics[scale=1,height=6cm]{figs/modal_accelero_M393B05.jpg}
\end{center}
\subcaption{\label{fig:modal_accelero_M393B05}3-axis accelerometer}
\end{subfigure}
\begin{subfigure}{0.33\textwidth}
\begin{center}
\includegraphics[scale=1,height=6cm]{figs/modal_instrumented_hammer.jpg}
\end{center}
\subcaption{\label{fig:modal_instrumented_hammer}Instrumented hammer}
\end{subfigure}
\begin{subfigure}{0.33\textwidth}
\begin{center}
\includegraphics[scale=1,height=6cm]{figs/modal_oros.jpg}
\end{center}
\subcaption{\label{fig:modal_oros}OROS acquisition system}
\end{subfigure}
\caption{\label{fig:modal_analysis_instrumentation}Instrumentation used for the modal analysis}
\end{figure}

Then, an \emph{instrumented hammer}\footnote{Kistler 9722A2000. Sensitivity of \(2.3\,mV/N\) and measurement range of \(2\,kN\)} (figure \ref{fig:modal_instrumented_hammer}) is used to apply forces to the structure in a controlled way.
Tests have been conducted to determine the most suitable hammer tip (ranging from hard metallic one to soft plastic).
The softer tip has been found to give best results as it permits to inject more energy in the low frequency range where the coherence was low, such that the overall coherence was improved.

Finally, an \emph{acquisition system}\footnote{OROS OR36. 24bits signal-delta ADC.} (figure \ref{fig:modal_oros}) is used to acquire the injected force and the response accelerations in a synchronized way and with sufficiently low noise.

\section{Structure Preparation and Test Planing}
\label{ssec:modal_test_preparation}

In order to obtain meaningful results, the modal analysis of the micro-station in performed \emph{in-situ}.
To do so, the local position control of all the micro-station stages are turned ON.
This is especially important for stages for which the stiffness is provided by local feedback control, which is case for the air bearing spindle, and the \(T_y\) stage.
If these local feedback control were turned OFF, this would have resulted in very low frequency modes difficult to measure in practice, and this would also have lead to decoupled dynamics which would not be the case in practice.

The top part representing the active stabilization stage and the sample platform have been removed in order to reduce the complexity of the dynamics and also because the active stabilization stage and the sample will be added in the multi-body model afterwards.


To perform the modal-analysis from the measured responses, the \(n \times n\) frequency response function matrix \(\mathbf{H}\) needs to be measured, with \(n\) is the considered number of degrees of freedom.
The \(H_{jk}\) element of this FRF matrix corresponds to the frequency response function from a force \(F_k\) applied at DoF \(k\) to the displacement of the structure \(X_j\) at DoF \(j\).

Measuring this FRF matrix is very time consuming as it requires to make \(n^2\) measurements.
However thanks to the principle of reciprocity (\(H_{jk} = H_{kj}\)) and using the \emph{point measurement} (\(H_{jj}\)), it is possible to reconstruct the full matrix by measuring only one column or one line of the matrix \(\mathbf{H}\) \cite[chapt. 5.2]{ewins00_modal}.
Therefore, a minimum set of \(n\) frequency response functions needs to be measured.
This can be done either by measuring the response \(X_{j}\) at a fixed DoF \(j\) while applying forces \(F_{i}\) for at all \(n\) considered DoF, or by applying a force \(F_{k}\) at a fixed DoF and measuring the response \(X_{i}\) for all \(n\) DoF.

It is however not advice to measure only one row or one column as one or more modes may be missed by an unfortunate choice of force or acceleration measured locations.
In this modal-analysis, it is chosen to measure the response of the structure at all considered DoF, and to excite the structure at one location in three directions in order to have some redundancy and to make sure that all modes are excited.

\section{Location of the Accelerometers}
\label{ssec:modal_accelerometers}

The location of the accelerometers fixed to the micro-station is essential as it defines at which points the dynamics is identified.
A total of 23 accelerometers are fixed to the six key stages of the micro station: the lower and upper granites, the translation stage, the tilt stage, the spindle and the micro hexapod.
The position of the accelerometers are visually shown on a CAD model in Figure \ref{fig:modal_location_accelerometers} and their precise locations with respect to a frame located at the point of interest are summarized in Table \ref{tab:modal_position_accelerometers}.
Pictures of the accelerometers fixed to the translation stage and to the micro-hexapod are shown in Figure \ref{fig:modal_accelerometer_pictures}.

As all key stages of the micro-station are foreseen to behave as solid bodies, only 6 DoF can be considered per solid body.
However, it was chosen to use four 3-axis accelerometers (i.e. 12 measured DoF) for each considered solid body to have some redundancy and to be able to verify the solid body assumption (see Section \ref{ssec:modal_solid_body_assumption}).

\begin{minipage}[b]{0.68\linewidth}
\begin{center}
\includegraphics[scale=1,width=0.9\linewidth]{figs/modal_location_accelerometers.png}
\captionof{figure}{\label{fig:modal_location_accelerometers}Position of the accelerometers using SolidWorks}
\end{center}
\end{minipage}
\hfill
\begin{minipage}[b]{0.31\linewidth}
\begin{center}
\scriptsize
\begin{tabularx}{\linewidth}{Xcccc}
\toprule
 & \(x\) & \(y\) & \(z\)\\
\midrule
Low. Granite & -730 & -526 & -951\\
Low. Granite & -735 & 814 & -951\\
Low. Granite & 875 & 799 & -951\\
Low. Granite & 865 & -506 & -951\\
Up. Granite & -320 & -446 & -786\\
Up. Granite & -480 & 534 & -786\\
Up. Granite & 450 & 534 & -786\\
Up. Granite & 295 & -481 & -786\\
Translation & -475 & -414 & -427\\
Translation & -465 & 407 & -427\\
Translation & 475 & 424 & -427\\
Translation & 475 & -419 & -427\\
Tilt & -385 & -300 & -417\\
Tilt & -420 & 280 & -417\\
Tilt & 420 & 280 & -417\\
Tilt & 380 & -300 & -417\\
Spindle & -155 & -90 & -594\\
Spindle & 0 & 180 & -594\\
Spindle & 155 & -90 & -594\\
Hexapod & -64 & -64 & -270\\
Hexapod & -64 & 64 & -270\\
Hexapod & 64 & 64 & -270\\
Hexapod & 64 & -64 & -270\\
\bottomrule
\end{tabularx}
\captionof{table}{\label{tab:modal_position_accelerometers}Accelerometer positions}

\end{center}
\end{minipage}



\begin{figure}
\begin{subfigure}{0.49\textwidth}
\begin{center}
\includegraphics[scale=1,height=6cm]{figs/modal_accelerometers_ty.jpg}
\end{center}
\subcaption{\label{fig:modal_accelerometers_ty} $T_y$ stage}
\end{subfigure}
\begin{subfigure}{0.49\textwidth}
\begin{center}
\includegraphics[scale=1,height=6cm]{figs/modal_accelerometers_hexapod.jpg}
\end{center}
\subcaption{\label{fig:modal_accelerometers_hexapod} Micro-Hexapod}
\end{subfigure}
\caption{\label{fig:modal_accelerometer_pictures}Accelerometers fixed on the micro-station}
\end{figure}

\section{Hammer Impacts}
\label{ssec:modal_hammer_impacts}

The impact location corresponds to the location of accelerometer \(11\) fixed to the translation stage.
The impacts are performed in three directions, which are shown in figures \ref{fig:modal_impact_x}, \ref{fig:modal_impact_y} and \ref{fig:modal_impact_z}.
This excitation point and the three considered directions were chosen in order to properly excite all the modes in the frequency band of interest and because it provides good coherence for all the accelerometers.

This excitation point corresponds to the location of one accelerometer, because a \emph{point measurement} is necessary to be able to reconstruct the full FRF matrix \cite{ewins00_modal}.

\begin{figure}
\begin{subfigure}{0.33\textwidth}
\begin{center}
\includegraphics[scale=1,width=0.8\linewidth]{figs/modal_impact_x.jpg}
\end{center}
\subcaption{\label{fig:modal_impact_x} $X$ impact}
\end{subfigure}
\begin{subfigure}{0.33\textwidth}
\begin{center}
\includegraphics[scale=1,width=0.8\linewidth]{figs/modal_impact_y.jpg}
\end{center}
\subcaption{\label{fig:modal_impact_y} $Y$ impact}
\end{subfigure}
\begin{subfigure}{0.33\textwidth}
\begin{center}
\includegraphics[scale=1,width=0.8\linewidth]{figs/modal_impact_z.jpg}
\end{center}
\subcaption{\label{fig:modal_impact_z} $Z$ impact}
\end{subfigure}
\caption{\label{fig:modal_hammer_impacts}The three hammer impacts used for the modal analysis}
\end{figure}

\section{Force and Response signals}
\label{ssec:modal_measured_signals}

The force sensor and the accelerometers signals are shown in the time domain in Figure \ref{fig:modal_raw_meas}.
Sharp ``impacts'' can be seen for the force sensor, indicating wide frequency band excitation.
For the accelerometer, many resonances can be seen on the right, indicating complex dynamics.

The ``normalized'' amplitude spectral density of the two signals are computed and shown in Figure \ref{fig:modal_asd_acc_force}.
Conclusions based on the time domain signals can be clearly seen in the frequency domain (wide frequency content for the force signal and complex dynamics for the accelerometer).

\begin{figure}[htbp]
\begin{subfigure}{0.49\textwidth}
\begin{center}
\includegraphics[scale=1,width=0.95\linewidth]{figs/modal_raw_meas.png}
\end{center}
\subcaption{\label{fig:modal_raw_meas}Time domain signals}
\end{subfigure}
\begin{subfigure}{0.49\textwidth}
\begin{center}
\includegraphics[scale=1,width=0.95\linewidth]{figs/modal_asd_acc_force.png}
\end{center}
\subcaption{\label{fig:modal_asd_acc_force}Amplitude Spectral Density (normalized)}
\end{subfigure}
\caption{\label{fig:modal_raw_meas_asd}Raw measurement of the acceleromter (blue) and of the force sensor at the Hammer tip (red) (\subref{fig:modal_raw_meas}). Computed Amplitude Spectral Density of the two signals (normalized) (\subref{fig:modal_asd_acc_force})}
\end{figure}

The frequency response function from the applied force \(F_{k}\) to the measured acceleration \(X_j\) is then computed and shown Figure \ref{fig:modal_frf_acc_force}.
The quality of the obtained data can be estimated using the \emph{coherence} function, which is shown in Figure \ref{fig:modal_coh_acc_force}.
Good coherence is obtained from \(20\,\text{Hz}\) to \(200\,\text{Hz}\) which corresponds to the frequency range of interest.

\begin{figure}[htbp]
\begin{subfigure}{0.49\textwidth}
\begin{center}
\includegraphics[scale=1,width=0.95\linewidth]{figs/modal_frf_acc_force.png}
\end{center}
\subcaption{\label{fig:modal_frf_acc_force} Frequency Response Function}
\end{subfigure}
\begin{subfigure}{0.49\textwidth}
\begin{center}
\includegraphics[scale=1,width=0.95\linewidth]{figs/modal_coh_acc_force.png}
\end{center}
\subcaption{\label{fig:modal_coh_acc_force} Coherence}
\end{subfigure}
\caption{\label{fig:modal_frf_coh_acc_force}Computed frequency response function from the applied force \(F_{k}\) and the measured response \(X_{j}\) (\subref{fig:modal_frf_acc_force}) as well as computed coherence (\subref{fig:modal_coh_acc_force})}
\end{figure}

\chapter{Frequency Analysis}
\label{sec:modal_frf_processing}
The measurements have been conducted and a \(n \times p \times q\) Frequency Response Functions Matrix has been computed with:
\begin{itemize}
\item \(n\): the number of output measured accelerations: \(23 \times 3 = 69\) (23 accelerometers measuring 3 directions each)
\item \(p\): the number of input force excitations: \(3\)
\item \(q\): the number of frequency points \(\omega_i\)
\end{itemize}
Thus, the FRF matrix is an \(69 \times 3 \times 801\) matrix.

For each frequency point \(\omega_i\), a 2D matrix is obtained that links the 3 force inputs to the 69 output accelerations:
\begin{equation}
  \text{FRF}(\omega_i) = \begin{bmatrix}
  \frac{D_{1_x}}{F_x}(\omega_i) & \frac{D_{1_x}}{F_y}(\omega_i) & \frac{D_{1_x}}{F_z}(\omega_i) \\
  \frac{D_{1_y}}{F_x}(\omega_i) & \frac{D_{1_y}}{F_y}(\omega_i) & \frac{D_{1_y}}{F_z}(\omega_i) \\
  \frac{D_{1_z}}{F_x}(\omega_i) & \frac{D_{1_z}}{F_y}(\omega_i) & \frac{D_{1_z}}{F_z}(\omega_i) \\
  \frac{D_{2_x}}{F_x}(\omega_i) & \frac{D_{2_x}}{F_y}(\omega_i) & \frac{D_{2_x}}{F_z}(\omega_i) \\
  \vdots              & \vdots              & \vdots              \\
  \frac{D_{23_z}}{F_x}(\omega_i) & \frac{D_{23_z}}{F_y}(\omega_i) & \frac{D_{23_z}}{F_z}(\omega_i) \\
\end{bmatrix}
\end{equation}

However, for the multi-body model being developed, only 6 solid bodies are considered, namely: the bottom granite, the top granite, the translation stage, the tilt stage, the spindle and the hexapod.
Therefore, only \(6 \times 6 = 36\) degrees of freedom are of interest.

The objective in this section is therefore to process the Frequency Response Matrix to reduce the number of measured DoFs from 69 to 36.

In order to be able to perform this reduction of measured DoFs, the measures stages have to behave as rigid bodies in the frequency band of interest.
This

\ref{ssec:modal_solid_body_first_check}

To go from the accelerometers DoFs to the solid body 6 DoFs (three translations and three rotations), some computations have to be performed.
This is explained in Section \ref{ssec:modal_acc_to_solid_dof}.

Finally, the \(69 \times 3 \times 801\) frequency response matrix is reduced to a \(36 \times 3 \times 801\) frequency response matrix where the motion of each solid body is expressed with respect to the CoM of the solid body (Section \ref{ssec:modal_frf_com}).

To validate this reduction of DoF and the solid body assumption, the frequency response function at the accelerometer location are synthesized from the reduced frequency response matrix and are compared with the initial measurements in Section \ref{ssec:modal_solid_body_assumption}.
\section{First verification of the solid body assumption}
\label{ssec:modal_solid_body_first_check}
In this section, it is shown that two accelerometers fixed to a rigid body at positions \(\vec{p}_1\) and \(\vec{p}_2\) in such a way that \(\vec{p}_2 = \vec{p}_1 + \alpha \vec{x}\) will measure the same value in the \(\vec{x}\) direction.
Such situation is illustrated on Figure \ref{fig:modal_aligned_accelerometers} and is the case for many accelerometers as shown in Figure \ref{fig:modal_location_accelerometers}.

\begin{figure}[htbp]
\centering
\includegraphics[scale=1]{figs/modal_aligned_accelerometers.png}
\caption{\label{fig:modal_aligned_accelerometers}Aligned measurement of the motion of a solid body}
\end{figure}

The motion of the rigid body of figure \ref{fig:modal_aligned_accelerometers} can be defined by its displacement \(\delta \vec{p}\) and rotation \(\vec{\Omega}\) with respect to a reference frame \(\{O\}\).

The motions at points \(1\) and \(2\) are:
\begin{align*}
  \delta \vec{p}_1 &= \delta \vec{p} + \vec{\Omega} \times \vec{p}_1 \\
  \delta \vec{p}_2 &= \delta \vec{p} + \vec{\Omega} \times \vec{p}_2
\end{align*}

Taking only the \(x\) direction:
\begin{align*}
  \delta p_{x1} &= \delta p_x + \Omega_y p_{z1} - \Omega_z p_{y1} \\
  \delta p_{x2} &= \delta p_x + \Omega_y p_{z2} - \Omega_z p_{y2}
\end{align*}

However, we have \(p_{1y} = p_{2y}\) and \(p_{1z} = p_{2z}\) because of the co-linearity of the two sensors in the \(x\) direction, and thus we obtain:
\begin{equation}
  \boxed{\delta p_{x1} = \delta p_{x2}}
\end{equation}

It is therefore concluded that two position sensors fixed to a rigid body will measure the same quantity in the direction ``linking'' the two sensors.


Such property can be used to verify that the considered stages are indeed behaving as rigid body in the frequency band of interest.

From Table \ref{tab:modal_position_accelerometers}, we can identify which pair of accelerometers are aligned in the X and Y directions.

The response in the X direction of pairs of sensors aligned in the X direction are compared in Figure \ref{fig:modal_solid_body_comp_x_dir}.
Good match is observed up to 200Hz.
Similar result is obtained for the Y direction.

\begin{figure}[htbp]
\centering
\includegraphics[scale=1]{figs/modal_solid_body_comp_x_dir.png}
\caption{\label{fig:modal_solid_body_comp_x_dir}Comparaison of measured frequency response function for in the X directions for accelerometers aligned along X. Amplitude is in \(\frac{m/s^2}{N}\). Accelerometer number is shown in the legend.}
\end{figure}

\section{From accelerometer DOFs to solid body DOFs}
\label{ssec:modal_acc_to_solid_dof}
Let's consider the schematic shown in Figure \ref{fig:modal_local_to_global_coordinates} where the motion of a solid body is measured at 4 distinct locations (in \(x\), \(y\) and \(z\) directions).

The goal here is to link these \(4 \times 3 = 12\) measurements to the 6 DOFs of the solid body expressed in the frame \(\{O\}\).

\begin{figure}[htbp]
\centering
\includegraphics[scale=1]{figs/modal_local_to_global_coordinates.png}
\caption{\label{fig:modal_local_to_global_coordinates}Schematic of the measured motions of a solid body}
\end{figure}

Let's consider the motion of the rigid body defined by its displacement \(\delta \vec{p}\) and rotation \(\delta\vec{\Omega}\) with respect to the reference frame \(\{O\}\).

From the figure \ref{fig:modal_local_to_global_coordinates}, we can write:
\begin{align*}
  \delta \vec{p}_1 &= \delta \vec{p} + \bm{\delta \Omega} \vec{p}_1\\
  \delta \vec{p}_2 &= \delta \vec{p} + \bm{\delta \Omega} \vec{p}_2\\
  \delta \vec{p}_3 &= \delta \vec{p} + \bm{\delta \Omega} \vec{p}_3\\
  \delta \vec{p}_4 &= \delta \vec{p} + \bm{\delta \Omega} \vec{p}_4
\end{align*}
With
\begin{equation}
  \bm{\delta\Omega} = \begin{bmatrix}
   0              & -\delta\Omega_z &  \delta\Omega_y \\
   \delta\Omega_z &  0              & -\delta\Omega_x \\
  -\delta\Omega_y &  \delta\Omega_x &  0
\end{bmatrix}
\end{equation}

We can rearrange the equations in a matrix form:

\begin{equation}
\left[\begin{array}{ccc|ccc}
  1 & 0 & 0 & 0 & p_{1z} & -p_{1y} \\
  0 & 1 & 0 & -p_{1z} & 0 & p_{1x} \\
  0 & 0 & 1 & p_{1y} & -p_{1x} & 0 \\ \hline
    & \vdots &   &    & \vdots &   \\ \hline
  1 & 0 & 0 & 0 & p_{4z} & -p_{4y} \\
  0 & 1 & 0 & -p_{4z} & 0 & p_{4x} \\
  0 & 0 & 1 & p_{4y} & -p_{4x} & 0
\end{array}\right] \left[\begin{array}{c}
  \delta p_x \\ \delta p_y \\ \delta p_z \\ \hline \delta\Omega_x \\ \delta\Omega_y \\ \delta\Omega_z
\end{array}\right] = \left[\begin{array}{c}
  \delta p_{1x} \\ \delta p_{1y} \\ \delta p_{1z} \\\hline \vdots \\\hline \delta p_{4x} \\ \delta p_{4y} \\ \delta p_{4z}
\end{array}\right]
\end{equation}

and then we obtain the velocity and rotation of the solid in the wanted frame \(\{O\}\):
\begin{equation}
\left[\begin{array}{c}
  \delta p_x \\ \delta p_y \\ \delta p_z \\ \hline \delta\Omega_x \\ \delta\Omega_y \\ \delta\Omega_z
\end{array}\right] =
\left[\begin{array}{ccc|ccc}
  1 & 0 & 0 & 0 & p_{1z} & -p_{1y} \\
  0 & 1 & 0 & -p_{1z} & 0 & p_{1x} \\
  0 & 0 & 1 & p_{1y} & -p_{1x} & 0 \\ \hline
    & \vdots &   &    & \vdots &   \\ \hline
  1 & 0 & 0 & 0 & p_{4z} & -p_{4y} \\
  0 & 1 & 0 & -p_{4z} & 0 & p_{4x} \\
  0 & 0 & 1 & p_{4y} & -p_{4x} & 0
\end{array}\right]^{-1} \left[\begin{array}{c}
  \delta p_{1x} \\ \delta p_{1y} \\ \delta p_{1z} \\\hline \vdots \\\hline \delta p_{4x} \\ \delta p_{4y} \\ \delta p_{4z}
\end{array}\right] \label{eq:modal_determine_global_disp}
\end{equation}

\begin{important}
Using equation \eqref{eq:modal_determine_global_disp}, we can determine the motion of the solid body expressed in a chosen frame \(\{O\}\) using the accelerometers attached to it.
The inversion is equivalent to resolving a mean square problem.
\end{important}

\section{Frequency Response Matrix expressed at the Center of Mass}
\label{ssec:modal_frf_com}
\paragraph{What reference frame to choose?}
The question we wish here to answer is how to choose the reference frame \(\{O\}\) in which the DOFs of the solid bodies are defined.

The possibles choices are:
\begin{itemize}
\item \textbf{One frame for each solid body} which is located at its center of mass
\item \textbf{One common frame}, for instance located at the point of interest (\(270mm\) above the Hexapod)
\item \textbf{Base located at the joint position}: this is where we want to see the motion and estimate stiffness
\end{itemize}

\begin{table}[htbp]
\centering
\scriptsize
\begin{tabularx}{\linewidth}{XXX}
\toprule
Chosen Frame & Advantages & Disadvantages\\
\midrule
Frames at CoM & Physically, it makes more sense & How to compare the motion of the solid bodies?\\
Common Frame & We can compare the motion of each solid body & Small \(\theta_{x, y}\) may result in large \(T_{x, y}\)\\
Frames at joint position & Directly gives which joint direction can be blocked & How to choose the joint position?\\
\bottomrule
\end{tabularx}
\caption{\label{tab:modal_frame_comparison}Advantages and disadvantages for the choice of reference frame}

\end{table}

The choice of the frame depends of what we want to do with the data.

One of the goals is to compare the motion of each solid body to see which relative DOFs between solid bodies can be neglected, that is to say, which joint between solid bodies can be regarded as perfect (and this in all the frequency range of interest).
Ideally, we would like to have the same number of degrees of freedom than the number of identified modes.

In the next sections, we will express the FRF matrix in the different frames.

\paragraph{Center of Mass of each solid body}
From solidworks, we can export the position of the center of mass of each solid body considered.
These are summarized in Table \ref{tab:modal_com_solid_bodies}

\begin{table}[htbp]
\centering
\begin{tabularx}{0.6\linewidth}{lXXX}
\toprule
 & \(X\) [mm] & \(Y\) [mm] & \(Z\) [mm]\\
\midrule
Bottom Granite & 45 & 144 & -1251\\
Top granite & 52 & 258 & -778\\
Translation stage & 0 & 14 & -600\\
Tilt Stage & 0 & -5 & -628\\
Spindle & 0 & 0 & -580\\
Hexapod & -4 & 6 & -319\\
\bottomrule
\end{tabularx}
\caption{\label{tab:modal_com_solid_bodies}Center of mass of considered solid bodies}

\end{table}


\paragraph{Computation}
First, we initialize a new FRF matrix which is an \(n \times p \times q\) with:
\begin{itemize}
\item \(n\) is the number of DOFs of the considered 6 solid-bodies: \(6 \times 6 = 36\)
\item \(p\) is the number of excitation inputs: \(3\)
\item \(q\) is the number of frequency points \(\omega_i\)
\end{itemize}

\begin{important}
For each frequency point \(\omega_i\), the FRF matrix is a \(n\times p\) matrix:
\begin{equation}
  \text{FRF}_\text{CoM}(\omega_i) = \begin{bmatrix}
  \frac{D_{1,T_x}}{F_x}(\omega_i) & \frac{D_{1,T_x}}{F_y}(\omega_i) & \frac{D_{1,T_x}}{F_z}(\omega_i) \\
  \frac{D_{1,T_y}}{F_x}(\omega_i) & \frac{D_{1,T_y}}{F_y}(\omega_i) & \frac{D_{1,T_y}}{F_z}(\omega_i) \\
  \frac{D_{1,T_z}}{F_x}(\omega_i) & \frac{D_{1,T_z}}{F_y}(\omega_i) & \frac{D_{1,T_z}}{F_z}(\omega_i) \\
  \frac{D_{1,R_x}}{F_x}(\omega_i) & \frac{D_{1,R_x}}{F_y}(\omega_i) & \frac{D_{1,R_x}}{F_z}(\omega_i) \\
  \frac{D_{1,R_y}}{F_x}(\omega_i) & \frac{D_{1,R_y}}{F_y}(\omega_i) & \frac{D_{1,R_y}}{F_z}(\omega_i) \\
  \frac{D_{1,R_z}}{F_x}(\omega_i) & \frac{D_{1,R_z}}{F_y}(\omega_i) & \frac{D_{1,R_z}}{F_z}(\omega_i) \\
  \frac{D_{2,T_x}}{F_x}(\omega_i) & \frac{D_{2,T_x}}{F_y}(\omega_i) & \frac{D_{2,T_x}}{F_z}(\omega_i) \\
  \vdots              & \vdots              & \vdots              \\
  \frac{D_{6,R_z}}{F_x}(\omega_i) & \frac{D_{6,R_z}}{F_y}(\omega_i) & \frac{D_{6,R_z}}{F_z}(\omega_i)
\end{bmatrix}
\end{equation}
where 1, 2, \ldots{}, 6 corresponds to the 6 solid bodies.
\end{important}

Then, as we know the positions of the accelerometers on each solid body, and we have the response of those accelerometers, we can use the equations derived in the previous section to determine the response of each solid body expressed in their center of mass.

\section{Verify that we find the original FRF from the FRF in the global coordinates}
\label{ssec:modal_solid_body_assumption}

We have computed the Frequency Response Functions Matrix representing the response of the 6 solid bodies in their 6 DOFs with respect to their center of mass.

From the response of one body in its 6 DOFs, we should be able to compute the FRF of each of its accelerometer fixed to it during the measurement, supposing that this stage is a solid body.

We can then compare the result with the original measurements.
This will help us to determine if:
\begin{itemize}
\item the previous inversion used is correct
\item the solid body assumption is correct in the frequency band of interest
\end{itemize}

From the translation \(\delta p\) and rotation \(\delta \Omega\) of a solid body and the positions \(p_i\) of the accelerometers attached to it, we can compute the response that would have been measured by the accelerometers using the following formula:
\begin{align*}
  \delta p_1 &= \delta p + \delta\Omega p_1\\
  \delta p_2 &= \delta p + \delta\Omega p_2\\
  \delta p_3 &= \delta p + \delta\Omega p_3\\
  \delta p_4 &= \delta p + \delta\Omega p_4
\end{align*}

Thus, we can obtain the FRF matrix \texttt{FRFs\_A} that gives the responses of the accelerometers to the forces applied by the hammer.

It is implemented in matlab as follow:
We then compare the original FRF measured for each accelerometer \texttt{FRFs} with the ``recovered'' FRF \texttt{FRFs\_A} from the global FRF matrix in the common frame.

The FRF for the 4 accelerometers on the Hexapod are compared in Figure \ref{fig:modal_comp_acc_solid_body_frf}.
All the FRF are matching very well in all the frequency range displayed.

\begin{figure}[htbp]
\centering
\includegraphics[scale=1]{figs/modal_comp_acc_solid_body_frf.png}
\caption{\label{fig:modal_comp_acc_solid_body_frf}Comparaison of the original accelerometer response and reconstructed response from the solid body response. For accelerometers 1 to 4 corresponding to the hexapod.}
\end{figure}

\begin{important}
The reduction of the number of degrees of freedom from 69 (23 accelerometers with each 3DOF) to 36 (6 solid bodies with 6 DOF) seems to work well.

This confirms the fact that the stages are indeed behaving as a solid body in the frequency band of interest.
This valid the fact that a multi-body model can be used to represent the dynamics of the micro-station.
\end{important}

\chapter{Modal Analysis}
\label{sec:modal_analysis}
The goal here is to extract the modal parameters describing the modes of station being studied, namely:
\begin{itemize}
\item the eigen frequencies and the modal damping (eigen values)
\item the mode shapes (eigen vectors)
\end{itemize}
This is done from the FRF matrix previously extracted from the measurements.


In order to do the modal parameter extraction, we first have to estimate the order of the modal model we want to obtain.
This corresponds to how many modes are present in the frequency band of interest.
In section \ref{ssec:modal_number_of_modes}, we will use the Singular Value Decomposition and the Modal Indication Function to estimate the number of modes.


The modal parameter extraction methods generally consists of \textbf{curve-fitting a theoretical expression for an individual FRF to the actual measured data}.
However, there are multiple level of complexity:
\begin{itemize}
\item works on a part of a single FRF curve
\item works on a complete curve encompassing several resonances
\item works on a set of many FRF plots all obtained from the same structure
\end{itemize}
The third method is the most complex but gives better results. This is the one we will use in section \ref{ssec:modal_parameter_extraction}.

From the modal model, it is possible to obtain a graphic display of the mode shapes (section \ref{ssec:modal_mode_shapes}).


In order to validate the quality of the modal model, we will synthesize the FRF matrix from the modal model and compare it with the FRF measured (section \ref{ssec:modal_model_validity}).


The modes of the structure are expected to be complex, however real modes are easier to work with when it comes to obtain a spatial model from the modal parameters.
\section{Determine the number of modes}
\label{ssec:modal_number_of_modes}
\paragraph{Singular Value Decomposition - Modal Indication Function}
The Mode Indicator Functions are usually used on \(n\times p\) FRF matrix where \(n\) is a relatively large number of measurement DOFs and \(p\) is the number of excitation DOFs, typically 3 or 4.

In these methods, the frequency dependent FRF matrix is subjected to a singular value decomposition analysis which thus yields a small number (3 or 4) of singular values, these also being frequency dependent.

These methods are used to \textbf{determine the number of modes} present in a given frequency range, to \textbf{identify repeated natural frequencies} and to pre-process the FRF data prior to modal analysis.

From the documentation of the modal software:
\begin{quote}
The MIF consist of the singular values of the Frequency response function matrix. The number of MIFs equals the number of excitations.
By the powerful singular value decomposition, the real signal space is separated from the noise space. Therefore, the MIFs exhibit the modes effectively.
A peak in the MIFs plot usually indicate the existence of a structural mode, and two peaks at the same frequency point means the existence of two repeated modes.
Moreover, the magnitude of the MIFs implies the strength of the a mode.
\end{quote}

\begin{important}
The \textbf{Complex Mode Indicator Function} is defined simply by the SVD of the FRF (sub) matrix:
\begin{align*}
  [H(\omega)]_{n\times p} &= [U(\omega)]_{n\times n} [\Sigma(\omega)]_{n\times p} [V(\omega)]_{p\times p}^H\\
  [CMIF(\omega)]_{p\times p} &= [\Sigma(\omega)]_{p\times n}^T [\Sigma(\omega)]_{n\times p}
\end{align*}
\end{important}

We compute the Complex Mode Indicator Function.
The result is shown on Figure \ref{fig:modal_indication_function}.

\begin{figure}[htbp]
\centering
\includegraphics[scale=1]{figs/modal_indication_function.png}
\caption{\label{fig:modal_indication_function}Modal Indication Function}
\end{figure}

\paragraph{Composite Response Function}
An alternative is the Composite Response Function \(HH(\omega)\) defined as the sum of all the measured FRF:
\begin{equation}
  HH(\omega) = \sum_j\sum_kH_{jk}(\omega)
\end{equation}

Instead, we choose here to use the sum of the norms of the measured frf:
\begin{equation}
  HH(\omega) = \sum_j\sum_k \left|H_{jk}(\omega) \right|
\end{equation}

The result is shown on figure \ref{fig:modal_composite_reponse_function}.

\begin{figure}[htbp]
\centering
\includegraphics[scale=1]{figs/modal_composite_reponse_function.png}
\caption{\label{fig:modal_composite_reponse_function}Composite Response Function}
\end{figure}

\section{Modal parameter extraction}
\label{ssec:modal_parameter_extraction}
\paragraph{OROS - Modal software}
Modal identification are done within the Modal software of OROS.

Several modal parameter extraction methods are available.
We choose to use the ``broad band'' method as it permits to identify the modal parameters using all the FRF curves at the same time.
It takes into account the fact the the properties of all the individual curves are related by being from the same structure: all FRF plots on a given structure should indicate the same values for the natural frequencies and damping factor of each mode.

Such method also have the advantage of producing a \textbf{unique and consistent model} as direct output.

In order to apply this method, we select the frequency range of interest and we give an estimate of how many modes are present.

Then, it shows a stabilization charts, such as the one shown on figure \ref{fig:modal_stabilization_chart}, where we have to manually select which modes to take into account in the modal model.

\begin{figure}[htbp]
\centering
\includegraphics[scale=1,width=\linewidth]{img/modal_software/stabilisation_chart.jpg}
\caption{\label{fig:modal_stabilization_chart}Stabilization Chart}
\end{figure}

We can then run the modal analysis, and the software will identify the modal damping and mode shapes at the selected frequency modes.

\paragraph{Importation of the modal parameters on Matlab}
The obtained modal parameters are:
\begin{itemize}
\item Resonance frequencies in Hertz
\item Modal damping ratio in percentage
\item (complex) Modes shapes for each measured DoF
\item Modal A and modal B which are parameters important for further normalization
\end{itemize}

The obtained mode frequencies and damping are shown in Table \ref{tab:modal_obtained_modes_freqs_damps}.

\begin{table}[htbp]
\centering
\scriptsize
\begin{tabularx}{0.35\linewidth}{ccc}
\toprule
Mode & Frequency [Hz] & Damping [\%]\\
\midrule
1 & 11.9 & 12.2\\
2 & 18.6 & 11.7\\
3 & 37.8 & 6.2\\
4 & 39.1 & 2.8\\
5 & 56.3 & 2.8\\
6 & 69.8 & 4.3\\
7 & 72.5 & 1.3\\
8 & 84.8 & 3.7\\
9 & 91.3 & 2.9\\
10 & 105.5 & 3.2\\
11 & 106.6 & 1.6\\
12 & 112.7 & 3.1\\
13 & 124.2 & 2.8\\
14 & 145.3 & 1.3\\
15 & 150.5 & 2.4\\
16 & 165.4 & 1.4\\
\bottomrule
\end{tabularx}
\caption{\label{tab:modal_obtained_modes_freqs_damps}Obtained eigen frequencies and modal damping}

\end{table}

\paragraph{Theory}
It seems that the modal analysis software makes the \textbf{assumption} of viscous damping for the model with which it tries to fit the FRF measurements.

If we note \(N\) the number of modes identified, then there are \(2N\) eigenvalues and eigenvectors given by the software:
\begin{align}
  s_r &= \omega_r (-\xi_r + i \sqrt{1 - \xi_r^2}),\quad s_r^* \\
  \{\psi_r\} &= \begin{Bmatrix} \psi_{1_x} & \psi_{2_x} & \dots & \psi_{23_x} & \psi_{1_y} & \dots & \psi_{1_z} & \dots & \psi_{23_z} \end{Bmatrix}^T, \quad \{\psi_r\}^*
\end{align}
for \(r = 1, \dots, N\) where \(\omega_r\) is the natural frequency and \(\xi_r\) is the critical damping ratio for that mode.

\paragraph{Modal Matrices}
We would like to arrange the obtained modal parameters into two modal matrices:
\[ \Lambda = \begin{bmatrix}
  s_1 &        & 0 \\
      & \ddots &   \\
  0   &        & s_N
\end{bmatrix}_{N \times N}; \quad \Psi = \begin{bmatrix}
  & & \\
  \{\psi_1\} & \dots & \{\psi_N\} \\
  & &
\end{bmatrix}_{M \times N} \]
\[ \{\psi_i\} = \begin{Bmatrix} \psi_{i, 1_x} & \psi_{i, 1_y} & \psi_{i, 1_z} & \psi_{i, 2_x} & \dots & \psi_{i, 23_z} \end{Bmatrix}^T \]

\(M\) is the number of DoF: here it is \(23 \times 3 = 69\).
\(N\) is the number of mode

Each eigen vector is normalized: \(\| \{\psi_i\} \|_2 = 1\)


However, the eigen values and eigen vectors appears as complex conjugates:
\[ s_r, s_r^*, \{\psi\}_r, \{\psi\}_r^*, \quad r = 1, N \]

In the end, they are \(2N\) eigen values.
We then build two extended eigen matrices as follow:
\[ \mathcal{S} = \begin{bmatrix}
  s_1 &        &     &       &        &      \\
      & \ddots &     &       & 0      &      \\
      &        & s_N &       &        &      \\
      &        &     & s_1^* &        &      \\
      & 0      &     &       & \ddots &      \\
      &        &     &       &        & s_N^*
\end{bmatrix}_{2N \times 2N}; \quad \Phi = \begin{bmatrix}
  & & & & &\\
  \{\psi_1\} & \dots & \{\psi_N\} & \{\psi_1^*\} & \dots & \{\psi_N^*\} \\
  & & & & &
\end{bmatrix}_{M \times 2N} \]

We also build the Modal A and Modal B matrices:
\begin{equation}
  A = \begin{bmatrix}
    a_1 &        & 0   \\
        & \ddots &     \\
    0   &        & a_N
  \end{bmatrix}_{N \times N}; \quad B = \begin{bmatrix}
    b_1 &        & 0   \\
        & \ddots &     \\
    0   &        & b_N
  \end{bmatrix}_{N \times N}
\end{equation}
With \(a_i\) is the ``Modal A'' parameter linked to mode i.

``Modal A'' and ``modal B'' are linked through the following formula:
\[ B = - A \Lambda \]

\section{Obtained Mode Shapes animations}
\label{ssec:modal_mode_shapes}
From the modal parameters, it is possible to show the modal shapes with an animation.

Examples are shown in Figures \ref{fig:modal_mode_animations}.

\begin{figure}
\begin{subfigure}{\textwidth}
\begin{center}
\includegraphics[scale=1,width=\linewidth]{figs/modal_mode1_animation.jpg}
\end{center}
\subcaption{\label{fig:modal_mode1_animation}Mode 1}
\end{subfigure}
\begin{subfigure}{\textwidth}
\begin{center}
\includegraphics[scale=1,width=\linewidth]{figs/modal_mode6_animation.jpg}
\end{center}
\subcaption{\label{fig:modal_mode6_animation}Mode 6}
\end{subfigure}
\begin{subfigure}{\textwidth}
\begin{center}
\includegraphics[scale=1,width=\linewidth]{figs/modal_mode13_animation.jpg}
\end{center}
\subcaption{\label{fig:modal_mode13_animation}Mode 13}
\end{subfigure}
\caption{\label{fig:modal_mode_animations}Instrumentation used for the modal analysis}
\end{figure}

We can learn quite a lot from these mode shape animations.

For instance, the mode shape of the first mode at 11Hz (figure \ref{fig:modal_mode1_animation}) seems to indicate that this corresponds to a suspension mode.

This could be due to the 4 Airloc Levelers that are used for the granite (figure \ref{fig:modal_airloc}).

\begin{figure}[htbp]
\centering
\includegraphics[scale=1,width=0.6\linewidth]{figs/modal_airlock_picture.jpg}
\caption{\label{fig:modal_airloc}AirLoc used for the granite (2120-KSKC)}
\end{figure}

They are probably \textbf{not well leveled}, so the granite is supported only by two Airloc.

\section{Verify the validity of the Modal Model}
\label{ssec:modal_model_validity}

There are two main ways to verify the validity of the modal model
\begin{itemize}
\item Synthesize FRF measurements that has been used to generate the modal model and compare
\item Synthesize FRF that has not yet been measured. Then measure that FRF and compare
\end{itemize}

From the modal model, we want to synthesize the Frequency Response Functions that has been used to build the modal model.

Let's recall that:
\begin{itemize}
\item \(M\) is the number of measured DOFs (\(3 \times n_\text{acc}\))
\item \(N\) is the number of modes identified
\end{itemize}

We then have that the FRF matrix \([H_{\text{syn}}]\) can be synthesize using the following formula:
\begin{important}
\begin{equation}
  [H_{\text{syn}}(\omega)]_{M\times M} = [\Phi]_{M\times2N} \left[\frac{Q_r}{j\omega - s_r}\right]_{2N\times2N} [\Phi]_{2N\times M}^T
\end{equation}
with \(Q_r = 1/M_{A_r}\)
\end{important}

An alternative formulation is:
\[ H_{pq}(s_i) = \sum_{r=1}^N \frac{A_{pqr}}{s_i - \lambda_r} + \frac{A_{pqr}^*}{s_i - \lambda_r^*} \]
with:
\begin{itemize}
\item \(A_{pqr} = \frac{\psi_{pr}\psi_{qr}}{M_{A_r}}\), \(M_{A_r}\) is called ``Modal A''
\item \(\psi_{pr}\): scaled modal coefficient for output DOF \(p\), mode \(r\)
\item \(\lambda_r\): complex modal frequency
\end{itemize}

From the modal software documentation:
\begin{quote}
\textbf{Modal A}
Scaling constant for a complex mode. It has the same properties as modal mass for normal modes (undamped or proportionally damped cases). Assuming
\begin{itemize}
\item \(\psi_{pr}\) = Modal coefficient for measured degree of freedom p and mode r
\item \(\psi_{qr}\) = Modal coefficient for measured degree of freedom q and mode r
\item \(A_{pqr}\) = Residue for measured degree of freedom p, measured degree of q and mode r
\item \(M_{Ar}\) = Modal A of mode r
\end{itemize}

Then
\[ A_{pqr} = \frac{\psi_{pr}\psi_{qr}}{M_{Ar}} \]


\textbf{Modal B}
Scaling constant for a complex mode. It has the same properties as modal stiffness for normal modes (undamped or proportionally damped cases). Assuming
\begin{itemize}
\item \(M_{Ar}\) = Modal A of mode r
\item \(\lambda_r\) = System pole of mode r
\end{itemize}

Then
\[ M_{Br} = - \lambda_r M_{Ar} \]
\end{quote}

The comparison between the original measured frequency response function and the synthesized one from the modal model is done in Figure \ref{fig:modal_comp_acc_frf_modal}.

\begin{figure}[htbp]
\centering
\includegraphics[scale=1]{figs/modal_comp_acc_frf_modal.png}
\caption{\label{fig:modal_comp_acc_frf_modal}description}
\end{figure}

Frequency response functions that has not been measured can be synthesized as shown in Figure \ref{fig:modal_synthesized_frf}.

\begin{figure}[htbp]
\centering
\includegraphics[scale=1]{figs/modal_synthesized_frf.png}
\caption{\label{fig:modal_synthesized_frf}description}
\end{figure}

\chapter{Conclusion}
\label{sec:modal_conclusion}

Validation of solid body model.

Further step: go from modal model to parameters of the solid body model.


\printbibliography[heading=bibintoc,title={Bibliography}]
\end{document}
