📄 mada_bo_samir.mdl
字号:
}
Block {
BlockType Goto
Name "Goto iqr"
Position [585, 320, 615, 340]
NamePlacement "alternate"
DialogController "Simulink.DDGSource"
GotoTag "iqr"
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, 259, 855, 351]
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 "ids"
Position [25, 93, 55, 107]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "iqs"
Position [25, 143, 55, 157]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Theta_s"
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 "ias"
Position [205, 53, 235, 67]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ibs"
Position [205, 93, 235, 107]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ics"
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 "ids"
SrcPort 1
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "iqs"
SrcPort 1
DstBlock "Mux5"
DstPort 3
}
Line {
SrcBlock "Theta_s"
SrcPort 1
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "Fcn7"
SrcPort 1
DstBlock "ias"
DstPort 1
}
Line {
SrcBlock "Fcn8"
SrcPort 1
DstBlock "ibs"
DstPort 1
}
Line {
SrcBlock "Fcn9"
SrcPort 1
DstBlock "ics"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem4"
Ports [3, 3]
Position [780, 144, 855, 236]
ShowName off
FontName "Times New Roman"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem4"
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 "ids"
Position [25, 93, 55, 107]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "iqs"
Position [25, 143, 55, 157]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Theta_s"
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 "ias"
Position [205, 53, 235, 67]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ibs"
Position [205, 93, 235, 107]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ics"
Position [205, 133, 235, 147]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Fcn9"
SrcPort 1
DstBlock "ics"
DstPort 1
}
Line {
SrcBlock "Fcn8"
SrcPort 1
DstBlock "ibs"
DstPort 1
}
Line {
SrcBlock "Fcn7"
SrcPort 1
DstBlock "ias"
DstPort 1
}
Line {
SrcBlock "Theta_s"
SrcPort 1
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "iqs"
SrcPort 1
DstBlock "Mux5"
DstPort 3
}
Line {
SrcBlock "ids"
SrcPort 1
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "Mux5"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, 0]
Branch {
Points [0, 40]
DstBlock "Fcn9"
DstPort 1
}
Branch {
DstBlock "Fcn8"
DstPort 1
}
}
Branch {
Points [0, -40]
DstBlock "Fcn7"
DstPort 1
}
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [260, 655, 280, 675]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Scope
Name "Wr"
Ports [1]
Position [815, 474, 845, 506]
DropShadow on
Location [5, 54, 1029, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "145.5"
YMax "155.5"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "park1"
Ports [4, 2]
Position [160, 507, 225, 583]
FontName "Times New Roman"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "park1"
Location [168, 259, 398, 422]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "va"
Position [25, 38, 55, 52]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "vb"
Position [25, 63, 55, 77]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "vc"
Position [25, 88, 55, 102]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "theta_r"
Position [25, 113, 55, 127]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn5"
Position [115, 47, 155, 73]
Expr "sqrt(3/2)*(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 "Fcn6"
Position [115, 97, 155, 123]
Expr "sqrt(3/2)*(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 "Mux6"
Ports [4, 1]
Position [80, 27, 85, 138]
ShowName off
DisplayOption "bar"
}
Block {
BlockType Outport
Name "vdr"
Position [175, 53, 205, 67]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "vqr"
Position [175, 103, 205, 117]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux6"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Fcn5"
DstPort 1
}
Branch {
DstBlock "Fcn6"
DstPort 1
}
}
Line {
SrcBlock "Fcn6"
SrcPort 1
DstBlock "vqr"
DstPort 1
}
Line {
SrcBlock "Fcn5"
SrcPort 1
DstBlock "vdr"
DstPort 1
}
Line {
SrcBlock "va"
SrcPort 1
DstBlock "Mux6"
DstPort 1
}
Line {
SrcBlock "vb"
SrcPort 1
DstBlock "Mux6"
DstPort 2
}
Line {
SrcBlock "vc"
SrcPort 1
DstBlock "Mux6"
DstPort 3
}
Line {
SrcBlock "theta_r"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -