📄 feedbackkf.mdl
字号:
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [450, 130, 470, 150]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [255, 310, 275, 330]
Orientation "left"
ShowName off
IconShape "round"
Inputs "+-|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [28, 205, 62, 240]
Orientation "up"
NamePlacement "alternate"
ShowName off
X0 "P0"
}
Block {
BlockType Outport
Name "k"
Position [590, 28, 620, 42]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "A1"
SrcPort 1
DstBlock "A'"
DstPort 1
}
Line {
SrcBlock "A'"
SrcPort 1
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Q"
SrcPort 1
Points [100, 0]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "C'"
DstPort 1
}
Branch {
Points [0, 105]
Branch {
DstBlock "Sum5"
DstPort 1
}
Branch {
DstBlock "C2"
DstPort 1
}
}
}
Line {
SrcBlock "C'"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "C1"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Divide"
DstPort 1
}
}
Line {
SrcBlock "Divide"
SrcPort 1
Points [15, 0]
Branch {
Points [25, 0; 0, 180]
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "k"
DstPort 1
}
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "C1"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "R"
SrcPort 1
Points [90, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "Divide"
DstPort 2
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
Points [0, -60]
DstBlock "A1"
DstPort 1
}
Line {
SrcBlock "Sum5"
SrcPort 1
Points [-205, 0]
DstBlock "Unit Delay1"
DstPort 1
}
Line {
SrcBlock "C2"
SrcPort 1
Points [20, 0; 0, 90]
DstBlock "Product1"
DstPort 2
}
Annotation {
Name "P"
Position [264, 127]
}
Annotation {
Name "PC'"
Position [342, 153]
}
Annotation {
Name "CPC'"
Position [424, 128]
}
Annotation {
Name "K"
Position [560, 288]
}
Annotation {
Name "CP"
Position [448, 236]
}
}
}
Block {
BlockType SubSystem
Name "filter model"
Ports [2, 2]
Position [335, 35, 440, 95]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "filter model"
Location [243, 280, 768, 555]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "u"
Position [25, 113, 55, 127]
IconDisplay "Port number"
PortDimensions "size(B,2)"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "k*e"
Position [345, 233, 375, 247]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "A"
Position [290, 24, 330, 66]
Orientation "left"
Gain "A"
Multiplication "Matrix(K*u)"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "B"
Position [160, 99, 200, 141]
Gain "B"
Multiplication "Matrix(K*u)"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "C"
Position [255, 164, 295, 206]
Orientation "left"
Gain "C"
Multiplication "Matrix(K*u)"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "D"
Position [125, 164, 165, 206]
Gain "D"
Multiplication "Matrix(K*u)"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [255, 110, 275, 130]
ShowName off
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [200, 175, 220, 195]
Orientation "down"
ShowName off
IconShape "round"
Inputs "+|+"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [400, 110, 420, 130]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [370, 28, 405, 62]
Orientation "left"
X0 "x0"
}
Block {
BlockType Outport
Name "x"
Position [470, 113, 500, 127]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "y1"
Position [265, 233, 295, 247]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "u"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "B"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "D"
DstPort 1
}
}
Line {
SrcBlock "B"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "A"
SrcPort 1
Points [-20, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
DstBlock "A"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "Sum2"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "C"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "x"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Unit Delay"
DstPort 1
}
}
Line {
SrcBlock "D"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "C"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "k*e"
SrcPort 1
Points [30, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 40]
DstBlock "y1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "x"
Position [500, 43, 530, 57]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "y"
Position [500, 73, 530, 87]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "u"
SrcPort 1
DstBlock "filter model"
DstPort 1
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -