📄 masonduleurcommande2.mdl
字号:
Name "MADA"
Location [-11, 90, 1206, 745]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Vdn"
Position [195, 238, 225, 252]
}
Block {
BlockType Inport
Name "Vqn"
Position [190, 308, 220, 322]
Port "2"
}
Block {
BlockType Inport
Name "Ws"
Position [25, 423, 55, 437]
Port "3"
}
Block {
BlockType Inport
Name "Cr"
Position [25, 568, 55, 582]
Port "4"
}
Block {
BlockType Integrator
Name "\n\n"
Ports [1, 1]
Position [90, 330, 120, 360]
ShowName off
}
Block {
BlockType Integrator
Name "\n\n1"
Ports [1, 1]
Position [405, 273, 430, 297]
ShowName off
}
Block {
BlockType SubSystem
Name "A*X"
Ports [3, 1]
Position [355, 314, 410, 396]
Orientation "left"
BackgroundColor "lightBlue"
NamePlacement "alternate"
TreatAsAtomicUnit off
System {
Name "A*X"
Location [302, 240, 662, 520]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "X"
Position [25, 58, 55, 72]
}
Block {
BlockType Inport
Name "Wm"
Position [25, 133, 55, 147]
Port "2"
}
Block {
BlockType Inport
Name "Ws"
Position [25, 208, 55, 222]
Port "3"
}
Block {
BlockType Fcn
Name "Fcn"
Position [155, 42, 185, 68]
Expr "-Rs/(1-m^2/Ls/Lr)/Ls*u[1]+(u(6)+m^2/Ls/"
"Lr*u[5]/(1-m^2/Ls/Lr))*u[2]+m/(1-m^2/Ls/Lr)/Ls/(Lr/Rr)*u[3]+m*u[5]/(1-m^2/Ls/"
"Lr)/Ls*u[4]"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [155, 97, 185, 123]
Expr "-(u(6)+m^2/Ls/Lr*u[5]/(1-m^2/Ls/Lr))*u["
"1]-Rs/(1-m^2/Ls/Lr)/Ls*u[2]-m*u[5]/(1-m^2/Ls/Lr)/Ls*u[3]+m/(1-m^2/Ls/Lr)/Ls/("
"Lr/Rr)*u[4]"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [155, 152, 185, 178]
Expr "m*Rs/(1-m^2/Ls/Lr)/Lr/Ls*u[1]-m*u[5]/(1"
"-m^2/Ls/Lr)/Lr*u[2]-1/(1-m^2/Ls/Lr)/(Lr/Rr)*u[3]+(u(6)-u[5]/(1-m^2/Ls/Lr))*u["
"4]"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [155, 207, 185, 233]
Expr "m*u[5]/(1-m^2/Ls/Lr)/Lr*u[1]+m*Rs/(1-m^"
"2/Ls/Lr)/Lr/Ls*u[2]-(u(6)-u[5]/(1-m^2/Ls/Lr))*u[3]-1/(1-m^2/Ls/Lr)/(Lr/Rr)*u["
"4]"
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [230, 25, 240, 250]
ShowName off
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [90, 27, 100, 253]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "A*X"
Position [305, 133, 335, 147]
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Fcn3"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [30, 0]
Branch {
Points [0, -30]
Branch {
Points [0, -55]
DstBlock "Fcn"
DstPort 1
}
Branch {
DstBlock "Fcn1"
DstPort 1
}
}
Branch {
Points [0, 25]
Branch {
Points [0, 55]
DstBlock "Fcn3"
DstPort 1
}
Branch {
DstBlock "Fcn2"
DstPort 1
}
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "A*X"
DstPort 1
}
Line {
SrcBlock "Ws"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Wm"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "X"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "B*U"
Ports [2, 1]
Position [275, 215, 310, 350]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
System {
Name "B*U"
Location [286, 82, 626, 359]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Vds"
Position [25, 48, 55, 62]
}
Block {
BlockType Inport
Name "Vqs"
Position [25, 103, 55, 117]
Port "2"
}
Block {
BlockType Fcn
Name "Fcn"
Position [170, 43, 225, 67]
Expr "(1/(1-m^2/Ls/Lr)/Ls*u(1))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [170, 208, 225, 232]
Expr "(-m/(1-m^2/Ls/Lr)/Lr/Ls*u(2))"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [170, 98, 225, 122]
Expr "(1/(1-m^2/Ls/Lr)/Ls*u(2))"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [170, 153, 225, 177]
Expr "(-m/(1-m^2/Ls/Lr)/Lr/Ls*u(1)) "
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [80, 29, 90, 256]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1]
Position [250, 25, 260, 250]
ShowName off
DisplayOption "bar"
}
Block {
BlockType Outport
Name "B*U"
Position [285, 133, 315, 147]
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Fcn3"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "B*U"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [45, 0]
Branch {
Points [0, -30]
Branch {
Points [0, -55]
DstBlock "Fcn"
DstPort 1
}
Branch {
DstBlock "Fcn2"
DstPort 1
}
}
Branch {
Points [0, 25]
Branch {
Points [0, 55]
DstBlock "Fcn1"
DstPort 1
}
Branch {
DstBlock "Fcn3"
DstPort 1
}
}
}
Line {
SrcBlock "Vds"
SrcPort 1
Points [5, 0]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Vqs"
SrcPort 1
Points [5, 0]
DstBlock "Mux"
DstPort 2
}
}
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [490, 227, 500, 338]
BackgroundColor "black"
ShowName off
}
Block {
BlockType Gain
Name "Gain"
Position [675, 340, 705, 370]
Orientation "left"
NamePlacement "alternate"
ShowName off
Gain "p"
}
Block {
BlockType Gain
Name "Gain1"
Position [1075, 275, 1105, 305]
ShowName off
Gain "1.5*p*lm"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [345, 96, 350, 134]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "PARK-stator"
Ports [4, 2]
Position [460, 607, 500, 668]
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, 93, 55, 107]
Port "3"
}
Block {
BlockType Inport
Name "Os"
Position [75, 123, 105, 137]
Port "4"
}
Block {
BlockType Fcn
Name "Fcn"
Position [195, 53, 255, 77]
Expr "sqrt(3/2)*((cos(u(4))*u(1))+(cos((u(4))"
"-2*pi/3)*u(2))+(cos((u(4))+2*pi/3)*u(3)))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [195, 93, 255, 117]
Expr "sqrt(3/2)*((sin(u(4))*u(1))+(sin((u(4))"
"-2*pi/3)*u(2))+(sin((u(4))+2*pi/3)*u(3)))"
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [130, 28, 140, 142]
ShowName off
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
DstBlock "Mux"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -