📄 nhlsd.mdl
字号:
Position [220, 574, 265, 596]
VariableName "y1"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [605, 565, 665, 595]
VariableName "y"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [485, 555, 545, 585]
VariableName "t"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType TransferFcn
Name "duo ji"
Position [370, 277, 430, 313]
Numerator "[-1]"
Denominator "[0.1 1]"
}
Block {
BlockType Gain
Name "kq"
Position [445, 390, 475, 420]
Orientation "left"
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "sudu"
Ports [2, 1]
Position [255, 188, 305, 217]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "sudu"
Location [244, 82, 629, 244]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "v"
Position [50, 25, 80, 40]
Orientation "down"
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "vg"
Position [25, 68, 55, 82]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain3"
Position [150, 57, 180, 83]
Gain "60.55"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [175, 105, 205, 135]
Gain "205.55"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [195, 55, 225, 85]
IgnoreLimit off
}
Block {
BlockType Sum
Name "Subtract2"
Ports [2, 1]
Position [80, 52, 110, 83]
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [275, 45, 305, 95]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "ym"
Position [330, 63, 360, 77]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Subtract2"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Gain3"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [80, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Integrator2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "v"
SrcPort 1
DstBlock "Subtract2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "ym"
DstPort 1
}
Line {
SrcBlock "vg"
SrcPort 1
DstBlock "Subtract2"
DstPort 2
}
}
}
Block {
BlockType Saturate
Name "xianfu"
Position [450, 280, 470, 310]
}
Block {
BlockType Outport
Name "v"
Position [690, 278, 720, 292]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "alpha"
Position [690, 308, 720, 322]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "theta"
Position [750, 338, 780, 352]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "q"
Position [690, 368, 720, 382]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Subtract"
SrcPort 1
DstBlock "duo ji"
DstPort 1
}
Line {
SrcBlock "Subtract1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [-20, 0; 0, 50]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [70, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Subtract"
DstPort 1
}
Line {
SrcBlock "Step"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Subtract1"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "kq"
SrcPort 1
Points [-130, 0]
DstBlock "Subtract"
DstPort 2
}
Line {
SrcBlock "State-Space"
SrcPort 1
Points [25, 0]
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "alpha"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [100, 0]
Branch {
DstBlock "theta"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 105]
Branch {
Points [-670, 0]
DstBlock "Subtract1"
DstPort 2
}
Branch {
DstBlock "Signal Constraint"
DstPort 1
}
}
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [15, 0]
Branch {
DstBlock "q"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "kq"
DstPort 1
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "State-Space"
DstPort 1
}
Line {
SrcBlock "duo ji"
SrcPort 1
DstBlock "xianfu"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "To Workspace2"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "sudu"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Fcn2"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 0; 0, -120]
Branch {
Points [-430, 0]
DstBlock "sudu"
DstPort 1
}
Branch {
DstBlock "Scope1"
DstPort 1
}
}
Branch {
DstBlock "v"
DstPort 1
}
}
Line {
SrcBlock "xianfu"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "sudu"
SrcPort 1
Points [170, 0]
DstBlock "Mux1"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -