📄 svpwm_pmsm_090312.mdl
字号:
DstBlock "sin_phi_0"
DstPort 2
}
Branch {
Points [0, 60]
DstBlock "sin_phi_120"
DstPort 2
}
}
Line {
SrcBlock "dir"
SrcPort 1
Points [140, 0]
Branch {
DstBlock "sin_phi_120"
DstPort 3
}
Branch {
Points [0, -60]
DstBlock "sin_phi_240"
DstPort 3
}
}
Line {
SrcBlock "Rate Transition"
SrcPort 1
DstBlock "Zero-Order\nHold4"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Rate Transition"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold4"
SrcPort 1
DstBlock "Vabc"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Isabc2"
Ports [1]
Position [380, 369, 410, 401]
Floating off
Location [6, 54, 590, 407]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-200"
YMax "200"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [80, 180, 100, 200]
ShowName off
FontSize 12
SampleTime "TsMLIV"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [80, 210, 100, 230]
ShowName off
FontSize 12
SampleTime "TsMLIV"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold2"
Position [80, 240, 100, 260]
ShowName off
FontSize 12
SampleTime "TsMLIV"
}
Block {
BlockType SubSystem
Name "ab transform"
Ports [1, 2]
Position [270, 154, 360, 281]
FontSize 12
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "ab transform"
Location [2, 82, 1270, 775]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Vabc*"
Position [25, 108, 55, 122]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [90, 67, 95, 163]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Gain
Name "Gain"
Position [145, 100, 175, 130]
ShowName off
Gain "1/2"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "Gain1"
Position [165, 130, 195, 160]
ShowName off
Gain "1/2"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "Gain2"
Position [255, 80, 285, 110]
ShowName off
Gain "sqrt(2/3)"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "Gain3"
Position [140, 185, 170, 215]
ShowName off
Gain "sqrt(3)/2"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "Gain4"
Position [150, 220, 180, 250]
ShowName off
Gain "sqrt(3)/2"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "Gain5"
Position [245, 185, 275, 215]
ShowName off
Gain "sqrt(2/3)"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [490, 49, 495, 256]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [205, 75, 235, 115]
ShowName off
IconShape "round"
Inputs "|+--"
CollapseMode "All dimensions"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [200, 180, 230, 220]
ShowName off
IconShape "round"
Inputs "|+-"
CollapseMode "All dimensions"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [2, 1]
Position [380, 14, 410, 41]
ShowName off
Operator "atan2"
}
Block {
BlockType Gain
Name "rad2deg"
Position [430, 15, 460, 45]
Gain "180/pi"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Angle"
Position [520, 23, 550, 37]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "alfb"
Position [520, 143, 550, 157]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [30, 0]
Branch {
Points [155, 0]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Trigonometric\nFunction"
DstPort 2
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [20, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
DstBlock "rad2deg"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "alfb"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 0; 0, -180]
DstBlock "Trigonometric\nFunction"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [20, 0; 0, -8]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "rad2deg"
SrcPort 1
DstBlock "Angle"
DstPort 1
}
Line {
SrcBlock "Vabc*"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [92, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [15, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [10, 0]
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Gain4"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "ab vector sector"
Ports [1, 1]
Position [380, 167, 465, 203]
FontSize 12
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "ab vector sector"
Location [102, 211, 712, 645]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Angle"
Position [15, 13, 45, 27]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant"
Position [15, 43, 45, 57]
ShowName off
Value "0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant1"
Position [15, 73, 45, 87]
ShowName off
Value "60"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant10"
Position [15, 368, 45, 382]
ShowName off
Value "-60"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant11"
Position [15, 398, 45, 412]
ShowName off
Value "0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant2"
Position [15, 108, 45, 122]
ShowName off
Value "60"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant3"
Position [15, 138, 45, 152]
ShowName off
Value "120"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant4"
Position [15, 173, 45
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -