📄 hw_speedcurrentloop1.mdl
字号:
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "hw_speedcurrentloop1"
Location [48, 82, 900, 432]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType TransferFcn
Name "1/Ce"
Position [710, 67, 740, 113]
Denominator "[0.185]"
Port {
PortNumber 1
Name "n"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Reference
Name "ACR"
Ports [1, 1]
Position [360, 75, 390, 105]
SourceBlock "simulink_extras/Additional\nLinear/PID Controll"
"er"
SourceType "PID Controller"
ShowPortLabels on
P "1.24"
I "40"
D "0"
}
Block {
BlockType Reference
Name "ASR"
Ports [1, 1]
Position [165, 75, 195, 105]
SourceBlock "simulink_extras/Additional\nLinear/PID Controll"
"er"
SourceType "PID Controller"
ShowPortLabels on
P "60.5"
I "11.5"
D "0"
}
Block {
BlockType Constant
Name "Constant"
Position [470, 136, 500, 164]
Value "0"
}
Block {
BlockType Saturate
Name "Current\nSaturation"
Position [405, 75, 435, 105]
UpperLimit "20"
LowerLimit "0"
Port {
PortNumber 1
Name "Uct"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [175, 191, 180, 229]
ShowName off
Inputs "2"
DisplayOption "bar"
Port {
PortNumber 1
Name "Un*&Un"
PropagatedSignals "Un, Un*"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [330, 216, 335, 254]
ShowName off
Inputs "2"
DisplayOption "bar"
Port {
PortNumber 1
Name "Ui*&Ui"
PropagatedSignals "Ui*, Ui"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType TransferFcn
Name "R/tms"
Position [665, 68, 690, 112]
Numerator "[0.05]"
Denominator "[0.8 0]"
}
Block {
BlockType Scope
Name "Scope"
Ports [5]
Position [800, 198, 840, 322]
Location [113, 272, 475, 737]
Open off
NumInputPorts "5"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
}
TimeRange "20"
YMin "-20~0~0~0~-2000"
YMax "20~20~20~2000~2000"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [220, 274, 250, 306]
Location [106, 423, 430, 662]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "20"
YMin "-2.5"
YMax "0"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [595, 274, 625, 306]
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Saturate
Name "Speed\nSaturation"
Position [205, 75, 235, 105]
UpperLimit "10"
LowerLimit "-10"
}
Block {
BlockType Step
Name "Step"
Position [15, 75, 45, 105]
Time "0"
After "10"
SampleTime "0"
Port {
PortNumber 1
Name "Un*"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [120, 80, 140, 100]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [630, 80, 650, 100]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [325, 80, 345, 100]
ShowName off
IconShape "round"
Inputs "-+|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [525, 80, 545, 100]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [65, 71, 105, 109]
Denominator "[0.01 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [250, 70, 300, 110]
Denominator "[0.002 1]"
Port {
PortNumber 1
Name "Ui*"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [455, 69, 505, 111]
Numerator "[23]"
Denominator "[0.0017 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn3"
Position [560, 71, 610, 109]
Numerator "[1/0.05]"
Denominator "[0.025 1]"
Port {
PortNumber 1
Name "ia"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType TransferFcn
Name "Transfer Fcn6"
Position [470, 15, 525, 55]
Orientation "left"
NamePlacement "alternate"
Numerator "[0.0095]"
Denominator "[0.002 1]"
Port {
PortNumber 1
Name "Ui"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType TransferFcn
Name "Transfer Fcn7"
Position [370, 159, 410, 201]
Orientation "left"
NamePlacement "alternate"
Numerator "[0.01]"
Denominator "[0.01 1]"
Port {
PortNumber 1
Name "Un"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Line {
Name "Un*"
Labels [0, 1]
SrcBlock "Step"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Transfer Fcn"
DstPort 1
}
Branch {
Points [0, 130]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
Name "ia"
Labels [0, 0]
SrcBlock "Transfer Fcn3"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Sum1"
DstPort 1
}
Branch {
Points [0, -55]
Branch {
DstBlock "Transfer Fcn6"
DstPort 1
}
Branch {
Labels [2, 0]
Points [140, 0; 0, 250]
DstBlock "Scope"
DstPort 4
}
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "R/tms"
DstPort 1
}
Line {
SrcBlock "R/tms"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "1/Ce"
DstPort 1
}
Branch {
Points [0, 50; -160, 0]
DstBlock "Sum3"
DstPort 2
}
}
Line {
Name "n"
Labels [0, 0]
SrcBlock "1/Ce"
SrcPort 1
Points [0, 0]
Branch {
Labels [1, 0]
Points [0, 90]
DstBlock "Transfer Fcn7"
DstPort 1
}
Branch {
Labels [2, 0]
Points [25, 0; 0, 220]
DstBlock "Scope"
DstPort 5
}
}
Line {
Name "Ui"
SrcBlock "Transfer Fcn6"
SrcPort 1
Points [-130, 0]
Branch {
DstBlock "Sum2"
DstPort 1
}
Branch {
Labels [1, 1]
Points [-25, 0; 0, 210]
DstBlock "Mux2"
DstPort 2
}
}
Line {
Name "Un"
Labels [0, 0]
SrcBlock "Transfer Fcn7"
SrcPort 1
Points [30, 0; -265, 0]
Branch {
Labels [1, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
Points [0, 20]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [135, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Sum3"
DstPort 1
}
Branch {
Points [0, 200]
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Transfer Fcn3"
DstPort 1
}
Line {
SrcBlock "ASR"
SrcPort 1
DstBlock "Speed\nSaturation"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "ASR"
DstPort 1
}
Branch {
Points [0, 200]
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "ACR"
DstPort 1
}
Line {
SrcBlock "ACR"
SrcPort 1
DstBlock "Current\nSaturation"
DstPort 1
}
Line {
Name "Uct"
Labels [0, 1]
SrcBlock "Current\nSaturation"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Transfer Fcn2"
DstPort 1
}
Branch {
Labels [-1, 1]
Points [0, 170]
DstBlock "Scope"
DstPort 3
}
}
Line {
SrcBlock "Speed\nSaturation"
SrcPort 1
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
Name "Ui*"
SrcBlock "Transfer Fcn1"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Sum2"
DstPort 2
}
Branch {
Labels [1, 1]
Points [0, 135]
DstBlock "Mux2"
DstPort 1
}
}
Line {
Name "Un*&Un"
Labels [0, 0]
SrcBlock "Mux1"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
Name "Ui*&Ui"
Labels [0, 0]
SrcBlock "Mux2"
SrcPort 1
DstBlock "Scope"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -