📄 simlqgyj.err
字号:
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
BusObject "BusObject"
NonVirtualBus off
}
Block {
BlockType Outport
Port "1"
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType RandomNumber
Mean "0"
Variance "1"
Seed "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType Scope
Floating off
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType StateSpace
A "1"
B "1"
C "1"
D "1"
X0 "0"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
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 "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "simlqgyj"
Location [2, 78, 1022, 717]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "125"
ReportName "simulink-default.rpt"
Block {
BlockType Constant
Name "Constant"
Position [75, 130, 105, 160]
ShowName off
Value "zf"
VectorParams1D off
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [270, 243, 275, 292]
Orientation "left"
NamePlacement "alternate"
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [755, 129, 785, 161]
Location [5, 54, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-0.25"
YMax "4.5"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [75, 254, 105, 286]
Orientation "left"
NamePlacement "alternate"
Location [5, 54, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-0.05"
YMax "1.05"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [415, 130, 445, 160]
ShowName off
IconShape "round"
Inputs "+|+|+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [135, 135, 155, 155]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [655, 135, 675, 155]
ShowName off
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType StateSpace
Name "kalman滤波器"
Position [175, 253, 235, 287]
Orientation "left"
A "Ae"
B "Be"
C "Ce"
D "De"
X0 "z0"
}
Block {
BlockType RandomNumber
Name "测量噪音"
Position [650, 45, 680, 75]
Orientation "down"
NamePlacement "alternate"
Variance "0.00001"
SampleTime "0"
}
Block {
BlockType Integrator
Name "积分环节"
Ports [1, 1]
Position [485, 130, 515, 160]
InitialCondition "z0"
}
Block {
BlockType Gain
Name "输出矩阵"
Position [595, 130, 625, 160]
Gain "C"
Multiplication "Matrix(K*u)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "输入矩阵"
Position [355, 130, 385, 160]
Gain "B"
Multiplication "Matrix(K*u)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "系统矩阵"
Position [480, 215, 510, 245]
Orientation "left"
Gain "A"
Multiplication "Matrix(K*u)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType RandomNumber
Name "系统噪音"
Position [415, 45, 445, 75]
Orientation "down"
NamePlacement "alternate"
Variance "0.0001"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "最优控制器"
Ports [1, 1]
Position [200, 127, 265, 163]
FontSize 10
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "最优控制器"
Location [2, 78, 1022, 717]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "125"
Block {
BlockType Inport
Name "In1"
Position [110, 103, 140, 117]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "反馈矩阵"
Position [245, 95, 275, 125]
Gain "kx"
Multiplication "Matrix(K*u)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [360, 103, 390, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "反馈矩阵"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "反馈矩阵"
DstPort 1
}
}
}
Line {
SrcBlock "积分环节"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Labels [1, 0]
Points [20, 0]
DstBlock "输出矩阵"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "系统矩阵"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "积分环节"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "输出矩阵"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, 135]
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "测量噪音"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "系统矩阵"
SrcPort 1
Points [-45, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "输入矩阵"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "系统噪音"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "kalman滤波器"
DstPort 1
}
Line {
SrcBlock "kalman滤波器"
SrcPort 1
Points [-5, 0; -20, 0]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "最优控制器"
SrcPort 1
Points [-10, 0; 50, 0]
Branch {
DstBlock "输入矩阵"
DstPort 1
}
Branch {
Points [0, 110]
DstBlock "Mux2"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "最优控制器"
DstPort 1
}
Annotation {
Name "期望值"
Position [93, 169]
}
Annotation {
Name "u"
Position [295, 134]
}
Annotation {
Name "y"
Position [333, 273]
}
Annotation {
Name "x"
Position [555, 138]
}
Annotation {
Name "xe"
Position [158, 229]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -