📄 foc.mdl
字号:
Position [125, 194, 145, 256]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [3, 1]
Position [725, 84, 740, 166]
ShowName off
Inputs "|+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum4"
Ports [3, 1]
Position [725, 214, 740, 296]
ShowName off
Inputs "|+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum5"
Ports [3, 1]
Position [730, 359, 745, 441]
ShowName off
Inputs "|+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Switch
Name "Switch"
Position [495, 97, 530, 183]
InputSameDT off
Port {
PortNumber 1
Name "Vao"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Switch
Name "Switch1"
Position [495, 227, 530, 313]
InputSameDT off
Port {
PortNumber 1
Name "Vbo"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Switch
Name "Switch2"
Position [495, 382, 530, 468]
InputSameDT off
}
Block {
BlockType Outport
Name "Van"
Position [795, 128, 825, 142]
}
Block {
BlockType Outport
Name "Vbn"
Position [795, 248, 825, 262]
Port "2"
}
Block {
BlockType Outport
Name "Vcn"
Position [800, 393, 830, 407]
Port "3"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [30, 0; 0, 25]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [30, 0; 0, -10]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "In3"
SrcPort 1
Points [30, 0; 0, 10]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "In4"
SrcPort 1
Points [25, 0; 0, -10]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "In5"
SrcPort 1
Points [30, 0; 0, 5]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "In6"
SrcPort 1
Points [25, 0; 0, -10]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay2"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [15, 0; 0, -5]
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [95, 0; 0, 95]
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Switch"
DstPort 1
}
Branch {
Points [0, 130]
Branch {
Points [0, 155]
DstBlock "Switch2"
DstPort 1
}
Branch {
DstBlock "Switch1"
DstPort 1
}
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, 0; 50, 0]
Branch {
DstBlock "Switch"
DstPort 3
}
Branch {
Points [0, 130]
Branch {
Points [0, 155]
DstBlock "Switch2"
DstPort 3
}
Branch {
DstBlock "Switch1"
DstPort 3
}
}
}
Line {
Name "Vao"
Labels [0, 0]
SrcBlock "Switch"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
Points [0, -25]
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Gain1"
DstPort 1
}
}
Line {
Name "Vbo"
Labels [0, 0]
SrcBlock "Switch1"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
Points [0, -25]
DstBlock "Gain3"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "Switch2"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
Points [0, -35]
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Gain5"
DstPort 1
}
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [0, 10]
DstBlock "Van"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "Vbn"
DstPort 1
}
Line {
SrcBlock "Sum5"
SrcPort 1
DstBlock "Vcn"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [0, -170]
DstBlock "Sum3"
DstPort 2
}
Branch {
Points [0, 105]
DstBlock "Sum5"
DstPort 2
}
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [40, 0; 0, -165]
Branch {
Points [0, -130]
DstBlock "Sum3"
DstPort 3
}
Branch {
DstBlock "Sum4"
DstPort 3
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [15, 0; 0, 95]
Branch {
DstBlock "Sum4"
DstPort 2
}
Branch {
Points [0, 165]
DstBlock "Sum5"
DstPort 3
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum5"
DstPort 1
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [80, 0; 0, 130]
DstBlock "Switch1"
DstPort 2
}
Line {
SrcBlock "Relay2"
SrcPort 1
Points [30, 0; 0, 200]
DstBlock "Switch2"
DstPort 2
}
Annotation {
Name "Vco"
Position [543, 430]
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [4, 2]
Position [475, 415, 540, 520]
Orientation "left"
NamePlacement "alternate"
TreatAsAtomicUnit off
System {
Name "Subsystem1"
Location [520, 158, 975, 314]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ia"
Position [30, 28, 60, 42]
}
Block {
BlockType Inport
Name "ib"
Position [30, 63, 60, 77]
Port "2"
}
Block {
BlockType Inport
Name "ic"
Position [25, 103, 55, 117]
Port "3"
}
Block {
BlockType Inport
Name "teta"
Position [185, 118, 215, 132]
Port "4"
}
Block {
BlockType SubSystem
Name "VR"
Ports [3, 2]
Position [260, 54, 360, 96]
TreatAsAtomicUnit off
System {
Name "VR"
Location [433, 403, 931, 723]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 43, 45, 57]
}
Block {
BlockType Inport
Name "In2"
Position [15, 108, 45, 122]
Port "2"
}
Block {
BlockType Inport
Name "In3"
Position [15, 168, 45, 182]
Port "3"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [195, 21, 240, 54]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [200, 81, 245, 114]
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [270, 141, 315, 174]
InputSameDT off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [275, 196, 320, 229]
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [345, 26, 380, 84]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [350, 152, 380, 208]
ShowName off
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [95, 140, 125, 170]
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [95, 215, 125, 245]
}
Block {
BlockType Outport
Name "Out1"
Position [425, 48, 455, 62]
}
Block {
BlockType Outport
Name "Out2"
Position [425, 168, 455, 182]
Port "2"
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [5, 0; 0, -30]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [5, 0; 0, 10]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [40, 0; 0, -25]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "In2"
SrcPort 1
Points [75, 0; 0, -35; 15, 0]
Branch {
Points [0, 140]
DstBlock "Product3"
DstPort 2
}
Branch {
Points [45, 0]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [55, 0; 0, -65]
Branch {
DstBlock "Product2"
DstPort 2
}
Branch {
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [40, 0; 0, 15]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 50]
DstBlock "Product3"
DstPort
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -