📄 svpwm_dj_tested.mdl
字号:
Position [660, 192, 690, 223]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract2"
Ports [2, 1]
Position [665, 357, 695, 388]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [330, 285, 360, 315]
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [250, 235, 280, 265]
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction2"
Ports [1, 1]
Position [255, 325, 285, 355]
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction3"
Ports [1, 1]
Position [260, 420, 290, 450]
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction4"
Ports [1, 1]
Position [330, 380, 360, 410]
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction5"
Ports [1, 1]
Position [335, 470, 365, 500]
ShowName off
}
Block {
BlockType Outport
Name "iA"
Position [910, 78, 940, 92]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "iB"
Position [915, 203, 945, 217]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "iC"
Position [920, 368, 950, 382]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "iC"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "iB"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "iA"
DstPort 1
}
Line {
SrcBlock "Subtract2"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Subtract1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Subtract"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Product5"
SrcPort 1
Points [35, 0; 0, -35]
DstBlock "Subtract2"
DstPort 2
}
Line {
SrcBlock "Product4"
SrcPort 1
Points [35, 0; 0, 25]
DstBlock "Subtract2"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [25, 0; 0, -50]
DstBlock "Subtract1"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [25, 0; 0, 10]
DstBlock "Subtract1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [10, 0; 0, -25]
DstBlock "Subtract"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [10, 0; 0, 30]
DstBlock "Subtract"
DstPort 1
}
Line {
SrcBlock "Add4"
SrcPort 1
Points [-5, 0; 35, 0]
Branch {
Points [0, 50]
DstBlock "Trigonometric\nFunction5"
DstPort 1
}
Branch {
DstBlock "Trigonometric\nFunction3"
DstPort 1
}
}
Line {
SrcBlock "Add3"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, 55]
DstBlock "Trigonometric\nFunction4"
DstPort 1
}
Branch {
DstBlock "Trigonometric\nFunction2"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, 0; 40, 0]
Branch {
DstBlock "Add4"
DstPort 2
}
Branch {
Points [0, -95]
DstBlock "Add3"
DstPort 2
}
}
Line {
SrcBlock "theta"
SrcPort 1
Points [0, 0; 60, 0]
Branch {
Labels [1, 0]
Points [0, 0]
Branch {
DstBlock "Add3"
DstPort 1
}
Branch {
Points [0, -80; 90, 0]
Branch {
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Trigonometric\nFunction"
DstPort 1
}
}
}
Branch {
Points [0, 95]
DstBlock "Add4"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction5"
SrcPort 1
Points [155, 0; 0, -65]
DstBlock "Product5"
DstPort 2
}
Line {
SrcBlock "Trigonometric\nFunction2"
SrcPort 1
Points [165, 0; 0, -145]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [50, 0; 0, -180]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [105, 0; 0, -200]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "ist"
SrcPort 1
Points [0, 0; 285, 0]
Branch {
Points [45, 0]
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, 150]
DstBlock "Product3"
DstPort 1
}
}
Branch {
Points [0, 300]
DstBlock "Product5"
DstPort 1
}
}
Line {
SrcBlock "ism"
SrcPort 1
Points [0, 0; 310, 0]
Branch {
Points [35, 0]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 145]
DstBlock "Product2"
DstPort 1
}
}
Branch {
Points [0, 295]
DstBlock "Product4"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction4"
SrcPort 1
Points [125, 0; 0, -125]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Trigonometric\nFunction3"
SrcPort 1
Points [200, 0; 0, -90]
DstBlock "Product4"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "3s/2r"
Ports [4, 2]
Position [205, 118, 280, 297]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "3s/2r"
Location [-8, 85, 977, 720]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "UA"
Position [65, 28, 95, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "UB"
Position [65, 98, 95, 112]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "UC"
Position [65, 163, 95, 177]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "theta"
Position [40, 373, 70, 387]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Sum
Name "Add"
Ports [3, 1]
Position [770, 58, 800, 172]
ShowName off
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [3, 1]
Position [775, 308, 805, 412]
ShowName off
Inputs "---"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [40, 540, 70, 570]
Value "2*pi/3"
}
Block {
BlockType Gain
Name "Gain"
Position [840, 100, 870, 130]
Gain "sqrt(2/3)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [845, 345, 875, 375]
Gain "sqrt(2/3)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [655, 27, 685, 58]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [655, 97, 685, 128]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [655, 162, 685, 193]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [655, 247, 685, 278]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [655, 342, 685, 373]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -