📄 steppidsupport.mdl
字号:
ReportName "simulink-default.rpt"
Block {
BlockType Clock
Name "Clock"
Position [430, 280, 450, 300]
Decimation "10"
}
Block {
BlockType Step
Name "Disturbance"
Position [315, 60, 345, 90]
Time "19.9422"
After "0.1"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "ISA PID"
Ports [2, 1]
Position [135, 115, 230, 190]
TreatAsAtomicUnit off
MaskPromptString "Antiwindup saturation ([umin,umax])|Sample time"
" (Ts)|Amplitude of the identifcation step or relay (A)|Histeresys of the rela"
"y"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "uaw=@1;Ts=@2;As=@3;histLevel=@4;"
MaskInitialization "umin = uaw(1);\numax = uaw(2);\n\n"
MaskDisplay "disp('ISA PID')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "[-5 5]|0.019995|1|0"
System {
Name "ISA PID"
Location [289, 183, 662, 403]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "SP"
Position [100, 13, 130, 27]
}
Block {
BlockType Inport
Name "PV"
Position [100, 58, 130, 72]
Port "2"
}
Block {
BlockType Constant
Name "Auto/Man"
Position [100, 105, 130, 135]
}
Block {
BlockType Constant
Name "Autotune"
Position [100, 165, 130, 195]
Value "0"
}
Block {
BlockType Mux
Name "Mux2"
Ports [4, 1]
Position [190, 59, 195, 131]
ShowName off
DisplayOption "bar"
}
Block {
BlockType "S-Function"
Name "PID"
Ports [1, 1]
Position [220, 71, 285, 119]
BackgroundColor "lightBlue"
FunctionName "pid_isatd"
Parameters "Ts,umin,umax,As,histLevel"
}
Block {
BlockType Outport
Name "CV"
Position [310, 88, 340, 102]
}
Line {
SrcBlock "SP"
SrcPort 1
Points [25, 0; 0, 45]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "PV"
SrcPort 1
Points [10, 0; 0, 20]
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "PID"
SrcPort 1
DstBlock "CV"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "PID"
DstPort 1
}
Line {
SrcBlock "Auto/Man"
SrcPort 1
Points [10, 0; 0, -15]
DstBlock "Mux2"
DstPort 3
}
Line {
SrcBlock "Autotune"
SrcPort 1
Points [25, 0; 0, -55]
DstBlock "Mux2"
DstPort 4
}
}
}
Block {
BlockType RandomNumber
Name "MeasurementNoise"
Position [310, 265, 340, 295]
Orientation "left"
Variance "0"
SampleTime "0"
}
Block {
BlockType TransferFcn
Name "Plant"
Position [265, 137, 325, 173]
Numerator "[0.1 1]"
Denominator "[1 4 6 4 1]"
}
Block {
BlockType TransportDelay
Name "PlantDelay"
Position [350, 140, 380, 170]
DelayTime "0.75"
}
Block {
BlockType Step
Name "SetPoint"
Position [45, 120, 75, 150]
Time "0"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [270, 220, 290, 240]
Orientation "left"
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [405, 145, 425, 165]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType ToWorkspace
Name "cvWorkspace"
Position [155, 65, 215, 95]
Orientation "left"
VariableName "cvVec"
MaxDataPoints "inf"
SampleTime "0.019995"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "pvWorkspace"
Position [475, 140, 535, 170]
VariableName "pvVec"
MaxDataPoints "inf"
SampleTime "0.019995"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "spWorkspace"
Position [155, 15, 215, 45]
VariableName "spVec"
MaxDataPoints "inf"
SampleTime "0.019995"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "toutWorkspace"
Position [485, 275, 545, 305]
VariableName "tout"
MaxDataPoints "inf"
SampleTime "0.019995"
SaveFormat "Array"
}
Line {
SrcBlock "SetPoint"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, -105]
DstBlock "spWorkspace"
DstPort 1
}
Branch {
DstBlock "ISA PID"
DstPort 1
}
}
Line {
SrcBlock "ISA PID"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -75]
DstBlock "cvWorkspace"
DstPort 1
}
Branch {
DstBlock "Plant"
DstPort 1
}
}
Line {
SrcBlock "MeasurementNoise"
SrcPort 1
Points [-25, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [-155, 0; 0, -60]
DstBlock "ISA PID"
DstPort 2
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "toutWorkspace"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [-5, 0; 15, 0]
Branch {
DstBlock "pvWorkspace"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Disturbance"
SrcPort 1
Points [65, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Plant"
SrcPort 1
DstBlock "PlantDelay"
DstPort 1
}
Line {
SrcBlock "PlantDelay"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -