📄 c8mmras1.mdl
字号:
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
IgnoreLimit off
ZeroCross on
}
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 Product
Inputs "2"
Multiplication "Element-wise(.*)"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType SignalGenerator
WaveForm "sine"
TimeSource "Use simulation time"
Amplitude "1"
Frequency "1"
Units "Hertz"
VectorParams1D 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"
}
Block {
BlockType TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
}
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 "c8mmras1"
Location [76, 111, 828, 496]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "portrait"
PaperPositionMode "auto"
PaperType "a4letter"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Constant
Name "Constant"
Position [35, 225, 65, 250]
Orientation "down"
ShowName off
FontName "Times New Roman"
FontSize 14
Value "b01"
}
Block {
BlockType Gain
Name "Gain"
Position [435, 65, 480, 95]
ShowName off
FontName "Times New Roman"
FontSize 14
Gain "d0"
}
Block {
BlockType Gain
Name "Gain1"
Position [435, 116, 480, 144]
ShowName off
FontName "Times New Roman"
FontSize 14
Gain "d1"
}
Block {
BlockType Gain
Name "Gain2"
Position [115, 64, 165, 96]
ShowName off
FontName "Times New Roman"
FontSize 14
Gain "b0"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [315, 63, 345, 97]
ShowName off
FontName "Times New Roman"
FontSize 14
IgnoreLimit off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [445, 250, 470, 270]
Orientation "left"
FontName "Times New Roman"
FontSize 14
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [130, 180, 155, 200]
FontName "Times New Roman"
FontSize 14
}
Block {
BlockType SignalGenerator
Name "Signal Gen."
Ports [0, 1]
Position [25, 63, 70, 97]
FontName "Times New Roman"
FontSize 14
WaveForm "square"
Amplitude "10.000000"
Frequency "1.000000"
Units "rad/sec"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [395, 70, 415, 90]
ShowName off
FontName "Times New Roman"
FontSize 14
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [395, 120, 415, 140]
ShowName off
FontName "Times New Roman"
FontSize 14
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [185, 70, 205, 90]
ShowName off
FontName "Times New Roman"
FontSize 14
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [185, 180, 205, 200]
ShowName off
FontName "Times New Roman"
FontSize 14
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [495, 120, 515, 140]
ShowName off
FontName "Times New Roman"
FontSize 14
IconShape "round"
Inputs "++|"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [285, 250, 305, 270]
Orientation "left"
ShowName off
FontName "Times New Roman"
FontSize 14
IconShape "round"
Inputs "|++"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [225, 61, 290, 99]
ShowName off
FontName "Times New Roman"
FontSize 14
Denominator "[a2 a1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [220, 166, 365, 214]
ShowName off
FontName "Times New Roman"
FontSize 14
Numerator "[7 24 24]"
Denominator "[1 10 35 50 24]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [340, 240, 415, 280]
Orientation "left"
FontName "Times New Roman"
FontSize 14
Numerator "[k2 k1]"
Denominator "[1 0]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn3"
Position [400, 170, 465, 210]
FontName "Times New Roman"
FontSize 14
Numerator "[1 0]"
Denominator "[0.01 1]"
}
Block {
BlockType Outport
Name "Out1"
Position [485, 13, 515, 27]
ShowName off
FontName "Times New Roman"
FontSize 14
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [485, 48, 515, 62]
ShowName off
FontName "Times New Roman"
FontSize 14
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Integrator"
DstPort 1
}
Branch {
Points [0, 0; 0, 50]
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 35; -160, 0]
DstBlock "Sum2"
DstPort 2
}
Branch {
Points [0, -60]
DstBlock "Out1"
DstPort 1
}
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 45; -180, 0]
DstBlock "Sum3"
DstPort 2
}
Branch {
Points [0, 0]
Branch {
Points [0, -85]
Branch {
Points [-10, 0; 0, -50]
DstBlock "Out2"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 2
}
}
Branch {
DstBlock "Transfer Fcn3"
DstPort 1
}
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [20, 0]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [10, 0; 0, 125]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Transfer Fcn2"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
DstBlock "Sum5"
DstPort 1
}
Line {
SrcBlock "Signal Gen."
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, 230; 410, 0; 0, -45]
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 105]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, 35; 245, 0]
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "Sum5"
SrcPort 1
Points [-170, 0; 0, -65]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Transfer Fcn3"
SrcPort 1
Points [5, 0; 0, -35]
DstBlock "Sum1"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -