📄 foc_multilevel.mdl
字号:
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Math\nFunction3"
DstPort 2
}
Line {
SrcBlock "we"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Syn-abc3"
Ports [4, 3]
Position [295, 26, 395, 169]
FontName "Arial"
FontSize 14
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Syn-abc3"
Location [7, 76, 1031, 694]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "vqs"
Position [20, 285, 35, 305]
FontSize 12
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "vds"
Position [20, 340, 35, 360]
FontSize 12
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "cos(theta-e)"
Position [50, 230, 70, 250]
FontSize 12
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "sin(theta-e)"
Position [25, 395, 45, 415]
FontSize 12
Port "4"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "2ph-3ph\ntransformation"
Position [620, 291, 645, 319]
FontSize 12
Gain "[1 0; -1/2 -sqrt(3)/2; -1/2 sqrt(3)/2] "
Multiplication "Matrix(K*u)"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [700, 189, 755, 421]
FontSize 12
Outputs "3"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [535, 286, 570, 319]
FontSize 12
Inputs "2"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [255, 280, 280, 300]
FontSize 12
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [255, 345, 280, 365]
FontSize 12
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [265, 175, 290, 195]
FontSize 12
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [250, 465, 275, 485]
FontSize 12
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [330, 285, 350, 305]
FontSize 12
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [440, 375, 460, 395]
FontSize 12
Inputs "-+"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "vao*"
Position [910, 220, 930, 240]
FontSize 12
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "vbo*"
Position [910, 295, 930, 315]
FontSize 12
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "vco*"
Position [915, 370, 935, 390]
FontSize 12
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "2ph-3ph\ntransformation"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, -75]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [25, 0; 0, -55]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "sin(theta-e)"
SrcPort 1
Points [155, 0; 0, -45; 30, 0]
Branch {
Points [0, -170]
DstBlock "Product2"
DstPort 2
}
Branch {
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "cos(theta-e)"
SrcPort 1
Points [130, 0; 0, 45; 10, 0]
Branch {
Points [0, 185]
DstBlock "Product3"
DstPort 1
}
Branch {
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [145, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [130, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "2ph-3ph\ntransformation"
DstPort 1
}
Line {
SrcBlock "vds"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 130]
DstBlock "Product3"
DstPort 2
}
Branch {
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "vqs"
SrcPort 1
Points [70, 0]
Branch {
Points [0, -115]
DstBlock "Product2"
DstPort 1
}
Branch {
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "vao*"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "vbo*"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "vco*"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Annotation {
Name "vqss"
Position [372, 292]
VerticalAlignment "top"
FontSize 12
}
Annotation {
Name "vqs"
Position [67, 277]
VerticalAlignment "top"
FontSize 12
}
Annotation {
Name "vdss"
Position [502, 342]
VerticalAlignment "top"
FontSize 12
}
Annotation {
Name "vds"
Position [62, 327]
VerticalAlignment "top"
FontSize 12
}
}
}
Block {
BlockType SubSystem
Name "unit vectors"
Ports [1, 2]
Position [175, 96, 270, 169]
FontName "Arial"
FontSize 14
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "unit vectors"
Location [45, 74, 675, 422]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "theta-e"
Position [20, 33, 50, 47]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [80, 25, 110, 55]
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [85, 115, 115, 145]
Operator "cos"
}
Block {
BlockType Outport
Name "cos(theta-e)"
Position [140, 123, 170, 137]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "sin(theta-e)"
Position [135, 33, 165, 47]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
DstBlock "sin(theta-e)"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
DstBlock "cos(theta-e)"
DstPort 1
}
Line {
SrcBlock "theta-e"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 90]
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
Branch {
DstBlock "Trigonometric\nFunction"
DstPort 1
}
}
}
}
Block {
BlockType Outport
Name "vao*"
Position [420, 48, 450, 62]
FontName "Arial"
FontSize 14
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "vbo*"
Position [420, 93, 450, 107]
FontName "Arial"
FontSize 14
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "vco*"
Position [420, 138, 450, 152]
FontName "Arial"
FontSize 14
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Syn-abc3"
SrcPort 1
DstBlock "vao*"
DstPort 1
}
Line {
SrcBlock "unit vectors"
SrcPort 1
DstBlock "Syn-abc3"
DstPort 3
}
Line {
SrcBlock "unit vectors"
SrcPort 2
DstBlock "Syn-abc3"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -