📄 nonliner_fz.mdl
字号:
SampleInput off
SampleTime "-1"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "dxj_fz"
Location [2, 78, 1022, 717]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [210, 147, 240, 178]
Orientation "left"
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Fcn
Name "Fcn"
Position [285, 155, 345, 185]
Orientation "left"
ShowName off
Expr "(1-u)^2+u^2"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [380, 210, 440, 240]
Orientation "left"
ShowName off
Expr "1+u^2"
}
Block {
BlockType Gain
Name "Gain"
Position [525, 22, 570, 58]
ShowName off
Gain "8339"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [530, 169, 605, 211]
ShowName off
Gain "69538921"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [510, 372, 570, 408]
ShowName off
Gain "166780"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [725, 427, 770, 463]
Orientation "left"
ShowName off
Gain "2.75"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [325, 210, 355, 240]
Orientation "left"
NamePlacement "alternate"
ShowName off
Operator "log"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [105, 85, 125, 105]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [310, 90, 330, 110]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [550, 85, 570, 105]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [465, 30, 485, 50]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [685, 90, 705, 110]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [645, 380, 665, 400]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "u"
Position [700, 311, 755, 349]
Gain "-8339"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "x1"
Ports [1, 1]
Position [170, 80, 200, 110]
InitialCondition "1"
IgnoreLimit off
}
Block {
BlockType Scope
Name "x1-t"
Ports [1]
Position [225, 354, 255, 386]
Floating off
Location [284, 410, 608, 649]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Integrator
Name "x2"
Ports [1, 1]
Position [350, 85, 380, 115]
InitialCondition "5"
IgnoreLimit off
}
Block {
BlockType Scope
Name "x2-t"
Ports [1]
Position [365, 359, 395, 391]
Floating off
Location [1, 52, 1017, 729]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Integrator
Name "xg1"
Ports [1, 1]
Position [610, 80, 640, 110]
InitialCondition "3"
IgnoreLimit off
}
Block {
BlockType Scope
Name "xg1-t"
Ports [1]
Position [690, 24, 720, 56]
Floating off
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Integrator
Name "xg2"
Ports [1, 1]
Position [735, 85, 765, 115]
InitialCondition "5"
IgnoreLimit off
}
Block {
BlockType Scope
Name "xg2-t"
Ports [1]
Position [855, 409, 885, 441]
Floating off
Location [-3, 48, 1021, 733]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
SampleTime "0"
}
Line {
SrcBlock "x2"
SrcPort 1
Points [0, -25]
Branch {
Points [-295, 0]
DstBlock "Sum"
DstPort 1
}
Branch {
Points [70, 0]
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, 95]
Branch {
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [-35, 0]
DstBlock "x2-t"
DstPort 1
}
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "x1"
DstPort 1
}
Line {
SrcBlock "x1"
SrcPort 1
Points [5, 0]
Branch {
Points [55, 0]
Branch {
Points [0, 60]
DstBlock "Divide"
DstPort 1
}
Branch {
Points [0, -55]
DstBlock "Sum3"
DstPort 1
}
}
Branch {
DstBlock "x1-t"
DstPort 1
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Divide"
DstPort 2
}
Line {
SrcBlock "Divide"
SrcPort 1
Points [-90, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "x2"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [-45, 0; 0, -100]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "xg1"
DstPort 1
}
Line {
SrcBlock "xg2"
SrcPort 1
Points [0, -25]
Branch {
Points [-235, 0]
DstBlock "Sum2"
DstPort 1
}
Branch {
Points [15, 0; 0, 345]
Branch {
DstBlock "Gain3"
DstPort 1
}
Branch {
Points [0, 5]
DstBlock "xg2-t"
DstPort 1
}
}
}
Line {
SrcBlock "xg1"
SrcPort 1
Points [0, -30]
Branch {
DstBlock "Sum3"
DstPort 2
}
Branch {
Points [-150, 0]
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "xg1-t"
DstPort 1
}
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 150]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 85; -15, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "xg2"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [60, 0]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum5"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [-65, 0]
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "Sum5"
SrcPort 1
Points [5, 0; 0, -60]
DstBlock "u"
DstPort 1
}
Line {
SrcBlock "u"
SrcPort 1
Points [0, -60]
Branch {
Points [0, -135; -65, 0]
DstBlock "Sum4"
DstPort 2
}
Branch {
Points [-465, 0]
DstBlock "Sum1"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -