📄 masmli.mdl
字号:
SrcPort 1
DstBlock "vcn"
DstPort 1
}
Annotation {
Position [282, 222]
VerticalAlignment "top"
Text "Onduleur de tension triphase"
FontName "Times New Roman"
FontSize 16
FontWeight "bold"
}
}
}
Block {
BlockType Scope
Name "P"
Ports [1, 0, 0, 0, 0]
Position [620, 169, 650, 201]
NamePlacement "alternate"
Floating off
Location [254, 30, 474, 247]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.1"
YMin "750"
YMax "3750"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Q"
Ports [1, 0, 0, 0, 0]
Position [620, 219, 650, 251]
Floating off
Location [8, 30, 244, 251]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.1"
YMin "2750"
YMax "3200"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Constant
Name "Rotor en cc"
Position [255, 180, 285, 210]
Value "0"
}
Block {
BlockType Constant
Name "Tension continue"
Position [155, 230, 185, 260]
Orientation "up"
Value "500"
}
Block {
BlockType Scope
Name "Tension et courant \nstatoriques"
Ports [1, 0, 0, 0, 0]
Position [620, 90, 650, 120]
Orientation "left"
Floating off
Location [5, 34, 805, 615]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.1"
YMin "-35"
YMax "35"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Transformation\ngrandeurs temporelles\nvect_com"
"plexe\n"
Ports [3, 1, 0, 0, 0]
Position [270, 49, 340, 111]
ForegroundColor "red"
ShowPortLabels on
System {
Name "Transformation\ngrandeurs temporelles\nvect_c"
"omplexe\n"
Location [2, 70, 798, 580]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "xa"
Position [25, 33, 55, 47]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "xb"
Position [25, 63, 55, 77]
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "xc"
Position [25, 93, 55, 107]
Port "3"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1, 0, 0, 0]
Position [80, 22, 85, 118]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType MATLABFcn
Name "Transformation\ngrandeurs temporelles\nvect"
"_complexe"
Position [120, 55, 180, 85]
MATLABFcn "(2/3)*(u(1)+exp(i*2*pi/3)*u(2)+exp(i*4*pi/3"
")*u(3))"
OutputWidth "1"
OutputSignalType "complex"
}
Block {
BlockType Outport
Name "X_comp"
Position [205, 63, 235, 77]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "xc"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "xb"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Transformation\ngrandeurs temporelles\nvect"
"_complexe"
SrcPort 1
DstBlock "X_comp"
DstPort 1
}
Line {
SrcBlock "xa"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Transformation\ngrandeurs temporelles\nvect"
"_complexe"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Transformation\nvect_complexe\ngrandeurs tempor"
"elles"
Ports [1, 3, 0, 0, 0]
Position [530, 61, 590, 129]
ForegroundColor "red"
ShowPortLabels on
System {
Name "Transformation\nvect_complexe\ngrandeurs temp"
"orelles"
Location [161, 285, 612, 491]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "X_compl"
Position [45, 40, 75, 55]
Orientation "down"
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag4"
Ports [1, 2, 0, 0, 0]
Position [260, 34, 295, 61]
Output "RealAndImag"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag5"
Ports [1, 2, 0, 0, 0]
Position [260, 94, 295, 121]
Output "RealAndImag"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag6"
Ports [1, 2, 0, 0, 0]
Position [265, 154, 300, 181]
Output "RealAndImag"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn2"
Position [160, 90, 220, 120]
MATLABFcn "exp(i*4*pi/3)*u(1)"
OutputWidth "1"
OutputSignalType "complex"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn3"
Position [160, 150, 220, 180]
MATLABFcn "exp(i*2*pi/3)*u(1)"
OutputWidth "1"
OutputSignalType "complex"
}
Block {
BlockType Outport
Name "xa"
Position [340, 35, 370, 45]
NamePlacement "alternate"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "xb"
Position [340, 95, 370, 105]
NamePlacement "alternate"
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "xc"
Position [345, 155, 375, 165]
NamePlacement "alternate"
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Complex to\nReal-Imag6"
SrcPort 1
DstBlock "xc"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag5"
SrcPort 1
DstBlock "xb"
DstPort 1
}
Line {
SrcBlock "MATLAB Fcn2"
SrcPort 1
DstBlock "Complex to\nReal-Imag5"
DstPort 1
}
Line {
SrcBlock "MATLAB Fcn3"
SrcPort 1
DstBlock "Complex to\nReal-Imag6"
DstPort 1
}
Line {
SrcBlock "X_compl"
SrcPort 1
Points [0, 45; 65, 0]
Branch {
Points [0, -60]
DstBlock "Complex to\nReal-Imag4"
DstPort 1
}
Branch {
Points [0, 0]
Branch {
Points [0, 60]
DstBlock "MATLAB Fcn3"
DstPort 1
}
Branch {
DstBlock "MATLAB Fcn2"
DstPort 1
}
}
}
Line {
SrcBlock "Complex to\nReal-Imag4"
SrcPort 1
DstBlock "xa"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "W"
Ports [1, 0, 0, 0, 0]
Position [265, 300, 295, 330]
Orientation "left"
NamePlacement "alternate"
Floating off
Location [469, 134, 690, 338]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.1"
YMin "146.105"
YMax "146.14"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "ce"
Ports [1, 0, 0, 0, 0]
Position [500, 254, 530, 286]
Floating off
Location [308, 139, 544, 360]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.1"
YMin "15"
YMax "22"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Gain
Name "charge"
Position [350, 228, 420, 262]
Orientation "left"
NamePlacement "alternate"
Gain "20/157"
SaturateOnIntegerOverflow on
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [40, 0]
DstBlock "Tension et courant \nstatoriques"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [15, 0]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Mesures de \npuissance"
SrcPort 1
DstBlock "P"
DstPort 1
}
Line {
SrcBlock "Mesures de \npuissance"
SrcPort 2
Points [0, 25]
DstBlock "Q"
DstPort 1
}
Line {
SrcBlock "Transformation\ngrandeurs temporelles\nvect_com"
"plexe\n"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Mas_vecteurs \ncomplexes"
DstPort 1
}
Branch {
Points [0, -30; 155, 0]
DstBlock "Mesures de \npuissance"
DstPort 1
}
}
Line {
SrcBlock "Rotor en cc"
SrcPort 1
Points [35, 0; 0, -75]
DstBlock "Mas_vecteurs \ncomplexes"
DstPort 2
}
Line {
SrcBlock "charge"
SrcPort 1
Points [-10, 0; 0, -85]
DstBlock "Mas_vecteurs \ncomplexes"
DstPort 3
}
Line {
SrcBlock "Mas_vecteurs \ncomplexes"
SrcPort 5
Points [20, 0; 0, 75]
Branch {
DstBlock "charge"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "W"
DstPort 1
}
}
Line {
SrcBlock "Onduleur\ntriphase"
SrcPort 2
Points [0, -15]
DstBlock "Transformation\ngrandeurs temporelles\nvect_com"
"plexe\n"
DstPort 2
}
Line {
SrcBlock "Onduleur\ntriphase"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Transformation\ngrandeurs temporelles\nvect_c"
"omplexe\n"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Mas_vecteurs \ncomplexes"
SrcPort 2
Points [50, 0]
Branch {
DstBlock "Transformation\nvect_complexe\ngrandeurs temp"
"orelles"
DstPort 1
}
Branch {
Points [0, 115]
DstBlock "Mesures de \npuissance"
DstPort 2
}
}
Line {
SrcBlock "Transformation\nvect_complexe\ngrandeurs tempor"
"elles"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Onduleur\ntriphase"
SrcPort 3
Points [0, -30]
DstBlock "Transformation\ngrandeurs temporelles\nvect_com"
"plexe\n"
DstPort 3
}
Line {
SrcBlock "Tension continue"
SrcPort 1
DstBlock "Onduleur\ntriphase"
DstPort 4
}
Line {
SrcBlock "Mas_vecteurs \ncomplexes"
SrcPort 4
Points [35, 0; 0, 125]
DstBlock "ce"
DstPort 1
}
Line {
SrcBlock "Commande\nMLI"
SrcPort 1
DstBlock "Onduleur\ntriphase"
DstPort 1
}
Line {
SrcBlock "Commande\nMLI"
SrcPort 2
DstBlock "Onduleur\ntriphase"
DstPort 2
}
Line {
SrcBlock "Commande\nMLI"
SrcPort 3
DstBlock "Onduleur\ntriphase"
DstPort 3
}
Line {
SrcBlock "Modulantes\n sinusoidales \n triphasees"
SrcPort 1
Points [0, -145]
DstBlock "Commande\nMLI"
DstPort 1
}
Line {
SrcBlock "Modulantes\n sinusoidales \n triphasees"
SrcPort 2
Points [0, -110]
DstBlock "Commande\nMLI"
DstPort 2
}
Line {
SrcBlock "Modulantes\n sinusoidales \n triphasees"
SrcPort 3
Points [-15, 0]
DstBlock "Commande\nMLI"
DstPort 3
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -