📄 self adapting5.mdl
字号:
Name "Sine Wave"
Ports [0, 1]
Position [15, 40, 45, 70]
SineType "Time based"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [15, 120, 45, 150]
SineType "Time based"
Frequency "2"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum of\nElements"
Ports [2, 1]
Position [625, 140, 655, 180]
IconShape "round"
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements1"
Ports [2, 1]
Position [175, 105, 205, 145]
NamePlacement "alternate"
IconShape "round"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements2"
Ports [2, 1]
Position [475, 115, 505, 155]
IconShape "round"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements3"
Ports [4, 1]
Position [340, 615, 380, 645]
Orientation "down"
NamePlacement "alternate"
IconShape "round"
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements4"
Ports [2, 1]
Position [70, 47, 100, 78]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [300, 42, 360, 78]
Numerator "[6]"
Denominator "[1 4 3]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [435, 673, 480, 737]
Denominator "[1 2]"
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 390]
DstBlock "Product6"
DstPort 1
}
Branch {
Points [90, 0]
Branch {
Points [5, 0]
Branch {
Points [170, 0]
DstBlock "Sum of\nElements"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Sum of\nElements2"
DstPort 1
}
}
Branch {
Points [0, 230]
DstBlock "Product2"
DstPort 1
}
}
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Sum of\nElements1"
DstPort 2
}
Line {
SrcBlock "Sum of\nElements1"
SrcPort 1
Points [50, 0]
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 45]
Branch {
Points [-60, 0]
Branch {
Points [0, -40]
DstBlock "Gain4"
DstPort 1
}
Branch {
Points [0, 195]
DstBlock "Product5"
DstPort 1
}
}
Branch {
Points [50, 0]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Sum of\nElements2"
DstPort 2
}
Line {
SrcBlock "Sum of\nElements2"
SrcPort 1
Points [55, 0]
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [0, 35]
Branch {
Points [0, 5; -40, 0]
Branch {
Points [-35, 0]
DstBlock "Gain5"
DstPort 1
}
Branch {
Points [0, 195]
DstBlock "Product7"
DstPort 1
}
}
Branch {
Points [55, 0; 0, 30]
DstBlock "Product3"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [75, 0]
DstBlock "Sum of\nElements3"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [-57, 0]
DstBlock "Sum of\nElements3"
DstPort 2
}
Line {
SrcBlock "Sum of\nElements"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
DstBlock "Gain6"
DstPort 1
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [0, 80]
DstBlock "Sum of\nElements3"
DstPort 4
}
Line {
SrcBlock "Integrator3"
SrcPort 1
Points [-10, -5]
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "Product4"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Integrator4"
SrcPort 1
DstBlock "Product5"
DstPort 2
}
Line {
SrcBlock "Product5"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Integrator5"
SrcPort 1
DstBlock "Product6"
DstPort 2
}
Line {
SrcBlock "Product6"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Product7"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Sum of\nElements4"
SrcPort 1
Points [0, -5]
Branch {
Points [25, 0]
Branch {
Points [45, 0]
Branch {
Points [0, 30]
DstBlock "Sum of\nElements1"
DstPort 1
}
Branch {
DstBlock "Transfer Fcn"
DstPort 1
}
}
Branch {
Points [0, 230; 45, 0]
DstBlock "Product"
DstPort 1
}
}
Branch {
DstBlock "Product4"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 45; 257, 0]
DstBlock "Sum of\nElements3"
DstPort 3
}
Line {
SrcBlock "Product"
SrcPort 1
Points [0, 50]
DstBlock "Integrator3"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [-5, 0]
DstBlock "Integrator4"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Integrator5"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Gain6"
SrcPort 1
Points [0, 10]
Branch {
DstBlock "Product3"
DstPort 2
}
Branch {
Points [0, 15]
Branch {
DstBlock "Product2"
DstPort 2
}
Branch {
Points [0, 20]
Branch {
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, 20]
DstBlock "Product"
DstPort 2
}
}
}
}
Line {
SrcBlock "Integrator2"
SrcPort 1
DstBlock "Product7"
DstPort 2
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
Points [155, 0]
DstBlock "Sum of\nElements"
DstPort 2
}
Line {
SrcBlock "Sum of\nElements3"
SrcPort 1
Points [0, 55]
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
DstBlock "Sum of\nElements4"
DstPort 1
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [0, -65]
DstBlock "Sum of\nElements4"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -