📄 aeroblk_hl20_novrnogauges.mdl
字号:
Line {
SrcBlock "Bus\nCreator1"
SrcPort 1
DstBlock "Positions"
DstPort 1
}
Line {
Name "Flap(diff)"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 6
DstBlock "Bus\nCreator1"
DstPort 6
}
Line {
Name "Flap(neg)"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 5
DstBlock "Bus\nCreator1"
DstPort 5
}
Line {
Name "Flap(pos)"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 4
DstBlock "Bus\nCreator1"
DstPort 4
}
Line {
Name "Rudder"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 3
DstBlock "Bus\nCreator1"
DstPort 3
}
Line {
Name "Elevator"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 2
DstBlock "Bus\nCreator1"
DstPort 2
}
Line {
Name "Aileron"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 1
DstBlock "Bus\nCreator1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Airdata System"
Ports [1, 1]
Position [420, 261, 545, 319]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Airdata System"
Location [353, 439, 681, 639]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Model\no/p bus"
Position [35, 88, 65, 102]
IconDisplay "Port number"
}
Block {
BlockType BusCreator
Name "Bus\nCreator1"
Ports [2, 1]
Position [215, 73, 220, 117]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType BusSelector
Name "Bus\nSelector"
Ports [1, 2]
Position [115, 28, 120, 157]
ShowName off
OutputSignals "Alpha;Beta,qbar"
Port {
PortNumber 1
Name "<Alpha;Beta>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "<qbar>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Outport
Name "Control i/p"
Position [265, 88, 295, 102]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Model\no/p bus"
SrcPort 1
DstBlock "Bus\nSelector"
DstPort 1
}
Line {
Name "<Alpha;Beta>"
Labels [0, 0]
SrcBlock "Bus\nSelector"
SrcPort 1
Points [65, 0; 0, 25]
DstBlock "Bus\nCreator1"
DstPort 1
}
Line {
Name "<qbar>"
Labels [0, 0]
SrcBlock "Bus\nSelector"
SrcPort 2
Points [65, 0; 0, -20]
DstBlock "Bus\nCreator1"
DstPort 2
}
Line {
SrcBlock "Bus\nCreator1"
SrcPort 1
DstBlock "Control i/p"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Control System"
Ports [3, 1]
Position [320, 382, 500, 448]
Orientation "left"
BackgroundColor "[1.000000, 0.694118, 0.392157]"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Control System"
Location [28, 75, 961, 659]
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 "Airdata System o/p"
Position [40, 528, 70, 542]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "IMU&GPS o/p"
Position [35, 93, 65, 107]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Guidance o/p"
Position [35, 38, 65, 52]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Airbrake\ndemand"
Position [590, 326, 615, 344]
Value "0.0"
}
Block {
BlockType Selector
Name "Alpha"
Ports [1, 1]
Position [157, 280, 183, 300]
Orientation "up"
NamePlacement "alternate"
IndexOptions "Index vector (dialog)"
Indices "1"
OutputSizes "1"
InputPortWidth "2"
}
Block {
BlockType PreLookup
Name "Alpha\nSchedule"
Ports [1, 2]
Position [200, 193, 245, 222]
BreakpointsData "a_vec"
BeginIndexSearchUsingPreviousIndexResult on
ProcessOutOfRangeInput "Linear extrapolation"
Port {
PortNumber 1
Name "k"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "f"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Angle Conversion"
Ports [1, 1]
Position [146, 370, 194, 420]
Orientation "up"
BackgroundColor "[1.000000, 0.501961, 0.501961]"
NamePlacement "alternate"
ShowName off
SourceBlock "aerolibconvert2/Angle Conversion"
SourceType "Angle Conversion"
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"
IU "rad"
OU "deg"
}
Block {
BlockType Selector
Name "Beta"
Ports [1, 1]
Position [109, 300, 131, 320]
Orientation "up"
NamePlacement "alternate"
IndexOptions "Index vector (dialog)"
Indices "2"
OutputSizes "1"
InputPortWidth "2"
}
Block {
BlockType PreLookup
Name "Beta\nSchedule"
Ports [1, 2]
Position [200, 138, 245, 167]
BreakpointsData "b_vec"
BeginIndexSearchUsingPreviousIndexResult on
ProcessOutOfRangeInput "Linear extrapolation"
Port {
PortNumber 1
Name "k"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "f"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType BusCreator
Name "Bus\nCreator"
Ports [2, 1]
Position [270, 192, 275, 223]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType BusCreator
Name "Bus\nCreator1"
Ports [6, 1]
Position [835, 167, 840, 363]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType BusCreator
Name "Bus\nCreator2"
Ports [2, 1]
Position [270, 137, 275, 168]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType BusSelector
Name "Bus\nSelector"
Ports [1, 2]
Position [110, 81, 115, 119]
ShowName off
OutputSignals "pqr,Phi"
Port {
PortNumber 1
Name "<pqr>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "<Phi>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType BusSelector
Name "Bus\nSelector1"
Ports [1, 2]
Position [125, 516, 130, 554]
ShowName off
OutputSignals "Alpha;Beta,qbar"
Port {
PortNumber 1
Name "<Alpha;Beta>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "<qbar>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType SubSystem
Name "Configurable Subsystem\nfor 3 Controller De"
"signs"
Ports [7, 1]
Position [360, 158, 465, 302]
BackgroundColor "[1.000000, 0.694118, 0.392157]"
AttributesFormatString "%<BlockChoice>"
BlockChoice "Classical Controller"
TemplateBlock "aeroblk_lib_HL20/Configurable Subsystem\nfo"
"r 3 Controller Designs"
MemberBlocks "Classical Controller,H-infinity Controller "
"[1 dimensional scheduling],H-infinity Controller [2 dimensional scheduling]"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Configurable Subsystem\nfor 3 Controller "
"Designs"
Location [148, 182, 646, 482]
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 "Demands"
Position [20, 40, 40, 60]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Rates"
Position [20, 80, 40, 100]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Beta-sc"
Position [20, 120, 40, 140]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Alpha-sc"
Position [20, 160, 40, 180]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "AoA"
Position [20, 200, 40, 220]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "AoS"
Position [20, 240, 40, 260]
Port "6"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Phi"
Position [20, 280, 40, 300]
Port "7"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Classical Controller"
Ports [7, 1]
Position [100, 40, 140, 80]
BackgroundColor "[1.000000, 0.694118, 0.392157]"
SourceBlock "aeroblk_lib_HL20/Classical Controller"
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"
}
Block {
BlockType Outport
Name "u_dem"
Position [200, 40, 220, 60]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Demands"
SrcPort 1
DstBlock "Classical Controller"
DstPort 1
}
Line {
SrcBlock "Rates"
SrcPort 1
DstBlock "Classical Controller"
DstPort 2
}
Line {
SrcBlock "Beta-sc"
SrcPort 1
DstBlock "Classical Controller"
DstPort 3
}
Line {
SrcBlock "Alpha-sc"
SrcPort 1
DstBlock "Classical Controller"
DstPort 4
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -