📄 vcimd_fuzzy.mdl
字号:
NamePlacement "alternate"
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [710, 20, 760, 165]
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
Location [45, 111, 837, 616]
Open off
NumInputPorts "4"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "Reference Currents"
axes2 "Actual Currents"
axes3 "Speed"
axes4 "Torque"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
TimeRange "2.5 "
YMin "-10~-10~-300~-7.5"
YMax "10~10~300~7.5"
DataFormat "StructureWithTime"
LimitDataPoints off
Decimation "20"
SampleTime "5e-6"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [375, 19, 405, 51]
BackgroundColor "green"
ShowName off
Location [5, 60, 805, 573]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-1200"
YMax "1200"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [2, 3]
Position [159, 480, 281, 520]
Orientation "up"
BackgroundColor "cyan"
ShowName off
TreatAsAtomicUnit off
System {
Name "Subsystem1"
Location [105, 182, 718, 630]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "T"
Position [20, 143, 50, 157]
BackgroundColor "yellow"
}
Block {
BlockType Inport
Name "imr\n"
Position [15, 43, 45, 57]
BackgroundColor "yellow"
Port "2"
}
Block {
BlockType Derivative
Name "Derivative"
Position [240, 75, 270, 105]
BackgroundColor "lightBlue"
}
Block {
BlockType Fcn
Name "Fcn"
Position [320, 170, 415, 200]
BackgroundColor "lightBlue"
Expr "u[1]/(u[2]*u[3])"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [395, 285, 490, 315]
BackgroundColor "lightBlue"
Expr "u[1]/(u[2]*u[3])"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [260, 132, 275, 238]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [350, 247, 365, 353]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [280, 35, 310, 65]
BackgroundColor "gray"
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Gain
Name "Tr"
Position [150, 73, 210, 107]
BackgroundColor "gray"
Gain "0.0583"
}
Block {
BlockType Constant
Name "Tr1"
Position [205, 285, 260, 315]
BackgroundColor "gray"
Value "0.0583"
}
Block {
BlockType Constant
Name "k"
Position [175, 170, 220, 200]
BackgroundColor "gray"
Value "0.6448"
}
Block {
BlockType Outport
Name "ids"
Position [520, 43, 550, 57]
BackgroundColor "orange"
}
Block {
BlockType Outport
Name "iqs"
Position [520, 178, 550, 192]
BackgroundColor "orange"
Port "2"
}
Block {
BlockType Outport
Name "w2"
Position [520, 293, 550, 307]
BackgroundColor "orange"
Port "3"
}
Line {
SrcBlock "imr\n"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 40]
Branch {
Points [0, 130]
Branch {
DstBlock "Mux"
DstPort 3
}
Branch {
Points [0, 115]
DstBlock "Mux1"
DstPort 3
}
}
Branch {
DstBlock "Tr"
DstPort 1
}
}
}
Line {
SrcBlock "Tr"
SrcPort 1
DstBlock "Derivative"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "ids"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "T"
SrcPort 1
Points [175, 0]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "k"
SrcPort 1
Points [0, 0]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "iqs"
DstPort 1
}
Branch {
Points [0, 40; -110, 0]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Derivative"
SrcPort 1
Points [20, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "w2"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Tr1"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [3, 3]
Position [162, 360, 278, 405]
Orientation "up"
BackgroundColor "cyan"
ShowName off
TreatAsAtomicUnit off
System {
Name "Subsystem2"
Location [2, 82, 790, 576]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "ids"
Position [25, 28, 55, 42]
BackgroundColor "yellow"
}
Block {
BlockType Inport
Name "iqs"
Position [25, 73, 55, 87]
BackgroundColor "yellow"
Port "2"
}
Block {
BlockType Inport
Name "si"
Position [25, 118, 55, 132]
BackgroundColor "yellow"
Port "3"
}
Block {
BlockType Fcn
Name "Fcn"
Position [165, 61, 370, 99]
BackgroundColor "lightBlue"
Expr "(-u[2]*sin(u[3]))+(u[1]*cos(u[3]))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [165, 205, 545, 245]
BackgroundColor "lightBlue"
Expr "((-cos(u[3])+sqrt(3)*sin(u[3]))*u[1]*0.5)+("
"(sin(u[3])+sqrt(3)*cos(u[3]))*u[2]*0.5)"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [135, 15, 145, 145]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [135, 160, 145, 290]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [610, 267, 630, 323]
BackgroundColor "gray"
ShowName off
Inputs "|--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "ias*"
Position [650, 73, 680, 87]
BackgroundColor "orange"
}
Block {
BlockType Outport
Name "ibs*"
Position [650, 218, 680, 232]
BackgroundColor "orange"
Port "2"
}
Block {
BlockType Outport
Name "ics*"
Position [655, 288, 685, 302]
BackgroundColor "orange"
Port "3"
}
Line {
SrcBlock "ids"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 145]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "iqs"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 145]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "si"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Mux"
DstPort 3
}
Branch {
Points [0, 145]
DstBlock "Mux1"
DstPort 3
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "ibs*"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [210, 0]
Branch {
DstBlock "ias*"
DstPort 1
}
Branch {
Points [0, 215]
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "ics*"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem3"
Ports [3, 1]
Position [145, 155, 265, 210]
Orientation "up"
BackgroundColor "lightBlue"
NamePlacement "alternate"
ShowName off
TreatAsAtomicUnit off
MaskPromptString "frequency"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Fc=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "10000"
System {
Name "Subsystem3"
Location [2, 82, 790, 554]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "iae"
Position [45, 58, 75, 72]
BackgroundColor "yellow"
}
Block {
BlockType Inport
Name "ibe"
Position [45, 118, 75, 132]
BackgroundColor "yellow"
Port "2"
}
Block {
BlockType Inport
Name "ice"
Position [45, 178, 75, 192]
BackgroundColor "yellow"
Port "3"
}
Block {
BlockType Logic
Name "BL1"
Ports [1, 1]
Position [530, 154, 560, 176]
BackgroundColor "gray"
NamePlacement "alternate"
ShowName off
Operator "NOT"
Inputs "1"
}
Block {
BlockType Logic
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -