📄 control.mdl
字号:
SrcBlock "Gain"
SrcPort 1
Points [0, 0]
DstBlock "d0"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "d0yp"
Position [405, 68, 435, 82]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "yp"
SrcPort 1
Points [0, 0; 70, 0]
Branch {
Points [0, -45; 100, 0; 0, 35]
DstBlock "Product"
DstPort 1
}
Branch {
DstBlock "Subsystem2"
DstPort 1
}
}
Line {
SrcBlock "e0"
SrcPort 1
DstBlock "Subsystem2"
DstPort 2
}
Line {
SrcBlock "Subsystem2"
SrcPort 1
Points [15, 0; 0, -10]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [0, 0]
DstBlock "d0yp"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem5"
Ports [2, 1]
Position [670, 420, 710, 480]
Orientation "left"
NamePlacement "alternate"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem5"
Location [157, 420, 827, 617]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "yp"
Position [25, 83, 55, 97]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "e0"
Position [60, 28, 90, 42]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [375, 45, 405, 75]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [375, 140, 405, 170]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [305, 45, 335, 75]
IgnoreLimit off
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [300, 140, 330, 170]
IgnoreLimit off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [235, 42, 265, 73]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [455, 52, 485, 83]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [215, 137, 245, 168]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [455, 132, 485, 163]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [1, 2]
Position [125, 70, 170, 150]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem1"
Location [152, 295, 617, 552]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "yp"
Position [25, 108, 55, 122]
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain1"
Position [165, 175, 195, 205]
Orientation "left"
NamePlacement "alternate"
Gain "-6"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [295, 205, 325, 235]
Orientation "left"
NamePlacement "alternate"
Gain "-8"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [170, 105, 200, 135]
IgnoreLimit off
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [295, 105, 325, 135]
IgnoreLimit off
}
Block {
BlockType Sum
Name "Sum of\nElements2"
Ports [3, 1]
Position [85, 103, 95, 177]
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "W(2)1"
Position [410, 113, 440, 127]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "W(2)2"
Position [320, 28, 350, 42]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "yp"
SrcPort 1
Points [0, 0]
DstBlock "Sum of\nElements2"
DstPort 1
}
Line {
SrcBlock "Sum of\nElements2"
SrcPort 1
Points [15, 0; 0, -20]
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 45, 0]
Branch {
DstBlock "Integrator1"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "W(2)2"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
DstBlock "W(2)1"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Gain2"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-95, 0; 0, -25]
DstBlock "Sum of\nElements2"
DstPort 3
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [-240, 0; 0, -80]
DstBlock "Sum of\nElements2"
DstPort 2
}
}
}
Block {
BlockType Sum
Name "Sum of\nElements2"
Ports [2, 1]
Position [535, 64, 545, 151]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "dtw2"
Position [615, 103, 645, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "yp"
SrcPort 1
Points [50, 0]
DstBlock "Subsystem1"
DstPort 1
}
Line {
SrcBlock "e0"
SrcPort 1
Points [0, 0; 95, 0]
Branch {
Points [25, 0; 0, 15]
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 125]
DstBlock "Product2"
DstPort 2
}
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -25]
DstBlock "Product"
DstPort 2
}
Branch {
Labels [1, 0]
Points [205, 0; 0, -15]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 0]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Subsystem1"
SrcPort 2
Points [5, 0; 0, 15; 15, 0]
Branch {
DstBlock "Product2"
DstPort 1
}
Branch {
Points [0, -30; 225, 0; 0, 25]
DstBlock "Product3"
DstPort 1
}
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Integrator2"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, 0]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [15, 0; 0, 15]
DstBlock "Sum of\nElements2"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [15, 0; 0, -20]
DstBlock "Sum of\nElements2"
DstPort 2
}
Line {
SrcBlock "Sum of\nElements2"
SrcPort 1
Points [0, 0]
DstBlock "dtw2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem6"
Ports [2, 1]
Position [310, 365, 350, 425]
Orientation "left"
NamePlacement "alternate"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem6"
Location [2, 80, 1262, 756]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "e0"
Position [60, 28, 90, 42]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "u"
Position [30, 83, 60, 97]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [375, 45, 405, 75]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [375, 140, 405, 170]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [305, 45, 335, 75]
IgnoreLimit off
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [300, 140, 330, 170]
IgnoreLimit off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [235, 42, 265, 73]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -