📄 smith2c.mdl
字号:
Model {
Name "smith1c"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "10.0"
SolverMode "SingleTasking"
Solver "ode45"
RelTol "1e-3"
AbsTol "1e-6"
Refine "1"
MaxStep "auto"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime on
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Matrix"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "warning"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
ConsistencyChecking "off"
ZeroCross on
SimulationMode "normal"
BlockDataTips on
BlockParametersDataTip on
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
OptimizeBlockIOStorage on
BufferReuse on
BooleanDataType off
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect off
Created "Tue Jul 19 14:10:39 2005"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Administrator"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Fri Aug 22 13:40:41 2003"
ModelVersionFormat "1.%<AutoIncrement:250>"
ConfigurationManager "none"
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
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 "smith1c"
Location [10, 74, 810, 588]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "109"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType Inport
Name "In1"
Position [80, 118, 110, 132]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "In2"
Position [600, 123, 630, 137]
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Reference
Name "PID Controller"
Ports [1, 1, 0, 0, 0]
Position [620, 285, 650, 315]
Orientation "left"
NamePlacement "alternate"
SourceBlock "simulink_extras/Additional\nLinear/PID Controll"
"er"
SourceType "PID Controller"
P "1"
I "0.05"
D "0"
}
Block {
BlockType Reference
Name "PID Controller1"
Ports [1, 1, 0, 0, 0]
Position [285, 120, 315, 150]
SourceBlock "simulink_extras/Additional\nLinear/PID Controll"
"er"
SourceType "PID Controller"
P "0.5"
I "0.02"
D "0.00"
}
Block {
BlockType Step
Name "Step1"
Position [285, 60, 315, 90]
Time "0"
Before "0"
After "5"
SampleTime "1"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [220, 117, 250, 148]
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1, 0, 0, 0]
Position [345, 112, 375, 143]
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1, 0, 0, 0]
Position [540, 192, 570, 223]
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1, 0, 0, 0]
Position [685, 187, 715, 218]
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1, 0, 0, 0]
Position [145, 110, 180, 145]
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "Switched\ntransport delay\nfor linearization1"
Ports [1, 1, 0, 0, 0]
Position [410, 173, 490, 227]
SourceBlock "simulink_extras/Linearization/Switched\ntranspo"
"rt delay\nfor linearization"
SourceType "Delay for linearization."
delay "32.6437"
u0 "0"
switchVal "1"
order "3"
Npts "1024"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [270, 215, 330, 255]
Orientation "left"
NamePlacement "alternate"
Numerator "[0.7985]"
Denominator "[116480 456.1737 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [600, 192, 660, 228]
Numerator "[0.7985]"
Denominator "[116480 456.1737 1]"
}
Block {
BlockType Outport
Name "Out1"
Position [455, 123, 485, 137]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Out2"
Position [250, 48, 280, 62]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "PID Controller1"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
Points [0, 65]
Branch {
Points [0, 5]
DstBlock "Switched\ntransport delay\nfor linearizatio"
"n1"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Transfer Fcn"
DstPort 1
}
}
}
Line {
SrcBlock "Step1"
SrcPort 1
Points [10, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Switched\ntransport delay\nfor linearization1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [35, 0]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [-60, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
Points [15, 0]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "PID Controller"
SrcPort 1
Points [-105, 0]
Branch {
Points [0, -85]
DstBlock "Sum2"
DstPort 2
}
Branch {
Points [-380, 0]
DstBlock "Sum4"
DstPort 2
}
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [20, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [0, 95]
DstBlock "PID Controller"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "PID Controller1"
DstPort 1
}
Branch {
Points [0, -35; -30, 0]
DstBlock "Out2"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -