📄 apf_zhaoyu01.mdl
字号:
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "ubelt"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Switch"
DstPort 2
}
Branch {
Points [0, -45]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "jiao"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [25, 0; 0, 55]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Fcn2"
DstPort 1
}
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Switch"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "abc_albe"
Ports [1, 1]
Position [280, 133, 325, 217]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "abc_albe"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "abc"
Position [25, 88, 55, 102]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [130, 27, 135, 163]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [280, 38, 420, 62]
ShowName off
Expr "2/3*u[1]-1/3*u[2]-1/3*u[3]"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [280, 128, 420, 152]
ShowName off
Expr "sqrt(1/3)*u[2]-sqrt(1/3)*u[3]"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [520, 55, 525, 135]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [190, 30, 195, 160]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "albe"
Position [565, 88, 595, 102]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -45]
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Fcn3"
DstPort 1
}
}
Line {
SrcBlock "Fcn3"
SrcPort 1
Points [50, 0; 0, -25]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "abc"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [50, 0; 0, 25]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "albe"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "jiao"
Position [560, 168, 590, 182]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "abc"
SrcPort 1
DstBlock "abc_albe"
DstPort 1
}
Line {
SrcBlock "abc_albe"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "K/P"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "K/P"
DstPort 2
}
Line {
SrcBlock "K/P"
SrcPort 1
DstBlock "jiao"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "id"
Position [540, 98, 570, 112]
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "iq"
Position [540, 148, 570, 162]
Port "2"
IconDisplay "Port number"
}
Line {
SrcBlock "jiao"
SrcPort 1
Points [25, 0; 0, -60]
DstBlock "abc_dq"
DstPort 2
}
Line {
SrcBlock "Iload"
SrcPort 1
DstBlock "abc_dq"
DstPort 1
}
Line {
SrcBlock "abc_dq"
SrcPort 1
DstBlock "id"
DstPort 1
}
Line {
SrcBlock "abc_dq"
SrcPort 2
DstBlock "iq"
DstPort 1
}
Line {
SrcBlock "U_B"
SrcPort 1
DstBlock "jiao"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [2, 1]
Position [440, 222, 485, 333]
ShowName off
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Subsystem1"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "idq"
Position [445, 183, 475, 197]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "U_B"
Position [340, 308, 370, 322]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType SubSystem
Name "dq_abc"
Ports [2, 1]
Position [530, 169, 570, 256]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "dq_abc"
Location [16, 82, 1028, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "dq"
Position [75, 53, 105, 67]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "jiao"
Position [40, 118, 70, 132]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [155, 183, 170, 227]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [155, 263, 170, 307]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Fcn
Name "Fcn1"
Position [570, 153, 670, 177]
ShowName off
Expr "u[1]*u[6]-u[2]*u[5]"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [570, 88, 670, 112]
ShowName off
Expr "u[1]*u[4]-u[2]*u[3]"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [570, 208, 670, 232]
ShowName off
Expr "u[1]*u[8]-u[2]*u[7]"
}
Block {
BlockType Constant
Name "K1"
Position [25, 286, 65, 304]
ShowName off
Value "2*pi/3"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [485, 109, 490, 216]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [765, 125, 770, 205]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [6, 1]
Position [415, 108, 420, 342]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Trigonometry
Name "cos"
Ports [1, 1]
Position [260, 155, 285, 175]
Operator "cos"
Port {
PortNumber 1
Name "cos(wt)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Trigonometry
Name "cos1"
Ports [1, 1]
Position [260, 235, 285, 255]
Operator "cos"
Port {
PortNumber 1
Name "cos(wt-2pi/3)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Trigonometry
Name "cos2"
Ports [1, 1]
Position [260, 315, 285, 335]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -