📄 pmsmdtc.mdl
字号:
}
Line {
SrcBlock "ia"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "3/2voltage"
Ports [4, 2]
Position [200, 304, 255, 411]
TreatAsAtomicUnit off
System {
Name "3/2voltage"
Location [-12, 89, 1004, 743]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 212
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Udc"
Position [220, 143, 250, 157]
}
Block {
BlockType Inport
Name "Sa"
Position [25, 53, 55, 67]
Port "2"
}
Block {
BlockType Inport
Name "Sb"
Position [25, 123, 55, 137]
Port "3"
}
Block {
BlockType Inport
Name "Sc"
Position [25, 253, 55, 267]
Port "4"
}
Block {
BlockType Constant
Name "Constant"
Position [295, 27, 320, 43]
Orientation "left"
NamePlacement "alternate"
Value "2/3"
}
Block {
BlockType Constant
Name "Constant1"
Position [290, 287, 315, 303]
Orientation "left"
Value "2/3"
}
Block {
BlockType Gain
Name "Gain"
Position [150, 65, 180, 95]
Gain "0.5"
}
Block {
BlockType Gain
Name "Gain1"
Position [115, 109, 180, 151]
Gain "sqrt(3)/2"
ShowAdditionalParam on
}
Block {
BlockType Gain
Name "Gain2"
Position [115, 240, 180, 280]
Gain "sqrt(3)/2"
ShowAdditionalParam on
}
Block {
BlockType Gain
Name "Gain3"
Position [150, 195, 180, 225]
Gain "0.5"
}
Block {
BlockType Product
Name "Product"
Ports [3, 1]
Position [295, 51, 310, 89]
Inputs "3"
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [3, 1]
Position [290, 221, 305, 259]
Inputs "3"
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [225, 26, 235, 114]
ShowName off
Inputs "|+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [230, 211, 240, 269]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "U_alpha"
Position [345, 63, 375, 77]
}
Block {
BlockType Outport
Name "U_beta"
Position [350, 233, 380, 247]
Port "2"
}
Line {
SrcBlock "Sc"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Sb"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, -50]
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sa"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [15, 0; 0, -110]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [25, 0; 0, 110]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [-15, 0; 0, 25]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Udc"
SrcPort 1
Points [0, 0]
Branch {
Points [0, 80]
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Product"
DstPort 3
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [-15, 0; 0, -45]
DstBlock "Product1"
DstPort 3
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "U_alpha"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "U_beta"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "Constant"
Position [235, 427, 265, 453]
Value "3"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [645, 61, 650, 119]
Orientation "left"
BackgroundColor "black"
NamePlacement "alternate"
ShowName off
Outputs "3"
}
Block {
BlockType Constant
Name "F给定"
Position [585, 170, 615, 190]
}
Block {
BlockType Gain
Name "Gain"
Position [820, 500, 850, 530]
Orientation "left"
NamePlacement "alternate"
Gain "2"
}
Block {
BlockType Reference
Name "Machines\nMeasurement\nDemux"
Ports [1, 4]
Position [905, 177, 965, 253]
SourceBlock "powerlib2/Machines/Machines\nMeasurement\nDemux"
SourceType "Machine measurements"
machType "Permanent magnet synchronous"
ssm1 on
ssm2 on
ssm3 on
ssm4 on
ssm5 on
ssm6 on
sm1 on
sm2 off
sm3 off
sm4 off
sm5 off
sm6 off
sm7 off
sm8 on
sm9 off
sm10 off
sm11 off
sm115 on
sm12 off
sm13 off
sm14 off
asm1 on
asm2 on
asm3 on
asm4 on
asm5 on
asm6 on
asm7 on
asm8 on
asm9 on
asm10 on
asm11 on
pmsm1 on
pmsm2 off
pmsm3 off
pmsm4 on
pmsm5 on
pmsm6 on
lastType "1"
}
Block {
BlockType SubSystem
Name "PI"
Ports [1, 1]
Position [530, 419, 580, 501]
TreatAsAtomicUnit off
System {
Name "PI"
Location [214, 78, 1022, 717]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "98"
Block {
BlockType Inport
Name "w"
Position [350, 293, 380, 307]
}
Block {
BlockType Gain
Name "Gain"
Position [460, 230, 490, 260]
Gain "2"
}
Block {
BlockType Gain
Name "Gain1"
Position [420, 285, 450, 315]
Gain "0.5"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [470, 285, 500, 315]
}
Block {
BlockType Saturate
Name "Saturation"
Position [605, 230, 635, 260]
UpperLimit "1.6"
LowerLimit "-1.6"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [530, 223, 550, 267]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Te给定"
Position [665, 238, 695, 252]
}
Line {
SrcBlock "w"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -55]
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [5, 0; 0, -40]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Te给定"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Permanent Magnet\nSynchronous Machine"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 1]
Position [810, 171, 890, 259]
LinkData {
BlockName "From"
DialogParameters {
GotoTag "tp481159"
}
}
SourceBlock "powerlib2/Machines/Permanent Magnet\nSynchronou"
"s Machine"
SourceType "PM Synchronous Machine"
x1 "3"
x2 "[0.168, 0.168]"
x3 "0.175"
x4 "[ 0.8e-3, 0, 2 ]"
PSBOutputType "0"
}
Block {
BlockType Scope
Name "Scope"
Ports [3]
Position [980, 14, 1010, 46]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "3"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
TimeRange "1"
YMin "0~0~0"
YMax "1~1~1"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [485, 431, 505, 489]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType SubSystem
Name "Te"
Ports [5, 1]
Position [465, 125, 535, 295]
TreatAsAtomicUnit off
System {
Name "Te"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "i_alpha"
Position [25, 173, 55, 187]
}
Block {
BlockType Inport
Name "i_beta"
Position [25, 73, 55, 87]
Port "2"
}
Block {
BlockType Inport
Name "Fi_alpha"
Position [25, 38, 55, 52]
Port "3"
}
Block {
BlockType Inport
Name "Fi_beta"
Position [25, 138, 55, 152]
Port "4"
}
Block {
BlockType Inport
Name "np"
Position [180, 93, 210, 107]
Port "5"
}
Block {
BlockType Gain
Name "Gain"
Position [225, 50, 255, 80]
Gain "3/2"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [80, 27, 90, 98]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [80, 127, 90, 198]
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [239, 140, 286, 155]
Orientation "down"
NamePlacement "alternate"
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [135, 34, 165, 96]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -