资源简介
基于Matlab软件的航天器控制工具箱Spacecraft Control Toolbox 是Princeton Satellite System公司(简称PSS)最早和应用最广的产品之一,有20多年的历史,被广泛用来设计控制系统、进行姿态估计、分析位置保持精度、制定燃料预算以及分析航天器动力学特性等工作。Spacecraft Control Toolbox工具箱经过多次飞行验证,证明是行之有效的。这个工具箱涵盖了航天器控制设计的各个方面。用户可以在很短的时间内完成各种类型航天器控制系统的设计和仿真试验。软件的模型和数据易于修改,具有良好的可视化功能。大部分算法都可以看到源代码。
附件中为源代码工具箱
代码片段和文件信息
function [ rRT tToGoMem tToGo tDone ] = TimeGUI( totalSteps stepsDone tToGoMem rRT dT name )
%-------------------------------------------------------------------------------
% Computes the time left to go in the simulation the predicted finish
% time and the ratio of simulation time to real time. This routine
% should be called at regular intervals.
%-------------------------------------------------------------------------------
% Form:
% [ rRT tToGoMem tToGo tDone ] = TimeGUI( totalSteps stepsDone tToGoMem rRT dT name )
%-------------------------------------------------------------------------------
%
% ------
% Inputs
% ------
% totalSteps Total number of steps in the simulation
% stepsDone Number of steps completed
% tToGoMem Memory [lastJD lastStepsDone number of averages done]
% rRT Ratio of simulation time to real time
% dT Simulation time step (sec)
% name Name of simulation
%
% -------
% Outputs
% -------
% rRT Ratio of simulation time to real time
% tToGoMem Memory [lastJD lastStepsDone number of averages done]
% tToGo Time left in the simulation
% tDone Predicted clock time of finish
%
%-------------------------------------------------------------------------------
%-------------------------------------------------------------------------------
% Copyright 1995 Princeton Satellite Systems Inc. All rights reserved.
%-------------------------------------------------------------------------------
jD = Date2JD(clock);
if( nargin < 2 )
stepsDone = 0;
end
if( nargin < 3 )
tToGoMem.lastJD = 0;
tToGoMem.lastStepsDone = 0;
tToGoMem.kAve = 0;
end
if( nargin < 4 )
rRT = 0;
end
if( stepsDone == 0 )
lastJD = jD;
lastStepsDone = 0;
kAve = 0;
rRT = 0;
if( nargin < 5 )
name = ‘Time Statistics‘;
end
tToGoMem.hGUI = BuildGUI( name );
else
lastJD = tToGoMem.lastJD;
lastStepsDone = tToGoMem.lastStepsDone;
kAve = tToGoMem.kAve;
end
if( stepsDone > 0 & lastJD > 0 )
kAve = kAve + 1;
r = (dT/86400)*(stepsDone-lastStepsDone)/(jD-lastJD);
rRT = ( (kAve-1)*rRT + r )/kAve;
simTimeToGo = dT*(totalSteps - stepsDone);
tToGo = simTimeToGo/rRT;
jDDone = jD + tToGo/86400;
tDone = JD2Date( jDDone );
if( nargout == 2 )
t = tToGo;
hh = floor(t/3600);
t = t - 3600*hh;
mm = floor(t/60);
t = t - 60*mm;
tDone(1) = tDone(1) - 100*floor(tDone(1)/100);
if( rRT > 1 )
sRT = sprintf(‘Sim speed is %6.2f%% faster than real time‘100*(rRT-1));
else
sRT = sprintf(‘Sim speed is %6.2f%% of real time‘100*rRT);
end
sTToGo = sprintf(‘%4.2f%% complete with %2.2i:%2.2i:%5.2f to go‘100*(stepsDone/totalSteps)hhmmt);
sComp = sprintf(‘Should be comple
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1864555 2000-12-15 18:40 Spacecraft Control Toolbox\ACSTheory.pdf
文件 8634 2000-01-03 21:04 Spacecraft Control Toolbox\License.pdf
文件 1725172 2000-12-19 05:15 Spacecraft Control Toolbox\SCUsersGuide.pdf
文件 2131 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\AddMass.m
文件 2566 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\AddSurf.m
文件 1826 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\AngRate.m
文件 1041 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\ArcEff.m
文件 1096 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\AttProp.m
文件 1826 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\CMGAMatrix.m
文件 4509 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\Contents.m
文件 1292 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\DblPivot.m
文件 2014 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\DSpnStab.m
文件 1672 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\DSTCrit.m
文件 1271 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\DSTM.m
文件 3086 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\DWheel.m
文件 1821 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\EKFSSG.m
文件 1449 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\FGravityGradientStiffness.m
文件 3303 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\FRSCGen.m
文件 2099 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\FRSMPlan.m
文件 2417 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\FRSProp.m
文件 1443 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\FRSTarg.m
文件 2132 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\FRSTorque.m
文件 1459 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\GetModes.m
文件 1618 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\GimbalC.m
文件 1334 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\GravityGradientStiffness.m
文件 893 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\IC3X326.m
文件 904 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\IC623X3.m
文件 3628 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\Inertias.m
文件 3261 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\LoadFlex.m
文件 3498 2001-02-13 17:58 Spacecraft Control Toolbox\Spacecraft Control Toolbox\Attitude\MagAirC.m
............此处省略1309个文件信息
- 上一篇:滑模变结构控制MATLAB仿真刘金锟
- 下一篇:UWB_Matlab
相关资源
- 滑模变结构控制MATLAB仿真刘金锟
- 优化工具箱
- 定量反馈控制QFTmatlab 工具箱
- Git版本控制管理第2版(mobi)版6寸
- matlab通信系统工具箱
- Matlab时频分析工具箱及仿真案例
- 聚类数指标matlab工具箱
- 支持向量机matlab工具箱含资料及gui模
- MatLab偏微分方程工具箱使用手册
- 基于PID的恒温控制系统设计
- 课件《神经.模糊.预测控制及其MATLA
- 自动控制原理 王建辉版 第四版
- stprtool工具箱.zip
- 基于Matlab的燃油炉温度仿真系统的设
- 基于单片机的温度测控系统设计
- kriging工具箱matlab
- zw_qq_15023225-7501331-S函数的BP神经网络
-
基于MATLABSimuli
nk 的双电机伺服控制 - 基于DSP的数字PID控制 DC-DC变换器的设
- 直流电机模糊控制系统的MATLAB/Simu
- 基于MATLAB的单相逆变器并网控制
- 最优控制问题描述及matlab求解
- 遗传算法工具箱
- 无刷直流电机基于模糊PID的速度控制
- 主动噪声控制,fxLMS Active-Noise-Contro
- MATLAB遗传算法工具箱及应用.zip
- 这是最优传输理论optimal transport theo
- 倒立摆系统的建模及Matlab仿真报告.
- 《MATLAB 遗传算法工具箱及应用》PDF完
- 过程控制工程及仿真--基于MATLABSimul
评论
共有 条评论