📄 dtc0319.mdl
字号:
LatchInput off
}
Block {
BlockType Inport
Name "cia"
Position [25, 103, 55, 117]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "ib"
Position [25, 73, 55, 87]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "cib"
Position [25, 148, 55, 162]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain2"
Position [310, 50, 340, 80]
Gain "2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [165, 72, 195, 103]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [170, 27, 200, 58]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [250, 43, 270, 87]
ShowName off
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Te"
Position [385, 63, 415, 77]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "cia"
SrcPort 1
Points [70, 0; 0, -15]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, 5]
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "ib"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "ia"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "cib"
SrcPort 1
Points [45, 0; 0, -105]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [15, 0; 0, 20]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [15, 0; 0, -10]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [460, 45, 480, 65]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Scope
Name "Te"
Ports [1]
Position [755, 157, 775, 183]
Location [5, 56, 1029, 741]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "10"
YMax "40"
SaveToWorkspace on
SaveName "Te"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Te*"
Ports [1]
Position [560, 510, 580, 540]
Orientation "down"
NamePlacement "alternate"
Location [6, 70, 598, 529]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "28.495"
YMax "28.58"
SaveToWorkspace on
SaveName "Tee"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Reference
Name "Three-Phase\nV-I Measurement"
Ports [0, 2, 0, 0, 0, 3, 3]
Position [265, 93, 305, 167]
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem"
"ent"
SourceType "Three-Phase VI Measurement"
ShowPortLabels on
VoltageMeasurement "phase-to-ground"
SetLabelV off
LabelV "Vabc"
Vpu off
Vbase "500e3"
CurrentMeasurement "yes"
SetLabelI off
LabelI "Iabc"
Ipu off
Pbase "100e6"
OutputType "Complex"
PhasorSimulation off
PSBequivalent "0"
}
Block {
BlockType Scope
Name "Tm"
Ports [1]
Position [560, 27, 580, 53]
Location [5, 56, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "25"
YMax "35.5"
SaveToWorkspace on
SaveName "Tm"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Reference
Name "Universal Bridge"
Ports [1, 0, 0, 0, 0, 3, 2]
Position [165, 71, 220, 164]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
ShowPortLabels on
Arms "3"
SnubberResistance "1e5"
SnubberCapacitance "inf"
Device "Ideal Switches"
Ron "1e-3"
Lon "0"
ForwardVoltages "[ 0 0 ]"
ForwardVoltage "0"
GTOparameters "[ 10e-6 , 20e-6 ]"
IGBTparameters "[ 1e-6 , 2e-6 ]"
Measurements "None"
}
Block {
BlockType Reference
Name "XY Graph1"
Ports [2]
Position [605, 235, 635, 270]
SourceBlock "simulink/Sinks/XY Graph"
SourceType "XY scope."
ShowPortLabels on
xmin "-1.5"
xmax "1.5"
ymin "-1.5"
ymax "1.5"
st "-1"
}
Block {
BlockType Scope
Name "ia"
Ports [1]
Position [785, 54, 815, 86]
Location [369, 175, 961, 634]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-22.5"
YMax "22.5"
SaveToWorkspace on
SaveName "ia"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Constant
Name "n"
Position [415, 460, 445, 480]
Value "1000"
}
Block {
BlockType SubSystem
Name "pi"
Ports [2, 1]
Position [490, 455, 530, 515]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "pi"
Location [2, 82, 1014, 722]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "n*"
Position [305, 243, 335, 257]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "n"
Position [305, 283, 335, 297]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain"
Position [455, 197, 490, 233]
Gain "0.1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [440, 260, 470, 290]
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [505, 260, 525, 290]
IgnoreLimit off
}
Block {
BlockType Saturate
Name "Saturation"
Position [580, 225, 610, 255]
UpperLimit "40"
LowerLimit "-40"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [355, 230, 375, 250]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [535, 230, 555, 250]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Te*"
Position [675, 233, 705, 247]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [0, -25]
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [10, 0; 0, 25]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [15, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Te*"
DstPort 1
}
Line {
SrcBlock "n*"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "n"
SrcPort 1
Points [20, 0]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType Step
Name "w"
Position [300, 455, 330, 485]
Time "2"
Before "1000"
After "200"
SampleTime "0"
}
Block {
BlockType Gain
Name "w2n"
Position [805, 124, 830, 156]
Gain "9.55"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Scope
Name "wm"
Ports [1]
Position [895, 79, 925, 111]
Location [294, 249, 886, 708]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "915"
YMax "1010"
SaveToWorkspace on
SaveName "wm"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Line {
LineType "Connection"
Points [65, 160; 0, 5; 0, 70]
DstBlock "Ground"
DstPort LConn1
Branch {
ConnectType "SRC_SRC"
DstBlock "DC "
DstPort LConn1
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "Universal Bridge"
SrcPort RConn2
Points [0, 20; -85, 0]
}
}
Line {
LineType "Connection"
SrcBlock "Universal Bridge"
SrcPort LConn1
DstBlock "Three-Phase\nV-I Measurement"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Motor"
SrcPort LConn2
Points [0, 5]
DstBlock "Three-Phase\nV-I Measurement"
DstPort RConn2
}
Line {
LineType "Connection"
SrcBlock "Universal Bridge"
SrcPort LConn3
DstBlock "Three-Phase\nV-I Measurement"
DstPort LConn3
}
Line {
LineType "Connection"
SrcBlock "Universal Bridge"
SrcPort LConn2
DstBlock "Three-Phase\nV-I Measurement"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "Three-Phase\nV-I Measurement"
SrcPort RConn3
Points [0, 10]
Dst
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -