📄 wndlib2.mdl
字号:
}
Block {
BlockType Fcn
Name "b0(V)"
Position [80, 25, 305, 45]
ForegroundColor "magenta"
FontName "Arial"
Expr "sigma_vg*sqrt(3*Lvg/u[1])*(u[1]/Lvg)"
}
Block {
BlockType Outport
Name "y = K*u"
Position [400, 50, 420, 70]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "b0(V)"
SrcPort 1
Points [35, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "input u"
SrcPort 1
Points [305, 0; 0, -15]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "y = K*u"
DstPort 1
}
Line {
SrcBlock "V"
SrcPort 1
DstBlock "b0(V)"
DstPort 1
}
}
}
Block {
BlockType Integrator
Name "int"
Ports [1, 1, 0, 0, 0]
Position [155, 239, 185, 271]
ShowName off
FontName "Arial"
FontSize 11
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "int1"
Ports [1, 1, 0, 0, 0]
Position [250, 239, 280, 271]
ShowName off
FontName "Arial"
FontSize 11
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [5, 5, 150, 50]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse vdryd2"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('Lateral Dryden filter\\n(coefficients"
" vary with V)\\nMarc Rauw, 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 Outport
Name "vg"
Position [495, 238, 525, 252]
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "vg dot"
Position [495, 88, 525, 102]
FontSize 11
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "V"
SrcPort 1
Points [140, 0]
Branch {
Points [0, 210]
Branch {
DstBlock "a1"
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "a0"
DstPort 1
}
}
Branch {
Points [130, 0]
Branch {
Points [0, 50]
Branch {
Points [0, 55]
Branch {
DstBlock "b1"
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "b0"
DstPort 1
}
}
Branch {
DstBlock "b0 "
DstPort 1
}
}
Branch {
DstBlock "b1 "
DstPort 1
}
}
}
Line {
SrcBlock "Band-Limited\nWhite Noise"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "int1"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 105]
DstBlock "a0"
DstPort 2
}
Branch {
DstBlock "b0"
DstPort 2
}
}
Line {
SrcBlock "a0"
SrcPort 1
Points [-50, 0; 0, -100]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "a1"
SrcPort 1
Points [-40, 0; 0, -35]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "b1"
SrcPort 1
Points [20, 0; 0, 45]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "b0"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "vg"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "vg dot"
DstPort 1
}
Line {
SrcBlock "b1 "
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "b0 "
SrcPort 1
Points [20, 0; 0, -40]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -160]
DstBlock "b1 "
DstPort 2
}
Branch {
DstBlock "int"
DstPort 1
}
}
Line {
SrcBlock "int"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 50]
DstBlock "a1"
DstPort 2
}
Branch {
Points [0, -55]
Branch {
Points [0, -55]
DstBlock "b0 "
DstPort 2
}
Branch {
DstBlock "b1"
DstPort 2
}
}
Branch {
DstBlock "int1"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "wdryd1 "
Ports [0, 2, 0, 0, 0]
Position [195, 143, 270, 187]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "wdryd1"
MaskDescription "Vertical Dryden filter\nV=const"
MaskHelp "eval('browse wdryd1')"
MaskPromptString "Scale length Lwg [m]:|Standard deviation sigma_"
"wg [m/s]:|True airspeed [m/s]:"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskInitialization "VL=@3/@1; a0=VL^2; a1=2*VL; b0=@2*sqrt(1/VL)*VL"
"^2; b1=@2*sqrt(3/VL)*VL;"
MaskDisplay "disp('Vertical\\nDryden filter\\nV=const')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "150|1|45"
System {
Name "wdryd1 "
Location [15, 51, 322, 217]
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 [25, 65, 55, 95]
FontName "Arial"
FontSize 11
SourceBlock "simulink3/Sources/Band-Limited\nWhite Noise"
SourceType "Continuous White Noise."
Cov "[1]"
Ts "0.1"
seed "[23343]"
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [10, 5, 150, 40]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse wdryd1"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('Vertical Dryden filter\\nMarc Rauw, A"
"pril 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 [105, 60, 215, 100]
ShowName off
FontName "Arial"
FontSize 11
Numerator "[b1 b0]"
Denominator "[1 a1 a0]"
}
Block {
BlockType TransferFcn
Name "tf1"
Position [105, 110, 215, 150]
ShowName off
FontName "Arial"
FontSize 11
Numerator "[b1 b0 0]"
Denominator "[1 a1 a0]"
}
Block {
BlockType Outport
Name "wg"
Position [255, 73, 285, 87]
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "wg dot"
Position [255, 123, 285, 137]
FontSize 11
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "tf"
SrcPort 1
DstBlock "wg"
DstPort 1
}
Line {
SrcBlock "tf1"
SrcPort 1
DstBlock "wg 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
}
}
}
}
Block {
BlockType SubSystem
Name "wdryd2 "
Ports [1, 2, 0, 0, 0]
Position [195, 338, 270, 382]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "wdryd2"
MaskDescription "Vertical Dryden filter with \ncoefficients whic"
"h vary with V"
MaskHelp "eval('browse wdryd2')"
MaskPromptString "Scale length Lwg [m]:|Standard deviation sigma_"
"wg [m/s]:"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskVariables "Lwg=@1;sigma_wg=@2;"
MaskDisplay "disp('Vertical\\nDryden filter\\nV~=const')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "150|1"
System {
Name "wdryd2 "
Location [12, 50, 561, 446]
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, 78, 55, 92]
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, 235, 55, 265]
FontName "Arial"
FontSize 11
SourceBlock "simulink3/Sources/Band-Limited\nWhite Noise"
SourceType "Continuous White Noise."
Cov "[1]"
Ts "0.1"
seed "[23346]"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1, 0, 0, 0]
Position [110, 242, 125, 278]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "+--"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -