📄 dualfuzzy.mdl
字号:
}
Block {
BlockType Saturate
Name "Saturation"
Position [325, 25, 355, 55]
UpperLimit "6"
LowerLimit "-6"
}
Block {
BlockType Saturate
Name "Saturation1"
Position [325, 125, 355, 155]
UpperLimit "6"
LowerLimit "-6"
}
Block {
BlockType Saturate
Name "Saturation2"
Position [720, 65, 750, 95]
UpperLimit "6"
LowerLimit "-6"
}
Block {
BlockType Gain
Name "ke"
Position [115, 25, 145, 55]
ShowName off
Gain "10"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "kua"
Position [245, 125, 275, 155]
Gain "5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "kub"
Position [200, 25, 230, 55]
Gain "5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "kuy"
Position [580, 65, 600, 95]
Gain "0.1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "ky"
Position [645, 65, 675, 95]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "dy"
Position [790, 73, 820, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "kuy"
SrcPort 1
Points [0, 0]
DstBlock "ky"
DstPort 1
}
Line {
SrcBlock "Discrete\nTransfer Fcn"
SrcPort 1
Points [0, 0]
DstBlock "kua"
DstPort 1
}
Line {
SrcBlock "kub"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "ub"
SrcPort 1
DstBlock "ke"
DstPort 1
}
Line {
SrcBlock "ua"
SrcPort 1
DstBlock "Discrete\nTransfer Fcn"
DstPort 1
}
Line {
SrcBlock "kua"
SrcPort 1
DstBlock "Saturation1"
DstPort 1
}
Line {
SrcBlock "ke"
SrcPort 1
Points [0, 0]
DstBlock "kub"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
Points [20, 0; 0, 30]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Saturation1"
SrcPort 1
Points [20, 0; 0, -50]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "FE"
DstPort 1
}
Line {
SrcBlock "FE"
SrcPort 1
Points [0, 0]
DstBlock "kuy"
DstPort 1
}
Line {
SrcBlock "ky"
SrcPort 1
DstBlock "Saturation2"
DstPort 1
}
Line {
SrcBlock "Saturation2"
SrcPort 1
Points [0, 0]
DstBlock "dy"
DstPort 1
}
}
}
Block {
BlockType Gain
Name "Gain2"
Position [845, 220, 875, 250]
Orientation "up"
NamePlacement "alternate"
Gain "1.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [475, 150, 505, 180]
Gain "0.1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [700, 180, 730, 210]
NamePlacement "alternate"
IgnoreLimit off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [630, 142, 660, 173]
NamePlacement "alternate"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [630, 177, 660, 208]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [630, 212, 660, 243]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [850, 185, 870, 205]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [420, 200, 440, 220]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [400, 250, 420, 270]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum5"
Ports [3, 1]
Position [780, 141, 805, 249]
ShowName off
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [920, 171, 960, 219]
Denominator "[5 1]"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [965, 250, 995, 280]
Orientation "down"
NamePlacement "alternate"
DelayTime "10"
}
Block {
BlockType Scope
Name "scope"
Ports [1]
Position [460, 244, 490, 276]
Floating off
Location [205, 231, 661, 557]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "200"
YMin "180"
YMax "180.6"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Line {
SrcBlock "Derivative"
SrcPort 1
DstBlock "FC"
DstPort 2
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Derivative"
DstPort 1
}
Branch {
Points [0, -45]
Branch {
DstBlock "Gain4"
DstPort 1
}
Branch {
Points [0, -45; 125, 0; 0, 45]
Branch {
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, 35]
Branch {
Points [0, 35]
DstBlock "Product3"
DstPort 2
}
Branch {
DstBlock "Product2"
DstPort 2
}
}
}
}
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [15, 0]
DstBlock "Transport\nDelay"
DstPort 1
}
Line {
SrcBlock "FE"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Transfer Fcn"
DstPort 1
}
Branch {
Points [0, 125]
DstBlock "FE"
DstPort 2
}
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "FC"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
DstBlock "Derivative1"
DstPort 1
}
Line {
SrcBlock "Sum5"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum5"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "FC"
SrcPort 1
Points [0, -5]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "FC"
SrcPort 2
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "FC"
SrcPort 3
Points [0, 5]
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Sum3"
DstPort 2
}
Branch {
DstBlock "scope"
DstPort 1
}
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
Points [0, 45; -135, 0]
Branch {
DstBlock "FE"
DstPort 1
}
Branch {
Points [-435, 0]
DstBlock "Sum4"
DstPort 2
}
}
Line {
SrcBlock "Derivative1"
SrcPort 1
DstBlock "Sum5"
DstPort 3
}
Annotation {
Position [700, 308]
UseDisplayTextAsClickCallback off
}
}
}
# Finite State Machines
#
# Stateflow Version 6.2 (R14SP2) dated Aug 4 2005, 10:13:39
#
#
Stateflow {
machine {
id 1
name "SHIY2"
created "14-Apr-2008 00:47:03"
isLibrary 0
firstTarget 2
sfVersion 62014000
}
target {
id 2
name "sfun"
description "Default Simulink S-Function Target."
machine 1
linkNode [1 0 0]
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -