📄 f16_actlib.mdl
字号:
EnableShiftOperators on
ParenthesesLevel "Nominal"
PortableWordSizes off
ModelStepFunctionPrototypeControlCompliant off
ExtMode off
ExtModeStaticAlloc off
ExtModeTesting off
ExtModeStaticAllocSize 1000000
ExtModeTransport 0
ExtModeMexFile "ext_comm"
ExtModeIntrfLevel "Level1"
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
GenerateASAP2 off
}
PropName "Components"
}
}
PropName "Components"
}
Name "Configuration"
CurrentDlgPage "Solver"
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ParameterDataTypeMode "Same as input"
ParameterDataType "fixdt(1,16,0)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "[]"
OutDataTypeMode "Same as input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Inport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
SignalType "auto"
SamplingMode "auto"
LatchByCopyingInsideSignal off
Interpolate on
}
Block {
BlockType Integrator
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
ZeroCross on
ContinuousStateAttributes "''"
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType SubSystem
ShowPortLabels "FromPortIcon"
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Saturate
UpperLimit "0.5"
LowerLimit "-0.5"
LinearizeAsGain on
ZeroCross on
SampleTime "-1"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "tp4ef57830_afdf_48b4_9fcd_e38e21ffe102"
Location [33, 255, 613, 548]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Aileron act"
Ports [1, 1]
Position [80, 169, 180, 211]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "port_label('output', 1, 'da')\nport_label('input', 1, 'da_ref')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Aileron act"
Location [322, 328, 893, 628]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [40, 93, 70, 107]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Saturate
Name "Command\nSaturation"
Position [100, 85, 130, 115]
UpperLimit "21.5*pi/180"
LowerLimit "-21.5*pi/180"
}
Block {
BlockType Gain
Name "Gain"
Position [225, 80, 275, 120]
Gain "20.2"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Integrator
Name "Integrator\n"
Ports [1, 1]
Position [395, 85, 425, 115]
InitialCondition "init_u(3)"
UpperSaturationLimit "21.5"
LowerSaturationLimit "-21.5"
}
Block {
BlockType Saturate
Name "Rate\nSaturation"
Position [315, 85, 345, 115]
UpperLimit "80*pi/180"
LowerLimit "-80*pi/180"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [180, 90, 200, 110]
ShowName off
IconShape "round"
Inputs "|+-"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Out1"
Position [490, 93, 520, 107]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Command\nSaturation"
DstPort 1
}
Line {
SrcBlock "Command\nSaturation"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Rate\nSaturation"
DstPort 1
}
Line {
SrcBlock "Rate\nSaturation"
SrcPort 1
DstBlock "Integrator\n"
DstPort 1
}
Line {
SrcBlock "Integrator\n"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
Points [0, 95; -260, 0]
DstBlock "Sum"
DstPort 2
}
}
}
}
Block {
BlockType SubSystem
Name "Elevator act."
Ports [1, 1]
Position [80, 64, 180, 106]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "port_label('output', 1, 'de')\nport_label('input', 1, 'de_ref')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Elevator act."
Location [210, 392, 781, 692]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [40, 93, 70, 107]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Saturate
Name "Command\nSaturation"
Position [100, 85, 130, 115]
UpperLimit "25*pi/180"
LowerLimit "-25*pi/180"
}
Block {
BlockType Gain
Name "Gain"
Position [225, 80, 275, 120]
Gain "20.2"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Integrator
Name "Integrator\n"
Ports [1, 1]
Position [395, 85, 425, 115]
InitialCondition "init_u(2)"
UpperSaturationLimit "25"
LowerSaturationLimit "-25"
}
Block {
BlockType Saturate
Name "Rate\nSaturation"
Position [315, 85, 345, 115]
UpperLimit "60*pi/180"
LowerLimit "-60*pi/180"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [180, 90, 200, 110]
ShowName off
IconShape "round"
Inputs "|+-"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Out1"
Position [490, 93, 520, 107]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Command\nSaturation"
DstPort 1
}
Line {
SrcBlock "Command\nSaturation"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Rate\nSaturation"
DstPort 1
}
Line {
SrcBlock "Rate\nSaturation"
SrcPort 1
DstBlock "Integrator\n"
DstPort 1
}
Line {
SrcBlock "Integrator\n"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -