资源简介
导弹制导控制全仿真模型,滑模制导律,MATLAB代码,很详细很完整的一个仿真系统。含参考文献:2\AIAA-2006-Sliding-Mode Control for Integrated Missile Autopilot Guidance.pdf
代码片段和文件信息
function [at_x_outat_y_outat_z_out] = at_fun( hat_xat_yat_zat_xcat_ycat_zc tau_t)
%AT_FUN Summary of this function goes here
% Detailed explanation goes here
%%Euler%%
% % dat_x = (at_xc-at_x)/tau_t;
% % dat_y = (at_yc-at_y)/tau_t;
% % dat_z = (at_zc-at_z)/tau_t;
% % at_x_out = at_x + h*dat_x;
% % at_y_out = at_y + h*dat_y;
% % at_z_out = at_z + h*dat_z;
%ruk4%
m_n = 3;
rk1 = zeros(1m_n);
rk2 = zeros(1m_n);
rk3 = zeros(1m_n);
ys = zeros(1m_n);
m_y = [at_xat_yat_z];
dt02 = h*0.5;
m_d = dif_at( at_xat_yat_zat_xcat_ycat_zctau_t );
for i=1:1:m_n
rk1(i) = m_d(i)*dt02;
ys(i) = m_y(i);
m_y(i) = ys(i)+rk1(i);
end
m_d = dif_at( at_xat_yat_zat_xcat_ycat_zctau_t );
for i=1:1:m_n
rk2(i)=m_d(i)*dt02;
m_y(i)=ys(i)+rk2(i);
end
m_d = dif_at( at_xat_yat_zat_xcat_ycat_zctau_t );
for i=1:1:m_n
rk3(i)=m_d(i)*h;
m_y(i)=ys(i)+rk3(i);
end
m_d = dif_at( at_xat_yat_zat_xcat_ycat_zctau_t );
for i=1:1:m_n
m_y(i)=ys(i)+0.16666667*(2*(rk1(i)+rk3(i))+4*rk2(i)+m_d(i)*h);
end
at_x_out = m_y(1);
at_y_out = m_y(2);
at_z_out = m_y(3);
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 390940 2019-12-04 18:25 guidance-and-control-simulation\AIAA-2006-Sliding-Mode Control for Integrated Missile Autopilot Guidance.pdf
文件 1141 2012-06-15 14:34 guidance-and-control-simulation\at_fun.m
文件 731 2012-06-15 09:23 guidance-and-control-simulation\DCM2Euler_fun.m
文件 1105 2012-06-15 14:44 guidance-and-control-simulation\delta_fun.m
文件 542 2012-06-14 16:09 guidance-and-control-simulation\dif_3dof.m
文件 1280 2012-06-14 16:02 guidance-and-control-simulation\dif_6dof.m
文件 265 2012-06-14 16:30 guidance-and-control-simulation\dif_at.m
文件 213 2012-06-14 16:47 guidance-and-control-simulation\dif_delta.m
文件 185 2012-06-14 16:38 guidance-and-control-simulation\dif_TRM.m
文件 139 2012-06-14 16:50 guidance-and-control-simulation\dif_zzyy.m
文件 23795 2012-06-15 13:16 guidance-and-control-simulation\EKF_UKF_fun.m
文件 1032 2012-06-15 12:55 guidance-and-control-simulation\Euler2DCM_fun.m
文件 121 2012-06-06 14:23 guidance-and-control-simulation\ff.m
文件 380 2012-06-06 21:07 guidance-and-control-simulation\plot3_project.m
文件 218 2012-05-17 22:24 guidance-and-control-simulation\sat.m
文件 6236 2012-06-15 14:50 guidance-and-control-simulation\ThreeD_IGC_EKF_UKF_Initial.m
文件 1785 2012-06-15 15:06 guidance-and-control-simulation\ThreeD_IGC_EKF_UKF_main.m
文件 9089 2012-06-14 22:47 guidance-and-control-simulation\ThreeD_IGC_EKF_UKF_plot.m
文件 47437 2012-06-15 15:04 guidance-and-control-simulation\ThreeD_IGC_Sample_run.m
文件 1106 2012-06-15 14:46 guidance-and-control-simulation\TRM_fun.m
文件 1579 2012-06-15 14:37 guidance-and-control-simulation\VehicleEquation3dof_fun.m
文件 4772 2012-06-15 15:00 guidance-and-control-simulation\VehicleEquation6dof_fun.m
文件 819 2012-06-15 14:50 guidance-and-control-simulation\yyzz_fun.m
目录 0 2019-12-04 21:55 guidance-and-control-simulation
----------- --------- ---------- ----- ----
494910 24
评论
共有 条评论