📄 machine_asynchrone_svm2s.mdl
字号:
Line {
SrcBlock "K10"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Ce"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Sum8"
DstPort 1
}
}
Line {
SrcBlock "Cr"
SrcPort 1
DstBlock "Sum8"
DstPort 2
}
Line {
SrcBlock "Sum8"
SrcPort 1
DstBlock "Transfer Fcn6"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn6"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "wr"
DstPort 1
}
Branch {
DstBlock "K11"
DstPort 1
}
}
Line {
SrcBlock "K11"
SrcPort 1
DstBlock "Goto2"
DstPort 1
}
}
}
Block {
BlockType ToWorkspace
Name "Qdr"
Position [585, 65, 600, 85]
VariableName "Qdr"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "Qqr"
Position [595, 105, 610, 125]
VariableName "Qqr"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [0, 1]
Position [205, 19, 255, 61]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('Source\\nde tension\\n continue')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem"
Location [205, 120, 330, 192]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [25, 25, 45, 45]
ShowName off
Value "220*sqrt(2)"
}
Block {
BlockType Outport
Name "Out1"
Position [70, 28, 100, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType ToWorkspace
Name "Va"
Position [380, 20, 395, 40]
VariableName "Va"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType SubSystem
Name "abc/dq"
Ports [4, 2]
Position [355, 54, 400, 176]
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "abc/dq"
Location [2, 82, 790, 576]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Va"
Position [185, 60, 205, 80]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Vb"
Position [180, 100, 200, 120]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Vc"
Position [180, 140, 200, 160]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "teta"
Position [180, 180, 200, 200]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn"
Position [320, 48, 520, 82]
ShowName off
Expr "(2/3)*(u[1]*cos(u[4])+u[2]*cos(u[4]-2*pi/3)"
"+u[3]*cos(u[4]+2*pi/3))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [330, 178, 530, 212]
ShowName off
Expr "-(2/3)*(u[1]*sin(u[4])+u[2]*sin(u[4]-2*pi/3"
")+u[3]*sin(u[4]+2*pi/3))"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1]
Position [260, 52, 285, 208]
ShowName off
}
Block {
BlockType Outport
Name "Vd "
Position [570, 55, 590, 75]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Block {
BlockType Outport
Name "Vq"
Position [570, 185, 590, 205]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Vd "
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Vq"
DstPort 1
}
Line {
SrcBlock "Vb"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Va"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "teta"
SrcPort 1
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "Vc"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "Fcn1"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "calcul angle"
Ports [1, 1]
Position [255, 152, 305, 188]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "calcul angle"
Location [246, 223, 421, 303]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ws"
Position [25, 33, 55, 47]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [80, 26, 95, 54]
}
Block {
BlockType Outport
Name "teta"
Position [120, 33, 150, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "ws"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "teta"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "dq/abc1"
Ports [3, 1]
Position [585, 313, 630, 357]
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('\\n\\n')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "dq/abc1"
Location [2, 82, 790, 576]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Id"
Position [20, 35, 40, 55]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Iq"
Position [20, 80, 40, 100]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "teta"
Position [20, 125, 40, 145]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn1"
Position [145, 74, 355, 106]
ShowName off
Expr "u(1)*cos(u(3))-u(2)*sin(u(3))"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [85, 23, 110, 157]
Inputs "3"
}
Block {
BlockType Outport
Name "Ia"
Position [495, 80, 515, 100]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Ia"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Id"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Iq"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "teta"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "onduleur"
Ports [4, 3]
Position [275, 22, 305, 138]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('\\n\\n\\n\\n\\n\\n\\n')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "onduleur"
Location [2, 82, 790, 576]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Vd"
Position [115, 75, 135, 95]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "s1"
Position [115, 160, 135, 180]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "s2"
Position [115, 225, 135, 245]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "s3"
Position [115, 285, 135, 305]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [325, 136, 370, 324]
ShowName off
Outputs "3"
}
Block {
BlockType Gain
Name "Gain"
Position [140, 100, 170, 130]
Orientation "down"
Gain "2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType StateSpace
Name "Matrix"
Position [280, 216, 305, 244]
A "[]"
B "[]"
C "[]"
D "K"
MaskType "Matrix Gain"
MaskDescription "Matrix Gain."
MaskHelp "Multiplies input vector by entered matrix t"
"o produce output vector (y=Au)."
MaskPromptString "Gain matrix:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskInitialization "K = @1;"
MaskDisplay "disp('K')"
MaskIconFrame on
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -