📄 mada_bo_fluxgggg.mdl
字号:
DstPort 1
}
Line {
Name "ids*"
Labels [0, 0]
SrcBlock "flux regul"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "flux regul"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -35]
DstBlock "vdrr"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "vqrr"
DstPort 1
}
}
Line {
SrcBlock "vdrr"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "vdr"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Transport\nDelay"
DstPort 1
}
}
Line {
SrcBlock "vqrr"
SrcPort 1
DstBlock "vqr"
DstPort 1
}
Line {
SrcBlock "Tr"
SrcPort 1
Points [85, 0]
DstBlock "Sum7"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [5, 0]
Branch {
Points [-5, 0]
DstBlock "Sum7"
DstPort 2
}
Branch {
Points [0, 15; 45, 0]
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
Points [-100, 0; 0, -225]
Branch {
Points [0, -365]
DstBlock "Tr"
DstPort 1
}
Branch {
DstBlock "Mux1"
DstPort 3
}
}
Line {
SrcBlock "Sum7"
SrcPort 1
Points [10, 0; 0, -75]
DstBlock "Mux"
DstPort 1
}
}
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [600, 452, 605, 588]
BackgroundColor "black"
ShowName off
Outputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "FLUX"
Ports [2]
Position [820, 310, 885, 390]
DropShadow on
Location [5, 54, 1029, 737]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "-1.75~-3.25"
YMax "4~2"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "MADA"
Ports [6, 11]
Position [630, 156, 760, 614]
DropShadow on
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "resistanse rs=|resistanse rr=|m=|inductance lm="
"|inductance ls=|inductance lr=|frotement fc=|moment d'inertie J=|paire de pol"
"e P="
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on,on"
MaskCallbackString "||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,"
MaskVariables "Rs=@1;Rr=@2;m=@3;lm=@4;Ls=@5;Lr=@6;fc=@7;J=@8;P"
"=@9;"
MaskInitialization "k=lm*(P^2/J/Lr);m1=P/J;m2=fc/J;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "4.85|3.805|58e-3|0.258|0.274|0.274|0.00114|0.03"
"1|2"
MaskTabNameString ",,,,,,,,"
System {
Name "MADA"
Location [2, 82, 997, 718]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ws"
Position [100, 283, 130, 297]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Cr"
Position [90, 613, 120, 627]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Vds"
Position [50, 383, 80, 397]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Vbs"
Position [75, 403, 105, 417]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Vdr"
Position [35, 508, 65, 522]
Port "5"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Vqr"
Position [65, 528, 95, 542]
Port "6"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn"
Position [415, 145, 475, 175]
Expr "-(Rs*Lr^2+lm^2*Rr)/(1-lm^2/Ls/Lr)/Ls/Lr^2*u"
"[1]+u[5]*u[2]+lm/(1-lm^2/Ls/Lr)/Ls/(Lr/Rr)/Lr*u[3]+lm*u[6]/(1-lm^2/Ls/Lr)/Ls/"
"Lr*u[4] +(1/(1-lm^2/Ls/Lr)/Ls*u[7])-(lm/(1-lm^2/Ls/Lr)/Lr/Ls*u[9])"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [415, 205, 475, 235]
Expr "-u[5]*u[1]-(Rs*Lr^2+lm^2*Rr)/(1-lm^2/Ls/Lr)"
"/Ls/Lr^2*u[2]-lm*u[6]/(1-lm^2/Ls/Lr)/Ls/Lr*u[3]+lm/(1-lm^2/Ls/Lr)/Ls/(Lr/Rr)/"
"Lr*u[4]+(1/(1-lm^2/Ls/Lr)/Ls*u[8])-(lm/(1-lm^2/Ls/Lr)/Lr/Ls*u[10])"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [415, 260, 475, 290]
Expr "Rr*lm/Lr*u[1]-Rr/Lr*u[3]+u[12]*u[4]+u[9]"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [415, 315, 475, 345]
Expr "Rr*lm/Lr*u[2]-u[12]*u[3]-Rr/Lr*u[4]+u[10]"
}
Block {
BlockType Fcn
Name "Fcn4"
Position [410, 365, 470, 395]
Expr "k*(u(3)*u(2)-u(4)*u(1))-m1*u(11)-m2*u(6)"
}
Block {
BlockType Fcn
Name "Fcn5"
Position [410, 415, 470, 445]
Expr "u(5)"
}
Block {
BlockType Fcn
Name "Fcn6"
Position [410, 465, 470, 495]
Expr "u(12)"
}
Block {
BlockType Fcn
Name "Fcn7"
Position [410, 510, 470, 540]
Expr "P*lm/Lr*(u(3)*u(2)-u(4)*u(1))"
}
Block {
BlockType Fcn
Name "Fcn8"
Position [410, 555, 470, 585]
Expr "(1/Lr)*(u[3]-lm*u[1])"
}
Block {
BlockType Fcn
Name "Fcn9"
Position [410, 600, 470, 630]
Expr "(1/Lr)*(u[4]-lm*u[2])"
}
Block {
BlockType From
Name "From fdr"
Position [165, 171, 200, 189]
NamePlacement "alternate"
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "fdr"
}
Block {
BlockType From
Name "From fqr"
Position [170, 226, 205, 244]
NamePlacement "alternate"
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "fqr"
}
Block {
BlockType From
Name "From ids"
Position [165, 59, 205, 81]
NamePlacement "alternate"
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "ids"
}
Block {
BlockType From
Name "From iqs"
Position [165, 116, 200, 134]
NamePlacement "alternate"
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "iqs"
}
Block {
BlockType From
Name "From wm"
Position [175, 336, 210, 354]
NamePlacement "alternate"
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "wm"
}
Block {
BlockType Goto
Name "Goto fdr"
Position [580, 245, 620, 265]
NamePlacement "alternate"
DialogController "Simulink.DDGSource"
GotoTag "fdr"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto fqr"
Position [585, 320, 615, 340]
NamePlacement "alternate"
DialogController "Simulink.DDGSource"
GotoTag "fqr"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto ids"
Position [585, 131, 635, 149]
NamePlacement "alternate"
DialogController "Simulink.DDGSource"
GotoTag "ids"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto iqs"
Position [585, 210, 630, 230]
NamePlacement "alternate"
DialogController "Simulink.DDGSource"
GotoTag "iqs"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto wm"
Position [580, 355, 610, 375]
NamePlacement "alternate"
DialogController "Simulink.DDGSource"
GotoTag "wm"
TagVisibility "local"
}
Block {
BlockType Mux
Name "Mux"
Ports [12, 1]
Position [295, 26, 300, 719]
ShowName off
Inputs "12"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [3, 3]
Position [780, 554, 855, 646]
ShowName off
FontName "Times New Roman"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem1"
Location [111, 82, 699, 576]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "idr"
Position [25, 93, 55, 107]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "iqr"
Position [25, 143, 55, 157]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Theta_r"
Position [25, 43, 55, 57]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn7"
Position [130, 47, 170, 73]
Expr "sqrt(2/3)*(cos(u(1))*u(2)+sin(u(1))*u(3"
"))"
}
Block {
BlockType Fcn
Name "Fcn8"
Position [130, 87, 170, 113]
Expr "sqrt(2/3)*(cos(u(1)-2*pi/3)*u(2)+sin(u("
"1)-2*pi/3)*u(3))"
}
Block {
BlockType Fcn
Name "Fcn9"
Position [130, 127, 170, 153]
Expr "sqrt(2/3)*(cos(u(1)+2*pi/3)*u(2)+sin(u("
"1)+2*pi/3)*u(3))"
}
Block {
BlockType Mux
Name "Mux5"
Ports [3, 1]
Position [95, 27, 100, 173]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "iar"
Position [205, 53, 235, 67]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ibr"
Position [205, 93, 235, 107]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "icr"
Position [205, 133, 235, 147]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux5"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, -40]
DstBlock "Fcn7"
DstPort 1
}
Branch {
Points [0, 0]
Branch {
DstBlock "Fcn8"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Fcn9"
DstPort 1
}
}
}
Line {
SrcBlock "idr"
SrcPort 1
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "iqr"
SrcPort 1
DstBlock "Mux5"
DstPort 3
}
Line {
SrcBlock "Theta_r"
SrcPort 1
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "Fcn7"
SrcPort 1
DstBlock "iar"
DstPort 1
}
Line {
SrcBlock "Fcn8"
SrcPort 1
DstBlock "ibr"
DstPort 1
}
Line {
SrcBlock "Fcn9"
SrcPort 1
DstBlock "icr"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [260, 665, 280, 685]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -