stewart-simscape/org/control-active-damping.org

36 KiB

Stewart Platform - Decentralized Active Damping

Introduction   ignore

The following decentralized active damping techniques are briefly studied:

Inertial Control

<<sec:active_damping_inertial>>

The Matlab script corresponding to this section is accessible here.

To run the script, open the Simulink Project, and type run active_damping_inertial.m.

Introduction   ignore

Identification of the Dynamics

  stewart = initializeStewartPlatform();
  stewart = initializeFramesPositions(stewart, 'H', 90e-3, 'MO_B', 45e-3);
  stewart = generateGeneralConfiguration(stewart);
  stewart = computeJointsPose(stewart);
  stewart = initializeStrutDynamics(stewart);
  stewart = initializeJointDynamics(stewart, 'type_F', 'universal_p', 'type_M', 'spherical_p');
  stewart = initializeCylindricalPlatforms(stewart);
  stewart = initializeCylindricalStruts(stewart);
  stewart = computeJacobian(stewart);
  stewart = initializeStewartPose(stewart);
  stewart = initializeInertialSensor(stewart, 'type', 'accelerometer', 'freq', 5e3);
  ground = initializeGround('type', 'rigid', 'rot_point', stewart.platform_F.FO_A);
  payload = initializePayload('type', 'none');
  controller = initializeController('type', 'open-loop');
  %% Options for Linearized
  options = linearizeOptions;
  options.SampleTime = 0;

  %% Name of the Simulink File
  mdl = 'stewart_platform_model';

  %% Input/Output definition
  clear io; io_i = 1;
  io(io_i) = linio([mdl, '/Controller'],        1, 'openinput');  io_i = io_i + 1; % Actuator Force Inputs [N]
  io(io_i) = linio([mdl, '/Stewart Platform'],  1, 'openoutput', [], 'Vm'); io_i = io_i + 1; % Absolute velocity of each leg [m/s]

  %% Run the linearization
  G = linearize(mdl, io, options);
  G.InputName  = {'F1', 'F2', 'F3', 'F4', 'F5', 'F6'};
  G.OutputName = {'Vm1', 'Vm2', 'Vm3', 'Vm4', 'Vm5', 'Vm6'};

The transfer function from actuator forces to force sensors is shown in Figure fig:inertial_plant_coupling.

<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/inertial_plant_coupling.png
Transfer function from the Actuator force $F_{i}$ to the absolute velocity of the same leg $v_{m,i}$ and to the absolute velocity of the other legs $v_{m,j}$ with $i \neq j$ in grey (png, pdf)

Effect of the Flexible Joint stiffness and Actuator amplification on the Dynamics

We add some stiffness and damping in the flexible joints and we re-identify the dynamics.

  stewart = initializeJointDynamics(stewart, 'type_F', 'universal', 'type_M', 'spherical');
  Gf = linearize(mdl, io, options);
  Gf.InputName  = {'F1', 'F2', 'F3', 'F4', 'F5', 'F6'};
  Gf.OutputName = {'Vm1', 'Vm2', 'Vm3', 'Vm4', 'Vm5', 'Vm6'};

We now use the amplified actuators and re-identify the dynamics

  stewart = initializeAmplifiedStrutDynamics(stewart);
  Ga = linearize(mdl, io, options);
  Ga.InputName  = {'F1', 'F2', 'F3', 'F4', 'F5', 'F6'};
  Ga.OutputName = {'Vm1', 'Vm2', 'Vm3', 'Vm4', 'Vm5', 'Vm6'};

The new dynamics from force actuator to force sensor is shown in Figure fig:inertial_plant_flexible_joint_decentralized.

<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/inertial_plant_flexible_joint_decentralized.png
Transfer function from the Actuator force $F_{i}$ to the absolute velocity sensor $v_{m,i}$ (png, pdf)

Obtained Damping

The control is a performed in a decentralized manner. The $6 \times 6$ control is a diagonal matrix with pure proportional action on the diagonal: \[ K(s) = g

\begin{bmatrix} 1 & & 0 \\ & \ddots & \\ 0 & & 1 \end{bmatrix} \]

The root locus is shown in figure fig:root_locus_inertial_rot_stiffness.

<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/root_locus_inertial_rot_stiffness.png
Root Locus plot with Decentralized Inertial Control when considering the stiffness of flexible joints (png, pdf)

Conclusion

We do not have guaranteed stability with Inertial control. This is because of the flexibility inside the internal sensor.

Integral Force Feedback

<<sec:active_damping_iff>>

The Matlab script corresponding to this section is accessible here.

To run the script, open the Simulink Project, and type run active_damping_iff.m.

Introduction   ignore

Identification of the Dynamics with perfect Joints

We first initialize the Stewart platform without joint stiffness.

  stewart = initializeStewartPlatform();
  stewart = initializeFramesPositions(stewart, 'H', 90e-3, 'MO_B', 45e-3);
  stewart = generateGeneralConfiguration(stewart);
  stewart = computeJointsPose(stewart);
  stewart = initializeStrutDynamics(stewart);
  stewart = initializeJointDynamics(stewart, 'type_F', 'universal_p', 'type_M', 'spherical_p');
  stewart = initializeCylindricalPlatforms(stewart);
  stewart = initializeCylindricalStruts(stewart);
  stewart = computeJacobian(stewart);
  stewart = initializeStewartPose(stewart);
  stewart = initializeInertialSensor(stewart, 'type', 'none');
  ground = initializeGround('type', 'rigid', 'rot_point', stewart.platform_F.FO_A);
  payload = initializePayload('type', 'none');
  controller = initializeController('type', 'open-loop');

And we identify the dynamics from force actuators to force sensors.

  %% Name of the Simulink File
  mdl = 'stewart_platform_model';

  %% Input/Output definition
  clear io; io_i = 1;
  io(io_i) = linio([mdl, '/Controller'],        1, 'openinput');  io_i = io_i + 1; % Actuator Force Inputs [N]
  io(io_i) = linio([mdl, '/Stewart Platform'],  1, 'openoutput', [], 'Taum'); io_i = io_i + 1; % Force Sensor Outputs [N]

  %% Run the linearization
  G = linearize(mdl, io);
  G.InputName  = {'F1', 'F2', 'F3', 'F4', 'F5', 'F6'};
  G.OutputName = {'Fm1', 'Fm2', 'Fm3', 'Fm4', 'Fm5', 'Fm6'};

The transfer function from actuator forces to force sensors is shown in Figure fig:iff_plant_coupling.

<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/iff_plant_coupling.png
Transfer function from the Actuator force $F_{i}$ to the Force sensor of the same leg $F_{m,i}$ and to the force sensor of the other legs $F_{m,j}$ with $i \neq j$ in grey (png, pdf)

Effect of the Flexible Joint stiffness and Actuator amplification on the Dynamics

We add some stiffness and damping in the flexible joints and we re-identify the dynamics.

  stewart = initializeJointDynamics(stewart, 'type_F', 'universal', 'type_M', 'spherical');
  Gf = linearize(mdl, io);
  Gf.InputName  = {'F1', 'F2', 'F3', 'F4', 'F5', 'F6'};
  Gf.OutputName = {'Fm1', 'Fm2', 'Fm3', 'Fm4', 'Fm5', 'Fm6'};

We now use the amplified actuators and re-identify the dynamics

  stewart = initializeAmplifiedStrutDynamics(stewart);
  Ga = linearize(mdl, io);
  Ga.InputName  = {'F1', 'F2', 'F3', 'F4', 'F5', 'F6'};
  Ga.OutputName = {'Fm1', 'Fm2', 'Fm3', 'Fm4', 'Fm5', 'Fm6'};

The new dynamics from force actuator to force sensor is shown in Figure fig:iff_plant_flexible_joint_decentralized.

<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/iff_plant_flexible_joint_decentralized.png
Transfer function from the Actuator force $F_{i}$ to the force sensor $F_{m,i}$ (png, pdf)

Obtained Damping

The control is a performed in a decentralized manner. The $6 \times 6$ control is a diagonal matrix with pure integration action on the diagonal: \[ K(s) = g

\begin{bmatrix} \frac{1}{s} & & 0 \\ & \ddots & \\ 0 & & \frac{1}{s} \end{bmatrix} \]

The root locus is shown in figure fig:root_locus_iff_rot_stiffness and the obtained pole damping function of the control gain is shown in figure fig:pole_damping_gain_iff_rot_stiffness.

<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/root_locus_iff_rot_stiffness.png
Root Locus plot with Decentralized Integral Force Feedback when considering the stiffness of flexible joints (png, pdf)
<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/pole_damping_gain_iff_rot_stiffness.png
Damping of the poles with respect to the gain of the Decentralized Integral Force Feedback when considering the stiffness of flexible joints (png, pdf)

Conclusion

The joint stiffness has a huge impact on the attainable active damping performance when using force sensors. Thus, if Integral Force Feedback is to be used in a Stewart platform with flexible joints, the rotational stiffness of the joints should be minimized.

Direct Velocity Feedback

<<sec:active_damping_dvf>>

The Matlab script corresponding to this section is accessible here.

To run the script, open the Simulink Project, and type run active_damping_dvf.m.

Introduction   ignore

Identification of the Dynamics with perfect Joints

We first initialize the Stewart platform without joint stiffness.

  stewart = initializeStewartPlatform();
  stewart = initializeFramesPositions(stewart, 'H', 90e-3, 'MO_B', 45e-3);
  stewart = generateGeneralConfiguration(stewart);
  stewart = computeJointsPose(stewart);
  stewart = initializeStrutDynamics(stewart);
  stewart = initializeJointDynamics(stewart, 'type_F', 'universal_p', 'type_M', 'spherical_p');
  stewart = initializeCylindricalPlatforms(stewart);
  stewart = initializeCylindricalStruts(stewart);
  stewart = computeJacobian(stewart);
  stewart = initializeStewartPose(stewart);
  stewart = initializeInertialSensor(stewart, 'type', 'none');
  ground = initializeGround('type', 'rigid', 'rot_point', stewart.platform_F.FO_A);
  payload = initializePayload('type', 'none');
  controller = initializeController('type', 'open-loop');

And we identify the dynamics from force actuators to force sensors.

  %% Options for Linearized
  options = linearizeOptions;
  options.SampleTime = 0;

  %% Name of the Simulink File
  mdl = 'stewart_platform_model';

  %% Input/Output definition
  clear io; io_i = 1;
  io(io_i) = linio([mdl, '/Controller'],        1, 'openinput');  io_i = io_i + 1; % Actuator Force Inputs [N]
  io(io_i) = linio([mdl, '/Stewart Platform'],  1, 'openoutput', [], 'dLm'); io_i = io_i + 1; % Relative Displacement Outputs [m]

  %% Run the linearization
  G = linearize(mdl, io, options);
  G.InputName  = {'F1', 'F2', 'F3', 'F4', 'F5', 'F6'};
  G.OutputName = {'Dm1', 'Dm2', 'Dm3', 'Dm4', 'Dm5', 'Dm6'};

The transfer function from actuator forces to relative motion sensors is shown in Figure fig:dvf_plant_coupling.

<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/dvf_plant_coupling.png
Transfer function from the Actuator force $F_{i}$ to the Relative Motion Sensor $D_{m,j}$ with $i \neq j$ (png, pdf)

Effect of the Flexible Joint stiffness and Actuator amplification on the Dynamics

We add some stiffness and damping in the flexible joints and we re-identify the dynamics.

  stewart = initializeJointDynamics(stewart, 'type_F', 'universal', 'type_M', 'spherical');
  Gf = linearize(mdl, io, options);
  Gf.InputName  = {'F1', 'F2', 'F3', 'F4', 'F5', 'F6'};
  Gf.OutputName = {'Dm1', 'Dm2', 'Dm3', 'Dm4', 'Dm5', 'Dm6'};

We now use the amplified actuators and re-identify the dynamics

  stewart = initializeAmplifiedStrutDynamics(stewart);
  Ga = linearize(mdl, io, options);
  Ga.InputName  = {'F1', 'F2', 'F3', 'F4', 'F5', 'F6'};
  Ga.OutputName = {'Dm1', 'Dm2', 'Dm3', 'Dm4', 'Dm5', 'Dm6'};

The new dynamics from force actuator to relative motion sensor is shown in Figure fig:dvf_plant_flexible_joint_decentralized.

<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/dvf_plant_flexible_joint_decentralized.png
Transfer function from the Actuator force $F_{i}$ to the relative displacement sensor $D_{m,i}$ (png, pdf)

Obtained Damping

The control is a performed in a decentralized manner. The $6 \times 6$ control is a diagonal matrix with pure derivative action on the diagonal: \[ K(s) = g

\begin{bmatrix} s & & \\ & \ddots & \\ & & s \end{bmatrix} \]

The root locus is shown in figure fig:root_locus_dvf_rot_stiffness.

<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/root_locus_dvf_rot_stiffness.png
Root Locus plot with Direct Velocity Feedback when considering the Stiffness of flexible joints (png, pdf)

Conclusion

Joint stiffness does increase the resonance frequencies of the system but does not change the attainable damping when using relative motion sensors.

Compliance and Transmissibility Comparison

Introduction   ignore

Initialization

We first initialize the Stewart platform without joint stiffness.

  stewart = initializeStewartPlatform();
  stewart = initializeFramesPositions(stewart, 'H', 90e-3, 'MO_B', 45e-3);
  stewart = generateGeneralConfiguration(stewart);
  stewart = computeJointsPose(stewart);
  stewart = initializeStrutDynamics(stewart);
  stewart = initializeJointDynamics(stewart, 'type_F', 'universal_p', 'type_M', 'spherical_p');
  stewart = initializeCylindricalPlatforms(stewart);
  stewart = initializeCylindricalStruts(stewart);
  stewart = computeJacobian(stewart);
  stewart = initializeStewartPose(stewart);
  stewart = initializeInertialSensor(stewart, 'type', 'none');

The rotation point of the ground is located at the origin of frame $\{A\}$.

  ground = initializeGround('type', 'rigid', 'rot_point', stewart.platform_F.FO_A);
  payload = initializePayload('type', 'none');
  controller = initializeController('type', 'open-loop');

Identification

Let's first identify the transmissibility and compliance in the open-loop case.

  controller = initializeController('type', 'open-loop');
  [T_ol, T_norm_ol, freqs] = computeTransmissibility();
  [C_ol, C_norm_ol, freqs] = computeCompliance();

Now, let's identify the transmissibility and compliance for the Integral Force Feedback architecture.

  controller = initializeController('type', 'iff');
  K_iff = (1e4/s)*eye(6);

  [T_iff, T_norm_iff, ~] = computeTransmissibility();
  [C_iff, C_norm_iff, ~] = computeCompliance();

And for the Direct Velocity Feedback.

  controller = initializeController('type', 'dvf');
  K_dvf = 1e4*s/(1+s/2/pi/5000)*eye(6);

  [T_dvf, T_norm_dvf, ~] = computeTransmissibility();
  [C_dvf, C_norm_dvf, ~] = computeCompliance();

Results

<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/transmissibility_iff_dvf.png
Obtained transmissibility for Open-Loop Control (Blue), Integral Force Feedback (Red) and Direct Velocity Feedback (Yellow) (png, pdf)
<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/compliance_iff_dvf.png
Obtained compliance for Open-Loop Control (Blue), Integral Force Feedback (Red) and Direct Velocity Feedback (Yellow) (png, pdf)
<<plt-matlab>>
/tdehaeze/stewart-simscape/media/commit/f5922ca970a49f7458c0399cbfba0174452b31ae/org/figs/frobenius_norm_T_C_iff_dvf.png
Frobenius norm of the Transmissibility and Compliance Matrices (png, pdf)