📄 wws.mdl
字号:
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [115, 80, 135, 100]
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 UnitDelay
Name "Unit Delay"
Position [175, 74, 205, 106]
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [245, 74, 275, 106]
}
Block {
BlockType UnitDelay
Name "Unit Delay2"
Position [180, 139, 215, 171]
}
Block {
BlockType UnitDelay
Name "Unit Delay3"
Position [435, 254, 470, 286]
Orientation "left"
}
Block {
BlockType UnitDelay
Name "Unit Delay4"
Position [410, 189, 445, 221]
Orientation "left"
}
Block {
BlockType UnitDelay
Name "Unit Delay5"
Position [490, 189, 525, 221]
Orientation "left"
}
Block {
BlockType Outport
Name "u(k)"
Position [685, 68, 715, 82]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Out2"
Position [685, 113, 715, 127]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "r(k)"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 115; 280, 0; 0, -95]
DstBlock "Mux"
DstPort 6
}
Branch {
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -60; 175, 0; 0, 30]
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Unit Delay"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -40; 80, 0; 0, 20]
DstBlock "Mux"
DstPort 2
}
Branch {
DstBlock "Unit Delay1"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
Points [30, 0; 0, -10]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "y(k)"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 35]
DstBlock "Unit Delay2"
DstPort 1
}
Branch {
Points [195, 0; 0, -30]
DstBlock "Mux"
DstPort 4
}
Branch {
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Unit Delay2"
SrcPort 1
Points [115, 0; 0, -55]
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 195]
DstBlock "Unit Delay3"
DstPort 1
}
Branch {
DstBlock "u(k)"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [30, 0; 0, 20]
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Unit Delay5"
SrcPort 1
Points [-15, 0]
Branch {
Points [5, 0; 0, -40; -95, 0]
DstBlock "Mux"
DstPort 9
}
Branch {
DstBlock "Unit Delay4"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay3"
SrcPort 1
Points [-75, 0; 0, -150]
DstBlock "Mux"
DstPort 7
}
Line {
SrcBlock "Unit Delay4"
SrcPort 1
Points [-40, 0; 0, -75]
DstBlock "Mux"
DstPort 8
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [0, 80]
DstBlock "Unit Delay5"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [410, 130, 430, 150]
ShowName off
IconShape "round"
Inputs "|+-"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [680, 130, 700, 150]
ShowName off
IconShape "round"
Inputs "|+-"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [65, 121, 130, 159]
Denominator "[0.01 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [330, 122, 390, 158]
Denominator "[0.002 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn3"
Position [510, 122, 570, 158]
Numerator "[0.022 1]"
Denominator "[0.022 0]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn4"
Position [590, 122, 650, 158]
Numerator "[40]"
Denominator "[0.017 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn5"
Position [715, 122, 775, 158]
Numerator "[0.362]"
Denominator "[0.022 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn6"
Position [870, 122, 930, 158]
Numerator "[2.76]"
Denominator "[0.075 0]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn7"
Position [505, 232, 565, 268]
Orientation "left"
Numerator "[0.53]"
Denominator "[0.002 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn8"
Position [420, 314, 485, 356]
Orientation "left"
Numerator "[0.007]"
Denominator "[0.01 1]"
}
Line {
SrcBlock "Step"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [20, 0]
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn7"
SrcPort 1
Points [-80, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Transfer Fcn3"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn3"
SrcPort 1
DstBlock "Transfer Fcn4"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn4"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Transfer Fcn5"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn5"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 110]
DstBlock "Transfer Fcn7"
DstPort 1
}
Branch {
DstBlock "Transfer Fcn6"
DstPort 1
}
}
Line {
SrcBlock "Transfer Fcn6"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, 160; -260, 0]
DstBlock "Sum2"
DstPort 2
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Floating\nScope"
DstPort 1
}
Branch {
Points [0, 195]
DstBlock "Transfer Fcn8"
DstPort 1
}
}
Line {
SrcBlock "Transfer Fcn8"
SrcPort 1
Points [-275, 0; 0, -155]
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [10, 0; 0, 15]
DstBlock "Transfer Fcn2"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 2
Points [20, 0; 0, 35]
DstBlock "Floating\nScope1"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -