This document gathers the Matlab code used to for the conference paper (Dehaeze and Collette 2020) and the journal paper (Dehaeze and Collette 2021).

It is structured in several sections:

The matlab code is accessible on Zonodo and Github (Dehaeze 2020). It can also be download as a .zip file here.

To run the Matlab code, go in the matlab directory and run the following Matlab files corresponding to each section.

Table 1: Paper's sections and corresponding Matlab files
Sections Matlab File
Section System Description and Analysis s1_system_description.m
Section Problem with pure Integral Force Feedback s2_iff_pure_int.m
Section Integral Force Feedback with an High Pass Filter s3_iff_hpf.m
Section IFF with a stiffness in parallel with the force sensor s4_iff_kp.m
Section Comparison s5_act_damp_comparison.m

System Description and Analysis

System description

The system consists of one 2 degree of freedom translation stage on top of a spindle (Figure 1).

Figure 1: Schematic of the studied system

Figure 1: Schematic of the studied system

The control inputs are the forces applied by the actuators of the translation stage (\(F_u\) and \(F_v\)). As the translation stage is rotating around the Z axis due to the spindle, the forces are applied along \(\vec{i}_u\) and \(\vec{i}_v\).

Equations

Based on the Figure 1, the equations of motions are:

\begin{equation} \begin{bmatrix} d_u \\ d_v \end{bmatrix} = \bm{G}_d \begin{bmatrix} F_u \\ F_v \end{bmatrix} \end{equation}

Where \(\bm{G}_d\) is a \(2 \times 2\) transfer function matrix.

\begin{equation} \bm{G}_d = \frac{1}{k} \frac{1}{G_{dp}} \begin{bmatrix} G_{dz} & G_{dc} \\ -G_{dc} & G_{dz} \end{bmatrix} \end{equation}

With:

\begin{align} G_{dp} &= \left( \frac{s^2}{{\omega_0}^2} + 2 \xi \frac{s}{\omega_0} + 1 - \frac{{\Omega}^2}{{\omega_0}^2} \right)^2 + \left( 2 \frac{\Omega}{\omega_0} \frac{s}{\omega_0} \right)^2 \\ G_{dz} &= \frac{s^2}{{\omega_0}^2} + 2 \xi \frac{s}{\omega_0} + 1 - \frac{{\Omega}^2}{{\omega_0}^2} \\ G_{dc} &= 2 \frac{\Omega}{\omega_0} \frac{s}{\omega_0} \end{align}

Numerical Values

Let’s define initial values for the model.

1
2
3
  k = 1;    % Actuator Stiffness [N/m]
  c = 0.05; % Actuator Damping [N/(m/s)]
  m = 1;    % Payload mass [kg]
1
2
  xi = c/(2*sqrt(k*m));
  w0 = sqrt(k/m); % [rad/s]

Campbell Diagram

The Campbell Diagram displays the evolution of the real and imaginary parts of the system as a function of the rotating speed.

It is shown in Figures Figure 2 and Figure 3, and one can see that the system becomes unstable for \(\Omega > \omega_0\) (the real part of one of the poles becomes positive).

Figure 2: Campbell Diagram - Real Part

Figure 2: Campbell Diagram - Real Part

Figure 3: Campbell Diagram - Imaginary Part

Figure 3: Campbell Diagram - Imaginary Part

Simscape Model

In order to validate all the equations of motion, a Simscape model of the same system has been developed. The dynamics of the system can be identified from the Simscape model and compare with the analytical model.

The rotating speed for the Simscape Model is defined.

1
  W = 0.1; % Rotation Speed [rad/s]
1
  open('rotating_frame.slx');

The transfer function from \([F_u, F_v]\) to \([d_u, d_v]\) is identified from the Simscape model.

1
2
3
4
5
6
7
  %% Name of the Simulink File
  mdl = 'rotating_frame';

  %% Input/Output definition
  clear io; io_i = 1;
  io(io_i) = linio([mdl, '/K'], 1, 'openinput');  io_i = io_i + 1;
  io(io_i) = linio([mdl, '/G'], 2, 'openoutput'); io_i = io_i + 1;
1
2
3
4
5
  G = linearize(mdl, io, 0);

  %% Input/Output definition
  G.InputName  = {'Fu', 'Fv'};
  G.OutputName = {'du', 'dv'};

The same transfer function from \([F_u, F_v]\) to \([d_u, d_v]\) is written down from the analytical model.

1
2
3
  Gth = (1/k)/(((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2))^2 + (2*W*s/(w0^2))^2) * ...
        [(s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2), 2*W*s/(w0^2) ; ...
         -2*W*s/(w0^2), (s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2)];

Both transfer functions are compared in Figure 4 and are found to perfectly match.

Figure 4: Bode plot of the transfer function from \([F_u, F_v]\) to \([d_u, d_v]\) as identified from the Simscape model and from an analytical model

Figure 4: Bode plot of the transfer function from \([F_u, F_v]\) to \([d_u, d_v]\) as identified from the Simscape model and from an analytical model

Effect of the rotation speed

The transfer functions from \([F_u, F_v]\) to \([d_u, d_v]\) are identified for the following rotating speeds.

1
  Ws = [0, 0.2, 0.7, 1.1]*w0; % Rotating Speeds [rad/s]
1
2
3
4
5
6
7
8
9
  Gs = {zeros(2, 2, length(Ws))};

  for W_i = 1:length(Ws)
      W = Ws(W_i);

      Gs(:, :, W_i) = {(1/k)/(((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2))^2 + (2*W*s/(w0^2))^2) * ...
                       [(s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2), 2*W*s/(w0^2) ; ...
                        -2*W*s/(w0^2), (s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2)]};
  end

They are compared in Figures Figure 5 and Figure 6.

Figure 5: Comparison of the transfer functions from \([F_u, F_v]\) to \([d_u, d_v]\) for several rotating speed - Direct Terms

Figure 5: Comparison of the transfer functions from \([F_u, F_v]\) to \([d_u, d_v]\) for several rotating speed - Direct Terms

Figure 6: Comparison of the transfer functions from \([F_u, F_v]\) to \([d_u, d_v]\) for several rotating speed - Coupling Terms

Figure 6: Comparison of the transfer functions from \([F_u, F_v]\) to \([d_u, d_v]\) for several rotating speed - Coupling Terms

Problem with pure Integral Force Feedback

Force sensors are added in series with the two actuators (Figure 7).

Two identical controllers \(K_F\) are used to feedback each of the sensed force to its associated actuator.

Figure 7: System with added Force Sensor in series with the actuators

Figure 7: System with added Force Sensor in series with the actuators

Plant Parameters

Let’s define initial values for the model.

1
2
3
  k = 1;    % Actuator Stiffness [N/m]
  c = 0.05; % Actuator Damping [N/(m/s)]
  m = 1;    % Payload mass [kg]
1
2
  xi = c/(2*sqrt(k*m));
  w0 = sqrt(k/m); % [rad/s]

Equations

The sensed forces are equal to:

\begin{equation} \begin{bmatrix} f_{u} \\ f_{v} \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \begin{bmatrix} F_u \\ F_v \end{bmatrix} - (c s + k) \begin{bmatrix} d_u \\ d_v \end{bmatrix} \end{equation}

Which then gives:

\begin{equation} \begin{bmatrix} f_{u} \\ f_{v} \end{bmatrix} = \bm{G}_{f} \begin{bmatrix} F_u \\ F_v \end{bmatrix} \end{equation}

\begin{equation} \begin{bmatrix} f_{u} \\ f_{v} \end{bmatrix} = \frac{1}{G_{fp}} \begin{bmatrix} G_{fz} & -G_{fc} \\ G_{fc} & G_{fz} \end{bmatrix} \begin{bmatrix} F_u \\ F_v \end{bmatrix} \end{equation}

\begin{align} G_{fp} &= \left( \frac{s^2}{{\omega_0}^2} + 2 \xi \frac{s}{\omega_0} + 1 - \frac{{\Omega}^2}{{\omega_0}^2} \right)^2 + \left( 2 \frac{\Omega}{\omega_0} \frac{s}{\omega_0} \right)^2 \\ G_{fz} &= \left( \frac{s^2}{{\omega_0}^2} - \frac{\Omega^2}{{\omega_0}^2} \right) \left( \frac{s^2}{{\omega_0}^2} + 2 \xi \frac{s}{\omega_0} + 1 - \frac{{\Omega}^2}{{\omega_0}^2} \right) + \left( 2 \frac{\Omega}{\omega_0} \frac{s}{\omega_0} \right)^2 \\ G_{fc} &= \left( 2 \xi \frac{s}{\omega_0} + 1 \right) \left( 2 \frac{\Omega}{\omega_0} \frac{s}{\omega_0} \right) \end{align}

Comparison of the Analytical Model and the Simscape Model

The rotation speed is set to \(\Omega = 0.1 \omega_0\).

1
  W = 0.1*w0; % [rad/s]
1
  open('rotating_frame.slx');

And the transfer function from \([F_u, F_v]\) to \([f_u, f_v]\) is identified using the Simscape model.

1
2
3
4
5
6
7
  %% Name of the Simulink File
  mdl = 'rotating_frame';

  %% Input/Output definition
  clear io; io_i = 1;
  io(io_i) = linio([mdl, '/K'], 1, 'openinput');  io_i = io_i + 1;
  io(io_i) = linio([mdl, '/G'], 1, 'openoutput'); io_i = io_i + 1;
1
2
3
4
5
  Giff = linearize(mdl, io, 0);

  %% Input/Output definition
  Giff.InputName  = {'Fu', 'Fv'};
  Giff.OutputName = {'fu', 'fv'};

The same transfer function from \([F_u, F_v]\) to \([f_u, f_v]\) is written down from the analytical model.

1
2
3
  Giff_th = 1/(((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2))^2 + (2*W*s/(w0^2))^2) * ...
            [(s^2/w0^2 - W^2/w0^2)*((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2)) + (2*W*s/(w0^2))^2, - (2*xi*s/w0 + 1)*2*W*s/(w0^2) ; ...
             (2*xi*s/w0 + 1)*2*W*s/(w0^2), (s^2/w0^2 - W^2/w0^2)*((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2))+ (2*W*s/(w0^2))^2];

The two are compared in Figure 8 and found to perfectly match.

Figure 8: Comparison of the transfer functions from \([F_u, F_v]\) to \([f_u, f_v]\) between the Simscape model and the analytical one

Figure 8: Comparison of the transfer functions from \([F_u, F_v]\) to \([f_u, f_v]\) between the Simscape model and the analytical one

Effect of the rotation speed

The transfer functions from \([F_u, F_v]\) to \([f_u, f_v]\) are identified for the following rotating speeds.

1
  Ws = [0, 0.2, 0.7]*w0; % Rotating Speeds [rad/s]
1
2
3
4
5
6
7
8
9
  Gsiff = {zeros(2, 2, length(Ws))};

  for W_i = 1:length(Ws)
      W = Ws(W_i);

      Gsiff(:, :, W_i) = {1/(((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2))^2 + (2*W*s/(w0^2))^2) * ...
                        [(s^2/w0^2 - W^2/w0^2)*((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2)) + (2*W*s/(w0^2))^2, - (2*xi*s/w0 + 1)*2*W*s/(w0^2) ; ...
                         (2*xi*s/w0 + 1)*2*W*s/(w0^2), (s^2/w0^2 - W^2/w0^2)*((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2))+ (2*W*s/(w0^2))^2]};
  end

The obtained transfer functions are shown in Figure 9.

Figure 9: Comparison of the transfer functions from \([F_u, F_v]\) to \([f_u, f_v]\) for several rotating speed

Figure 9: Comparison of the transfer functions from \([F_u, F_v]\) to \([f_u, f_v]\) for several rotating speed

Decentralized Integral Force Feedback

The decentralized IFF controller consists of pure integrators:

\begin{equation} \bm{K}_{\text{IFF}}(s) = \frac{g}{s} \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \end{equation}

The Root Locus (evolution of the poles of the closed loop system in the complex plane as a function of \(g\)) is shown in Figure 10. It is shown that for non-null rotating speed, one pole is bound to the right-half plane, and thus the closed loop system is unstable.

Figure 10: Root Locus for the Decentralized Integral Force Feedback controller. Several rotating speed are shown.

Figure 10: Root Locus for the Decentralized Integral Force Feedback controller. Several rotating speed are shown.

Integral Force Feedback with an High Pass Filter

Plant Parameters

Let’s define initial values for the model.

1
2
3
  k = 1;    % Actuator Stiffness [N/m]
  c = 0.05; % Actuator Damping [N/(m/s)]
  m = 1;    % Payload mass [kg]
1
2
  xi = c/(2*sqrt(k*m));
  w0 = sqrt(k/m); % [rad/s]

Modified Integral Force Feedback Controller

Let’s modify the initial Integral Force Feedback Controller ; instead of using pure integrators, pseudo integrators (i.e. low pass filters) are used:

\begin{equation} K_{\text{IFF}}(s) = g\frac{1}{\omega_i + s} \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \end{equation}

where \(\omega_i\) characterize down to which frequency the signal is integrated.

Let’s arbitrary choose the following control parameters:

1
2
  g = 2;
  wi = 0.1*w0;

And the following rotating speed.

1
2
3
  Giff = 1/(((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2))^2 + (2*W*s/(w0^2))^2) * ...
          [(s^2/w0^2 - W^2/w0^2)*((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2)) + (2*W*s/(w0^2))^2, - (2*xi*s/w0 + 1)*2*W*s/(w0^2) ; ...
           (2*xi*s/w0 + 1)*2*W*s/(w0^2), (s^2/w0^2 - W^2/w0^2)*((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2))+ (2*W*s/(w0^2))^2];

The obtained Loop Gain is shown in Figure 11.

Figure 11: Loop Gain for the modified IFF controller

Figure 11: Loop Gain for the modified IFF controller

Root Locus

As shown in the Root Locus plot (Figure 12), for some value of the gain, the system remains stable.

Figure 12: Root Locus for the modified IFF controller

Figure 12: Root Locus for the modified IFF controller

Figure 13: Root Locus for the modified IFF controller - Zoom

Figure 13: Root Locus for the modified IFF controller - Zoom

What is the optimal \(\omega_i\) and \(g\)?

In order to visualize the effect of \(\omega_i\) on the attainable damping, the Root Locus is displayed in Figure 14 for the following \(\omega_i\):

1
  wis = [0.01, 0.1, 0.5, 1]*w0; % [rad/s]

Figure 14: Root Locus for the modified IFF controller (zoomed plot on the left)

Figure 14: Root Locus for the modified IFF controller (zoomed plot on the left)

Figure 15: Root Locus for the modified IFF controller (zoomed plot on the left)

Figure 15: Root Locus for the modified IFF controller (zoomed plot on the left)

For the controller

\begin{equation} K_{\text{IFF}}(s) = g\frac{1}{\omega_i + s} \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \end{equation}

The gain at which the system becomes unstable is

\begin{equation} g_\text{max} = \omega_i \left( \frac{{\omega_0}^2}{\Omega^2} - 1 \right) \label{eq:iff_gmax} \end{equation}

While it seems that small \(\omega_i\) do allow more damping to be added to the system (Figure 14), the control gains may be limited to small values due to \eqref{eq:iff_gmax} thus reducing the attainable damping.

There must be an optimum for \(\omega_i\). To find the optimum, the gain that maximize the simultaneous damping of the mode is identified for a wide range of \(\omega_i\) (Figure 16).

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
  wis = logspace(-2, 1, 100)*w0; % [rad/s]

  opt_xi = zeros(1, length(wis)); % Optimal simultaneous damping
  opt_gain = zeros(1, length(wis)); % Corresponding optimal gain

  for wi_i = 1:length(wis)
      wi = wis(wi_i);
      Kiff = 1/(s + wi)*eye(2);

      fun = @(g)computeSimultaneousDamping(g, Giff, Kiff);

      [g_opt, xi_opt] = fminsearch(fun, 0.5*wi*((w0/W)^2 - 1));
      opt_xi(wi_i) = 1/xi_opt;
      opt_gain(wi_i) = g_opt;
  end

Figure 16: Simultaneous attainable damping of the closed loop poles as a function of \(\omega_i\)

Figure 16: Simultaneous attainable damping of the closed loop poles as a function of \(\omega_i\)

IFF with a stiffness in parallel with the force sensor

Schematic

In this section additional springs in parallel with the force sensors are added to counteract the negative stiffness induced by the rotation.

Figure 17: Studied system with additional springs in parallel with the actuators and force sensors

Figure 17: Studied system with additional springs in parallel with the actuators and force sensors

In order to keep the overall stiffness \(k = k_a + k_p\) constant, a scalar parameter \(\alpha\) (\(0 \le \alpha < 1\)) is defined to describe the fraction of the total stiffness in parallel with the actuator and force sensor

\begin{equation} k_p = \alpha k, \quad k_a = (1 - \alpha) k \end{equation}

Equations

\begin{equation} \begin{bmatrix} f_u \\ f_v \end{bmatrix} = \bm{G}_k \begin{bmatrix} F_u \\ F_v \end{bmatrix} \end{equation}

\begin{equation} \begin{bmatrix} f_u \\ f_v \end{bmatrix} = \frac{1}{G_{kp}} \begin{bmatrix} G_{kz} & -G_{kc} \\ G_{kc} & G_{kz} \end{bmatrix} \begin{bmatrix} F_u \\ F_v \end{bmatrix} \end{equation}

With:

\begin{align} G_{kp} &= \left( \frac{s^2}{{\omega_0}^2} + 2\xi \frac{s}{{\omega_0}^2} + 1 - \frac{\Omega^2}{{\omega_0}^2} \right)^2 + \left( 2 \frac{\Omega}{\omega_0}\frac{s}{\omega_0} \right)^2 \\ G_{kz} &= \left( \frac{s^2}{{\omega_0}^2} - \frac{\Omega^2}{{\omega_0}^2} + \alpha \right) \left( \frac{s^2}{{\omega_0}^2} + 2\xi \frac{s}{{\omega_0}^2} + 1 - \frac{\Omega^2}{{\omega_0}^2} \right) + \left( 2 \frac{\Omega}{\omega_0}\frac{s}{\omega_0} \right)^2 \\ G_{kc} &= \left( 2 \xi \frac{s}{\omega_0} + 1 - \alpha \right) \left( 2 \frac{\Omega}{\omega_0}\frac{s}{\omega_0} \right) \end{align}

If we compare \(G_{kz}\) and \(G_{fz}\), we see that the spring in parallel adds a term \(\alpha\). In order to have two complex conjugate zeros (instead of real zeros):

\begin{equation} \alpha > \frac{\Omega^2}{{\omega_0}^2} \quad \Leftrightarrow \quad k_p > m \Omega^2 \end{equation}

Plant Parameters

Let’s define initial values for the model.

1
2
3
  k = 1;    % Actuator Stiffness [N/m]
  c = 0.05; % Actuator Damping [N/(m/s)]
  m = 1;    % Payload mass [kg]
1
2
  xi = c/(2*sqrt(k*m));
  w0 = sqrt(k/m); % [rad/s]

Comparison of the Analytical Model and the Simscape Model

The same transfer function from \([F_u, F_v]\) to \([f_u, f_v]\) is written down from the analytical model.

1
2
3
4
  W = 0.1*w0; % [rad/s]

  kp = 1.5*m*W^2;
  cp = 0;
1
  open('rotating_frame.slx');
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
  %% Name of the Simulink File
  mdl = 'rotating_frame';

  %% Input/Output definition
  clear io; io_i = 1;
  io(io_i) = linio([mdl, '/K'], 1, 'openinput');  io_i = io_i + 1;
  io(io_i) = linio([mdl, '/G'], 1, 'openoutput'); io_i = io_i + 1;

  Giff = linearize(mdl, io, 0);

  %% Input/Output definition
  Giff.InputName  = {'Fu', 'Fv'};
  Giff.OutputName = {'fu', 'fv'};
1
2
3
4
5
6
7
8
  w0p = sqrt((k + kp)/m);
  xip = c/(2*sqrt((k+kp)*m));

  Giff_th = 1/( (s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2)^2 + (2*(s/w0p)*(W/w0p))^2 ) * [ ...
                     (s^2/w0p^2 + kp/(k + kp) - W^2/w0p^2)*(s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2) + (2*(s/w0p)*(W/w0p))^2, -(2*xip*s/w0p + k/(k + kp))*(2*(s/w0p)*(W/w0p));
                     (2*xip*s/w0p + k/(k + kp))*(2*(s/w0p)*(W/w0p)), (s^2/w0p^2 + kp/(k + kp) - W^2/w0p^2)*(s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2) + (2*(s/w0p)*(W/w0p))^2 ];
  Giff_th.InputName  = {'Fu', 'Fv'};
  Giff_th.OutputName = {'fu', 'fv'};

Figure 18: Comparison of the transfer functions from \([F_u, F_v]\) to \([f_u, f_v]\) between the Simscape model and the analytical one

Figure 18: Comparison of the transfer functions from \([F_u, F_v]\) to \([f_u, f_v]\) between the Simscape model and the analytical one

Effect of the parallel stiffness on the IFF plant

The rotation speed is set to \(\Omega = 0.1 \omega_0\).

1
  W = 0.1*w0; % [rad/s]

And the IFF plant (transfer function from \([F_u, F_v]\) to \([f_u, f_v]\)) is identified in three different cases:

  • without parallel stiffness
  • with a small parallel stiffness \(k_p < m \Omega^2\)
  • with a large parallel stiffness \(k_p > m \Omega^2\)

The results are shown in Figure 19.

One can see that for \(k_p > m \Omega^2\), the systems shows alternating complex conjugate poles and zeros.

1
2
3
4
5
6
7
8
  kp = 0;

  w0p = sqrt((k + kp)/m);
  xip = c/(2*sqrt((k+kp)*m));

  Giff = 1/( (s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2)^2 + (2*(s/w0p)*(W/w0p))^2 ) * [ ...
      (s^2/w0p^2 + kp/(k + kp) - W^2/w0p^2)*(s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2) + (2*(s/w0p)*(W/w0p))^2, -(2*xip*s/w0p + k/(k + kp))*(2*(s/w0p)*(W/w0p));
      (2*xip*s/w0p + k/(k + kp))*(2*(s/w0p)*(W/w0p)), (s^2/w0p^2 + kp/(k + kp) - W^2/w0p^2)*(s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2) + (2*(s/w0p)*(W/w0p))^2];
1
2
3
4
5
6
7
8
9
  kp = 0.5*m*W^2;
  k = 1 - kp;

  w0p = sqrt((k + kp)/m);
  xip = c/(2*sqrt((k+kp)*m));

  Giff_s = 1/( (s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2)^2 + (2*(s/w0p)*(W/w0p))^2 ) * [ ...
      (s^2/w0p^2 + kp/(k + kp) - W^2/w0p^2)*(s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2) + (2*(s/w0p)*(W/w0p))^2, -(2*xip*s/w0p + k/(k + kp))*(2*(s/w0p)*(W/w0p));
      (2*xip*s/w0p + k/(k + kp))*(2*(s/w0p)*(W/w0p)), (s^2/w0p^2 + kp/(k + kp) - W^2/w0p^2)*(s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2) + (2*(s/w0p)*(W/w0p))^2];
1
2
3
4
5
6
7
8
9
  kp = 1.5*m*W^2;
  k = 1 - kp;

  w0p = sqrt((k + kp)/m);
  xip = c/(2*sqrt((k+kp)*m));

  Giff_l = 1/( (s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2)^2 + (2*(s/w0p)*(W/w0p))^2 ) * [ ...
      (s^2/w0p^2 + kp/(k + kp) - W^2/w0p^2)*(s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2) + (2*(s/w0p)*(W/w0p))^2, -(2*xip*s/w0p + k/(k + kp))*(2*(s/w0p)*(W/w0p));
      (2*xip*s/w0p + k/(k + kp))*(2*(s/w0p)*(W/w0p)), (s^2/w0p^2 + kp/(k + kp) - W^2/w0p^2)*(s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2) + (2*(s/w0p)*(W/w0p))^2];

Figure 19: Transfer function from \([F_u, F_v]\) to \([f_u, f_v]\) for \(k_p = 0\), \(k_p < m \Omega^2\) and \(k_p > m \Omega^2\)

Figure 19: Transfer function from \([F_u, F_v]\) to \([f_u, f_v]\) for \(k_p = 0\), \(k_p < m \Omega^2\) and \(k_p > m \Omega^2\)

IFF when adding a spring in parallel

In Figure 20 is displayed the Root Locus in the three considered cases with

\begin{equation} K_{\text{IFF}} = \frac{g}{s} \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \end{equation}

One can see that for \(k_p > m \Omega^2\), the root locus stays in the left half of the complex plane and thus the control system is unconditionally stable.

Thus, decentralized IFF controller with pure integrators can be used if:

\begin{equation} k_{p} > m \Omega^2 \end{equation}

Figure 20: Root Locus

Figure 20: Root Locus

Figure 21: Root Locus

Figure 21: Root Locus

Effect of \(k_p\) on the attainable damping

However, having large values of \(k_p\) may decrease the attainable damping.

To study the second point, Root Locus plots for the following values of \(k_p\) are shown in Figure 22.

1
  kps = [2, 20, 40]*m*W^2;

It is shown that large values of \(k_p\) decreases the attainable damping.

Figure 22: Root Locus plot

Figure 22: Root Locus plot

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  alphas = logspace(-2, 0, 100);

  opt_xi = zeros(1, length(alphas)); % Optimal simultaneous damping
  opt_gain = zeros(1, length(alphas)); % Corresponding optimal gain

  Kiff = 1/s*eye(2);

  for alpha_i = 1:length(alphas)
      kp = alphas(alpha_i);
      k = 1 - alphas(alpha_i);

      w0p = sqrt((k + kp)/m);
      xip = c/(2*sqrt((k+kp)*m));

      Giff = 1/( (s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2)^2 + (2*(s/w0p)*(W/w0p))^2 ) * [ ...
          (s^2/w0p^2 + kp/(k + kp) - W^2/w0p^2)*(s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2) + (2*(s/w0p)*(W/w0p))^2, -(2*xip*s/w0p + k/(k + kp))*(2*(s/w0p)*(W/w0p));
          (2*xip*s/w0p + k/(k + kp))*(2*(s/w0p)*(W/w0p)), (s^2/w0p^2 + kp/(k + kp) - W^2/w0p^2)*(s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2) + (2*(s/w0p)*(W/w0p))^2];

      fun = @(g)computeSimultaneousDamping(g, Giff, Kiff);

      [g_opt, xi_opt] = fminsearch(fun, 2);
      opt_xi(alpha_i) = 1/xi_opt;
      opt_gain(alpha_i) = g_opt;
  end

Figure 23: Attainable damping ratio and corresponding controller gain for different parameter \(\alpha\)

Figure 23: Attainable damping ratio and corresponding controller gain for different parameter \(\alpha\)

Comparison

Two modifications to adapt the IFF control strategy to rotating platforms have been proposed. These two methods are now compared in terms of added damping, closed-loop compliance and transmissibility.

Plant Parameters

Let’s define initial values for the model.

1
2
3
  k = 1;    % Actuator Stiffness [N/m]
  c = 0.05; % Actuator Damping [N/(m/s)]
  m = 1;    % Payload mass [kg]
1
2
  xi = c/(2*sqrt(k*m));
  w0 = sqrt(k/m); % [rad/s]

The rotating speed is set to \(\Omega = 0.1 \omega_0\).

1
  W = 0.1*w0;

Root Locus

IFF with High Pass Filter

1
2
3
4
5
  wi = 0.1*w0; % [rad/s]

  Giff = 1/(((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2))^2 + (2*W*s/(w0^2))^2) * ...
          [(s^2/w0^2 - W^2/w0^2)*((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2)) + (2*W*s/(w0^2))^2, - (2*xi*s/w0 + 1)*2*W*s/(w0^2) ; ...
           (2*xi*s/w0 + 1)*2*W*s/(w0^2), (s^2/w0^2 - W^2/w0^2)*((s^2)/(w0^2) + 2*xi*s/w0 + 1 - (W^2)/(w0^2))+ (2*W*s/(w0^2))^2];

IFF With parallel Stiffness

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  kp = 5*m*W^2;
  k = k - kp;

  w0p = sqrt((k + kp)/m);
  xip = c/(2*sqrt((k+kp)*m));

  Giff_kp = 1/( (s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2)^2 + (2*(s/w0p)*(W/w0p))^2 ) * [ ...
                     (s^2/w0p^2 + kp/(k + kp) - W^2/w0p^2)*(s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2) + (2*(s/w0p)*(W/w0p))^2, -(2*xip*s/w0p + k/(k + kp))*(2*(s/w0p)*(W/w0p));
                     (2*xip*s/w0p + k/(k + kp))*(2*(s/w0p)*(W/w0p)), (s^2/w0p^2 + kp/(k + kp) - W^2/w0p^2)*(s^2/w0p^2 + 2*xip*s/w0p + 1 - W^2/w0p^2) + (2*(s/w0p)*(W/w0p))^2 ];

  k = k + kp;

Figure 24: Root Locus plot - Comparison of IFF with additional high pass filter, IFF with additional parallel stiffness

Figure 24: Root Locus plot - Comparison of IFF with additional high pass filter, IFF with additional parallel stiffness

Controllers - Optimal Gains

In order to compare to three considered Active Damping techniques, gains that yield maximum damping of all the modes are computed for each case.

The obtained damping ratio and control are shown below.

Obtained \(\xi\) Control Gain
Modified IFF 0.83 1.99
IFF with \(k_p\) 0.83 2.02

Passive Damping - Critical Damping

\begin{equation} \xi = \frac{c}{2 \sqrt{km}} \end{equation}

Critical Damping corresponds to to \(\xi = 1\), and thus:

\begin{equation} c_{\text{crit}} = 2 \sqrt{km} \end{equation}

1
  c_opt = 2*sqrt(k*m);

Transmissibility And Compliance

1
  open('rotating_frame.slx');
1
2
3
4
5
6
7
8
  %% Name of the Simulink File
  mdl = 'rotating_frame';

  %% Input/Output definition
  clear io; io_i = 1;
  io(io_i) = linio([mdl, '/dw'], 1, 'input');  io_i = io_i + 1;
  io(io_i) = linio([mdl, '/fd'], 1, 'input');  io_i = io_i + 1;
  io(io_i) = linio([mdl, '/Meas'], 1, 'output');  io_i = io_i + 1;
1
2
3
4
5
  G_ol = linearize(mdl, io, 0);

  %% Input/Output definition
  G_ol.InputName  = {'Dwx', 'Dwy', 'Fdx', 'Fdy'};
  G_ol.OutputName = {'Dx', 'Dy'};

Passive Damping

1
2
  kp = 0;
  cp = 0;
1
2
  c_old = c;
  c = c_opt;
1
2
3
4
5
  G_pas = linearize(mdl, io, 0);

  %% Input/Output definition
  G_pas.InputName  = {'Dwx', 'Dwy', 'Fdx', 'Fdy'};
  G_pas.OutputName = {'Dx', 'Dy'};
1
  c = c_old;
1
  Kiff = opt_gain_iff/(wi + s)*tf(eye(2));
1
2
3
4
5
  G_iff = linearize(mdl, io, 0);

  %% Input/Output definition
  G_iff.InputName  = {'Dwx', 'Dwy', 'Fdx', 'Fdy'};
  G_iff.OutputName = {'Dx', 'Dy'};
1
2
  kp = 5*m*W^2;
  cp = 0.01;
1
  Kiff = opt_gain_kp/s*tf(eye(2));
1
2
3
4
5
  G_kp = linearize(mdl, io, 0);

  %% Input/Output definition
  G_kp.InputName  = {'Dwx', 'Dwy', 'Fdx', 'Fdy'};
  G_kp.OutputName = {'Dx', 'Dy'};

Figure 25: Comparison of the transmissibility

Figure 25: Comparison of the transmissibility

Figure 26: Comparison of the obtained Compliance

Figure 26: Comparison of the obtained Compliance

Notations

Mathematical Notation Matlab Unit
Actuator Stiffness \(k\) k N/m
Actuator Damping \(c\) c N/(m/s)
Payload Mass \(m\) m kg
Damping Ratio \(\xi = \frac{c}{2\sqrt{km}}\) xi
Actuator Force \(\bm{F}, F_u, F_v\) F Fu Fv N
Force Sensor signal \(\bm{f}, f_u, f_v\) f fu fv N
Relative Displacement \(\bm{d}, d_u, d_v\) d du dv m
Resonance freq. when \(\Omega = 0\) \(\omega_0\) w0 rad/s
Rotation Speed \(\Omega = \dot{\theta}\) W rad/s
Low Pass Filter corner frequency \(\omega_i\) wi rad/s
Mathematical Notation Matlab Unit
Laplace variable \(s\) s
Complex number \(j\) j
Frequency \(\omega\) w [rad/s]
Dehaeze, T., and C. Collette. 2020. “Active Damping of Rotating Platforms Using Integral Force Feedback.” In Proceedings of the International Conference on Modal Analysis Noise and Vibration Engineering (ISMA).
Dehaeze, Thomas. 2020. “Active Damping of Rotating Positioning Platforms.” Source Code on Zonodo. doi:10.5281/zenodo.3894342.
Dehaeze, Thomas, and Christophe Collette. 2021. “Active Damping of Rotating Platforms Using Integral Force Feedback.” Engineering Research Express. http://iopscience.iop.org/article/10.1088/2631-8695/abe803.