?? dfig control.mdl
字號:
BlockType Inport
Name "d"
Position [30, 38, 60, 52]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "q"
Position [30, 73, 60, 87]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "jiao"
Position [30, 98, 60, 112]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant"
Position [25, 215, 55, 245]
ShowName off
Value "2*pi/3"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Fcn
Name "Fcn"
Position [495, 70, 555, 100]
Expr "sqrt(2/3)*(u[1]*u[4]-u[2]*u[3])"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [505, 235, 565, 265]
Expr "sqrt(2/3)*(u[1]*u[8]-u[2]*u[7])"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [500, 155, 560, 185]
Expr "sqrt(2/3)*(u[1]*u[6]-u[2]*u[5])"
}
Block {
BlockType Mux
Name "Mux"
Ports [8, 1]
Position [380, 28, 385, 307]
ShowName off
Inputs "8"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [620, 115, 625, 195]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [150, 162, 165, 218]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [150, 237, 165, 293]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [255, 90, 285, 120]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [255, 160, 285, 190]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction2"
Ports [1, 1]
Position [255, 235, 285, 265]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction3"
Ports [1, 1]
Position [255, 125, 285, 155]
NamePlacement "alternate"
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction4"
Ports [1, 1]
Position [255, 200, 285, 230]
NamePlacement "alternate"
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction5"
Ports [1, 1]
Position [255, 270, 285, 300]
NamePlacement "alternate"
ShowName off
Operator "cos"
}
Block {
BlockType Outport
Name "abc"
Position [660, 153, 690, 167]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "d"
SrcPort 1
Points [0, 0]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "q"
SrcPort 1
Points [0, 0]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "jiao"
SrcPort 1
Points [0, 0; 45, 0]
Branch {
Points [100, 0]
Branch {
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Trigonometric\nFunction3"
DstPort 1
}
}
Branch {
Points [0, 70]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Sum1"
DstPort 1
}
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, 0; 65, 0]
Branch {
Points [0, -25]
DstBlock "Sum"
DstPort 2
}
Branch {
Points [0, 50]
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
Points [0, -15]
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Trigonometric\nFunction4"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [5, 0; 0, -15]
DstBlock "Trigonometric\nFunction2"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Trigonometric\nFunction5"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [35, 0; 0, 10]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Trigonometric\nFunction3"
SrcPort 1
Points [35, 0; 0, 10]
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [35, 0; 0, 10]
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "Trigonometric\nFunction4"
SrcPort 1
Points [35, 0; 0, 5]
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "Trigonometric\nFunction2"
SrcPort 1
Points [35, 0; 0, 5]
DstBlock "Mux"
DstPort 7
}
Line {
SrcBlock "Trigonometric\nFunction5"
SrcPort 1
Points [35, 0; 0, 5]
DstBlock "Mux"
DstPort 8
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0; 45, 0]
Branch {
Points [0, -85]
DstBlock "Fcn"
DstPort 1
}
Branch {
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Fcn1"
DstPort 1
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [20, 0; 0, 45]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [20, 0; 0, -15]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [15, 0; 0, -70]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [5, 0; 0, 5]
DstBlock "abc"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "2r/3s1"
Ports [3, 1]
Position [845, 434, 885, 486]
Orientation "left"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "2r/3s1"
Location [363, 424, 1078, 755]
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 "d"
Position [30, 38, 60, 52]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "q"
Position [30, 73, 60, 87]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "jiao"
Position [30, 98, 60, 112]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant"
Position [25, 215, 55, 245]
ShowName off
Value "2*pi/3"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Fcn
Name "Fcn"
Position [495, 70, 555, 100]
Expr "sqrt(2/3)*(u[1]*u[4]-u[2]*u[3])"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [505, 235, 565, 265]
Expr "sqrt(2/3)*(u[1]*u[8]-u[2]*u[7])"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [500, 155, 560, 185]
Expr "sqrt(2/3)*(u[1]*u[6]-u[2]*u[5])"
}
Block {
BlockType Mux
Name "Mux"
Ports [8, 1]
Position [380, 28, 385, 307]
ShowName off
Inputs "8"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [620, 115, 625, 195]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [150, 162, 165, 218]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [150, 237, 165, 293]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [255, 90, 285, 120]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [255, 160, 285, 190]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction2"
Ports [1, 1]
Position [255, 235, 285, 265]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction3"
Ports [1, 1]
Position [255, 125, 285, 155]
NamePlacement "alternate"
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction4"
Ports [1, 1]
Position [255, 200, 285, 230]
NamePlacement "alternate"
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction5"
Ports [1, 1]
Position [255, 270, 285, 300]
NamePlacement "alternate"
ShowName off
Operator "cos"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -