📄 hsp.mdl
字号:
GotoTag "Vrv"
}
Block {
BlockType Product
Name "Product4"
Ports [3, 1]
Position [405, 84, 435, 116]
Orientation "left"
NamePlacement "alternate"
ShowName off
Inputs "3"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product5"
Ports [3, 1]
Position [165, 184, 195, 216]
Orientation "left"
NamePlacement "alternate"
ShowName off
Inputs "3"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [300, 29, 330, 61]
Orientation "left"
Floating off
Location [274, 301, 598, 540]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "45"
YMax "85"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "SubSystem1"
Ports [2, 1]
Position [555, 120, 580, 175]
Orientation "left"
NamePlacement "alternate"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "SubSystem1"
Location [174, 156, 672, 456]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "_"
Position [60, 63, 90, 77]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "+"
Position [60, 108, 90, 122]
Port "2"
Interpolate on
}
Block {
BlockType Saturate
Name "Saturation"
Position [230, 55, 260, 85]
UpperLimit "10000"
LowerLimit "0"
LinearizeAsGain on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [160, 57, 190, 113]
ShowName off
IconShape "rectangular"
Inputs "|-+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Out"
Position [305, 63, 335, 77]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "+"
SrcPort 1
Points [50, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "_"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [85, 90, 110, 125]
Orientation "left"
ShowName off
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [270, 225, 295, 260]
Orientation "left"
ShowName off
IconShape "rectangular"
Inputs "-+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Pmaxrv"
Position [15, 103, 45, 117]
Orientation "left"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Constant6"
SrcPort 1
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [-55, 0]
DstBlock "Product5"
DstPort 3
}
Line {
SrcBlock "Constant14"
SrcPort 1
DstBlock "Product5"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [-80, 0]
DstBlock "Product5"
DstPort 1
}
Line {
SrcBlock "Product5"
SrcPort 1
Points [-35, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Product4"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Pmaxrv"
DstPort 1
}
Line {
SrcBlock "From3"
SrcPort 1
Points [-165, 0]
DstBlock "Product4"
DstPort 1
}
Line {
SrcBlock "From2"
SrcPort 1
DstBlock "SubSystem1"
DstPort 2
}
Line {
SrcBlock "Constant13"
SrcPort 1
Points [-20, 0]
DstBlock "SubSystem1"
DstPort 1
}
Line {
SrcBlock "SubSystem1"
SrcPort 1
Points [-35, 0; 0, -50]
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "phi"
SrcPort 1
Points [-145, 0]
Branch {
Points [-160, 0]
DstBlock "Sum3"
DstPort 1
}
Branch {
Points [0, -110]
DstBlock "Product4"
DstPort 3
}
}
Line {
SrcBlock "From6"
SrcPort 1
Points [-10, 0]
Branch {
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, -115]
DstBlock "Scope"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "Rsp"
Ports [1, 1]
Position [785, 171, 865, 209]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Rsp"
Location [14, 84, 810, 580]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "fes"
Position [75, 88, 105, 102]
Port "1"
Interpolate on
}
Block {
BlockType Constant
Name "Constant"
Position [135, 169, 200, 201]
Value "fesmin-1"
VectorParams1D on
}
Block {
BlockType Constant
Name "Constant1"
Position [485, 159, 550, 191]
Value "initx(3)"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain"
Position [400, 79, 450, 111]
Gain "Gx(3)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [335, 80, 365, 110]
Operator "log"
OutputSignalType "auto"
}
Block {
BlockType Saturate
Name "Saturation"
Position [280, 80, 310, 110]
UpperLimit "inf"
LowerLimit "1"
LinearizeAsGain on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [230, 72, 255, 128]
ShowName off
IconShape "rectangular"
Inputs "|+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [595, 72, 620, 128]
ShowName off
IconShape "rectangular"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [485, 77, 545, 113]
Numerator "[1]"
Denominator "[toux(3) 1]"
Realization "auto"
AbsoluteTolerance "auto"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [150, 80, 180, 110]
DelayTime "Dx(3)"
InitialInput "0"
BufferSize "1024"
PadeOrder "0"
}
Block {
BlockType Outport
Name "Rsp"
Position [665, 88, 695, 102]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "fes"
SrcPort 1
DstBlock "Transport\nDelay"
DstPort 1
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [10, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Rsp"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [25, 0]
DstBlock "Sum1"
DstPort 2
}
}
}
Block {
BlockType Scope
Name "Scope10"
Ports [1]
Position [470, 574, 500, 606]
Floating off
Location [5, 58, 805, 601]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "0"
YMax "1"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope11"
Ports [1]
Position [445, 134, 475, 166]
Floating off
Location [5, 58, 805, 601]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "0"
YMax "150"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -