📄 sh_closed_loop_actuator.mdl
字号:
GenFloatMathFcnCalls "ANSI_C"
UtilityFuncGeneration "Auto"
GenerateFullHeader on
GenerateSampleERTMain off
GenerateTestInterfaces off
IsPILTarget off
ModelReferenceCompliant on
IncludeMdlTerminateFcn on
CombineOutputUpdateFcns off
SuppressErrorStatus off
IncludeERTFirstTime on
ERTFirstTimeCompliant off
IncludeFileDelimiter "Auto"
ERTCustomFileBanners off
SupportAbsoluteTime on
LogVarNameModifier "rt_"
MatFileLogging on
MultiInstanceERTCode off
SupportNonFinite on
SupportComplex on
PurelyIntegerCode off
SupportContinuousTime on
SupportNonInlinedSFcns on
ExtMode off
ExtModeStaticAlloc off
ExtModeTesting off
ExtModeStaticAllocSize 1000000
ExtModeTransport 0
ExtModeMexFile "ext_comm"
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
GenerateASAP2 off
}
PropName "Components"
}
}
PropName "Components"
}
Name "Configuration"
SimulationMode "normal"
CurrentDlgPage "Solver"
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Demux
Outputs "4"
DisplayOption "none"
BusSelectionMode off
}
Block {
BlockType From
IconDisplay "Tag"
}
Block {
BlockType FromWorkspace
VariableName "simulink_input"
SampleTime "-1"
Interpolate on
ZeroCross off
OutputAfterFinalValue "Extrapolation"
}
Block {
BlockType Goto
IconDisplay "Tag"
}
Block {
BlockType Ground
}
Block {
BlockType Inport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
LatchByDelayingOutsideSignal off
LatchByCopyingInsideSignal off
Interpolate on
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
UseBusObject off
BusObject "BusObject"
NonVirtualBus off
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType PMComponent
SubClassName "unknown"
}
Block {
BlockType PMIOPort
}
Block {
BlockType Scope
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "-1"
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType Step
Time "1"
Before "0"
After "1"
SampleTime "-1"
VectorParams1D on
ZeroCross on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Terminator
}
Block {
BlockType TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "sh_closed_loop_actuator"
Location [12, 98, 1023, 497]
Open on
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"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "4-Way Directional\nValve"
Tag "Factory Generic"
Ports [0, 0, 0, 0, 0, 2, 3]
Position [420, 260, 480, 300]
Orientation "down"
DialogController "NetworkEngine.DynNeDlgSource"
SourceBlock "sh_lib/Valves/Directional Valves/4-Way Directio"
"nal\nValve"
SourceType "4-Way Directional\nValve"
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"
ClassName "valve_dir_4_way"
SchemaVersion "1"
mdl_type "1"
mdl_type_unit "1"
area_max "0.00015"
area_max_unit "m^2"
opening_max "0.01"
opening_max_unit "m"
opening_tab "[-0.002 0 0.005 0.015]"
opening_tab_unit "m"
area_tab "[1e-12 4e-12 1e-05 1.02e-05]"
area_tab_unit "m^2"
pressure_tab "[-5000000 -2000000 2000000 5000000]"
pressure_tab_unit "Pa"
flow_rate_tab "[-1e-12 -6e-14 6000000000000 100000000000;-8e-0"
"8 -4e-08 4000000 8000000;-0.0025 -0.00103 0.001 0.0024;-0.00258 -0.001032 0.0"
"0106 0.00247]"
flow_rate_tab_unit "m^3/s"
interp_method "1"
interp_method_unit "1"
extrap_method "1"
extrap_method_unit "1"
C_d "0.7"
C_d_unit "1"
x_0_P_A "1e-05"
x_0_P_A_unit "m"
x_0_P_B "1e-05"
x_0_P_B_unit "m"
x_0_A_T "1e-05"
x_0_A_T_unit "m"
x_0_B_T "1e-05"
x_0_B_T_unit "m"
Re_cr "12"
Re_cr_unit "1"
A_leak "1e-12"
A_leak_unit "m^2"
LocalVarLogging "[]"
}
Block {
BlockType SubSystem
Name "Actuator"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [680, 56, 740, 74]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Actuator"
Location [121, 175, 326, 288]
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 Reference
Name "SPS_3"
Ports [1, 0, 0, 0, 0, 0, 1]
Position [95, 25, 125, 55]
DialogController "NetworkEngine.DynNeUtilDlgSource"
SourceBlock "pm_libv1/Utilities/Simulink-PS\nConverter"
SourceType "Simulink-PS\nConverter"
ShowPortLabels off
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhysicalDomain "network_engine_domain"
LeftPortType "input"
RightPortType "output"
SubClassName "ps_input"
Unit "1"
PmDlgSchema "struct( ...\n 'Name', 'PMDialogs.PMDlgBuil"
"der', ...\n 'Version', '1.0.0', ...\n 'Items', {[ ...\n { struct( ...\n "
" 'ClassName', 'PMDialogs.PmDescriptionPanel', ...\n 'Version', '"
"1.0.0' ...\n ) },{ struct( ...\n 'ClassName', 'PMDialogs.PmGroupP"
"anel', ...\n 'Version', '1.0.0', ...\n 'Parameters', struct( .."
".\n 'Label', 'Parameters', ...\n 'Style', 'Box' ...\n "
" ), ...\n 'Items', {struct( ...\n 'ClassName', 'Ne"
"tworkEngine.PmNePSConvertPanel', ...\n 'Version', '1.0.0', ...\n"
" 'Parameters', struct( ...\n 'ParamName', 'Unit"
"', ...\n 'ConverterMode', 'in' ...\n ), ...\n"
" 'Items', [] ...\n )} ...\n ) } ; ...\n ]} .."
".\n) "
}
Block {
BlockType Step
Name "Step"
Position [25, 25, 55, 55]
Time "4.5"
Before "1000"
After "4000"
SampleTime "0"
}
Block {
BlockType PMIOPort
Name "Force"
Position [150, 33, 180, 47]
Orientation "left"
Port "1"
Side "Right"
}
Line {
LineType "Connection"
SrcBlock "Force"
SrcPort RConn1
Points [0, 0]
DstBlock "SPS_3"
DstPort RConn1
}
Line {
SrcBlock "Step"
SrcPort 1
DstBlock "SPS_3"
DstPort 1
}
Annotation {
Name "3000N additional load \napplied at t=4.5s"
Position [75, 88]
UseDisplayTextAsClickCallback off
}
}
}
Block {
BlockType TransferFcn
Name "Compensator"
Position [175, 302, 235, 338]
Numerator "[Ka]"
Denominator "[Ka Kb]"
}
Block {
BlockType SubSystem
Name "Control Unit"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -