📄 onduleur.mdl
字号:
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "ias"
Position [585, 298, 615, 312]
}
Block {
BlockType Outport
Name "Fdr"
Position [585, 158, 615, 172]
Port "2"
}
Block {
BlockType Outport
Name "Fqr"
Position [585, 193, 615, 207]
Port "3"
}
Block {
BlockType Outport
Name "W"
Position [585, 228, 615, 242]
Port "4"
}
Block {
BlockType Outport
Name "Cem"
Position [585, 263, 615, 277]
Port "5"
}
Block {
BlockType Outport
Name "ids"
Position [585, 88, 615, 102]
Port "6"
}
Block {
BlockType Outport
Name "Iqs"
Position [585, 123, 615, 137]
Port "7"
}
Block {
BlockType Outport
Name "Theta_s"
Position [585, 333, 615, 347]
Port "8"
}
Line {
SrcBlock "Subsystem"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Fdr"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "Fqr"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 6
DstBlock "Cem"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 5
Points [75, 0]
Branch {
Points [0, 200; -305, 0]
DstBlock "Sum1"
DstPort 2
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "ids"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Iqs"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Vds"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Vqs"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 7
DstBlock "ias"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 8
DstBlock "Theta_s"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Mux1"
DstPort 5
}
Line {
SrcBlock "Cr"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "ws"
SrcPort 1
Points [25, 0; 0, 0]
Branch {
DstBlock "Mux1"
DstPort 4
}
Branch {
Points [0, 40]
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "W"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 3]
Position [170, 145, 335, 225]
ForegroundColor "blue"
BackgroundColor "lightBlue"
DropShadow on
ShowName off
FontName "Albertus Medium"
FontSize 16
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('ONDULEUR\\n A MLI PROGRAMME') "
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem"
Location [2, 75, 790, 555]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 73, 55, 87]
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [565, 61, 570, 99]
ForegroundColor "red"
BackgroundColor "red"
ShowName off
Outputs "3"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [385, 43, 390, 117]
ForegroundColor "red"
BackgroundColor "blue"
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [250, 179, 280, 211]
Location [292, 282, 616, 521]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "10"
YMax "85"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [440, 189, 470, 221]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "10"
YMax "85"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [685, 189, 715, 221]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "10"
YMax "85"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 3]
Position [250, 28, 320, 132]
ForegroundColor "blue"
BackgroundColor "lightBlue"
DropShadow on
ShowName off
FontName "Zurich Ex BT"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('PWM')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem"
Location [-102, 255, 686, 720]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "entr閑 de neurone"
Position [25, 73, 55, 87]
}
Block {
BlockType SubSystem
Name "Signal s1\n"
Ports [1, 1]
Position [125, 29, 175, 111]
BackgroundColor "lightBlue"
DropShadow on
NamePlacement "alternate"
ShowName off
FontName "Zurich Ex BT"
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('PWM1')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Signal s1\n"
Location [-42, 86, 730, 531]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "entr閑 de neurone"
Position [25, 203, 55, 217]
}
Block {
BlockType Constant
Name "Constant27"
Position [360, 45, 390, 75]
ShowName off
}
Block {
BlockType Constant
Name "Constant28"
Position [360, 125, 390, 155]
ShowName off
Value "-1"
}
Block {
BlockType Constant
Name "Constant34"
Position [820, 140, 850, 170]
ForegroundColor "red"
ShowName off
Value "180"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [90, 127, 95, 293]
BackgroundColor "black"
ShowName off
}
Block {
BlockType Fcn
Name "Fcn"
Position [545, 85, 605, 115]
ForegroundColor "red"
BackgroundColor "green"
Expr "180-u"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [545, 150, 605, 180]
ForegroundColor "red"
BackgroundColor "green"
Expr "180-u"
}
Block {
BlockType Fcn
Name "Fcn10"
Position [545, 615, 605, 645]
ForegroundColor "red"
BackgroundColor "green"
Expr "360-u"
}
Block {
BlockType Fcn
Name "Fcn11"
Position [545, 675, 605, 705]
ForegroundColor "red"
BackgroundColor "green"
Expr "360-u"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [545, 205, 605, 235]
ForegroundColor "red"
BackgroundColor "green"
Expr "180-u"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [545, 265, 605, 295]
ForegroundColor "red"
BackgroundColor "green"
Expr "180-u"
}
Block {
BlockType Fcn
Name "Fcn4"
Position [220, 495, 280, 525]
ForegroundColor "red"
BackgroundColor "green"
Expr "180+u"
}
Block {
BlockType Fcn
Name "Fcn5"
Position [220, 560, 280, 590]
ForegroundColor "red"
BackgroundColor "green"
Expr "180+u"
}
Block {
BlockType Fcn
Name "Fcn6"
Position [220, 615, 280, 645]
ForegroundColor "red"
BackgroundColor "green"
Expr "180+u"
}
Block {
BlockType Fcn
Name "Fcn7"
Position [220, 675, 280, 705]
ForegroundColor "red"
BackgroundColor "green"
Expr "180+u"
}
Block {
BlockType Fcn
Name "Fcn8"
Position [545, 495, 605, 525]
ForegroundColor "red"
BackgroundColor "green"
Expr "360-u"
}
Block {
BlockType Fcn
Name "Fcn9"
Position [545, 560, 605, 590]
ForegroundColor "red"
BackgroundColor "green"
Expr "360-u"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator59"
Position [320, 90, 355, 125]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator60"
Position [320, 155, 355, 190]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator61"
Position [320, 210, 355, 245]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator62"
Position [320, 270, 355, 305]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator63"
Position [640, 75, 675, 110]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator64"
Position [640, 140, 675, 175]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator65"
Position [640, 195, 675, 230]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator66"
Position [640, 255, 675, 290]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator67"
Position [875, 130, 910, 165]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator68"
Position [310, 485, 345, 520]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator69"
Position [310, 550, 345, 585]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator70"
Position [310, 605, 345, 640]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator71"
Position [310, 665, 345, 700]
ForegroundColor "magenta"
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator72"
Position [635, 485, 670, 520]
ForegroundColor "magenta"
ShowName off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -