📄 aeroblk_hl20_novrnogauges.mdl
字号:
Line {
SrcBlock "AoA"
SrcPort 1
DstBlock "Classical Controller"
DstPort 5
}
Line {
SrcBlock "AoS"
SrcPort 1
DstBlock "Classical Controller"
DstPort 6
}
Line {
SrcBlock "Phi"
SrcPort 1
DstBlock "Classical Controller"
DstPort 7
}
Line {
SrcBlock "Classical Controller"
SrcPort 1
DstBlock "u_dem"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Controls\nSelector"
Ports [5, 6]
Position [635, 180, 710, 350]
SourceBlock "aeroblk_lib_HL20/Controls\nSelector"
SourceType "SubSystem"
ShowPortLabels "on"
SystemSampleTime "-1"
FunctionWithSeparateData "off"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Port {
PortNumber 1
Name "Aileron demand"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "Elevator demand"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 3
Name "Rudder demand"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 4
Name "Positive flap demand"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 5
Name "Negative flap demand"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 6
Name "Differential flap demand"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [515, 177, 520, 283]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [590, 284, 610, 311]
ShowName off
Inputs "*/"
RndMeth "Floor"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [565, 220, 585, 240]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [590, 185, 610, 205]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [540, 255, 560, 275]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType SubSystem
Name "Trim Map"
Ports [1, 3]
Position [355, 23, 525, 67]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Trim Map"
Location [457, 410, 965, 667]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "AoA,AoS\ndemands"
Position [40, 108, 70, 122]
IconDisplay "Port number"
}
Block {
BlockType PreLookup
Name "Alpha\nSchedule"
Ports [1, 2]
Position [200, 68, 245, 97]
BreakpointsData "a_vec"
BeginIndexSearchUsingPreviousIndexResult on
ProcessOutOfRangeInput "Linear extrapolation"
}
Block {
BlockType PreLookup
Name "Beta\nSchedule"
Ports [1, 2]
Position [200, 128, 245, 157]
BreakpointsData "b_vec"
BeginIndexSearchUsingPreviousIndexResult on
ProcessOutOfRangeInput "Linear extrapolation"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [115, 67, 120, 163]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Terminator
Name "Terminator"
Position [150, 78, 165, 92]
ShowName off
}
Block {
BlockType "Interpolation_n-D"
Name "da"
Ports [4, 1]
Position [305, 16, 355, 54]
Table "squeeze(U_trim_matrix(1,:,:))"
CheckIndexInCode off
}
Block {
BlockType "Interpolation_n-D"
Name "de"
Ports [4, 1]
Position [305, 91, 355, 129]
Table "squeeze(U_trim_matrix(2,:,:))"
CheckIndexInCode off
}
Block {
BlockType "Interpolation_n-D"
Name "dr"
Ports [4, 1]
Position [305, 161, 355, 199]
Table "squeeze(U_trim_matrix(3,:,:))"
CheckIndexInCode off
}
Block {
BlockType Outport
Name "da_trim"
Position [375, 28, 405, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "de_trim"
Position [375, 103, 405, 117]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "dr_trim"
Position [375, 173, 405, 187]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "dr"
SrcPort 1
DstBlock "dr_trim"
DstPort 1
}
Line {
SrcBlock "de"
SrcPort 1
DstBlock "de_trim"
DstPort 1
}
Line {
SrcBlock "da"
SrcPort 1
DstBlock "da_trim"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Beta\nSchedule"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [55, 0; 0, -30]
DstBlock "Alpha\nSchedule"
DstPort 1
}
Line {
SrcBlock "AoA,AoS\ndemands"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Beta\nSchedule"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -20]
Branch {
Points [0, -75]
DstBlock "da"
DstPort 3
}
Branch {
DstBlock "de"
DstPort 3
}
}
Branch {
Points [0, 50]
DstBlock "dr"
DstPort 3
}
}
Line {
SrcBlock "Alpha\nSchedule"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 20]
Branch {
DstBlock "de"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "dr"
DstPort 1
}
}
Branch {
Points [0, -55]
DstBlock "da"
DstPort 1
}
}
Line {
SrcBlock "Alpha\nSchedule"
SrcPort 2
Points [25, 0]
Branch {
Points [0, -60]
DstBlock "da"
DstPort 2
}
Branch {
Points [0, 15]
Branch {
DstBlock "de"
DstPort 2
}
Branch {
Points [0, 70]
DstBlock "dr"
DstPort 2
}
}
}
Line {
SrcBlock "Beta\nSchedule"
SrcPort 2
Points [40, 0]
Branch {
Points [0, -25]
Branch {
DstBlock "da"
DstPort 4
}
Branch {
DstBlock "de"
DstPort 4
}
}
Branch {
DstBlock "dr"
DstPort 4
}
}
}
}
Block {
BlockType Constant
Name "qbar0"
Position [530, 294, 565, 316]
Value "qbar0"
}
Block {
BlockType Outport
Name "Demands"
Position [880, 258, 910, 272]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Airbrake\ndemand"
SrcPort 1
DstBlock "Controls\nSelector"
DstPort 5
}
Line {
Name "<qbar>"
Labels [0, 0]
SrcBlock "Bus\nSelector1"
SrcPort 2
Points [375, 0; 0, -255]
DstBlock "Product1"
DstPort 1
}
Line {
Name "<Alpha;Beta>"
Labels [0, 0; 2, 0]
SrcBlock "Bus\nSelector1"
SrcPort 1
Points [35, 0]
DstBlock "Angle Conversion"
DstPort 1
}
Line {
SrcBlock "Airdata System o/p"
SrcPort 1
DstBlock "Bus\nSelector1"
DstPort 1
}
Line {
Name "<Phi>"
Labels [0, 0]
SrcBlock "Bus\nSelector"
SrcPort 2
Points "[45, 0; 0, 15; -100, 0; 0, 365; 240, 0; 0, "
"-200]"
DstBlock "Configurable Subsystem\nfor 3 Controller De"
"signs"
DstPort 7
}
Line {
SrcBlock "IMU&GPS o/p"
SrcPort 1
DstBlock "Bus\nSelector"
DstPort 1
}
Line {
SrcBlock "Configurable Subsystem\nfor 3 Controller De"
"signs"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 3
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Trim Map"
SrcPort 3
Points [20, 0]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Trim Map"
SrcPort 2
Points [45, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Controls\nSelector"
DstPort 3
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Controls\nSelector"
DstPort 2
}
Line {
SrcBlock "Trim Map"
SrcPort 1
Points [70, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Controls\nSelector"
DstPort 1
}
Line {
SrcBlock "qbar0"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -