📄 qizhongji2.mdl
字号:
FontAngle "normal"
}
System {
Name "qizhongji2"
Location [2, 74, 1014, 721]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Constant
Name "Constant"
Position [90, 110, 120, 140]
ShowName off
Value "0"
}
Block {
BlockType Gain
Name "G1"
Position [270, 129, 305, 161]
Gain "k1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [700, 494, 730, 526]
Floating off
Location [5, 45, 1021, 729]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [505, 129, 535, 161]
Floating off
Location [5, 45, 1021, 729]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "200"
YMin "0"
YMax "10"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [2, 1]
Position [265, 325, 305, 385]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem"
Location [2, 74, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [190, 25, 220, 40]
Orientation "down"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [25, 170, 55, 185]
Orientation "up"
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "G2"
Position [350, 58, 385, 82]
Gain "k2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Pc"
Ports [2, 1]
Position [220, 52, 245, 83]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Ps"
Ports [2, 1]
Position [220, 112, 245, 143]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [290, 60, 310, 80]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Trigonometry
Name "cossita"
Ports [1, 1]
Position [65, 65, 95, 85]
Operator "cos"
}
Block {
BlockType Constant
Name "g"
Position [155, 95, 185, 115]
Value "9.8"
}
Block {
BlockType Trigonometry
Name "sinsita"
Ports [1, 1]
Position [65, 124, 95, 146]
}
Block {
BlockType Outport
Name "Out1"
Position [410, 63, 440, 77]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Pc"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Ps"
SrcPort 1
Points [50, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "G2"
DstPort 1
}
Line {
SrcBlock "g"
SrcPort 1
Points [5, 0; 0, 15]
DstBlock "Ps"
DstPort 1
}
Line {
SrcBlock "cossita"
SrcPort 1
DstBlock "Pc"
DstPort 2
}
Line {
SrcBlock "sinsita"
SrcPort 1
DstBlock "Ps"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "Pc"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, -30]
Branch {
Points [0, -60]
DstBlock "cossita"
DstPort 1
}
Branch {
DstBlock "sinsita"
DstPort 1
}
}
Line {
SrcBlock "G2"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [1, 2]
Position [585, 325, 625, 385]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem1"
Location [2, 74, 1014, 721]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [170, 123, 200, 137]
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "\n"
Ports [2, 1]
Position [495, 67, 515, 98]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "G3"
Position [80, 27, 125, 63]
Orientation "left"
Gain "lmp"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Omiga"
Ports [1, 1]
Position [240, 114, 265, 146]
IgnoreLimit off
}
Block {
BlockType Product
Name "P1"
Ports [2, 1]
Position [440, 122, 460, 153]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "P2"
Ports [2, 1]
Position [365, 217, 385, 248]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "P3"
Ports [2, 1]
Position [440, 57, 460, 88]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Theta"
Ports [1, 1]
Position [300, 114, 325, 146]
InitialCondition "0.01"
IgnoreLimit off
}
Block {
BlockType Trigonometry
Name "cos3"
Ports [1, 1]
Position [355, 70, 385, 90]
Operator "cos"
}
Block {
BlockType Trigonometry
Name "sin2"
Ports [1, 1]
Position [355, 119, 380, 141]
}
Block {
BlockType Outport
Name "Out1"
Position [25, 38, 55, 52]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [320, 190, 350, 205]
Orientation "down"
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -65]
DstBlock "P3"
DstPort 1
}
Branch {
DstBlock "Omiga"
DstPort 1
}
}
Line {
SrcBlock "\n"
SrcPort 1
Points [0, -40]
DstBlock "G3"
DstPort 1
}
Line {
SrcBlock "Theta"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "sin2"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "cos3"
DstPort 1
}
Branch {
DstBlock "Out2"
DstPort 1
}
}
Line {
SrcBlock "P2"
SrcPort 1
Points [15, 0; 0, -90]
DstBlock "P1"
DstPort 2
}
Line {
SrcBlock "sin2"
SrcPort 1
DstBlock "P1"
DstPort 1
}
Line {
SrcBlock "P3"
SrcPort 1
DstBlock "\n"
DstPort 1
}
Line {
SrcBlock "cos3"
SrcPort 1
DstBlock "P3"
DstPort 2
}
Line {
SrcBlock "P1"
SrcPort 1
Points [15, 0]
DstBlock "\n"
DstPort 2
}
Line {
SrcBlock "Omiga"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Theta"
DstPort 1
}
Branch {
Points [0, 95]
Branch {
DstBlock "P2"
DstPort 1
}
Branch {
Points [0, 15]
DstBlock "P2"
DstPort 2
}
}
}
Line {
SrcBlock "G3"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
Annotation {
Name "s2"
Position [504, 105]
UseDisplayTextAsClickCallback off
}
}
}
Block {
BlockType Gain
Name "c"
Position [260, 205, 290, 235]
Orientation "left"
Gain "c"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "s1"
Ports [3, 1]
Position [185, 117, 205, 173]
Inputs "++-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "x"
Ports [1, 1]
Position [420, 130, 450, 160]
IgnoreLimit off
}
Block {
BlockType Integrator
Name "xdot"
Ports [1, 1]
Position [340, 130, 370, 160]
IgnoreLimit off
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "s1"
DstPort 1
}
Line {
SrcBlock "G1"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "xdot"
DstPort 1
}
Branch {
Points [0, 40; -85, 0; 0, 155]
DstBlock "Subsystem"
DstPort 1
}
}
Line {
SrcBlock "xdot"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "x"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "c"
DstPort 1
}
}
Line {
Labels [0, 0]
SrcBlock "x"
SrcPort 1
DstBlock "Scope2"
DstPort 1
}
Line {
SrcBlock "c"
SrcPort 1
Points [-85, 0]
DstBlock "s1"
DstPort 3
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
Points [20, 0; 0, -75; -500, 0; 0, -120]
DstBlock "s1"
DstPort 2
}
Line {
SrcBlock "s1"
SrcPort 1
DstBlock "G1"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 1
DstBlock "Subsystem1"
DstPort 1
}
Line {
SrcBlock "Subsystem1"
SrcPort 2
Points [20, 0; 0, 140]
Branch {
DstBlock "Scope1"
DstPort 1
}
Branch {
Points [-425, 0; 0, -140]
DstBlock "Subsystem"
DstPort 2
}
}
Annotation {
Name "F"
Position [102, 152]
UseDisplayTextAsClickCallback off
}
Annotation {
Position [839, 310]
UseDisplayTextAsClickCallback off
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -