📄 vcimd_fuzzy.mdl
字号:
DstBlock "Mux3"
DstPort 2
}
Line {
SrcBlock "Dta Type Conversion3"
SrcPort 1
Points [0, 0]
DstBlock "Mux3"
DstPort 3
}
Line {
SrcBlock "Dta Type Conversion4"
SrcPort 1
Points [0, 0]
DstBlock "Mux3"
DstPort 4
}
Line {
SrcBlock "Dta Type Conversion5"
SrcPort 1
Points [0, 0]
DstBlock "Mux3"
DstPort 5
}
Line {
SrcBlock "Dta Type Conversion6"
SrcPort 1
Points [0, 0]
DstBlock "Mux3"
DstPort 6
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "pulses"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem4"
Ports [2, 1]
Position [308, 425, 392, 455]
Orientation "up"
BackgroundColor "cyan"
NamePlacement "alternate"
ShowName off
TreatAsAtomicUnit off
System {
Name "Subsystem4"
Location [213, 222, 723, 640]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "w2"
Position [70, 88, 100, 102]
BackgroundColor "yellow"
}
Block {
BlockType Inport
Name "wm"
Position [70, 148, 100, 162]
BackgroundColor "yellow"
Port "2"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [175, 84, 200, 146]
BackgroundColor "gray"
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [315, 95, 345, 135]
BackgroundColor "gray"
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [360, 170, 400, 210]
Orientation "left"
BackgroundColor "gray"
NamePlacement "alternate"
SampleTime "10e-6"
}
Block {
BlockType Gain
Name "delta T"
Position [230, 98, 285, 132]
BackgroundColor "gray"
Gain "10e-6"
}
Block {
BlockType Outport
Name "si(n)"
Position [460, 108, 490, 122]
BackgroundColor "orange"
}
Line {
SrcBlock "wm"
SrcPort 1
Points [50, 0; 0, -20]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "w2"
SrcPort 1
Points [50, 0; 0, 20]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "delta T"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 0; 75, 0]
Branch {
DstBlock "si(n)"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Unit Delay"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [-25, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "delta T"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [250, 315, 270, 335]
Orientation "left"
BackgroundColor "gray"
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [210, 285, 230, 305]
Orientation "left"
BackgroundColor "gray"
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [170, 255, 190, 275]
Orientation "left"
BackgroundColor "gray"
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [200, 615, 230, 635]
Orientation "up"
BackgroundColor "gray"
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Reference
Name "Timer2"
Ports [0, 1]
Position [325, 140, 370, 170]
BackgroundColor "orange"
ShowName off
SourceBlock "powerlib_extras/Control \nBlocks/Timer"
SourceType "Timer"
t "[ 0 1.5 2 2.5 ]"
e "[0 2.5 0 2.5]"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [340, 254, 370, 276]
Orientation "left"
BackgroundColor "gray"
NamePlacement "alternate"
ShowName off
SampleTime "10e-6"
}
Block {
BlockType UnitDelay
Name "Unit Delay2"
Position [606, 415, 634, 450]
Orientation "down"
BackgroundColor "gray"
NamePlacement "alternate"
ShowName off
SampleTime "100e-6"
}
Block {
BlockType UnitDelay
Name "Unit Delay3"
Position [340, 284, 370, 306]
Orientation "left"
BackgroundColor "gray"
NamePlacement "alternate"
ShowName off
SampleTime "10e-6"
}
Block {
BlockType UnitDelay
Name "Unit Delay4"
Position [340, 314, 370, 336]
Orientation "left"
BackgroundColor "gray"
NamePlacement "alternate"
ShowName off
SampleTime "10e-6"
}
Block {
BlockType Reference
Name "Vdc"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [54, 70, 76, 95]
Orientation "up"
NamePlacement "alternate"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "420*(3*1.414/3.14)"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [300, 18, 330, 47]
BackgroundColor "gray"
ShowName off
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "1"
}
Block {
BlockType Reference
Name "powergui1"
Ports []
Position [665, 573, 754, 619]
BackgroundColor "darkGreen"
DropShadow on
ShowName off
SourceBlock "powerlib2/powergui"
SourceType "PSB option menu block"
Frange "[0:2:500]"
Ylog off
Xlog on
save off
variable "ZData"
ZoomFFT on
StartTime "0.0"
cycles "1"
DisplayStyle "off"
fundamental "60"
FreqAxis off
MaxFrequency "1000"
frequencyindice "1"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "10e-6"
methode off
frequency "60"
echomessages off
}
Block {
BlockType Reference
Name "speed ref"
Ports [0, 1]
Position [70, 634, 145, 666]
BackgroundColor "orange"
SourceBlock "powerlib_extras/Control \nBlocks/Timer"
SourceType "Timer"
t "[ 0 0.4 1 ]"
e "[250 -250 250]"
}
Line {
SrcBlock "Vdc"
SrcPort 1
DstBlock "IGBT Inverter"
DstPort 1
}
Line {
SrcBlock "Bus Bar (thin horiz)"
SrcPort 1
DstBlock "Vdc"
DstPort 1
}
Line {
SrcBlock "Bus Bar (thin horiz)"
SrcPort 2
Points [50, 0]
DstBlock "IGBT Inverter"
DstPort 2
}
Line {
SrcBlock "IGBT Inverter"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Induction Motor\n1 HP / 420 V"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Voltage Measurement"
DstPort 1
}
}
Line {
SrcBlock "IGBT Inverter"
SrcPort 2
Points [40, 0]
Branch {
DstBlock "Induction Motor\n1 HP / 420 V"
DstPort 2
}
Branch {
Points [0, -55]
DstBlock "Voltage Measurement"
DstPort 2
}
}
Line {
SrcBlock "IGBT Inverter"
SrcPort 3
DstBlock "Induction Motor\n1 HP / 420 V"
DstPort 3
}
Line {
SrcBlock "Timer2"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Induction Motor\n1 HP / 420 V"
DstPort 4
}
Branch {
Points [0, 35]
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "Subsystem3"
SrcPort 1
Points [0, -5; -75, 0; 0, -20]
DstBlock "IGBT Inverter"
DstPort 3
}
Line {
SrcBlock "Subsystem2"
SrcPort 1
Points [0, -60]
Branch {
DstBlock "Sum2"
DstPort 2
}
Branch {
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Subsystem2"
SrcPort 2
Points [0, -35]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Subsystem2"
SrcPort 3
Points [0, -10]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Mux"
DstPort 3
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Field Weakening Controller"
SrcPort 1
DstBlock "Subsystem1"
DstPort 2
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
DstBlock "Subsystem2"
DstPort 1
}
Line {
SrcBlock "Subsystem1"
SrcPort 2
DstBlock "Subsystem2"
DstPort 2
}
Line {
SrcBlock " Fuzzy \nController"
SrcPort 1
Points [0, -5]
DstBlock "Subsystem1"
DstPort 1
}
Line {
SrcBlock "Induction Motor\n1 HP / 420 V"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [40, 0]
DstBlock "P/2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Scope"
DstPort 2
}
Branch {
Points [0, 220]
DstBlock "Demux1"
DstPort 1
}
}
Line {
SrcBlock "Subsystem1"
SrcPort 3
Points [0, -5]
DstBlock "Subsystem4"
DstPort 1
}
Line {
SrcBlock "Subsystem4"
SrcPort 1
DstBlock "Subsystem2"
DstPort 3
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Unit Delay1"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -