📄 wndlib2.mdl
字号:
DstPort 1
}
Line {
SrcBlock "White Noise"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 50]
DstBlock "tf1"
DstPort 1
}
Branch {
DstBlock "tf"
DstPort 1
}
}
Line {
SrcBlock "tf"
SrcPort 1
DstBlock "ug"
DstPort 1
}
Annotation {
Position [571, 112]
VerticalAlignment top
FontName "Arial"
Text "."
}
}
}
Block {
BlockType SubSystem
Name "udryd2 "
Ports [1, 2, 0, 0, 0]
Position [195, 239, 270, 281]
FontName "Arial"
ShowName off
ShowPortLabels off
MaskType "udryd2"
MaskDescription "Longitudinal Dryden filter with\ncoefficients "
"which vary with V"
MaskHelp "eval('fdchelp udryd2')"
MaskPromptString "Scale length Lug [m]:|Standard deviation "
"sigma_ug [m/s]:"
MaskStyleString "edit,edit"
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 [6, 44, 415, 321]
Open off
ScreenColor white
Block {
BlockType Inport
Name "V"
Position [30, 70, 50, 90]
ForegroundColor magenta
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [100, 140, 115, 160]
FontName "Arial"
ShowName off
Inputs "+-"
}
Block {
BlockType RandomNumber
Name "White Noise"
Position [30, 135, 50, 155]
FontName "Arial"
Mean "0"
Variance "1"
Seed "0"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "a0"
Ports [2, 1, 0, 0, 0]
Position [125, 185, 175, 220]
Orientation left
FontName "Arial"
ShowPortLabels off
MaskDisplay "plot(0,0,100,100,[100,0,100],[0,50,100]);dis"
"p(' K(u1)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "a0"
Location [4, 42, 436, 157]
Open off
ScreenColor white
Block {
BlockType Inport
Name "V"
Position [15, 20, 35, 40]
ForegroundColor magenta
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "input u"
Position [15, 65, 35, 85]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [360, 45, 375, 65]
FontName "Arial"
ShowName off
Inputs "2"
}
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 "0"
}
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"
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
ScreenColor white
Block {
BlockType Inport
Name "V"
Position [15, 25, 35, 45]
ForegroundColor magenta
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "input u"
Position [15, 70, 35, 90]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [365, 50, 380, 70]
FontName "Arial"
ShowName off
Inputs "2"
}
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 "0"
}
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"
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
ScreenColor white
Block {
BlockType Inport
Name "V"
Position [15, 20, 35, 40]
ForegroundColor magenta
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "input u"
Position [15, 65, 35, 85]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [365, 45, 380, 65]
FontName "Arial"
ShowName off
Inputs "2"
}
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"
Position [400, 45, 420, 65]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
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 [160, 135, 185, 165]
FontName "Arial"
ShowName off
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 [10, 5, 155, 50]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp udryd2"
ShowPortLabels off
MaskDisplay "disp('Longitudinal Dryden filter\\n(coeffici"
"ents vary with V)\\nMarc Rauw, October "
"1997')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "t"
Location [99, 72, 274, 227]
Open off
ScreenColor white
}
}
Block {
BlockType Outport
Name "ug"
Position [345, 135, 365, 155]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "ug dot"
Position [345, 80, 365, 100]
DropShadow on
FontName "Arial"
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "b0"
SrcPort 1
DstBlock "ug"
DstPort 1
}
Line {
SrcBlock "int"
SrcPort 1
Points [35, 0]
Branch {
Points [0, 60]
DstBlock "a0"
DstPort 2
}
Branch {
DstBlock "b0"
DstPort 2
}
}
Line {
SrcBlock "a0"
SrcPort 1
Points [-35, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "White Noise"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -50]
DstBlock "b0 "
DstPort 2
}
Branch {
DstBlock "int"
DstPort 1
}
}
Line {
SrcBlock "V"
SrcPort 1
Points [155, 0]
Branch {
Points [0, 55]
Branch {
DstBlock "b0"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "a0"
DstPort 1
}
}
Branch {
DstBlock "b0 "
DstPort 1
}
}
Line {
SrcBlock "b0 "
SrcPort 1
DstBlock "ug dot"
DstPort 1
}
Annotation {
Position [546, 97]
VerticalAlignment top
FontName "Arial"
Text "`"
}
}
}
Block {
BlockType SubSystem
Name "vdryd1 "
Ports [0, 2, 0, 0, 0]
Position [195, 94, 270, 136]
FontName "Arial"
ShowName off
ShowPortLabels off
MaskType "vdryd1"
MaskDescription "Lateral Dryden filter\nV=const"
MaskHelp "eval('fdchelp vdryd1')"
MaskPromptString "Scale length Lvg [m]:|Standard deviation "
"sigma_vg [m/s]:|True airspeed [m/s]:"
MaskStyleString "edit,edit,edit"
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('Lateral\\nDryden filter\\nV=const')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
MaskValueString "150|1|45"
System {
Name "vdryd1 "
Location [8, 44, 334, 237]
Open off
ScreenColor white
Block {
BlockType RandomNumber
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -