📄 yundongkongzhi.mdl
字号:
}
Block {
BlockType Sin
SineType "Time based"
TimeSource "Use simulation time"
Amplitude "1"
Bias "0"
Frequency "1"
Phase "0"
Samples "10"
Offset "0"
SampleTime "-1"
VectorParams1D on
}
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"
}
Block {
BlockType Terminator
}
}
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 "yundongkongzhi"
Location [2, 82, 997, 726]
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 [750, 705, 780, 735]
Value "0"
}
Block {
BlockType Saturate
Name "Saturation"
Position [830, 705, 860, 735]
}
Block {
BlockType Scope
Name "Scope"
Ports [3]
Position [1165, 356, 1255, 534]
Floating off
Location [5, 34, 1033, 753]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-35~-35~-35"
YMax "35~35~35"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [1185, 663, 1245, 737]
Floating off
Location [5, 34, 1033, 753]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "600"
YMax "1600"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [1185, 558, 1245, 632]
Floating off
Location [5, 34, 1033, 753]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-111.88"
YMax "-111.79"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [3]
Position [1165, 146, 1255, 324]
Floating off
Location [5, 34, 1033, 753]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-35~-35~-35"
YMax "35~35~35"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope4"
Ports [3]
Position [190, 326, 280, 504]
Floating off
Location [5, 34, 1033, 753]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-225~-225~-225"
YMax "225~225~225"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope5"
Ports [2]
Position [345, 483, 410, 587]
Floating off
Location [5, 34, 1033, 753]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "-275~-275"
YMax "275~275"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [85, 145, 115, 175]
SineType "Time based"
Amplitude "220"
Frequency "50"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [80, 195, 110, 225]
SineType "Time based"
Amplitude "220"
Frequency "50"
Phase "2.1"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave2"
Ports [0, 1]
Position [80, 245, 110, 275]
SineType "Time based"
Amplitude "220"
Frequency "50"
Phase "4.2"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [5, 2]
Position [970, 587, 1070, 733]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem"
Location [219, 458, 829, 659]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ia1"
Position [25, 28, 55, 42]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ib2"
Position [25, 63, 55, 77]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ib1"
Position [25, 93, 55, 107]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ia2"
Position [25, 128, 55, 142]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "tl"
Position [25, 163, 55, 177]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [265, 64, 310, 111]
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [345, 109, 390, 156]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [190, 115, 220, 145]
Gain "1.1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [190, 35, 220, 65]
Gain "1.1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [425, 120, 455, 150]
Gain "-0.8"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [485, 120, 515, 150]
IgnoreLimit off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [115, 32, 145, 63]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [115, 112, 145, 143]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "te"
Position [555, 83, 585, 97]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "w"
Position [555, 128, 585, 142]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "ia1"
SrcPort 1
Points [20, 0; 0, 5]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "ib2"
SrcPort 1
Points [20, 0; 0, -15]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "ib1"
SrcPort 1
Points [20, 0; 0, 20]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "ia2"
SrcPort 1
Points [0, 0]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "tl"
SrcPort 1
Points [270, 0]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [25, 0]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [25, 0]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, 30]
DstBlock "Add1"
DstPort 1
}
Branch {
DstBlock "te"
DstPort 1
}
}
Line {
SrcBlock "Add1"
SrcPort 1
Points [0, 0]
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [0, 0]
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0]
DstBlock "w"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [2, 3]
Position [990, 355, 1105, 535]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem1"
Location [61, 174, 511, 441]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ia2"
Position [25, 33, 55, 47]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ib2"
Position [20, 118, 50, 132]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [230, 75, 275, 135]
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [230, 155, 275, 215]
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [335, 25, 365, 55]
Gain "0.82"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [335, 90, 365, 120]
Gain "0.82"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -