📄 blockoutint.mdl
字号:
Branch { DstBlock "Mux2" DstPort 2 } Branch { Points [15, 0; 0, 50] DstBlock "Sum2" DstPort 2 } } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [-105, 0] DstBlock "Sum" DstPort 2 } } } Block { BlockType Step Name "Step Input1" Position [360, 200, 380, 220] BackgroundColor magenta DropShadow on ShowName off Time "tv" Before "0" After "vstep" } Block { BlockType Step Name "Step Input2" Position [40, 45, 60, 65] BackgroundColor magenta DropShadow on ShowName off Time "tstep" Before "0" After "1" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [415, 145, 435, 165] BackgroundColor magenta DropShadow on ShowName off Inputs "++" } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [80, 175, 100, 195] BackgroundColor magenta DropShadow on ShowName off Inputs "+-" } Block { BlockType Sum Name "Sum2" Ports [2, 1, 0, 0, 0] Position [370, 140, 390, 160] BackgroundColor magenta DropShadow on ShowName off Inputs "++" } Block { BlockType ZeroOrderHold Name "ZoH4" Position [210, 290, 250, 320] Orientation left BackgroundColor magenta DropShadow on ShowName off SampleTime "[h t0]" } Block { BlockType SubSystem Name "stfb" Ports [3, 1, 0, 0, 0] Position [300, 123, 330, 177] BackgroundColor magenta DropShadow on ShowPortLabels off System { Name "stfb" Location [803, 558, 1090, 826] Open off ScreenColor magenta Block { BlockType Inport Name "vhat" Position [40, 85, 60, 105] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "e1" Position [40, 125, 60, 145] Port "2" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "e2" Position [40, 175, 60, 195] Port "3" PortWidth "-1" SampleTime "-1" } Block { BlockType Sum Name "Sum2" Ports [3, 1, 0, 0, 0] Position [200, 112, 220, 158] BackgroundColor magenta DropShadow on ShowName off Inputs "-++" } Block { BlockType Gain Name "l3" Position [120, 120, 150, 150] BackgroundColor magenta DropShadow on ShowName off Gain "l1" } Block { BlockType Gain Name "l4" Position [120, 170, 150, 200] BackgroundColor magenta DropShadow on ShowName off Gain "l2" } Block { BlockType Outport Name "ufb" Position [250, 125, 270, 145] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "ufb" DstPort 1 } Line { SrcBlock "e1" SrcPort 1 DstBlock "l3" DstPort 1 } Line { SrcBlock "e2" SrcPort 1 DstBlock "l4" DstPort 1 } Line { SrcBlock "vhat" SrcPort 1 Points [105, 0; 0, 25] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "l3" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "l4" SrcPort 1 Points [15, 0; 0, -35] DstBlock "Sum2" DstPort 3 } } } Block { BlockType Outport Name "x1" Position [560, 95, 580, 115] Port "1" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "x2" Position [560, 155, 580, 175] Port "2" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "xe1" Position [280, 190, 300, 210] Port "3" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "xe2" Position [280, 225, 300, 245] Port "4" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "vhat" Position [200, 225, 220, 245] Port "5" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "u" Position [415, 95, 435, 115] Port "6" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "v" Position [425, 225, 445, 245] Port "7" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "ym" Position [395, 50, 415, 70] Port "8" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Double\n integrator" SrcPort 2 DstBlock "x2" DstPort 1 } Line { SrcBlock "Kalmint" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Double\n integrator" SrcPort 1 Points [0, 0] Branch { Points [25, 0; 0, -35] DstBlock "x1" DstPort 1 } Branch { Points [25, 0; 0, 165] DstBlock "ZoH4" DstPort 1 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Double\n integrator" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [0, 0] Branch { Points [15, 0; 0, 70] DstBlock "xe2" DstPort 1 } Branch { Points [15, 0; 0, 5] DstBlock "stfb" DstPort 3 } } Line { SrcBlock "Step Input1" SrcPort 1 Points [0, 0] Branch { Points [15, 0] DstBlock "Sum" DstPort 2 } Branch { Points [25, 0] DstBlock "v" DstPort 1 } } Line { SrcBlock "Discrete State-Space" SrcPort 1 DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Step Input2" SrcPort 1 DstBlock "Discrete State-Space" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Kalmint" DstPort 2 } Line { SrcBlock "ZoH4" SrcPort 1 Points [-155, 0; 0, -115] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Demux" SrcPort 1 Points [0, 0] Branch { Points [25, 0] DstBlock "xe1" DstPort 1 } Branch { DstBlock "stfb" DstPort 2 } } Line { SrcBlock "stfb" SrcPort 1 Points [0, 0] Branch { Points [10, 0; 0, -45; -280, 0; 0, 55] DstBlock "Kalmint" DstPort 1 } Branch { Points [10, 0; 0, 5] DstBlock "Sum2" DstPort 2 } } Line { SrcBlock "Sum2" SrcPort 1 Points [0, 0] Branch { DstBlock "Sum" DstPort 1 } Branch { Points [5, 0] DstBlock "u" DstPort 1 } } Line { SrcBlock "Kalmint" SrcPort 2 Points [0, 0] Branch { Points [20, 0; 0, 50] DstBlock "vhat" DstPort 1 } Branch { Points [20, 0; 0, -55] DstBlock "stfb" DstPort 1 } } Line { SrcBlock "Demux1" SrcPort 1 Points [90, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 2 Points [0, 0] Branch { Points [10, 0; 0, 35; -225, 0; 0, 85] DstBlock "Sum1" DstPort 1 } Branch { DstBlock "ym" DstPort 1 } } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -