📄 jwgcqp.mdl
字号:
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Step
Time "1"
Before "0"
After "1"
SampleTime "-1"
VectorParams1D on
ZeroCross on
}
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 "jwgcqp"
Location [57, 95, 1228, 619]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Gain
Name "Gain"
Position [404, 250, 516, 290]
Orientation "down"
NamePlacement "alternate"
ShowName off
Gain "A21-L*A11"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "Gain1"
Position [559, 250, 611, 280]
Orientation "down"
NamePlacement "alternate"
ShowName off
Gain "L"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "Gain2"
Position [735, 250, 785, 285]
Orientation "down"
NamePlacement "alternate"
ShowName off
Gain "Q1"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "Gain3"
Position [715, 296, 765, 344]
ShowName off
Gain "Q2"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "Gain4"
Position [540, 365, 635, 415]
Orientation "left"
NamePlacement "alternate"
ShowName off
Gain "A22-L*A12"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "Gain5"
Position [331, 205, 449, 245]
Orientation "down"
NamePlacement "alternate"
ShowName off
Gain "B12-L*B11"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "Gain6"
Position [510, 411, 555, 449]
Orientation "left"
NamePlacement "alternate"
ShowName off
Gain "Ks"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "Gain7"
Position [430, 74, 470, 106]
ShowName off
Gain "B"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "Gain8"
Position [690, 75, 730, 105]
ShowName off
Gain "C"
Multiplication "Matrix(K*u)"
Port {
PortNumber 1
Name "y"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Gain
Name "Gain9"
Position [565, 145, 605, 175]
Orientation "left"
NamePlacement "alternate"
ShowName off
Gain "A"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [540, 320, 570, 350]
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [595, 75, 625, 105]
Port {
PortNumber 1
Name "x"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [875, 74, 905, 106]
Location [6, 94, 813, 760]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "10"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [875, 234, 905, 266]
Location [159, 117, 935, 719]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Block {
BlockType Step
Name "Step"
Position [275, 155, 305, 185]
Time "0"
After "0.2"
SampleTime "0"
VectorParams1D off
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [480, 313, 505, 357]
ShowName off
Inputs "|+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [615, 298, 640, 342]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [795, 283, 820, 327]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [330, 148, 355, 192]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [505, 68, 530, 112]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Out1"
Position [875, 138, 905, 152]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [875, 298, 905, 312]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 35]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, 35]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Gain3"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, 15]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum3"
DstPort 2
}
Line {
Labels [1, 0]
SrcBlock "Sum3"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 0; 0, 125]
DstBlock "Gain6"
DstPort 1
}
Branch {
Points [25, 0]
DstBlock "Out2"
DstPort 1
}
Branch {
Labels [1, 0]
Points [0, -55]
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [-75, 0; 0, -40]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [0, 90]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
DstBlock "Gain5"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "Gain7"
DstPort 1
}
}
Line {
SrcBlock "Step"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Gain6"
SrcPort 1
Points [-190, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Gain7"
SrcPort 1
DstBlock "Sum5"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Sum5"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
Name "x"
Labels [2, 0]
SrcBlock "Integrator1"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Gain8"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Gain9"
DstPort 1
}
Branch {
Labels [2, 0]
Points [0, -20; 185, 0]
Branch {
Points [0, 75]
DstBlock "Out1"
DstPort 1
}
Branch {
Points [25, 0]
DstBlock "Scope1"
DstPort 1
}
}
}
Line {
Name "y"
Labels [1, 1]
SrcBlock "Gain8"
SrcPort 1
Points [85, 0; 0, 140; -60, 0]
Branch {
Points [-175, 0]
Branch {
Points [-125, 0]
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Branch {
DstBlock "Gain2"
DstPort 1
}
}
Line {
SrcBlock "Gain9"
SrcPort 1
Points [-80, 0; 0, -55]
DstBlock "Sum5"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -