📄 mras_shiyan_11_18.mdl
字号:
LowerLimit "MIN"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [215, 29, 255, 171]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [135, 128, 175, 162]
Numerator "[I]"
Denominator "[1 0]"
}
Block {
BlockType Gain
Name "proportation"
Position [145, 85, 175, 115]
NamePlacement "alternate"
Gain "P"
}
Block {
BlockType Outport
Name "Out1"
Position [430, 93, 460, 107]
}
Line {
SrcBlock "proportation"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 45]
DstBlock "Transfer Fcn"
DstPort 1
}
Branch {
DstBlock "proportation"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "PI REGULATOR1"
Ports [1, 1]
Position [590, 409, 620, 451]
TreatAsAtomicUnit off
MaskDescription "PI调节器"
MaskPromptString "PROPORTATION|INTEGRAL|MAX|MIN"
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 "P=@1;I=@2;MAX=@3;MIN=@4;"
MaskDisplay "disp('PI')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "15|313|100|-100"
System {
Name "PI REGULATOR1"
Location [182, 274, 667, 468]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 93, 55, 107]
}
Block {
BlockType Saturate
Name "Saturation"
Position [325, 85, 355, 115]
UpperLimit "MAX"
LowerLimit "MIN"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [215, 29, 255, 171]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [135, 128, 175, 162]
Numerator "[I]"
Denominator "[1 0]"
}
Block {
BlockType Gain
Name "proportation"
Position [145, 85, 175, 115]
NamePlacement "alternate"
Gain "P"
}
Block {
BlockType Outport
Name "Out1"
Position [430, 93, 460, 107]
}
Line {
SrcBlock "proportation"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 45]
DstBlock "Transfer Fcn"
DstPort 1
}
Branch {
DstBlock "proportation"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Product"
Ports [4, 1]
Position [425, 112, 465, 173]
TreatAsAtomicUnit off
System {
Name "Product"
Location [929, 321, 1194, 471]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 28, 55, 42]
}
Block {
BlockType Inport
Name "In2"
Position [25, 43, 55, 57]
Port "2"
}
Block {
BlockType Inport
Name "In3"
Position [25, 93, 55, 107]
Port "3"
}
Block {
BlockType Inport
Name "In4"
Position [25, 108, 55, 122]
Port "4"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [80, 26, 125, 59]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [80, 91, 125, 124]
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [165, 100, 185, 120]
ShowName off
IconShape "round"
Inputs "-+|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Out1"
Position [210, 103, 240, 117]
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [45, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In4"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
}
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [415, 491, 460, 524]
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [415, 411, 460, 444]
InputSameDT off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [750, 96, 795, 129]
InputSameDT off
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [750, 26, 795, 59]
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [350, 425, 370, 445]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [350, 490, 370, 510]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [510, 420, 530, 440]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [830, 35, 850, 55]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType SubSystem
Name "Us_Is"
Ports [5, 2]
Position [150, 76, 225, 174]
TreatAsAtomicUnit off
System {
Name "Us_Is"
Location [2, 82, 1014, 743]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "usa"
Position [25, 33, 55, 47]
}
Block {
BlockType Inport
Name "isa"
Position [25, 178, 55, 192]
Port "2"
}
Block {
BlockType Inport
Name "usb"
Position [25, 398, 55, 412]
Port "3"
}
Block {
BlockType Inport
Name "isb"
Position [25, 503, 55, 517]
Port "4"
}
Block {
BlockType Inport
Name "Rso"
Position [25, 258, 55, 272]
Port "5"
}
Block {
BlockType Clock
Name "Clock"
Position [85, 285, 105, 305]
Decimation "5"
}
Block {
BlockType Constant
Name "Constant"
Position [30, 310, 60, 340]
Value "Rs"
}
Block {
BlockType Gain
Name "Gain1"
Position [220, 170, 250, 200]
Gain "Ls"
}
Block {
BlockType Gain
Name "Gain3"
Position [220, 535, 250, 565]
Gain "Ls"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [285, 25, 315, 55]
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [300, 390, 330, 420]
}
Block {
BlockType Gain
Name "Lr/Lm"
Position [450, 95, 480, 125]
Gain "Lr/Lm"
}
Block {
BlockType Gain
Name "Lr/Lm1"
Position [450, 460, 480, 490]
Gain "Lr/Lm"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [120, 96, 165, 129]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [125, 461, 170, 494]
InputSameDT off
}
Block {
BlockType Scope
Name "Rs_Scope2"
Ports [1]
Position [535, 280, 565, 310]
NamePlacement "alternate"
Location [5, 60, 1033, 775]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
YMin "0"
YMax "3.5"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [200, 30, 220, 50]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [390, 100, 410, 120]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [200, 395, 220, 415]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -