📄 untitled3.mdl
字号:
Points [15, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Bus\nCreator3"
SrcPort 1
DstBlock "Terminator_1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Speed reference"
Ports [0, 1]
Position [75, 151, 140, 169]
NamePlacement "alternate"
FontSize 12
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Speed reference"
Location [664, 452, 898, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Reference
Name "Timer"
Ports [0, 1]
Position [45, 16, 90, 54]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Control \nBlocks/Timer"
SourceType "Timer"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
t "[0 1]"
e "[500 0]"
}
Block {
BlockType Outport
Name " "
Position [160, 28, 190, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Timer"
SrcPort 1
DstBlock " "
DstPort 1
}
}
}
Block {
BlockType Step
Name "Step1"
Position [350, 60, 380, 90]
Time "0.05"
Before "20"
After "0"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [4, 1]
Position [520, 67, 590, 263]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem"
Location [251, 130, 1240, 653]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Torque*"
Position [25, 38, 55, 52]
FontSize 12
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "I_ab"
Position [15, 138, 45, 152]
FontSize 12
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Flux*"
Position [25, 83, 55, 97]
FontSize 12
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "V_abc"
Position [15, 213, 45, 227]
FontSize 12
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [855, 390, 945, 420]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [805, 455, 895, 485]
Decimation "1"
Lockdown off
}
Block {
BlockType SubSystem
Name "Flux & Torque hysteresis"
Ports [4, 2]
Position [280, 16, 380, 189]
NamePlacement "alternate"
FontSize 12
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Flux & Torque hysteresis"
Location [374, 204, 1005, 476]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Torque*"
Position [30, 38, 60, 52]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Flux*"
Position [30, 198, 60, 212]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Torque"
Position [30, 78, 60, 92]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Flux"
Position [30, 228, 60, 242]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Relay
Name "-dTe/2"
Position [190, 85, 220, 115]
OnSwitchValue "0"
OffSwitchValue "-1"
OnOutputValue "0"
OffOutputValue "3"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion5"
Position [350, 136, 385, 164]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Gain
Name "Gain"
Position [405, 135, 425, 165]
ShowName off
Gain "2"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [300, 132, 330, 163]
ShowName off
Operator "NOR"
AllPortsSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [130, 40, 150, 60]
ShowName off
IconShape "round"
Inputs "|+-"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [125, 195, 145, 215]
ShowName off
IconShape "round"
Inputs "|+-"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [455, 22, 470, 178]
ShowName off
Inputs "+++"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Relay
Name "dPhi"
Position [245, 190, 275, 220]
OnSwitchValue "0.01"
OffSwitchValue "-0.01"
OffOutputValue "2"
}
Block {
BlockType Relay
Name "dTe/2"
Position [190, 35, 220, 65]
OnSwitchValue "1"
OffSwitchValue "0"
}
Block {
BlockType Outport
Name "H_phi"
Position [510, 198, 540, 212]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "H_Te"
Position [505, 93, 535, 107]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Data Type Conversion5"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "H_Te"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Data Type Conversion5"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 50]
DstBlock "-dTe/2"
DstPort 1
}
Branch {
DstBlock "dTe/2"
DstPort 1
}
}
Line {
SrcBlock "dTe/2"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "Sum2"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Logical\nOperator"
DstPort 1
}
}
Line {
SrcBlock "-dTe/2"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Sum2"
DstPort 2
}
Branch {
Points [0, 0; 0, 55]
DstBlock "Logical\nOperator"
DstPort 2
}
}
Line {
SrcBlock "dPhi"
SrcPort 1
DstBlock "H_phi"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "dPhi"
DstPort 1
}
Line {
SrcBlock "Flux"
SrcPort 1
Points [70, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Flux*"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Torque"
SrcPort 1
Points [75, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Torque*"
SrcPort 1
Points [0, 5]
DstBlock "Sum"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Flux sector seeker"
Ports [1, 1]
Position [275, 209, 375, 251]
FontSize 12
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Flux sector seeker"
Location [433, 403, 715, 510]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Flux_angle"
Position [35, 43, 65, 57]
IconDisplay "Port number"
}
Block {
BlockType SubSystem
Name "a_b_vector_sector"
Ports [1, 1]
Position [90, 24, 170, 76]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "a_b_vector_sector"
Location [392, 188, 1011, 622]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "angle"
Position [15, 13, 45, 27]
IconDisplay "Port number"
}
Block {
BlockType C
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -