📄 dtcpm20.mdl
字号:
Port "5"
}
Block {
BlockType Outport
Name "Sc"
Position [930, 448, 960, 462]
Port "6"
}
Line {
SrcBlock "Universal Bridge"
SrcPort 3
DstBlock "Uc"
DstPort 1
}
Line {
SrcBlock "Universal Bridge"
SrcPort 2
DstBlock "Ub"
DstPort 1
}
Line {
SrcBlock "Universal Bridge"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Ua"
DstPort 1
}
Branch {
Points [-5, 0]
DstBlock "Display5"
DstPort 1
}
}
Line {
SrcBlock "Ground (output)"
SrcPort 1
Points [0, 0]
Branch {
Points [-20, 0]
DstBlock "DC Voltage Source"
DstPort 1
}
Branch {
Points [20, 0]
DstBlock "Universal Bridge"
DstPort 2
}
}
Line {
SrcBlock "DC Voltage Source"
SrcPort 1
Points [40, 0]
DstBlock "Universal Bridge"
DstPort 1
}
Line {
SrcBlock "Look-Up\nTable (2-D)1"
SrcPort 1
Points [0, -5; 10, 0]
Branch {
Points [5, 0]
Branch {
Points [0, 30]
DstBlock "Data Type Conversion"
DstPort 1
}
Branch {
Points [145, 0]
Branch {
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "Sa"
DstPort 1
}
}
}
Branch {
Points [0, -65]
DstBlock "Display1"
DstPort 1
}
}
Line {
SrcBlock "Look-Up\nTable (2-D)2"
SrcPort 1
Points [15, 0]
Branch {
Points [5, 0]
Branch {
Points [0, 75]
DstBlock "Data Type Conversion1"
DstPort 1
}
Branch {
Points [170, 0]
Branch {
Points [130, 0]
DstBlock "Mux"
DstPort 3
}
Branch {
Points [0, 165; 370, 0]
DstBlock "Sb"
DstPort 1
}
}
}
Branch {
Points [0, -30]
DstBlock "Display2"
DstPort 1
}
}
Line {
SrcBlock "Look-Up\nTable (2-D)3"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 60]
DstBlock "Data Type Conversion2"
DstPort 1
}
Branch {
Points [15, 0]
Branch {
Points [185, 0]
Branch {
DstBlock "Mux"
DstPort 5
}
Branch {
Points [0, 120]
DstBlock "Sc"
DstPort 1
}
}
Branch {
DstBlock "Display3"
DstPort 1
}
}
}
Line {
SrcBlock "Data Type Conversion3"
SrcPort 1
Points [15, 0; 0, 30]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Data Type Conversion3"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion4"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
DstBlock "Data Type Conversion4"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion1"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion5"
SrcPort 1
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "Logical\nOperator2"
SrcPort 1
DstBlock "Data Type Conversion5"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion2"
SrcPort 1
DstBlock "Logical\nOperator2"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Universal Bridge"
DstPort 3
}
Branch {
Points [0, 70]
DstBlock "Display4"
DstPort 1
}
}
Line {
SrcBlock "S"
SrcPort 1
DstBlock "Look-Up\nTable (2-D)"
DstPort 1
}
Line {
SrcBlock "Range"
SrcPort 1
DstBlock "Look-Up\nTable (2-D)"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 130]
DstBlock "Look-Up\nTable (2-D)3"
DstPort 1
}
Branch {
Points [0, -5]
Branch {
Points [0, -100]
DstBlock "Look-Up\nTable (2-D)1"
DstPort 1
}
Branch {
DstBlock "Look-Up\nTable (2-D)2"
DstPort 1
}
}
}
Line {
SrcBlock "Look-Up\nTable (2-D)"
SrcPort 1
Points [45, 0]
Branch {
Points [0, 0]
Branch {
DstBlock "Look-Up\nTable (2-D)2"
DstPort 2
}
Branch {
Points [0, 135]
DstBlock "Look-Up\nTable (2-D)3"
DstPort 2
}
}
Branch {
Labels [1, 0]
Points [0, -105; 5, 0]
Branch {
Points [75, 0]
DstBlock "Look-Up\nTable (2-D)1"
DstPort 2
}
Branch {
Points [0, -70]
DstBlock "Display"
DstPort 1
}
}
}
}
}
Block {
BlockType Reference
Name "Machines\nMeasurement\nDemux"
Ports [1, 3]
Position [700, 208, 760, 282]
BackgroundColor "lightBlue"
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 off
sm2 on
sm3 off
sm4 off
sm5 off
sm6 on
sm7 off
sm8 on
sm9 off
sm10 off
sm11 off
sm115 off
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 off
pmsm6 on
lastType "1"
}
Block {
BlockType SubSystem
Name "Measurement\nand Diagram Demonstration"
Ports []
Position [675, 420, 752, 488]
ForegroundColor "blue"
BackgroundColor "yellow"
DropShadow on
TreatAsAtomicUnit off
MaskDisplay "disp('Measurement\\nand Diagram\\nDemonstration"
"')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Measurement\nand Diagram Demonstration"
Location [-10, 256, 492, 608]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType From
Name "From1"
Position [60, 151, 100, 179]
CloseFcn "tagdialog Close"
GotoTag "Te"
}
Block {
BlockType From
Name "From2"
Position [60, 216, 100, 244]
CloseFcn "tagdialog Close"
GotoTag "Uab"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [155, 89, 185, 121]
ForegroundColor "blue"
BackgroundColor "yellow"
Location [439, 277, 761, 549]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-2.86507e-014"
YMax "-2.86507e-014"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [155, 149, 185, 181]
ForegroundColor "blue"
BackgroundColor "yellow"
Location [598, 195, 922, 434]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [155, 214, 185, 246]
ForegroundColor "blue"
BackgroundColor "yellow"
Location [5, 59, 1029, 741]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-350"
YMax "350"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType From
Name "wm"
Position [60, 91, 100, 119]
CloseFcn "tagdialog Close"
GotoTag "wm"
}
Line {
SrcBlock "wm"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "From1"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "From2"
SrcPort 1
DstBlock "Scope2"
DstPort 1
}
Annotation {
Position [294, 216]
}
}
}
Block {
BlockType SubSystem
Name "More Info"
Ports []
Position [700, 580, 745, 616]
ForegroundColor "blue"
DropShadow on
ShowName off
FontSize 11
TreatAsAtomicUnit off
MaskDisplay "disp(' ? ')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "More Info"
Location [146, 188, 968, 849]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Annotation {
Name " "
Position [339, 427]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Times"
FontSize 12
}
}
}
Block {
BlockType Constant
Name "Np"
Position [315, 169, 330, 191]
Value "2"
}
Block {
BlockType Gain
Name "Np1"
Position [605, 375, 635, 405]
Orientation "left"
Gain "2"
}
Block {
BlockType Reference
Name "Permanent Magnet\nSynchronous Machine"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 1]
Position [605, 207, 670, 278]
BackgroundColor "lightBlue"
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 Constant
Name "Phim"
Position [320, 229, 335, 251]
}
Block {
BlockType SubSystem
Name "Range"
Ports [1, 1]
Position [425, 415, 460, 465]
BackgroundColor "red"
TreatAsAtomicUnit off
MaskDisplay "disp('Range')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Range"
Location [43, 329, 852, 693]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "85"
Block {
BlockType Inport
Name "Angle"
Position [80, 248, 110, 262]
}
Block {
BlockType Constant
Name "Constant11"
Position [215, 166, 235, 184]
Orientation "left"
Value "4"
}
Block {
BlockType Constant
Name "Constant12"
Position [485, 324, 505, 346]
Value "6"
}
Block {
BlockType Constant
Name "Constant13"
Position [455, 265, 475, 285]
}
Block {
BlockType Constant
Name "Constant14"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -