📄 svpwm_dj_tested.mdl
字号:
Block {
BlockType Product
Name "Product5"
Ports [2, 1]
Position [655, 452, 685, 483]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract"
Ports [2, 1]
Position [230, 372, 260, 403]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract1"
Ports [2, 1]
Position [220, 482, 250, 513]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [385, 310, 415, 340]
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [385, 425, 415, 455]
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction2"
Ports [1, 1]
Position [400, 535, 430, 565]
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction3"
Ports [1, 1]
Position [330, 245, 360, 275]
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction4"
Ports [1, 1]
Position [330, 375, 360, 405]
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction5"
Ports [1, 1]
Position [340, 485, 370, 515]
ShowName off
Operator "cos"
}
Block {
BlockType Outport
Name "Usm"
Position [920, 108, 950, 122]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Ust"
Position [930, 353, 960, 367]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Ust"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Usm"
DstPort 1
}
Line {
SrcBlock "Add1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Product5"
SrcPort 1
Points [25, 0; 0, -75]
DstBlock "Add1"
DstPort 3
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [25, 0; 0, 60]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Product4"
SrcPort 1
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [20, 0; 0, -25]
DstBlock "Add"
DstPort 3
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [15, 0; 0, 30]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [220, 0]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [195, 0; 0, -75]
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "Trigonometric\nFunction2"
SrcPort 1
Points [185, 0; 0, -75]
DstBlock "Product5"
DstPort 2
}
Line {
SrcBlock "UC"
SrcPort 1
Points [40, 0; 400, 0]
Branch {
DstBlock "Product2"
DstPort 1
}
Branch {
Points [0, 290]
DstBlock "Product5"
DstPort 1
}
}
Line {
SrcBlock "UB"
SrcPort 1
Points [45, 0; 430, 0]
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, 245]
DstBlock "Product4"
DstPort 1
}
}
Line {
SrcBlock "UA"
SrcPort 1
Points [40, 0; 470, 0]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 220]
DstBlock "Product3"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction5"
SrcPort 1
Points [145, 0; 0, -315]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Subtract1"
SrcPort 1
Points [15, 0; 30, 0]
Branch {
Points [0, 50]
DstBlock "Trigonometric\nFunction2"
DstPort 1
}
Branch {
DstBlock "Trigonometric\nFunction5"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction4"
SrcPort 1
Points [125, 0; 0, -270]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Subtract"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 50]
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
Branch {
DstBlock "Trigonometric\nFunction4"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [5, 0; 55, 0]
Branch {
Points [0, -160]
DstBlock "Subtract"
DstPort 2
}
Branch {
Points [70, 0]
DstBlock "Subtract1"
DstPort 2
}
}
Line {
SrcBlock "Trigonometric\nFunction3"
SrcPort 1
Points [105, 0; 0, -210]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "theta"
SrcPort 1
Points [85, 0]
Branch {
DstBlock "Subtract"
DstPort 1
}
Branch {
Labels [2, 0]
Points [0, -120; 110, 0]
Branch {
DstBlock "Trigonometric\nFunction3"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "Trigonometric\nFunction"
DstPort 1
}
}
Branch {
Labels [1, 0]
Points [0, 110]
DstBlock "Subtract1"
DstPort 1
}
}
}
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [845, 51, 850, 169]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [3, 6]
Position [635, 232, 715, 493]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem"
Location [0, 83, 1012, 744]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ism"
Position [95, 118, 125, 132]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "ist"
Position [100, 278, 130, 292]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "TL"
Position [100, 348, 130, 362]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [305, 117, 335, 148]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [415, 272, 445, 303]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [2, 1]
Position [470, 427, 500, 458]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add3"
Ports [2, 1]
Position [530, 127, 560, 158]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [430, 215, 460, 245]
Value "0.00000001"
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [275, 432, 305, 463]
Inputs "/*"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain"
Position [165, 107, 225, 143]
Gain "Lm/Tr"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [320, 185, 380, 225]
Orientation "left"
Gain "1/Tr"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [275, 243, 385, 317]
Gain "(Np*Np*Lm)/(J*Lr)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [195, 337, 250, 373]
Gain "Np/J"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [190, 438, 245, 472]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -