📄 m6_4_5.mdl
字号:
Block {
BlockType Reference
Name "DC_Motor"
Ports [3, 3]
Position [640, 100, 730, 190]
SourceBlock "powerlib2/Machines/DC Machine"
SourceType "DC machine"
RLa "[ 0.6 0.012]"
RLf "[ 240 120]"
Laf "1.8"
J "1"
Bm "0"
Tf "0"
w0 "1"
PSBOutputType "110"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 5]
Position [790, 136, 835, 214]
ShowName off
Outputs "5"
}
Block {
BlockType Gain
Name "Gain"
Position [395, 112, 415, 138]
Gain "-1"
}
Block {
BlockType Gain
Name "Gain1"
Position [150, 113, 170, 137]
Gain "-1"
}
Block {
BlockType Gain
Name "Gain2"
Position [380, 180, 410, 210]
Orientation "up"
Gain "100"
}
Block {
BlockType Gain
Name "Gain4"
Position [395, 67, 415, 93]
Gain "-1"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [190, 115, 210, 135]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [210, 70, 230, 90]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [345, 115, 365, 135]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [345, 70, 365, 90]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum4"
Ports [3, 1]
Position [60, 215, 80, 235]
ShowName off
IconShape "round"
Inputs "|+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [100, 240, 120, 260]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Terminator
Name "Terminator"
Position [875, 173, 890, 187]
ShowName off
}
Block {
BlockType Reference
Name "w(rad\\s) versus Ia (A)"
Ports [2]
Position [905, 92, 935, 123]
BackgroundColor "green"
NamePlacement "alternate"
SourceBlock "simulink/Sinks/XY Graph"
SourceType "XY scope."
xmin "0"
xmax "40"
ymin "0"
ymax "140"
st "-1"
}
Block {
BlockType Gain
Name "电流反馈"
Position [270, 225, 300, 255]
Orientation "left"
NamePlacement "alternate"
Gain "0.1"
}
Block {
BlockType Constant
Name "负载"
Position [575, 160, 605, 190]
Value "50"
}
Block {
BlockType Step
Name "阶跃1"
Position [15, 185, 35, 205]
SampleTime "0"
}
Block {
BlockType Step
Name "阶跃2"
Position [15, 225, 35, 245]
SampleTime "0"
}
Block {
BlockType Step
Name "阶跃3"
Position [15, 265, 35, 285]
SampleTime "0"
}
Block {
BlockType Reference
Name "励磁电源"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [670, 50, 705, 80]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "240"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Constant
Name "偏置"
Position [317, 40, 343, 55]
Orientation "down"
NamePlacement "alternate"
Value "50"
}
Block {
BlockType Constant
Name "偏置1"
Position [337, 155, 363, 170]
Orientation "up"
Value "50"
}
Block {
BlockType Reference
Name "平波电抗器"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [550, 15, 610, 35]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "0"
b "5e-03"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Scope
Name "示波器"
Ports [4]
Position [935, 126, 995, 254]
BackgroundColor "green"
Location [5, 60, 1029, 741]
Open off
NumInputPorts "4"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
TimeRange "5"
YMin "80~-5~-5~-5"
YMax "88~5~5~5"
SaveToWorkspace on
SaveName "w"
DataFormat "Array"
LimitDataPoints off
MaxDataPoints "500000"
}
Block {
BlockType Saturate
Name "限幅器"
Position [300, 68, 315, 92]
}
Block {
BlockType Saturate
Name "限幅器1"
Position [300, 113, 315, 137]
}
Block {
BlockType SubSystem
Name "主电路子系统"
Ports [5, 1]
Position [465, 82, 560, 208]
TreatAsAtomicUnit off
System {
Name "主电路子系统"
Location [2, 78, 1022, 717]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "正组触发"
Position [198, 305, 232, 325]
Orientation "up"
}
Block {
BlockType Inport
Name "反组触发"
Position [578, 315, 612, 335]
Orientation "up"
Port "2"
}
Block {
BlockType Inport
Name "Ui*"
Position [402, 420, 438, 440]
Orientation "up"
Port "3"
}
Block {
BlockType Inport
Name "uio"
Position [507, 415, 543, 435]
Orientation "up"
Port "4"
}
Block {
BlockType Inport
Name "load-in"
Position [377, 75, 403, 85]
Orientation "down"
NamePlacement "alternate"
Port "5"
}
Block {
BlockType Reference
Name "Bus Bar (thin vert)2"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 3]
Position [90, 40, 95, 140]
ShowName off
SourceBlock "powerlib2/Connectors/Bus Bar (thin vert)"
SourceType "Bus Bar"
input "1"
output "3"
PSBOutputType "1111111111111111111111111111111111111111111"
"11111111111111111111111111111111111111111"
}
Block {
BlockType SubSystem
Name "DLC子系统"
Ports [2, 2]
Position [439, 310, 501, 370]
Orientation "up"
TreatAsAtomicUnit off
System {
Name "DLC子系统"
Location [14, 82, 734, 417]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ui*"
Position [25, 38, 55, 52]
}
Block {
BlockType Inport
Name "Uio"
Position [30, 243, 60, 257]
Port "2"
}
Block {
BlockType Relay
Name "DPT"
Position [90, 30, 120, 60]
}
Block {
BlockType Relay
Name "DPZ"
Position [95, 235, 125, 265]
}
Block {
BlockType Gain
Name "比例1"
Position [380, 225, 410, 255]
NamePlacement "alternate"
}
Block {
BlockType Gain
Name "比例2"
Position [285, 111, 310, 129]
Orientation "left"
}
Block {
BlockType Gain
Name "比例3"
Position [355, 40, 385, 70]
}
Block {
BlockType Logic
Name "逻辑门1"
Ports [2, 1]
Position [155, 227, 185, 258]
Operator "NAND"
AllPortsSameDT off
}
Block {
BlockType Logic
Name "逻辑门2"
Ports [2, 1]
Position [155, 37, 185, 68]
Operator "NAND"
AllPortsSameDT off
}
Block {
BlockType Logic
Name "逻辑门3"
Ports [2, 1]
Position [250, 222, 280, 253]
Operator "NAND"
AllPortsSameDT off
}
Block {
BlockType Logic
Name "逻辑门4"
Ports [2, 1]
Position [240, 37, 270, 68]
Operator "NAND"
AllPortsSameDT off
}
Block {
BlockType Logic
Name "逻辑门5"
Ports [2, 1]
Position [525, 127, 555, 158]
Operator "NAND"
AllPortsSameDT off
}
Block {
BlockType Logic
Name "逻辑门6"
Ports [2, 1]
Position [585, 47, 615, 78]
AllPortsSameDT off
}
Block {
BlockType Logic
Name "逻辑门7"
Ports [2, 1]
Position [605, 217, 635, 248]
AllPortsSameDT off
}
Block {
BlockType Derivative
Name "微分1"
Position [325, 225, 355, 255]
}
Block {
BlockType Derivative
Name "微分2"
Position [305, 40, 335, 70]
}
Block {
BlockType Switch
Name "选择开关"
Position [166, 95, 194, 115]
Orientation "up"
InputSameDT off
}
Block {
BlockType Switch
Name "选择开关2"
Position [250, 160, 280, 190]
Orientation "down"
NamePlacement "alternate"
InputSameDT off
}
Block {
BlockType Switch
Name "选择开关3"
Position [455, 225, 485, 255]
InputSameDT off
}
Block {
BlockType Switch
Name "选择开关4"
Position [450, 40, 480, 70]
InputSameDT off
}
Block {
BlockType TransportDelay
Name "延时1"
Position [148, 160, 172, 185]
Orientation "up"
}
Block {
BlockType TransportDelay
Name "延时2"
Position [240, 110, 270, 140]
Orientation "down"
NamePlacement "alternate"
}
Block {
BlockType TransportDelay
Name "延时3"
Position [330, 280, 360, 310]
}
Block {
BlockType TransportDelay
Name "延时4"
Position [350, 85, 380, 115]
}
Block {
BlockType Outport
Name "Ublf"
Position [655, 58, 685, 72]
}
Block {
BlockType Outport
Name "Ublr"
Position [665, 228, 695, 242]
Port "2"
}
Line {
SrcBlock "Ui*"
SrcPort 1
DstBlock "DPT"
DstPort 1
}
Line {
SrcBlock "Uio"
SrcPort 1
DstBlock "DPZ"
DstPort 1
}
Line {
SrcBlock "DPT"
SrcPort 1
DstBlock "逻辑门2"
DstPort 1
}
Line {
SrcBlock "逻辑门2"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [10, 0; 0, -10]
DstBlock "逻辑门4"
DstPort 1
}
Branch {
Points [0, 30; -55, 0]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -