📄 wndlib2.mdl
字号:
Block {
BlockType SubSystem
Name "udryd1 "
Ports [0, 2, 0, 0, 0]
Position [195, 44, 270, 86]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "udryd1"
MaskDescription "Longitudinal Dryden filter\nV=const"
MaskHelp "eval('browse udryd1')"
MaskPromptString "Scale length Lug [m]:|Standard deviation sigma_"
"ug [m/s]:|TAS [m/s]:"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskInitialization "K = @2*sqrt(2*@1/@3); tau = @1/@3;"
MaskDisplay "disp('Longitudinal\\nDryden filter\\nV=const')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "150|1|45"
System {
Name "udryd1 "
Location [17, 52, 311, 219]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Reference
Name "Band-Limited\nWhite Noise"
Ports [0, 1, 0, 0, 0]
Position [30, 65, 60, 95]
FontName "Arial"
FontSize 11
SourceBlock "simulink3/Sources/Band-Limited\nWhite Noise"
SourceType "Continuous White Noise."
Cov "[1]"
Ts "0.1"
seed "[23341]"
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [10, 5, 155, 40]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse udryd1"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('Longitudinal Dryden filter\\nMarc Rau"
"w, April 2003')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "t"
Location [99, 72, 274, 227]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType TransferFcn
Name "tf"
Position [125, 60, 195, 100]
ShowName off
FontName "Arial"
FontSize 11
Numerator "[K]"
Denominator "[tau 1]"
}
Block {
BlockType TransferFcn
Name "tf1"
Position [125, 110, 195, 150]
ShowName off
FontName "Arial"
FontSize 11
Numerator "[K 0]"
Denominator "[tau 1]"
}
Block {
BlockType Outport
Name "ug"
Position [245, 73, 275, 87]
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "ug dot"
Position [245, 123, 275, 137]
FontSize 11
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "tf1"
SrcPort 1
DstBlock "ug dot"
DstPort 1
}
Line {
SrcBlock "Band-Limited\nWhite Noise"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 50]
DstBlock "tf1"
DstPort 1
}
Branch {
DstBlock "tf"
DstPort 1
}
}
Line {
SrcBlock "tf"
SrcPort 1
DstBlock "ug"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "udryd2 "
Ports [1, 2, 0, 0, 0]
Position [195, 239, 270, 281]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "udryd2"
MaskDescription "Longitudinal Dryden filter with\ncoefficients w"
"hich vary with V"
MaskHelp "eval('browse udryd2')"
MaskPromptString "Scale length Lug [m]:|Standard deviation sigma_"
"ug [m/s]:"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskVariables "Lug=@1;sigma_ug=@2;"
MaskDisplay "disp('Longitudinal\\nDryden filter\\nV~=const')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "150|1"
System {
Name "udryd2 "
Location [18, 56, 408, 301]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "V"
Position [25, 73, 55, 87]
ForegroundColor "magenta"
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Reference
Name "Band-Limited\nWhite Noise"
Ports [0, 1, 0, 0, 0]
Position [25, 130, 55, 160]
FontName "Arial"
FontSize 11
SourceBlock "simulink3/Sources/Band-Limited\nWhite Noise"
SourceType "Continuous White Noise."
Cov "[1]"
Ts "0.1"
seed "[23344]"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [100, 140, 115, 160]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType SubSystem
Name "a0"
Ports [2, 1, 0, 0, 0]
Position [125, 185, 175, 220]
Orientation "left"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "plot(0,0,100,100,[100,0,100],[0,50,100]);di"
"sp(' K(u1)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "a0"
Location [4, 42, 436, 157]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "V"
Position [15, 20, 35, 40]
ForegroundColor "magenta"
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "input u"
Position [15, 65, 35, 85]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [360, 45, 375, 65]
ShowName off
FontName "Arial"
Inputs "2"
SaturateOnIntegerOverflow on
}
Block {
BlockType Fcn
Name "a0(V)"
Position [125, 20, 240, 40]
ForegroundColor "magenta"
FontName "Arial"
Expr "u[1]/Lug"
}
Block {
BlockType Outport
Name "y = K*u"
Position [395, 45, 415, 65]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "V"
SrcPort 1
DstBlock "a0(V)"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "y = K*u"
DstPort 1
}
Line {
SrcBlock "input u"
SrcPort 1
Points [300, 0; 0, -15]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "a0(V)"
SrcPort 1
Points [95, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "b0"
Ports [2, 1, 0, 0, 0]
Position [255, 125, 310, 160]
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "plot(0,0,100,100,[0,100,0],[0,50,100]);disp"
"('K(u1) ')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "b0"
Location [4, 42, 439, 148]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "V"
Position [15, 25, 35, 45]
ForegroundColor "magenta"
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "input u"
Position [15, 70, 35, 90]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [365, 50, 380, 70]
ShowName off
FontName "Arial"
Inputs "2"
SaturateOnIntegerOverflow on
}
Block {
BlockType Fcn
Name "b0(V)"
Position [80, 25, 305, 45]
ForegroundColor "magenta"
FontName "Arial"
Expr "sigma_ug*sqrt(2*u[1]/Lug)"
}
Block {
BlockType Outport
Name "y = K*u"
Position [400, 50, 420, 70]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "V"
SrcPort 1
DstBlock "b0(V)"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "y = K*u"
DstPort 1
}
Line {
SrcBlock "input u"
SrcPort 1
Points [305, 0; 0, -15]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "b0(V)"
SrcPort 1
Points [35, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "b0 "
Ports [2, 1, 0, 0, 0]
Position [255, 72, 310, 108]
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "plot(0,0,100,100,[0,100,0],[0,50,100]);disp"
"('K(u1) ')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "b0 "
Location [4, 42, 440, 154]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "V"
Position [15, 20, 35, 40]
ForegroundColor "magenta"
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "input u"
Position [15, 65, 35, 85]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [365, 45, 380, 65]
ShowName off
FontName "Arial"
Inputs "2"
SaturateOnIntegerOverflow on
}
Block {
BlockType Fcn
Name "b0(V)"
Position [80, 20, 305, 40]
ForegroundColor "magenta"
FontName "Arial"
Expr "sigma_ug*sqrt(2*u[1]/Lug)"
}
Block {
BlockType Outport
Name "y = K*u"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -