📄 machine_asynchrone_svm2s.mdl
字号:
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1/3*[2 -1 -1;-1 2 -1;-1 -1 2] "
}
Block {
BlockType Mux
Name "Mux7"
Ports [3, 1]
Position [225, 136, 250, 324]
ShowName off
Inputs "3"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [170, 155, 185, 175]
ShowName off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [180, 220, 195, 240]
ShowName off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [185, 280, 200, 300]
ShowName off
}
Block {
BlockType Outport
Name "Va"
Position [395, 160, 415, 180]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Block {
BlockType Outport
Name "Vb"
Position [400, 220, 420, 240]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Block {
BlockType Outport
Name "Vc"
Position [400, 280, 420, 300]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Vc"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Vb"
DstPort 1
}
Line {
SrcBlock "Mux7"
SrcPort 1
DstBlock "Matrix"
DstPort 1
}
Line {
SrcBlock "Matrix"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [20, 0]
DstBlock "Mux7"
DstPort 1
}
Line {
SrcBlock "s1"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Mux7"
DstPort 2
}
Line {
SrcBlock "Product3"
SrcPort 1
DstBlock "Mux7"
DstPort 3
}
Line {
SrcBlock "Vd"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "s2"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "s3"
SrcPort 1
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Va"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 10]
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, 75]
Branch {
Points [0, 65]
DstBlock "Product3"
DstPort 1
}
Branch {
Points [0, 5]
DstBlock "Product2"
DstPort 1
}
}
}
}
}
Block {
BlockType SubSystem
Name "source de commutation\nsvm 2 niveaux"
Ports [0, 3]
Position [100, 45, 135, 135]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "m=T/Ts|fr閝uance|taux de modulation"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "m=@1;fre=@2;r=@3;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "25|50|1"
MaskTabNameString ",,"
System {
Name "source de commutation\nsvm 2 niveaux"
Location [2, 82, 1014, 722]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Clock
Name "Clock"
Position [170, 135, 190, 155]
Decimation "10"
}
Block {
BlockType Constant
Name "Constant1"
Position [140, 195, 170, 225]
ShowName off
Value "m"
}
Block {
BlockType Constant
Name "Constant2"
Position [125, 390, 155, 420]
ShowName off
Value "fre"
}
Block {
BlockType Constant
Name "Constant4"
Position [165, 480, 195, 510]
ShowName off
Value "r"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [445, 271, 450, 359]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn"
Position [310, 300, 370, 330]
ShowName off
MATLABFcn "svmc2s"
OutputDimensions "3"
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [260, 130, 265, 500]
ShowName off
DisplayOption "bar"
}
Block {
BlockType Outport
Name "s1"
Position [570, 278, 600, 292]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "s2"
Position [570, 308, 600, 322]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "s3"
Position [575, 338, 605, 352]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "MATLAB Fcn"
DstPort 1
}
Line {
SrcBlock "MATLAB Fcn"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "s1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "s2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "s3"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
Points [25, 0; 0, 35]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [35, 0; 0, 60]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [45, 0; 0, -45]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Constant4"
SrcPort 1
Points [30, 0; 0, -45]
DstBlock "Mux"
DstPort 4
}
}
}
Block {
BlockType ToWorkspace
Name "t"
Position [695, 415, 710, 435]
VariableName "t"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "wr"
Position [595, 145, 610, 165]
VariableName "wr"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType Constant
Name "ws"
Position [205, 169, 220, 191]
Value "-2*pi*50"
}
Line {
SrcBlock "MAS_AT"
SrcPort 1
DstBlock "Qdr"
DstPort 1
}
Line {
SrcBlock "MAS_AT"
SrcPort 2
DstBlock "Qqr"
DstPort 1
}
Line {
SrcBlock "MAS_AT"
SrcPort 3
DstBlock "wr"
DstPort 1
}
Line {
SrcBlock "MAS_AT"
SrcPort 4
DstBlock "Ce"
DstPort 1
}
Line {
SrcBlock "MAS_AT"
SrcPort 5
Points [0, 0; 25, 0]
Branch {
DstBlock "Ids"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "dq/abc1"
DstPort 1
}
}
Line {
SrcBlock "MAS_AT"
SrcPort 6
Points [0, 0; 10, 0]
Branch {
DstBlock "Iqs"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "dq/abc1"
DstPort 2
}
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "t"
DstPort 1
}
Line {
SrcBlock "ws"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [10, 0]
DstBlock "calcul angle"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "MAS_AT"
DstPort 3
}
}
Line {
SrcBlock "calcul angle"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [10, 0]
DstBlock "abc/dq"
DstPort 4
}
Branch {
Points [10, 0; 0, 180]
DstBlock "dq/abc1"
DstPort 3
}
}
Line {
SrcBlock "Cr"
SrcPort 1
DstBlock "MAS_AT"
DstPort 4
}
Line {
SrcBlock "onduleur"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, 30]
DstBlock "abc/dq"
DstPort 1
}
Branch {
Points [0, -10]
DstBlock "Va"
DstPort 1
}
}
Line {
SrcBlock "onduleur"
SrcPort 2
Points [20, 0; 0, 20]
DstBlock "abc/dq"
DstPort 2
}
Line {
SrcBlock "onduleur"
SrcPort 3
Points [20, 0; 0, 10]
DstBlock "abc/dq"
DstPort 3
}
Line {
SrcBlock "Subsystem"
SrcPort 1
DstBlock "onduleur"
DstPort 1
}
Line {
SrcBlock "source de commutation\nsvm 2 niveaux"
SrcPort 1
Points [0, 5]
DstBlock "onduleur"
DstPort 2
}
Line {
SrcBlock "source de commutation\nsvm 2 niveaux"
SrcPort 2
Points [0, 5]
DstBlock "onduleur"
DstPort 3
}
Line {
SrcBlock "source de commutation\nsvm 2 niveaux"
SrcPort 3
Points [0, 5]
DstBlock "onduleur"
DstPort 4
}
Line {
SrcBlock "dq/abc1"
SrcPort 1
Points [20, 0; 0, -40]
DstBlock "Ia"
DstPort 1
}
Line {
SrcBlock "abc/dq"
SrcPort 1
DstBlock "MAS_AT"
DstPort 1
}
Line {
SrcBlock "abc/dq"
SrcPort 2
DstBlock "MAS_AT"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -