📄 masonduleurcommande2.mdl
字号:
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [35, 0]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [30, 0; 0, 10]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 0; 0, -210; 160, 0]
Branch {
DstBlock "PARK-stator1"
DstPort 1
}
Branch {
Points [0, -15]
DstBlock "Ids"
DstPort 1
}
}
}
Line {
SrcBlock "Ws"
SrcPort 1
Points [5, 0]
Branch {
Points [390, 0; 0, -50]
DstBlock "A*X"
DstPort 3
}
Branch {
Points [0, -85]
DstBlock "\n\n"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-15, 0]
Branch {
DstBlock "A*X"
DstPort 2
}
Branch {
Points [0, 110]
DstBlock "Wm"
DstPort 1
}
}
Line {
SrcBlock "Vqn"
SrcPort 1
DstBlock "B*U"
DstPort 2
}
Line {
SrcBlock "Vdn"
SrcPort 1
Points [15, 0; 0, 5]
DstBlock "B*U"
DstPort 1
}
Line {
SrcBlock "\n\n"
SrcPort 1
Points [45, 0; 0, -270; 405, 0]
Branch {
DstBlock "PARK-stator1"
DstPort 3
}
Branch {
Points [0, 35]
DstBlock "theta"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "PARK-stator"
Ports [3, 2]
Position [385, 112, 450, 218]
ForegroundColor "green"
TreatAsAtomicUnit off
System {
Name "PARK-stator"
Location [410, 82, 745, 248]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Van"
Position [25, 33, 55, 47]
}
Block {
BlockType Inport
Name "Vbn"
Position [25, 63, 55, 77]
Port "2"
}
Block {
BlockType Inport
Name "Vcn"
Position [25, 98, 55, 112]
Port "3"
}
Block {
BlockType Fcn
Name "Fcn"
Position [195, 53, 255, 77]
Expr "sqrt(2/3)*(u(1)-(1/2)*u(2)-(1/2)*u(3))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [195, 93, 255, 117]
Expr " sqrt(2/3)*((sqrt(3)/2)*u(2)-(sqrt(3)/2)*u("
"3))"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [130, 28, 140, 142]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Vds"
Position [280, 58, 310, 72]
}
Block {
BlockType Outport
Name "Vqs"
Position [280, 98, 310, 112]
Port "2"
}
Line {
SrcBlock "Van"
SrcPort 1
Points [55, 0]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Vbn"
SrcPort 1
Points [55, 0]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Vcn"
SrcPort 1
Points [55, 0]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, -20]
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Fcn1"
DstPort 1
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Vqs"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Vds"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [1015, 129, 1045, 161]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-13.8"
YMax "-12.3"
SaveToWorkspace on
SaveName "ia"
DataFormat "Array"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [925, 129, 955, 161]
Location [188, 355, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "0.0176081"
YMax "0.0194615"
SaveToWorkspace on
SaveName "ce"
DataFormat "Array"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [1020, 369, 1050, 401]
Location [376, 359, 700, 598]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "105.5"
YMax "106.8"
SaveToWorkspace on
SaveName "wn"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [745, 609, 775, 641]
Location [649, 260, 973, 499]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-1.25e+008"
YMax "1.25e+008"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [200, 269, 230, 301]
Location [722, 344, 1046, 583]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.1"
YMin "158.334"
YMax "175"
SaveName "ScopeData6"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope8"
Ports [1]
Position [860, 589, 890, 621]
Location [649, 260, 973, 499]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-1.25e+008"
YMax "1.25e+008"
SaveName "ScopeData10"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [100, 590, 130, 620]
SineType "Time based"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave1"
Position [220, 625, 250, 655]
SineType "Time based"
SampleTime "0"
}
Block {
BlockType Step
Name "Step"
Position [715, 410, 745, 440]
Time "0"
After "0"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [0, 3]
Position [285, 125, 325, 185]
TreatAsAtomicUnit off
MaskPromptString "V=|F=|x="
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "V=@1;F=@2;x=@3;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "220|50|0"
System {
Name "Subsystem"
Location [37, 537, 177, 739]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Sin
Name "Sine Wave"
Position [25, 25, 55, 55]
SineType "Time based"
Amplitude "V*sqrt(2)"
Frequency "2*pi*F"
Phase "x*pi/180"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave3"
Position [30, 85, 60, 115]
SineType "Time based"
Amplitude "V*sqrt(2)"
Frequency "2*pi*F"
Phase "x*pi/180-2*pi/3"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave4"
Position [35, 145, 65, 175]
SineType "Time based"
Amplitude "V*sqrt(2)"
Frequency "2*pi*F"
Phase "x*pi/180+2*pi/3"
SampleTime "0"
}
Block {
BlockType Outport
Name "Ias1"
Position [85, 28, 115, 42]
}
Block {
BlockType Outport
Name "Ias2"
Position [85, 93, 115, 107]
Port "2"
}
Block {
BlockType Outport
Name "Ias3"
Position [85, 153, 115, 167]
Port "3"
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "Ias1"
DstPort 1
}
Line {
SrcBlock "Sine Wave3"
SrcPort 1
DstBlock "Ias2"
DstPort 1
}
Line {
SrcBlock "Sine Wave4"
SrcPort 1
DstBlock "Ias3"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [3, 2]
Position [520, 40, 570, 180]
TreatAsAtomicUnit off
MaskPromptString "tension continue|devision de base|bande d'hyst
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -