?? exm080435_1.mdl
字號:
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Integrator
Name "Int1"
Ports [1, 1]
Position [385, 70, 415, 100]
Port {
PortNumber 1
Name "x'"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Integrator
Name "Int2"
Ports [1, 1]
Position [460, 70, 490, 100]
Port {
PortNumber 1
Name "x"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Gain
Name "InvMass"
Position [310, 69, 355, 101]
NamePlacement "alternate"
Gain "0.01"
Port {
PortNumber 1
Name "x''"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType MinMax
Name "LowLim"
Ports [2, 1]
Position [180, 26, 205, 99]
Function "max"
Inputs "2"
Port {
PortNumber 1
Name " Fe"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Constant
Name "Max Brake"
Position [125, 35, 160, 55]
Value "Fmin"
}
Block {
BlockType Constant
Name "Max Thrust"
Position [25, 46, 60, 64]
Value "Fmax"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [400, 124, 405, 151]
Orientation "left"
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [255, 53, 275, 117]
ShowName off
Inputs "+--"
}
Block {
BlockType MinMax
Name "UpLim"
Ports [2, 1]
Position [90, 34, 115, 121]
Function "min"
Inputs "2"
}
Block {
BlockType Outport
Name "SaOut"
Position [420, 35, 450, 50]
Orientation "up"
}
Line {
SrcBlock "Max Thrust"
SrcPort 1
DstBlock "UpLim"
DstPort 1
}
Line {
SrcBlock "UpLim"
SrcPort 1
DstBlock "LowLim"
DstPort 2
}
Line {
SrcBlock "Max Brake"
SrcPort 1
DstBlock "LowLim"
DstPort 1
}
Line {
Name " Fe"
Labels [1, 0]
SrcBlock "LowLim"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "InvMass"
DstPort 1
}
Line {
Name "x''"
Labels [-1, 1]
SrcBlock "InvMass"
SrcPort 1
DstBlock "Int1"
DstPort 1
}
Line {
Name "x'"
Labels [1, 0]
SrcBlock "Int1"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 45]
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Int2"
DstPort 1
}
Branch {
DstBlock "SaOut"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "FW"
DstPort 1
}
Line {
Name "Fw"
Labels [-1, 1]
SrcBlock "FW"
SrcPort 1
Points [-55, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
Name "Fh"
Labels [3, 0]
SrcBlock "FH"
SrcPort 1
Points [-150, 0; 0, -100]
DstBlock "Sum1"
DstPort 2
}
Line {
Name "x"
Labels [1, 0]
SrcBlock "Int2"
SrcPort 1
Points [10, 0; 0, 100]
DstBlock "FH"
DstPort 1
}
Line {
SrcBlock "ClockIn"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "FcIn"
SrcPort 1
DstBlock "UpLim"
DstPort 2
}
Annotation {
Name "Sum1"
Position [263, 47]
}
Annotation {
Name "Mux"
Position [401, 158]
}
}
}
Block {
BlockType Clock
Name "Clock"
Position [400, 255, 420, 275]
Orientation "left"
Decimation "10"
}
Block {
BlockType Constant
Name "Constant"
Position [125, 219, 165, 241]
Orientation "left"
NamePlacement "alternate"
}
Block {
BlockType Reference
Name "DesiredSpeed "
Ports [1, 1]
Position [40, 220, 105, 240]
Orientation "left"
NamePlacement "alternate"
SourceBlock "simulink/Math\nOperations/Slider\nGain"
SourceType "Slider Gain"
low "0"
gain "90"
high "100"
Port {
PortNumber 1
Name "x'c"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Logic
Name "LogicInverse"
Ports [1, 1]
Position [135, 150, 165, 170]
Orientation "down"
NamePlacement "alternate"
Operator "NOT"
Inputs "1"
}
Block {
BlockType Merge
Name "Merge"
Ports [2, 1]
Position [280, 65, 315, 100]
InitialOutput "0"
}
Block {
BlockType SubSystem
Name "Model Selector"
Ports [2, 3]
Position [45, 80, 135, 130]
TreatAsAtomicUnit off
System {
Name "Model Selector"
Location [35, 74, 562, 319]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "SaIn -"
Position [15, 98, 45, 112]
}
Block {
BlockType Inport
Name "ScIn +"
Position [15, 133, 45, 147]
Port "2"
}
Block {
BlockType Abs
Name "Abs"
Position [110, 116, 140, 134]
}
Block {
BlockType Abs
Name "Abs1"
Position [180, 170, 210, 190]
}
Block {
BlockType Derivative
Name "Derivative"
Position [110, 170, 140, 190]
}
Block {
BlockType Logic
Name "Logic1"
Ports [2, 1]
Position [285, 147, 315, 178]
}
Block {
BlockType Logic
Name "Logic2"
Ports [2, 1]
Position [285, 57, 315, 88]
}
Block {
BlockType Logic
Name "Logic3"
Ports [2, 1]
Position [355, 92, 375, 128]
Operator "OR"
}
Block {
BlockType Logic
Name "Logic4"
Ports [1, 1]
Position [405, 54, 435, 76]
Operator "NOT"
}
Block {
BlockType Memory
Name "Memory"
Position [325, 25, 355, 55]
Orientation "left"
InheritSampleTime on
}
Block {
BlockType Constant
Name "PI DVmax"
Position [150, 206, 175, 224]
}
Block {
BlockType Constant
Name "PI Vmax1"
Position [150, 131, 175, 149]
Value "2"
}
Block {
BlockType Constant
Name "PI Vmax2"
Position [150, 61, 175, 79]
Value "5"
}
Block {
BlockType RelationalOperator
Name "RDV"
Position [230, 173, 255, 202]
Operator "<="
}
Block {
BlockType RelationalOperator
Name "RV1"
Position [230, 117, 255, 148]
Operator "<="
}
Block {
BlockType RelationalOperator
Name "RV2"
Position [230, 61, 255, 94]
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [65, 89, 80, 156]
ShowName off
Inputs "-+"
}
Block {
BlockType Outport
Name "Choose PI"
Position [455, 103, 485, 117]
}
Block {
BlockType Outport
Name "Serr"
Position [455, 13, 485, 27]
Port "2"
}
Block {
BlockType Outport
Name "Choose P"
Position [455, 58, 485, 72]
Port "3"
}
Line {
SrcBlock "PI Vmax1"
SrcPort 1
DstBlock "RV1"
DstPort 2
}
Line {
SrcBlock "Logic2"
SrcPort 1
Points [20, 0]
DstBlock "Logic3"
DstPort 1
}
Line {
SrcBlock "Logic1"
SrcPort 1
Points [20, 0]
DstBlock "Logic3"
DstPort 2
}
Line {
SrcBlock "Memory"
SrcPort 1
Points [-50, 0]
DstBlock "Logic2"
DstPort 1
}
Line {
SrcBlock "Logic3"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Choose PI"
DstPort 1
}
Branch {
Points [0, -45]
Branch {
Points [0, -25]
DstBlock "Memory"
DstPort 1
}
Branch {
DstBlock "Logic4"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -