?? machine_asynchrone.mdl
字號:
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 [65, 152, 115, 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/abc3"
Ports [3, 1]
Position [415, 233, 460, 277]
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('\\n\\n')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "dq/abc3"
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 "source triphas閑\nsinusoidale"
Ports [0, 3]
Position [95, 36, 125, 124]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "valeur efficace de la tension d'alimentation|fr"
"閝uence"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "Veff=@1;fre=@2;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "220|50"
MaskTabNameString ","
System {
Name "source triphas閑\nsinusoidale"
Location [2, 82, 790, 550]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Sin
Name "v1"
Ports [0, 1]
Position [25, 65, 55, 95]
SineType "Time based"
Amplitude "Veff*sqrt(2)"
Frequency "2*pi*fre"
SampleTime "0"
}
Block {
BlockType Sin
Name "v2"
Ports [0, 1]
Position [25, 145, 55, 175]
SineType "Time based"
Amplitude "Veff*sqrt(2)"
Frequency "2*pi*fre"
Phase "-2*pi/3"
SampleTime "0"
}
Block {
BlockType Sin
Name "v3"
Ports [0, 1]
Position [25, 225, 55, 255]
SineType "Time based"
Amplitude "Veff*sqrt(2)"
Frequency "2*pi*fre"
Phase "2*pi/3"
SampleTime "0"
}
Block {
BlockType Outport
Name "va"
Position [175, 73, 205, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "vb"
Position [180, 153, 210, 167]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "vc"
Position [180, 233, 210, 247]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "v3"
SrcPort 1
DstBlock "vc"
DstPort 1
}
Line {
SrcBlock "v2"
SrcPort 1
DstBlock "vb"
DstPort 1
}
Line {
SrcBlock "v1"
SrcPort 1
DstBlock "va"
DstPort 1
}
}
}
Block {
BlockType ToWorkspace
Name "t"
Position [235, 300, 250, 320]
VariableName "t"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "wr"
Position [330, 140, 345, 160]
VariableName "wr"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType Constant
Name "ws"
Position [15, 164, 30, 186]
Value "2*pi*50"
}
Line {
SrcBlock "abc/dq"
SrcPort 1
DstBlock "MAS_AT"
DstPort 1
}
Line {
SrcBlock "abc/dq"
SrcPort 2
DstBlock "MAS_AT"
DstPort 2
}
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 [30, 0]
Branch {
DstBlock "Ids"
DstPort 1
}
Branch {
Points [0, 10]
DstBlock "dq/abc3"
DstPort 1
}
}
Line {
SrcBlock "MAS_AT"
SrcPort 6
Points [35, 0]
Branch {
DstBlock "Iqs"
DstPort 1
}
Branch {
Points [0, -15]
DstBlock "dq/abc3"
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 [20, 0]
Branch {
Points [10, 0]
DstBlock "abc/dq"
DstPort 4
}
Branch {
Points [5, 0; 0, 200; 255, 0]
DstBlock "dq/abc3"
DstPort 3
}
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [0, 5]
DstBlock "MAS_AT"
DstPort 4
}
Line {
SrcBlock "source triphas閑\nsinusoidale"
SrcPort 1
Points [10, 0; 0, 5]
Branch {
Points [0, 10]
DstBlock "abc/dq"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "Va"
DstPort 1
}
}
Line {
SrcBlock "source triphas閑\nsinusoidale"
SrcPort 2
Points [10, 0; 0, 15]
DstBlock "abc/dq"
DstPort 2
}
Line {
SrcBlock "source triphas閑\nsinusoidale"
SrcPort 3
Points [10, 0; 0, 15]
DstBlock "abc/dq"
DstPort 3
}
Line {
SrcBlock "dq/abc3"
SrcPort 1
DstBlock "Ia"
DstPort 1
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -