📄 vcimd_pi.mdl
字号:
Ports [2, 1]
Position [250, 310, 270, 330]
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 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 "0"
}
Block {
BlockType Constant
Name "imr"
Position [315, 519, 385, 551]
Orientation "left"
BackgroundColor "gray"
Value "0.992"
}
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 [75, 609, 150, 641]
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 "imr"
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 "Speed_controller"
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
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Unit Delay3"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 3
DstBlock "Unit Delay4"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [0, -290]
DstBlock "Scope"
DstPort 3
}
Line {
SrcBlock "P/2"
SrcPort 1
Points [0, 0; 0, 20]
Branch {
DstBlock "Mux1"
DstPort 1
}
Branch {
DstBlock "Unit Delay2"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [-45, 0; 0, -310; 610, 0; 0, 30]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Unit Delay2"
SrcPort 1
Points [0, 20]
Branch {
Points [-250, 0]
DstBlock "Subsystem4"
DstPort 2
}
Branch {
Points [0, 135; -375, 0]
DstBlock "Speed_controller"
DstPort 2
}
}
Line {
SrcBlock "Unit Delay3"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Unit Delay4"
SrcPort 1
Points [-50, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Subsystem3"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Subsystem3"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Subsystem3"
DstPort 3
}
Line {
SrcBlock "speed ref"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Speed_controller"
DstPort 1
}
Branch {
Points [455, 0]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [50, 0]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [40, 0]
DstBlock "Scope"
DstPort 4
}
Annotation {
Name "Estimation of\nids, iqs and w2"
Position [112, 505]
ForegroundColor "red"
}
Annotation {
Name "Field orientation and\nreference current genera"
"tion"
Position [83, 385]
ForegroundColor "red"
}
Annotation {
Name "PWM current controller"
Position [83, 178]
ForegroundColor "red"
}
Annotation {
Name "load torque"
Position [349, 181]
ForegroundColor "red"
}
Annotation {
Name "PI Speed_controller"
Position [101, 567]
ForegroundColor "red"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -