📄 inverter.mdl
字号:
MaskIconUnits "autoscale"
MaskValueString "[0 1/(4*f) 1/(2*f) 3/(4*f) 1/f]|[0 Umaxp"
" 0 -Umaxp 0]"
System {
Name "Porteuse triangulaire\nFr閝uence f\nAmpli"
"tde Umaxp2"
Location [5, 40, 315, 196]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Clock
Name "Clock"
Position [45, 60, 65, 80]
Decimation "10"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [110, 60, 150, 80]
Expr "rem(u[1],period)"
}
Block {
BlockType Lookup
Name "Look Up Table"
Position [210, 58, 250, 82]
InputValues "t"
OutputValues "y"
}
Block {
BlockType Outport
Name "out_1"
Position [285, 60, 305, 80]
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Look Up Table"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Look Up Table"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
}
}
Block {
BlockType Relay
Name "Relay"
Position [340, 129, 365, 151]
}
Block {
BlockType Relay
Name "Relay1"
Position [340, 315, 365, 335]
}
Block {
BlockType Relay
Name "Relay2"
Position [340, 580, 365, 600]
}
Block {
BlockType Relay
Name "Relay3"
Position [335, 209, 360, 231]
}
Block {
BlockType Relay
Name "Relay4"
Position [340, 415, 365, 435]
}
Block {
BlockType Relay
Name "Relay5"
Position [340, 500, 365, 520]
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [260, 210, 280, 230]
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [265, 415, 285, 435]
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [265, 130, 285, 150]
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [265, 315, 285, 335]
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [265, 580, 285, 600]
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [265, 500, 285, 520]
Inputs "-+"
}
Block {
BlockType Outport
Name "port1"
Position [690, 410, 710, 430]
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "port1"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Mux2"
DstPort 12
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Mux2"
DstPort 10
}
Line {
SrcBlock "Relay5"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 20]
DstBlock "Mux2"
DstPort 9
}
Branch {
Points [0, 65]
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "In3"
SrcPort 1
Points [160, 0]
Branch {
Points [0, 70]
DstBlock "Sum5"
DstPort 1
}
Branch {
DstBlock "Sum6"
DstPort 2
}
}
Line {
SrcBlock "Sum6"
SrcPort 1
DstBlock "Relay5"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Mux2"
DstPort 8
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Mux2"
DstPort 6
}
Line {
SrcBlock "Relay4"
SrcPort 1
Points [5, 0; 0, 15]
Branch {
DstBlock "Mux2"
DstPort 7
}
Branch {
Points [0, 45]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay4"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Mux2"
DstPort 4
}
Line {
SrcBlock "Relay3"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 85]
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Mux2"
DstPort 3
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Relay3"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [175, 0]
Branch {
Points [0, 90]
DstBlock "Sum2"
DstPort 1
}
Branch {
DstBlock "Sum4"
DstPort 2
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [70, 0; 0, 40]
Branch {
Points [0, 90]
Branch {
Points [0, 95]
Branch {
Points [0, 110]
Branch {
Points [0, 70]
Branch {
Points [0, 95]
DstBlock "Sum5"
DstPort 2
}
Branch {
Points [0, 5]
DstBlock "Sum6"
DstPort 1
}
}
Branch {
DstBlock "Sum2"
DstPort 2
}
}
Branch {
DstBlock "Sum4"
DstPort 1
}
}
Branch {
DstBlock "Sum1"
DstPort 2
}
}
Branch {
DstBlock "Sum3"
DstPort 1
}
}
Line {
SrcBlock "Porteuse triangulaire\nFr閝uence f\nAmplitd"
"e Umaxp2"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Porteuse triangulaire\nFr閝uence f\nAmplitd"
"e Umaxp1"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Relay2"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 30]
DstBlock "Mux2"
DstPort 11
}
Branch {
Points [0, 75]
DstBlock "Gain5"
DstPort 1
}
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [15, 0; 0, 25]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
DstBlock "Mux2"
DstPort 5
}
}
Line {
SrcBlock "In1"
SrcPort 1
Points [175, 0]
Branch {
Points [0, 70]
DstBlock "Sum1"
DstPort 1
}
Branch {
DstBlock "Sum3"
DstPort 2
}
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 45]
DstBlock "Gain"
DstPort 1
}
Branch {
Points [175, 0]
DstBlock "Mux2"
DstPort 1
}
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Sum5"
SrcPort 1
DstBlock "Relay2"
DstPort 1
}
Line {
Labels [1, 0]
SrcBlock "Gain"
SrcPort 1
Points [20, 0; 0, 30]
DstBlock "Mux2"
DstPort 2
}
Annotation {
Position [480, 87]
}
}
}
Block {
BlockType SubSystem
Name "Onduleur\ntriphase1"
Ports [1, 3]
Position [420, 47, 505, 133]
ShowPortLabels off
TreatAsAtomicUnit off
MaskDisplay "disp('Onduleur\\ntri')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Onduleur\ntriphase1"
Location [-5, 82, 766, 559]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "s1"
Position [15, 288, 45, 302]
ShowName off
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 12]
Position [95, 52, 100, 483]
BackgroundColor "black"
ShowName off
Outputs "12"
}
Block {
BlockType Fcn
Name "F1"
Position [565, 189, 715, 211]
Expr "(1/3)*(((2*u[3]-u[5]-u[7])*u[1])-((2*u[4]-u"
"[6]-u[8])*u[2]))"
}
Block {
BlockType Fcn
Name "F11b4"
Position [215, 293, 265, 317]
ShowName off
Expr "u[1]*u[2]"
}
Block {
BlockType Fcn
Name "F2"
Position [565, 243, 715, 267]
Expr "(1/3)*(((2*u[5]-u[3]-u[7])*u[1])-((2*u[6]-u"
"[4]-u[8])*u[2]))"
}
Block {
BlockType Fcn
Name "F3"
Position [565, 315, 715, 335]
Expr "(1/3)*(((2*u[7]-u[3]-u[5])*u[1])-((2*u[8]-u"
"[4]-u[6])*u[2]))"
}
Block {
BlockType Fcn
Name "Fn1"
Position [215, 153, 265, 177]
Expr "u[1]*u[2]"
}
Block {
BlockType Fcn
Name "Fn4"
Position [215, 363, 265, 387]
Expr "u[1]*u[2]"
}
Block {
BlockType Fcn
Name "Fn5"
Position [215, 433, 265, 457]
Expr "u[1]*u[2]"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [175, 59, 180, 126]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux11"
Ports [2, 1]
Position [165, 266, 170, 339]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux12"
Ports [2, 1]
Position [185, 336, 190, 409]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux13"
Ports [2, 1]
Position [165, 406, 170, 479]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux14"
Ports [8, 1]
Position [460, 16, 520, 514]
ShowName off
Inputs "8"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [160, 125, 165, 200]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1]
Position [185, 196, 190, 269]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Constant
Name "alimentation \ncontinue"
Position [400, 55, 420, 75]
ShowName off
Value "167"
}
Block {
BlockType Constant
Name "alimentation \ncontinue2"
Position [405, 85, 425, 105]
ShowName off
Value "167"
}
Block {
BlockType Fcn
Name "fn"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -