📄 seasat.mdl
字号:
SaveName "dist"
DataFormat "Array"
LimitDataPoints off
}
Block {
BlockType Gain
Name "K"
Position [270, 140, 300, 170]
Orientation "left"
Gain "K"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Scope
Name "P"
Ports [1]
Position [435, 12, 465, 38]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveToWorkspace on
SaveName "P"
DataFormat "Array"
LimitDataPoints off
Decimation "100"
}
Block {
BlockType Scope
Name "Q"
Ports [1]
Position [435, 59, 465, 81]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveToWorkspace on
SaveName "Q"
DataFormat "Array"
LimitDataPoints off
Decimation "100"
}
Block {
BlockType Scope
Name "R"
Ports [1]
Position [435, 104, 465, 126]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveToWorkspace on
SaveName "R"
DataFormat "Array"
LimitDataPoints off
Decimation "100"
}
Block {
BlockType Scope
Name "Roll Wheel\nTorque"
Ports [1]
Position [40, 88, 70, 112]
Orientation "left"
NamePlacement "alternate"
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveToWorkspace on
SaveName "u1"
DataFormat "Array"
LimitDataPoints off
Decimation "100"
}
Block {
BlockType StateSpace
Name "Seasat Satellite"
Position [235, 53, 295, 87]
A "A"
B "B"
C "eye(size(A))"
D "zeros(size(B))"
X0 "[0 0 0 0.01 0.002 0]'"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [210, 145, 230, 165]
Orientation "left"
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Scope
Name "Yaw Wheel\nTorque"
Ports [1]
Position [40, 117, 70, 143]
Orientation "left"
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveToWorkspace on
SaveName "u2"
DataFormat "Array"
LimitDataPoints off
Decimation "100"
}
Block {
BlockType Gain
Name "[1 1]'"
Position [205, 185, 235, 215]
Orientation "up"
NamePlacement "alternate"
Gain "[1;1]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Scope
Name "phi"
Ports [1]
Position [435, 149, 465, 171]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveToWorkspace on
SaveName "phi"
DataFormat "Array"
LimitDataPoints off
Decimation "100"
}
Block {
BlockType Scope
Name "psi"
Ports [1]
Position [435, 239, 465, 261]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveToWorkspace on
SaveName "psi"
DataFormat "Array"
LimitDataPoints off
Decimation "100"
}
Block {
BlockType Scope
Name "theta"
Ports [1]
Position [435, 194, 465, 216]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveToWorkspace on
SaveName "theta"
DataFormat "Array"
LimitDataPoints off
Decimation "100"
}
Line {
SrcBlock "Seasat Satellite"
SrcPort 1
Points [55, 0; 0, 70]
Branch {
Points [0, 15]
DstBlock "K"
DstPort 1
}
Branch {
Points [0, 0]
DstBlock "Demux"
DstPort 1
}
}
Line {
SrcBlock "K"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Band-Limited\nWhite Noise"
SrcPort 1
Points [0, -5]
Branch {
DstBlock "[1 1]'"
DstPort 1
}
Branch {
DstBlock "Disturbing Torque"
DstPort 1
}
}
Line {
SrcBlock "[1 1]'"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [-25, 0; 0, -40]
Branch {
Points [0, -45]
DstBlock "Seasat Satellite"
DstPort 1
}
Branch {
DstBlock "Demux1"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "P"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Q"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "R"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "phi"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 5
DstBlock "theta"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 6
DstBlock "psi"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Yaw Wheel\nTorque"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Roll Wheel\nTorque"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -