diff --git a/figs/IMG_20210608_152917.jpg b/figs/test_nhexa_IMG_20210608_152917.jpg similarity index 100% rename from figs/IMG_20210608_152917.jpg rename to figs/test_nhexa_IMG_20210608_152917.jpg diff --git a/figs/IMG_20210608_154722.jpg b/figs/test_nhexa_IMG_20210608_154722.jpg similarity index 100% rename from figs/IMG_20210608_154722.jpg rename to figs/test_nhexa_IMG_20210608_154722.jpg diff --git a/figs/IMG_20210625_083801.jpg b/figs/test_nhexa_IMG_20210625_083801.jpg similarity index 100% rename from figs/IMG_20210625_083801.jpg rename to figs/test_nhexa_IMG_20210625_083801.jpg diff --git a/figs/LION_metrology_interferometers.pdf b/figs/test_nhexa_LION_metrology_interferometers.pdf similarity index 100% rename from figs/LION_metrology_interferometers.pdf rename to figs/test_nhexa_LION_metrology_interferometers.pdf diff --git a/figs/LION_metrology_interferometers.png b/figs/test_nhexa_LION_metrology_interferometers.png similarity index 100% rename from figs/LION_metrology_interferometers.png rename to figs/test_nhexa_LION_metrology_interferometers.png diff --git a/figs/LION_metrology_interferometers.svg b/figs/test_nhexa_LION_metrology_interferometers.svg similarity index 100% rename from figs/LION_metrology_interferometers.svg rename to figs/test_nhexa_LION_metrology_interferometers.svg diff --git a/figs/ModeShapeFlex1_crop.gif b/figs/test_nhexa_ModeShapeFlex1_crop.gif similarity index 100% rename from figs/ModeShapeFlex1_crop.gif rename to figs/test_nhexa_ModeShapeFlex1_crop.gif diff --git a/figs/ModeShapeFlex1_crop.png b/figs/test_nhexa_ModeShapeFlex1_crop.png similarity index 100% rename from figs/ModeShapeFlex1_crop.png rename to figs/test_nhexa_ModeShapeFlex1_crop.png diff --git a/figs/acc_top_plat_pos_x.jpg b/figs/test_nhexa_acc_top_plat_pos_x.jpg similarity index 100% rename from figs/acc_top_plat_pos_x.jpg rename to figs/test_nhexa_acc_top_plat_pos_x.jpg diff --git a/figs/acc_top_plat_pos_x.svg b/figs/test_nhexa_acc_top_plat_pos_x.svg similarity index 100% rename from figs/acc_top_plat_pos_x.svg rename to figs/test_nhexa_acc_top_plat_pos_x.svg diff --git a/figs/acc_top_plat_pos_y.jpg b/figs/test_nhexa_acc_top_plat_pos_y.jpg similarity index 100% rename from figs/acc_top_plat_pos_y.jpg rename to figs/test_nhexa_acc_top_plat_pos_y.jpg diff --git a/figs/acc_top_plat_pos_y.svg b/figs/test_nhexa_acc_top_plat_pos_y.svg similarity index 100% rename from figs/acc_top_plat_pos_y.svg rename to figs/test_nhexa_acc_top_plat_pos_y.svg diff --git a/figs/acc_top_plat_top_view.jpg b/figs/test_nhexa_acc_top_plat_top_view.jpg similarity index 100% rename from figs/acc_top_plat_top_view.jpg rename to figs/test_nhexa_acc_top_plat_top_view.jpg diff --git a/figs/acc_top_plat_top_view.png b/figs/test_nhexa_acc_top_plat_top_view.png similarity index 100% rename from figs/acc_top_plat_top_view.png rename to figs/test_nhexa_acc_top_plat_top_view.png diff --git a/figs/acc_top_plat_zoom.jpg b/figs/test_nhexa_acc_top_plat_zoom.jpg similarity index 100% rename from figs/acc_top_plat_zoom.jpg rename to figs/test_nhexa_acc_top_plat_zoom.jpg diff --git a/figs/accelerometers_nano_hexapod.jpg b/figs/test_nhexa_accelerometers_nano_hexapod.jpg similarity index 100% rename from figs/accelerometers_nano_hexapod.jpg rename to figs/test_nhexa_accelerometers_nano_hexapod.jpg diff --git a/figs/accelerometers_nano_hexapod.pdf b/figs/test_nhexa_accelerometers_nano_hexapod.pdf similarity index 100% rename from figs/accelerometers_nano_hexapod.pdf rename to figs/test_nhexa_accelerometers_nano_hexapod.pdf diff --git a/figs/accelerometers_nano_hexapod.png b/figs/test_nhexa_accelerometers_nano_hexapod.png similarity index 100% rename from figs/accelerometers_nano_hexapod.png rename to figs/test_nhexa_accelerometers_nano_hexapod.png diff --git a/figs/accelerometers_nano_hexapod.svg b/figs/test_nhexa_accelerometers_nano_hexapod.svg similarity index 100% rename from figs/accelerometers_nano_hexapod.svg rename to figs/test_nhexa_accelerometers_nano_hexapod.svg diff --git a/figs/bode_Va_dL_effect_k_coef.pdf b/figs/test_nhexa_bode_Va_dL_effect_k_coef.pdf similarity index 100% rename from figs/bode_Va_dL_effect_k_coef.pdf rename to figs/test_nhexa_bode_Va_dL_effect_k_coef.pdf diff --git a/figs/bode_Va_dL_effect_k_coef.png b/figs/test_nhexa_bode_Va_dL_effect_k_coef.png similarity index 100% rename from figs/bode_Va_dL_effect_k_coef.png rename to figs/test_nhexa_bode_Va_dL_effect_k_coef.png diff --git a/figs/bode_Va_dL_effect_m_coef.pdf b/figs/test_nhexa_bode_Va_dL_effect_m_coef.pdf similarity index 100% rename from figs/bode_Va_dL_effect_m_coef.pdf rename to figs/test_nhexa_bode_Va_dL_effect_m_coef.pdf diff --git a/figs/bode_Va_dL_effect_m_coef.png b/figs/test_nhexa_bode_Va_dL_effect_m_coef.png similarity index 100% rename from figs/bode_Va_dL_effect_m_coef.png rename to figs/test_nhexa_bode_Va_dL_effect_m_coef.png diff --git a/figs/bode_Va_dL_effect_xi_damp.pdf b/figs/test_nhexa_bode_Va_dL_effect_xi_damp.pdf similarity index 100% rename from figs/bode_Va_dL_effect_xi_damp.pdf rename to figs/test_nhexa_bode_Va_dL_effect_xi_damp.pdf diff --git a/figs/bode_Va_dL_effect_xi_damp.png b/figs/test_nhexa_bode_Va_dL_effect_xi_damp.png similarity index 100% rename from figs/bode_Va_dL_effect_xi_damp.png rename to figs/test_nhexa_bode_Va_dL_effect_xi_damp.png diff --git a/figs/bode_plot_hac_iff_loop_gain_diag_inverse.pdf b/figs/test_nhexa_bode_plot_hac_iff_loop_gain_diag_inverse.pdf similarity index 100% rename from figs/bode_plot_hac_iff_loop_gain_diag_inverse.pdf rename to figs/test_nhexa_bode_plot_hac_iff_loop_gain_diag_inverse.pdf diff --git a/figs/bode_plot_hac_iff_loop_gain_diag_inverse.png b/figs/test_nhexa_bode_plot_hac_iff_loop_gain_diag_inverse.png similarity index 100% rename from figs/bode_plot_hac_iff_loop_gain_diag_inverse.png rename to figs/test_nhexa_bode_plot_hac_iff_loop_gain_diag_inverse.png diff --git a/figs/bode_plot_hac_iff_loop_gain_jacobian_cok.pdf b/figs/test_nhexa_bode_plot_hac_iff_loop_gain_jacobian_cok.pdf similarity index 100% rename from figs/bode_plot_hac_iff_loop_gain_jacobian_cok.pdf rename to figs/test_nhexa_bode_plot_hac_iff_loop_gain_jacobian_cok.pdf diff --git a/figs/bode_plot_hac_iff_loop_gain_jacobian_cok.png b/figs/test_nhexa_bode_plot_hac_iff_loop_gain_jacobian_cok.png similarity index 100% rename from figs/bode_plot_hac_iff_loop_gain_jacobian_cok.png rename to figs/test_nhexa_bode_plot_hac_iff_loop_gain_jacobian_cok.png diff --git a/figs/bode_plot_hac_iff_loop_gain_svd.pdf b/figs/test_nhexa_bode_plot_hac_iff_loop_gain_svd.pdf similarity index 100% rename from figs/bode_plot_hac_iff_loop_gain_svd.pdf rename to figs/test_nhexa_bode_plot_hac_iff_loop_gain_svd.pdf diff --git a/figs/bode_plot_hac_iff_loop_gain_svd.png b/figs/test_nhexa_bode_plot_hac_iff_loop_gain_svd.png similarity index 100% rename from figs/bode_plot_hac_iff_loop_gain_svd.png rename to figs/test_nhexa_bode_plot_hac_iff_loop_gain_svd.png diff --git a/figs/bode_plot_hac_iff_loop_gain_svd_masses.pdf b/figs/test_nhexa_bode_plot_hac_iff_loop_gain_svd_masses.pdf similarity index 100% rename from figs/bode_plot_hac_iff_loop_gain_svd_masses.pdf rename to figs/test_nhexa_bode_plot_hac_iff_loop_gain_svd_masses.pdf diff --git a/figs/bode_plot_hac_iff_loop_gain_svd_masses.png b/figs/test_nhexa_bode_plot_hac_iff_loop_gain_svd_masses.png similarity index 100% rename from figs/bode_plot_hac_iff_loop_gain_svd_masses.png rename to figs/test_nhexa_bode_plot_hac_iff_loop_gain_svd_masses.png diff --git a/figs/bode_plot_hac_iff_plant_jacobian_cok.pdf b/figs/test_nhexa_bode_plot_hac_iff_plant_jacobian_cok.pdf similarity index 100% rename from figs/bode_plot_hac_iff_plant_jacobian_cok.pdf rename to figs/test_nhexa_bode_plot_hac_iff_plant_jacobian_cok.pdf diff --git a/figs/bode_plot_hac_iff_plant_jacobian_cok.png b/figs/test_nhexa_bode_plot_hac_iff_plant_jacobian_cok.png similarity index 100% rename from figs/bode_plot_hac_iff_plant_jacobian_cok.png rename to figs/test_nhexa_bode_plot_hac_iff_plant_jacobian_cok.png diff --git a/figs/bode_plot_hac_iff_plant_svd.pdf b/figs/test_nhexa_bode_plot_hac_iff_plant_svd.pdf similarity index 100% rename from figs/bode_plot_hac_iff_plant_svd.pdf rename to figs/test_nhexa_bode_plot_hac_iff_plant_svd.pdf diff --git a/figs/bode_plot_hac_iff_plant_svd.png b/figs/test_nhexa_bode_plot_hac_iff_plant_svd.png similarity index 100% rename from figs/bode_plot_hac_iff_plant_svd.png rename to figs/test_nhexa_bode_plot_hac_iff_plant_svd.png diff --git a/figs/bode_plot_hac_iff_plant_svd_masses.pdf b/figs/test_nhexa_bode_plot_hac_iff_plant_svd_masses.pdf similarity index 100% rename from figs/bode_plot_hac_iff_plant_svd_masses.pdf rename to figs/test_nhexa_bode_plot_hac_iff_plant_svd_masses.pdf diff --git a/figs/bode_plot_hac_iff_plant_svd_masses.png b/figs/test_nhexa_bode_plot_hac_iff_plant_svd_masses.png similarity index 100% rename from figs/bode_plot_hac_iff_plant_svd_masses.png rename to figs/test_nhexa_bode_plot_hac_iff_plant_svd_masses.png diff --git a/figs/test_nhexa_center_part_hexapod_mounting.jpg b/figs/test_nhexa_center_part_hexapod_mounting.jpg new file mode 100644 index 0000000..65fb347 Binary files /dev/null and b/figs/test_nhexa_center_part_hexapod_mounting.jpg differ diff --git a/figs/comp_frf_sim_enc_struts_modes.pdf b/figs/test_nhexa_comp_frf_sim_enc_struts_modes.pdf similarity index 100% rename from figs/comp_frf_sim_enc_struts_modes.pdf rename to figs/test_nhexa_comp_frf_sim_enc_struts_modes.pdf diff --git a/figs/comp_frf_sim_enc_struts_modes.png b/figs/test_nhexa_comp_frf_sim_enc_struts_modes.png similarity index 100% rename from figs/comp_frf_sim_enc_struts_modes.png rename to figs/test_nhexa_comp_frf_sim_enc_struts_modes.png diff --git a/figs/comp_iff_gains_dvf_plant.pdf b/figs/test_nhexa_comp_iff_gains_dvf_plant.pdf similarity index 100% rename from figs/comp_iff_gains_dvf_plant.pdf rename to figs/test_nhexa_comp_iff_gains_dvf_plant.pdf diff --git a/figs/comp_iff_gains_dvf_plant.png b/figs/test_nhexa_comp_iff_gains_dvf_plant.png similarity index 100% rename from figs/comp_iff_gains_dvf_plant.png rename to figs/test_nhexa_comp_iff_gains_dvf_plant.png diff --git a/figs/comp_iff_gains_dvf_plant_zoom.pdf b/figs/test_nhexa_comp_iff_gains_dvf_plant_zoom.pdf similarity index 100% rename from figs/comp_iff_gains_dvf_plant_zoom.pdf rename to figs/test_nhexa_comp_iff_gains_dvf_plant_zoom.pdf diff --git a/figs/comp_iff_gains_dvf_plant_zoom.png b/figs/test_nhexa_comp_iff_gains_dvf_plant_zoom.png similarity index 100% rename from figs/comp_iff_gains_dvf_plant_zoom.png rename to figs/test_nhexa_comp_iff_gains_dvf_plant_zoom.png diff --git a/figs/comp_iff_plant_frf_sim.pdf b/figs/test_nhexa_comp_iff_plant_frf_sim.pdf similarity index 100% rename from figs/comp_iff_plant_frf_sim.pdf rename to figs/test_nhexa_comp_iff_plant_frf_sim.pdf diff --git a/figs/comp_iff_plant_frf_sim.png b/figs/test_nhexa_comp_iff_plant_frf_sim.png similarity index 100% rename from figs/comp_iff_plant_frf_sim.png rename to figs/test_nhexa_comp_iff_plant_frf_sim.png diff --git a/figs/comp_masses_model_exp_dvf.pdf b/figs/test_nhexa_comp_masses_model_exp_dvf.pdf similarity index 100% rename from figs/comp_masses_model_exp_dvf.pdf rename to figs/test_nhexa_comp_masses_model_exp_dvf.pdf diff --git a/figs/comp_masses_model_exp_dvf.png b/figs/test_nhexa_comp_masses_model_exp_dvf.png similarity index 100% rename from figs/comp_masses_model_exp_dvf.png rename to figs/test_nhexa_comp_masses_model_exp_dvf.png diff --git a/figs/comp_masses_model_exp_dvf_zoom.pdf b/figs/test_nhexa_comp_masses_model_exp_dvf_zoom.pdf similarity index 100% rename from figs/comp_masses_model_exp_dvf_zoom.pdf rename to figs/test_nhexa_comp_masses_model_exp_dvf_zoom.pdf diff --git a/figs/comp_masses_model_exp_dvf_zoom.png b/figs/test_nhexa_comp_masses_model_exp_dvf_zoom.png similarity index 100% rename from figs/comp_masses_model_exp_dvf_zoom.png rename to figs/test_nhexa_comp_masses_model_exp_dvf_zoom.png diff --git a/figs/comp_masses_model_exp_iff.pdf b/figs/test_nhexa_comp_masses_model_exp_iff.pdf similarity index 100% rename from figs/comp_masses_model_exp_iff.pdf rename to figs/test_nhexa_comp_masses_model_exp_iff.pdf diff --git a/figs/comp_masses_model_exp_iff.png b/figs/test_nhexa_comp_masses_model_exp_iff.png similarity index 100% rename from figs/comp_masses_model_exp_iff.png rename to figs/test_nhexa_comp_masses_model_exp_iff.png diff --git a/figs/comp_masses_model_exp_iff_zoom.pdf b/figs/test_nhexa_comp_masses_model_exp_iff_zoom.pdf similarity index 100% rename from figs/comp_masses_model_exp_iff_zoom.pdf rename to figs/test_nhexa_comp_masses_model_exp_iff_zoom.pdf diff --git a/figs/comp_masses_model_exp_iff_zoom.png b/figs/test_nhexa_comp_masses_model_exp_iff_zoom.png similarity index 100% rename from figs/comp_masses_model_exp_iff_zoom.png rename to figs/test_nhexa_comp_masses_model_exp_iff_zoom.png diff --git a/figs/comp_masses_model_exp_iff_zoom_pres.pdf b/figs/test_nhexa_comp_masses_model_exp_iff_zoom_pres.pdf similarity index 100% rename from figs/comp_masses_model_exp_iff_zoom_pres.pdf rename to figs/test_nhexa_comp_masses_model_exp_iff_zoom_pres.pdf diff --git a/figs/comp_masses_model_exp_iff_zoom_pres.png b/figs/test_nhexa_comp_masses_model_exp_iff_zoom_pres.png similarity index 100% rename from figs/comp_masses_model_exp_iff_zoom_pres.png rename to figs/test_nhexa_comp_masses_model_exp_iff_zoom_pres.png diff --git a/figs/comp_plant_coupling_payloads_dvf.pdf b/figs/test_nhexa_comp_plant_coupling_payloads_dvf.pdf similarity index 100% rename from figs/comp_plant_coupling_payloads_dvf.pdf rename to figs/test_nhexa_comp_plant_coupling_payloads_dvf.pdf diff --git a/figs/comp_plant_coupling_payloads_dvf.png b/figs/test_nhexa_comp_plant_coupling_payloads_dvf.png similarity index 100% rename from figs/comp_plant_coupling_payloads_dvf.png rename to figs/test_nhexa_comp_plant_coupling_payloads_dvf.png diff --git a/figs/comp_plant_coupling_payloads_iff.pdf b/figs/test_nhexa_comp_plant_coupling_payloads_iff.pdf similarity index 100% rename from figs/comp_plant_coupling_payloads_iff.pdf rename to figs/test_nhexa_comp_plant_coupling_payloads_iff.pdf diff --git a/figs/comp_plant_coupling_payloads_iff.png b/figs/test_nhexa_comp_plant_coupling_payloads_iff.png similarity index 100% rename from figs/comp_plant_coupling_payloads_iff.png rename to figs/test_nhexa_comp_plant_coupling_payloads_iff.png diff --git a/figs/comp_plant_payloads_dvf.pdf b/figs/test_nhexa_comp_plant_payloads_dvf.pdf similarity index 100% rename from figs/comp_plant_payloads_dvf.pdf rename to figs/test_nhexa_comp_plant_payloads_dvf.pdf diff --git a/figs/comp_plant_payloads_dvf.png b/figs/test_nhexa_comp_plant_payloads_dvf.png similarity index 100% rename from figs/comp_plant_payloads_dvf.png rename to figs/test_nhexa_comp_plant_payloads_dvf.png diff --git a/figs/comp_plant_payloads_iff.pdf b/figs/test_nhexa_comp_plant_payloads_iff.pdf similarity index 100% rename from figs/comp_plant_payloads_iff.pdf rename to figs/test_nhexa_comp_plant_payloads_iff.pdf diff --git a/figs/comp_plant_payloads_iff.png b/figs/test_nhexa_comp_plant_payloads_iff.png similarity index 100% rename from figs/comp_plant_payloads_iff.png rename to figs/test_nhexa_comp_plant_payloads_iff.png diff --git a/figs/comp_undamped_damped_plant_meas_frf.pdf b/figs/test_nhexa_comp_undamped_damped_plant_meas_frf.pdf similarity index 100% rename from figs/comp_undamped_damped_plant_meas_frf.pdf rename to figs/test_nhexa_comp_undamped_damped_plant_meas_frf.pdf diff --git a/figs/comp_undamped_damped_plant_meas_frf.png b/figs/test_nhexa_comp_undamped_damped_plant_meas_frf.png similarity index 100% rename from figs/comp_undamped_damped_plant_meas_frf.png rename to figs/test_nhexa_comp_undamped_damped_plant_meas_frf.png diff --git a/figs/comp_undamped_opt_iff_gain_diagonal.pdf b/figs/test_nhexa_comp_undamped_opt_iff_gain_diagonal.pdf similarity index 100% rename from figs/comp_undamped_opt_iff_gain_diagonal.pdf rename to figs/test_nhexa_comp_undamped_opt_iff_gain_diagonal.pdf diff --git a/figs/comp_undamped_opt_iff_gain_diagonal.png b/figs/test_nhexa_comp_undamped_opt_iff_gain_diagonal.png similarity index 100% rename from figs/comp_undamped_opt_iff_gain_diagonal.png rename to figs/test_nhexa_comp_undamped_opt_iff_gain_diagonal.png diff --git a/figs/compliance_vertical_comp_iff.pdf b/figs/test_nhexa_compliance_vertical_comp_iff.pdf similarity index 100% rename from figs/compliance_vertical_comp_iff.pdf rename to figs/test_nhexa_compliance_vertical_comp_iff.pdf diff --git a/figs/compliance_vertical_comp_iff.png b/figs/test_nhexa_compliance_vertical_comp_iff.png similarity index 100% rename from figs/compliance_vertical_comp_iff.png rename to figs/test_nhexa_compliance_vertical_comp_iff.png diff --git a/figs/compliance_vertical_comp_model_iff.pdf b/figs/test_nhexa_compliance_vertical_comp_model_iff.pdf similarity index 100% rename from figs/compliance_vertical_comp_model_iff.pdf rename to figs/test_nhexa_compliance_vertical_comp_model_iff.pdf diff --git a/figs/compliance_vertical_comp_model_iff.png b/figs/test_nhexa_compliance_vertical_comp_model_iff.png similarity index 100% rename from figs/compliance_vertical_comp_model_iff.png rename to figs/test_nhexa_compliance_vertical_comp_model_iff.png diff --git a/figs/control_architecture_hac_iff_L.pdf b/figs/test_nhexa_control_architecture_hac_iff_L.pdf similarity index 100% rename from figs/control_architecture_hac_iff_L.pdf rename to figs/test_nhexa_control_architecture_hac_iff_L.pdf diff --git a/figs/control_architecture_hac_iff_L.png b/figs/test_nhexa_control_architecture_hac_iff_L.png similarity index 100% rename from figs/control_architecture_hac_iff_L.png rename to figs/test_nhexa_control_architecture_hac_iff_L.png diff --git a/figs/control_architecture_hac_iff_L.svg b/figs/test_nhexa_control_architecture_hac_iff_L.svg similarity index 100% rename from figs/control_architecture_hac_iff_L.svg rename to figs/test_nhexa_control_architecture_hac_iff_L.svg diff --git a/figs/control_architecture_hac_iff_L_feedforward.pdf b/figs/test_nhexa_control_architecture_hac_iff_L_feedforward.pdf similarity index 100% rename from figs/control_architecture_hac_iff_L_feedforward.pdf rename to figs/test_nhexa_control_architecture_hac_iff_L_feedforward.pdf diff --git a/figs/control_architecture_hac_iff_L_feedforward.png b/figs/test_nhexa_control_architecture_hac_iff_L_feedforward.png similarity index 100% rename from figs/control_architecture_hac_iff_L_feedforward.png rename to figs/test_nhexa_control_architecture_hac_iff_L_feedforward.png diff --git a/figs/control_architecture_hac_iff_L_feedforward.svg b/figs/test_nhexa_control_architecture_hac_iff_L_feedforward.svg similarity index 100% rename from figs/control_architecture_hac_iff_L_feedforward.svg rename to figs/test_nhexa_control_architecture_hac_iff_L_feedforward.svg diff --git a/figs/control_architecture_hac_iff_struts.pdf b/figs/test_nhexa_control_architecture_hac_iff_struts.pdf similarity index 100% rename from figs/control_architecture_hac_iff_struts.pdf rename to figs/test_nhexa_control_architecture_hac_iff_struts.pdf diff --git a/figs/control_architecture_hac_iff_struts.png b/figs/test_nhexa_control_architecture_hac_iff_struts.png similarity index 100% rename from figs/control_architecture_hac_iff_struts.png rename to figs/test_nhexa_control_architecture_hac_iff_struts.png diff --git a/figs/control_architecture_hac_iff_struts.svg b/figs/test_nhexa_control_architecture_hac_iff_struts.svg similarity index 100% rename from figs/control_architecture_hac_iff_struts.svg rename to figs/test_nhexa_control_architecture_hac_iff_struts.svg diff --git a/figs/control_architecture_hac_iff_struts_L.pdf b/figs/test_nhexa_control_architecture_hac_iff_struts_L.pdf similarity index 100% rename from figs/control_architecture_hac_iff_struts_L.pdf rename to figs/test_nhexa_control_architecture_hac_iff_struts_L.pdf diff --git a/figs/control_architecture_hac_iff_struts_L.png b/figs/test_nhexa_control_architecture_hac_iff_struts_L.png similarity index 100% rename from figs/control_architecture_hac_iff_struts_L.png rename to figs/test_nhexa_control_architecture_hac_iff_struts_L.png diff --git a/figs/control_architecture_hac_iff_struts_L.svg b/figs/test_nhexa_control_architecture_hac_iff_struts_L.svg similarity index 100% rename from figs/control_architecture_hac_iff_struts_L.svg rename to figs/test_nhexa_control_architecture_hac_iff_struts_L.svg diff --git a/figs/control_architecture_iff.pdf b/figs/test_nhexa_control_architecture_iff.pdf similarity index 100% rename from figs/control_architecture_iff.pdf rename to figs/test_nhexa_control_architecture_iff.pdf diff --git a/figs/control_architecture_iff.png b/figs/test_nhexa_control_architecture_iff.png similarity index 100% rename from figs/control_architecture_iff.png rename to figs/test_nhexa_control_architecture_iff.png diff --git a/figs/control_architecture_iff.svg b/figs/test_nhexa_control_architecture_iff.svg similarity index 100% rename from figs/control_architecture_iff.svg rename to figs/test_nhexa_control_architecture_iff.svg diff --git a/figs/control_architecture_iff_feedforward.pdf b/figs/test_nhexa_control_architecture_iff_feedforward.pdf similarity index 100% rename from figs/control_architecture_iff_feedforward.pdf rename to figs/test_nhexa_control_architecture_iff_feedforward.pdf diff --git a/figs/control_architecture_iff_feedforward.png b/figs/test_nhexa_control_architecture_iff_feedforward.png similarity index 100% rename from figs/control_architecture_iff_feedforward.png rename to figs/test_nhexa_control_architecture_iff_feedforward.png diff --git a/figs/control_architecture_iff_feedforward.svg b/figs/test_nhexa_control_architecture_iff_feedforward.svg similarity index 100% rename from figs/control_architecture_iff_feedforward.svg rename to figs/test_nhexa_control_architecture_iff_feedforward.svg diff --git a/figs/control_architecture_iff_struts.pdf b/figs/test_nhexa_control_architecture_iff_struts.pdf similarity index 100% rename from figs/control_architecture_iff_struts.pdf rename to figs/test_nhexa_control_architecture_iff_struts.pdf diff --git a/figs/control_architecture_iff_struts.png b/figs/test_nhexa_control_architecture_iff_struts.png similarity index 100% rename from figs/control_architecture_iff_struts.png rename to figs/test_nhexa_control_architecture_iff_struts.png diff --git a/figs/control_architecture_iff_struts.svg b/figs/test_nhexa_control_architecture_iff_struts.svg similarity index 100% rename from figs/control_architecture_iff_struts.svg rename to figs/test_nhexa_control_architecture_iff_struts.svg diff --git a/figs/damped_iff_plant_comp_diagonal.pdf b/figs/test_nhexa_damped_iff_plant_comp_diagonal.pdf similarity index 100% rename from figs/damped_iff_plant_comp_diagonal.pdf rename to figs/test_nhexa_damped_iff_plant_comp_diagonal.pdf diff --git a/figs/damped_iff_plant_comp_diagonal.png b/figs/test_nhexa_damped_iff_plant_comp_diagonal.png similarity index 100% rename from figs/damped_iff_plant_comp_diagonal.png rename to figs/test_nhexa_damped_iff_plant_comp_diagonal.png diff --git a/figs/damped_iff_plant_comp_off_diagonal.pdf b/figs/test_nhexa_damped_iff_plant_comp_off_diagonal.pdf similarity index 100% rename from figs/damped_iff_plant_comp_off_diagonal.pdf rename to figs/test_nhexa_damped_iff_plant_comp_off_diagonal.pdf diff --git a/figs/damped_iff_plant_comp_off_diagonal.png b/figs/test_nhexa_damped_iff_plant_comp_off_diagonal.png similarity index 100% rename from figs/damped_iff_plant_comp_off_diagonal.png rename to figs/test_nhexa_damped_iff_plant_comp_off_diagonal.png diff --git a/figs/damped_iff_plant_meas_frf.pdf b/figs/test_nhexa_damped_iff_plant_meas_frf.pdf similarity index 100% rename from figs/damped_iff_plant_meas_frf.pdf rename to figs/test_nhexa_damped_iff_plant_meas_frf.pdf diff --git a/figs/damped_iff_plant_meas_frf.png b/figs/test_nhexa_damped_iff_plant_meas_frf.png similarity index 100% rename from figs/damped_iff_plant_meas_frf.png rename to figs/test_nhexa_damped_iff_plant_meas_frf.png diff --git a/figs/damped_iff_plates_plant_comp_diagonal.pdf b/figs/test_nhexa_damped_iff_plates_plant_comp_diagonal.pdf similarity index 100% rename from figs/damped_iff_plates_plant_comp_diagonal.pdf rename to figs/test_nhexa_damped_iff_plates_plant_comp_diagonal.pdf diff --git a/figs/damped_iff_plates_plant_comp_diagonal.png b/figs/test_nhexa_damped_iff_plates_plant_comp_diagonal.png similarity index 100% rename from figs/damped_iff_plates_plant_comp_diagonal.png rename to figs/test_nhexa_damped_iff_plates_plant_comp_diagonal.png diff --git a/figs/damped_iff_plates_plant_comp_off_diagonal.pdf b/figs/test_nhexa_damped_iff_plates_plant_comp_off_diagonal.pdf similarity index 100% rename from figs/damped_iff_plates_plant_comp_off_diagonal.pdf rename to figs/test_nhexa_damped_iff_plates_plant_comp_off_diagonal.pdf diff --git a/figs/damped_iff_plates_plant_comp_off_diagonal.png b/figs/test_nhexa_damped_iff_plates_plant_comp_off_diagonal.png similarity index 100% rename from figs/damped_iff_plates_plant_comp_off_diagonal.png rename to figs/test_nhexa_damped_iff_plates_plant_comp_off_diagonal.png diff --git a/figs/damped_plant_model_masses.pdf b/figs/test_nhexa_damped_plant_model_masses.pdf similarity index 100% rename from figs/damped_plant_model_masses.pdf rename to figs/test_nhexa_damped_plant_model_masses.pdf diff --git a/figs/damped_plant_model_masses.png b/figs/test_nhexa_damped_plant_model_masses.png similarity index 100% rename from figs/damped_plant_model_masses.png rename to figs/test_nhexa_damped_plant_model_masses.png diff --git a/figs/decoupling_arch_crossover.pdf b/figs/test_nhexa_decoupling_arch_crossover.pdf similarity index 100% rename from figs/decoupling_arch_crossover.pdf rename to figs/test_nhexa_decoupling_arch_crossover.pdf diff --git a/figs/decoupling_arch_crossover.png b/figs/test_nhexa_decoupling_arch_crossover.png similarity index 100% rename from figs/decoupling_arch_crossover.png rename to figs/test_nhexa_decoupling_arch_crossover.png diff --git a/figs/decoupling_arch_crossover.svg b/figs/test_nhexa_decoupling_arch_crossover.svg similarity index 100% rename from figs/decoupling_arch_crossover.svg rename to figs/test_nhexa_decoupling_arch_crossover.svg diff --git a/figs/decoupling_arch_decentralized.pdf b/figs/test_nhexa_decoupling_arch_decentralized.pdf similarity index 100% rename from figs/decoupling_arch_decentralized.pdf rename to figs/test_nhexa_decoupling_arch_decentralized.pdf diff --git a/figs/decoupling_arch_decentralized.png b/figs/test_nhexa_decoupling_arch_decentralized.png similarity index 100% rename from figs/decoupling_arch_decentralized.png rename to figs/test_nhexa_decoupling_arch_decentralized.png diff --git a/figs/decoupling_arch_decentralized.svg b/figs/test_nhexa_decoupling_arch_decentralized.svg similarity index 100% rename from figs/decoupling_arch_decentralized.svg rename to figs/test_nhexa_decoupling_arch_decentralized.svg diff --git a/figs/decoupling_arch_dynamic.pdf b/figs/test_nhexa_decoupling_arch_dynamic.pdf similarity index 100% rename from figs/decoupling_arch_dynamic.pdf rename to figs/test_nhexa_decoupling_arch_dynamic.pdf diff --git a/figs/decoupling_arch_dynamic.png b/figs/test_nhexa_decoupling_arch_dynamic.png similarity index 100% rename from figs/decoupling_arch_dynamic.png rename to figs/test_nhexa_decoupling_arch_dynamic.png diff --git a/figs/decoupling_arch_dynamic.svg b/figs/test_nhexa_decoupling_arch_dynamic.svg similarity index 100% rename from figs/decoupling_arch_dynamic.svg rename to figs/test_nhexa_decoupling_arch_dynamic.svg diff --git a/figs/decoupling_arch_jacobian_cok.pdf b/figs/test_nhexa_decoupling_arch_jacobian_cok.pdf similarity index 100% rename from figs/decoupling_arch_jacobian_cok.pdf rename to figs/test_nhexa_decoupling_arch_jacobian_cok.pdf diff --git a/figs/decoupling_arch_jacobian_cok.png b/figs/test_nhexa_decoupling_arch_jacobian_cok.png similarity index 100% rename from figs/decoupling_arch_jacobian_cok.png rename to figs/test_nhexa_decoupling_arch_jacobian_cok.png diff --git a/figs/decoupling_arch_jacobian_cok.svg b/figs/test_nhexa_decoupling_arch_jacobian_cok.svg similarity index 100% rename from figs/decoupling_arch_jacobian_cok.svg rename to figs/test_nhexa_decoupling_arch_jacobian_cok.svg diff --git a/figs/decoupling_arch_jacobian_com.pdf b/figs/test_nhexa_decoupling_arch_jacobian_com.pdf similarity index 100% rename from figs/decoupling_arch_jacobian_com.pdf rename to figs/test_nhexa_decoupling_arch_jacobian_com.pdf diff --git a/figs/decoupling_arch_jacobian_com.png b/figs/test_nhexa_decoupling_arch_jacobian_com.png similarity index 100% rename from figs/decoupling_arch_jacobian_com.png rename to figs/test_nhexa_decoupling_arch_jacobian_com.png diff --git a/figs/decoupling_arch_jacobian_com.svg b/figs/test_nhexa_decoupling_arch_jacobian_com.svg similarity index 100% rename from figs/decoupling_arch_jacobian_com.svg rename to figs/test_nhexa_decoupling_arch_jacobian_com.svg diff --git a/figs/decoupling_arch_static.pdf b/figs/test_nhexa_decoupling_arch_static.pdf similarity index 100% rename from figs/decoupling_arch_static.pdf rename to figs/test_nhexa_decoupling_arch_static.pdf diff --git a/figs/decoupling_arch_static.png b/figs/test_nhexa_decoupling_arch_static.png similarity index 100% rename from figs/decoupling_arch_static.png rename to figs/test_nhexa_decoupling_arch_static.png diff --git a/figs/decoupling_arch_static.svg b/figs/test_nhexa_decoupling_arch_static.svg similarity index 100% rename from figs/decoupling_arch_static.svg rename to figs/test_nhexa_decoupling_arch_static.svg diff --git a/figs/decoupling_arch_svd.pdf b/figs/test_nhexa_decoupling_arch_svd.pdf similarity index 100% rename from figs/decoupling_arch_svd.pdf rename to figs/test_nhexa_decoupling_arch_svd.pdf diff --git a/figs/decoupling_arch_svd.png b/figs/test_nhexa_decoupling_arch_svd.png similarity index 100% rename from figs/decoupling_arch_svd.png rename to figs/test_nhexa_decoupling_arch_svd.png diff --git a/figs/decoupling_arch_svd.svg b/figs/test_nhexa_decoupling_arch_svd.svg similarity index 100% rename from figs/decoupling_arch_svd.svg rename to figs/test_nhexa_decoupling_arch_svd.svg diff --git a/figs/dvf_plant_comp_struts_plates.pdf b/figs/test_nhexa_dvf_plant_comp_struts_plates.pdf similarity index 100% rename from figs/dvf_plant_comp_struts_plates.pdf rename to figs/test_nhexa_dvf_plant_comp_struts_plates.pdf diff --git a/figs/dvf_plant_comp_struts_plates.png b/figs/test_nhexa_dvf_plant_comp_struts_plates.png similarity index 100% rename from figs/dvf_plant_comp_struts_plates.png rename to figs/test_nhexa_dvf_plant_comp_struts_plates.png diff --git a/figs/enc_plant_plates_effect_iff.pdf b/figs/test_nhexa_enc_plant_plates_effect_iff.pdf similarity index 100% rename from figs/enc_plant_plates_effect_iff.pdf rename to figs/test_nhexa_enc_plant_plates_effect_iff.pdf diff --git a/figs/enc_plant_plates_effect_iff.png b/figs/test_nhexa_enc_plant_plates_effect_iff.png similarity index 100% rename from figs/enc_plant_plates_effect_iff.png rename to figs/test_nhexa_enc_plant_plates_effect_iff.png diff --git a/figs/enc_plates_dvf_coh.pdf b/figs/test_nhexa_enc_plates_dvf_coh.pdf similarity index 100% rename from figs/enc_plates_dvf_coh.pdf rename to figs/test_nhexa_enc_plates_dvf_coh.pdf diff --git a/figs/enc_plates_dvf_coh.png b/figs/test_nhexa_enc_plates_dvf_coh.png similarity index 100% rename from figs/enc_plates_dvf_coh.png rename to figs/test_nhexa_enc_plates_dvf_coh.png diff --git a/figs/enc_plates_dvf_comp_offdiag_simscape.pdf b/figs/test_nhexa_enc_plates_dvf_comp_offdiag_simscape.pdf similarity index 100% rename from figs/enc_plates_dvf_comp_offdiag_simscape.pdf rename to figs/test_nhexa_enc_plates_dvf_comp_offdiag_simscape.pdf diff --git a/figs/enc_plates_dvf_comp_offdiag_simscape.png b/figs/test_nhexa_enc_plates_dvf_comp_offdiag_simscape.png similarity index 100% rename from figs/enc_plates_dvf_comp_offdiag_simscape.png rename to figs/test_nhexa_enc_plates_dvf_comp_offdiag_simscape.png diff --git a/figs/enc_plates_dvf_comp_simscape.pdf b/figs/test_nhexa_enc_plates_dvf_comp_simscape.pdf similarity index 100% rename from figs/enc_plates_dvf_comp_simscape.pdf rename to figs/test_nhexa_enc_plates_dvf_comp_simscape.pdf diff --git a/figs/enc_plates_dvf_comp_simscape.png b/figs/test_nhexa_enc_plates_dvf_comp_simscape.png similarity index 100% rename from figs/enc_plates_dvf_comp_simscape.png rename to figs/test_nhexa_enc_plates_dvf_comp_simscape.png diff --git a/figs/enc_plates_dvf_comp_simscape_all.pdf b/figs/test_nhexa_enc_plates_dvf_comp_simscape_all.pdf similarity index 100% rename from figs/enc_plates_dvf_comp_simscape_all.pdf rename to figs/test_nhexa_enc_plates_dvf_comp_simscape_all.pdf diff --git a/figs/enc_plates_dvf_comp_simscape_all.png b/figs/test_nhexa_enc_plates_dvf_comp_simscape_all.png similarity index 100% rename from figs/enc_plates_dvf_comp_simscape_all.png rename to figs/test_nhexa_enc_plates_dvf_comp_simscape_all.png diff --git a/figs/enc_plates_dvf_frf.pdf b/figs/test_nhexa_enc_plates_dvf_frf.pdf similarity index 100% rename from figs/enc_plates_dvf_frf.pdf rename to figs/test_nhexa_enc_plates_dvf_frf.pdf diff --git a/figs/enc_plates_dvf_frf.png b/figs/test_nhexa_enc_plates_dvf_frf.png similarity index 100% rename from figs/enc_plates_dvf_frf.png rename to figs/test_nhexa_enc_plates_dvf_frf.png diff --git a/figs/enc_plates_iff_coh.pdf b/figs/test_nhexa_enc_plates_iff_coh.pdf similarity index 100% rename from figs/enc_plates_iff_coh.pdf rename to figs/test_nhexa_enc_plates_iff_coh.pdf diff --git a/figs/enc_plates_iff_coh.png b/figs/test_nhexa_enc_plates_iff_coh.png similarity index 100% rename from figs/enc_plates_iff_coh.png rename to figs/test_nhexa_enc_plates_iff_coh.png diff --git a/figs/enc_plates_iff_comp_offdiag_simscape.pdf b/figs/test_nhexa_enc_plates_iff_comp_offdiag_simscape.pdf similarity index 100% rename from figs/enc_plates_iff_comp_offdiag_simscape.pdf rename to figs/test_nhexa_enc_plates_iff_comp_offdiag_simscape.pdf diff --git a/figs/enc_plates_iff_comp_offdiag_simscape.png b/figs/test_nhexa_enc_plates_iff_comp_offdiag_simscape.png similarity index 100% rename from figs/enc_plates_iff_comp_offdiag_simscape.png rename to figs/test_nhexa_enc_plates_iff_comp_offdiag_simscape.png diff --git a/figs/enc_plates_iff_comp_simscape.pdf b/figs/test_nhexa_enc_plates_iff_comp_simscape.pdf similarity index 100% rename from figs/enc_plates_iff_comp_simscape.pdf rename to figs/test_nhexa_enc_plates_iff_comp_simscape.pdf diff --git a/figs/enc_plates_iff_comp_simscape.png b/figs/test_nhexa_enc_plates_iff_comp_simscape.png similarity index 100% rename from figs/enc_plates_iff_comp_simscape.png rename to figs/test_nhexa_enc_plates_iff_comp_simscape.png diff --git a/figs/enc_plates_iff_comp_simscape_all.pdf b/figs/test_nhexa_enc_plates_iff_comp_simscape_all.pdf similarity index 100% rename from figs/enc_plates_iff_comp_simscape_all.pdf rename to figs/test_nhexa_enc_plates_iff_comp_simscape_all.pdf diff --git a/figs/enc_plates_iff_comp_simscape_all.png b/figs/test_nhexa_enc_plates_iff_comp_simscape_all.png similarity index 100% rename from figs/enc_plates_iff_comp_simscape_all.png rename to figs/test_nhexa_enc_plates_iff_comp_simscape_all.png diff --git a/figs/enc_plates_iff_frf.pdf b/figs/test_nhexa_enc_plates_iff_frf.pdf similarity index 100% rename from figs/enc_plates_iff_frf.pdf rename to figs/test_nhexa_enc_plates_iff_frf.pdf diff --git a/figs/enc_plates_iff_frf.png b/figs/test_nhexa_enc_plates_iff_frf.png similarity index 100% rename from figs/enc_plates_iff_frf.png rename to figs/test_nhexa_enc_plates_iff_frf.png diff --git a/figs/enc_plates_iff_gains_effect_dvf_plant.pdf b/figs/test_nhexa_enc_plates_iff_gains_effect_dvf_plant.pdf similarity index 100% rename from figs/enc_plates_iff_gains_effect_dvf_plant.pdf rename to figs/test_nhexa_enc_plates_iff_gains_effect_dvf_plant.pdf diff --git a/figs/enc_plates_iff_gains_effect_dvf_plant.png b/figs/test_nhexa_enc_plates_iff_gains_effect_dvf_plant.png similarity index 100% rename from figs/enc_plates_iff_gains_effect_dvf_plant.png rename to figs/test_nhexa_enc_plates_iff_gains_effect_dvf_plant.png diff --git a/figs/enc_plates_opt_iff_comp_simscape_all.pdf b/figs/test_nhexa_enc_plates_opt_iff_comp_simscape_all.pdf similarity index 100% rename from figs/enc_plates_opt_iff_comp_simscape_all.pdf rename to figs/test_nhexa_enc_plates_opt_iff_comp_simscape_all.pdf diff --git a/figs/enc_plates_opt_iff_comp_simscape_all.png b/figs/test_nhexa_enc_plates_opt_iff_comp_simscape_all.png similarity index 100% rename from figs/enc_plates_opt_iff_comp_simscape_all.png rename to figs/test_nhexa_enc_plates_opt_iff_comp_simscape_all.png diff --git a/figs/enc_struts_coi_dvf_cart_frf.pdf b/figs/test_nhexa_enc_struts_coi_dvf_cart_frf.pdf similarity index 100% rename from figs/enc_struts_coi_dvf_cart_frf.pdf rename to figs/test_nhexa_enc_struts_coi_dvf_cart_frf.pdf diff --git a/figs/enc_struts_coi_dvf_cart_frf.png b/figs/test_nhexa_enc_struts_coi_dvf_cart_frf.png similarity index 100% rename from figs/enc_struts_coi_dvf_cart_frf.png rename to figs/test_nhexa_enc_struts_coi_dvf_cart_frf.png diff --git a/figs/enc_struts_cok_dvf_cart_frf.pdf b/figs/test_nhexa_enc_struts_cok_dvf_cart_frf.pdf similarity index 100% rename from figs/enc_struts_cok_dvf_cart_frf.pdf rename to figs/test_nhexa_enc_struts_cok_dvf_cart_frf.pdf diff --git a/figs/enc_struts_cok_dvf_cart_frf.png b/figs/test_nhexa_enc_struts_cok_dvf_cart_frf.png similarity index 100% rename from figs/enc_struts_cok_dvf_cart_frf.png rename to figs/test_nhexa_enc_struts_cok_dvf_cart_frf.png diff --git a/figs/enc_struts_dvf_cart_frf.pdf b/figs/test_nhexa_enc_struts_dvf_cart_frf.pdf similarity index 100% rename from figs/enc_struts_dvf_cart_frf.pdf rename to figs/test_nhexa_enc_struts_dvf_cart_frf.pdf diff --git a/figs/enc_struts_dvf_cart_frf.png b/figs/test_nhexa_enc_struts_dvf_cart_frf.png similarity index 100% rename from figs/enc_struts_dvf_cart_frf.png rename to figs/test_nhexa_enc_struts_dvf_cart_frf.png diff --git a/figs/enc_struts_dvf_coh.pdf b/figs/test_nhexa_enc_struts_dvf_coh.pdf similarity index 100% rename from figs/enc_struts_dvf_coh.pdf rename to figs/test_nhexa_enc_struts_dvf_coh.pdf diff --git a/figs/enc_struts_dvf_coh.png b/figs/test_nhexa_enc_struts_dvf_coh.png similarity index 100% rename from figs/enc_struts_dvf_coh.png rename to figs/test_nhexa_enc_struts_dvf_coh.png diff --git a/figs/enc_struts_dvf_comp_offdiag_simscape.pdf b/figs/test_nhexa_enc_struts_dvf_comp_offdiag_simscape.pdf similarity index 100% rename from figs/enc_struts_dvf_comp_offdiag_simscape.pdf rename to figs/test_nhexa_enc_struts_dvf_comp_offdiag_simscape.pdf diff --git a/figs/enc_struts_dvf_comp_offdiag_simscape.png b/figs/test_nhexa_enc_struts_dvf_comp_offdiag_simscape.png similarity index 100% rename from figs/enc_struts_dvf_comp_offdiag_simscape.png rename to figs/test_nhexa_enc_struts_dvf_comp_offdiag_simscape.png diff --git a/figs/enc_struts_dvf_comp_simscape.pdf b/figs/test_nhexa_enc_struts_dvf_comp_simscape.pdf similarity index 100% rename from figs/enc_struts_dvf_comp_simscape.pdf rename to figs/test_nhexa_enc_struts_dvf_comp_simscape.pdf diff --git a/figs/enc_struts_dvf_comp_simscape.png b/figs/test_nhexa_enc_struts_dvf_comp_simscape.png similarity index 100% rename from figs/enc_struts_dvf_comp_simscape.png rename to figs/test_nhexa_enc_struts_dvf_comp_simscape.png diff --git a/figs/enc_struts_dvf_frf.pdf b/figs/test_nhexa_enc_struts_dvf_frf.pdf similarity index 100% rename from figs/enc_struts_dvf_frf.pdf rename to figs/test_nhexa_enc_struts_dvf_frf.pdf diff --git a/figs/enc_struts_dvf_frf.png b/figs/test_nhexa_enc_struts_dvf_frf.png similarity index 100% rename from figs/enc_struts_dvf_frf.png rename to figs/test_nhexa_enc_struts_dvf_frf.png diff --git a/figs/enc_struts_iff_cart_frf.pdf b/figs/test_nhexa_enc_struts_iff_cart_frf.pdf similarity index 100% rename from figs/enc_struts_iff_cart_frf.pdf rename to figs/test_nhexa_enc_struts_iff_cart_frf.pdf diff --git a/figs/enc_struts_iff_cart_frf.png b/figs/test_nhexa_enc_struts_iff_cart_frf.png similarity index 100% rename from figs/enc_struts_iff_cart_frf.png rename to figs/test_nhexa_enc_struts_iff_cart_frf.png diff --git a/figs/enc_struts_iff_coh.pdf b/figs/test_nhexa_enc_struts_iff_coh.pdf similarity index 100% rename from figs/enc_struts_iff_coh.pdf rename to figs/test_nhexa_enc_struts_iff_coh.pdf diff --git a/figs/enc_struts_iff_coh.png b/figs/test_nhexa_enc_struts_iff_coh.png similarity index 100% rename from figs/enc_struts_iff_coh.png rename to figs/test_nhexa_enc_struts_iff_coh.png diff --git a/figs/enc_struts_iff_comp_offdiag_simscape.pdf b/figs/test_nhexa_enc_struts_iff_comp_offdiag_simscape.pdf similarity index 100% rename from figs/enc_struts_iff_comp_offdiag_simscape.pdf rename to figs/test_nhexa_enc_struts_iff_comp_offdiag_simscape.pdf diff --git a/figs/enc_struts_iff_comp_offdiag_simscape.png b/figs/test_nhexa_enc_struts_iff_comp_offdiag_simscape.png similarity index 100% rename from figs/enc_struts_iff_comp_offdiag_simscape.png rename to figs/test_nhexa_enc_struts_iff_comp_offdiag_simscape.png diff --git a/figs/enc_struts_iff_comp_simscape.pdf b/figs/test_nhexa_enc_struts_iff_comp_simscape.pdf similarity index 100% rename from figs/enc_struts_iff_comp_simscape.pdf rename to figs/test_nhexa_enc_struts_iff_comp_simscape.pdf diff --git a/figs/enc_struts_iff_comp_simscape.png b/figs/test_nhexa_enc_struts_iff_comp_simscape.png similarity index 100% rename from figs/enc_struts_iff_comp_simscape.png rename to figs/test_nhexa_enc_struts_iff_comp_simscape.png diff --git a/figs/enc_struts_iff_frf.pdf b/figs/test_nhexa_enc_struts_iff_frf.pdf similarity index 100% rename from figs/enc_struts_iff_frf.pdf rename to figs/test_nhexa_enc_struts_iff_frf.pdf diff --git a/figs/enc_struts_iff_frf.png b/figs/test_nhexa_enc_struts_iff_frf.png similarity index 100% rename from figs/enc_struts_iff_frf.png rename to figs/test_nhexa_enc_struts_iff_frf.png diff --git a/figs/enc_struts_iff_gains_effect_dvf_plant.pdf b/figs/test_nhexa_enc_struts_iff_gains_effect_dvf_plant.pdf similarity index 100% rename from figs/enc_struts_iff_gains_effect_dvf_plant.pdf rename to figs/test_nhexa_enc_struts_iff_gains_effect_dvf_plant.pdf diff --git a/figs/enc_struts_iff_gains_effect_dvf_plant.png b/figs/test_nhexa_enc_struts_iff_gains_effect_dvf_plant.png similarity index 100% rename from figs/enc_struts_iff_gains_effect_dvf_plant.png rename to figs/test_nhexa_enc_struts_iff_gains_effect_dvf_plant.png diff --git a/figs/enc_struts_iff_opt_damp_comp_flex_model_diag.pdf b/figs/test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_diag.pdf similarity index 100% rename from figs/enc_struts_iff_opt_damp_comp_flex_model_diag.pdf rename to figs/test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_diag.pdf diff --git a/figs/enc_struts_iff_opt_damp_comp_flex_model_diag.png b/figs/test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_diag.png similarity index 100% rename from figs/enc_struts_iff_opt_damp_comp_flex_model_diag.png rename to figs/test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_diag.png diff --git a/figs/enc_struts_iff_opt_damp_comp_flex_model_off_diag.pdf b/figs/test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_off_diag.pdf similarity index 100% rename from figs/enc_struts_iff_opt_damp_comp_flex_model_off_diag.pdf rename to figs/test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_off_diag.pdf diff --git a/figs/enc_struts_iff_opt_damp_comp_flex_model_off_diag.png b/figs/test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_off_diag.png similarity index 100% rename from figs/enc_struts_iff_opt_damp_comp_flex_model_off_diag.png rename to figs/test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_off_diag.png diff --git a/figs/enc_struts_iff_opt_loop_gain.pdf b/figs/test_nhexa_enc_struts_iff_opt_loop_gain.pdf similarity index 100% rename from figs/enc_struts_iff_opt_loop_gain.pdf rename to figs/test_nhexa_enc_struts_iff_opt_loop_gain.pdf diff --git a/figs/enc_struts_iff_opt_loop_gain.png b/figs/test_nhexa_enc_struts_iff_opt_loop_gain.png similarity index 100% rename from figs/enc_struts_iff_opt_loop_gain.png rename to figs/test_nhexa_enc_struts_iff_opt_loop_gain.png diff --git a/figs/enc_struts_iff_root_locus.pdf b/figs/test_nhexa_enc_struts_iff_root_locus.pdf similarity index 100% rename from figs/enc_struts_iff_root_locus.pdf rename to figs/test_nhexa_enc_struts_iff_root_locus.pdf diff --git a/figs/enc_struts_iff_root_locus.png b/figs/test_nhexa_enc_struts_iff_root_locus.png similarity index 100% rename from figs/enc_struts_iff_root_locus.png rename to figs/test_nhexa_enc_struts_iff_root_locus.png diff --git a/figs/test_nhexa_fixation_flexible_joints.pdf b/figs/test_nhexa_fixation_flexible_joints.pdf new file mode 100644 index 0000000..5f85e7c Binary files /dev/null and b/figs/test_nhexa_fixation_flexible_joints.pdf differ diff --git a/figs/test_nhexa_fixation_flexible_joints.png b/figs/test_nhexa_fixation_flexible_joints.png new file mode 100644 index 0000000..c94907c Binary files /dev/null and b/figs/test_nhexa_fixation_flexible_joints.png differ diff --git a/figs/test_nhexa_fixation_flexible_joints.svg b/figs/test_nhexa_fixation_flexible_joints.svg new file mode 100644 index 0000000..62f3137 Binary files /dev/null and b/figs/test_nhexa_fixation_flexible_joints.svg differ diff --git a/figs/frf_GdL_comp_spindle_vib_table_0m.pdf b/figs/test_nhexa_frf_GdL_comp_spindle_vib_table_0m.pdf similarity index 100% rename from figs/frf_GdL_comp_spindle_vib_table_0m.pdf rename to figs/test_nhexa_frf_GdL_comp_spindle_vib_table_0m.pdf diff --git a/figs/frf_GdL_comp_spindle_vib_table_0m.png b/figs/test_nhexa_frf_GdL_comp_spindle_vib_table_0m.png similarity index 100% rename from figs/frf_GdL_comp_spindle_vib_table_0m.png rename to figs/test_nhexa_frf_GdL_comp_spindle_vib_table_0m.png diff --git a/figs/frf_GdL_spindle_0m.pdf b/figs/test_nhexa_frf_GdL_spindle_0m.pdf similarity index 100% rename from figs/frf_GdL_spindle_0m.pdf rename to figs/test_nhexa_frf_GdL_spindle_0m.pdf diff --git a/figs/frf_GdL_spindle_0m.png b/figs/test_nhexa_frf_GdL_spindle_0m.png similarity index 100% rename from figs/frf_GdL_spindle_0m.png rename to figs/test_nhexa_frf_GdL_spindle_0m.png diff --git a/figs/frf_Gtau_comp_spindle_vib_table_0m.pdf b/figs/test_nhexa_frf_Gtau_comp_spindle_vib_table_0m.pdf similarity index 100% rename from figs/frf_Gtau_comp_spindle_vib_table_0m.pdf rename to figs/test_nhexa_frf_Gtau_comp_spindle_vib_table_0m.pdf diff --git a/figs/frf_Gtau_comp_spindle_vib_table_0m.png b/figs/test_nhexa_frf_Gtau_comp_spindle_vib_table_0m.png similarity index 100% rename from figs/frf_Gtau_comp_spindle_vib_table_0m.png rename to figs/test_nhexa_frf_Gtau_comp_spindle_vib_table_0m.png diff --git a/figs/frf_Gtau_spindle_0m.pdf b/figs/test_nhexa_frf_Gtau_spindle_0m.pdf similarity index 100% rename from figs/frf_Gtau_spindle_0m.pdf rename to figs/test_nhexa_frf_Gtau_spindle_0m.pdf diff --git a/figs/frf_Gtau_spindle_0m.png b/figs/test_nhexa_frf_Gtau_spindle_0m.png similarity index 100% rename from figs/frf_Gtau_spindle_0m.png rename to figs/test_nhexa_frf_Gtau_spindle_0m.png diff --git a/figs/frf_comp_spindle_0rpm_60rpm_3m.pdf b/figs/test_nhexa_frf_comp_spindle_0rpm_60rpm_3m.pdf similarity index 100% rename from figs/frf_comp_spindle_0rpm_60rpm_3m.pdf rename to figs/test_nhexa_frf_comp_spindle_0rpm_60rpm_3m.pdf diff --git a/figs/frf_comp_spindle_0rpm_60rpm_3m.png b/figs/test_nhexa_frf_comp_spindle_0rpm_60rpm_3m.png similarity index 100% rename from figs/frf_comp_spindle_0rpm_60rpm_3m.png rename to figs/test_nhexa_frf_comp_spindle_0rpm_60rpm_3m.png diff --git a/figs/frf_damp_unbalanced_mass.pdf b/figs/test_nhexa_frf_damp_unbalanced_mass.pdf similarity index 100% rename from figs/frf_damp_unbalanced_mass.pdf rename to figs/test_nhexa_frf_damp_unbalanced_mass.pdf diff --git a/figs/frf_damp_unbalanced_mass.png b/figs/test_nhexa_frf_damp_unbalanced_mass.png similarity index 100% rename from figs/frf_damp_unbalanced_mass.png rename to figs/test_nhexa_frf_damp_unbalanced_mass.png diff --git a/figs/frf_spindle_comp_ol_iff.pdf b/figs/test_nhexa_frf_spindle_comp_ol_iff.pdf similarity index 100% rename from figs/frf_spindle_comp_ol_iff.pdf rename to figs/test_nhexa_frf_spindle_comp_ol_iff.pdf diff --git a/figs/frf_spindle_comp_ol_iff.png b/figs/test_nhexa_frf_spindle_comp_ol_iff.png similarity index 100% rename from figs/frf_spindle_comp_ol_iff.png rename to figs/test_nhexa_frf_spindle_comp_ol_iff.png diff --git a/figs/frf_spindle_iff_effect_payload.pdf b/figs/test_nhexa_frf_spindle_iff_effect_payload.pdf similarity index 100% rename from figs/frf_spindle_iff_effect_payload.pdf rename to figs/test_nhexa_frf_spindle_iff_effect_payload.pdf diff --git a/figs/frf_spindle_iff_effect_payload.png b/figs/test_nhexa_frf_spindle_iff_effect_payload.png similarity index 100% rename from figs/frf_spindle_iff_effect_payload.png rename to figs/test_nhexa_frf_spindle_iff_effect_payload.png diff --git a/figs/hac_iff_plates_exp_loop_gain_diag.pdf b/figs/test_nhexa_hac_iff_plates_exp_loop_gain_diag.pdf similarity index 100% rename from figs/hac_iff_plates_exp_loop_gain_diag.pdf rename to figs/test_nhexa_hac_iff_plates_exp_loop_gain_diag.pdf diff --git a/figs/hac_iff_plates_exp_loop_gain_diag.png b/figs/test_nhexa_hac_iff_plates_exp_loop_gain_diag.png similarity index 100% rename from figs/hac_iff_plates_exp_loop_gain_diag.png rename to figs/test_nhexa_hac_iff_plates_exp_loop_gain_diag.png diff --git a/figs/hac_iff_plates_exp_loop_gain_redesigned_K.pdf b/figs/test_nhexa_hac_iff_plates_exp_loop_gain_redesigned_K.pdf similarity index 100% rename from figs/hac_iff_plates_exp_loop_gain_redesigned_K.pdf rename to figs/test_nhexa_hac_iff_plates_exp_loop_gain_redesigned_K.pdf diff --git a/figs/hac_iff_plates_exp_loop_gain_redesigned_K.png b/figs/test_nhexa_hac_iff_plates_exp_loop_gain_redesigned_K.png similarity index 100% rename from figs/hac_iff_plates_exp_loop_gain_redesigned_K.png rename to figs/test_nhexa_hac_iff_plates_exp_loop_gain_redesigned_K.png diff --git a/figs/hac_iff_struts_enc_plates_plant_bode.pdf b/figs/test_nhexa_hac_iff_struts_enc_plates_plant_bode.pdf similarity index 100% rename from figs/hac_iff_struts_enc_plates_plant_bode.pdf rename to figs/test_nhexa_hac_iff_struts_enc_plates_plant_bode.pdf diff --git a/figs/hac_iff_struts_enc_plates_plant_bode.png b/figs/test_nhexa_hac_iff_struts_enc_plates_plant_bode.png similarity index 100% rename from figs/hac_iff_struts_enc_plates_plant_bode.png rename to figs/test_nhexa_hac_iff_struts_enc_plates_plant_bode.png diff --git a/figs/hammer_excitation_compliance_meas.jpg b/figs/test_nhexa_hammer_excitation_compliance_meas.jpg similarity index 100% rename from figs/hammer_excitation_compliance_meas.jpg rename to figs/test_nhexa_hammer_excitation_compliance_meas.jpg diff --git a/figs/hexapod_spindle_picture.jpg b/figs/test_nhexa_hexapod_spindle_picture.jpg similarity index 100% rename from figs/hexapod_spindle_picture.jpg rename to figs/test_nhexa_hexapod_spindle_picture.jpg diff --git a/figs/iff_loop_gain_masses.pdf b/figs/test_nhexa_iff_loop_gain_masses.pdf similarity index 100% rename from figs/iff_loop_gain_masses.pdf rename to figs/test_nhexa_iff_loop_gain_masses.pdf diff --git a/figs/iff_loop_gain_masses.png b/figs/test_nhexa_iff_loop_gain_masses.png similarity index 100% rename from figs/iff_loop_gain_masses.png rename to figs/test_nhexa_iff_loop_gain_masses.png diff --git a/figs/iff_root_locus_masses.pdf b/figs/test_nhexa_iff_root_locus_masses.pdf similarity index 100% rename from figs/iff_root_locus_masses.pdf rename to figs/test_nhexa_iff_root_locus_masses.pdf diff --git a/figs/iff_root_locus_masses.png b/figs/test_nhexa_iff_root_locus_masses.png similarity index 100% rename from figs/iff_root_locus_masses.png rename to figs/test_nhexa_iff_root_locus_masses.png diff --git a/figs/interaction_J_cok_plant.pdf b/figs/test_nhexa_interaction_J_cok_plant.pdf similarity index 100% rename from figs/interaction_J_cok_plant.pdf rename to figs/test_nhexa_interaction_J_cok_plant.pdf diff --git a/figs/interaction_J_cok_plant.png b/figs/test_nhexa_interaction_J_cok_plant.png similarity index 100% rename from figs/interaction_J_cok_plant.png rename to figs/test_nhexa_interaction_J_cok_plant.png diff --git a/figs/interaction_J_cok_plant_not_normalized.pdf b/figs/test_nhexa_interaction_J_cok_plant_not_normalized.pdf similarity index 100% rename from figs/interaction_J_cok_plant_not_normalized.pdf rename to figs/test_nhexa_interaction_J_cok_plant_not_normalized.pdf diff --git a/figs/interaction_J_cok_plant_not_normalized.png b/figs/test_nhexa_interaction_J_cok_plant_not_normalized.png similarity index 100% rename from figs/interaction_J_cok_plant_not_normalized.png rename to figs/test_nhexa_interaction_J_cok_plant_not_normalized.png diff --git a/figs/interaction_J_com_plant.pdf b/figs/test_nhexa_interaction_J_com_plant.pdf similarity index 100% rename from figs/interaction_J_com_plant.pdf rename to figs/test_nhexa_interaction_J_com_plant.pdf diff --git a/figs/interaction_J_com_plant.png b/figs/test_nhexa_interaction_J_com_plant.png similarity index 100% rename from figs/interaction_J_com_plant.png rename to figs/test_nhexa_interaction_J_com_plant.png diff --git a/figs/interaction_compare_rga_numbers.pdf b/figs/test_nhexa_interaction_compare_rga_numbers.pdf similarity index 100% rename from figs/interaction_compare_rga_numbers.pdf rename to figs/test_nhexa_interaction_compare_rga_numbers.pdf diff --git a/figs/interaction_compare_rga_numbers.png b/figs/test_nhexa_interaction_compare_rga_numbers.png similarity index 100% rename from figs/interaction_compare_rga_numbers.png rename to figs/test_nhexa_interaction_compare_rga_numbers.png diff --git a/figs/interaction_compare_rga_numbers_rob.pdf b/figs/test_nhexa_interaction_compare_rga_numbers_rob.pdf similarity index 100% rename from figs/interaction_compare_rga_numbers_rob.pdf rename to figs/test_nhexa_interaction_compare_rga_numbers_rob.pdf diff --git a/figs/interaction_compare_rga_numbers_rob.png b/figs/test_nhexa_interaction_compare_rga_numbers_rob.png similarity index 100% rename from figs/interaction_compare_rga_numbers_rob.png rename to figs/test_nhexa_interaction_compare_rga_numbers_rob.png diff --git a/figs/interaction_decentralized_plant.pdf b/figs/test_nhexa_interaction_decentralized_plant.pdf similarity index 100% rename from figs/interaction_decentralized_plant.pdf rename to figs/test_nhexa_interaction_decentralized_plant.pdf diff --git a/figs/interaction_decentralized_plant.png b/figs/test_nhexa_interaction_decentralized_plant.png similarity index 100% rename from figs/interaction_decentralized_plant.png rename to figs/test_nhexa_interaction_decentralized_plant.png diff --git a/figs/interaction_dynamic_dec_plant.pdf b/figs/test_nhexa_interaction_dynamic_dec_plant.pdf similarity index 100% rename from figs/interaction_dynamic_dec_plant.pdf rename to figs/test_nhexa_interaction_dynamic_dec_plant.pdf diff --git a/figs/interaction_dynamic_dec_plant.png b/figs/test_nhexa_interaction_dynamic_dec_plant.png similarity index 100% rename from figs/interaction_dynamic_dec_plant.png rename to figs/test_nhexa_interaction_dynamic_dec_plant.png diff --git a/figs/interaction_rga_J_cok.pdf b/figs/test_nhexa_interaction_rga_J_cok.pdf similarity index 100% rename from figs/interaction_rga_J_cok.pdf rename to figs/test_nhexa_interaction_rga_J_cok.pdf diff --git a/figs/interaction_rga_J_cok.png b/figs/test_nhexa_interaction_rga_J_cok.png similarity index 100% rename from figs/interaction_rga_J_cok.png rename to figs/test_nhexa_interaction_rga_J_cok.png diff --git a/figs/interaction_rga_J_com.pdf b/figs/test_nhexa_interaction_rga_J_com.pdf similarity index 100% rename from figs/interaction_rga_J_com.pdf rename to figs/test_nhexa_interaction_rga_J_com.pdf diff --git a/figs/interaction_rga_J_com.png b/figs/test_nhexa_interaction_rga_J_com.png similarity index 100% rename from figs/interaction_rga_J_com.png rename to figs/test_nhexa_interaction_rga_J_com.png diff --git a/figs/interaction_rga_decentralized.pdf b/figs/test_nhexa_interaction_rga_decentralized.pdf similarity index 100% rename from figs/interaction_rga_decentralized.pdf rename to figs/test_nhexa_interaction_rga_decentralized.pdf diff --git a/figs/interaction_rga_decentralized.png b/figs/test_nhexa_interaction_rga_decentralized.png similarity index 100% rename from figs/interaction_rga_decentralized.png rename to figs/test_nhexa_interaction_rga_decentralized.png diff --git a/figs/interaction_rga_dynamic_dec.pdf b/figs/test_nhexa_interaction_rga_dynamic_dec.pdf similarity index 100% rename from figs/interaction_rga_dynamic_dec.pdf rename to figs/test_nhexa_interaction_rga_dynamic_dec.pdf diff --git a/figs/interaction_rga_dynamic_dec.png b/figs/test_nhexa_interaction_rga_dynamic_dec.png similarity index 100% rename from figs/interaction_rga_dynamic_dec.png rename to figs/test_nhexa_interaction_rga_dynamic_dec.png diff --git a/figs/interaction_rga_static_dec.pdf b/figs/test_nhexa_interaction_rga_static_dec.pdf similarity index 100% rename from figs/interaction_rga_static_dec.pdf rename to figs/test_nhexa_interaction_rga_static_dec.pdf diff --git a/figs/interaction_rga_static_dec.png b/figs/test_nhexa_interaction_rga_static_dec.png similarity index 100% rename from figs/interaction_rga_static_dec.png rename to figs/test_nhexa_interaction_rga_static_dec.png diff --git a/figs/interaction_rga_svd.pdf b/figs/test_nhexa_interaction_rga_svd.pdf similarity index 100% rename from figs/interaction_rga_svd.pdf rename to figs/test_nhexa_interaction_rga_svd.pdf diff --git a/figs/interaction_rga_svd.png b/figs/test_nhexa_interaction_rga_svd.png similarity index 100% rename from figs/interaction_rga_svd.png rename to figs/test_nhexa_interaction_rga_svd.png diff --git a/figs/interaction_rga_wc.pdf b/figs/test_nhexa_interaction_rga_wc.pdf similarity index 100% rename from figs/interaction_rga_wc.pdf rename to figs/test_nhexa_interaction_rga_wc.pdf diff --git a/figs/interaction_rga_wc.png b/figs/test_nhexa_interaction_rga_wc.png similarity index 100% rename from figs/interaction_rga_wc.png rename to figs/test_nhexa_interaction_rga_wc.png diff --git a/figs/interaction_static_dec_plant.pdf b/figs/test_nhexa_interaction_static_dec_plant.pdf similarity index 100% rename from figs/interaction_static_dec_plant.pdf rename to figs/test_nhexa_interaction_static_dec_plant.pdf diff --git a/figs/interaction_static_dec_plant.png b/figs/test_nhexa_interaction_static_dec_plant.png similarity index 100% rename from figs/interaction_static_dec_plant.png rename to figs/test_nhexa_interaction_static_dec_plant.png diff --git a/figs/interaction_svd_plant.pdf b/figs/test_nhexa_interaction_svd_plant.pdf similarity index 100% rename from figs/interaction_svd_plant.pdf rename to figs/test_nhexa_interaction_svd_plant.pdf diff --git a/figs/interaction_svd_plant.png b/figs/test_nhexa_interaction_svd_plant.png similarity index 100% rename from figs/interaction_svd_plant.png rename to figs/test_nhexa_interaction_svd_plant.png diff --git a/figs/interaction_wc_plant.pdf b/figs/test_nhexa_interaction_wc_plant.pdf similarity index 100% rename from figs/interaction_wc_plant.pdf rename to figs/test_nhexa_interaction_wc_plant.pdf diff --git a/figs/interaction_wc_plant.png b/figs/test_nhexa_interaction_wc_plant.png similarity index 100% rename from figs/interaction_wc_plant.png rename to figs/test_nhexa_interaction_wc_plant.png diff --git a/figs/test_nhexa_location_bot_flex.pdf b/figs/test_nhexa_location_bot_flex.pdf new file mode 100644 index 0000000..6d13811 Binary files /dev/null and b/figs/test_nhexa_location_bot_flex.pdf differ diff --git a/figs/test_nhexa_location_bot_flex.png b/figs/test_nhexa_location_bot_flex.png new file mode 100644 index 0000000..6af35d3 Binary files /dev/null and b/figs/test_nhexa_location_bot_flex.png differ diff --git a/figs/test_nhexa_location_bot_flex.svg b/figs/test_nhexa_location_bot_flex.svg new file mode 100644 index 0000000..fffa25a Binary files /dev/null and b/figs/test_nhexa_location_bot_flex.svg differ diff --git a/figs/test_nhexa_location_top_flexible_joints.pdf b/figs/test_nhexa_location_top_flexible_joints.pdf new file mode 100644 index 0000000..0a00d01 Binary files /dev/null and b/figs/test_nhexa_location_top_flexible_joints.pdf differ diff --git a/figs/test_nhexa_location_top_flexible_joints.png b/figs/test_nhexa_location_top_flexible_joints.png new file mode 100644 index 0000000..c20726d Binary files /dev/null and b/figs/test_nhexa_location_top_flexible_joints.png differ diff --git a/figs/test_nhexa_location_top_flexible_joints.svg b/figs/test_nhexa_location_top_flexible_joints.svg new file mode 100644 index 0000000..acb0cbb Binary files /dev/null and b/figs/test_nhexa_location_top_flexible_joints.svg differ diff --git a/figs/loci_hac_iff_loop_gain_diag_inverse.pdf b/figs/test_nhexa_loci_hac_iff_loop_gain_diag_inverse.pdf similarity index 100% rename from figs/loci_hac_iff_loop_gain_diag_inverse.pdf rename to figs/test_nhexa_loci_hac_iff_loop_gain_diag_inverse.pdf diff --git a/figs/loci_hac_iff_loop_gain_diag_inverse.png b/figs/test_nhexa_loci_hac_iff_loop_gain_diag_inverse.png similarity index 100% rename from figs/loci_hac_iff_loop_gain_diag_inverse.png rename to figs/test_nhexa_loci_hac_iff_loop_gain_diag_inverse.png diff --git a/figs/loci_hac_iff_loop_gain_jacobian_cok.pdf b/figs/test_nhexa_loci_hac_iff_loop_gain_jacobian_cok.pdf similarity index 100% rename from figs/loci_hac_iff_loop_gain_jacobian_cok.pdf rename to figs/test_nhexa_loci_hac_iff_loop_gain_jacobian_cok.pdf diff --git a/figs/loci_hac_iff_loop_gain_jacobian_cok.png b/figs/test_nhexa_loci_hac_iff_loop_gain_jacobian_cok.png similarity index 100% rename from figs/loci_hac_iff_loop_gain_jacobian_cok.png rename to figs/test_nhexa_loci_hac_iff_loop_gain_jacobian_cok.png diff --git a/figs/loci_hac_iff_loop_gain_svd.pdf b/figs/test_nhexa_loci_hac_iff_loop_gain_svd.pdf similarity index 100% rename from figs/loci_hac_iff_loop_gain_svd.pdf rename to figs/test_nhexa_loci_hac_iff_loop_gain_svd.pdf diff --git a/figs/loci_hac_iff_loop_gain_svd.png b/figs/test_nhexa_loci_hac_iff_loop_gain_svd.png similarity index 100% rename from figs/loci_hac_iff_loop_gain_svd.png rename to figs/test_nhexa_loci_hac_iff_loop_gain_svd.png diff --git a/figs/loop_gain_hac_iff_struts.pdf b/figs/test_nhexa_loop_gain_hac_iff_struts.pdf similarity index 100% rename from figs/loop_gain_hac_iff_struts.pdf rename to figs/test_nhexa_loop_gain_hac_iff_struts.pdf diff --git a/figs/loop_gain_hac_iff_struts.png b/figs/test_nhexa_loop_gain_hac_iff_struts.png similarity index 100% rename from figs/loop_gain_hac_iff_struts.png rename to figs/test_nhexa_loop_gain_hac_iff_struts.png diff --git a/figs/mode_shapes_annotated.gif b/figs/test_nhexa_mode_shapes_annotated.gif similarity index 100% rename from figs/mode_shapes_annotated.gif rename to figs/test_nhexa_mode_shapes_annotated.gif diff --git a/figs/mode_shapes_annotated.png b/figs/test_nhexa_mode_shapes_annotated.png similarity index 100% rename from figs/mode_shapes_annotated.png rename to figs/test_nhexa_mode_shapes_annotated.png diff --git a/figs/test_nhexa_mounting_hexapod_cut.pdf b/figs/test_nhexa_mounting_hexapod_cut.pdf new file mode 100644 index 0000000..19d925c Binary files /dev/null and b/figs/test_nhexa_mounting_hexapod_cut.pdf differ diff --git a/figs/test_nhexa_mounting_hexapod_cut.png b/figs/test_nhexa_mounting_hexapod_cut.png new file mode 100644 index 0000000..2e402a8 Binary files /dev/null and b/figs/test_nhexa_mounting_hexapod_cut.png differ diff --git a/figs/test_nhexa_mounting_hexapod_cut.svg b/figs/test_nhexa_mounting_hexapod_cut.svg new file mode 100644 index 0000000..ce69884 Binary files /dev/null and b/figs/test_nhexa_mounting_hexapod_cut.svg differ diff --git a/figs/test_nhexa_mounting_tool_hexapod_bot_view.jpg b/figs/test_nhexa_mounting_tool_hexapod_bot_view.jpg new file mode 100644 index 0000000..56fcafe Binary files /dev/null and b/figs/test_nhexa_mounting_tool_hexapod_bot_view.jpg differ diff --git a/figs/test_nhexa_mounting_tool_hexapod_top_view.jpg b/figs/test_nhexa_mounting_tool_hexapod_top_view.jpg new file mode 100644 index 0000000..0f4e974 Binary files /dev/null and b/figs/test_nhexa_mounting_tool_hexapod_top_view.jpg differ diff --git a/figs/nano_hexapod_damped_bode_plot.pdf b/figs/test_nhexa_nano_hexapod_damped_bode_plot.pdf similarity index 100% rename from figs/nano_hexapod_damped_bode_plot.pdf rename to figs/test_nhexa_nano_hexapod_damped_bode_plot.pdf diff --git a/figs/nano_hexapod_damped_bode_plot.png b/figs/test_nhexa_nano_hexapod_damped_bode_plot.png similarity index 100% rename from figs/nano_hexapod_damped_bode_plot.png rename to figs/test_nhexa_nano_hexapod_damped_bode_plot.png diff --git a/figs/test_nhexa_nano_hexapod_elements.pdf b/figs/test_nhexa_nano_hexapod_elements.pdf new file mode 100644 index 0000000..7451a2d Binary files /dev/null and b/figs/test_nhexa_nano_hexapod_elements.pdf differ diff --git a/figs/test_nhexa_nano_hexapod_elements.png b/figs/test_nhexa_nano_hexapod_elements.png new file mode 100644 index 0000000..6ff3211 Binary files /dev/null and b/figs/test_nhexa_nano_hexapod_elements.png differ diff --git a/figs/test_nhexa_nano_hexapod_elements.svg b/figs/test_nhexa_nano_hexapod_elements.svg new file mode 100644 index 0000000..502bd39 Binary files /dev/null and b/figs/test_nhexa_nano_hexapod_elements.svg differ diff --git a/figs/nano_hexapod_enc_bode_plot.pdf b/figs/test_nhexa_nano_hexapod_enc_bode_plot.pdf similarity index 100% rename from figs/nano_hexapod_enc_bode_plot.pdf rename to figs/test_nhexa_nano_hexapod_enc_bode_plot.pdf diff --git a/figs/nano_hexapod_enc_bode_plot.png b/figs/test_nhexa_nano_hexapod_enc_bode_plot.png similarity index 100% rename from figs/nano_hexapod_enc_bode_plot.png rename to figs/test_nhexa_nano_hexapod_enc_bode_plot.png diff --git a/figs/nano_hexapod_identification_comp_simscape.pdf b/figs/test_nhexa_nano_hexapod_identification_comp_simscape.pdf similarity index 100% rename from figs/nano_hexapod_identification_comp_simscape.pdf rename to figs/test_nhexa_nano_hexapod_identification_comp_simscape.pdf diff --git a/figs/nano_hexapod_identification_comp_simscape.png b/figs/test_nhexa_nano_hexapod_identification_comp_simscape.png similarity index 100% rename from figs/nano_hexapod_identification_comp_simscape.png rename to figs/test_nhexa_nano_hexapod_identification_comp_simscape.png diff --git a/figs/nano_hexapod_identification_comp_simscape_full.pdf b/figs/test_nhexa_nano_hexapod_identification_comp_simscape_full.pdf similarity index 100% rename from figs/nano_hexapod_identification_comp_simscape_full.pdf rename to figs/test_nhexa_nano_hexapod_identification_comp_simscape_full.pdf diff --git a/figs/nano_hexapod_identification_comp_simscape_full.png b/figs/test_nhexa_nano_hexapod_identification_comp_simscape_full.png similarity index 100% rename from figs/nano_hexapod_identification_comp_simscape_full.png rename to figs/test_nhexa_nano_hexapod_identification_comp_simscape_full.png diff --git a/figs/nano_hexapod_identification_damp_comp_simscape.pdf b/figs/test_nhexa_nano_hexapod_identification_damp_comp_simscape.pdf similarity index 100% rename from figs/nano_hexapod_identification_damp_comp_simscape.pdf rename to figs/test_nhexa_nano_hexapod_identification_damp_comp_simscape.pdf diff --git a/figs/nano_hexapod_identification_damp_comp_simscape.png b/figs/test_nhexa_nano_hexapod_identification_damp_comp_simscape.png similarity index 100% rename from figs/nano_hexapod_identification_damp_comp_simscape.png rename to figs/test_nhexa_nano_hexapod_identification_damp_comp_simscape.png diff --git a/figs/nano_hexapod_identification_damp_comp_simscape_both.pdf b/figs/test_nhexa_nano_hexapod_identification_damp_comp_simscape_both.pdf similarity index 100% rename from figs/nano_hexapod_identification_damp_comp_simscape_both.pdf rename to figs/test_nhexa_nano_hexapod_identification_damp_comp_simscape_both.pdf diff --git a/figs/nano_hexapod_identification_damp_comp_simscape_both.png b/figs/test_nhexa_nano_hexapod_identification_damp_comp_simscape_both.png similarity index 100% rename from figs/nano_hexapod_identification_damp_comp_simscape_both.png rename to figs/test_nhexa_nano_hexapod_identification_damp_comp_simscape_both.png diff --git a/figs/nano_hexapod_iff_bode_plot.pdf b/figs/test_nhexa_nano_hexapod_iff_bode_plot.pdf similarity index 100% rename from figs/nano_hexapod_iff_bode_plot.pdf rename to figs/test_nhexa_nano_hexapod_iff_bode_plot.pdf diff --git a/figs/nano_hexapod_iff_bode_plot.png b/figs/test_nhexa_nano_hexapod_iff_bode_plot.png similarity index 100% rename from figs/nano_hexapod_iff_bode_plot.png rename to figs/test_nhexa_nano_hexapod_iff_bode_plot.png diff --git a/figs/nano_hexapod_mounted.jpg b/figs/test_nhexa_nano_hexapod_mounted.jpg similarity index 100% rename from figs/nano_hexapod_mounted.jpg rename to figs/test_nhexa_nano_hexapod_mounted.jpg diff --git a/figs/test_nhexa_nano_hexapod_plates.jpg b/figs/test_nhexa_nano_hexapod_plates.jpg new file mode 100644 index 0000000..90c4da9 Binary files /dev/null and b/figs/test_nhexa_nano_hexapod_plates.jpg differ diff --git a/figs/nano_hexapod_signals.pdf b/figs/test_nhexa_nano_hexapod_signals.pdf similarity index 100% rename from figs/nano_hexapod_signals.pdf rename to figs/test_nhexa_nano_hexapod_signals.pdf diff --git a/figs/nano_hexapod_signals.png b/figs/test_nhexa_nano_hexapod_signals.png similarity index 100% rename from figs/nano_hexapod_signals.png rename to figs/test_nhexa_nano_hexapod_signals.png diff --git a/figs/nano_hexapod_signals.svg b/figs/test_nhexa_nano_hexapod_signals.svg similarity index 100% rename from figs/nano_hexapod_signals.svg rename to figs/test_nhexa_nano_hexapod_signals.svg diff --git a/figs/nano_hexapod_signals_hac_iff.pdf b/figs/test_nhexa_nano_hexapod_signals_hac_iff.pdf similarity index 100% rename from figs/nano_hexapod_signals_hac_iff.pdf rename to figs/test_nhexa_nano_hexapod_signals_hac_iff.pdf diff --git a/figs/nano_hexapod_signals_hac_iff.png b/figs/test_nhexa_nano_hexapod_signals_hac_iff.png similarity index 100% rename from figs/nano_hexapod_signals_hac_iff.png rename to figs/test_nhexa_nano_hexapod_signals_hac_iff.png diff --git a/figs/nano_hexapod_signals_hac_iff.svg b/figs/test_nhexa_nano_hexapod_signals_hac_iff.svg similarity index 100% rename from figs/nano_hexapod_signals_hac_iff.svg rename to figs/test_nhexa_nano_hexapod_signals_hac_iff.svg diff --git a/figs/nano_hexapod_signals_iff.pdf b/figs/test_nhexa_nano_hexapod_signals_iff.pdf similarity index 100% rename from figs/nano_hexapod_signals_iff.pdf rename to figs/test_nhexa_nano_hexapod_signals_iff.pdf diff --git a/figs/nano_hexapod_signals_iff.png b/figs/test_nhexa_nano_hexapod_signals_iff.png similarity index 100% rename from figs/nano_hexapod_signals_iff.png rename to figs/test_nhexa_nano_hexapod_signals_iff.png diff --git a/figs/nano_hexapod_signals_iff.svg b/figs/test_nhexa_nano_hexapod_signals_iff.svg similarity index 100% rename from figs/nano_hexapod_signals_iff.svg rename to figs/test_nhexa_nano_hexapod_signals_iff.svg diff --git a/figs/nass_ref_rx_ry.pdf b/figs/test_nhexa_nass_ref_rx_ry.pdf similarity index 100% rename from figs/nass_ref_rx_ry.pdf rename to figs/test_nhexa_nass_ref_rx_ry.pdf diff --git a/figs/nass_ref_rx_ry.png b/figs/test_nhexa_nass_ref_rx_ry.png similarity index 100% rename from figs/nass_ref_rx_ry.png rename to figs/test_nhexa_nass_ref_rx_ry.png diff --git a/figs/nass_ref_xy_plane.pdf b/figs/test_nhexa_nass_ref_xy_plane.pdf similarity index 100% rename from figs/nass_ref_xy_plane.pdf rename to figs/test_nhexa_nass_ref_xy_plane.pdf diff --git a/figs/nass_ref_xy_plane.png b/figs/test_nhexa_nass_ref_xy_plane.png similarity index 100% rename from figs/nass_ref_xy_plane.png rename to figs/test_nhexa_nass_ref_xy_plane.png diff --git a/figs/nass_scan_conclusion_slide.svg b/figs/test_nhexa_nass_scan_conclusion_slide.svg similarity index 100% rename from figs/nass_scan_conclusion_slide.svg rename to figs/test_nhexa_nass_scan_conclusion_slide.svg diff --git a/figs/nass_scans_first_test_exp.pdf b/figs/test_nhexa_nass_scans_first_test_exp.pdf similarity index 100% rename from figs/nass_scans_first_test_exp.pdf rename to figs/test_nhexa_nass_scans_first_test_exp.pdf diff --git a/figs/nass_scans_first_test_exp.png b/figs/test_nhexa_nass_scans_first_test_exp.png similarity index 100% rename from figs/nass_scans_first_test_exp.png rename to figs/test_nhexa_nass_scans_first_test_exp.png diff --git a/figs/open_loop_gain_feedforward_iff_struts.pdf b/figs/test_nhexa_open_loop_gain_feedforward_iff_struts.pdf similarity index 100% rename from figs/open_loop_gain_feedforward_iff_struts.pdf rename to figs/test_nhexa_open_loop_gain_feedforward_iff_struts.pdf diff --git a/figs/open_loop_gain_feedforward_iff_struts.png b/figs/test_nhexa_open_loop_gain_feedforward_iff_struts.png similarity index 100% rename from figs/open_loop_gain_feedforward_iff_struts.png rename to figs/test_nhexa_open_loop_gain_feedforward_iff_struts.png diff --git a/figs/picture_added_3_masses.jpg b/figs/test_nhexa_picture_added_3_masses.jpg similarity index 100% rename from figs/picture_added_3_masses.jpg rename to figs/test_nhexa_picture_added_3_masses.jpg diff --git a/figs/picture_unbalanced_payload.jpg b/figs/test_nhexa_picture_unbalanced_payload.jpg similarity index 100% rename from figs/picture_unbalanced_payload.jpg rename to figs/test_nhexa_picture_unbalanced_payload.jpg diff --git a/figs/test_nhexa_plates_tolerences.jpg b/figs/test_nhexa_plates_tolerences.jpg new file mode 100644 index 0000000..7fa5a0f Binary files /dev/null and b/figs/test_nhexa_plates_tolerences.jpg differ diff --git a/figs/reduced_coupling_iff_masses.pdf b/figs/test_nhexa_reduced_coupling_iff_masses.pdf similarity index 100% rename from figs/reduced_coupling_iff_masses.pdf rename to figs/test_nhexa_reduced_coupling_iff_masses.pdf diff --git a/figs/reduced_coupling_iff_masses.png b/figs/test_nhexa_reduced_coupling_iff_masses.png similarity index 100% rename from figs/reduced_coupling_iff_masses.png rename to figs/test_nhexa_reduced_coupling_iff_masses.png diff --git a/figs/ref_track_hac_iff_struts_pos_error.pdf b/figs/test_nhexa_ref_track_hac_iff_struts_pos_error.pdf similarity index 100% rename from figs/ref_track_hac_iff_struts_pos_error.pdf rename to figs/test_nhexa_ref_track_hac_iff_struts_pos_error.pdf diff --git a/figs/ref_track_hac_iff_struts_pos_error.png b/figs/test_nhexa_ref_track_hac_iff_struts_pos_error.png similarity index 100% rename from figs/ref_track_hac_iff_struts_pos_error.png rename to figs/test_nhexa_ref_track_hac_iff_struts_pos_error.png diff --git a/figs/ref_track_hac_iff_struts_yz_plane.pdf b/figs/test_nhexa_ref_track_hac_iff_struts_yz_plane.pdf similarity index 100% rename from figs/ref_track_hac_iff_struts_yz_plane.pdf rename to figs/test_nhexa_ref_track_hac_iff_struts_yz_plane.pdf diff --git a/figs/ref_track_hac_iff_struts_yz_plane.png b/figs/test_nhexa_ref_track_hac_iff_struts_yz_plane.png similarity index 100% rename from figs/ref_track_hac_iff_struts_yz_plane.png rename to figs/test_nhexa_ref_track_hac_iff_struts_yz_plane.png diff --git a/figs/ref_track_hac_iff_struts_yz_time.pdf b/figs/test_nhexa_ref_track_hac_iff_struts_yz_time.pdf similarity index 100% rename from figs/ref_track_hac_iff_struts_yz_time.pdf rename to figs/test_nhexa_ref_track_hac_iff_struts_yz_time.pdf diff --git a/figs/ref_track_hac_iff_struts_yz_time.png b/figs/test_nhexa_ref_track_hac_iff_struts_yz_time.png similarity index 100% rename from figs/ref_track_hac_iff_struts_yz_time.png rename to figs/test_nhexa_ref_track_hac_iff_struts_yz_time.png diff --git a/figs/ref_track_hac_svd_3m.pdf b/figs/test_nhexa_ref_track_hac_svd_3m.pdf similarity index 100% rename from figs/ref_track_hac_svd_3m.pdf rename to figs/test_nhexa_ref_track_hac_svd_3m.pdf diff --git a/figs/ref_track_hac_svd_3m.png b/figs/test_nhexa_ref_track_hac_svd_3m.png similarity index 100% rename from figs/ref_track_hac_svd_3m.png rename to figs/test_nhexa_ref_track_hac_svd_3m.png diff --git a/figs/ref_track_nass_exp_hac_iff_struts.pdf b/figs/test_nhexa_ref_track_nass_exp_hac_iff_struts.pdf similarity index 100% rename from figs/ref_track_nass_exp_hac_iff_struts.pdf rename to figs/test_nhexa_ref_track_nass_exp_hac_iff_struts.pdf diff --git a/figs/ref_track_nass_exp_hac_iff_struts.png b/figs/test_nhexa_ref_track_nass_exp_hac_iff_struts.png similarity index 100% rename from figs/ref_track_nass_exp_hac_iff_struts.png rename to figs/test_nhexa_ref_track_nass_exp_hac_iff_struts.png diff --git a/figs/ref_track_nass_exp_hac_iff_struts_errors_angle.pdf b/figs/test_nhexa_ref_track_nass_exp_hac_iff_struts_errors_angle.pdf similarity index 100% rename from figs/ref_track_nass_exp_hac_iff_struts_errors_angle.pdf rename to figs/test_nhexa_ref_track_nass_exp_hac_iff_struts_errors_angle.pdf diff --git a/figs/ref_track_nass_exp_hac_iff_struts_errors_angle.png b/figs/test_nhexa_ref_track_nass_exp_hac_iff_struts_errors_angle.png similarity index 100% rename from figs/ref_track_nass_exp_hac_iff_struts_errors_angle.png rename to figs/test_nhexa_ref_track_nass_exp_hac_iff_struts_errors_angle.png diff --git a/figs/ref_track_nass_exp_hac_iff_struts_zoom.pdf b/figs/test_nhexa_ref_track_nass_exp_hac_iff_struts_zoom.pdf similarity index 100% rename from figs/ref_track_nass_exp_hac_iff_struts_zoom.pdf rename to figs/test_nhexa_ref_track_nass_exp_hac_iff_struts_zoom.pdf diff --git a/figs/ref_track_nass_exp_hac_iff_struts_zoom.png b/figs/test_nhexa_ref_track_nass_exp_hac_iff_struts_zoom.png similarity index 100% rename from figs/ref_track_nass_exp_hac_iff_struts_zoom.png rename to figs/test_nhexa_ref_track_nass_exp_hac_iff_struts_zoom.png diff --git a/figs/ref_track_test_nass.pdf b/figs/test_nhexa_ref_track_test_nass.pdf similarity index 100% rename from figs/ref_track_test_nass.pdf rename to figs/test_nhexa_ref_track_test_nass.pdf diff --git a/figs/ref_track_test_nass.png b/figs/test_nhexa_ref_track_test_nass.png similarity index 100% rename from figs/ref_track_test_nass.png rename to figs/test_nhexa_ref_track_test_nass.png diff --git a/figs/ref_track_test_nass_3d.pdf b/figs/test_nhexa_ref_track_test_nass_3d.pdf similarity index 100% rename from figs/ref_track_test_nass_3d.pdf rename to figs/test_nhexa_ref_track_test_nass_3d.pdf diff --git a/figs/ref_track_test_nass_3d.png b/figs/test_nhexa_ref_track_test_nass_3d.png similarity index 100% rename from figs/ref_track_test_nass_3d.png rename to figs/test_nhexa_ref_track_test_nass_3d.png diff --git a/figs/rga_num_ol_iff_masses.pdf b/figs/test_nhexa_rga_num_ol_iff_masses.pdf similarity index 100% rename from figs/rga_num_ol_iff_masses.pdf rename to figs/test_nhexa_rga_num_ol_iff_masses.pdf diff --git a/figs/rga_num_ol_iff_masses.png b/figs/test_nhexa_rga_num_ol_iff_masses.png similarity index 100% rename from figs/rga_num_ol_iff_masses.png rename to figs/test_nhexa_rga_num_ol_iff_masses.png diff --git a/figs/rga_num_ol_masses.pdf b/figs/test_nhexa_rga_num_ol_masses.pdf similarity index 100% rename from figs/rga_num_ol_masses.pdf rename to figs/test_nhexa_rga_num_ol_masses.pdf diff --git a/figs/rga_num_ol_masses.png b/figs/test_nhexa_rga_num_ol_masses.png similarity index 100% rename from figs/rga_num_ol_masses.png rename to figs/test_nhexa_rga_num_ol_masses.png diff --git a/figs/schematic_jacobian_in_out.pdf b/figs/test_nhexa_schematic_jacobian_in_out.pdf similarity index 100% rename from figs/schematic_jacobian_in_out.pdf rename to figs/test_nhexa_schematic_jacobian_in_out.pdf diff --git a/figs/schematic_jacobian_in_out.png b/figs/test_nhexa_schematic_jacobian_in_out.png similarity index 100% rename from figs/schematic_jacobian_in_out.png rename to figs/test_nhexa_schematic_jacobian_in_out.png diff --git a/figs/schematic_jacobian_in_out.svg b/figs/test_nhexa_schematic_jacobian_in_out.svg similarity index 100% rename from figs/schematic_jacobian_in_out.svg rename to figs/test_nhexa_schematic_jacobian_in_out.svg diff --git a/figs/sensitivity_hac_jacobian_cok_3m_comp_model.pdf b/figs/test_nhexa_sensitivity_hac_jacobian_cok_3m_comp_model.pdf similarity index 100% rename from figs/sensitivity_hac_jacobian_cok_3m_comp_model.pdf rename to figs/test_nhexa_sensitivity_hac_jacobian_cok_3m_comp_model.pdf diff --git a/figs/sensitivity_hac_jacobian_cok_3m_comp_model.png b/figs/test_nhexa_sensitivity_hac_jacobian_cok_3m_comp_model.png similarity index 100% rename from figs/sensitivity_hac_jacobian_cok_3m_comp_model.png rename to figs/test_nhexa_sensitivity_hac_jacobian_cok_3m_comp_model.png diff --git a/figs/sensitivity_hac_svd_3m.pdf b/figs/test_nhexa_sensitivity_hac_svd_3m.pdf similarity index 100% rename from figs/sensitivity_hac_svd_3m.pdf rename to figs/test_nhexa_sensitivity_hac_svd_3m.pdf diff --git a/figs/sensitivity_hac_svd_3m.png b/figs/test_nhexa_sensitivity_hac_svd_3m.png similarity index 100% rename from figs/sensitivity_hac_svd_3m.png rename to figs/test_nhexa_sensitivity_hac_svd_3m.png diff --git a/figs/sensitivity_hac_svd_3m_comp_model.pdf b/figs/test_nhexa_sensitivity_hac_svd_3m_comp_model.pdf similarity index 100% rename from figs/sensitivity_hac_svd_3m_comp_model.pdf rename to figs/test_nhexa_sensitivity_hac_svd_3m_comp_model.pdf diff --git a/figs/sensitivity_hac_svd_3m_comp_model.png b/figs/test_nhexa_sensitivity_hac_svd_3m_comp_model.png similarity index 100% rename from figs/sensitivity_hac_svd_3m_comp_model.png rename to figs/test_nhexa_sensitivity_hac_svd_3m_comp_model.png diff --git a/figs/sensitivity_hac_svd_3m_comp_model_pres.pdf b/figs/test_nhexa_sensitivity_hac_svd_3m_comp_model_pres.pdf similarity index 100% rename from figs/sensitivity_hac_svd_3m_comp_model_pres.pdf rename to figs/test_nhexa_sensitivity_hac_svd_3m_comp_model_pres.pdf diff --git a/figs/sensitivity_hac_svd_3m_comp_model_pres.png b/figs/test_nhexa_sensitivity_hac_svd_3m_comp_model_pres.png similarity index 100% rename from figs/sensitivity_hac_svd_3m_comp_model_pres.png rename to figs/test_nhexa_sensitivity_hac_svd_3m_comp_model_pres.png diff --git a/figs/test_nhexa_specifications_flexible_joints.pdf b/figs/test_nhexa_specifications_flexible_joints.pdf new file mode 100644 index 0000000..afa9fcf Binary files /dev/null and b/figs/test_nhexa_specifications_flexible_joints.pdf differ diff --git a/figs/test_nhexa_specifications_flexible_joints.png b/figs/test_nhexa_specifications_flexible_joints.png new file mode 100644 index 0000000..7740652 Binary files /dev/null and b/figs/test_nhexa_specifications_flexible_joints.png differ diff --git a/figs/test_nhexa_specifications_flexible_joints.svg b/figs/test_nhexa_specifications_flexible_joints.svg new file mode 100644 index 0000000..693177e Binary files /dev/null and b/figs/test_nhexa_specifications_flexible_joints.svg differ diff --git a/figs/test_iff_plant_rigid_support.pdf b/figs/test_nhexa_test_iff_plant_rigid_support.pdf similarity index 100% rename from figs/test_iff_plant_rigid_support.pdf rename to figs/test_nhexa_test_iff_plant_rigid_support.pdf diff --git a/figs/test_iff_plant_rigid_support.png b/figs/test_nhexa_test_iff_plant_rigid_support.png similarity index 100% rename from figs/test_iff_plant_rigid_support.png rename to figs/test_nhexa_test_iff_plant_rigid_support.png diff --git a/figs/tilt_scan_example_trajectory.pdf b/figs/test_nhexa_tilt_scan_example_trajectory.pdf similarity index 100% rename from figs/tilt_scan_example_trajectory.pdf rename to figs/test_nhexa_tilt_scan_example_trajectory.pdf diff --git a/figs/tilt_scan_example_trajectory.png b/figs/test_nhexa_tilt_scan_example_trajectory.png similarity index 100% rename from figs/tilt_scan_example_trajectory.png rename to figs/test_nhexa_tilt_scan_example_trajectory.png diff --git a/figs/tilt_scan_example_trajectory_struts.pdf b/figs/test_nhexa_tilt_scan_example_trajectory_struts.pdf similarity index 100% rename from figs/tilt_scan_example_trajectory_struts.pdf rename to figs/test_nhexa_tilt_scan_example_trajectory_struts.pdf diff --git a/figs/tilt_scan_example_trajectory_struts.png b/figs/test_nhexa_tilt_scan_example_trajectory_struts.png similarity index 100% rename from figs/tilt_scan_example_trajectory_struts.png rename to figs/test_nhexa_tilt_scan_example_trajectory_struts.png diff --git a/figs/yz_scan_example_trajectory.pdf b/figs/test_nhexa_yz_scan_example_trajectory.pdf similarity index 100% rename from figs/yz_scan_example_trajectory.pdf rename to figs/test_nhexa_yz_scan_example_trajectory.pdf diff --git a/figs/yz_scan_example_trajectory.png b/figs/test_nhexa_yz_scan_example_trajectory.png similarity index 100% rename from figs/yz_scan_example_trajectory.png rename to figs/test_nhexa_yz_scan_example_trajectory.png diff --git a/figs/yz_scan_example_trajectory_struts.pdf b/figs/test_nhexa_yz_scan_example_trajectory_struts.pdf similarity index 100% rename from figs/yz_scan_example_trajectory_struts.pdf rename to figs/test_nhexa_yz_scan_example_trajectory_struts.pdf diff --git a/figs/yz_scan_example_trajectory_struts.png b/figs/test_nhexa_yz_scan_example_trajectory_struts.png similarity index 100% rename from figs/yz_scan_example_trajectory_struts.png rename to figs/test_nhexa_yz_scan_example_trajectory_struts.png diff --git a/figs/yz_scan_example_trajectory_yz_plane.pdf b/figs/test_nhexa_yz_scan_example_trajectory_yz_plane.pdf similarity index 100% rename from figs/yz_scan_example_trajectory_yz_plane.pdf rename to figs/test_nhexa_yz_scan_example_trajectory_yz_plane.pdf diff --git a/figs/yz_scan_example_trajectory_yz_plane.png b/figs/test_nhexa_yz_scan_example_trajectory_yz_plane.png similarity index 100% rename from figs/yz_scan_example_trajectory_yz_plane.png rename to figs/test_nhexa_yz_scan_example_trajectory_yz_plane.png diff --git a/figs/yz_scans_exp_results_first_K.pdf b/figs/test_nhexa_yz_scans_exp_results_first_K.pdf similarity index 100% rename from figs/yz_scans_exp_results_first_K.pdf rename to figs/test_nhexa_yz_scans_exp_results_first_K.pdf diff --git a/figs/yz_scans_exp_results_first_K.png b/figs/test_nhexa_yz_scans_exp_results_first_K.png similarity index 100% rename from figs/yz_scans_exp_results_first_K.png rename to figs/test_nhexa_yz_scans_exp_results_first_K.png diff --git a/test-bench-nano-hexapod.html b/test-bench-nano-hexapod.html deleted file mode 100644 index f982462..0000000 --- a/test-bench-nano-hexapod.html +++ /dev/null @@ -1,5087 +0,0 @@ - - - - - - -Nano-Hexapod - Test Bench - - - - - - - - -
- UP - | - HOME -
-

Nano-Hexapod - Test Bench

-
-

Table of Contents

-
- -
-
-
-

This report is also available as a pdf.

-
- -

-This document is dedicated to the experimental study of the nano-hexapod shown in Figure 1. -

- - -
-

IMG_20210608_152917.jpg -

-

Figure 1: Nano-Hexapod

-
- -
-

-Here are the documentation of the equipment used for this test bench (lots of them are shwon in Figure 2): -

- - -
- - -
-

IMG_20210608_154722.jpg -

-

Figure 2: Nano-Hexapod and the control electronics

-
- -

-In Figure 3 is shown a block diagram of the experimental setup. -When possible, the notations are consistent with this diagram and summarized in Table 1. -

- - -
-

nano_hexapod_signals.png -

-

Figure 3: Block diagram of the system with named signals

-
- - - - --- -- -- -- -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 1: List of signals
 UnitMatlabVectorElements
Control Input (wanted DAC voltage)[V]u\(\bm{u}\)\(u_i\)
DAC Output Voltage[V]u\(\tilde{\bm{u}}\)\(\tilde{u}_i\)
PD200 Output Voltage[V]ua\(\bm{u}_a\)\(u_{a,i}\)
Actuator applied force[N]tau\(\bm{\tau}\)\(\tau_i\)
Strut motion[m]dL\(d\bm{\mathcal{L}}\)\(d\mathcal{L}_i\)
Encoder measured displacement[m]dLm\(d\bm{\mathcal{L}}_m\)\(d\mathcal{L}_{m,i}\)
Force Sensor strain[m]epsilon\(\bm{\epsilon}\)\(\epsilon_i\)
Force Sensor Generated Voltage[V]taum\(\tilde{\bm{\tau}}_m\)\(\tilde{\tau}_{m,i}\)
Measured Generated Voltage[V]taum\(\bm{\tau}_m\)\(\tau_{m,i}\)
Motion of the top platform[m,rad]dX\(d\bm{\mathcal{X}}\)\(d\mathcal{X}_i\)
Metrology measured displacement[m,rad]dXm\(d\bm{\mathcal{X}}_m\)\(d\mathcal{X}_{m,i}\)
- -

-This document is divided in the following sections: -

- - -
-

1. Encoders fixed to the Struts - Dynamics

-
-

- -

-

-In this section, the encoders are fixed to the struts. -

- -

-It is divided in the following sections: -

-
    -
  • Section 1.1: the transfer function matrix from the actuators to the force sensors and to the encoders is experimentally identified.
  • -
  • Section 1.2: the obtained FRF matrix is compared with the dynamics of the simscape model
  • -
  • Section 1.3: decentralized Integral Force Feedback (IFF) is applied and its performances are evaluated.
  • -
  • Section 1.4: a modal analysis of the nano-hexapod is performed
  • -
-
- -
-

1.1. Identification of the dynamics

-
-

- -

-
-
-

1.1.1. Load Measurement Data

-
-
-
%% Load Identification Data
-meas_data_lf = {};
-
-for i = 1:6
-    meas_data_lf(i) = {load(sprintf('mat/frf_data_exc_strut_%i_noise_lf.mat', i), 't', 'Va', 'Vs', 'de')};
-    meas_data_hf(i) = {load(sprintf('mat/frf_data_exc_strut_%i_noise_hf.mat', i), 't', 'Va', 'Vs', 'de')};
-end
-
-
-
-
- -
-

1.1.2. Spectral Analysis - Setup

-
-
-
%% Setup useful variables
-% Sampling Time [s]
-Ts = (meas_data_lf{1}.t(end) - (meas_data_lf{1}.t(1)))/(length(meas_data_lf{1}.t)-1);
-
-% Sampling Frequency [Hz]
-Fs = 1/Ts;
-
-% Hannning Windows
-win = hanning(ceil(1*Fs));
-
-% And we get the frequency vector
-[~, f] = tfestimate(meas_data_lf{1}.Va, meas_data_lf{1}.de, win, [], [], 1/Ts);
-
-i_lf = f < 250; % Points for low frequency excitation
-i_hf = f > 250; % Points for high frequency excitation
-
-
-
-
- -
-

1.1.3. Transfer function from Actuator to Encoder

-
-

-First, let’s compute the coherence from the excitation voltage and the displacement as measured by the encoders (Figure 4). -

- -
-
%% Coherence
-coh_dvf = zeros(length(f), 6, 6);
-
-for i = 1:6
-    coh_dvf_lf = mscohere(meas_data_lf{i}.Va, meas_data_lf{i}.de, win, [], [], 1/Ts);
-    coh_dvf_hf = mscohere(meas_data_hf{i}.Va, meas_data_hf{i}.de, win, [], [], 1/Ts);
-    coh_dvf(:,:,i) = [coh_dvf_lf(i_lf, :); coh_dvf_hf(i_hf, :)];
-end
-
-
- - -
-

enc_struts_dvf_coh.png -

-

Figure 4: Obtained coherence for the DVF plant

-
- -

-Then the 6x6 transfer function matrix is estimated (Figure 5). -

-
-
%% DVF Plant (transfer function from u to dLm)
-G_dvf = zeros(length(f), 6, 6);
-
-for i = 1:6
-    G_dvf_lf = tfestimate(meas_data_lf{i}.Va, meas_data_lf{i}.de, win, [], [], 1/Ts);
-    G_dvf_hf = tfestimate(meas_data_hf{i}.Va, meas_data_hf{i}.de, win, [], [], 1/Ts);
-    G_dvf(:,:,i) = [G_dvf_lf(i_lf, :); G_dvf_hf(i_hf, :)];
-end
-
-
- - -
-

enc_struts_dvf_frf.png -

-

Figure 5: Measured FRF for the DVF plant

-
-
-
- -
-

1.1.4. Transfer function from Actuator to Force Sensor

-
-

-First, let’s compute the coherence from the excitation voltage and the displacement as measured by the encoders (Figure 6). -

- -
-
%% Coherence for the IFF plant
-coh_iff = zeros(length(f), 6, 6);
-
-for i = 1:6
-    coh_iff_lf = mscohere(meas_data_lf{i}.Va, meas_data_lf{i}.Vs, win, [], [], 1/Ts);
-    coh_iff_hf = mscohere(meas_data_hf{i}.Va, meas_data_hf{i}.Vs, win, [], [], 1/Ts);
-    coh_iff(:,:,i) = [coh_iff_lf(i_lf, :); coh_iff_hf(i_hf, :)];
-end
-
-
- - -
-

enc_struts_iff_coh.png -

-

Figure 6: Obtained coherence for the IFF plant

-
- -

-Then the 6x6 transfer function matrix is estimated (Figure 7). -

-
-
%% IFF Plant
-G_iff = zeros(length(f), 6, 6);
-
-for i = 1:6
-    G_iff_lf = tfestimate(meas_data_lf{i}.Va, meas_data_lf{i}.Vs, win, [], [], 1/Ts);
-    G_iff_hf = tfestimate(meas_data_hf{i}.Va, meas_data_hf{i}.Vs, win, [], [], 1/Ts);
-    G_iff(:,:,i) = [G_iff_lf(i_lf, :); G_iff_hf(i_hf, :)];
-end
-
-
- - -
-

enc_struts_iff_frf.png -

-

Figure 7: Measured FRF for the IFF plant

-
-
-
- -
-

1.1.5. Save Identified Plants

-
-
-
save('matlab/mat/identified_plants_enc_struts.mat', 'f', 'Ts', 'G_iff', 'G_dvf')
-
-
-
-
-
- -
-

1.2. Comparison with the Simscape Model

-
-

- -

-

-In this section, the measured dynamics is compared with the dynamics estimated from the Simscape model. -

-
-
-

1.2.1. Load measured FRF

-
-
-
%% Load data
-load('identified_plants_enc_struts.mat', 'f', 'Ts', 'G_iff', 'G_dvf')
-
-
-
-
- -
-

1.2.2. Dynamics from Actuator to Force Sensors

-
-
-
%% Initialize Nano-Hexapod
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'struts', ...
-                                       'actuator_type', '2dof');
-
-
- -
-
%% Identify the IFF Plant (transfer function from u to taum)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');   io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/dum'],  1, 'openoutput'); io_i = io_i + 1; % Force Sensors
-
-Giff = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
- - -
-

enc_struts_iff_comp_simscape.png -

-

Figure 8: Diagonal elements of the IFF Plant

-
- - -
-

enc_struts_iff_comp_offdiag_simscape.png -

-

Figure 9: Off diagonal elements of the IFF Plant

-
-
-
- -
-

1.2.3. Dynamics from Actuator to Encoder

-
-
-
%% Initialization of the Nano-Hexapod
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'struts', ...
-                                       'actuator_type', 'flexible');
-
-
- -
-
%% Identify the DVF Plant (transfer function from u to dLm)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/D'],  1, 'openoutput'); io_i = io_i + 1; % Encoders
-
-Gdvf = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
- - -
-

enc_struts_dvf_comp_simscape.png -

-

Figure 10: Diagonal elements of the DVF Plant

-
- - -
-

enc_struts_dvf_comp_offdiag_simscape.png -

-

Figure 11: Off diagonal elements of the DVF Plant

-
-
-
- -
-

1.2.4. Effect of a change in bending damping of the joints

-
-
-
%% Tested bending dampings [Nm/(rad/s)]
-cRs = [1e-3, 5e-3, 1e-2, 5e-2, 1e-1];
-
-
- -
-
%% Identify the DVF Plant (transfer function from u to dLm)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/D'],  1, 'openoutput'); io_i = io_i + 1; % Encoders
-
-
- -

-Then the identification is performed for all the values of the bending damping. -

-
-
%% Idenfity the transfer function from actuator to encoder for all bending dampins
-Gs = {zeros(length(cRs), 1)};
-
-for i = 1:length(cRs)
-    n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                           'flex_top_type', '4dof', ...
-                                           'motion_sensor_type', 'struts', ...
-                                           'actuator_type', 'flexible', ...
-                                           'flex_bot_cRx', cRs(i), ...
-                                           'flex_bot_cRy', cRs(i), ...
-                                           'flex_top_cRx', cRs(i), ...
-                                           'flex_top_cRy', cRs(i));
-
-    G = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-    G.InputName  = {'Va1', 'Va2', 'Va3', 'Va4', 'Va5', 'Va6'};
-    G.OutputName = {'dL1', 'dL2', 'dL3', 'dL4', 'dL5', 'dL6'};
-
-    Gs(i) = {G};
-end
-
-
- -
    -
  • Could be nice
  • -
  • Actual damping is very small
  • -
-
-
- -
-

1.2.5. Effect of a change in damping factor of the APA

-
-
-
%% Tested bending dampings [Nm/(rad/s)]
-xis = [1e-3, 5e-3, 1e-2, 5e-2, 1e-1];
-
-
- -
-
%% Identify the DVF Plant (transfer function from u to dLm)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/D'],  1, 'openoutput'); io_i = io_i + 1; % Encoders
-
-
- -
-
%% Idenfity the transfer function from actuator to encoder for all bending dampins
-Gs = {zeros(length(xis), 1)};
-
-for i = 1:length(xis)
-    n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                           'flex_top_type', '4dof', ...
-                                           'motion_sensor_type', 'struts', ...
-                                           'actuator_type', 'flexible', ...
-                                           'actuator_xi', xis(i));
-
-    G = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-    G.InputName  = {'Va1', 'Va2', 'Va3', 'Va4', 'Va5', 'Va6'};
-    G.OutputName = {'dL1', 'dL2', 'dL3', 'dL4', 'dL5', 'dL6'};
-
-    Gs(i) = {G};
-end
-
-
- - -
-

bode_Va_dL_effect_xi_damp.png -

-

Figure 12: Effect of the APA damping factor \(\xi\) on the dynamics from \(u\) to \(d\mathcal{L}\)

-
- -
-

-Damping factor \(\xi\) has a large impact on the damping of the “spurious resonances” at 200Hz and 300Hz. -

- -
- -
-

-Why is the damping factor does not change the damping of the first peak? -

- -
-
-
- -
-

1.2.6. Effect of a change in stiffness damping coef of the APA

-
-
-
m_coef = 1e1;
-
-
- -
-
%% Tested bending dampings [Nm/(rad/s)]
-k_coefs = [1e-6, 5e-6, 1e-5, 5e-5, 1e-4];
-
-
- -
-
%% Identify the DVF Plant (transfer function from u to dLm)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/D'],  1, 'openoutput'); io_i = io_i + 1; % Encoders
-
-
- -
-
%% Idenfity the transfer function from actuator to encoder for all bending dampins
-Gs = {zeros(length(k_coefs), 1)};
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'struts', ...
-                                       'actuator_type', 'flexible');
-
-for i = 1:length(k_coefs)
-    k_coef = k_coefs(i);
-
-    G = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-    G.InputName  = {'Va1', 'Va2', 'Va3', 'Va4', 'Va5', 'Va6'};
-    G.OutputName = {'dL1', 'dL2', 'dL3', 'dL4', 'dL5', 'dL6'};
-
-    Gs(i) = {G};
-end
-
-
- - -
-

bode_Va_dL_effect_k_coef.png -

-

Figure 13: Effect of a change of the damping “stiffness coeficient” on the transfer function from \(u\) to \(d\mathcal{L}\)

-
-
-
- -
-

1.2.7. Effect of a change in mass damping coef of the APA

-
-
-
k_coef = 1e-6;
-
-
- -
-
%% Tested bending dampings [Nm/(rad/s)]
-m_coefs = [1e1, 5e1, 1e2, 5e2, 1e3];
-
-
- -
-
%% Identify the DVF Plant (transfer function from u to dLm)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/D'],  1, 'openoutput'); io_i = io_i + 1; % Encoders
-
-
- -
-
%% Idenfity the transfer function from actuator to encoder for all bending dampins
-Gs = {zeros(length(m_coefs), 1)};
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'struts', ...
-                                       'actuator_type', 'flexible');
-
-for i = 1:length(m_coefs)
-    m_coef = m_coefs(i);
-
-    G = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-    G.InputName  = {'Va1', 'Va2', 'Va3', 'Va4', 'Va5', 'Va6'};
-    G.OutputName = {'dL1', 'dL2', 'dL3', 'dL4', 'dL5', 'dL6'};
-
-    Gs(i) = {G};
-end
-
-
- - -
-

bode_Va_dL_effect_m_coef.png -

-

Figure 14: Effect of a change of the damping “mass coeficient” on the transfer function from \(u\) to \(d\mathcal{L}\)

-
-
-
- -
-

1.2.8. Using Flexible model

-
-
-
d_aligns = [[-0.05,  -0.3,  0];
-            [ 0,      0.5,  0];
-            [-0.1,   -0.3,  0];
-            [ 0,      0.3,  0];
-            [-0.05,   0.05, 0];
-            [0,       0,    0]]*1e-3;
-
-
- -
-
d_aligns = zeros(6,3);
-% d_aligns(1,:) = [-0.05,  -0.3,  0]*1e-3;
-d_aligns(2,:) = [ 0,      0.3,  0]*1e-3;
-
-
- -
-
%% Initialize Nano-Hexapod
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'struts', ...
-                                       'actuator_type', 'flexible', ...
-                                       'actuator_d_align', d_aligns);
-
-
- -
-

-Why do we have smaller resonances when using flexible APA? -On the test bench we have the same resonance as the 2DoF model. -Could it be due to the compliance in other dof of the flexible model? -

- -
- -
-
%% Identify the DVF Plant (transfer function from u to dLm)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/D'],  1, 'openoutput'); io_i = io_i + 1; % Encoders
-
-Gdvf = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
- -
-
%% Identify the IFF Plant (transfer function from u to taum)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');   io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/dum'],  1, 'openoutput'); io_i = io_i + 1; % Force Sensors
-
-Giff = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
-
-
- -
-

1.2.9. Flexible model + encoders fixed to the plates

-
-
-
%% Identify the IFF Plant (transfer function from u to taum)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');   io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/D'],  1, 'openoutput'); io_i = io_i + 1; % Force Sensors
-
-
- -
-
d_aligns = [[-0.05,  -0.3,  0];
-            [ 0,      0.5,  0];
-            [-0.1,   -0.3,  0];
-            [ 0,      0.3,  0];
-            [-0.05,   0.05, 0];
-            [0,       0,    0]]*1e-3;
-
-
- -
-
%% Initialize Nano-Hexapod
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'struts', ...
-                                       'actuator_type', 'flexible', ...
-                                       'actuator_d_align', d_aligns);
-
-
- -
-
Gdvf_struts = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
- -
-
%% Initialize Nano-Hexapod
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'plates', ...
-                                       'actuator_type', 'flexible', ...
-                                       'actuator_d_align', d_aligns);
-
-
- -
-
Gdvf_plates = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
- - -
-

dvf_plant_comp_struts_plates.png -

-

Figure 15: Comparison of the dynamics from \(V_a\) to \(d_L\) when the encoders are fixed to the struts (blue) and to the plates (red). APA are modeled as a flexible element.

-
-
-
-
- -
-

1.3. Integral Force Feedback

-
-

- -

-

-In this section, the Integral Force Feedback (IFF) control strategy is applied to the nano-hexapod. -The main goal of this to add damping to the nano-hexapod’s modes. -

- -

-The control architecture is shown in Figure 16 where \(\bm{K}_\text{IFF}\) is a diagonal \(6 \times 6\) controller. -

- -

-The system as then a new input \(\bm{u}^\prime\), and the transfer function from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) should be easier to control than the initial transfer function from \(\bm{u}\) to \(d\bm{\mathcal{L}}_m\). -

- - -
-

control_architecture_iff_struts.png -

-

Figure 16: Integral Force Feedback Strategy

-
- -

-This section is structured as follow: -

-
    -
  • Section 1.3.1: Using the Simscape model (APA taken as 2DoF model), the transfer function from \(\bm{u}\) to \(\bm{\tau}_m\) is identified. Based on the obtained dynamics, the control law is developed and the optimal gain is estimated using the Root Locus.
  • -
  • Section 1.3.2: Still using the Simscape model, the effect of the IFF gain on the the transfer function from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) is studied.
  • -
  • Section 1.3.3: The same is performed experimentally: several IFF gains are used and the damped plant is identified each time.
  • -
  • Section 1.3.4: The damped model and the identified damped system are compared for the optimal IFF gain. It is found that IFF indeed adds a lot of damping into the system. However it is not efficient in damping the spurious struts modes.
  • -
  • Section 1.3.5: Finally, a “flexible” model of the APA is used in the Simscape model and the optimally damped model is compared with the measurements.
  • -
-
-
-

1.3.1. IFF Control Law and Optimal Gain

-
-

- -

- -

-Let’s use a model of the Nano-Hexapod with the encoders fixed to the struts and the APA taken as 2DoF model. -

-
-
%% Initialize Nano-Hexapod
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'struts', ...
-                                       'actuator_type', '2dof');
-
-
- -

-The transfer function from \(\bm{u}\) to \(\bm{\tau}_m\) is identified. -

-
-
%% Identify the IFF Plant (transfer function from u to taum)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');   io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/dum'],  1, 'openoutput'); io_i = io_i + 1; % Force Sensors
-
-Giff = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
- -

-The IFF controller is defined as shown below: -

-
-
%% IFF Controller
-Kiff_g1 = -(1/(s + 2*pi*40))*...    % LPF: provides integral action above 40Hz
-           (s/(s + 2*pi*30))*...    % HPF: limit low frequency gain
-           (1/(1 + s/2/pi/500))*... % LPF: more robust to high frequency resonances
-           eye(6);                  % Diagonal 6x6 controller
-
-
- -

-Then, the poles of the system are shown in the complex plane as a function of the controller gain (i.e. Root Locus plot) in Figure 17. -A gain of \(400\) is chosen as the “optimal” gain as it visually seems to be the gain that adds the maximum damping to all the suspension modes simultaneously. -

- - -
-

enc_struts_iff_root_locus.png -

-

Figure 17: Root Locus for the IFF control strategy

-
- -

-Then the “optimal” IFF controller is: -

-
-
%% IFF controller with Optimal gain
-Kiff = 400*Kiff_g1;
-
-
- -

-And it is saved for further use. -

-
-
save('mat/Kiff.mat', 'Kiff')
-
-
- -

-The bode plots of the “diagonal” elements of the loop gain are shown in Figure 18. -It is shown that the phase and gain margins are quite high and the loop gain is large arround the resonances. -

- -
-

enc_struts_iff_opt_loop_gain.png -

-

Figure 18: Bode plot of the “decentralized loop gain” \(G_\text{iff}(i,i) \times K_\text{iff}(i,i)\)

-
-
-
- -
-

1.3.2. Effect of IFF on the plant - Simulations

-
-

- -

- -

-Still using the Simscape model with encoders fixed to the struts and 2DoF APA, the IFF strategy is tested. -

-
-
%% Initialize the Simscape model in closed loop
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'struts', ...
-                                       'actuator_type', '2dof', ...
-                                       'controller_type', 'iff');
-
-
- -

-The following IFF gains are tried: -

-
-
%% Tested IFF gains
-iff_gains = [4, 10, 20, 40, 100, 200, 400];
-
-
- -

-And the transfer functions from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) are identified for all the IFF gains. -

-
-
%% Identify the (damped) transfer function from u to dLm for different values of the IFF gain
-Gd_iff = {zeros(1, length(iff_gains))};
-
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'], 1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/dL'], 1, 'openoutput'); io_i = io_i + 1; % Strut Displacement (encoder)
-
-for i = 1:length(iff_gains)
-    Kiff = iff_gains(i)*Kiff_g1*eye(6); % IFF Controller
-    Gd_iff(i) = {exp(-s*Ts)*linearize(mdl, io, 0.0, options)};
-
-    isstable(Gd_iff{i})
-end
-
-
- -

-The obtained dynamics are shown in Figure 19. -

- -
-

enc_struts_iff_gains_effect_dvf_plant.png -

-

Figure 19: Effect of the IFF gain \(g\) on the transfer function from \(\bm{\tau}\) to \(d\bm{\mathcal{L}}_m\)

-
-
-
- -
-

1.3.3. Effect of IFF on the plant - Experimental Results

-
-

- -

-

-The IFF strategy is applied experimentally and the transfer function from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) is identified for all the defined values of the gain. -

-
- -
-
1.3.3.1. Load Data
-
-

-First load the identification data. -

-
-
%% Load Identification Data
-meas_iff_gains = {};
-
-for i = 1:length(iff_gains)
-    meas_iff_gains(i) = {load(sprintf('mat/iff_strut_1_noise_g_%i.mat', iff_gains(i)), 't', 'Vexc', 'Vs', 'de', 'u')};
-end
-
-
-
-
- -
-
1.3.3.2. Spectral Analysis - Setup
-
-

-And define the useful variables that will be used for the identification using the tfestimate function. -

-
-
%% Setup useful variables
-% Sampling Time [s]
-Ts = (meas_iff_gains{1}.t(end) - (meas_iff_gains{1}.t(1)))/(length(meas_iff_gains{1}.t)-1);
-
-% Sampling Frequency [Hz]
-Fs = 1/Ts;
-
-% Hannning Windows
-win = hanning(ceil(1*Fs));
-
-% And we get the frequency vector
-[~, f] = tfestimate(meas_iff_gains{1}.Vexc, meas_iff_gains{1}.de, win, [], [], 1/Ts);
-
-
-
-
- -
-
1.3.3.3. DVF Plant
-
-

-The transfer functions are estimated for all the values of the gain. -

-
-
%% DVF Plant (transfer function from u to dLm)
-G_iff_gains = {};
-
-for i = 1:length(iff_gains)
-    G_iff_gains{i} = tfestimate(meas_iff_gains{i}.Vexc, meas_iff_gains{i}.de(:,1), win, [], [], 1/Ts);
-end
-
-
- -

-The obtained dynamics as shown in the bode plot in Figure 20. -The dashed curves are the results obtained using the model, and the solid curves the results from the experimental identification. -

- -
-

comp_iff_gains_dvf_plant.png -

-

Figure 20: Transfer function from \(u\) to \(d\mathcal{L}_m\) for multiple values of the IFF gain

-
- -

-The bode plot is then zoomed on the suspension modes of the nano-hexapod in Figure 21. -

- -
-

comp_iff_gains_dvf_plant_zoom.png -

-

Figure 21: Transfer function from \(u\) to \(d\mathcal{L}_m\) for multiple values of the IFF gain (Zoom)

-
- -
-

-The IFF control strategy is very effective for the damping of the suspension modes. -It however does not damp the modes at 200Hz, 300Hz and 400Hz (flexible modes of the APA). -

- -

-Also, the experimental results and the models obtained from the Simscape model are in agreement concerning the damped system (up to the flexible modes). -

- -
-
-
- -
-
1.3.3.4. Experimental Results - Comparison of the un-damped and fully damped system
-
-

-The un-damped and damped experimental plants are compared in Figure 22 (diagonal terms). -

- -

-It is very clear that all the suspension modes are very well damped thanks to IFF. -However, there is little to no effect on the flexible modes of the struts and of the plate. -

- - -
-

comp_undamped_opt_iff_gain_diagonal.png -

-

Figure 22: Comparison of the diagonal elements of the tranfer function from \(\bm{u}\) to \(d\bm{\mathcal{L}}_m\) without active damping and with optimal IFF gain

-
-
-
-
- -
-

1.3.4. Experimental Results - Damped Plant with Optimal gain

-
-

- -

-

-Let’s now look at the \(6 \times 6\) damped plant with the optimal gain \(g = 400\). -

-
-
-
1.3.4.1. Load Data
-
-

-The experimental data are loaded. -

-
-
%% Load Identification Data
-meas_iff_struts = {};
-
-for i = 1:6
-    meas_iff_struts(i) = {load(sprintf('mat/iff_strut_%i_noise_g_400.mat', i), 't', 'Vexc', 'Vs', 'de', 'u')};
-end
-
-
-
-
- -
-
1.3.4.2. Spectral Analysis - Setup
-
-

-And the parameters useful for the spectral analysis are defined. -

-
-
%% Setup useful variables
-% Sampling Time [s]
-Ts = (meas_iff_struts{1}.t(end) - (meas_iff_struts{1}.t(1)))/(length(meas_iff_struts{1}.t)-1);
-
-% Sampling Frequency [Hz]
-Fs = 1/Ts;
-
-% Hannning Windows
-win = hanning(ceil(1*Fs));
-
-% And we get the frequency vector
-[~, f] = tfestimate(meas_iff_struts{1}.Vexc, meas_iff_struts{1}.de, win, [], [], 1/Ts);
-
-
-
-
- -
-
1.3.4.3. DVF Plant
-
-

-Finally, the \(6 \times 6\) plant is identified using the tfestimate function. -

-
-
%% DVF Plant (transfer function from u to dLm)
-G_iff_opt = {};
-
-for i = 1:6
-    G_iff_opt{i} = tfestimate(meas_iff_struts{i}.Vexc, meas_iff_struts{i}.de, win, [], [], 1/Ts);
-end
-
-
- -

-The obtained diagonal elements are compared with the model in Figure 23. -

- -
-

damped_iff_plant_comp_diagonal.png -

-

Figure 23: Comparison of the diagonal elements of the transfer functions from \(\bm{u}\) to \(d\bm{\mathcal{L}}_m\) with active damping (IFF) applied with an optimal gain \(g = 400\)

-
- -

-And all the off-diagonal elements are compared with the model in Figure 24. -

- -
-

damped_iff_plant_comp_off_diagonal.png -

-

Figure 24: Comparison of the off-diagonal elements of the transfer functions from \(\bm{u}\) to \(d\bm{\mathcal{L}}_m\) with active damping (IFF) applied with an optimal gain \(g = 400\)

-
- -
-

-With the IFF control strategy applied and the optimal gain used, the suspension modes are very well damped. -Remains the un-damped flexible modes of the APA (200Hz, 300Hz, 400Hz), and the modes of the plates (700Hz). -

- -

-The Simscape model and the experimental results are in very good agreement. -

- -
-
-
-
- -
-

1.3.5. Comparison with the Flexible model

-
-

- -

- -

-When using the 2-DoF model for the APA, the flexible modes of the struts were not modelled, and it was the main limitation of the model. -Now, let’s use a flexible model for the APA, and see if the obtained damped plant using the model is similar to the measured dynamics. -

- -

-First, the nano-hexapod is initialized. -

-
-
%% Estimated misalignement of the struts
-d_aligns = [[-0.05,  -0.3,  0];
-            [ 0,      0.5,  0];
-            [-0.1,   -0.3,  0];
-            [ 0,      0.3,  0];
-            [-0.05,   0.05, 0];
-            [0,       0,    0]]*1e-3;
-
-
-%% Initialize Nano-Hexapod
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'struts', ...
-                                       'actuator_type', 'flexible', ...
-                                       'actuator_d_align', d_aligns, ...
-                                       'controller_type', 'iff');
-
-
- -

-And the “optimal” controller is loaded. -

-
-
%% Optimal IFF controller
-load('Kiff.mat', 'Kiff');
-
-
- -

-The transfer function from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) is identified using the Simscape model. -

-
-
%% Linearized inputs/outputs
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/dL'],  1, 'openoutput'); io_i = io_i + 1; % Strut Displacement (encoder)
-
-%% Identification of the plant
-Gd_iff = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
- -

-The obtained diagonal elements are shown in Figure 25 while the off-diagonal elements are shown in Figure 26. -

- -
-

enc_struts_iff_opt_damp_comp_flex_model_diag.png -

-

Figure 25: Diagonal elements of the transfer function from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) - comparison of the measured FRF and the identified dynamics using the flexible model

-
- - - -
-

enc_struts_iff_opt_damp_comp_flex_model_off_diag.png -

-

Figure 26: Off-diagonal elements of the transfer function from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) - comparison of the measured FRF and the identified dynamics using the flexible model

-
- -
-

-Using flexible models for the APA, the agreement between the Simscape model of the nano-hexapod and the measured FRF is very good. -

- -

-Only the flexible mode of the top-plate is not appearing in the model which is very logical as the top plate is taken as a solid body. -

- -
-
-
- -
-

1.3.6. Conclusion

-
-
-

-The decentralized Integral Force Feedback strategy applied on the nano-hexapod is very effective in damping all the suspension modes. -

- -

-The Simscape model (especially when using a flexible model for the APA) is shown to be very accurate, even when IFF is applied. -

- -
-
-
-
- -
-

1.4. Modal Analysis

-
-

- -

-

-Several 3-axis accelerometers are fixed on the top platform of the nano-hexapod as shown in Figure 31. -

- - -
-

accelerometers_nano_hexapod.jpg -

-

Figure 27: Location of the accelerometers on top of the nano-hexapod

-
- -

-The top platform is then excited using an instrumented hammer as shown in Figure 28. -

- - -
-

hammer_excitation_compliance_meas.jpg -

-

Figure 28: Example of an excitation using an instrumented hammer

-
- -

-From this experiment, the resonance frequencies and the associated mode shapes can be computed (Section 1.4.1). -Then, in Section 1.4.2, the vertical compliance of the nano-hexapod is experimentally estimated. -Finally, in Section 1.4.3, the measured compliance is compare with the estimated one from the Simscape model. -

-
- -
-

1.4.1. Obtained Mode Shapes

-
-

- -

- -

-We can observe the mode shapes of the first 6 modes that are the suspension modes (the plate is behaving as a solid body) in Figure 29. -

- - -
-

mode_shapes_annotated.gif -

-

Figure 29: Measured mode shapes for the first six modes

-
- -

-Then, there is a mode at 692Hz which corresponds to a flexible mode of the top plate (Figure 30). -

- - -
-

ModeShapeFlex1_crop.gif -

-

Figure 30: First flexible mode at 692Hz

-
- -

-The obtained modes are summarized in Table 2. -

- - - - --- -- -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 2: Description of the identified modes
ModeFreq. [Hz]Description
1105Suspension Mode: Y-translation
2107Suspension Mode: X-translation
3131Suspension Mode: Z-translation
4161Suspension Mode: Y-tilt
5162Suspension Mode: X-tilt
6180Suspension Mode: Z-rotation
7692(flexible) Membrane mode of the top platform
-
-
- -
-

1.4.2. Nano-Hexapod Compliance - Effect of IFF

-
-

- -

- -

-In this section, we wish to estimated the effectiveness of the IFF strategy concerning the compliance. -

- -

-The top plate is excited vertically using the instrumented hammer two times: -

-
    -
  1. no control loop is used
  2. -
  3. decentralized IFF is used
  4. -
- -

-The data is loaded. -

-
-
frf_ol  = load('Measurement_Z_axis.mat'); % Open-Loop
-frf_iff = load('Measurement_Z_axis_damped.mat'); % IFF
-
-
- -

-The mean vertical motion of the top platform is computed by averaging all 5 accelerometers. -

-
-
%% Multiply by 10 (gain in m/s^2/V) and divide by 5 (number of accelerometers)
-d_frf_ol = 10/5*(frf_ol.FFT1_H1_4_1_RMS_Y_Mod + frf_ol.FFT1_H1_7_1_RMS_Y_Mod + frf_ol.FFT1_H1_10_1_RMS_Y_Mod + frf_ol.FFT1_H1_13_1_RMS_Y_Mod + frf_ol.FFT1_H1_16_1_RMS_Y_Mod)./(2*pi*frf_ol.FFT1_H1_16_1_RMS_X_Val).^2;
-d_frf_iff = 10/5*(frf_iff.FFT1_H1_4_1_RMS_Y_Mod + frf_iff.FFT1_H1_7_1_RMS_Y_Mod + frf_iff.FFT1_H1_10_1_RMS_Y_Mod + frf_iff.FFT1_H1_13_1_RMS_Y_Mod + frf_iff.FFT1_H1_16_1_RMS_Y_Mod)./(2*pi*frf_iff.FFT1_H1_16_1_RMS_X_Val).^2;
-
-
- -

-The vertical compliance (magnitude of the transfer function from a vertical force applied on the top plate to the vertical motion of the top plate) is shown in Figure 31. -

- -
-

compliance_vertical_comp_iff.png -

-

Figure 31: Measured vertical compliance with and without IFF

-
- -
-

-From Figure 31, it is clear that the IFF control strategy is very effective in damping the suspensions modes of the nano-hexapod. -It also has the effect of (slightly) degrading the vertical compliance at low frequency. -

- -

-It also seems some damping can be added to the modes at around 205Hz which are flexible modes of the struts. -

- -
-
-
- -
-

1.4.3. Comparison with the Simscape Model

-
-

- -

- -

-Let’s now compare the measured vertical compliance with the vertical compliance as estimated from the Simscape model. -

- -

-The transfer function from a vertical external force to the absolute motion of the top platform is identified (with and without IFF) using the Simscape model. -The comparison is done in Figure 32. -Again, the model is quite accurate! -

- -
-

compliance_vertical_comp_model_iff.png -

-

Figure 32: Measured vertical compliance with and without IFF

-
-
-
-
- -
-

1.5. Conclusion

-
-
-

-From the previous analysis, several conclusions can be drawn: -

-
    -
  • Decentralized IFF is very effective in damping the “suspension” modes of the nano-hexapod (Figure 22)
  • -
  • Decentralized IFF does not damp the “spurious” modes of the struts nor the flexible modes of the top plate (Figure 22)
  • -
  • Even though the Simscape model and the experimentally measured FRF are in good agreement (Figures 25 and 26), the obtain dynamics from the control inputs \(\bm{u}\) and the encoders \(d\bm{\mathcal{L}}_m\) is very difficult to control
  • -
- -

-Therefore, in the following sections, the encoders will be fixed to the plates. -The goal is to be less sensitive to the flexible modes of the struts. -

- -
-
-
-
- -
-

2. Encoders fixed to the plates - Dynamics

-
-

- -

-

-In this section, the encoders are fixed to the plates rather than to the struts as shown in Figure 33. -

- - -
-

IMG_20210625_083801.jpg -

-

Figure 33: Nano-Hexapod with encoders fixed to the struts

-
- -

-It is structured as follow: -

-
    -
  • Section 2.1: The dynamics of the nano-hexapod is identified.
  • -
  • Section 2.2: The identified dynamics is compared with the Simscape model.
  • -
  • Section 2.3: The Integral Force Feedback (IFF) control strategy is applied and the dynamics of the damped nano-hexapod is identified and compare with the Simscape model.
  • -
-
- -
-

2.1. Identification of the dynamics

-
-

- -

-

-In this section, the dynamics of the nano-hexapod with the encoders fixed to the plates is identified. -

- -

-First, the measurement data are loaded in Section 2.1.1, then the transfer function matrix from the actuators to the encoders are estimated in Section 2.1.2. -Finally, the transfer function matrix from the actuators to the force sensors is estimated in Section 2.1.3. -

-
-
-

2.1.1. Data Loading and Spectral Analysis Setup

-
-

- -

- -

-The actuators are excited one by one using a low pass filtered white noise. -For each excitation, the 6 force sensors and 6 encoders are measured and saved. -

-
-
%% Load Identification Data
-meas_data_lf = {};
-
-for i = 1:6
-    meas_data_lf(i) = {load(sprintf('mat/frf_exc_strut_%i_enc_plates_noise.mat', i), 't', 'Va', 'Vs', 'de')};
-end
-
-
-
-
- -
-

2.1.2. Transfer function from Actuator to Encoder

-
-

- -

- -

-Let’s compute the coherence from the excitation voltage \(\bm{u}\) and the displacement \(d\bm{\mathcal{L}}_m\) as measured by the encoders. -

-
-
%% Coherence
-coh_dvf = zeros(length(f), 6, 6);
-
-for i = 1:6
-    coh_dvf(:, :, i) = mscohere(meas_data_lf{i}.Va, meas_data_lf{i}.de, win, [], [], 1/Ts);
-end
-
-
- -

-The obtained coherence shown in Figure 34 is quite good up to 400Hz. -

- - -
-

enc_plates_dvf_coh.png -

-

Figure 34: Obtained coherence for the DVF plant

-
- -

-Then the 6x6 transfer function matrix is estimated. -

-
-
%% DVF Plant (transfer function from u to dLm)
-G_dvf = zeros(length(f), 6, 6);
-
-for i = 1:6
-    G_dvf(:,:,i) = tfestimate(meas_data_lf{i}.Va, meas_data_lf{i}.de, win, [], [], 1/Ts);
-end
-
-
- -

-The diagonal and off-diagonal terms of this transfer function matrix are shown in Figure 35. -

- -
-

enc_plates_dvf_frf.png -

-

Figure 35: Measured FRF for the DVF plant

-
- -
-

-From Figure 35, we can draw few conclusions on the transfer functions from \(\bm{u}\) to \(d\bm{\mathcal{L}}_m\) when the encoders are fixed to the plates: -

-
    -
  • the decoupling is rather good at low frequency (below the first suspension mode). -The low frequency gain is constant for the off diagonal terms, whereas when the encoders where fixed to the struts, the low frequency gain of the off-diagonal terms were going to zero (Figure 5).
  • -
  • the flexible modes of the struts at 226Hz and 337Hz are indeed shown in the transfer functions, but their amplitudes are rather low.
  • -
  • the diagonal terms have alternating poles and zeros up to at least 600Hz: the flexible modes of the struts are not affecting the alternating pole/zero pattern. This what not the case when the encoders were fixed to the struts (Figure 5).
  • -
- -
-
-
- -
-

2.1.3. Transfer function from Actuator to Force Sensor

-
-

- -

- -

-Let’s now compute the coherence from the excitation voltage \(\bm{u}\) and the voltage \(\bm{\tau}_m\) generated by the Force senors. -

-
-
%% Coherence for the IFF plant
-coh_iff = zeros(length(f), 6, 6);
-
-for i = 1:6
-    coh_iff(:,:,i) = mscohere(meas_data_lf{i}.Va, meas_data_lf{i}.Vs, win, [], [], 1/Ts);
-end
-
-
- -

-The coherence is shown in Figure 36, and is very good for from 10Hz up to 2kHz. -

- -
-

enc_plates_iff_coh.png -

-

Figure 36: Obtained coherence for the IFF plant

-
- -

-Then the 6x6 transfer function matrix is estimated. -

-
-
%% IFF Plant
-G_iff = zeros(length(f), 6, 6);
-
-for i = 1:6
-    G_iff(:,:,i) = tfestimate(meas_data_lf{i}.Va, meas_data_lf{i}.Vs, win, [], [], 1/Ts);
-end
-
-
- -

-The bode plot of the diagonal and off-diagonal terms are shown in Figure 37. -

- -
-

enc_plates_iff_frf.png -

-

Figure 37: Measured FRF for the IFF plant

-
- -
-

-It is shown in Figure 38 that: -

-
    -
  • The IFF plant has alternating poles and zeros
  • -
  • The first flexible mode of the struts as 235Hz is appearing, and therefore is should be possible to add some damping to this mode using IFF
  • -
  • The decoupling is quite good at low frequency (below the first model) as well as high frequency (above the last suspension mode, except near the flexible modes of the top plate)
  • -
- -
-
-
- -
-

2.1.4. Save Identified Plants

-
-

-The identified dynamics is saved for further use. -

-
-
save('mat/identified_plants_enc_plates.mat', 'f', 'Ts', 'G_iff', 'G_dvf')
-
-
-
-
-
- -
-

2.2. Comparison with the Simscape Model

-
-

- -

-

-In this section, the measured dynamics done in Section 2.1 is compared with the dynamics estimated from the Simscape model. -

-
-
-

2.2.1. Identification Setup

-
-

-The nano-hexapod is initialized with the APA taken as flexible models. -

-
-
%% Initialize Nano-Hexapod
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'plates', ...
-                                       'actuator_type', 'flexible');
-
-
-
-
- -
-

2.2.2. Dynamics from Actuator to Force Sensors

-
-

-Then the transfer function from \(\bm{u}\) to \(\bm{\tau}_m\) is identified using the Simscape model. -

-
-
%% Identify the IFF Plant (transfer function from u to taum)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'], 1, 'openinput');   io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/Fm'], 1, 'openoutput'); io_i = io_i + 1; % Force Sensors
-
-Giff = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
- -

-The identified dynamics is compared with the measured FRF: -

-
    -
  • Figure 38: the individual transfer function from \(u_1\) (the DAC voltage for the first actuator) to the force sensors of all 6 struts are compared
  • -
  • Figure 39: all the diagonal elements are compared
  • -
  • Figure 40: all the off-diagonal elements are compared
  • -
- - -
-

enc_plates_iff_comp_simscape_all.png -

-

Figure 38: IFF Plant for the first actuator input and all the force senosrs

-
- - -
-

enc_plates_iff_comp_simscape.png -

-

Figure 39: Diagonal elements of the IFF Plant

-
- - -
-

enc_plates_iff_comp_offdiag_simscape.png -

-

Figure 40: Off diagonal elements of the IFF Plant

-
-
-
- -
-

2.2.3. Dynamics from Actuator to Encoder

-
-

-Now, the dynamics from the DAC voltage \(\bm{u}\) to the encoders \(d\bm{\mathcal{L}}_m\) is estimated using the Simscape model. -

-
-
%% Identify the DVF Plant (transfer function from u to dLm)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/dL'], 1, 'openoutput'); io_i = io_i + 1; % Encoders
-
-Gdvf = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
- -

-The identified dynamics is compared with the measured FRF: -

-
    -
  • Figure 41: the individual transfer function from \(u_3\) (the DAC voltage for the actuator number 3) to the six encoders
  • -
  • Figure 42: all the diagonal elements are compared
  • -
  • Figure 43: all the off-diagonal elements are compared
  • -
- - -
-

enc_plates_dvf_comp_simscape_all.png -

-

Figure 41: DVF Plant for the first actuator input and all the encoders

-
- - -
-

enc_plates_dvf_comp_simscape.png -

-

Figure 42: Diagonal elements of the DVF Plant

-
- - -
-

enc_plates_dvf_comp_offdiag_simscape.png -

-

Figure 43: Off diagonal elements of the DVF Plant

-
-
-
- -
-

2.2.4. Flexible Top Plate

-
-
-
%% Initialize Nano-Hexapod
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '2dof', ...
-                                       'flex_top_type', '3dof', ...
-                                       'motion_sensor_type', 'struts', ...
-                                       'actuator_type', '2dof', ...
-                                       'top_plate_type', 'rigid');
-
-
- -
-
%% Identify the DVF Plant (transfer function from u to dLm)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/dL'], 1, 'openoutput'); io_i = io_i + 1; % Encoders
-
-Gdvf = linearize(mdl, io, 0.0, options);
-
-
- -
-
size(Gdvf)
-isstable(Gdvf)
-
-
- -
-
[sys,g] = balreal(Gdvf);  % Compute balanced realization
-elim = (g<1e-4);         % Small entries of g are negligible states
-rsys = modred(sys,elim); % Remove negligible states
-size(rsys)
-
-
- -
-
%% Identify the IFF Plant (transfer function from u to taum)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'], 1, 'openinput');   io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/Fm'], 1, 'openoutput'); io_i = io_i + 1; % Force Sensors
-
-Giff = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
-
-
- -
-

2.2.5. Conclusion

-
-
-

-The Simscape model is quite accurate for the transfer function matrices from \(\bm{u}\) to \(\bm{\tau}_m\) and from \(\bm{u}\) to \(d\bm{\mathcal{L}}_m\) except at frequencies of the flexible modes of the top-plate. -The Simscape model can therefore be used to develop the control strategies. -

- -
-
-
-
- -
-

2.3. Integral Force Feedback

-
-

- -

-

-In this section, the Integral Force Feedback (IFF) control strategy is applied to the nano-hexapod in order to add damping to the suspension modes. -

- -

-The control architecture is shown in Figure 44: -

-
    -
  • \(\bm{\tau}_m\) is the measured voltage of the 6 force sensors
  • -
  • \(\bm{K}_{\text{IFF}}\) is the \(6 \times 6\) diagonal controller
  • -
  • \(\bm{u}\) is the plant input (voltage generated by the 6 DACs)
  • -
  • \(\bm{u}^\prime\) is the new plant inputs with added damping
  • -
- - -
-

control_architecture_iff.png -

-

Figure 44: Integral Force Feedback Strategy

-
- - -
-
-

2.3.1. Effect of IFF on the plant - Simscape Model

-
-

- -

- -

-The nano-hexapod is initialized with flexible APA and the encoders fixed to the struts. -

-
-
%% Initialize the Simscape model in closed loop
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'plates', ...
-                                       'actuator_type', 'flexible');
-
-
- -

-The same controller as the one developed when the encoder were fixed to the struts is used. -

-
-
%% Optimal IFF controller
-load('Kiff.mat', 'Kiff')
-
-
- -

-The transfer function from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) is identified. -

-
-
%% Identify the (damped) transfer function from u to dLm for different values of the IFF gain
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'],  1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/dL'], 1, 'openoutput'); io_i = io_i + 1; % Plate Displacement (encoder)
-
-
- -

-First in Open-Loop: -

-
-
%% Transfer function from u to dL (open-loop)
-Gd_ol = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
- -

-And then with the IFF controller: -

-
-
%% Initialize the Simscape model in closed loop
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'plates', ...
-                                       'actuator_type', 'flexible', ...
-                                       'controller_type', 'iff');
-
-%% Transfer function from u to dL (IFF)
-Gd_iff = exp(-s*Ts)*linearize(mdl, io, 0.0, options);
-
-
- -

-It is first verified that the system is stable: -

-
-
isstable(Gd_iff)
-
-
- -
-1
-
- - -

-The diagonal and off-diagonal terms of the \(6 \times 6\) transfer function matrices identified are compared in Figure 45. -It is shown, as was the case when the encoders were fixed to the struts, that the IFF control strategy is very effective in damping the suspension modes of the nano-hexapod. -

- -
-

enc_plates_iff_gains_effect_dvf_plant.png -

-

Figure 45: Effect of the IFF control strategy on the transfer function from \(\bm{\tau}\) to \(d\bm{\mathcal{L}}_m\)

-
-
-
- -
-

2.3.2. Effect of IFF on the plant - FRF

-
-

-The IFF control strategy is experimentally implemented. -The (damped) transfer function from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) is experimentally identified. -

- -

-The identification data are loaded: -

-
-
%% Load Identification Data
-meas_iff_plates = {};
-
-for i = 1:6
-    meas_iff_plates(i) = {load(sprintf('mat/frf_exc_iff_strut_%i_enc_plates_noise.mat', i), 't', 'Va', 'Vs', 'de', 'u')};
-end
-
-
- -

-And the parameters used for the transfer function estimation are defined below. -

-
-
% Sampling Time [s]
-Ts = (meas_iff_plates{1}.t(end) - (meas_iff_plates{1}.t(1)))/(length(meas_iff_plates{1}.t)-1);
-
-% Hannning Windows
-win = hanning(ceil(1/Ts));
-
-% And we get the frequency vector
-[~, f] = tfestimate(meas_iff_plates{1}.Va, meas_iff_plates{1}.de, win, [], [], 1/Ts);
-
-
- -

-The estimation is performed using the tfestimate command. -

-
-
%% Estimation of the transfer function matrix from u to dL when IFF is applied
-G_enc_iff_opt = zeros(length(f), 6, 6);
-
-for i = 1:6
-    G_enc_iff_opt(:,:,i) = tfestimate(meas_iff_plates{i}.Va, meas_iff_plates{i}.de, win, [], [], 1/Ts);
-end
-
-
- -

-The obtained diagonal and off-diagonal elements of the transfer function from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) are shown in Figure 46 both without and with IFF. -

- -
-

enc_plant_plates_effect_iff.png -

-

Figure 46: Effect of the IFF control strategy on the transfer function from \(\bm{\tau}\) to \(d\bm{\mathcal{L}}_m\)

-
- -
-

-As was predicted with the Simscape model, the IFF control strategy is very effective in damping the suspension modes of the nano-hexapod. -Little damping is also applied on the first flexible mode of the strut at 235Hz. -However, no damping is applied on other modes, such as the flexible modes of the top plate. -

- -
-
-
- -
-

2.3.3. Comparison of the measured FRF and the Simscape model

-
-

-Let’s now compare the obtained damped plants obtained experimentally with the one extracted from Simscape: -

-
    -
  • Figure 47: the individual transfer function from \(u_1^\prime\) to the six encoders are comapred
  • -
  • Figure 48: all the diagonal elements are compared
  • -
  • Figure 49: all the off-diagonal elements are compared
  • -
- - -
-

enc_plates_opt_iff_comp_simscape_all.png -

-

Figure 47: FRF from one actuator to all the encoders when the plant is damped using IFF

-
- - -
-

damped_iff_plates_plant_comp_diagonal.png -

-

Figure 48: Comparison of the diagonal elements of the transfer functions from \(\bm{u}\) to \(d\bm{\mathcal{L}}_m\) with active damping (IFF) applied with an optimal gain \(g = 400\)

-
- - -
-

damped_iff_plates_plant_comp_off_diagonal.png -

-

Figure 49: Comparison of the off-diagonal elements of the transfer functions from \(\bm{u}\) to \(d\bm{\mathcal{L}}_m\) with active damping (IFF) applied with an optimal gain \(g = 400\)

-
- -
-

-From Figures 48 and 49, it is clear that the Simscape model very well represents the dynamics of the nano-hexapod. -This is true to around 400Hz, then the dynamics depends on the flexible modes of the top plate which are not modelled. -

- -
-
-
- -
-

2.3.4. Save Damped Plant

-
-

-The experimentally identified plant is saved for further use. -

-
-
save('matlab/mat/damped_plant_enc_plates.mat', 'f', 'Ts', 'G_enc_iff_opt')
-
-
- -
-
save('mat/damped_plant_enc_plates.mat', 'f', 'Ts', 'G_enc_iff_opt')
-
-
-
-
-
- -
-

2.4. Effect of Payload mass - Robust IFF

-
-

- -

-

-In this section, the encoders are fixed to the plates, and we identify the dynamics for several payloads. -The added payload are half cylinders, and three layers can be added for a total of around 40kg (Figure 50). -

- - -
-

picture_added_3_masses.jpg -

-

Figure 50: Picture of the nano-hexapod with added mass

-
- -

-First the dynamics from \(\bm{u}\) to \(d\mathcal{L}_m\) and \(\bm{\tau}_m\) is identified. -Then, the Integral Force Feedback controller is developed and applied as shown in Figure 51. -Finally, the dynamics from \(\bm{u}^\prime\) to \(d\mathcal{L}_m\) is identified and the added damping can be estimated. -

- - -
-

nano_hexapod_signals_iff.png -

-

Figure 51: Block Diagram of the experimental setup and model

-
-
-
-

2.4.1. Measured Frequency Response Functions

-
-
-
-
2.4.1.1. Compute FRF in open-loop
-
-

-The identification is performed without added mass, and with one, two and three layers of added cylinders. -

-
-
i_masses = 0:3;
-
-
- -

-The following data are loaded: -

-
    -
  • Va: the excitation voltage (corresponding to \(u_i\))
  • -
  • Vs: the generated voltage by the 6 force sensors (corresponding to \(\bm{\tau}_m\))
  • -
  • de: the measured motion by the 6 encoders (corresponding to \(d\bm{\mathcal{L}}_m\))
  • -
-
-
%% Load Identification Data
-meas_added_mass = {};
-
-for i_mass = i_masses
-    for i_strut = 1:6
-        meas_added_mass(i_strut, i_mass+1) = {load(sprintf('frf_data_exc_strut_%i_realigned_vib_table_%im.mat', i_strut, i_mass), 't', 'Va', 'Vs', 'de')};
-    end
-end
-
-
- -

-The window win and the frequency vector f are defined. -

-
-
% Sampling Time [s]
-Ts = (meas_added_mass{1,1}.t(end) - (meas_added_mass{1,1}.t(1)))/(length(meas_added_mass{1,1}.t)-1);
-
-% Hannning Windows
-win = hanning(ceil(1/Ts));
-
-% And we get the frequency vector
-[~, f] = tfestimate(meas_added_mass{1,1}.Va, meas_added_mass{1,1}.de, win, [], [], 1/Ts);
-
-
- -

-Finally the \(6 \times 6\) transfer function matrices from \(\bm{u}\) to \(d\bm{\mathcal{L}}_m\) and from \(\bm{u}\) to \(\bm{\tau}_m\) are identified: -

-
-
%% DVF Plant (transfer function from u to dLm)
-G_dL = {};
-
-for i_mass = i_masses
-    G_dL(i_mass+1) = {zeros(length(f), 6, 6)};
-    for i_strut = 1:6
-        G_dL{i_mass+1}(:,:,i_strut) = tfestimate(meas_added_mass{i_strut, i_mass+1}.Va, meas_added_mass{i_strut, i_mass+1}.de, win, [], [], 1/Ts);
-    end
-end
-
-%% IFF Plant (transfer function from u to taum)
-G_tau = {};
-
-for i_mass = i_masses
-    G_tau(i_mass+1) = {zeros(length(f), 6, 6)};
-    for i_strut = 1:6
-        G_tau{i_mass+1}(:,:,i_strut) = tfestimate(meas_added_mass{i_strut, i_mass+1}.Va, meas_added_mass{i_strut, i_mass+1}.Vs, win, [], [], 1/Ts);
-    end
-end
-
-
- -

-The identified dynamics are then saved for further use. -

-
-
save('mat/frf_vib_table_m.mat', 'f', 'Ts', 'G_tau', 'G_dL')
-
-
-
-
-
- -
-

2.4.2. Transfer function from \(\bm{u}\) to \(d\bm{\mathcal{L}}_m\)

-
-

-The transfer functions from \(u_i\) to \(d\mathcal{L}_{m,i}\) are shown in Figure 52. -

- - -
-

comp_plant_payloads_dvf.png -

-

Figure 52: Measured Frequency Response Functions from \(u_i\) to \(d\mathcal{L}_{m,i}\) for all 4 payload conditions

-
- - -
-

-From Figure 52, we can observe few things: -

-
    -
  • The obtained dynamics is changing a lot between the case without mass and when there is at least one added mass.
  • -
  • Between 1, 2 and 3 added masses, the dynamics is not much different, and it would be easier to design a controller only for these cases.
  • -
  • The flexible modes of the top plate is first decreased a lot when the first mass is added (from 700Hz to 400Hz). -This is due to the fact that the added mass is composed of two half cylinders which are not fixed together. -Therefore is adds a lot of mass to the top plate without adding a lot of rigidity in one direction. -When more than 1 mass layer is added, the half cylinders are added with some angles such that rigidity are added in all directions (see Figure 50). -In that case, the frequency of these flexible modes are increased. -In practice, the payload should be one solid body, and we should not see a massive decrease of the frequency of this flexible mode.
  • -
  • Flexible modes of the top plate are becoming less problematic as masses are added.
  • -
  • First flexible mode of the strut at 230Hz is not much decreased when mass is added. -However, its apparent amplitude is much decreased.
  • -
- -
-
-
- -
-

2.4.3. Transfer function from \(\bm{u}\) to \(\bm{\tau}_m\)

-
-

-The transfer functions from \(u_i\) to \(\tau_{m,i}\) are shown in Figure 53. -

- - -
-

comp_plant_payloads_iff.png -

-

Figure 53: Measured Frequency Response Functions from \(u_i\) to \(\tau_{m,i}\) for all 4 payload conditions

-
- -
-

-From Figure 53, we can see that for all added payloads, the transfer function from \(u_i\) to \(\tau_{m,i}\) always has alternating poles and zeros. -

- -
-
-
-
- -
-

2.5. Comparison with the Simscape model

-
-
-
-

2.5.1. System Identification

-
-

-Let’s initialize the simscape model with the nano-hexapod fixed on top of the vibration table. -

-
-
support.type = 1; % On top of vibration table
-
-
- -

-The model of the nano-hexapod is defined as shown bellow: -

-
-
%% Initialize Nano-Hexapod
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '2dof', ...
-                                       'flex_top_type', '3dof', ...
-                                       'motion_sensor_type', 'plates', ...
-                                       'actuator_type', '2dof');
-
-
- -

-And finally, we add the same payloads as during the experiments: -

-
-
payload.type = 1; % Payload / 1 "mass layer"
-
-
- -

-First perform the identification for the transfer functions from \(\bm{u}\) to \(d\bm{\mathcal{L}}_m\): -

-
-
%% Identify the DVF Plant (transfer function from u to dLm)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'], 1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/dL'], 1, 'openoutput'); io_i = io_i + 1; % Encoders
-
-%% Identification for all the added payloads
-G_dL = {};
-
-for i = i_masses
-    fprintf('i = %i\n', i)
-    payload.type = i;
-    G_dL(i+1) = {exp(-s*frf_ol.Ts)*linearize(mdl, io, 0.0, options)};
-end
-
-
- -
-
%% Identify the IFF Plant (transfer function from u to taum)
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'], 1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/Fm'], 1, 'openoutput'); io_i = io_i + 1; % Force Sensors
-
-%% Identification for all the added payloads
-G_tau = {};
-
-for i = 0:3
-    fprintf('i = %i\n', i)
-    payload.type = i;
-    G_tau(i+1) = {exp(-s*frf_ol.Ts)*linearize(mdl, io, 0.0, options)};
-end
-
-
- -

-The identified dynamics are then saved for further use. -

-
-
save('mat/sim_vib_table_m.mat', 'G_tau', 'G_dL')
-
-
-
-
- -
-

2.5.2. Transfer function from \(\bm{u}\) to \(d\bm{\mathcal{L}}_m\)

-
-

-The measured FRF and the identified dynamics from \(u_i\) to \(d\mathcal{L}_{m,i}\) are compared in Figure 54. -A zoom near the “suspension” modes is shown in Figure 55. -

- - -
-

comp_masses_model_exp_dvf.png -

-

Figure 54: Comparison of the transfer functions from \(u_i\) to \(d\mathcal{L}_{m,i}\) - measured FRF and identification from the Simscape model

-
- - -
-

comp_masses_model_exp_dvf_zoom.png -

-

Figure 55: Comparison of the transfer functions from \(u_i\) to \(d\mathcal{L}_{m,i}\) - measured FRF and identification from the Simscape model (Zoom)

-
- -
-

-The Simscape model is very accurately representing the measured dynamics up. -Only the flexible modes of the struts and of the top plate are not represented here as these elements are modelled as rigid bodies. -

- -
-
-
- -
-

2.5.3. Transfer function from \(\bm{u}\) to \(\bm{\tau}_m\)

-
-

-The measured FRF and the identified dynamics from \(u_i\) to \(\tau_{m,i}\) are compared in Figure 56. -A zoom near the “suspension” modes is shown in Figure 57. -

- - -
-

comp_masses_model_exp_iff.png -

-

Figure 56: Comparison of the transfer functions from \(u_i\) to \(\tau_{m,i}\) - measured FRF and identification from the Simscape model

-
- - -
-

comp_masses_model_exp_iff_zoom.png -

-

Figure 57: Comparison of the transfer functions from \(u_i\) to \(\tau_{m,i}\) - measured FRF and identification from the Simscape model (Zoom)

-
-
-
-
- -
-

2.6. Integral Force Feedback Controller

-
-
-
-

2.6.1. Robust IFF Controller

-
-

-Based on the measured FRF from \(u_i\) to \(\tau_{m,i}\), the following IFF controller is developed: -

-
-
%% IFF Controller
-Kiff_g1 = (1/(s + 2*pi*20))*... % LPF: provides integral action above 20[Hz]
-          (s/(s + 2*pi*20))*... % HPF: limit low frequency gain
-          (1/(1 + s/2/pi/400)); % LPF: more robust to high frequency resonances
-
-
- -

-Then, the Root Locus plot of Figure 58 is used to estimate the optimal gain. -This Root Locus plot is computed from the Simscape model. -

- -
-

iff_root_locus_masses.png -

-

Figure 58: Root Locus for the IFF control strategy (for all payload conditions).

-
- -

-The found optimal IFF controller is: -

-
-
%% Optimal controller
-g_opt = -2e2;
-Kiff = g_opt*Kiff_g1*eye(6);
-
-
- -

-It is saved for further use. -

-
-
save('mat/Kiff_opt.mat', 'Kiff')
-
-
- -

-The corresponding experimental loop gains are shown in Figure 59. -

- -
-

iff_loop_gain_masses.png -

-

Figure 59: Loop gain for the Integral Force Feedback controller

-
- -
-

-Based on the above analysis: -

-
    -
  • The same IFF controller can be used to damp the suspension modes for all payload conditions
  • -
  • The IFF controller should be robust
  • -
- -
-
-
- -
-

2.6.2. Estimated Damped Plant from the Simscape model

-
-

-Let’s initialize the simscape model with the nano-hexapod fixed on top of the vibration table. -

-
-
support.type = 1; % On top of vibration table
-
-
- -

-The model of the nano-hexapod is defined as shown bellow: -

-
-
%% Initialize the Simscape model in closed loop
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '2dof', ...
-                                       'flex_top_type', '3dof', ...
-                                       'motion_sensor_type', 'plates', ...
-                                       'actuator_type', '2dof', ...
-                                       'controller_type', 'iff');
-
-
- -

-And finally, we add the same payloads as during the experiments: -

-
-
payload.type = 1; % Payload / 1 "mass layer"
-
-
- -
-
%% Identify the (damped) transfer function from u to dLm
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'], 1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/dL'], 1, 'openoutput'); io_i = io_i + 1; % Plate Displacement (encoder)
-
-%% Identify for all add masses
-G_dL = {};
-
-for i = i_masses
-    payload.type = i;
-    G_dL(i+1) = {exp(-s*frf_ol.Ts)*linearize(mdl, io, 0.0, options)};
-end
-
-
- -

-The identified dynamics are then saved for further use. -

-
-
save('mat/sim_iff_vib_table_m.mat', 'G_dL');
-
-
- -
-
sim_iff = load('sim_iff_vib_table_m.mat', 'G_dL');
-
-
- - -
-

damped_plant_model_masses.png -

-

Figure 60: Transfer function from \(u_i\) to \(d\mathcal{L}_{m,i}\) (without active damping) and from \(u^\prime_i\) to \(d\mathcal{L}_{m,i}\) (with IFF)

-
-
-
- -
-

2.6.3. Compute the identified FRF with IFF

-
-

-The identification is performed without added mass, and with one, two and three layers of added cylinders. -

-
-
i_masses = 0:3;
-
-
- -

-The following data are loaded: -

-
    -
  • Va: the excitation voltage for the damped plant (corresponding to \(u^\prime_i\))
  • -
  • de: the measured motion by the 6 encoders (corresponding to \(d\bm{\mathcal{L}}_m\))
  • -
-
-
%% Load Identification Data
-meas_added_mass = {};
-
-for i_mass = i_masses
-    for i_strut = 1:6
-        meas_iff_mass(i_strut, i_mass+1) = {load(sprintf('frf_data_exc_strut_%i_iff_vib_table_%im.mat', i_strut, i_mass), 't', 'Va', 'de')};
-    end
-end
-
-
- -

-The window win and the frequency vector f are defined. -

-
-
% Sampling Time [s]
-Ts = (meas_iff_mass{1,1}.t(end) - (meas_iff_mass{1,1}.t(1)))/(length(meas_iff_mass{1,1}.t)-1);
-
-% Hannning Windows
-win = hanning(ceil(1/Ts));
-
-% And we get the frequency vector
-[~, f] = tfestimate(meas_iff_mass{1,1}.Va, meas_iff_mass{1,1}.de, win, [], [], 1/Ts);
-
-
- -

-Finally the \(6 \times 6\) transfer function matrix from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) is estimated: -

-
-
%% DVF Plant (transfer function from u to dLm)
-G_dL = {};
-
-for i_mass = i_masses
-    G_dL(i_mass+1) = {zeros(length(f), 6, 6)};
-    for i_strut = 1:6
-        G_dL{i_mass+1}(:,:,i_strut) = tfestimate(meas_iff_mass{i_strut, i_mass+1}.Va, meas_iff_mass{i_strut, i_mass+1}.de, win, [], [], 1/Ts);
-    end
-end
-
-
- -

-The identified dynamics are then saved for further use. -

-
-
save('mat/frf_iff_vib_table_m.mat', 'f', 'Ts', 'G_dL');
-
-
-
-
- -
-

2.6.4. Comparison of the measured FRF and the Simscape model

-
-

-The following figures are computed: -

-
    -
  • Figure 61: the measured damped FRF are displayed
  • -
  • Figure 62: the open-loop and damped FRF are compared (diagonal elements)
  • -
  • Figure 63: the obtained damped FRF is compared with the identified damped from using the Simscape model
  • -
- - -
-

damped_iff_plant_meas_frf.png -

-

Figure 61: Diagonal and off-diagonal of the measured FRF matrix for the damped plant

-
- - -
-

comp_undamped_damped_plant_meas_frf.png -

-

Figure 62: Damped and Undamped measured FRF (diagonal elements)

-
- - -
-

comp_iff_plant_frf_sim.png -

-

Figure 63: Comparison of the measured FRF and the identified dynamics from the Simscape model

-
- -
-

-The IFF control strategy effectively damps all the suspensions modes of the nano-hexapod whatever the payload is. -The obtained plant is easier to control (provided the flexible modes of the top platform are well damped). -

- -
-
-
- -
-

2.6.5. Change of coupling with IFF

-
-

-The added damping using IFF reduces the coupling in the system near the suspensions modes that are damped. -It can be estimated by taking the ratio of the diagonal-term and the off-diagonal term. -

- -

-This is shown in Figure 64. -

- - -
-

reduced_coupling_iff_masses.png -

-

Figure 64: Comparison of the coupling with and without IFF

-
-
-
-
- -
-

2.7. Un-Balanced mass

-
-
-
-

2.7.1. Introduction

-
- -
-

picture_unbalanced_payload.jpg -

-

Figure 65: Nano-Hexapod with unbalanced payload

-
-
-
- -
-

2.7.2. Compute the identified FRF with IFF

-
-

-The following data are loaded: -

-
    -
  • Va: the excitation voltage for the damped plant (corresponding to \(u^\prime_i\))
  • -
  • de: the measured motion by the 6 encoders (corresponding to \(d\bm{\mathcal{L}}_m\))
  • -
-
-
%% Load Identification Data
-meas_added_mass = {zeros(6,1)};
-
-for i_strut = 1:6
-    meas_iff_mass(i_strut) = {load(sprintf('frf_data_exc_strut_%i_iff_vib_table_1m_unbalanced.mat', i_strut), 't', 'Va', 'de')};
-end
-
-
- -

-The window win and the frequency vector f are defined. -

-
-
% Sampling Time [s]
-Ts = (meas_iff_mass{1}.t(end) - (meas_iff_mass{1}.t(1)))/(length(meas_iff_mass{1}.t)-1);
-
-% Hannning Windows
-win = hanning(ceil(1/Ts));
-
-% And we get the frequency vector
-[~, f] = tfestimate(meas_iff_mass{1}.Va, meas_iff_mass{1}.de, win, [], [], 1/Ts);
-
-
- -

-Finally the \(6 \times 6\) transfer function matrix from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) is estimated: -

-
-
%% DVF Plant (transfer function from u to dLm)
-G_dL = zeros(length(f), 6, 6);
-for i_strut = 1:6
-    G_dL(:,:,i_strut) = tfestimate(meas_iff_mass{i_strut}.Va, meas_iff_mass{i_strut}.de, win, [], [], 1/Ts);
-end
-
-
- -

-The identified dynamics are then saved for further use. -

-
-
save('mat/frf_iff_unbalanced_vib_table_m.mat', 'f', 'Ts', 'G_dL');
-
-
-
-
- -
-

2.7.3. Effect of an unbalanced payload

-
-

-The transfer functions from \(u_i\) to \(d\mathcal{L}_i\) are shown in Figure 66. -Due to the unbalanced payload, the system is not symmetrical anymore, and therefore each of the diagonal elements are not equal. -This is due to the fact that each strut is not affected by the same inertia. -

- - -
-

frf_damp_unbalanced_mass.png -

-

Figure 66: Transfer function from \(u_i\) to \(d\mathcal{L}_i\) for the nano-hexapod with an unbalanced payload

-
-
-
-
- - - -
-

2.8. Conclusion

-
-
-

-In this section, the dynamics of the nano-hexapod with the encoders fixed to the plates is studied. -

- -

-It has been found that: -

-
    -
  • The measured dynamics is in agreement with the dynamics of the simscape model, up to the flexible modes of the top plate. -See figures 39 and 40 for the transfer function to the force sensors and Figures 42 and 43for the transfer functions to the encoders
  • -
  • The Integral Force Feedback strategy is very effective in damping the suspension modes of the nano-hexapod (Figure 46).
  • -
  • The transfer function from \(\bm{u}^\prime\) to \(d\bm{\mathcal{L}}_m\) show nice dynamical properties and is a much better candidate for the high-authority-control than when the encoders were fixed to the struts. -At least up to the flexible modes of the top plate, the diagonal elements of the transfer function matrix have alternating poles and zeros, and the phase is moving smoothly. -Only the flexible modes of the top plates seems to be problematic for control.
  • -
- -
-
-
-
- -
-

3. Decentralized High Authority Control with Integral Force Feedback

-
-

- -

-

-In this section is studied the HAC-IFF architecture for the Nano-Hexapod. -More precisely: -

-
    -
  • The LAC control is a decentralized integral force feedback as studied in Section 2.3
  • -
  • The HAC control is a decentralized controller working in the frame of the struts
  • -
- -

-The corresponding control architecture is shown in Figure 67 with: -

-
    -
  • \(\bm{r}_{\mathcal{X}_n}\): the \(6 \times 1\) reference signal in the cartesian frame
  • -
  • \(\bm{r}_{d\mathcal{L}}\): the \(6 \times 1\) reference signal transformed in the frame of the struts thanks to the inverse kinematic
  • -
  • \(\bm{\epsilon}_{d\mathcal{L}}\): the \(6 \times 1\) length error of the 6 struts
  • -
  • \(\bm{u}^\prime\): input of the damped plant
  • -
  • \(\bm{u}\): generated DAC voltages
  • -
  • \(\bm{\tau}_m\): measured force sensors
  • -
  • \(d\bm{\mathcal{L}}_m\): measured displacement of the struts by the encoders
  • -
- - -
-

control_architecture_hac_iff_struts.png -

-

Figure 67: HAC-LAC: IFF + Control in the frame of the legs

-
- -

-This part is structured as follow: -

-
    -
  • Section 3.1: some reference tracking tests are performed
  • -
  • Section 3.2: the decentralized high authority controller is tuned using the Simscape model and is implemented and tested experimentally
  • -
  • Section 3.3: an interaction analysis is performed, from which the best decoupling strategy can be determined
  • -
  • Section 3.4: Robust High Authority Controller are designed
  • -
-
- -
-

3.1. Reference Tracking - Trajectories

-
-

- -

-

-In this section, several trajectories representing the wanted pose (position and orientation) of the top platform with respect to the bottom platform are defined. -

- -

-These trajectories will be used to test the HAC-LAC architecture. -

- -

-In order to transform the wanted pose to the wanted displacement of the 6 struts, the inverse kinematic is required. -As a first approximation, the Jacobian matrix \(\bm{J}\) can be used instead of using the full inverse kinematic equations. -

- -

-Therefore, the control architecture with the input trajectory \(\bm{r}_{\mathcal{X}_n}\) is shown in Figure 68. -

- - -
-

control_architecture_hac_iff_struts_L.png -

-

Figure 68: HAC-LAC: IFF + Control in the frame of the legs

-
- -

-In the following sections, several reference trajectories are defined: -

-
    -
  • Section 3.1.1: simple scans in the Y-Z plane
  • -
  • Section 3.1.2: scans in tilt are performed
  • -
  • Section 3.1.3: scans with X-Y-Z translations in order to draw the word “NASS”
  • -
-
-
-

3.1.1. Y-Z Scans

-
-

- -A function generateYZScanTrajectory has been developed (accessible here) in order to easily generate scans in the Y-Z plane. -

- -

-For instance, the following generated trajectory is represented in Figure 69. -

-
-
%% Generate the Y-Z trajectory scan
-Rx_yz = generateYZScanTrajectory(...
-    'y_tot', 4e-6, ... % Length of Y scans [m]
-    'z_tot', 4e-6, ... % Total Z distance [m]
-    'n', 5, ...     % Number of Y scans
-    'Ts', 1e-3, ... % Sampling Time [s]
-    'ti', 1, ...    % Time to go to initial position [s]
-    'tw', 0, ...    % Waiting time between each points [s]
-    'ty', 0.6, ...  % Time for a scan in Y [s]
-    'tz', 0.2);     % Time for a scan in Z [s]
-
-
- - -
-

yz_scan_example_trajectory_yz_plane.png -

-

Figure 69: Generated scan in the Y-Z plane

-
- -

-The Y and Z positions as a function of time are shown in Figure 70. -

- - -
-

yz_scan_example_trajectory.png -

-

Figure 70: Y and Z trajectories as a function of time

-
- -

-Using the Jacobian matrix, it is possible to compute the wanted struts lengths as a function of time: -

-\begin{equation} - \bm{r}_{d\mathcal{L}} = \bm{J} \bm{r}_{\mathcal{X}_n} -\end{equation} - -
-
%% Compute the reference in the frame of the legs
-dL_ref = [J*Rx_yz(:, 2:7)']';
-
-
- -

-The reference signal for the strut length is shown in Figure 71. -

- -
-

yz_scan_example_trajectory_struts.png -

-

Figure 71: Trajectories for the 6 individual struts

-
-
-
- -
-

3.1.2. Tilt Scans

-
-

- -

- -

-A function generalSpiralAngleTrajectory has been developed in order to easily generate \(R_x,R_y\) tilt scans. -

- -

-For instance, the following generated trajectory is represented in Figure 72. -

-
-
%% Generate the "tilt-spiral" trajectory scan
-R_tilt = generateSpiralAngleTrajectory(...
-    'R_tot',  20e-6, ... % Total Tilt [ad]
-    'n_turn', 5, ...     % Number of scans
-    'Ts',     1e-3, ...  % Sampling Time [s]
-    't_turn', 1, ...     % Turn time [s]
-    't_end',  1);        % End time to go back to zero [s]
-
-
- - -
-

tilt_scan_example_trajectory.png -

-

Figure 72: Generated “spiral” scan

-
- -

-The reference signal for the strut length is shown in Figure 73. -

- -
-

tilt_scan_example_trajectory_struts.png -

-

Figure 73: Trajectories for the 6 individual struts - Tilt scan

-
-
-
- -
-

3.1.3. “NASS” reference path

-
-

- -In this section, a reference path that “draws” the work “NASS” is developed. -

- -

-First, a series of points representing each letter are defined. -Between each letter, a negative Z motion is performed. -

-
-
%% List of points that draws "NASS"
-ref_path = [ ...
-    0, 0,0; % Initial Position
-    0,0,1; 0,4,1; 3,0,1; 3,4,1; % N
-    3,4,0; 4,0,0; % Transition
-    4,0,1; 4,3,1; 5,4,1; 6,4,1; 7,3,1; 7,2,1; 4,2,1; 4,3,1; 5,4,1; 6,4,1; 7,3,1; 7,0,1; % A
-    7,0,0; 8,0,0; % Transition
-    8,0,1; 11,0,1; 11,2,1; 8,2,1; 8,4,1; 11,4,1; % S
-    11,4,0; 12,0,0; % Transition
-    12,0,1; 15,0,1; 15,2,1; 12,2,1; 12,4,1; 15,4,1; % S
-    15,4,0;
-           ];
-
-%% Center the trajectory arround zero
-ref_path = ref_path - (max(ref_path) - min(ref_path))/2;
-
-%% Define the X-Y-Z cuboid dimensions containing the trajectory
-X_max = 10e-6;
-Y_max =  4e-6;
-Z_max =  2e-6;
-
-ref_path = ([X_max, Y_max, Z_max]./max(ref_path)).*ref_path; % [m]
-
-
- -

-Then, using the generateXYZTrajectory function, the \(6 \times 1\) trajectory signal is computed. -

-
-
%% Generating the trajectory
-Rx_nass = generateXYZTrajectory('points', ref_path);
-
-
- -

-The trajectory in the X-Y plane is shown in Figure 74 (the transitions between the letters are removed). -

- -
-

ref_track_test_nass.png -

-

Figure 74: Reference path corresponding to the “NASS” acronym

-
- -

-It can also be better viewed in a 3D representation as in Figure 75. -

- - -
-

ref_track_test_nass_3d.png -

-

Figure 75: Reference path that draws “NASS” - 3D view

-
-
-
-
- -
-

3.2. First Basic High Authority Controller

-
-

- -

-

-In this section, a simple decentralized high authority controller \(\bm{K}_{\mathcal{L}}\) is developed to work without any payload. -

- -

-The diagonal controller is tuned using classical Loop Shaping in Section 3.2.1. -The stability is verified in Section 3.2.2 using the Simscape model. -

-
-
-

3.2.1. HAC Controller

-
-

- -

- -

-Let’s first try to design a first decentralized controller with: -

-
    -
  • a bandwidth of 100Hz
  • -
  • sufficient phase margin
  • -
  • simple and understandable components
  • -
- -

-After some very basic and manual loop shaping, A diagonal controller is developed. -Each diagonal terms are identical and are composed of: -

-
    -
  • A lead around 100Hz
  • -
  • A first order low pass filter starting at 200Hz to add some robustness to high frequency modes
  • -
  • A notch at 700Hz to cancel the flexible modes of the top plate
  • -
  • A pure integrator
  • -
- -
-
%% Lead to increase phase margin
-a  = 2;  % Amount of phase lead / width of the phase lead / high frequency gain
-wc = 2*pi*100; % Frequency with the maximum phase lead [rad/s]
-
-H_lead = (1 + s/(wc/sqrt(a)))/(1 + s/(wc*sqrt(a)));
-
-%% Low Pass filter to increase robustness
-H_lpf = 1/(1 + s/2/pi/200);
-
-%% Notch at the top-plate resonance
-gm = 0.02;
-xi = 0.3;
-wn = 2*pi*700;
-
-H_notch = (s^2 + 2*gm*xi*wn*s + wn^2)/(s^2 + 2*xi*wn*s + wn^2);
-
-%% Decentralized HAC
-Khac_iff_struts = -(1/(2.87e-5)) * ... % Gain
-                  H_lead * ...       % Lead
-                  H_notch * ...      % Notch
-                  (2*pi*100/s) * ... % Integrator
-                  eye(6);            % 6x6 Diagonal
-
-
- -

-This controller is saved for further use. -

-
-
save('mat/Khac_iff_struts.mat', 'Khac_iff_struts')
-
-
- -

-The experimental loop gain is computed and shown in Figure 76. -

-
-
L_hac_iff_struts = pagemtimes(permute(frf_iff.G_dL{1}, [2 3 1]), squeeze(freqresp(Khac_iff_struts, frf_iff.f, 'Hz')));
-
-
- - -
-

loop_gain_hac_iff_struts.png -

-

Figure 76: Diagonal and off-diagonal elements of the Loop gain for “HAC-IFF-Struts”

-
-
-
- -
-

3.2.2. Verification of the Stability using the Simscape model

-
-

- -

- -

-The HAC-IFF control strategy is implemented using Simscape. -

-
-
%% Initialize the Simscape model in closed loop
-n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ...
-                                       'flex_top_type', '4dof', ...
-                                       'motion_sensor_type', 'plates', ...
-                                       'actuator_type', 'flexible', ...
-                                       'controller_type', 'hac-iff-struts');
-
-
- -
-
%% Identify the (damped) transfer function from u to dLm
-clear io; io_i = 1;
-io(io_i) = linio([mdl, '/du'], 1, 'openinput');  io_i = io_i + 1; % Actuator Inputs
-io(io_i) = linio([mdl, '/dL'], 1, 'openoutput'); io_i = io_i + 1; % Plate Displacement (encoder)
-
-
- -

-We identify the closed-loop system. -

-
-
%% Identification
-Gd_iff_hac_opt = linearize(mdl, io, 0.0, options);
-
-
- -

-And verify that it is indeed stable. -

-
-
%% Verify the stability
-isstable(Gd_iff_hac_opt)
-
-
- -
-1
-
-
-
- -
-

3.2.3. Experimental Validation

-
-

-Both the Integral Force Feedback controller (developed in Section 2.3) and the high authority controller working in the frame of the struts (developed in Section 3.2) are implemented experimentally. -

- -

-Two reference tracking experiments are performed to evaluate the stability and performances of the implemented control. -

- -
-
%% Load the experimental data
-load('hac_iff_struts_yz_scans.mat', 't', 'de')
-
-
- -

-The position of the top-platform is estimated using the Jacobian matrix: -

-
-
%% Pose of the top platform from the encoder values
-load('jacobian.mat', 'J');
-Xe = [inv(J)*de']';
-
-
- -
-
%% Generate the Y-Z trajectory scan
-Rx_yz = generateYZScanTrajectory(...
-    'y_tot', 4e-6, ... % Length of Y scans [m]
-    'z_tot', 8e-6, ... % Total Z distance [m]
-    'n', 5, ...     % Number of Y scans
-    'Ts', 1e-3, ... % Sampling Time [s]
-    'ti', 1, ...    % Time to go to initial position [s]
-    'tw', 0, ...    % Waiting time between each points [s]
-    'ty', 0.6, ...  % Time for a scan in Y [s]
-    'tz', 0.2);     % Time for a scan in Z [s]
-
-
- -

-The reference path as well as the measured position are partially shown in the Y-Z plane in Figure 77. -

- -
-

yz_scans_exp_results_first_K.png -

-

Figure 77: Measured position \(\bm{\mathcal{X}}_n\) and reference signal \(\bm{r}_{\mathcal{X}_n}\) in the Y-Z plane - Zoom on a change of direction

-
- -
-

-It is clear from Figure 77 that the position of the nano-hexapod effectively tracks to reference signal. -However, oscillations with amplitudes as large as 50nm can be observe. -

- -

-It turns out that the frequency of these oscillations is 100Hz which is corresponding to the crossover frequency of the High Authority Control loop. -This clearly indicates poor stability margins. -In the next section, the controller is re-designed to improve the stability margins. -

- -
-
-
- -
-

3.2.4. Controller with increased stability margins

-
-

-The High Authority Controller is re-designed in order to improve the stability margins. -

-
-
%% Lead
-a  = 5;  % Amount of phase lead / width of the phase lead / high frequency gain
-wc = 2*pi*110; % Frequency with the maximum phase lead [rad/s]
-
-H_lead = (1 + s/(wc/sqrt(a)))/(1 + s/(wc*sqrt(a)));
-
-%% Low Pass Filter
-H_lpf = 1/(1 + s/2/pi/300);
-
-%% Notch
-gm = 0.02;
-xi = 0.5;
-wn = 2*pi*700;
-
-H_notch = (s^2 + 2*gm*xi*wn*s + wn^2)/(s^2 + 2*xi*wn*s + wn^2);
-
-%% HAC Controller
-Khac_iff_struts = -2.2e4 * ... % Gain
-            H_lead * ...       % Lead
-            H_lpf * ...        % Lead
-            H_notch * ...      % Notch
-            (2*pi*100/s) * ... % Integrator
-            eye(6);            % 6x6 Diagonal
-
-
- -

-The bode plot of the new loop gain is shown in Figure 78. -

- -
-

hac_iff_plates_exp_loop_gain_redesigned_K.png -

-

Figure 78: Loop Gain for the updated decentralized HAC controller

-
- -

-This new controller is implemented experimentally and several tracking tests are performed. -

-
-
%% Load Measurements
-load('hac_iff_more_lead_nass_scan.mat', 't', 'de')
-
-
- -

-The pose of the top platform is estimated from the encoder position using the Jacobian matrix. -

-
-
%% Compute the pose of the top platform
-load('jacobian.mat', 'J');
-Xe = [inv(J)*de']';
-
-
- -

-The measured motion as well as the trajectory are shown in Figure 79. -

- -
-

nass_scans_first_test_exp.png -

-

Figure 79: Measured position \(\bm{\mathcal{X}}_n\) and reference signal \(\bm{r}_{\mathcal{X}_n}\) for the “NASS” trajectory

-
- -

-The trajectory and measured motion are also shown in the X-Y plane in Figure 80. -

- -
-

ref_track_nass_exp_hac_iff_struts.png -

-

Figure 80: Reference path and measured motion in the X-Y plane

-
- -

-The orientation errors during all the scans are shown in Figure 81. -

- -
-

nass_ref_rx_ry.png -

-

Figure 81: Orientation errors during the scan

-
- -
-

-Using the updated High Authority Controller, the nano-hexapod can follow trajectories with high accuracy (the position errors are in the order of 50nm peak to peak, and the orientation errors 300nrad peak to peak). -

- -
-
-
-
- -
-

3.3. Interaction Analysis and Decoupling

-
-

- -

-

-In this section, the interaction in the identified plant is estimated using the Relative Gain Array (RGA) (Skogestad and Postlethwaite 2007, 3.4). -

- -

-Then, several decoupling strategies are compared for the nano-hexapod. -

- -

-The RGA Matrix is defined as follow: -

-\begin{equation} - \text{RGA}(G(f)) = G(f) \times (G(f)^{-1})^T -\end{equation} - -

-Then, the RGA number is defined: -

-\begin{equation} -\text{RGA-num}(f) = \| \text{I - RGA(G(f))} \|_{\text{sum}} -\end{equation} - - -

-In this section, the plant with 2 added mass is studied. -

-
-
-

3.3.1. Parameters

-
-
-
wc = 100; % Wanted crossover frequency [Hz]
-[~, i_wc] = min(abs(frf_iff.f - wc)); % Indice corresponding to wc
-
-
- -
-
%% Plant to be decoupled
-frf_coupled = frf_iff.G_dL{2};
-G_coupled = sim_iff.G_dL{2};
-
-
-
-
- -
-

3.3.2. No Decoupling (Decentralized)

-
-

- -

- - -
-

decoupling_arch_decentralized.png -

-

Figure 82: Block diagram representing the plant.

-
- - -
-

interaction_decentralized_plant.png -

-

Figure 83: Bode Plot of the decentralized plant (diagonal and off-diagonal terms)

-
- - -
-

interaction_rga_decentralized.png -

-

Figure 84: RGA number for the decentralized plant

-
-
-
- -
-

3.3.3. Static Decoupling

-
-

- -

- - -
-

decoupling_arch_static.png -

-

Figure 85: Decoupling using the inverse of the DC gain of the plant

-
- -

-The DC gain is evaluated from the model as be have bad low frequency identification. -

- - - - --- -- -- -- -- -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-62011.53910.64299.3660.7-4016.5-4373.6
3914.4-61991.2-4356.8-4019.2640.24281.6
-4020.0-4370.5-62004.53914.64295.8653.8
660.94292.43903.3-62012.2-4366.5-4008.9
4302.8655.6-4025.8-4377.8-62006.03919.7
-4377.9-4013.2668.64303.73906.8-62019.3
- - -
-

interaction_static_dec_plant.png -

-

Figure 86: Bode Plot of the static decoupled plant

-
- - -
-

interaction_rga_static_dec.png -

-

Figure 87: RGA number for the statically decoupled plant

-
-
-
- -
-

3.3.4. Decoupling at the Crossover

-
-

- -

- - -
-

decoupling_arch_crossover.png -

-

Figure 88: Decoupling using the inverse of a dynamical model \(\bm{\hat{G}}\) of the plant dynamics \(\bm{G}\)

-
- - - - --- -- -- -- -- -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
67229.83769.3-13704.6-23084.8-6318.223378.7
3486.267708.923220.0-6314.5-22699.8-14060.6
-5731.722471.766701.43070.2-13205.6-21944.6
-23305.5-14542.62743.270097.624846.8-5295.0
-14882.9-22957.8-5344.425786.270484.62979.9
24353.3-5195.2-22449.0-14459.22203.669484.2
- - -
-

interaction_wc_plant.png -

-

Figure 89: Bode Plot of the plant decoupled at the crossover

-
- -
-
%% Compute RGA Matrix
-RGA_wc = zeros(size(frf_coupled));
-for i = 1:length(frf_iff.f)
-    RGA_wc(i,:,:) = squeeze(G_dL_wc(i,:,:)).*inv(squeeze(G_dL_wc(i,:,:))).';
-end
-
-%% Compute RGA-number
-RGA_wc_sum = zeros(size(RGA_wc, 1), 1);
-for i = 1:size(RGA_wc, 1)
-    RGA_wc_sum(i) = sum(sum(abs(eye(6) - squeeze(RGA_wc(i,:,:)))));
-end
-
-
- - -
-

interaction_rga_wc.png -

-

Figure 90: RGA number for the plant decoupled at the crossover

-
-
-
- -
-

3.3.5. SVD Decoupling

-
-

- -

- - -
-

decoupling_arch_svd.png -

-

Figure 91: Decoupling using the Singular Value Decomposition

-
- - -
-

interaction_svd_plant.png -

-

Figure 92: Bode Plot of the plant decoupled using the Singular Value Decomposition

-
- -
-
%% Compute the RGA matrix for the SVD decoupled plant
-RGA_svd = zeros(size(frf_coupled));
-for i = 1:length(frf_iff.f)
-    RGA_svd(i,:,:) = squeeze(G_dL_svd(i,:,:)).*inv(squeeze(G_dL_svd(i,:,:))).';
-end
-
-%% Compute the RGA-number
-RGA_svd_sum = zeros(size(RGA_svd, 1), 1);
-for i = 1:length(frf_iff.f)
-    RGA_svd_sum(i) = sum(sum(abs(eye(6) - squeeze(RGA_svd(i,:,:)))));
-end
-
-
- -
-
%% RGA Number for the SVD decoupled plant
-figure;
-plot(frf_iff.f, RGA_svd_sum, 'k-');
-set(gca, 'XScale', 'log'); set(gca, 'YScale', 'log');
-xlabel('Frequency [Hz]'); ylabel('RGA Number');
-xlim([10, 1e3]); ylim([1e-2, 1e2]);
-
-
- - -
-

interaction_rga_svd.png -

-

Figure 93: RGA number for the plant decoupled using the SVD

-
-
-
- -
-

3.3.6. Dynamic decoupling

-
-

- -

- - -
-

decoupling_arch_dynamic.png -

-

Figure 94: Decoupling using the inverse of a dynamical model \(\bm{\hat{G}}\) of the plant dynamics \(\bm{G}\)

-
- - -
-

interaction_dynamic_dec_plant.png -

-

Figure 95: Bode Plot of the dynamically decoupled plant

-
- - -
-

interaction_rga_dynamic_dec.png -

-

Figure 96: RGA number for the dynamically decoupled plant

-
-
-
- -
-

3.3.7. Jacobian Decoupling - Center of Stiffness

-
-

- -

- - -
-

decoupling_arch_jacobian_cok.png -

-

Figure 97: Decoupling using Jacobian matrices evaluated at the Center of Stiffness

-
- - -
-

interaction_J_cok_plant.png -

-

Figure 98: Bode Plot of the plant decoupled using the Jacobian evaluated at the “center of stiffness”

-
- - -
-

interaction_rga_J_cok.png -

-

Figure 99: RGA number for the plant decoupled using the Jacobian evaluted at the Center of Stiffness

-
-
-
- -
-

3.3.8. Jacobian Decoupling - Center of Mass

-
-

- -

- - -
-

decoupling_arch_jacobian_com.png -

-

Figure 100: Decoupling using Jacobian matrices evaluated at the Center of Mass

-
- - -
-

interaction_J_com_plant.png -

-

Figure 101: Bode Plot of the plant decoupled using the Jacobian evaluated at the Center of Mass

-
- - -
-

interaction_rga_J_com.png -

-

Figure 102: RGA number for the plant decoupled using the Jacobian evaluted at the Center of Mass

-
-
-
- -
-

3.3.9. Decoupling Comparison

-
-

- -

- -

-Let’s now compare all of the decoupling methods (Figure 103). -

- -
-

-From Figure 103, the following remarks are made: -

-
    -
  • Decentralized plant: well decoupled below suspension modes
  • -
  • Static inversion: similar to the decentralized plant as the decentralized plant has already a good decoupling at low frequency
  • -
  • Crossover inversion: the decoupling is improved around the crossover frequency as compared to the decentralized plant. However, the decoupling is increased at lower frequency.
  • -
  • SVD decoupling: Very good decoupling up to 235Hz. Especially between 100Hz and 200Hz.
  • -
  • Dynamic Inversion: the plant is very well decoupled at frequencies where the model is accurate (below 235Hz where flexible modes are not modelled).
  • -
  • Jacobian - Stiffness: good decoupling at low frequency. The decoupling increases at the frequency of the suspension modes, but is acceptable up to the strut flexible modes (235Hz).
  • -
  • Jacobian - Mass: bad decoupling at low frequency. Better decoupling above the frequency of the suspension modes, and acceptable decoupling up to the strut flexible modes (235Hz).
  • -
- -
- - -
-

interaction_compare_rga_numbers.png -

-

Figure 103: Comparison of the obtained RGA-numbers for all the decoupling methods

-
-
-
- -
-

3.3.10. Decoupling Robustness

-
-

- -

- -

-Let’s now see how the decoupling is changing when changing the payload’s mass. -

-
-
frf_new = frf_iff.G_dL{3};
-
-
- -

-The obtained RGA-numbers are shown in Figure 104. -

- -
-

-From Figure 104: -

-
    -
  • The decoupling using the Jacobian evaluated at the “center of stiffness” seems to give the most robust results.
  • -
- -
- - -
-

interaction_compare_rga_numbers_rob.png -

-

Figure 104: Change of the RGA-number with a change of the payload. Indication of the robustness of the inversion method.

-
-
-
- -
-

3.3.11. Conclusion

-
-
-

-Several decoupling methods can be used: -

-
    -
  • SVD
  • -
  • Inverse
  • -
  • Jacobian (CoK)
  • -
- -
- - - - --- -- -- -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 3: Summary of the interaction analysis and different decoupling strategies
MethodRGADiag PlantRobustness
Decentralized--Equal++
Static dec.--Equal++
Crossover dec.-Equal0
SVD++Diff+
Dynamic dec.++Unity, equal-
Jacobian - CoK+Diff++
Jacobian - CoM0Diff+
-
-
-
- -
-

3.4. Robust High Authority Controller

-
-

- -

-

-In this section we wish to develop a robust High Authority Controller (HAC) that is working for all payloads. -

- -

-(Indri and Oboe 2020) -

-
-
-

3.4.1. Using Jacobian evaluated at the center of stiffness

-
-
-
-
3.4.1.1. Decoupled Plant
-
-
-
G_nom = frf_iff.G_dL{2}; % Nominal Plant
-
-
- - -
-

bode_plot_hac_iff_plant_jacobian_cok.png -

-

Figure 105: Bode plot of the decoupled plant using the Jacobian evaluated at the Center of Stiffness

-
-
-
- -
-
3.4.1.2. SISO Controller Design
-
-

-As the diagonal elements of the plant are not equal, several SISO controllers are designed and then combined to form a diagonal controller. -All the diagonal terms of the controller consists of: -

-
    -
  • A double integrator to have high gain at low frequency
  • -
  • A lead around the crossover frequency to increase stability margins
  • -
  • Two second order low pass filters above the crossover frequency to increase the robustness to high frequency modes
  • -
-
-
- -
-
3.4.1.3. Obtained Loop Gain
-
- -
-

bode_plot_hac_iff_loop_gain_jacobian_cok.png -

-

Figure 106: Bode plot of the Loop Gain when using the Jacobian evaluated at the Center of Stiffness to decouple the system

-
- -
-
%% Controller to be implemented
-Kd = inv(J_cok')*input_normalize*ss(Kd_diag)*inv(Js_cok);
-
-
-
-
- -
-
3.4.1.4. Verification of the Stability
-
-

-Now the stability of the feedback loop is verified using the generalized Nyquist criteria. -

- - -
-

loci_hac_iff_loop_gain_jacobian_cok.png -

-

Figure 107: Loci of \(L(j\omega)\) in the complex plane.

-
-
-
- -
-
3.4.1.5. Save for further analysis
-
-
-
save('mat/Khac_iff_struts_jacobian_cok.mat', 'Kd')
-
-
-
-
-
- -
-

3.4.2. Using Singular Value Decomposition

-
-
-
-
3.4.2.1. Decoupled Plant
-
-
-
G_nom = frf_iff.G_dL{2}; % Nominal Plant
-
-
- - -
-

bode_plot_hac_iff_plant_svd.png -

-

Figure 108: Bode plot of the decoupled plant using the SVD

-
-
-
- -
-
3.4.2.2. Controller Design
-
-
-
3.4.2.3. Loop Gain
-
- -
-

bode_plot_hac_iff_loop_gain_svd.png -

-

Figure 109: Bode plot of Loop Gain when using the SVD

-
-
-
- -
-
3.4.2.4. Stability Verification
-
-
-
%% Compute the Eigenvalues of the loop gain
-Ldet = zeros(3, 6, length(frf_iff.f));
-
-for i = 1:3
-    Lmimo = pagemtimes(permute(frf_iff.G_dL{i}, [2,3,1]),squeeze(freqresp(Kd, frf_iff.f, 'Hz')));
-    for i_f = 2:length(frf_iff.f)
-        Ldet(i,:, i_f) = eig(squeeze(Lmimo(:,:,i_f)));
-    end
-end
-
-
- - -
-

loci_hac_iff_loop_gain_svd.png -

-

Figure 110: Locis of \(L(j\omega)\) in the complex plane.

-
-
-
- -
-
3.4.2.5. Save for further analysis
-
-
-
save('mat/Khac_iff_struts_svd.mat', 'Kd')
-
-
-
-
-
-
-
- -
-

4. Functions

-
-
-
-

4.1. generateXYZTrajectory

-
-

- -

-
- -
-

Function description

-
-
-
function [ref] = generateXYZTrajectory(args)
-% generateXYZTrajectory -
-%
-% Syntax: [ref] = generateXYZTrajectory(args)
-%
-% Inputs:
-%    - args
-%
-% Outputs:
-%    - ref - Reference Signal
-
-
-
-
- -
-

Optional Parameters

-
-
-
arguments
-    args.points double {mustBeNumeric} = zeros(2, 3) % [m]
-
-    args.ti    (1,1) double {mustBeNumeric, mustBeNonnegative} = 1 % Time to go to first point and after last point [s]
-    args.tw    (1,1) double {mustBeNumeric, mustBeNonnegative} = 0.5 % Time wait between each point [s]
-    args.tm    (1,1) double {mustBeNumeric, mustBeNonnegative} = 1 % Motion time between points [s]
-
-    args.Ts    (1,1) double {mustBeNumeric, mustBePositive} = 1e-3 % Sampling Time [s]
-end
-
-
-
-
- -
-

Initialize Time Vectors

-
-
-
time_i = 0:args.Ts:args.ti;
-time_w = 0:args.Ts:args.tw;
-time_m = 0:args.Ts:args.tm;
-
-
-
-
- -
-

XYZ Trajectory

-
-
-
% Go to initial position
-xyz = (args.points(1,:))'*(time_i/args.ti);
-
-% Wait
-xyz = [xyz, xyz(:,end).*ones(size(time_w))];
-
-% Scans
-for i = 2:size(args.points, 1)
-    % Go to next point
-    xyz = [xyz, xyz(:,end) + (args.points(i,:)' - xyz(:,end))*(time_m/args.tm)];
-    % Wait a litle bit
-    xyz = [xyz, xyz(:,end).*ones(size(time_w))];
-end
-
-% End motion
-xyz = [xyz, xyz(:,end) - xyz(:,end)*(time_i/args.ti)];
-
-
-
-
- -
-

Reference Signal

-
-
-
t = 0:args.Ts:args.Ts*(length(xyz) - 1);
-
-
- -
-
ref = zeros(length(xyz), 7);
-
-ref(:, 1) = t;
-ref(:, 2:4) = xyz';
-
-
-
-
-
- -
-

4.2. generateYZScanTrajectory

-
-

- -

-
- -
-

Function description

-
-
-
function [ref] = generateYZScanTrajectory(args)
-% generateYZScanTrajectory -
-%
-% Syntax: [ref] = generateYZScanTrajectory(args)
-%
-% Inputs:
-%    - args
-%
-% Outputs:
-%    - ref - Reference Signal
-
-
-
-
- -
-

Optional Parameters

-
-
-
arguments
-    args.y_tot (1,1) double {mustBeNumeric, mustBePositive} = 10e-6 % [m]
-    args.z_tot (1,1) double {mustBeNumeric, mustBePositive} = 10e-6 % [m]
-
-    args.n     (1,1) double {mustBeInteger, mustBePositive} = 10 % [-]
-
-    args.Ts    (1,1) double {mustBeNumeric, mustBePositive} = 1e-4 % [s]
-
-    args.ti    (1,1) double {mustBeNumeric, mustBeNonnegative} = 1 % [s]
-    args.tw    (1,1) double {mustBeNumeric, mustBeNonnegative} = 1 % [s]
-    args.ty    (1,1) double {mustBeNumeric, mustBeNonnegative} = 1 % [s]
-    args.tz    (1,1) double {mustBeNumeric, mustBeNonnegative} = 1 % [s]
-end
-
-
-
-
- -
-

Initialize Time Vectors

-
-
-
time_i = 0:args.Ts:args.ti;
-time_w = 0:args.Ts:args.tw;
-time_y = 0:args.Ts:args.ty;
-time_z = 0:args.Ts:args.tz;
-
-
-
-
- -
-

Y and Z vectors

-
-
-
% Go to initial position
-y = (time_i/args.ti)*(args.y_tot/2);
-
-% Wait
-y = [y, y(end)*ones(size(time_w))];
-
-% Scans
-for i = 1:args.n
-    if mod(i,2) == 0
-        y = [y, -(args.y_tot/2) + (time_y/args.ty)*args.y_tot];
-    else
-        y = [y,  (args.y_tot/2) - (time_y/args.ty)*args.y_tot];
-    end
-
-    if i < args.n
-        y = [y, y(end)*ones(size(time_z))];
-    end
-end
-
-% Wait a litle bit
-y = [y, y(end)*ones(size(time_w))];
-
-% End motion
-y = [y, y(end) - y(end)*time_i/args.ti];
-
-
- -
-
% Go to initial position
-z = (time_i/args.ti)*(args.z_tot/2);
-
-% Wait
-z = [z, z(end)*ones(size(time_w))];
-
-% Scans
-for i = 1:args.n
-    z = [z, z(end)*ones(size(time_y))];
-
-    if i < args.n
-        z = [z, z(end) - (time_z/args.tz)*args.z_tot/(args.n-1)];
-    end
-end
-
-% Wait a litle bit
-z = [z, z(end)*ones(size(time_w))];
-
-% End motion
-z = [z, z(end) - z(end)*time_i/args.ti];
-
-
-
-
- -
-

Reference Signal

-
-
-
t = 0:args.Ts:args.Ts*(length(y) - 1);
-
-
- -
-
ref = zeros(length(y), 7);
-
-ref(:, 1) = t;
-ref(:, 3) = y;
-ref(:, 4) = z;
-
-
-
-
-
- -
-

4.3. generateSpiralAngleTrajectory

-
-

- -

-
- -
-

Function description

-
-
-
function [ref] = generateSpiralAngleTrajectory(args)
-% generateSpiralAngleTrajectory -
-%
-% Syntax: [ref] = generateSpiralAngleTrajectory(args)
-%
-% Inputs:
-%    - args
-%
-% Outputs:
-%    - ref - Reference Signal
-
-
-
-
- -
-

Optional Parameters

-
-
-
arguments
-    args.R_tot  (1,1) double {mustBeNumeric, mustBePositive} = 10e-6 % [rad]
-    args.n_turn (1,1) double {mustBeInteger, mustBePositive} = 5 % [-]
-    args.Ts     (1,1) double {mustBeNumeric, mustBePositive} = 1e-3 % [s]
-    args.t_turn (1,1) double {mustBeNumeric, mustBePositive} = 1 % [s]
-    args.t_end  (1,1) double {mustBeNumeric, mustBePositive} = 1 % [s]
-end
-
-
-
-
- -
-

Initialize Time Vectors

-
-
-
time_s = 0:args.Ts:args.n_turn*args.t_turn;
-time_e = 0:args.Ts:args.t_end;
-
-
-
-
- -
-

Rx and Ry vectors

-
-
-
Rx = sin(2*pi*time_s/args.t_turn).*(args.R_tot*time_s/(args.n_turn*args.t_turn));
-Ry = cos(2*pi*time_s/args.t_turn).*(args.R_tot*time_s/(args.n_turn*args.t_turn));
-
-
- -
-
Rx = [Rx, 0*time_e];
-Ry = [Ry, Ry(end) - Ry(end)*time_e/args.t_end];
-
-
-
-
- -
-

Reference Signal

-
-
-
t = 0:args.Ts:args.Ts*(length(Rx) - 1);
-
-
- -
-
ref = zeros(length(Rx), 7);
-
-ref(:, 1) = t;
-ref(:, 5) = Rx;
-ref(:, 6) = Ry;
-
-
-
-
-
- -
-

4.4. getTransformationMatrixAcc

-
-

- -

-
- -
-

Function description

-
-
-
function [M] = getTransformationMatrixAcc(Opm, Osm)
-% getTransformationMatrixAcc -
-%
-% Syntax: [M] = getTransformationMatrixAcc(Opm, Osm)
-%
-% Inputs:
-%    - Opm - Nx3 (N = number of accelerometer measurements) X,Y,Z position of accelerometers
-%    - Opm - Nx3 (N = number of accelerometer measurements) Unit vectors representing the accelerometer orientation
-%
-% Outputs:
-%    - M - Transformation Matrix
-
-
-
-
- -
-

Transformation matrix from motion of the solid body to accelerometer measurements

-
-

-Let’s try to estimate the x-y-z acceleration of any point of the solid body from the acceleration/angular acceleration of the solid body expressed in \(\{O\}\). -For any point \(p_i\) of the solid body (corresponding to an accelerometer), we can write: -

-\begin{equation} -\begin{bmatrix} -a_{i,x} \\ a_{i,y} \\ a_{i,z} -\end{bmatrix} = \begin{bmatrix} -\dot{v}_x \\ \dot{v}_y \\ \dot{v}_z -\end{bmatrix} + p_i \times \begin{bmatrix} -\dot{\omega}_x \\ \dot{\omega}_y \\ \dot{\omega}_z -\end{bmatrix} -\end{equation} - -

-We can write the cross product as a matrix product using the skew-symmetric transformation: -

-\begin{equation} -\begin{bmatrix} -a_{i,x} \\ a_{i,y} \\ a_{i,z} -\end{bmatrix} = \begin{bmatrix} -\dot{v}_x \\ \dot{v}_y \\ \dot{v}_z -\end{bmatrix} + \underbrace{\begin{bmatrix} - 0 & p_{i,z} & -p_{i,y} \\ - -p_{i,z} & 0 & p_{i,x} \\ - p_{i,y} & -p_{i,x} & 0 -\end{bmatrix}}_{P_{i,[\times]}} \cdot \begin{bmatrix} -\dot{\omega}_x \\ \dot{\omega}_y \\ \dot{\omega}_z -\end{bmatrix} -\end{equation} - -

-If we now want to know the (scalar) acceleration \(a_i\) of the point \(p_i\) in the direction of the accelerometer direction \(\hat{s}_i\), we can just project the 3d acceleration on \(\hat{s}_i\): -

-\begin{equation} -a_i = \hat{s}_i^T \cdot \begin{bmatrix} -a_{i,x} \\ a_{i,y} \\ a_{i,z} -\end{bmatrix} = \hat{s}_i^T \cdot \begin{bmatrix} -\dot{v}_x \\ \dot{v}_y \\ \dot{v}_z -\end{bmatrix} + \left( \hat{s}_i^T \cdot P_{i,[\times]} \right) \cdot \begin{bmatrix} -\dot{\omega}_x \\ \dot{\omega}_y \\ \dot{\omega}_z -\end{bmatrix} -\end{equation} - -

-Which is equivalent as a simple vector multiplication: -

-\begin{equation} -a_i = \begin{bmatrix} -\hat{s}_i^T & \hat{s}_i^T \cdot P_{i,[\times]} -\end{bmatrix} -\begin{bmatrix} -\dot{v}_x \\ \dot{v}_y \\ \dot{v}_z \\ \dot{\omega}_x \\ \dot{\omega}_y \\ \dot{\omega}_z -\end{bmatrix} = \begin{bmatrix} -\hat{s}_i^T & \hat{s}_i^T \cdot P_{i,[\times]} -\end{bmatrix} {}^O\vec{x} -\end{equation} - -

-And finally we can combine the 6 (line) vectors for the 6 accelerometers to write that in a matrix form. -We obtain Eq. \eqref{eq:M_matrix}. -

-
-

-The transformation from solid body acceleration \({}^O\vec{x}\) from sensor measured acceleration \(\vec{a}\) is: -

-\begin{equation} \label{eq:M_matrix} -\vec{a} = \underbrace{\begin{bmatrix} -\hat{s}_1^T & \hat{s}_1^T \cdot P_{1,[\times]} \\ -\vdots & \vdots \\ -\hat{s}_6^T & \hat{s}_6^T \cdot P_{6,[\times]} -\end{bmatrix}}_{M} {}^O\vec{x} -\end{equation} - -

-with \(\hat{s}_i\) the unit vector representing the measured direction of the i’th accelerometer expressed in frame \(\{O\}\) and \(P_{i,[\times]}\) the skew-symmetric matrix representing the cross product of the position of the i’th accelerometer expressed in frame \(\{O\}\). -

- -
- -

-Let’s define such matrix using matlab: -

-
-
M = zeros(length(Opm), 6);
-
-for i = 1:length(Opm)
-    Ri = [0,         Opm(3,i), -Opm(2,i);
-         -Opm(3,i),  0,         Opm(1,i);
-          Opm(2,i), -Opm(1,i),  0];
-    M(i, 1:3) = Osm(:,i)';
-    M(i, 4:6) = Osm(:,i)'*Ri;
-end
-
-
- -
-
end
-
-
-
-
-
- - -
-

4.5. getJacobianNanoHexapod

-
-

- -

-
- -
-

Function description

-
-
-
function [J] = getJacobianNanoHexapod(Hbm)
-% getJacobianNanoHexapod -
-%
-% Syntax: [J] = getJacobianNanoHexapod(Hbm)
-%
-% Inputs:
-%    - Hbm - Height of {B} w.r.t. {M} [m]
-%
-% Outputs:
-%    - J - Jacobian Matrix
-
-
-
-
- -
-

Transformation matrix from motion of the solid body to accelerometer measurements

-
-
-
Fa = [[-86.05,  -74.78, 22.49],
-      [ 86.05,  -74.78, 22.49],
-      [ 107.79, -37.13, 22.49],
-      [ 21.74,  111.91, 22.49],
-      [-21.74,  111.91, 22.49],
-      [-107.79, -37.13, 22.49]]'*1e-3; % Ai w.r.t. {F} [m]
-
-Mb = [[-28.47, -106.25, -22.50],
-      [ 28.47, -106.25, -22.50],
-      [ 106.25, 28.47,  -22.50],
-      [ 77.78,  77.78,  -22.50],
-      [-77.78,  77.78,  -22.50],
-      [-106.25, 28.47,  -22.50]]'*1e-3; % Bi w.r.t. {M} [m]
-
-H = 95e-3; % Stewart platform height [m]
-Fb = Mb + [0; 0; H]; % Bi w.r.t. {F} [m]
-
-si = Fb - Fa;
-si = si./vecnorm(si); % Normalize
-
-Bb = Mb - [0; 0; Hbm];
-
-J = [si', cross(Bb, si)'];
-
-
-
-
-
-
- -

Bibliography

-
-
Indri, Marina, and Roberto Oboe. 2020. Mechatronics and Robotics: New Trends and Challenges. CRC Press.
-
Skogestad, Sigurd, and Ian Postlethwaite. 2007. Multivariable Feedback Control: Analysis and Design - Second Edition. John Wiley.
-
-
-
-

Author: Dehaeze Thomas

-

Created: 2021-08-11 mer. 00:07

-
- - diff --git a/test-bench-nano-hexapod.org b/test-bench-nano-hexapod.org index 03fd5a1..ab74138 100644 --- a/test-bench-nano-hexapod.org +++ b/test-bench-nano-hexapod.org @@ -97,34 +97,33 @@ * Notes :noexport: +Prefix is =test_nhexa= + Add these documents: -- [[file:~/Cloud/work-projects/ID31-NASS/matlab/nass-simscape/org/nano_hexapod.org][nano_hexapod]] -- [[file:~/Cloud/work-projects/ID31-NASS/matlab/nass-nano-hexapod-assembly/nass-nano-hexapod-assembly.org][nass-nano-hexapod-assembly]] -- [[file:~/Cloud/work-projects/ID31-NASS/matlab/test-bench-vibration-table/vibration-table.org][test-bench-vibration-table]] +- [ ] [[file:~/Cloud/work-projects/ID31-NASS/matlab/nass-simscape/org/nano_hexapod.org][nano_hexapod]] +- [X] [[file:~/Cloud/work-projects/ID31-NASS/matlab/nass-nano-hexapod-assembly/nass-nano-hexapod-assembly.org][nass-nano-hexapod-assembly]] +- [ ] [[file:~/Cloud/work-projects/ID31-NASS/matlab/test-bench-vibration-table/vibration-table.org][test-bench-vibration-table]] +- [ ] *Use corrected APA parameters in the initialization script* + +** TODO [#A] Determine how to manage the Simscape model of the hexapod + +- git submodule? +- Maybe just copy paste the directory as it will not change a lot now * Introduction :ignore: -This document is dedicated to the experimental study of the nano-hexapod shown in Figure ref:fig:picture_bench_granite_nano_hexapod. +This document is dedicated to the experimental study of the nano-hexapod shown in Figure ref:fig:test_nhexa_picture_bench_granite_nano_hexapod. -#+name: fig:picture_bench_granite_nano_hexapod +#+name: fig:test_nhexa_picture_bench_granite_nano_hexapod #+caption: Nano-Hexapod #+attr_latex: :width \linewidth -[[file:figs/IMG_20210608_152917.jpg]] +[[file:figs/test_nhexa_IMG_20210608_152917.jpg]] -#+begin_note -Here are the documentation of the equipment used for this test bench (lots of them are shwon in Figure ref:fig:picture_bench_granite_overview): -- Voltage Amplifier: PiezoDrive [[file:doc/PD200-V7-R1.pdf][PD200]] -- Amplified Piezoelectric Actuator: Cedrat [[file:doc/APA300ML.pdf][APA300ML]] -- DAC/ADC: Speedgoat [[file:doc/IO131-OEM-Datasheet.pdf][IO313]] -- Encoder: Renishaw [[file:doc/L-9517-9678-05-A_Data_sheet_VIONiC_series_en.pdf][Vionic]] and used [[file:doc/L-9517-9862-01-C_Data_sheet_RKLC_EN.pdf][Ruler]] -- Interferometers: Attocube -#+end_note - -#+name: fig:picture_bench_granite_overview +#+name: fig:test_nhexa_picture_bench_granite_overview #+caption: Nano-Hexapod and the control electronics #+attr_latex: :width \linewidth -[[file:figs/IMG_20210608_154722.jpg]] +[[file:figs/test_nhexa_IMG_20210608_154722.jpg]] -In Figure ref:fig:nano_hexapod_signals is shown a block diagram of the experimental setup. +In Figure ref:fig:test_nhexa_nano_hexapod_signals is shown a block diagram of the experimental setup. When possible, the notations are consistent with this diagram and summarized in Table ref:tab:list_signals. #+begin_src latex :file nano_hexapod_signals.pdf @@ -166,10 +165,10 @@ When possible, the notations are consistent with this diagram and summarized in \end{tikzpicture} #+end_src -#+name: fig:nano_hexapod_signals +#+name: fig:test_nhexa_nano_hexapod_signals #+caption: Block diagram of the system with named signals #+attr_latex: :scale 1 -[[file:figs/nano_hexapod_signals.png]] +[[file:figs/test_nhexa_nano_hexapod_signals.png]] #+name: tab:list_signals #+caption: List of signals @@ -193,27 +192,153 @@ When possible, the notations are consistent with this diagram and summarized in | Metrology measured displacement | =[m,rad]= | =dXm= | $d\bm{\mathcal{X}}_m$ | $d\mathcal{X}_{m,i}$ | This document is divided in the following sections: -- Section ref:sec:encoders_struts: the dynamics of the nano-hexapod when the encoders are fixed to the struts is studied. -- Section ref:sec:encoders_plates: the same is done when the encoders are fixed to the plates. -- Section ref:sec:decentralized_hac_iff: a decentralized HAC-LAC strategy is studied and implemented. +- Section ref:sec:test_nhexa_mounting: mounting of the nano-hexapod +- Section ref:sec:test_nhexa_encoders_struts: the dynamics of the nano-hexapod when the encoders are fixed to the struts is studied. +- Section ref:sec:test_nhexa_encoders_plates: the same is done when the encoders are fixed to the plates. +- Section ref:sec:test_nhexa_decentralized_hac_iff: a decentralized HAC-LAC strategy is studied and implemented. + +* Mounting Procedure +<> + +** Mounting Goals + +#+name: fig:test_nhexa_nano_hexapod_elements +#+caption: Received top and bottom nano-hexapod's plates +#+attr_latex: :width \linewidth +[[file:figs/test_nhexa_nano_hexapod_elements.png]] + +#+name: fig:test_nhexa_fixation_flexible_joints +#+caption: Fixation of the flexible points to the nano-hexapod plates +#+begin_figure +#+attr_latex: :caption \subcaption{\label{fig:test_nhexa_fixation_flexible_joints}Flexible Joint Clamping} +#+attr_latex: :options {0.33\textwidth} +#+begin_subfigure +#+attr_latex: :width 0.99\linewidth +[[file:figs/test_nhexa_fixation_flexible_joints.png]] +#+end_subfigure +#+attr_latex: :caption \subcaption{\label{fig:test_nhexa_location_bot_flex}Bottom Positioning} +#+attr_latex: :options {0.33\textwidth} +#+begin_subfigure +#+attr_latex: :width 0.99\linewidth +[[file:figs/test_nhexa_location_bot_flex.png]] +#+end_subfigure +#+attr_latex: :caption \subcaption{\label{fig:test_nhexa_location_top_flexible_joints}Top positioning} +#+attr_latex: :options {0.33\textwidth} +#+begin_subfigure +#+attr_latex: :width 0.99\linewidth +[[file:figs/test_nhexa_location_top_flexible_joints.png]] +#+end_subfigure +#+end_figure + +#+name: fig:test_nhexa_specifications_flexible_joints +#+caption:Reference surfaces of the flexible joint interface with the plates +#+attr_latex: :width 0.3\linewidth +[[file:figs/test_nhexa_specifications_flexible_joints.png]] + +** Mounting Bench + + +#+name: fig:test_nhexa_mounting_hexapod_cut +#+caption: Received top and bottom nano-hexapod's plates +#+attr_latex: :width \linewidth +[[file:figs/test_nhexa_mounting_hexapod_cut.png]] + +#+name: fig:test_nhexa_center_part_hexapod_mounting +#+caption: Received top and bottom nano-hexapod's plates +#+attr_latex: :width \linewidth +[[file:figs/test_nhexa_center_part_hexapod_mounting.jpg]] + +** Mounting Procedure + +1. Fix the bottom plate with the cylindrical tool +2. Put the top plate on the granite +3. Put the cylindrical tool and bottom plate on top of the top plate (Figure ref:fig:test_nhexa_mounting_tool_hexapod_bot_view). + This position the bottom plate with respect to the top plate in X, Y, Z, Rx, Ry +4. Put the pin to position/fix the Rz. + Now the two plates should be position and clamped together +5. Fix the 6 struts +6. Remove the pin and the tool +7. Put the nano-hexapod in place + +** Nano-Hexapod Mounting +<> + +*** Introduction :ignore: + + +*** Plates + +#+name: fig:test_nhexa_nano_hexapod_plates +#+caption: Received top and bottom nano-hexapod's plates +#+attr_latex: :width \linewidth +[[file:figs/test_nhexa_nano_hexapod_plates.jpg]] + +#+name: fig:test_nhexa_plates_tolerences +#+caption: Bottom plate on the measurement granite (FARO arm). Zoom on the main feature of the plate +#+attr_latex: :width \linewidth +[[file:figs/test_nhexa_plates_tolerences.jpg]] + +*** Mounting Tool + +A mounting tool is used to position the top and bottom platforms. +Then the struts can be mounted one by one. +When all the struts are mounted, the "mounting tool" is disassembled and the nano-hexapod is considered to be mounted. + +The main goal of this "mounting tool" is to position the "V" shapes of both plates such that they are coaxial. + +The straightness is the diameter of the smallest cylinder containing all points of the axis. + +#+name: tab:measured_straightness +#+caption: Measured straightness between the two "V" for the six struts. These measurements are performed two times for each strut. +#+attr_latex: :environment tabularx :width 0.5\linewidth :align Xcc +#+attr_latex: :center t :booktabs t +| Strut nb | *Meas 1* | *Meas 2* | +|----------+----------+----------| +| 1 | 7um | 3um | +| 2 | 11um | 11um | +| 3 | 15um | 14um | +| 4 | 6um | 6um | +| 5 | 7um | 5um | +| 6 | 6um | 7um | + +Using the FARO arm, the coaxiality of the "V" shapes have been measured to better than $15\,\mu m$! +This means that the two cylinders corresponding to the flexible joints are both within a perfect cylinder with a diameter of $15\,\mu m$. +This is probably better than that, but we reached the limit of the FARO arm's precision. + +#+name: fig:test_nhexa_mounting_tool_hexapod_bot_view +#+caption: Bottom and top plates mounted together with the special tool +#+attr_latex: :width \linewidth +[[file:figs/test_nhexa_mounting_tool_hexapod_bot_view.jpg]] + +#+name: fig:test_nhexa_mounting_tool_hexapod_top_view +#+caption: Bottom and top plates mounted together with the special tool (top view) +#+attr_latex: :width \linewidth +[[file:figs/test_nhexa_mounting_tool_hexapod_top_view.jpg]] + +*** Mounted Hexapod + +#+name: fig:test_nhexa_nano_hexapod_mounted +#+caption: Mounted Nano-Hexapod +#+attr_latex: :width \linewidth +[[file:figs/test_nhexa_nano_hexapod_mounted.jpg]] * Encoders fixed to the struts -<> +<> ** Introduction :ignore: In this section, the encoders are fixed to the struts. It is divided in the following sections: -- Section ref:sec:enc_struts_plant_id: the transfer function matrix from the actuators to the force sensors and to the encoders is experimentally identified. -- Section ref:sec:enc_struts_comp_simscape: the obtained FRF matrix is compared with the dynamics of the simscape model -- Section ref:sec:enc_struts_iff: decentralized Integral Force Feedback (IFF) is applied and its performances are evaluated. -- Section ref:sec:enc_struts_modal_analysis: a modal analysis of the nano-hexapod is performed +- Section ref:sec:test_nhexa_enc_struts_plant_id: the transfer function matrix from the actuators to the force sensors and to the encoders is experimentally identified. +- Section ref:sec:test_nhexa_enc_struts_comp_simscape: the obtained FRF matrix is compared with the dynamics of the simscape model +- Section ref:sec:test_nhexa_enc_struts_iff: decentralized Integral Force Feedback (IFF) is applied and its performances are evaluated. +- Section ref:sec:test_nhexa_enc_struts_modal_analysis: a modal analysis of the nano-hexapod is performed ** Identification of the dynamics :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/id_frf_enc_struts.m :END: -<> +<> *** Introduction :ignore: *** Matlab Init :noexport:ignore: @@ -278,7 +403,7 @@ i_hf = f > 250; % Points for high frequency excitation #+end_src *** Transfer function from Actuator to Encoder -The 6x6 transfer function matrix from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ is estimated and shown in Figure ref:fig:enc_struts_dvf_frf. +The 6x6 transfer function matrix from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ is estimated and shown in Figure ref:fig:test_nhexa_enc_struts_dvf_frf. #+begin_src matlab %% Transfer function from u to dLm G_dL = zeros(length(f), 6, 6); @@ -339,10 +464,10 @@ xlim([20, 2e3]); exportFig('figs/enc_struts_dvf_frf.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_struts_dvf_frf +#+name: fig:test_nhexa_enc_struts_dvf_frf #+caption: Measured FRF for the transfer function from $\bm{u}$ to $d\bm{\mathcal{L}_m}$ #+RESULTS: -[[file:figs/enc_struts_dvf_frf.png]] +[[file:figs/test_nhexa_enc_struts_dvf_frf.png]] #+begin_important The low frequency gain of the transfer function from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ is close to diagonal. @@ -352,7 +477,7 @@ Then there is a mode at 700Hz which correspond to a flexible mode of the top pla #+end_important *** Transfer function from Actuator to Force Sensor -The 6x6 transfer function matrix from $\bm{u}$ to $\bm{\tau}_m$ is estimated and shown in Figure ref:fig:enc_struts_iff_frf. +The 6x6 transfer function matrix from $\bm{u}$ to $\bm{\tau}_m$ is estimated and shown in Figure ref:fig:test_nhexa_enc_struts_iff_frf. #+begin_src matlab %% Transfer function from u to taum G_tau = zeros(length(f), 6, 6); @@ -410,13 +535,13 @@ xlim([20, 2e3]); exportFig('figs/enc_struts_iff_frf.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_struts_iff_frf +#+name: fig:test_nhexa_enc_struts_iff_frf #+caption: Measured FRF for the transfer function from $\bm{u}$ to $\bm{\tau}_m$ #+RESULTS: -[[file:figs/enc_struts_iff_frf.png]] +[[file:figs/test_nhexa_enc_struts_iff_frf.png]] #+begin_important -The transfer function matrix from $\bm{u}$ to $\bm{\tau}_m$ in Figure ref:fig:enc_struts_iff_frf has alternating poles and zeros as expected. +The transfer function matrix from $\bm{u}$ to $\bm{\tau}_m$ in Figure ref:fig:test_nhexa_enc_struts_iff_frf has alternating poles and zeros as expected. The 4 suspensions modes have quite separated poles and zeros which indicates that is should be possible to add a good amount of damping to these modes using Integral Force Feedback. #+end_important @@ -437,7 +562,7 @@ save('data_frf/identified_plants_enc_struts.mat', 'f', 'Ts', 'G_tau', 'G_dL') *** Introduction :ignore: The Jacobian is used to transform the excitation force in the cartesian frame as well as the displacements. -Consider the plant shown in Figure ref:fig:schematic_jacobian_in_out with: +Consider the plant shown in Figure ref:fig:test_nhexa_schematic_jacobian_in_out with: - $\bm{u}$ the 6 input voltages (going to the PD200 amplifier and then to the APA) - $d\bm{\mathcal{L}}$ the relative motion sensor outputs (encoders) - $\bm{\tau}_m$ the generated voltage of the force sensor stacks @@ -465,10 +590,10 @@ Consider the plant shown in Figure ref:fig:schematic_jacobian_in_out with: \end{tikzpicture} #+end_src -#+name: fig:schematic_jacobian_in_out +#+name: fig:test_nhexa_schematic_jacobian_in_out #+caption: Plant in the cartesian Frame #+RESULTS: -[[file:figs/schematic_jacobian_in_out.png]] +[[file:figs/test_nhexa_schematic_jacobian_in_out.png]] *** Matlab Init :noexport:ignore: #+begin_src matlab @@ -525,7 +650,7 @@ Js_cok = n_hexapod.geometry.Js; #+end_src *** Obtained Centralized plants -The transfer function matrices from $\bm{\mathcal{F}}$ to $d\bm{\mathcal{X}}$ are computed for both Jacobians and shown in Figures ref:fig:enc_struts_cok_dvf_cart_frf (Center of Stiffness) and ref:fig:enc_struts_coi_dvf_cart_frf (Point of Interest). +The transfer function matrices from $\bm{\mathcal{F}}$ to $d\bm{\mathcal{X}}$ are computed for both Jacobians and shown in Figures ref:fig:test_nhexa_enc_struts_cok_dvf_cart_frf (Center of Stiffness) and ref:fig:test_nhexa_enc_struts_coi_dvf_cart_frf (Point of Interest). #+begin_src matlab %% "Centralized" plant at the "center of stiffness" @@ -583,10 +708,10 @@ xlim([20, 2e3]); exportFig('figs/enc_struts_cok_dvf_cart_frf.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_struts_cok_dvf_cart_frf +#+name: fig:test_nhexa_enc_struts_cok_dvf_cart_frf #+caption: Bode plot of the transfer function from $\bm{\mathcal{F}}$ to $d\bm{\mathcal{X}}$ which is computed using the Jacobian matrices evaluted at the Center of Stiffness #+RESULTS: -[[file:figs/enc_struts_cok_dvf_cart_frf.png]] +[[file:figs/test_nhexa_enc_struts_cok_dvf_cart_frf.png]] #+begin_src matlab :exports none %% Bode plot of the transfer function from F to dX using the Jacobians (CoI) @@ -636,24 +761,24 @@ xlim([20, 2e3]); exportFig('figs/enc_struts_coi_dvf_cart_frf.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_struts_coi_dvf_cart_frf +#+name: fig:test_nhexa_enc_struts_coi_dvf_cart_frf #+caption: Bode plot of the transfer function from $\bm{\mathcal{F}}$ to $d\bm{\mathcal{X}}$ which is computed using the Jacobian matrices evaluated at the Point of Interest #+RESULTS: -[[file:figs/enc_struts_coi_dvf_cart_frf.png]] +[[file:figs/test_nhexa_enc_struts_coi_dvf_cart_frf.png]] #+begin_important -The centralized plant evaluated at the Center of Stiffness (Figure ref:fig:enc_struts_cok_dvf_cart_frf) is presenting a good decoupling at low frequency which is not the case for the Centralized plant at the point of interest in Figure ref:fig:enc_struts_coi_dvf_cart_frf. +The centralized plant evaluated at the Center of Stiffness (Figure ref:fig:test_nhexa_enc_struts_cok_dvf_cart_frf) is presenting a good decoupling at low frequency which is not the case for the Centralized plant at the point of interest in Figure ref:fig:test_nhexa_enc_struts_coi_dvf_cart_frf. #+end_important *** Centralized plant using the Force sensors -The transfer function from $\bm{\mathcal{F}}$ to $\bm{\mathcal{F}}_m$ is computed using the Jacobian evaluated at the Center of Stiffness and shown in Figure ref:fig:enc_struts_iff_cart_frf. +The transfer function from $\bm{\mathcal{F}}$ to $\bm{\mathcal{F}}_m$ is computed using the Jacobian evaluated at the Center of Stiffness and shown in Figure ref:fig:test_nhexa_enc_struts_iff_cart_frf. #+begin_src matlab %% Computed Centralized plant: transfer function from F to Fm G_tau_J = permute(pagemtimes(inv(Js_cok), pagemtimes(permute(G_tau, [2 3 1]), inv(Ja_cok'))), [3 1 2]); #+end_src -From Figure ref:fig:enc_struts_iff_cart_frf, we can well estimate the directions of the suspension modes: +From Figure ref:fig:test_nhexa_enc_struts_iff_cart_frf, we can well estimate the directions of the suspension modes: - modes at 110Hz and 160Hz are horizontal translation/rotation modes - mode at 135Hz is a pure vertical mode - mode at 185Hz is a pure rotation mode around the vertical axis @@ -706,16 +831,16 @@ xlim([20, 2e3]); exportFig('figs/enc_struts_iff_cart_frf.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_struts_iff_cart_frf +#+name: fig:test_nhexa_enc_struts_iff_cart_frf #+caption: Measured FRF for the IFF plant in the cartesian frame #+RESULTS: -[[file:figs/enc_struts_iff_cart_frf.png]] +[[file:figs/test_nhexa_enc_struts_iff_cart_frf.png]] ** Comparison with the Simscape Model :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/frf_struts_comp_simscape.m :END: -<> +<> *** Introduction :ignore: In this section, the measured dynamics is compared with the dynamics estimated from the Simscape model. @@ -814,7 +939,7 @@ sim_ol = load('simscape_plants_enc_struts.mat', 'G_tau', 'G_dL'); #+end_src *** Dynamics from Actuator to Force Sensors -The comparison between the extracted model and the measurement is done in Figures ref:fig:enc_struts_iff_comp_simscape (diagonal elements) and ref:fig:enc_struts_iff_comp_offdiag_simscape (off-diagonal elements). +The comparison between the extracted model and the measurement is done in Figures ref:fig:test_nhexa_enc_struts_iff_comp_simscape (diagonal elements) and ref:fig:test_nhexa_enc_struts_iff_comp_offdiag_simscape (off-diagonal elements). #+begin_src matlab :exports none %% Bode plot of the identified Plant (Simscape) and measured FRF data freqs = 2*logspace(1, 3, 1000); @@ -862,10 +987,10 @@ xlim([freqs(1), freqs(end)]); exportFig('figs/enc_struts_iff_comp_simscape.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_struts_iff_comp_simscape +#+name: fig:test_nhexa_enc_struts_iff_comp_simscape #+caption: Comparison of the diagonal elements of the transfer function matrix from $\bm{u}$ to $\bm{\tau}_m$ - Simscape Model and measured FRF #+RESULTS: -[[file:figs/enc_struts_iff_comp_simscape.png]] +[[file:figs/test_nhexa_enc_struts_iff_comp_simscape.png]] #+begin_src matlab :exports none %% Bode plot of the identified IFF Plant (Simscape) and measured FRF data (off-diagonal elements) @@ -901,13 +1026,13 @@ legend('location', 'northeast'); exportFig('figs/enc_struts_iff_comp_offdiag_simscape.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:enc_struts_iff_comp_offdiag_simscape +#+name: fig:test_nhexa_enc_struts_iff_comp_offdiag_simscape #+caption: Comparison of the off-diagonal elements of the transfer function matrix from $\bm{u}$ to $\bm{\tau}_m$ - Simscape Model and measured FRF #+RESULTS: -[[file:figs/enc_struts_iff_comp_offdiag_simscape.png]] +[[file:figs/test_nhexa_enc_struts_iff_comp_offdiag_simscape.png]] *** Dynamics from Actuator to Encoder -The comparison between the model is done in Figures ref:fig:enc_struts_dvf_comp_simscape and ref:fig:enc_struts_dvf_comp_offdiag_simscape. +The comparison between the model is done in Figures ref:fig:test_nhexa_enc_struts_dvf_comp_simscape and ref:fig:test_nhexa_enc_struts_dvf_comp_offdiag_simscape. #+begin_src matlab :exports none %% Diagonal elements of the DVF plant @@ -956,10 +1081,10 @@ xlim([freqs(1), freqs(end)]); exportFig('figs/enc_struts_dvf_comp_simscape.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_struts_dvf_comp_simscape +#+name: fig:test_nhexa_enc_struts_dvf_comp_simscape #+caption: Diagonal elements of the DVF Plant #+RESULTS: -[[file:figs/enc_struts_dvf_comp_simscape.png]] +[[file:figs/test_nhexa_enc_struts_dvf_comp_simscape.png]] #+begin_src matlab :exports none %% Off-diagonal elements of the DVF plant @@ -995,10 +1120,10 @@ legend('location', 'northeast'); exportFig('figs/enc_struts_dvf_comp_offdiag_simscape.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:enc_struts_dvf_comp_offdiag_simscape +#+name: fig:test_nhexa_enc_struts_dvf_comp_offdiag_simscape #+caption: Off diagonal elements of the DVF Plant #+RESULTS: -[[file:figs/enc_struts_dvf_comp_offdiag_simscape.png]] +[[file:figs/test_nhexa_enc_struts_dvf_comp_offdiag_simscape.png]] #+begin_important The Simscape model is quite accurately representing the system dynamics. @@ -1038,7 +1163,7 @@ io(io_i) = linio([mdl, '/dL'], 1, 'openoutput'); io_i = io_i + 1; % Encoders sim_flex.G_dL = exp(-s*frf_ol.Ts)*linearize(mdl, io, 0.0, options); #+end_src -The obtained diagonal elements are compared with the measurements in Figure ref:fig:comp_frf_sim_enc_struts_modes. +The obtained diagonal elements are compared with the measurements in Figure ref:fig:test_nhexa_comp_frf_sim_enc_struts_modes. Modeling the APA as flexible elements can indeed yields to more accurate models. However this also adds a lot of states to the system, and time domain simulations can become realy long to perform. @@ -1106,22 +1231,22 @@ xlim([50, 5e2]); ylim([1e-6, 1e-3]); exportFig('figs/comp_frf_sim_enc_struts_modes.pdf', 'width', 'full', 'height', 'tall'); #+end_src -#+name: fig:comp_frf_sim_enc_struts_modes +#+name: fig:test_nhexa_comp_frf_sim_enc_struts_modes #+caption: Comparison of the measured transfer functions from $u_i$ to $d\mathcal{L}_{m,i}$ - Simscape model and measured FRF #+RESULTS: -[[file:figs/comp_frf_sim_enc_struts_modes.png]] +[[file:figs/test_nhexa_comp_frf_sim_enc_struts_modes.png]] ** Integral Force Feedback :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/iff_enc_struts.m :END: -<> +<> *** Introduction :ignore: In this section, the Integral Force Feedback (IFF) control strategy is applied to the nano-hexapod. The main goal of this to add damping to the nano-hexapod's modes. -The control architecture is shown in Figure ref:fig:control_architecture_iff_struts where $\bm{K}_\text{IFF}$ is a diagonal $6 \times 6$ controller. +The control architecture is shown in Figure ref:fig:test_nhexa_control_architecture_iff_struts where $\bm{K}_\text{IFF}$ is a diagonal $6 \times 6$ controller. The system as then a new input $\bm{u}^\prime$, and the transfer function from $\bm{u}^\prime$ to $d\bm{\mathcal{L}}_m$ should be easier to control than the initial transfer function from $\bm{u}$ to $d\bm{\mathcal{L}}_m$. @@ -1147,17 +1272,17 @@ The system as then a new input $\bm{u}^\prime$, and the transfer function from $ \end{tikzpicture} #+end_src -#+name: fig:control_architecture_iff_struts +#+name: fig:test_nhexa_control_architecture_iff_struts #+caption: Integral Force Feedback Strategy #+RESULTS: -[[file:figs/control_architecture_iff_struts.png]] +[[file:figs/test_nhexa_control_architecture_iff_struts.png]] This section is structured as follow: -- Section ref:sec:iff_struts_plant_id: Using the Simscape model (APA taken as 2DoF model), the transfer function from $\bm{u}$ to $\bm{\tau}_m$ is identified. Based on the obtained dynamics, the control law is developed and the optimal gain is estimated using the Root Locus. -- Section ref:sec:iff_struts_effect_plant: Still using the Simscape model, the effect of the IFF gain on the the transfer function from $\bm{u}^\prime$ to $d\bm{\mathcal{L}}_m$ is studied. -- Section ref:sec:iff_struts_effect_plant_exp: The same is performed experimentally: several IFF gains are used and the damped plant is identified each time. -- Section ref:sec:iff_struts_opt_gain: The damped model and the identified damped system are compared for the optimal IFF gain. It is found that IFF indeed adds a lot of damping into the system. However it is not efficient in damping the spurious struts modes. -- Section ref:sec:iff_struts_comp_flex_model: Finally, a "flexible" model of the APA is used in the Simscape model and the optimally damped model is compared with the measurements. +- Section ref:sec:test_nhexa_iff_struts_plant_id: Using the Simscape model (APA taken as 2DoF model), the transfer function from $\bm{u}$ to $\bm{\tau}_m$ is identified. Based on the obtained dynamics, the control law is developed and the optimal gain is estimated using the Root Locus. +- Section ref:sec:test_nhexa_iff_struts_effect_plant: Still using the Simscape model, the effect of the IFF gain on the the transfer function from $\bm{u}^\prime$ to $d\bm{\mathcal{L}}_m$ is studied. +- Section ref:sec:test_nhexa_iff_struts_effect_plant_exp: The same is performed experimentally: several IFF gains are used and the damped plant is identified each time. +- Section ref:sec:test_nhexa_iff_struts_opt_gain: The damped model and the identified damped system are compared for the optimal IFF gain. It is found that IFF indeed adds a lot of damping into the system. However it is not efficient in damping the spurious struts modes. +- Section ref:sec:test_nhexa_iff_struts_comp_flex_model: Finally, a "flexible" model of the APA is used in the Simscape model and the optimally damped model is compared with the measurements. *** Matlab Init :noexport:ignore: #+begin_src matlab @@ -1197,7 +1322,7 @@ sim_ol = load('simscape_plants_enc_struts.mat', 'G_tau', 'G_dL'); #+end_src *** IFF Control Law and Optimal Gain -<> +<> The IFF controller is defined as shown below: #+begin_src matlab @@ -1208,7 +1333,7 @@ Kiff_g1 = -(1/(s + 2*pi*40))*... % LPF: provides integral action above 40Hz eye(6); % Diagonal 6x6 controller #+end_src -Then, the poles of the system are shown in the complex plane as a function of the controller gain (i.e. Root Locus plot) in Figure ref:fig:enc_struts_iff_root_locus. +Then, the poles of the system are shown in the complex plane as a function of the controller gain (i.e. Root Locus plot) in Figure ref:fig:test_nhexa_enc_struts_iff_root_locus. A gain of $400$ is chosen as the "optimal" gain as it visually seems to be the gain that adds the maximum damping to all the suspension modes simultaneously. #+begin_src matlab :exports none @@ -1245,10 +1370,10 @@ legend('location', 'northwest'); exportFig('figs/enc_struts_iff_root_locus.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_struts_iff_root_locus +#+name: fig:test_nhexa_enc_struts_iff_root_locus #+caption: Root Locus for the IFF control strategy #+RESULTS: -[[file:figs/enc_struts_iff_root_locus.png]] +[[file:figs/test_nhexa_enc_struts_iff_root_locus.png]] Then the "optimal" IFF controller is defined: #+begin_src matlab @@ -1265,7 +1390,7 @@ save('matlab/data_sim/Kiff_struts_no_payload.mat', 'Kiff') save('data_sim/Kiff_struts_no_payload.mat', 'Kiff') #+end_src -The bode plots of the "diagonal" elements of the loop gain are shown in Figure ref:fig:enc_struts_iff_opt_loop_gain. +The bode plots of the "diagonal" elements of the loop gain are shown in Figure ref:fig:test_nhexa_enc_struts_iff_opt_loop_gain. It is shown that the phase and gain margins are quite high and the loop gain is large around the resonances. #+begin_src matlab :exports none %% Bode plot of the "decentralized loop gain" @@ -1302,13 +1427,13 @@ xlim([freqs(1), freqs(end)]); exportFig('figs/enc_struts_iff_opt_loop_gain.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_struts_iff_opt_loop_gain +#+name: fig:test_nhexa_enc_struts_iff_opt_loop_gain #+caption: Bode plot of the "decentralized loop gain" $G_\text{iff}(i,i) \times K_\text{iff}(i,i)$ #+RESULTS: -[[file:figs/enc_struts_iff_opt_loop_gain.png]] +[[file:figs/test_nhexa_enc_struts_iff_opt_loop_gain.png]] *** Effect of IFF on the transfer function from actuator to encoder - Simulations -<> +<> Still using the Simscape model with encoders fixed to the struts and 2DoF APA, the IFF strategy is tested. #+begin_src matlab @@ -1352,7 +1477,7 @@ for i = 1:length(iff_gains) end #+end_src -The obtained dynamics are shown in Figure ref:fig:enc_struts_iff_gains_effect_dvf_plant. +The obtained dynamics are shown in Figure ref:fig:test_nhexa_enc_struts_iff_gains_effect_dvf_plant. #+begin_src matlab :exports none %% Bode plot of the transfer function from u to dLm for tested values of the IFF gain freqs = 2*logspace(1, 3, 1000); @@ -1390,13 +1515,13 @@ xlim([freqs(1), freqs(end)]); exportFig('figs/enc_struts_iff_gains_effect_dvf_plant.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_struts_iff_gains_effect_dvf_plant +#+name: fig:test_nhexa_enc_struts_iff_gains_effect_dvf_plant #+caption: Effect of the IFF gain $g$ on the transfer function from $\bm{\tau}$ to $d\bm{\mathcal{L}}_m$ #+RESULTS: -[[file:figs/enc_struts_iff_gains_effect_dvf_plant.png]] +[[file:figs/test_nhexa_enc_struts_iff_gains_effect_dvf_plant.png]] *** Effect of IFF on the plant - Experimental Results -<> +<> **** Introduction :ignore: The IFF strategy is applied experimentally and the transfer function from $\bm{u}^\prime$ to $d\bm{\mathcal{L}}_m$ is identified for all the defined values of the gain. @@ -1440,7 +1565,7 @@ for i = 1:length(iff_gains) end #+end_src -The obtained dynamics as shown in the bode plot in Figure ref:fig:comp_iff_gains_dvf_plant. +The obtained dynamics as shown in the bode plot in Figure ref:fig:test_nhexa_comp_iff_gains_dvf_plant. The dashed curves are the results obtained using the model, and the solid curves the results from the experimental identification. #+begin_src matlab :exports none %% Bode plot of the transfer function from u to dLm for tested values of the IFF gain @@ -1488,12 +1613,12 @@ xlim([freqs(1), freqs(end)]); exportFig('figs/comp_iff_gains_dvf_plant.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:comp_iff_gains_dvf_plant +#+name: fig:test_nhexa_comp_iff_gains_dvf_plant #+caption: Transfer function from $u$ to $d\mathcal{L}_m$ for multiple values of the IFF gain #+RESULTS: -[[file:figs/comp_iff_gains_dvf_plant.png]] +[[file:figs/test_nhexa_comp_iff_gains_dvf_plant.png]] -The bode plot is then zoomed on the suspension modes of the nano-hexapod in Figure ref:fig:comp_iff_gains_dvf_plant_zoom. +The bode plot is then zoomed on the suspension modes of the nano-hexapod in Figure ref:fig:test_nhexa_comp_iff_gains_dvf_plant_zoom. #+begin_src matlab :exports none xlim([20, 200]); #+end_src @@ -1502,10 +1627,10 @@ xlim([20, 200]); exportFig('figs/comp_iff_gains_dvf_plant_zoom.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:comp_iff_gains_dvf_plant_zoom +#+name: fig:test_nhexa_comp_iff_gains_dvf_plant_zoom #+caption: Transfer function from $u$ to $d\mathcal{L}_m$ for multiple values of the IFF gain (Zoom) #+RESULTS: -[[file:figs/comp_iff_gains_dvf_plant_zoom.png]] +[[file:figs/test_nhexa_comp_iff_gains_dvf_plant_zoom.png]] #+begin_important The IFF control strategy is very effective for the damping of the suspension modes. @@ -1515,7 +1640,7 @@ Also, the experimental results and the models obtained from the Simscape model a #+end_important **** Experimental Results - Comparison of the un-damped and fully damped system -The un-damped and damped experimental plants are compared in Figure ref:fig:comp_undamped_opt_iff_gain_diagonal (diagonal terms). +The un-damped and damped experimental plants are compared in Figure ref:fig:test_nhexa_comp_undamped_opt_iff_gain_diagonal (diagonal terms). It is very clear that all the suspension modes are very well damped thanks to IFF. However, there is little to no effect on the flexible modes of the struts and of the plate. @@ -1576,13 +1701,13 @@ xlim([20, 2e3]); exportFig('figs/comp_undamped_opt_iff_gain_diagonal.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:comp_undamped_opt_iff_gain_diagonal +#+name: fig:test_nhexa_comp_undamped_opt_iff_gain_diagonal #+caption: Comparison of the diagonal elements of the tranfer function from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ without active damping and with optimal IFF gain #+RESULTS: -[[file:figs/comp_undamped_opt_iff_gain_diagonal.png]] +[[file:figs/test_nhexa_comp_undamped_opt_iff_gain_diagonal.png]] *** Experimental Results - Damped Plant with Optimal gain -<> +<> **** Introduction :ignore: Let's now look at the $6 \times 6$ damped plant with the optimal gain $g = 400$. @@ -1625,7 +1750,7 @@ for i = 1:6 end #+end_src -The obtained diagonal elements are compared with the model in Figure ref:fig:damped_iff_plant_comp_diagonal. +The obtained diagonal elements are compared with the model in Figure ref:fig:test_nhexa_damped_iff_plant_comp_diagonal. #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm freqs = 2*logspace(1, 3, 1000); @@ -1680,12 +1805,12 @@ xlim([20, 2e3]); exportFig('figs/damped_iff_plant_comp_diagonal.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:damped_iff_plant_comp_diagonal +#+name: fig:test_nhexa_damped_iff_plant_comp_diagonal #+caption: Comparison of the diagonal elements of the transfer functions from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ with active damping (IFF) applied with an optimal gain $g = 400$ #+RESULTS: -[[file:figs/damped_iff_plant_comp_diagonal.png]] +[[file:figs/test_nhexa_damped_iff_plant_comp_diagonal.png]] -And all the off-diagonal elements are compared with the model in Figure ref:fig:damped_iff_plant_comp_off_diagonal. +And all the off-diagonal elements are compared with the model in Figure ref:fig:test_nhexa_damped_iff_plant_comp_off_diagonal. #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm freqs = 2*logspace(1, 3, 1000); @@ -1753,10 +1878,10 @@ xlim([20, 2e3]); exportFig('figs/damped_iff_plant_comp_off_diagonal.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:damped_iff_plant_comp_off_diagonal +#+name: fig:test_nhexa_damped_iff_plant_comp_off_diagonal #+caption: Comparison of the off-diagonal elements of the transfer functions from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ with active damping (IFF) applied with an optimal gain $g = 400$ #+RESULTS: -[[file:figs/damped_iff_plant_comp_off_diagonal.png]] +[[file:figs/test_nhexa_damped_iff_plant_comp_off_diagonal.png]] #+begin_important With the IFF control strategy applied and the optimal gain used, the suspension modes are very well damped. @@ -1766,7 +1891,7 @@ The Simscape model and the experimental results are in very good agreement. #+end_important *** Comparison with the Flexible model -<> +<> When using the 2-DoF model for the APA, the flexible modes of the struts were not modelled, and it was the main limitation of the model. Now, let's use a flexible model for the APA, and see if the obtained damped plant using the model is similar to the measured dynamics. @@ -1808,7 +1933,7 @@ io(io_i) = linio([mdl, '/dL'], 1, 'openoutput'); io_i = io_i + 1; % Strut Displ Gd_iff = exp(-s*frf_ol.Ts)*linearize(mdl, io, 0.0, options); #+end_src -The obtained diagonal elements are shown in Figure ref:fig:enc_struts_iff_opt_damp_comp_flex_model_diag while the off-diagonal elements are shown in Figure ref:fig:enc_struts_iff_opt_damp_comp_flex_model_off_diag. +The obtained diagonal elements are shown in Figure ref:fig:test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_diag while the off-diagonal elements are shown in Figure ref:fig:test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_off_diag. #+begin_src matlab :exports none %% Bode plot for the transfer function from u' to dLm - Diagonal elements - Simscape and FRF freqs = 2*logspace(1, 3, 1000); @@ -1863,10 +1988,10 @@ xlim([20, 2e3]); exportFig('figs/enc_struts_iff_opt_damp_comp_flex_model_diag.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_struts_iff_opt_damp_comp_flex_model_diag +#+name: fig:test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_diag #+caption: Diagonal elements of the transfer function from $\bm{u}^\prime$ to $d\bm{\mathcal{L}}_m$ - comparison of the measured FRF and the identified dynamics using the flexible model #+RESULTS: -[[file:figs/enc_struts_iff_opt_damp_comp_flex_model_diag.png]] +[[file:figs/test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_diag.png]] #+begin_src matlab :exports none %% Bode plot for the transfer function from u' to dLm - Off diagonal elements - Simscape and FRF @@ -1935,10 +2060,10 @@ xlim([20, 2e3]); exportFig('figs/enc_struts_iff_opt_damp_comp_flex_model_off_diag.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_struts_iff_opt_damp_comp_flex_model_off_diag +#+name: fig:test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_off_diag #+caption: Off-diagonal elements of the transfer function from $\bm{u}^\prime$ to $d\bm{\mathcal{L}}_m$ - comparison of the measured FRF and the identified dynamics using the flexible model #+RESULTS: -[[file:figs/enc_struts_iff_opt_damp_comp_flex_model_off_diag.png]] +[[file:figs/test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_off_diag.png]] #+begin_important Using flexible models for the APA, the agreement between the Simscape model of the nano-hexapod and the measured FRF is very good. @@ -1957,25 +2082,25 @@ The Simscape model (especially when using a flexible model for the APA) is shown :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/enc_struts_compliance_iff.m :END: -<> +<> *** Introduction :ignore: -Several 3-axis accelerometers are fixed on the top platform of the nano-hexapod as shown in Figure ref:fig:compliance_vertical_comp_iff. +Several 3-axis accelerometers are fixed on the top platform of the nano-hexapod as shown in Figure ref:fig:test_nhexa_compliance_vertical_comp_iff. -#+name: fig:accelerometers_nano_hexapod +#+name: fig:test_nhexa_accelerometers_nano_hexapod #+caption: Location of the accelerometers on top of the nano-hexapod #+attr_latex: :width \linewidth -[[file:figs/accelerometers_nano_hexapod.jpg]] +[[file:figs/test_nhexa_accelerometers_nano_hexapod.jpg]] -The top platform is then excited using an instrumented hammer as shown in Figure ref:fig:hammer_excitation_compliance_meas. +The top platform is then excited using an instrumented hammer as shown in Figure ref:fig:test_nhexa_hammer_excitation_compliance_meas. -#+name: fig:hammer_excitation_compliance_meas +#+name: fig:test_nhexa_hammer_excitation_compliance_meas #+caption: Example of an excitation using an instrumented hammer #+attr_latex: :width \linewidth -[[file:figs/hammer_excitation_compliance_meas.jpg]] +[[file:figs/test_nhexa_hammer_excitation_compliance_meas.jpg]] -From this experiment, the resonance frequencies and the associated mode shapes can be computed (Section ref:sec:modal_analysis_mode_shapes). -Then, in Section ref:sec:compliance_effect_iff, the vertical compliance of the nano-hexapod is experimentally estimated. -Finally, in Section ref:sec:compliance_effect_iff_comp_model, the measured compliance is compare with the estimated one from the Simscape model. +From this experiment, the resonance frequencies and the associated mode shapes can be computed (Section ref:sec:test_nhexa_modal_analysis_mode_shapes). +Then, in Section ref:sec:test_nhexa_compliance_effect_iff, the vertical compliance of the nano-hexapod is experimentally estimated. +Finally, in Section ref:sec:test_nhexa_compliance_effect_iff_comp_model, the measured compliance is compare with the estimated one from the Simscape model. *** Matlab Init :noexport:ignore: #+begin_src matlab @@ -2008,21 +2133,21 @@ Finally, in Section ref:sec:compliance_effect_iff_comp_model, the measured compl #+end_src *** Obtained Mode Shapes -<> +<> -We can observe the mode shapes of the first 6 modes that are the suspension modes (the plate is behaving as a solid body) in Figure ref:fig:mode_shapes_annotated. +We can observe the mode shapes of the first 6 modes that are the suspension modes (the plate is behaving as a solid body) in Figure ref:fig:test_nhexa_mode_shapes_annotated. -#+name: fig:mode_shapes_annotated +#+name: fig:test_nhexa_mode_shapes_annotated #+caption: Measured mode shapes for the first six modes #+attr_latex: :width \linewidth -[[file:figs/mode_shapes_annotated.gif]] +[[file:figs/test_nhexa_mode_shapes_annotated.gif]] -Then, there is a mode at 692Hz which corresponds to a flexible mode of the top plate (Figure ref:fig:mode_shapes_flexible_annotated). +Then, there is a mode at 692Hz which corresponds to a flexible mode of the top plate (Figure ref:fig:test_nhexa_mode_shapes_flexible_annotated). -#+name: fig:mode_shapes_flexible_annotated +#+name: fig:test_nhexa_mode_shapes_flexible_annotated #+caption: First flexible mode at 692Hz #+attr_latex: :width 0.3\linewidth -[[file:figs/ModeShapeFlex1_crop.gif]] +[[file:figs/test_nhexa_ModeShapeFlex1_crop.gif]] The obtained modes are summarized in Table ref:tab:description_modes. @@ -2041,7 +2166,7 @@ The obtained modes are summarized in Table ref:tab:description_modes. | 7 | 692 | (flexible) Membrane mode of the top platform | *** Nano-Hexapod Compliance - Effect of IFF -<> +<> In this section, we wish to estimate the effectiveness of the IFF strategy regarding the compliance. @@ -2062,7 +2187,7 @@ d_frf_ol = 10/5*(frf_ol.FFT1_H1_4_1_RMS_Y_Mod + frf_ol.FFT1_H1_7_1_RMS_Y_Mod + f d_frf_iff = 10/5*(frf_iff.FFT1_H1_4_1_RMS_Y_Mod + frf_iff.FFT1_H1_7_1_RMS_Y_Mod + frf_iff.FFT1_H1_10_1_RMS_Y_Mod + frf_iff.FFT1_H1_13_1_RMS_Y_Mod + frf_iff.FFT1_H1_16_1_RMS_Y_Mod)./(2*pi*frf_iff.FFT1_H1_16_1_RMS_X_Val).^2; #+end_src -The vertical compliance (magnitude of the transfer function from a vertical force applied on the top plate to the vertical motion of the top plate) is shown in Figure ref:fig:compliance_vertical_comp_iff. +The vertical compliance (magnitude of the transfer function from a vertical force applied on the top plate to the vertical motion of the top plate) is shown in Figure ref:fig:test_nhexa_compliance_vertical_comp_iff. #+begin_src matlab :exports none %% Comparison of the vertical compliances (OL and IFF) figure; @@ -2080,20 +2205,20 @@ legend('location', 'northeast'); exportFig('figs/compliance_vertical_comp_iff.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:compliance_vertical_comp_iff +#+name: fig:test_nhexa_compliance_vertical_comp_iff #+caption: Measured vertical compliance with and without IFF #+RESULTS: -[[file:figs/compliance_vertical_comp_iff.png]] +[[file:figs/test_nhexa_compliance_vertical_comp_iff.png]] #+begin_important -From Figure ref:fig:compliance_vertical_comp_iff, it is clear that the IFF control strategy is very effective in damping the suspensions modes of the nano-hexapod. +From Figure ref:fig:test_nhexa_compliance_vertical_comp_iff, it is clear that the IFF control strategy is very effective in damping the suspensions modes of the nano-hexapod. It also has the effect of (slightly) degrading the vertical compliance at low frequency. It also seems some damping can be added to the modes at around 205Hz which are flexible modes of the struts. #+end_important *** Comparison with the Simscape Model -<> +<> Let's initialize the Simscape model such that it corresponds to the experiment. #+begin_src matlab @@ -2144,7 +2269,7 @@ n_hexapod = initializeNanoHexapodFinal('flex_bot_type', '4dof', ... G_compl_z_iff = linearize(mdl, io, 0.0, options); #+end_src -The comparison is done in Figure ref:fig:compliance_vertical_comp_model_iff. +The comparison is done in Figure ref:fig:test_nhexa_compliance_vertical_comp_model_iff. Again, the model is quite accurate in predicting the (closed-loop) behavior of the system. #+begin_src matlab :exports none @@ -2169,48 +2294,48 @@ legend('location', 'northeast', 'FontSize', 8); exportFig('figs/compliance_vertical_comp_model_iff.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:compliance_vertical_comp_model_iff +#+name: fig:test_nhexa_compliance_vertical_comp_model_iff #+caption: Measured vertical compliance with and without IFF #+RESULTS: -[[file:figs/compliance_vertical_comp_model_iff.png]] +[[file:figs/test_nhexa_compliance_vertical_comp_model_iff.png]] ** Conclusion #+begin_important From the previous analysis, several conclusions can be drawn: -- Decentralized IFF is very effective in damping the "suspension" modes of the nano-hexapod (Figure ref:fig:comp_undamped_opt_iff_gain_diagonal) -- Decentralized IFF does not damp the "spurious" modes of the struts nor the flexible modes of the top plate (Figure ref:fig:comp_undamped_opt_iff_gain_diagonal) -- Even though the Simscape model and the experimentally measured FRF are in good agreement (Figures ref:fig:enc_struts_iff_opt_damp_comp_flex_model_diag and ref:fig:enc_struts_iff_opt_damp_comp_flex_model_off_diag), the obtain dynamics from the control inputs $\bm{u}$ and the encoders $d\bm{\mathcal{L}}_m$ is very difficult to control +- Decentralized IFF is very effective in damping the "suspension" modes of the nano-hexapod (Figure ref:fig:test_nhexa_comp_undamped_opt_iff_gain_diagonal) +- Decentralized IFF does not damp the "spurious" modes of the struts nor the flexible modes of the top plate (Figure ref:fig:test_nhexa_comp_undamped_opt_iff_gain_diagonal) +- Even though the Simscape model and the experimentally measured FRF are in good agreement (Figures ref:fig:test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_diag and ref:fig:test_nhexa_enc_struts_iff_opt_damp_comp_flex_model_off_diag), the obtain dynamics from the control inputs $\bm{u}$ and the encoders $d\bm{\mathcal{L}}_m$ is very difficult to control Therefore, in the following sections, the encoders will be fixed to the plates. The goal is to be less sensitive to the flexible modes of the struts. #+end_important * Encoders fixed to the plates -<> +<> ** Introduction :ignore: -In this section, the encoders are fixed to the plates rather than to the struts as shown in Figure ref:fig:enc_fixed_to_struts. +In this section, the encoders are fixed to the plates rather than to the struts as shown in Figure ref:fig:test_nhexa_enc_fixed_to_struts. -#+name: fig:enc_fixed_to_struts +#+name: fig:test_nhexa_enc_fixed_to_struts #+caption: Nano-Hexapod with encoders fixed to the struts #+attr_latex: :width \linewidth -[[file:figs/IMG_20210625_083801.jpg]] +[[file:figs/test_nhexa_IMG_20210625_083801.jpg]] It is structured as follow: -- Section ref:sec:enc_plates_plant_id: The dynamics of the nano-hexapod is identified. -- Section ref:sec:enc_plates_comp_simscape: The identified dynamics is compared with the Simscape model. -- Section ref:sec:enc_plates_iff: The Integral Force Feedback (IFF) control strategy is applied and the dynamics of the damped nano-hexapod is identified and compare with the Simscape model. +- Section ref:sec:test_nhexa_enc_plates_plant_id: The dynamics of the nano-hexapod is identified. +- Section ref:sec:test_nhexa_enc_plates_comp_simscape: The identified dynamics is compared with the Simscape model. +- Section ref:sec:test_nhexa_enc_plates_iff: The Integral Force Feedback (IFF) control strategy is applied and the dynamics of the damped nano-hexapod is identified and compare with the Simscape model. ** Identification of the dynamics :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/id_frf_enc_plates.m :END: -<> +<> *** Introduction :ignore: In this section, the dynamics of the nano-hexapod with the encoders fixed to the plates is identified. -First, the measurement data are loaded in Section ref:sec:enc_plates_plant_id_setup, then the transfer function matrix from the actuators to the encoders are estimated in Section ref:sec:enc_plates_plant_id_dvf. -Finally, the transfer function matrix from the actuators to the force sensors is estimated in Section ref:sec:enc_plates_plant_id_iff. +First, the measurement data are loaded in Section ref:sec:test_nhexa_enc_plates_plant_id_setup, then the transfer function matrix from the actuators to the encoders are estimated in Section ref:sec:test_nhexa_enc_plates_plant_id_dvf. +Finally, the transfer function matrix from the actuators to the force sensors is estimated in Section ref:sec:test_nhexa_enc_plates_plant_id_iff. *** Matlab Init :noexport:ignore: #+begin_src matlab @@ -2240,7 +2365,7 @@ Finally, the transfer function matrix from the actuators to the force sensors is #+end_src *** Data Loading and Spectral Analysis Setup -<> +<> The actuators are excited one by one using a low pass filtered white noise. For each excitation, the 6 force sensors and 6 encoders are measured and saved. @@ -2269,7 +2394,7 @@ win = hanning(ceil(1*Fs)); #+end_src *** Transfer function from Actuator to Encoder -<> +<> The 6x6 transfer function matrix from the excitation voltage $\bm{u}$ and the displacement $d\bm{\mathcal{L}}_m$ as measured by the encoders is estimated. @@ -2282,7 +2407,7 @@ for i = 1:6 end #+end_src -The diagonal and off-diagonal terms of this transfer function matrix are shown in Figure ref:fig:enc_plates_dvf_frf. +The diagonal and off-diagonal terms of this transfer function matrix are shown in Figure ref:fig:test_nhexa_enc_plates_dvf_frf. #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm figure; @@ -2329,21 +2454,21 @@ xlim([20, 2e3]); exportFig('figs/enc_plates_dvf_frf.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_plates_dvf_frf +#+name: fig:test_nhexa_enc_plates_dvf_frf #+caption: Measured FRF for the transfer function from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ #+RESULTS: -[[file:figs/enc_plates_dvf_frf.png]] +[[file:figs/test_nhexa_enc_plates_dvf_frf.png]] #+begin_important -From Figure ref:fig:enc_plates_dvf_frf, we can draw few conclusions on the transfer functions from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ when the encoders are fixed to the plates: +From Figure ref:fig:test_nhexa_enc_plates_dvf_frf, we can draw few conclusions on the transfer functions from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ when the encoders are fixed to the plates: - the decoupling is rather good at low frequency (below the first suspension mode). - The low frequency gain is constant for the off diagonal terms, whereas when the encoders where fixed to the struts, the low frequency gain of the off-diagonal terms were going to zero (Figure ref:fig:enc_struts_dvf_frf). + The low frequency gain is constant for the off diagonal terms, whereas when the encoders where fixed to the struts, the low frequency gain of the off-diagonal terms were going to zero (Figure ref:fig:test_nhexa_enc_struts_dvf_frf). - the flexible modes of the struts at 226Hz and 337Hz are indeed shown in the transfer functions, but their amplitudes are rather low. -- the diagonal terms have alternating poles and zeros up to at least 600Hz: the flexible modes of the struts are not affecting the alternating pole/zero pattern. This what not the case when the encoders were fixed to the struts (Figure ref:fig:enc_struts_dvf_frf). +- the diagonal terms have alternating poles and zeros up to at least 600Hz: the flexible modes of the struts are not affecting the alternating pole/zero pattern. This what not the case when the encoders were fixed to the struts (Figure ref:fig:test_nhexa_enc_struts_dvf_frf). #+end_important *** Transfer function from Actuator to Force Sensor -<> +<> Then the 6x6 transfer function matrix from the excitation voltage $\bm{u}$ and the voltage $\bm{\tau}_m$ generated by the Force senors is estimated. #+begin_src matlab %% IFF Plant @@ -2354,7 +2479,7 @@ for i = 1:6 end #+end_src -The bode plot of the diagonal and off-diagonal terms are shown in Figure ref:fig:enc_plates_iff_frf. +The bode plot of the diagonal and off-diagonal terms are shown in Figure ref:fig:test_nhexa_enc_plates_iff_frf. #+begin_src matlab :exports none %% Bode plot of the IFF Plant (transfer function from u to taum) figure; @@ -2401,13 +2526,13 @@ xlim([20, 2e3]); exportFig('figs/enc_plates_iff_frf.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_plates_iff_frf +#+name: fig:test_nhexa_enc_plates_iff_frf #+caption: Measured FRF for the IFF plant #+RESULTS: -[[file:figs/enc_plates_iff_frf.png]] +[[file:figs/test_nhexa_enc_plates_iff_frf.png]] #+begin_important -It is shown in Figure ref:fig:enc_plates_iff_comp_simscape_all that: +It is shown in Figure ref:fig:test_nhexa_enc_plates_iff_comp_simscape_all that: - The IFF plant has alternating poles and zeros - The first flexible mode of the struts as 235Hz is appearing, and therefore is should be possible to add some damping to this mode using IFF - The decoupling is quite good at low frequency (below the first model) as well as high frequency (above the last suspension mode, except near the flexible modes of the top plate) @@ -2427,9 +2552,9 @@ save('data_frf/identified_plants_enc_plates.mat', 'f', 'Ts', 'G_tau', 'G_dL') :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/frf_enc_plates_comp_simscape.m :END: -<> +<> *** Introduction :ignore: -In this section, the measured dynamics done in Section ref:sec:enc_plates_plant_id is compared with the dynamics estimated from the Simscape model. +In this section, the measured dynamics done in Section ref:sec:test_nhexa_enc_plates_plant_id is compared with the dynamics estimated from the Simscape model. *** Matlab Init :noexport:ignore: #+begin_src matlab @@ -2517,9 +2642,9 @@ sim_ol = load('simscape_plants_enc_plates.mat', 'G_tau', 'G_dL'); *** Dynamics from Actuator to Force Sensors The identified dynamics is compared with the measured FRF: -- Figure ref:fig:enc_plates_iff_comp_simscape_all: the individual transfer function from $u_1$ (the DAC voltage for the first actuator) to the force sensors of all 6 struts are compared -- Figure ref:fig:enc_plates_iff_comp_simscape: all the diagonal elements are compared -- Figure ref:fig:enc_plates_iff_comp_offdiag_simscape: all the off-diagonal elements are compared +- Figure ref:fig:test_nhexa_enc_plates_iff_comp_simscape_all: the individual transfer function from $u_1$ (the DAC voltage for the first actuator) to the force sensors of all 6 struts are compared +- Figure ref:fig:test_nhexa_enc_plates_iff_comp_simscape: all the diagonal elements are compared +- Figure ref:fig:test_nhexa_enc_plates_iff_comp_offdiag_simscape: all the off-diagonal elements are compared #+begin_src matlab :exports none %% Comparison of the plants (encoder output) when tuning the misalignment @@ -2595,10 +2720,10 @@ xlim([20, 2e3]); ylim([1e-2, 1e2]); exportFig('figs/enc_plates_iff_comp_simscape_all.pdf', 'width', 'full', 'height', 'tall'); #+end_src -#+name: fig:enc_plates_iff_comp_simscape_all +#+name: fig:test_nhexa_enc_plates_iff_comp_simscape_all #+caption: IFF Plant for the first actuator input and all the force senosrs #+RESULTS: -[[file:figs/enc_plates_iff_comp_simscape_all.png]] +[[file:figs/test_nhexa_enc_plates_iff_comp_simscape_all.png]] #+begin_src matlab :exports none %% Bode plot of the identified IFF Plant (Simscape) and measured FRF data @@ -2646,10 +2771,10 @@ xlim([freqs(1), freqs(end)]); exportFig('figs/enc_plates_iff_comp_simscape.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_plates_iff_comp_simscape +#+name: fig:test_nhexa_enc_plates_iff_comp_simscape #+caption: Diagonal elements of the IFF Plant #+RESULTS: -[[file:figs/enc_plates_iff_comp_simscape.png]] +[[file:figs/test_nhexa_enc_plates_iff_comp_simscape.png]] #+begin_src matlab :exports none %% Bode plot of the identified IFF Plant (Simscape) and measured FRF data (off-diagonal elements) @@ -2687,16 +2812,16 @@ legend('location', 'northeast'); exportFig('figs/enc_plates_iff_comp_offdiag_simscape.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:enc_plates_iff_comp_offdiag_simscape +#+name: fig:test_nhexa_enc_plates_iff_comp_offdiag_simscape #+caption: Off diagonal elements of the IFF Plant #+RESULTS: -[[file:figs/enc_plates_iff_comp_offdiag_simscape.png]] +[[file:figs/test_nhexa_enc_plates_iff_comp_offdiag_simscape.png]] *** Dynamics from Actuator to Encoder The identified dynamics is compared with the measured FRF: -- Figure ref:fig:enc_plates_dvf_comp_simscape_all: the individual transfer function from $u_3$ (the DAC voltage for the actuator number 3) to the six encoders -- Figure ref:fig:enc_plates_dvf_comp_simscape: all the diagonal elements are compared -- Figure ref:fig:enc_plates_dvf_comp_offdiag_simscape: all the off-diagonal elements are compared +- Figure ref:fig:test_nhexa_enc_plates_dvf_comp_simscape_all: the individual transfer function from $u_3$ (the DAC voltage for the actuator number 3) to the six encoders +- Figure ref:fig:test_nhexa_enc_plates_dvf_comp_simscape: all the diagonal elements are compared +- Figure ref:fig:test_nhexa_enc_plates_dvf_comp_offdiag_simscape: all the off-diagonal elements are compared #+begin_src matlab :exports none %% Comparison of the plants (encoder output) when tuning the misalignment @@ -2772,10 +2897,10 @@ xlim([40, 4e2]); ylim([1e-8, 1e-2]); exportFig('figs/enc_plates_dvf_comp_simscape_all.pdf', 'width', 'full', 'height', 'tall'); #+end_src -#+name: fig:enc_plates_dvf_comp_simscape_all +#+name: fig:test_nhexa_enc_plates_dvf_comp_simscape_all #+caption: DVF Plant for the first actuator input and all the encoders #+RESULTS: -[[file:figs/enc_plates_dvf_comp_simscape_all.png]] +[[file:figs/test_nhexa_enc_plates_dvf_comp_simscape_all.png]] #+begin_src matlab :exports none %% Diagonal elements of the DVF plant @@ -2824,10 +2949,10 @@ xlim([freqs(1), freqs(end)]); exportFig('figs/enc_plates_dvf_comp_simscape.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_plates_dvf_comp_simscape +#+name: fig:test_nhexa_enc_plates_dvf_comp_simscape #+caption: Diagonal elements of the DVF Plant #+RESULTS: -[[file:figs/enc_plates_dvf_comp_simscape.png]] +[[file:figs/test_nhexa_enc_plates_dvf_comp_simscape.png]] #+begin_src matlab :exports none %% Off-diagonal elements of the DVF plant @@ -2863,10 +2988,10 @@ legend('location', 'northeast'); exportFig('figs/enc_plates_dvf_comp_offdiag_simscape.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:enc_plates_dvf_comp_offdiag_simscape +#+name: fig:test_nhexa_enc_plates_dvf_comp_offdiag_simscape #+caption: Off diagonal elements of the DVF Plant #+RESULTS: -[[file:figs/enc_plates_dvf_comp_offdiag_simscape.png]] +[[file:figs/test_nhexa_enc_plates_dvf_comp_offdiag_simscape.png]] *** Conclusion #+begin_important @@ -2878,12 +3003,12 @@ The Simscape model can therefore be used to develop the control strategies. :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/iff_enc_plates.m :END: -<> +<> *** Introduction :ignore: In this section, the Integral Force Feedback (IFF) control strategy is applied to the nano-hexapod in order to add damping to the suspension modes. -The control architecture is shown in Figure ref:fig:control_architecture_iff: +The control architecture is shown in Figure ref:fig:test_nhexa_control_architecture_iff: - $\bm{\tau}_m$ is the measured voltage of the 6 force sensors - $\bm{K}_{\text{IFF}}$ is the $6 \times 6$ diagonal controller - $\bm{u}$ is the plant input (voltage generated by the 6 DACs) @@ -2911,12 +3036,12 @@ The control architecture is shown in Figure ref:fig:control_architecture_iff: \end{tikzpicture} #+end_src -#+name: fig:control_architecture_iff +#+name: fig:test_nhexa_control_architecture_iff #+caption: Integral Force Feedback Strategy #+RESULTS: -[[file:figs/control_architecture_iff.png]] +[[file:figs/test_nhexa_control_architecture_iff.png]] -- Section ref:sec:enc_struts_effect_iff_plant +- Section ref:sec:test_nhexa_enc_struts_effect_iff_plant *** Matlab Init :noexport:ignore: #+begin_src matlab @@ -2956,7 +3081,7 @@ sim_ol = load('simscape_plants_enc_plates.mat', 'G_tau', 'G_dL'); #+end_src *** Effect of IFF on the plant - Simscape Model -<> +<> The nano-hexapod is initialized with 2DoF APA and the encoders fixed to the struts. #+begin_src matlab @@ -3011,7 +3136,7 @@ save('data_frf/simscape_plants_enc_plates_iff.mat', 'G_dL'); sim_iff = load('simscape_plants_enc_plates_iff.mat', 'G_dL'); #+end_src -The diagonal and off-diagonal terms of the $6 \times 6$ transfer function matrices identified are compared in Figure ref:fig:enc_plates_iff_gains_effect_dvf_plant. +The diagonal and off-diagonal terms of the $6 \times 6$ transfer function matrices identified are compared in Figure ref:fig:test_nhexa_enc_plates_iff_gains_effect_dvf_plant. It is shown, as was the case when the encoders were fixed to the struts, that the IFF control strategy is very effective in damping the suspension modes of the nano-hexapod. #+begin_src matlab :exports none %% Bode plot of the transfer function from u to dLm with and without IFF @@ -3076,10 +3201,10 @@ xlim([freqs(1), freqs(end)]); exportFig('figs/enc_plates_iff_gains_effect_dvf_plant.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_plates_iff_gains_effect_dvf_plant +#+name: fig:test_nhexa_enc_plates_iff_gains_effect_dvf_plant #+caption: Effect of the IFF control strategy on the transfer function from $\bm{\tau}$ to $d\bm{\mathcal{L}}_m$ #+RESULTS: -[[file:figs/enc_plates_iff_gains_effect_dvf_plant.png]] +[[file:figs/test_nhexa_enc_plates_iff_gains_effect_dvf_plant.png]] *** Effect of IFF on the plant - FRF The IFF control strategy is experimentally implemented. @@ -3130,7 +3255,7 @@ save('data_frf/damped_plant_enc_plates.mat', 'f', 'Ts', 'G_dL') frf_iff = load('damped_plant_enc_plates.mat', 'f', 'Ts', 'G_dL'); #+end_src -The obtained diagonal and off-diagonal elements of the transfer function from $\bm{u}^\prime$ to $d\bm{\mathcal{L}}_m$ are shown in Figure ref:fig:enc_plant_plates_effect_iff both without and with IFF. +The obtained diagonal and off-diagonal elements of the transfer function from $\bm{u}^\prime$ to $d\bm{\mathcal{L}}_m$ are shown in Figure ref:fig:test_nhexa_enc_plant_plates_effect_iff both without and with IFF. #+begin_src matlab :exports none %% Bode plot of the transfer function from u to dLm with and without IFF (experimental results) figure; @@ -3190,10 +3315,10 @@ xlim([freqs(1), freqs(end)]); exportFig('figs/enc_plant_plates_effect_iff.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:enc_plant_plates_effect_iff +#+name: fig:test_nhexa_enc_plant_plates_effect_iff #+caption: Effect of the IFF control strategy on the transfer function from $\bm{\tau}$ to $d\bm{\mathcal{L}}_m$ #+RESULTS: -[[file:figs/enc_plant_plates_effect_iff.png]] +[[file:figs/test_nhexa_enc_plant_plates_effect_iff.png]] #+begin_important As was predicted with the Simscape model, the IFF control strategy is very effective in damping the suspension modes of the nano-hexapod. @@ -3203,9 +3328,9 @@ However, no damping is applied on other modes, such as the flexible modes of the *** Comparison of the measured FRF and the Simscape model Let's now compare the obtained damped plants obtained experimentally with the one extracted from Simscape: -- Figure ref:fig:enc_plates_opt_iff_comp_simscape_all: the individual transfer function from $u_1^\prime$ to the six encoders are comapred -- Figure ref:fig:damped_iff_plates_plant_comp_diagonal: all the diagonal elements are compared -- Figure ref:fig:damped_iff_plates_plant_comp_off_diagonal: all the off-diagonal elements are compared +- Figure ref:fig:test_nhexa_enc_plates_opt_iff_comp_simscape_all: the individual transfer function from $u_1^\prime$ to the six encoders are comapred +- Figure ref:fig:test_nhexa_damped_iff_plates_plant_comp_diagonal: all the diagonal elements are compared +- Figure ref:fig:test_nhexa_damped_iff_plates_plant_comp_off_diagonal: all the off-diagonal elements are compared #+begin_src matlab :exports none %% Comparison of the plants (encoder output) when tuning the misalignment @@ -3279,10 +3404,10 @@ xlim([freqs(1), 1e3]); ylim([1e-8, 1e-4]); exportFig('figs/enc_plates_opt_iff_comp_simscape_all.pdf', 'width', 'full', 'height', 'tall'); #+end_src -#+name: fig:enc_plates_opt_iff_comp_simscape_all +#+name: fig:test_nhexa_enc_plates_opt_iff_comp_simscape_all #+caption: FRF from one actuator to all the encoders when the plant is damped using IFF #+RESULTS: -[[file:figs/enc_plates_opt_iff_comp_simscape_all.png]] +[[file:figs/test_nhexa_enc_plates_opt_iff_comp_simscape_all.png]] #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm @@ -3334,10 +3459,10 @@ xlim([20, 2e3]); exportFig('figs/damped_iff_plates_plant_comp_diagonal.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:damped_iff_plates_plant_comp_diagonal +#+name: fig:test_nhexa_damped_iff_plates_plant_comp_diagonal #+caption: Comparison of the diagonal elements of the transfer functions from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ with active damping (IFF) applied with an optimal gain $g = 400$ #+RESULTS: -[[file:figs/damped_iff_plates_plant_comp_diagonal.png]] +[[file:figs/test_nhexa_damped_iff_plates_plant_comp_diagonal.png]] #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm @@ -3395,13 +3520,13 @@ xlim([20, 2e3]); exportFig('figs/damped_iff_plates_plant_comp_off_diagonal.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:damped_iff_plates_plant_comp_off_diagonal +#+name: fig:test_nhexa_damped_iff_plates_plant_comp_off_diagonal #+caption: Comparison of the off-diagonal elements of the transfer functions from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ with active damping (IFF) applied with an optimal gain $g = 400$ #+RESULTS: -[[file:figs/damped_iff_plates_plant_comp_off_diagonal.png]] +[[file:figs/test_nhexa_damped_iff_plates_plant_comp_off_diagonal.png]] #+begin_important -From Figures ref:fig:damped_iff_plates_plant_comp_diagonal and ref:fig:damped_iff_plates_plant_comp_off_diagonal, it is clear that the Simscape model very well represents the dynamics of the nano-hexapod. +From Figures ref:fig:test_nhexa_damped_iff_plates_plant_comp_diagonal and ref:fig:test_nhexa_damped_iff_plates_plant_comp_off_diagonal, it is clear that the Simscape model very well represents the dynamics of the nano-hexapod. This is true to around 400Hz, then the dynamics depends on the flexible modes of the top plate which are not modelled. #+end_important @@ -3409,18 +3534,18 @@ This is true to around 400Hz, then the dynamics depends on the flexible modes of :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/id_frf_enc_plates_effect_payload.m :END: -<> +<> *** Introduction :ignore: In this section, the encoders are fixed to the plates, and we identify the dynamics for several payloads. -The added payload are half cylinders, and three layers can be added for a total of around 40kg (Figure ref:fig:picture_added_3_masses). +The added payload are half cylinders, and three layers can be added for a total of around 40kg (Figure ref:fig:test_nhexa_picture_added_3_masses). -#+name: fig:picture_added_3_masses +#+name: fig:test_nhexa_picture_added_3_masses #+caption: Picture of the nano-hexapod with added mass #+attr_latex: :width \linewidth -[[file:figs/picture_added_3_masses.jpg]] +[[file:figs/test_nhexa_picture_added_3_masses.jpg]] First the dynamics from $\bm{u}$ to $d\mathcal{L}_m$ and $\bm{\tau}_m$ is identified. -Then, the Integral Force Feedback controller is developed and applied as shown in Figure ref:fig:nano_hexapod_signals_iff. +Then, the Integral Force Feedback controller is developed and applied as shown in Figure ref:fig:test_nhexa_nano_hexapod_signals_iff. Finally, the dynamics from $\bm{u}^\prime$ to $d\mathcal{L}_m$ is identified and the added damping can be estimated. #+begin_src latex :file nano_hexapod_signals_iff.pdf @@ -3469,10 +3594,10 @@ Finally, the dynamics from $\bm{u}^\prime$ to $d\mathcal{L}_m$ is identified and \end{tikzpicture} #+end_src -#+name: fig:nano_hexapod_signals_iff +#+name: fig:test_nhexa_nano_hexapod_signals_iff #+caption: Block Diagram of the experimental setup and model #+RESULTS: -[[file:figs/nano_hexapod_signals_iff.png]] +[[file:figs/test_nhexa_nano_hexapod_signals_iff.png]] *** Matlab Init :noexport:ignore: #+begin_src matlab @@ -3644,7 +3769,7 @@ xlim([10, 1e3]); *** Transfer function from Actuators to Encoders -The transfer functions from $\bm{u}$ to $d\bm{\mathcal{L}}_{m}$ are shown in Figure ref:fig:comp_plant_payloads_dvf. +The transfer functions from $\bm{u}$ to $d\bm{\mathcal{L}}_{m}$ are shown in Figure ref:fig:test_nhexa_comp_plant_payloads_dvf. #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm - Several payloads @@ -3697,20 +3822,20 @@ xlim([20, 2e3]); exportFig('figs/comp_plant_payloads_dvf.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:comp_plant_payloads_dvf +#+name: fig:test_nhexa_comp_plant_payloads_dvf #+caption: Measured Frequency Response Functions from $u_i$ to $d\mathcal{L}_{m,i}$ for all 4 payload conditions. Diagonal terms are solid lines, and shaded lines are off-diagonal terms. #+RESULTS: -[[file:figs/comp_plant_payloads_dvf.png]] +[[file:figs/test_nhexa_comp_plant_payloads_dvf.png]] #+begin_important -From Figure ref:fig:comp_plant_payloads_dvf, we can observe few things: +From Figure ref:fig:test_nhexa_comp_plant_payloads_dvf, we can observe few things: - The obtained dynamics is changing a lot between the case without mass and when there is at least one added mass. - Between 1, 2 and 3 added masses, the dynamics is not much different, and it would be easier to design a controller only for these cases. - The flexible modes of the top plate is first decreased a lot when the first mass is added (from 700Hz to 400Hz). This is due to the fact that the added mass is composed of two half cylinders which are not fixed together. Therefore is adds a lot of mass to the top plate without adding a lot of rigidity in one direction. - When more than 1 mass layer is added, the half cylinders are added with some angles such that rigidity are added in all directions (see Figure ref:fig:picture_added_3_masses). + When more than 1 mass layer is added, the half cylinders are added with some angles such that rigidity are added in all directions (see Figure ref:fig:test_nhexa_picture_added_3_masses). In that case, the frequency of these flexible modes are increased. In practice, the payload should be one solid body, and we should not see a massive decrease of the frequency of this flexible mode. - Flexible modes of the top plate are becoming less problematic as masses are added. @@ -3719,7 +3844,7 @@ From Figure ref:fig:comp_plant_payloads_dvf, we can observe few things: #+end_important *** Transfer function from Actuators to Force Sensors -The transfer functions from $\bm{u}$ to $\bm{\tau}_{m}$ are shown in Figure ref:fig:comp_plant_payloads_iff. +The transfer functions from $\bm{u}$ to $\bm{\tau}_{m}$ are shown in Figure ref:fig:test_nhexa_comp_plant_payloads_iff. #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm @@ -3771,18 +3896,18 @@ xlim([20, 2e3]); exportFig('figs/comp_plant_payloads_iff.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:comp_plant_payloads_iff +#+name: fig:test_nhexa_comp_plant_payloads_iff #+caption: Measured Frequency Response Functions from $u_i$ to $\tau_{m,i}$ for all 4 payload conditions. Diagonal terms are solid lines, and shaded lines are off-diagonal terms. #+RESULTS: -[[file:figs/comp_plant_payloads_iff.png]] +[[file:figs/test_nhexa_comp_plant_payloads_iff.png]] #+begin_important -From Figure ref:fig:comp_plant_payloads_iff, we can see that for all added payloads, the transfer function from $\bm{u}$ to $\bm{\tau}_{m}$ always has alternating poles and zeros. +From Figure ref:fig:test_nhexa_comp_plant_payloads_iff, we can see that for all added payloads, the transfer function from $\bm{u}$ to $\bm{\tau}_{m}$ always has alternating poles and zeros. #+end_important *** Coupling of the transfer function from Actuator to Encoders The RGA-number, which is a measure of the interaction in the system, is computed for the transfer function matrix from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ for all the payloads. -The obtained numbers are compared in Figure ref:fig:rga_num_ol_masses. +The obtained numbers are compared in Figure ref:fig:test_nhexa_rga_num_ol_masses. #+begin_src matlab :exports none %% Decentralized RGA - Undamped Plant @@ -3813,13 +3938,13 @@ legend('location', 'southeast', 'FontSize', 8, 'NumColumns', 2); exportFig('figs/rga_num_ol_masses.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:rga_num_ol_masses +#+name: fig:test_nhexa_rga_num_ol_masses #+caption: RGA-number for the open-loop transfer function from $\bm{u}$ to $d\bm{\mathcal{L}}_m$ #+RESULTS: -[[file:figs/rga_num_ol_masses.png]] +[[file:figs/test_nhexa_rga_num_ol_masses.png]] #+begin_important -From Figure ref:fig:rga_num_ol_masses, it is clear that the coupling is quite large starting from the first suspension mode of the nano-hexapod. +From Figure ref:fig:test_nhexa_rga_num_ol_masses, it is clear that the coupling is quite large starting from the first suspension mode of the nano-hexapod. Therefore, is the payload's mass is increase, the coupling in the system start to become unacceptably large at lower frequencies. #+end_important @@ -3827,7 +3952,7 @@ Therefore, is the payload's mass is increase, the coupling in the system start t :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/id_frf_enc_plates_effect_payload_comp_simscape.m :END: -<> +<> *** Introduction :ignore: Let's now compare the identified dynamics with the Simscape model. We wish to verify if the Simscape model is still accurate for all the tested payloads. @@ -3925,8 +4050,8 @@ sim_ol_m = load('sim_vib_table_m.mat', 'G_tau', 'G_dL'); #+end_src *** Transfer function from Actuators to Encoders -The measured FRF and the identified dynamics from $u_i$ to $d\mathcal{L}_{m,i}$ are compared in Figure ref:fig:comp_masses_model_exp_dvf. -A zoom near the "suspension" modes is shown in Figure ref:fig:comp_masses_model_exp_dvf_zoom. +The measured FRF and the identified dynamics from $u_i$ to $d\mathcal{L}_{m,i}$ are compared in Figure ref:fig:test_nhexa_comp_masses_model_exp_dvf. +A zoom near the "suspension" modes is shown in Figure ref:fig:test_nhexa_comp_masses_model_exp_dvf_zoom. #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm @@ -3978,10 +4103,10 @@ xlim([20, 1e3]); exportFig('figs/comp_masses_model_exp_dvf.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:comp_masses_model_exp_dvf +#+name: fig:test_nhexa_comp_masses_model_exp_dvf #+caption: Comparison of the transfer functions from $u_i$ to $d\mathcal{L}_{m,i}$ - measured FRF and identification from the Simscape model #+RESULTS: -[[file:figs/comp_masses_model_exp_dvf.png]] +[[file:figs/test_nhexa_comp_masses_model_exp_dvf.png]] #+begin_src matlab :exports none :tangle no ax1.YLim = [1e-6, 5e-4]; @@ -3992,10 +4117,10 @@ xlim([40, 2e2]); exportFig('figs/comp_masses_model_exp_dvf_zoom.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:comp_masses_model_exp_dvf_zoom +#+name: fig:test_nhexa_comp_masses_model_exp_dvf_zoom #+caption: Comparison of the transfer functions from $u_i$ to $d\mathcal{L}_{m,i}$ - measured FRF and identification from the Simscape model (Zoom) #+RESULTS: -[[file:figs/comp_masses_model_exp_dvf_zoom.png]] +[[file:figs/test_nhexa_comp_masses_model_exp_dvf_zoom.png]] #+begin_important The Simscape model is very accurately representing the measured dynamics up. @@ -4003,8 +4128,8 @@ Only the flexible modes of the struts and of the top plate are not represented h #+end_important *** Transfer function from Actuators to Force Sensors -The measured FRF and the identified dynamics from $u_i$ to $\tau_{m,i}$ are compared in Figure ref:fig:comp_masses_model_exp_iff. -A zoom near the "suspension" modes is shown in Figure ref:fig:comp_masses_model_exp_iff_zoom. +The measured FRF and the identified dynamics from $u_i$ to $\tau_{m,i}$ are compared in Figure ref:fig:test_nhexa_comp_masses_model_exp_iff. +A zoom near the "suspension" modes is shown in Figure ref:fig:test_nhexa_comp_masses_model_exp_iff_zoom. #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm @@ -4053,10 +4178,10 @@ xlim([20, 2e3]); exportFig('figs/comp_masses_model_exp_iff.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:comp_masses_model_exp_iff +#+name: fig:test_nhexa_comp_masses_model_exp_iff #+caption: Comparison of the transfer functions from $u_i$ to $\tau_{m,i}$ - measured FRF and identification from the Simscape model #+RESULTS: -[[file:figs/comp_masses_model_exp_iff.png]] +[[file:figs/test_nhexa_comp_masses_model_exp_iff.png]] #+begin_src matlab :exports none :tangle no xlim([40, 2e2]); @@ -4066,16 +4191,16 @@ xlim([40, 2e2]); exportFig('figs/comp_masses_model_exp_iff_zoom.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:comp_masses_model_exp_iff_zoom +#+name: fig:test_nhexa_comp_masses_model_exp_iff_zoom #+caption: Comparison of the transfer functions from $u_i$ to $\tau_{m,i}$ - measured FRF and identification from the Simscape model (Zoom) #+RESULTS: -[[file:figs/comp_masses_model_exp_iff_zoom.png]] +[[file:figs/test_nhexa_comp_masses_model_exp_iff_zoom.png]] ** Integral Force Feedback Controller :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/iff_robust_enc_plates.m :END: -<> +<> *** Introduction :ignore: In this section, we wish to develop the Integral Force Feedback controller that is robust with respect to the added payload. @@ -4122,7 +4247,7 @@ Kiff_g1 = -(1/(s + 2*pi*20))*... % LPF: provides integral action above 20[Hz] (1/(1 + s/2/pi/400)); % LPF: more robust to high frequency resonances #+end_src -Then, the Root Locus plot of Figure ref:fig:iff_root_locus_masses is used to estimate the optimal gain. +Then, the Root Locus plot of Figure ref:fig:test_nhexa_iff_root_locus_masses is used to estimate the optimal gain. This Root Locus plot is computed from the Simscape model. #+begin_src matlab :exports none %% Root Locus for IFF @@ -4169,10 +4294,10 @@ hold off; exportFig('figs/iff_root_locus_masses.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:iff_root_locus_masses +#+name: fig:test_nhexa_iff_root_locus_masses #+caption: Root Locus for the IFF control strategy (for all payload conditions). #+RESULTS: -[[file:figs/iff_root_locus_masses.png]] +[[file:figs/test_nhexa_iff_root_locus_masses.png]] #+begin_src matlab :exports none :tangle no %% Verify close-loop stability for all payloads @@ -4198,7 +4323,7 @@ save('matlab/data_sim/Kiff_robust_opt.mat', 'Kiff') save('data_sim/Kiff_robust_opt.mat', 'Kiff') #+end_src -The corresponding experimental loop gains are shown in Figure ref:fig:iff_loop_gain_masses. +The corresponding experimental loop gains are shown in Figure ref:fig:test_nhexa_iff_loop_gain_masses. #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm figure; @@ -4238,10 +4363,10 @@ xlim([10, 1e3]); exportFig('figs/iff_loop_gain_masses.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:iff_loop_gain_masses +#+name: fig:test_nhexa_iff_loop_gain_masses #+caption: Loop gain for the Integral Force Feedback controller #+RESULTS: -[[file:figs/iff_loop_gain_masses.png]] +[[file:figs/test_nhexa_iff_loop_gain_masses.png]] #+begin_important Based on the above analysis: @@ -4352,10 +4477,10 @@ xlim([freqs(1), freqs(end)]); exportFig('figs/damped_plant_model_masses.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:damped_plant_model_masses +#+name: fig:test_nhexa_damped_plant_model_masses #+caption: Transfer function from $u_i$ to $d\mathcal{L}_{m,i}$ (without active damping) and from $u^\prime_i$ to $d\mathcal{L}_{m,i}$ (with IFF) #+RESULTS: -[[file:figs/damped_plant_model_masses.png]] +[[file:figs/test_nhexa_damped_plant_model_masses.png]] *** Compute the identified FRF with IFF Several experimental identifications are done in order to identify the dynamics from $\bm{u}^\prime$ to $d\bm{\mathcal{L}}_m$ with the robust IFF controller implemented and with various payloads. @@ -4415,9 +4540,9 @@ frf_iff = load('frf_iff_vib_table_m.mat', 'f', 'Ts', 'G_dL'); #+end_src The following figures are computed: -- Figure ref:fig:damped_iff_plant_meas_frf: the measured damped FRF are displayed -- Figure ref:fig:comp_undamped_damped_plant_meas_frf: the open-loop and damped FRF are compared (diagonal elements) -- Figure ref:fig:comp_iff_plant_frf_sim: the obtained damped FRF is compared with the identified damped from using the Simscape model +- Figure ref:fig:test_nhexa_damped_iff_plant_meas_frf: the measured damped FRF are displayed +- Figure ref:fig:test_nhexa_comp_undamped_damped_plant_meas_frf: the open-loop and damped FRF are compared (diagonal elements) +- Figure ref:fig:test_nhexa_comp_iff_plant_frf_sim: the obtained damped FRF is compared with the identified damped from using the Simscape model #+begin_src matlab :exports none %% Diagonal and Off Diagonal elements of the damped plants @@ -4471,10 +4596,10 @@ xlim([10, 1e3]); exportFig('figs/damped_iff_plant_meas_frf.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:damped_iff_plant_meas_frf +#+name: fig:test_nhexa_damped_iff_plant_meas_frf #+caption: Diagonal and off-diagonal of the measured FRF matrix for the damped plant #+RESULTS: -[[file:figs/damped_iff_plant_meas_frf.png]] +[[file:figs/test_nhexa_damped_iff_plant_meas_frf.png]] #+begin_src matlab :exports none %% Comparison of the OL and IFF identified FRF @@ -4516,10 +4641,10 @@ xlim([10, 1e3]); exportFig('figs/comp_undamped_damped_plant_meas_frf.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:comp_undamped_damped_plant_meas_frf +#+name: fig:test_nhexa_comp_undamped_damped_plant_meas_frf #+caption: Damped and Undamped measured FRF (diagonal elements) #+RESULTS: -[[file:figs/comp_undamped_damped_plant_meas_frf.png]] +[[file:figs/test_nhexa_comp_undamped_damped_plant_meas_frf.png]] #+begin_src matlab :exports none %% Comparison of the measured FRF and identified TF of the damped plant @@ -4571,10 +4696,10 @@ xlim([10, 1e3]); exportFig('figs/comp_iff_plant_frf_sim.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:comp_iff_plant_frf_sim +#+name: fig:test_nhexa_comp_iff_plant_frf_sim #+caption: Comparison of the measured FRF and the identified dynamics from the Simscape model #+RESULTS: -[[file:figs/comp_iff_plant_frf_sim.png]] +[[file:figs/test_nhexa_comp_iff_plant_frf_sim.png]] #+begin_important The IFF control strategy effectively damps all the suspensions modes of the nano-hexapod whatever the payload is. @@ -4606,7 +4731,7 @@ for i_mass = i_masses end #+end_src -Both are compared in Figure ref:fig:rga_num_ol_iff_masses. +Both are compared in Figure ref:fig:test_nhexa_rga_num_ol_iff_masses. #+begin_src matlab :exports none %% RGA for Decentralized plant - With and Without IFF @@ -4629,13 +4754,13 @@ legend('location', 'southeast', 'FontSize', 8, 'NumColumns', 2); exportFig('figs/rga_num_ol_iff_masses.pdf', 'width', 'full', 'height', 'tall'); #+end_src -#+name: fig:rga_num_ol_iff_masses +#+name: fig:test_nhexa_rga_num_ol_iff_masses #+caption: Comparison of the RGA-Number (interaction estimate) without and without IFF #+RESULTS: -[[file:figs/rga_num_ol_iff_masses.png]] +[[file:figs/test_nhexa_rga_num_ol_iff_masses.png]] #+begin_important -From Figure ref:fig:picture_unbalanced_payload, it is clear that the interaction in the system is largest near the resonances. +From Figure ref:fig:test_nhexa_picture_unbalanced_payload, it is clear that the interaction in the system is largest near the resonances. The Integral Force Feedback controller, by reducing the amplitude at the resonances, also reduces the coupling near these resonances. It however increases the coupling bellow the frequency of the suspension modes. #+end_important @@ -4648,12 +4773,12 @@ It however increases the coupling bellow the frequency of the suspension modes. In this section, we wish to see if a payload with a center of mass not aligned with the symmetry axis of the nano-hexapod could cause any issue. -To study that, the payload shown in Figure ref:fig:picture_unbalanced_payload is used. +To study that, the payload shown in Figure ref:fig:test_nhexa_picture_unbalanced_payload is used. -#+name: fig:picture_unbalanced_payload +#+name: fig:test_nhexa_picture_unbalanced_payload #+caption: Nano-Hexapod with unbalanced payload #+attr_latex: :width \linewidth -[[file:figs/picture_unbalanced_payload.jpg]] +[[file:figs/test_nhexa_picture_unbalanced_payload.jpg]] *** Matlab Init :noexport:ignore: #+begin_src matlab @@ -4731,7 +4856,7 @@ save('data_frf/frf_iff_unbalanced_vib_table_m.mat', 'f', 'Ts', 'G_dL'); frf_unb_iff = load('frf_iff_unbalanced_vib_table_m.mat', 'f', 'Ts', 'G_dL'); #+end_src -The transfer functions from $u_i$ to $d\mathcal{L}_i$ are shown in Figure ref:fig:frf_damp_unbalanced_mass. +The transfer functions from $u_i$ to $d\mathcal{L}_i$ are shown in Figure ref:fig:test_nhexa_frf_damp_unbalanced_mass. Due to the unbalanced payload, the system is not symmetrical anymore, and therefore each of the diagonal elements are not equal. This is due to the fact that each strut is not affected by the same inertia. @@ -4772,10 +4897,10 @@ xlim([10, 1e3]); exportFig('figs/frf_damp_unbalanced_mass.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:frf_damp_unbalanced_mass +#+name: fig:test_nhexa_frf_damp_unbalanced_mass #+caption: Transfer function from $u_i$ to $d\mathcal{L}_i$ for the nano-hexapod with an unbalanced payload #+RESULTS: -[[file:figs/frf_damp_unbalanced_mass.png]] +[[file:figs/test_nhexa_frf_damp_unbalanced_mass.png]] @@ -4785,24 +4910,24 @@ In this section, the dynamics of the nano-hexapod with the encoders fixed to the It has been found that: - The measured dynamics is in agreement with the dynamics of the simscape model, up to the flexible modes of the top plate. - See figures ref:fig:enc_plates_iff_comp_simscape and ref:fig:enc_plates_iff_comp_offdiag_simscape for the transfer function to the force sensors and Figures ref:fig:enc_plates_dvf_comp_simscape and ref:fig:enc_plates_dvf_comp_offdiag_simscapefor the transfer functions to the encoders -- The Integral Force Feedback strategy is very effective in damping the suspension modes of the nano-hexapod (Figure ref:fig:enc_plant_plates_effect_iff). + See figures ref:fig:test_nhexa_enc_plates_iff_comp_simscape and ref:fig:test_nhexa_enc_plates_iff_comp_offdiag_simscape for the transfer function to the force sensors and Figures ref:fig:test_nhexa_enc_plates_dvf_comp_simscape and ref:fig:test_nhexa_enc_plates_dvf_comp_offdiag_simscape for the transfer functions to the encoders +- The Integral Force Feedback strategy is very effective in damping the suspension modes of the nano-hexapod (Figure ref:fig:test_nhexa_enc_plant_plates_effect_iff). - The transfer function from $\bm{u}^\prime$ to $d\bm{\mathcal{L}}_m$ show nice dynamical properties and is a much better candidate for the high-authority-control than when the encoders were fixed to the struts. At least up to the flexible modes of the top plate, the diagonal elements of the transfer function matrix have alternating poles and zeros, and the phase is moving smoothly. Only the flexible modes of the top plates seems to be problematic for control. #+end_important * Decentralized High Authority Control with Integral Force Feedback -<> +<> ** Introduction :ignore: In this section is studied the HAC-IFF architecture for the Nano-Hexapod. More precisely: -- The LAC control is a decentralized integral force feedback as studied in Section ref:sec:enc_plates_iff +- The LAC control is a decentralized integral force feedback as studied in Section ref:sec:test_nhexa_enc_plates_iff - The HAC control is a decentralized controller working in the frame of the struts -The corresponding control architecture is shown in Figure ref:fig:control_architecture_hac_iff_struts with: +The corresponding control architecture is shown in Figure ref:fig:test_nhexa_control_architecture_hac_iff_struts with: - $\bm{r}_{\mathcal{X}_n}$: the $6 \times 1$ reference signal in the cartesian frame - $\bm{r}_{d\mathcal{L}}$: the $6 \times 1$ reference signal transformed in the frame of the struts thanks to the inverse kinematic - $\bm{\epsilon}_{d\mathcal{L}}$: the $6 \times 1$ length error of the 6 struts @@ -4847,22 +4972,22 @@ The corresponding control architecture is shown in Figure ref:fig:control_archit \end{tikzpicture} #+end_src -#+name: fig:control_architecture_hac_iff_struts +#+name: fig:test_nhexa_control_architecture_hac_iff_struts #+caption: HAC-LAC: IFF + Control in the frame of the legs #+RESULTS: -[[file:figs/control_architecture_hac_iff_struts.png]] +[[file:figs/test_nhexa_control_architecture_hac_iff_struts.png]] This part is structured as follow: -- Section ref:sec:hac_iff_struts_ref_track: some reference tracking tests are performed -- Section ref:sec:hac_iff_struts_controller: the decentralized high authority controller is tuned using the Simscape model and is implemented and tested experimentally -- Section ref:sec:interaction_analysis: an interaction analysis is performed, from which the best decoupling strategy can be determined -- Section ref:sec:robust_hac_design: Robust High Authority Controller are designed +- Section ref:sec:test_nhexa_hac_iff_struts_ref_track: some reference tracking tests are performed +- Section ref:sec:test_nhexa_hac_iff_struts_controller: the decentralized high authority controller is tuned using the Simscape model and is implemented and tested experimentally +- Section ref:sec:test_nhexa_interaction_analysis: an interaction analysis is performed, from which the best decoupling strategy can be determined +- Section ref:sec:test_nhexa_robust_hac_design: Robust High Authority Controller are designed ** Reference Tracking - Trajectories :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/reference_tracking_paths.m :END: -<> +<> *** Introduction :ignore: In this section, several trajectories representing the wanted pose (position and orientation) of the top platform with respect to the bottom platform are defined. @@ -4871,7 +4996,7 @@ These trajectories will be used to test the HAC-LAC architecture. In order to transform the wanted pose to the wanted displacement of the 6 struts, the inverse kinematic is required. As a first approximation, the Jacobian matrix $\bm{J}$ can be used instead of using the full inverse kinematic equations. -Therefore, the control architecture with the input trajectory $\bm{r}_{\mathcal{X}_n}$ is shown in Figure ref:fig:control_architecture_hac_iff_L. +Therefore, the control architecture with the input trajectory $\bm{r}_{\mathcal{X}_n}$ is shown in Figure ref:fig:test_nhexa_control_architecture_hac_iff_L. #+begin_src latex :file control_architecture_hac_iff_struts_L.pdf \definecolor{instrumentation}{rgb}{0, 0.447, 0.741} @@ -4909,15 +5034,15 @@ Therefore, the control architecture with the input trajectory $\bm{r}_{\mathcal{ \end{tikzpicture} #+end_src -#+name: fig:control_architecture_hac_iff_L +#+name: fig:test_nhexa_control_architecture_hac_iff_L #+caption: HAC-LAC: IFF + Control in the frame of the legs #+RESULTS: -[[file:figs/control_architecture_hac_iff_struts_L.png]] +[[file:figs/test_nhexa_control_architecture_hac_iff_struts_L.png]] In the following sections, several reference trajectories are defined: -- Section ref:sec:yz_scans: simple scans in the Y-Z plane -- Section ref:sec:tilt_scans: scans in tilt are performed -- Section ref:sec:nass_scans: scans with X-Y-Z translations in order to draw the word "NASS" +- Section ref:sec:test_nhexa_yz_scans: simple scans in the Y-Z plane +- Section ref:sec:test_nhexa_tilt_scans: scans in tilt are performed +- Section ref:sec:test_nhexa_nass_scans: scans with X-Y-Z translations in order to draw the word "NASS" *** Matlab Init :noexport:ignore: #+begin_src matlab @@ -4946,10 +5071,10 @@ In the following sections, several reference trajectories are defined: #+end_src *** Y-Z Scans -<> +<> A function =generateYZScanTrajectory= has been developed in order to easily generate scans in the Y-Z plane. -For instance, the following generated trajectory is represented in Figure ref:fig:yz_scan_example_trajectory_yz_plane. +For instance, the following generated trajectory is represented in Figure ref:fig:test_nhexa_yz_scan_example_trajectory_yz_plane. #+begin_src matlab %% Generate the Y-Z trajectory scan Rx_yz = generateYZScanTrajectory(... @@ -4974,12 +5099,12 @@ xlabel('y [m]'); ylabel('z [m]'); exportFig('figs/yz_scan_example_trajectory_yz_plane.pdf', 'width', 'normal', 'height', 'normal'); #+end_src -#+name: fig:yz_scan_example_trajectory_yz_plane +#+name: fig:test_nhexa_yz_scan_example_trajectory_yz_plane #+caption: Generated scan in the Y-Z plane #+RESULTS: -[[file:figs/yz_scan_example_trajectory_yz_plane.png]] +[[file:figs/test_nhexa_yz_scan_example_trajectory_yz_plane.png]] -The Y and Z positions as a function of time are shown in Figure ref:fig:yz_scan_example_trajectory. +The Y and Z positions as a function of time are shown in Figure ref:fig:test_nhexa_yz_scan_example_trajectory. #+begin_src matlab :exports none %% Plot the Y-Z trajectory as a function of time @@ -4999,10 +5124,10 @@ legend('location', 'northeast'); exportFig('figs/yz_scan_example_trajectory.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:yz_scan_example_trajectory +#+name: fig:test_nhexa_yz_scan_example_trajectory #+caption: Y and Z trajectories as a function of time #+RESULTS: -[[file:figs/yz_scan_example_trajectory.png]] +[[file:figs/test_nhexa_yz_scan_example_trajectory.png]] Using the Jacobian matrix, it is possible to compute the wanted struts lengths as a function of time: \begin{equation} @@ -5018,7 +5143,7 @@ load('jacobian.mat', 'J'); dL_ref = [J*Rx_yz(:, 2:7)']'; #+end_src -The reference signal for the strut length is shown in Figure ref:fig:yz_scan_example_trajectory_struts. +The reference signal for the strut length is shown in Figure ref:fig:test_nhexa_yz_scan_example_trajectory_struts. #+begin_src matlab :exports none %% Plot the reference in the frame of the legs figure; @@ -5036,17 +5161,17 @@ yticks(1e-6*[-5:5]); exportFig('figs/yz_scan_example_trajectory_struts.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:yz_scan_example_trajectory_struts +#+name: fig:test_nhexa_yz_scan_example_trajectory_struts #+caption: Trajectories for the 6 individual struts #+RESULTS: -[[file:figs/yz_scan_example_trajectory_struts.png]] +[[file:figs/test_nhexa_yz_scan_example_trajectory_struts.png]] *** Tilt Scans -<> +<> A function =generalSpiralAngleTrajectory= has been developed in order to easily generate $R_x,R_y$ tilt scans. -For instance, the following generated trajectory is represented in Figure ref:fig:tilt_scan_example_trajectory. +For instance, the following generated trajectory is represented in Figure ref:fig:test_nhexa_tilt_scan_example_trajectory. #+begin_src matlab %% Generate the "tilt-spiral" trajectory scan R_tilt = generateSpiralAngleTrajectory(... @@ -5068,10 +5193,10 @@ xlabel('$R_x$ [$\mu$rad]'); ylabel('$R_y$ [$\mu$rad]'); exportFig('figs/tilt_scan_example_trajectory.pdf', 'width', 'normal', 'height', 'normal'); #+end_src -#+name: fig:tilt_scan_example_trajectory +#+name: fig:test_nhexa_tilt_scan_example_trajectory #+caption: Generated "spiral" scan #+RESULTS: -[[file:figs/tilt_scan_example_trajectory.png]] +[[file:figs/test_nhexa_tilt_scan_example_trajectory.png]] #+begin_src matlab :exports none %% Compute the reference in the frame of the legs @@ -5079,7 +5204,7 @@ load('jacobian.mat', 'J'); dL_ref = [J*R_tilt(:, 2:7)']'; #+end_src -The reference signal for the strut length is shown in Figure ref:fig:tilt_scan_example_trajectory_struts. +The reference signal for the strut length is shown in Figure ref:fig:test_nhexa_tilt_scan_example_trajectory_struts. #+begin_src matlab :exports none %% Plot the reference in the frame of the legs figure; @@ -5097,13 +5222,13 @@ yticks(1e-6*[-5:5]); exportFig('figs/tilt_scan_example_trajectory_struts.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:tilt_scan_example_trajectory_struts +#+name: fig:test_nhexa_tilt_scan_example_trajectory_struts #+caption: Trajectories for the 6 individual struts - Tilt scan #+RESULTS: -[[file:figs/tilt_scan_example_trajectory_struts.png]] +[[file:figs/test_nhexa_tilt_scan_example_trajectory_struts.png]] *** "NASS" reference path -<> +<> In this section, a reference path that "draws" the work "NASS" is developed. First, a series of points representing each letter are defined. @@ -5139,7 +5264,7 @@ Then, using the =generateXYZTrajectory= function, the $6 \times 1$ trajectory si Rx_nass = generateXYZTrajectory('points', ref_path); #+end_src -The trajectory in the X-Y plane is shown in Figure ref:fig:ref_track_test_nass (the transitions between the letters are removed). +The trajectory in the X-Y plane is shown in Figure ref:fig:test_nhexa_ref_track_test_nass (the transitions between the letters are removed). #+begin_src matlab :exports none %% "NASS" trajectory in the X-Y plane figure; @@ -5155,12 +5280,12 @@ ylim(1e6*[min(Rx_nass(:,3)), max(Rx_nass(:,3))]); exportFig('figs/ref_track_test_nass.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:ref_track_test_nass +#+name: fig:test_nhexa_ref_track_test_nass #+caption: Reference path corresponding to the "NASS" acronym #+RESULTS: -[[file:figs/ref_track_test_nass.png]] +[[file:figs/test_nhexa_ref_track_test_nass.png]] -It can also be better viewed in a 3D representation as in Figure ref:fig:ref_track_test_nass_3d. +It can also be better viewed in a 3D representation as in Figure ref:fig:test_nhexa_ref_track_test_nass_3d. #+begin_src matlab :exports none figure; @@ -5173,21 +5298,21 @@ view(-13, 41) exportFig('figs/ref_track_test_nass_3d.pdf', 'width', 'normal', 'height', 'normal'); #+end_src -#+name: fig:ref_track_test_nass_3d +#+name: fig:test_nhexa_ref_track_test_nass_3d #+caption: Reference path that draws "NASS" - 3D view #+RESULTS: -[[file:figs/ref_track_test_nass_3d.png]] +[[file:figs/test_nhexa_ref_track_test_nass_3d.png]] ** First Basic High Authority Controller :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/hac_lac_first_try.m :END: -<> +<> *** Introduction :ignore: In this section, a simple decentralized high authority controller $\bm{K}_{\mathcal{L}}$ is developed to work without any payload. -The diagonal controller is tuned using classical Loop Shaping in Section ref:sec:hac_iff_no_payload_tuning. -The stability is verified in Section ref:sec:hac_iff_no_payload_stability using the Simscape model. +The diagonal controller is tuned using classical Loop Shaping in Section ref:sec:test_nhexa_hac_iff_no_payload_tuning. +The stability is verified in Section ref:sec:test_nhexa_hac_iff_no_payload_stability using the Simscape model. *** Matlab Init :noexport:ignore: #+begin_src matlab @@ -5223,7 +5348,7 @@ sim_iff = load('sim_iff_vib_table_m.mat', 'G_dL'); #+end_src *** HAC Controller -<> +<> Let's first try to design a first decentralized controller with: - a bandwidth of 100Hz @@ -5271,7 +5396,7 @@ save('matlab/data_sim/Khac_iff_struts.mat', 'Khac_iff_struts') save('data_sim/Khac_iff_struts.mat', 'Khac_iff_struts') #+end_src -The experimental loop gain is computed and shown in Figure ref:fig:loop_gain_hac_iff_struts. +The experimental loop gain is computed and shown in Figure ref:fig:test_nhexa_loop_gain_hac_iff_struts. #+begin_src matlab L_hac_iff_struts = pagemtimes(permute(frf_iff.G_dL{1}, [2 3 1]), squeeze(freqresp(Khac_iff_struts, frf_iff.f, 'Hz'))); #+end_src @@ -5325,13 +5450,13 @@ xlim([2, 2e3]); exportFig('figs/loop_gain_hac_iff_struts.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:loop_gain_hac_iff_struts +#+name: fig:test_nhexa_loop_gain_hac_iff_struts #+caption: Diagonal and off-diagonal elements of the Loop gain for "HAC-IFF-Struts" #+RESULTS: -[[file:figs/loop_gain_hac_iff_struts.png]] +[[file:figs/test_nhexa_loop_gain_hac_iff_struts.png]] *** Verification of the Stability using the Simscape model -<> +<> The HAC-IFF control strategy is implemented using Simscape. #+begin_src matlab @@ -5373,7 +5498,7 @@ isstable(Gd_iff_hac_opt) : 1 *** Experimental Validation -Both the Integral Force Feedback controller (developed in Section ref:sec:enc_plates_iff) and the high authority controller working in the frame of the struts (developed in Section ref:sec:hac_iff_struts_controller) are implemented experimentally. +Both the Integral Force Feedback controller (developed in Section ref:sec:test_nhexa_enc_plates_iff) and the high authority controller working in the frame of the struts (developed in Section ref:sec:test_nhexa_hac_iff_struts_controller) are implemented experimentally. Two reference tracking experiments are performed to evaluate the stability and performances of the implemented control. @@ -5407,7 +5532,7 @@ Rx_yz = generateYZScanTrajectory(... 'tz', 0.2); % Time for a scan in Z [s] #+end_src -The reference path as well as the measured position are partially shown in the Y-Z plane in Figure ref:fig:yz_scans_exp_results_first_K. +The reference path as well as the measured position are partially shown in the Y-Z plane in Figure ref:fig:test_nhexa_yz_scans_exp_results_first_K. #+begin_src matlab :exports none %% Position and reference signal in the Y-Z plane figure; @@ -5439,13 +5564,13 @@ xlim([1.6, 2.1]); ylim([-4.1, -3.6]); exportFig('figs/yz_scans_exp_results_first_K.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:yz_scans_exp_results_first_K +#+name: fig:test_nhexa_yz_scans_exp_results_first_K #+caption: Measured position $\bm{\mathcal{X}}_n$ and reference signal $\bm{r}_{\mathcal{X}_n}$ in the Y-Z plane - Zoom on a change of direction #+RESULTS: -[[file:figs/yz_scans_exp_results_first_K.png]] +[[file:figs/test_nhexa_yz_scans_exp_results_first_K.png]] #+begin_important -It is clear from Figure ref:fig:yz_scans_exp_results_first_K that the position of the nano-hexapod effectively tracks to reference signal. +It is clear from Figure ref:fig:test_nhexa_yz_scans_exp_results_first_K that the position of the nano-hexapod effectively tracks to reference signal. However, oscillations with amplitudes as large as 50nm can be observe. It turns out that the frequency of these oscillations is 100Hz which is corresponding to the crossover frequency of the High Authority Control loop. @@ -5491,7 +5616,7 @@ frf_iff = load('frf_iff_vib_table_m.mat', 'f', 'Ts', 'G_dL'); L_frf = pagemtimes(permute(frf_iff.G_dL{1}, [2 3 1]), squeeze(freqresp(Khac_iff_struts, frf_iff.f, 'Hz'))); #+end_src -The bode plot of the new loop gain is shown in Figure ref:fig:hac_iff_plates_exp_loop_gain_redesigned_K. +The bode plot of the new loop gain is shown in Figure ref:fig:test_nhexa_hac_iff_plates_exp_loop_gain_redesigned_K. #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm freqs = 2*logspace(1, 3, 1000); @@ -5542,10 +5667,10 @@ xlim([1, 2e3]); exportFig('figs/hac_iff_plates_exp_loop_gain_redesigned_K.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:hac_iff_plates_exp_loop_gain_redesigned_K +#+name: fig:test_nhexa_hac_iff_plates_exp_loop_gain_redesigned_K #+caption: Loop Gain for the updated decentralized HAC controller #+RESULTS: -[[file:figs/hac_iff_plates_exp_loop_gain_redesigned_K.png]] +[[file:figs/test_nhexa_hac_iff_plates_exp_loop_gain_redesigned_K.png]] This new controller is implemented experimentally and several tracking tests are performed. #+begin_src matlab @@ -5570,7 +5695,7 @@ Xe = [inv(J)*de']'; load('reference_path.mat', 'Rx_nass') #+end_src -The measured motion as well as the trajectory are shown in Figure ref:fig:nass_scans_first_test_exp. +The measured motion as well as the trajectory are shown in Figure ref:fig:test_nhexa_nass_scans_first_test_exp. #+begin_src matlab :exports none %% Plot the X-Y-Z "NASS" trajectory figure; @@ -5586,12 +5711,12 @@ view(-13, 41) exportFig('figs/nass_scans_first_test_exp.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:nass_scans_first_test_exp +#+name: fig:test_nhexa_nass_scans_first_test_exp #+caption: Measured position $\bm{\mathcal{X}}_n$ and reference signal $\bm{r}_{\mathcal{X}_n}$ for the "NASS" trajectory #+RESULTS: -[[file:figs/nass_scans_first_test_exp.png]] +[[file:figs/test_nhexa_nass_scans_first_test_exp.png]] -The trajectory and measured motion are also shown in the X-Y plane in Figure ref:fig:ref_track_nass_exp_hac_iff_struts. +The trajectory and measured motion are also shown in the X-Y plane in Figure ref:fig:test_nhexa_ref_track_nass_exp_hac_iff_struts. #+begin_src matlab :exports none %% Estimate when the hexpod is on top position and drawing the letters i_top = Xe(:,3) > 1.9e-6; @@ -5626,12 +5751,12 @@ xlim([4.5, 4.7]); ylim([-0.15, 0.05]); exportFig('figs/ref_track_nass_exp_hac_iff_struts.pdf', 'width', 'full', 'height', 'tall'); #+end_src -#+name: fig:ref_track_nass_exp_hac_iff_struts +#+name: fig:test_nhexa_ref_track_nass_exp_hac_iff_struts #+caption: Reference path and measured motion in the X-Y plane #+RESULTS: -[[file:figs/ref_track_nass_exp_hac_iff_struts.png]] +[[file:figs/test_nhexa_ref_track_nass_exp_hac_iff_struts.png]] -The orientation errors during all the scans are shown in Figure ref:fig:nass_ref_rx_ry. +The orientation errors during all the scans are shown in Figure ref:fig:test_nhexa_nass_ref_rx_ry. #+begin_src matlab :exports none %% Orientation Errors figure; @@ -5663,10 +5788,10 @@ ylim([-100, 100]); exportFig('figs/nass_ref_rx_ry.pdf', 'width', 500, 'height', 500); #+end_src -#+name: fig:nass_ref_rx_ry +#+name: fig:test_nhexa_nass_ref_rx_ry #+caption: Orientation errors during the scan #+RESULTS: -[[file:figs/nass_ref_rx_ry.png]] +[[file:figs/test_nhexa_nass_ref_rx_ry.png]] #+begin_important Using the updated High Authority Controller, the nano-hexapod can follow trajectories with high accuracy (the position errors are in the order of 50nm peak to peak, and the orientation errors 300nrad peak to peak). @@ -5676,7 +5801,7 @@ Using the updated High Authority Controller, the nano-hexapod can follow traject :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/interaction_analysis_enc_plates.m :END: -<> +<> *** Introduction :ignore: In this section, the interaction in the identified plant is estimated using the Relative Gain Array (RGA) [[cite:skogestad07_multiv_feedb_contr][Chap. 3.4]]. @@ -5741,7 +5866,7 @@ G_coupled = sim_iff.G_dL{2}; #+end_src *** No Decoupling (Decentralized) -<> +<> #+begin_src latex :file decoupling_arch_decentralized.pdf \begin{tikzpicture} @@ -5758,10 +5883,10 @@ G_coupled = sim_iff.G_dL{2}; \end{tikzpicture} #+end_src -#+name: fig:decoupling_arch_decentralized +#+name: fig:test_nhexa_decoupling_arch_decentralized #+caption: Block diagram representing the plant. #+RESULTS: -[[file:figs/decoupling_arch_decentralized.png]] +[[file:figs/test_nhexa_decoupling_arch_decentralized.png]] #+begin_src matlab :exports none %% Decentralized Plant @@ -5809,10 +5934,10 @@ xlim([10, 1e3]); exportFig('figs/interaction_decentralized_plant.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:interaction_decentralized_plant +#+name: fig:test_nhexa_interaction_decentralized_plant #+caption: Bode Plot of the decentralized plant (diagonal and off-diagonal terms) #+RESULTS: -[[file:figs/interaction_decentralized_plant.png]] +[[file:figs/test_nhexa_interaction_decentralized_plant.png]] #+begin_src matlab :exports none %% Decentralized RGA @@ -5840,13 +5965,13 @@ xlim([10, 1e3]); ylim([1e-2, 1e2]); exportFig('figs/interaction_rga_decentralized.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:interaction_rga_decentralized +#+name: fig:test_nhexa_interaction_rga_decentralized #+caption: RGA number for the decentralized plant #+RESULTS: -[[file:figs/interaction_rga_decentralized.png]] +[[file:figs/test_nhexa_interaction_rga_decentralized.png]] *** Static Decoupling -<> +<> #+begin_src latex :file decoupling_arch_static.pdf \begin{tikzpicture} @@ -5865,10 +5990,10 @@ exportFig('figs/interaction_rga_decentralized.pdf', 'width', 'wide', 'height', ' \end{tikzpicture} #+end_src -#+name: fig:decoupling_arch_static +#+name: fig:test_nhexa_decoupling_arch_static #+caption: Decoupling using the inverse of the DC gain of the plant #+RESULTS: -[[file:figs/decoupling_arch_static.png]] +[[file:figs/test_nhexa_decoupling_arch_static.png]] The DC gain is evaluated from the model as be have bad low frequency identification. @@ -5943,10 +6068,10 @@ xlim([10, 1e3]); exportFig('figs/interaction_static_dec_plant.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:interaction_static_dec_plant +#+name: fig:test_nhexa_interaction_static_dec_plant #+caption: Bode Plot of the static decoupled plant #+RESULTS: -[[file:figs/interaction_static_dec_plant.png]] +[[file:figs/test_nhexa_interaction_static_dec_plant.png]] #+begin_src matlab :exports none %% Compute RGA Matrix @@ -5975,13 +6100,13 @@ xlim([10, 1e3]); ylim([1e-2, 1e2]); exportFig('figs/interaction_rga_static_dec.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:interaction_rga_static_dec +#+name: fig:test_nhexa_interaction_rga_static_dec #+caption: RGA number for the statically decoupled plant #+RESULTS: -[[file:figs/interaction_rga_static_dec.png]] +[[file:figs/test_nhexa_interaction_rga_static_dec.png]] *** Decoupling at the Crossover -<> +<> #+begin_src latex :file decoupling_arch_crossover.pdf \begin{tikzpicture} @@ -6000,10 +6125,10 @@ exportFig('figs/interaction_rga_static_dec.pdf', 'width', 'wide', 'height', 'nor \end{tikzpicture} #+end_src -#+name: fig:decoupling_arch_crossover +#+name: fig:test_nhexa_decoupling_arch_crossover #+caption: Decoupling using the inverse of a dynamical model $\bm{\hat{G}}$ of the plant dynamics $\bm{G}$ #+RESULTS: -[[file:figs/decoupling_arch_crossover.png]] +[[file:figs/test_nhexa_decoupling_arch_crossover.png]] #+begin_src matlab :exports none %% Take complex matrix corresponding to the plant at 100Hz @@ -6077,10 +6202,10 @@ xlim([10, 1e3]); exportFig('figs/interaction_wc_plant.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:interaction_wc_plant +#+name: fig:test_nhexa_interaction_wc_plant #+caption: Bode Plot of the plant decoupled at the crossover #+RESULTS: -[[file:figs/interaction_wc_plant.png]] +[[file:figs/test_nhexa_interaction_wc_plant.png]] #+begin_src matlab %% Compute RGA Matrix @@ -6109,13 +6234,13 @@ xlim([10, 1e3]); ylim([1e-2, 1e2]); exportFig('figs/interaction_rga_wc.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:interaction_rga_wc +#+name: fig:test_nhexa_interaction_rga_wc #+caption: RGA number for the plant decoupled at the crossover #+RESULTS: -[[file:figs/interaction_rga_wc.png]] +[[file:figs/test_nhexa_interaction_rga_wc.png]] *** SVD Decoupling -<> +<> #+begin_src latex :file decoupling_arch_svd.pdf \begin{tikzpicture} @@ -6137,10 +6262,10 @@ exportFig('figs/interaction_rga_wc.pdf', 'width', 'wide', 'height', 'normal'); \end{tikzpicture} #+end_src -#+name: fig:decoupling_arch_svd +#+name: fig:test_nhexa_decoupling_arch_svd #+caption: Decoupling using the Singular Value Decomposition #+RESULTS: -[[file:figs/decoupling_arch_svd.png]] +[[file:figs/test_nhexa_decoupling_arch_svd.png]] #+begin_src matlab :exports none %% Take complex matrix corresponding to the plant at 100Hz @@ -6206,10 +6331,10 @@ xlim([10, 1e3]); exportFig('figs/interaction_svd_plant.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:interaction_svd_plant +#+name: fig:test_nhexa_interaction_svd_plant #+caption: Bode Plot of the plant decoupled using the Singular Value Decomposition #+RESULTS: -[[file:figs/interaction_svd_plant.png]] +[[file:figs/test_nhexa_interaction_svd_plant.png]] #+begin_src matlab %% Compute the RGA matrix for the SVD decoupled plant @@ -6238,13 +6363,13 @@ xlim([10, 1e3]); ylim([1e-2, 1e2]); exportFig('figs/interaction_rga_svd.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:interaction_rga_svd +#+name: fig:test_nhexa_interaction_rga_svd #+caption: RGA number for the plant decoupled using the SVD #+RESULTS: -[[file:figs/interaction_rga_svd.png]] +[[file:figs/test_nhexa_interaction_rga_svd.png]] *** Dynamic decoupling -<> +<> #+begin_src latex :file decoupling_arch_dynamic.pdf \begin{tikzpicture} @@ -6263,10 +6388,10 @@ exportFig('figs/interaction_rga_svd.pdf', 'width', 'wide', 'height', 'normal'); \end{tikzpicture} #+end_src -#+name: fig:decoupling_arch_dynamic +#+name: fig:test_nhexa_decoupling_arch_dynamic #+caption: Decoupling using the inverse of a dynamical model $\bm{\hat{G}}$ of the plant dynamics $\bm{G}$ #+RESULTS: -[[file:figs/decoupling_arch_dynamic.png]] +[[file:figs/test_nhexa_decoupling_arch_dynamic.png]] #+begin_src matlab :exports none %% Compute the plant inverse from the model @@ -6327,10 +6452,10 @@ xlim([10, 1e3]); exportFig('figs/interaction_dynamic_dec_plant.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:interaction_dynamic_dec_plant +#+name: fig:test_nhexa_interaction_dynamic_dec_plant #+caption: Bode Plot of the dynamically decoupled plant #+RESULTS: -[[file:figs/interaction_dynamic_dec_plant.png]] +[[file:figs/test_nhexa_interaction_dynamic_dec_plant.png]] #+begin_src matlab :exports none %% Compute the RGA matrix for the inverse based decoupled plant @@ -6359,13 +6484,13 @@ xlim([10, 1e3]); ylim([1e-2, 1e2]); exportFig('figs/interaction_rga_dynamic_dec.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:interaction_rga_dynamic_dec +#+name: fig:test_nhexa_interaction_rga_dynamic_dec #+caption: RGA number for the dynamically decoupled plant #+RESULTS: -[[file:figs/interaction_rga_dynamic_dec.png]] +[[file:figs/test_nhexa_interaction_rga_dynamic_dec.png]] *** Jacobian Decoupling - Center of Stiffness -<> +<> #+begin_src latex :file decoupling_arch_jacobian_cok.pdf \begin{tikzpicture} @@ -6386,10 +6511,10 @@ exportFig('figs/interaction_rga_dynamic_dec.pdf', 'width', 'wide', 'height', 'no \end{tikzpicture} #+end_src -#+name: fig:decoupling_arch_jacobian_cok +#+name: fig:test_nhexa_decoupling_arch_jacobian_cok #+caption: Decoupling using Jacobian matrices evaluated at the Center of Stiffness #+RESULTS: -[[file:figs/decoupling_arch_jacobian_cok.png]] +[[file:figs/test_nhexa_decoupling_arch_jacobian_cok.png]] #+begin_src matlab :exports none %% Initialize the Nano-Hexapod @@ -6407,7 +6532,7 @@ for i = 1:length(frf_iff.f) end #+end_src -The obtained plant is shown in Figure ref:fig:interaction_J_cok_plant_not_normalized. +The obtained plant is shown in Figure ref:fig:test_nhexa_interaction_J_cok_plant_not_normalized. We can see that the stiffness in the $x$, $y$ and $z$ directions are equal, which is due to the cubic architecture of the Stewart platform. #+begin_src matlab :exports none @@ -6464,14 +6589,14 @@ xlim([10, 1e3]); exportFig('figs/interaction_J_cok_plant_not_normalized.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:interaction_J_cok_plant_not_normalized +#+name: fig:test_nhexa_interaction_J_cok_plant_not_normalized #+caption: Bode Plot of the plant decoupled using the Jacobian evaluated at the "center of stiffness" #+RESULTS: -[[file:figs/interaction_J_cok_plant_not_normalized.png]] +[[file:figs/test_nhexa_interaction_J_cok_plant_not_normalized.png]] Because the plant in translation and rotation has very different gains, we choose to normalize the plant inputs such that the gain of the diagonal term is equal to $1$ at 100Hz. -The results is shown in Figure ref:fig:interaction_J_cok_plant. +The results is shown in Figure ref:fig:test_nhexa_interaction_J_cok_plant. #+begin_src matlab :exports none %% Normalize the plant input [~, i_100] = min(abs(frf_iff.f - 100)); @@ -6536,10 +6661,10 @@ xlim([10, 1e3]); exportFig('figs/interaction_J_cok_plant.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:interaction_J_cok_plant +#+name: fig:test_nhexa_interaction_J_cok_plant #+caption: Bode Plot of the plant decoupled using the Jacobian evaluated at the "center of stiffness" #+RESULTS: -[[file:figs/interaction_J_cok_plant.png]] +[[file:figs/test_nhexa_interaction_J_cok_plant.png]] #+begin_src matlab :exports none %% Compute RGA Matrix @@ -6568,13 +6693,13 @@ xlim([10, 1e3]); ylim([1e-2, 1e2]); exportFig('figs/interaction_rga_J_cok.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:interaction_rga_J_cok +#+name: fig:test_nhexa_interaction_rga_J_cok #+caption: RGA number for the plant decoupled using the Jacobian evaluted at the Center of Stiffness #+RESULTS: -[[file:figs/interaction_rga_J_cok.png]] +[[file:figs/test_nhexa_interaction_rga_J_cok.png]] *** Jacobian Decoupling - Center of Mass -<> +<> #+begin_src latex :file decoupling_arch_jacobian_com.pdf \begin{tikzpicture} @@ -6595,10 +6720,10 @@ exportFig('figs/interaction_rga_J_cok.pdf', 'width', 'wide', 'height', 'normal') \end{tikzpicture} #+end_src -#+name: fig:decoupling_arch_jacobian_com +#+name: fig:test_nhexa_decoupling_arch_jacobian_com #+caption: Decoupling using Jacobian matrices evaluated at the Center of Mass #+RESULTS: -[[file:figs/decoupling_arch_jacobian_com.png]] +[[file:figs/test_nhexa_decoupling_arch_jacobian_com.png]] #+begin_src matlab :exports none %% Initialize the Nano-Hexapod @@ -6678,10 +6803,10 @@ xlim([10, 1e3]); exportFig('figs/interaction_J_com_plant.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:interaction_J_com_plant +#+name: fig:test_nhexa_interaction_J_com_plant #+caption: Bode Plot of the plant decoupled using the Jacobian evaluated at the Center of Mass #+RESULTS: -[[file:figs/interaction_J_com_plant.png]] +[[file:figs/test_nhexa_interaction_J_com_plant.png]] #+begin_src matlab :exports none %% Compute RGA Matrix @@ -6710,18 +6835,18 @@ xlim([10, 1e3]); ylim([1e-2, 1e2]); exportFig('figs/interaction_rga_J_com.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:interaction_rga_J_com +#+name: fig:test_nhexa_interaction_rga_J_com #+caption: RGA number for the plant decoupled using the Jacobian evaluted at the Center of Mass #+RESULTS: -[[file:figs/interaction_rga_J_com.png]] +[[file:figs/test_nhexa_interaction_rga_J_com.png]] *** Decoupling Comparison -<> +<> -Let's now compare all of the decoupling methods (Figure ref:fig:interaction_compare_rga_numbers). +Let's now compare all of the decoupling methods (Figure ref:fig:test_nhexa_interaction_compare_rga_numbers). #+begin_important -From Figure ref:fig:interaction_compare_rga_numbers, the following remarks are made: +From Figure ref:fig:test_nhexa_interaction_compare_rga_numbers, the following remarks are made: - *Decentralized plant*: well decoupled below suspension modes - *Static inversion*: similar to the decentralized plant as the decentralized plant has already a good decoupling at low frequency - *Crossover inversion*: the decoupling is improved around the crossover frequency as compared to the decentralized plant. However, the decoupling is increased at lower frequency. @@ -6753,13 +6878,13 @@ legend('location', 'northwest', 'FontSize', 8, 'NumColumns', 2); exportFig('figs/interaction_compare_rga_numbers.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:interaction_compare_rga_numbers +#+name: fig:test_nhexa_interaction_compare_rga_numbers #+caption: Comparison of the obtained RGA-numbers for all the decoupling methods #+RESULTS: -[[file:figs/interaction_compare_rga_numbers.png]] +[[file:figs/test_nhexa_interaction_compare_rga_numbers.png]] *** Decoupling Robustness -<> +<> Let's now see how the decoupling is changing when changing the payload's mass. #+begin_src matlab @@ -6900,10 +7025,10 @@ for i = 1:size(RGA_com_b, 1) end #+end_src -The obtained RGA-numbers are shown in Figure ref:fig:interaction_compare_rga_numbers_rob. +The obtained RGA-numbers are shown in Figure ref:fig:test_nhexa_interaction_compare_rga_numbers_rob. #+begin_important -From Figure ref:fig:interaction_compare_rga_numbers_rob: +From Figure ref:fig:test_nhexa_interaction_compare_rga_numbers_rob: - The decoupling using the Jacobian evaluated at the "center of stiffness" seems to give the most robust results. #+end_important @@ -6937,10 +7062,10 @@ legend('location', 'northwest', 'FontSize', 8, 'NumColumns', 2); exportFig('figs/interaction_compare_rga_numbers_rob.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:interaction_compare_rga_numbers_rob +#+name: fig:test_nhexa_interaction_compare_rga_numbers_rob #+caption: Change of the RGA-number with a change of the payload. Indication of the robustness of the inversion method. #+RESULTS: -[[file:figs/interaction_compare_rga_numbers_rob.png]] +[[file:figs/test_nhexa_interaction_compare_rga_numbers_rob.png]] *** Conclusion @@ -6969,7 +7094,7 @@ Several decoupling methods can be used: :PROPERTIES: :header-args:matlab+: :tangle matlab/scripts/hac_lac_enc_plates_suspended_table.m :END: -<> +<> *** Introduction :ignore: In this section we wish to develop a robust High Authority Controller (HAC) that is working for all payloads. @@ -7091,10 +7216,10 @@ xlim([10, 1e3]); exportFig('figs/bode_plot_hac_iff_plant_jacobian_cok.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:bode_plot_hac_iff_plant_jacobian_cok +#+name: fig:test_nhexa_bode_plot_hac_iff_plant_jacobian_cok #+caption: Bode plot of the decoupled plant using the Jacobian evaluated at the Center of Stiffness #+RESULTS: -[[file:figs/bode_plot_hac_iff_plant_jacobian_cok.png]] +[[file:figs/test_nhexa_bode_plot_hac_iff_plant_jacobian_cok.png]] **** SISO Controller Design As the diagonal elements of the plant are not equal, several SISO controllers are designed and then combined to form a diagonal controller. @@ -7274,10 +7399,10 @@ xlim([1, 2e3]); exportFig('figs/bode_plot_hac_iff_loop_gain_jacobian_cok.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:bode_plot_hac_iff_loop_gain_jacobian_cok +#+name: fig:test_nhexa_bode_plot_hac_iff_loop_gain_jacobian_cok #+caption: Bode plot of the Loop Gain when using the Jacobian evaluated at the Center of Stiffness to decouple the system #+RESULTS: -[[file:figs/bode_plot_hac_iff_loop_gain_jacobian_cok.png]] +[[file:figs/test_nhexa_bode_plot_hac_iff_loop_gain_jacobian_cok.png]] #+begin_src matlab %% Controller to be implemented @@ -7332,10 +7457,10 @@ xlim([-3, 1]); ylim([-2, 2]); exportFig('figs/loci_hac_iff_loop_gain_jacobian_cok.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:loci_hac_iff_loop_gain_jacobian_cok +#+name: fig:test_nhexa_loci_hac_iff_loop_gain_jacobian_cok #+caption: Loci of $L(j\omega)$ in the complex plane. #+RESULTS: -[[file:figs/loci_hac_iff_loop_gain_jacobian_cok.png]] +[[file:figs/test_nhexa_loci_hac_iff_loop_gain_jacobian_cok.png]] **** Save for further analysis #+begin_src matlab :exports none :tangle no @@ -7398,7 +7523,7 @@ Gcl = linearize(mdl, io, 0.0, options); S = eye(6) - inv(n_hexapod.geometry.J)*Gcl; #+end_src -The results are shown in Figure ref:fig:sensitivity_hac_jacobian_cok_3m_comp_model. +The results are shown in Figure ref:fig:test_nhexa_sensitivity_hac_jacobian_cok_3m_comp_model. #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm @@ -7423,10 +7548,10 @@ xlim([1, 1e3]); exportFig('figs/sensitivity_hac_jacobian_cok_3m_comp_model.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:sensitivity_hac_jacobian_cok_3m_comp_model +#+name: fig:test_nhexa_sensitivity_hac_jacobian_cok_3m_comp_model #+caption: Estimated sensitivity transfer functions for the HAC controller using the Jacobian estimated at the Center of Stiffness #+RESULTS: -[[file:figs/sensitivity_hac_jacobian_cok_3m_comp_model.png]] +[[file:figs/test_nhexa_sensitivity_hac_jacobian_cok_3m_comp_model.png]] *** Using Singular Value Decomposition **** Decoupled Plant @@ -7501,10 +7626,10 @@ xlim([10, 1e3]); exportFig('figs/bode_plot_hac_iff_plant_svd.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:bode_plot_hac_iff_plant_svd +#+name: fig:test_nhexa_bode_plot_hac_iff_plant_svd #+caption: Bode plot of the decoupled plant using the SVD #+RESULTS: -[[file:figs/bode_plot_hac_iff_plant_svd.png]] +[[file:figs/test_nhexa_bode_plot_hac_iff_plant_svd.png]] **** Controller Design #+begin_src matlab :exports none @@ -7586,10 +7711,10 @@ xlim([1, 2e3]); exportFig('figs/bode_plot_hac_iff_loop_gain_svd.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:bode_plot_hac_iff_loop_gain_svd +#+name: fig:test_nhexa_bode_plot_hac_iff_loop_gain_svd #+caption: Bode plot of Loop Gain when using the SVD #+RESULTS: -[[file:figs/bode_plot_hac_iff_loop_gain_svd.png]] +[[file:figs/test_nhexa_bode_plot_hac_iff_loop_gain_svd.png]] **** Stability Verification #+begin_src matlab @@ -7636,10 +7761,10 @@ xlim([-3, 1]); ylim([-2, 2]); exportFig('figs/loci_hac_iff_loop_gain_svd.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:loci_hac_iff_loop_gain_svd +#+name: fig:test_nhexa_loci_hac_iff_loop_gain_svd #+caption: Locis of $L(j\omega)$ in the complex plane. #+RESULTS: -[[file:figs/loci_hac_iff_loop_gain_svd.png]] +[[file:figs/test_nhexa_loci_hac_iff_loop_gain_svd.png]] **** Save for further analysis #+begin_src matlab :exports none :tangle no @@ -7697,7 +7822,7 @@ for i = 1:6 end #+end_src -An example is shown in Figure ref:fig:ref_track_hac_svd_3m where both the reference signal and the measured position are shown for translations in the $x$ direction. +An example is shown in Figure ref:fig:test_nhexa_ref_track_hac_svd_3m where both the reference signal and the measured position are shown for translations in the $x$ direction. #+begin_src matlab :exports none figure; @@ -7714,10 +7839,10 @@ legend('location', 'northeast'); exportFig('figs/ref_track_hac_svd_3m.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:ref_track_hac_svd_3m +#+name: fig:test_nhexa_ref_track_hac_svd_3m #+caption: Reference position and measured position #+RESULTS: -[[file:figs/ref_track_hac_svd_3m.png]] +[[file:figs/test_nhexa_ref_track_hac_svd_3m.png]] #+begin_src matlab :exports none %% Transfer function estimate of S @@ -7728,7 +7853,7 @@ for i = 1:6 end #+end_src -The sensitivity transfer functions estimated for all directions are shown in Figure ref:fig:sensitivity_hac_svd_3m. +The sensitivity transfer functions estimated for all directions are shown in Figure ref:fig:test_nhexa_sensitivity_hac_svd_3m. #+begin_src matlab :exports none %% Bode plot for the transfer function from u to dLm @@ -7750,13 +7875,13 @@ xlim([0.5, 1e3]); exportFig('figs/sensitivity_hac_svd_3m.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:sensitivity_hac_svd_3m +#+name: fig:test_nhexa_sensitivity_hac_svd_3m #+caption: Measured diagonal elements of the sensitivity transfer function matrix. #+RESULTS: -[[file:figs/sensitivity_hac_svd_3m.png]] +[[file:figs/test_nhexa_sensitivity_hac_svd_3m.png]] #+begin_important -From Figure ref:fig:sensitivity_hac_svd_3m: +From Figure ref:fig:test_nhexa_sensitivity_hac_svd_3m: - The sensitivity transfer functions are similar for all directions - The disturbance attenuation at 1Hz is almost a factor 1000 as wanted - The sensitivity transfer functions for $R_x$ and $R_y$ have high peak values which indicate poor stability margins. @@ -7816,7 +7941,7 @@ Gcl = linearize(mdl, io, 0.0, options); S = eye(6) - inv(n_hexapod.geometry.J)*Gcl; #+end_src -The results are shown in Figure ref:fig:sensitivity_hac_svd_3m_comp_model. +The results are shown in Figure ref:fig:test_nhexa_sensitivity_hac_svd_3m_comp_model. The model is quite effective in estimating the sensitivity transfer functions except around 60Hz were there is a peak for the measurement. #+begin_src matlab :exports none @@ -7845,10 +7970,10 @@ xlim([0.5, 1e3]); exportFig('figs/sensitivity_hac_svd_3m_comp_model.pdf', 'width', 'wide', 'height', 'normal'); #+end_src -#+name: fig:sensitivity_hac_svd_3m_comp_model +#+name: fig:test_nhexa_sensitivity_hac_svd_3m_comp_model #+caption: Comparison of the measured sensitivity transfer functions with the model #+RESULTS: -[[file:figs/sensitivity_hac_svd_3m_comp_model.png]] +[[file:figs/test_nhexa_sensitivity_hac_svd_3m_comp_model.png]] *** Using (diagonal) Dynamical Inverse :noexport: **** Decoupled Plant @@ -7998,10 +8123,10 @@ xlim([1, 2e3]); exportFig('figs/bode_plot_hac_iff_loop_gain_diag_inverse.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:bode_plot_hac_iff_loop_gain_diag_inverse +#+name: fig:test_nhexa_bode_plot_hac_iff_loop_gain_diag_inverse #+caption: Bode plot of Loop Gain when using the Diagonal inversion #+RESULTS: -[[file:figs/bode_plot_hac_iff_loop_gain_diag_inverse.png]] +[[file:figs/test_nhexa_bode_plot_hac_iff_loop_gain_diag_inverse.png]] **** Stability Verification MIMO Nyquist with eigenvalues @@ -8049,10 +8174,10 @@ xlim([-3, 1]); ylim([-2, 2]); exportFig('figs/loci_hac_iff_loop_gain_diag_inverse.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:loci_hac_iff_loop_gain_diag_inverse +#+name: fig:test_nhexa_loci_hac_iff_loop_gain_diag_inverse #+caption: Locis of $L(j\omega)$ in the complex plane. #+RESULTS: -[[file:figs/loci_hac_iff_loop_gain_diag_inverse.png]] +[[file:figs/test_nhexa_loci_hac_iff_loop_gain_diag_inverse.png]] #+begin_important Even though the loop gain seems to be fine, the closed-loop system is unstable. @@ -8236,7 +8361,7 @@ xlim([1, Fs/2]); ylim([1e-11, 1e-7]); * Feedforward Control :noexport: -<> +<> ** Introduction :ignore: @@ -8269,10 +8394,10 @@ xlim([1, Fs/2]); ylim([1e-11, 1e-7]); \end{tikzpicture} #+end_src -#+name: fig:control_architecture_iff_feedforward +#+name: fig:test_nhexa_control_architecture_iff_feedforward #+caption: Feedforward control in the frame of the legs #+RESULTS: -[[file:figs/control_architecture_iff_feedforward.png]] +[[file:figs/test_nhexa_control_architecture_iff_feedforward.png]] Main problems: - Non-linearity: Creep, Hysteresis @@ -8318,7 +8443,7 @@ The feedforward controller is then taken as the inverse of this gain (the minus Kff_iff_L = -1/mean(diag(abs(squeeze(mean(G_enc_iff_opt(f>2 & f<4,:,:)))))); #+end_src -The open-loop gain (feedforward controller times the damped plant) is shown in Figure ref:fig:open_loop_gain_feedforward_iff_struts. +The open-loop gain (feedforward controller times the damped plant) is shown in Figure ref:fig:test_nhexa_open_loop_gain_feedforward_iff_struts. #+begin_src matlab :exports none %% Bode plot of the transfer function from u to dLm for tested values of the IFF gain @@ -8357,10 +8482,10 @@ xlim([1, 2e3]); exportFig('figs/open_loop_gain_feedforward_iff_struts.pdf', 'width', 'wide', 'height', 'tall'); #+end_src -#+name: fig:open_loop_gain_feedforward_iff_struts +#+name: fig:test_nhexa_open_loop_gain_feedforward_iff_struts #+caption: Diagonal elements of the "open loop gain" #+RESULTS: -[[file:figs/open_loop_gain_feedforward_iff_struts.png]] +[[file:figs/test_nhexa_open_loop_gain_feedforward_iff_struts.png]] And save the feedforward controller for further use: #+begin_src matlab @@ -8420,10 +8545,10 @@ load('reference_path.mat', 'Rx_yz'); \end{tikzpicture} #+end_src -#+name: fig:control_architecture_hac_iff_L_feedforward +#+name: fig:test_nhexa_control_architecture_hac_iff_L_feedforward #+caption: Feedback/Feedforward control in the frame of the legs #+RESULTS: -[[file:figs/control_architecture_hac_iff_L_feedforward.png]] +[[file:figs/test_nhexa_control_architecture_hac_iff_L_feedforward.png]] @@ -8436,7 +8561,7 @@ load('reference_path.mat', 'Rx_yz'); :header-args:matlab+: :tangle matlab/src/generateXYZTrajectory.m :header-args:matlab+: :comments none :mkdirp yes :eval no :END: -<> +<> *** Function description :ignore: @@ -8522,7 +8647,7 @@ ref(:, 2:4) = xyz'; :header-args:matlab+: :tangle matlab/src/generateYZScanTrajectory.m :header-args:matlab+: :comments none :mkdirp yes :eval no :END: -<> +<> *** Function description :ignore: @@ -8645,7 +8770,7 @@ ref(:, 4) = z; :header-args:matlab+: :tangle matlab/src/generateSpiralAngleTrajectory.m :header-args:matlab+: :comments none :mkdirp yes :eval no :END: -<> +<> *** Function description :ignore: @@ -8720,7 +8845,7 @@ ref(:, 6) = Ry; :header-args:matlab+: :tangle matlab/src/getTransformationMatrixAcc.m :header-args:matlab+: :comments none :mkdirp yes :eval no :END: -<> +<> *** Function description :ignore: diff --git a/test-bench-nano-hexapod.pdf b/test-bench-nano-hexapod.pdf index 6328521..998ea35 100644 Binary files a/test-bench-nano-hexapod.pdf and b/test-bench-nano-hexapod.pdf differ