📄 gfc199a_yen.mdl
字号:
DstPort 1
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
Points [-10, 0; 0, -30]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 55]
DstBlock "Unit Delay1"
DstPort 1
}
Branch {
DstBlock "Zero-Order\nHold"
DstPort 1
}
}
Line {
SrcBlock "Abs"
SrcPort 1
Points [5, 0]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "Abs"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "Abs1"
DstPort 1
}
Line {
SrcBlock "Abs1"
SrcPort 1
Points [25, 0]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Constant3"
SrcPort 1
DstBlock "Abs2"
DstPort 1
}
Line {
SrcBlock "Abs2"
SrcPort 1
Points [0, -25; -30, 0]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
Points [50, 0]
DstBlock "To Workspace"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Saturation1"
SrcPort 1
Points [5, 0]
DstBlock "Mux"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Double click\non this for demo.5"
Ports []
Position [90, 194, 261, 225]
ShowName off
OpenFcn "gfc_init"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('Load initial data before simulation\\nDou"
"ble clicks on this ICON')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Double click\non this for demo.5"
Location [42, 353, 169, 506]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Gain
Name "Gain"
Position [370, 130, 410, 160]
Gain "0.1"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [110, 141, 115, 179]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Reference
Name "Pulse\nGenerator"
Ports [0, 1]
Position [20, 70, 50, 100]
SourceBlock "simulink3/Sources/Pulse\nGenerator"
SourceType "Pulse Generator"
period "10"
duty "50"
amplitude "10"
start "0"
VectorParams1D on
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [135, 144, 165, 176]
Floating off
Location [7, 63, 236, 235]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "20"
YMin "-5"
YMax "15"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "50000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [280, 144, 310, 176]
Floating off
Location [7, 281, 236, 453]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "20"
YMin "-5"
YMax "15"
SaveToWorkspace off
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "50000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [75, 75, 95, 95]
ShowName off
IconShape "round"
Inputs "|+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [380, 75, 400, 95]
VariableName "y"
MaxDataPoints "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [120, 100, 140, 120]
VariableName "in"
MaxDataPoints "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [110, 20, 135, 50]
VariableName "td"
MaxDataPoints "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace3"
Position [205, 25, 225, 45]
VariableName "e"
MaxDataPoints "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace4"
Position [115, 52, 135, 78]
VariableName "t"
MaxDataPoints "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [265, 67, 325, 103]
Numerator "[K]"
Denominator "[tau 1]"
Realization "auto"
AbsoluteTolerance "auto"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [155, 16, 190, 54]
SampleTime "Ts"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [65, 16, 95, 54]
SampleTime "Ts"
}
Block {
BlockType Outport
Name "NCD Outport"
Position [435, 117, 490, 173]
DropShadow on
OpenFcn "optblock"
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
MaskType "NCD Outport"
MaskDisplay "plot([0:10],[-.5 1.5 .6 1.3 .8 1.1 .95 1.02 .99"
" 1 1]);\ndisp('\\n\\n NCD\\n OutPort 1'); "
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Line {
SrcBlock "Digital Fuzzy\n Subsystem"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Transfer Fcn2"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "To Workspace"
DstPort 1
}
Branch {
Points [0, 50; -15, 0]
Branch {
Points [-255, 0]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
Points [0, 35]
DstBlock "Mux"
DstPort 2
}
}
Branch {
Points [0, 10]
DstBlock "Gain"
DstPort 1
}
}
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [-5, 0; 10, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 25]
Branch {
DstBlock "To Workspace1"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Mux"
DstPort 1
}
}
}
Line {
SrcBlock "Clock"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "To Workspace4"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Digital Fuzzy\n Subsystem"
DstPort 1
}
Branch {
DstBlock "Zero-Order\nHold"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "To Workspace3"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
DstBlock "To Workspace2"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "NCD Outport"
DstPort 1
}
Annotation {
Position [369, 35]
Text "SIMULINK BLOCK DIAGRAM for FLC design\nChou, Pe"
"nchen, 8/9/2001, FCU_control\ngfc199A_yen.mdl Use with Matlab 6.0 only.\ngfc"
"_init.m needed for initialization."
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -