?? simulink001.mdl
字號:
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Switch
Criteria "u2 >= Threshold"
Threshold "0"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
}
Block {
BlockType TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType TransportDelay
DelayTime "1"
InitialInput "0"
BufferSize "1024"
PadeOrder "0"
TransDelayFeedthrough off
}
Block {
BlockType ZeroOrderHold
SampleTime "1"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "simulink001"
Location [2, 78, 1022, 717]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType DiscreteTransferFcn
Name "EC"
Position [205, 102, 265, 138]
Denominator "[1 -1]"
}
Block {
BlockType Reference
Name "Fuzzy Logic \nController"
Ports [1, 1]
Position [490, 59, 550, 111]
FontName "Arial"
FontSize 10
SourceBlock "fuzblock/Fuzzy Logic \nController"
SourceType "FIS"
fis "myexample"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [415, 56, 475, 109]
ShowName off
Inputs "2"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [430, 241, 490, 294]
ShowName off
Inputs "2"
}
Block {
BlockType Saturate
Name "Saturation"
Position [345, 55, 375, 85]
}
Block {
BlockType Saturate
Name "Saturation1"
Position [345, 105, 375, 135]
}
Block {
BlockType Saturate
Name "Saturation2"
Position [130, 275, 160, 305]
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [515, 254, 545, 286]
Location [170, 264, 494, 503]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
}
Block {
BlockType Step
Name "Step"
Position [50, 50, 80, 80]
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [125, 55, 145, 75]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [260, 272, 320, 308]
Numerator "[2]"
Denominator "[100 1]"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [335, 275, 365, 305]
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [185, 271, 220, 309]
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [290, 351, 325, 389]
}
Block {
BlockType Gain
Name "ke"
Position [220, 50, 250, 80]
}
Block {
BlockType Gain
Name "kec1"
Position [290, 105, 320, 135]
}
Block {
BlockType Gain
Name "ku"
Position [80, 275, 110, 305]
Gain "0.5"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fuzzy Logic \nController"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Saturation1"
SrcPort 1
Points [10, 0; 0, -25]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "kec1"
SrcPort 1
DstBlock "Saturation1"
DstPort 1
}
Line {
SrcBlock "EC"
SrcPort 1
DstBlock "kec1"
DstPort 1
}
Line {
SrcBlock "ke"
SrcPort 1
Points [35, 0; 0, 5]
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "ke"
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "EC"
DstPort 1
}
}
Line {
SrcBlock "Step"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
Points [20, 0; 0, -10; 20, 0]
Branch {
DstBlock "Mux1"
DstPort 2
}
Branch {
Points [0, 145; -135, 0]
DstBlock "Zero-Order\nHold1"
DstPort 1
}
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Transport\nDelay"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Transfer Fcn"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Saturation2"
SrcPort 1
DstBlock "Zero-Order\nHold"
DstPort 1
}
Line {
SrcBlock "ku"
SrcPort 1
DstBlock "Saturation2"
DstPort 1
}
Line {
SrcBlock "Fuzzy Logic \nController"
SrcPort 1
Points [10, 0; 0, 100; -500, 0]
DstBlock "ku"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
Points [25, 0; 0, -30; -320, 0; 0, -215; 100, 0]
DstBlock "Sum"
DstPort 2
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -