📄 wndlib2.mdl
字号:
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "y = K*u"
DstPort 1
}
Line {
SrcBlock "V"
SrcPort 1
DstBlock "b0(V)"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "b1"
Ports [2, 1, 0, 0, 0]
Position [355, 175, 410, 210]
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 "b1"
Location [4, 42, 439, 163]
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_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 "0"
}
Line {
SrcBlock "b0(V)"
SrcPort 1
Points [35, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
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
}
}
}
Block {
BlockType SubSystem
Name "b1 "
Ports [2, 1, 0, 0, 0]
Position [355, 70, 410, 105]
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 "b1 "
Location [4, 42, 445, 158]
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_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 "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 [155, 239, 185, 271]
FontName "Arial"
ShowName off
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]
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 [5, 5, 150, 50]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp vdryd2"
ShowPortLabels off
MaskDisplay "disp('Lateral Dryden filter\\n(coefficients "
"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 "vg"
Position [490, 235, 510, 255]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "vg dot"
Position [490, 85, 510, 105]
DropShadow on
FontName "Arial"
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "V"
SrcPort 1
Points [155, 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 "White 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]
FontName "Arial"
ShowName off
ShowPortLabels off
MaskType "wdryd1"
MaskDescription "Vertical Dryden filter\nV=const"
MaskHelp "eval('fdchelp wdryd1')"
MaskPromptString "Scale length Lwg [m]:|Standard deviation "
"sigma_wg [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('Vertical\\nDryden filter\\nV=const')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
MaskValueString "150|1|45"
System {
Name "wdryd1 "
Location [7, 43, 328, 249]
Open off
ScreenColor white
Block {
BlockType RandomNumber
Name "White Noise"
Position [30, 70, 50, 90]
FontName "Arial"
Mean "0"
Variance "1"
Seed "20"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [10, 5, 150, 40]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp wdryd1"
ShowPortLabels off
MaskDisplay "disp('Vertical Dryden filter\\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 TransferFcn
Name "tf"
Position [105, 60, 215, 100]
FontName "Arial"
ShowName off
Numerator "[b1 b0]"
Denominator "[1 a1 a0]"
}
Block {
BlockType TransferFcn
Name "tf1"
Position [105, 110, 215, 150]
FontName "Arial"
ShowName off
Numerator "[b1 b0 0]"
Denominator "[1 a1 a0]"
}
Block {
BlockType Outport
Name "wg"
Position [255, 70, 275, 90]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "wg dot"
Position [255, 120, 275, 140]
DropShadow on
FontName "Arial"
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "tf"
SrcPort 1
DstBlock "wg"
DstPort 1
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -