📄 four_pole_bw_lpf_100mhz.mdl
字号:
}
Block {
BlockType Inport
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Math
Operator "exp"
OutputSignalType "auto"
SampleTime "-1"
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType MATLABFcn
MATLABFcn "sin"
OutputDimensions "-1"
OutputSignalType "auto"
Output1D on
SampleTime "-1"
}
Block {
BlockType Merge
Inputs "2"
InitialOutput "[]"
AllowUnequalInputPortWidths off
InputPortOffsets "[]"
}
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 PMComponent
SubClassName "unknown"
}
Block {
BlockType PMIOPort
}
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 Selector
InputType "Vector"
IndexMode "One-based"
ElementSrc "Internal"
Elements "1"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "-1"
IndexIsStartValue off
OutputPortSize "1"
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
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 Switch
Criteria "u2 >= Threshold"
Threshold "0"
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Terminator
}
Block {
BlockType ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
FixptAsFi off
}
Block {
BlockType UniformRandomNumber
Minimum "-1"
Maximum "1"
Seed "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType ZeroOrderHold
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 "four_pole_bw_lpf_100mhz"
Location [112, 113, 918, 426]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "100 MHz 4 pole Butterworth LPF"
Ports [0, 0, 0, 0, 0, 2, 2]
Position [390, 41, 490, 99]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "100 MHz 4 pole Butterworth LPF"
Location [306, 42, 886, 382]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "150 nh"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [140, 26, 210, 54]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "150*1e-9"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "22 pf"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [96, 70, 124, 140]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "2e-9"
Capacitance "22e-12"
Measurements "None"
}
Block {
BlockType Reference
Name "56nh"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [275, 26, 345, 54]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "56*1e-9"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "56pf"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [226, 70, 254, 140]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "2e-9"
Capacitance "56e-12"
Measurements "None"
}
Block {
BlockType PMIOPort
Name "Conn1"
Position [45, 33, 75, 47]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "Conn2"
Position [35, 168, 65, 182]
Port "2"
Side "Left"
}
Block {
BlockType PMIOPort
Name "Conn3"
Position [380, 33, 410, 47]
Orientation "left"
Port "3"
Side "Right"
}
Block {
BlockType PMIOPort
Name "Conn4"
Position [390, 168, 420, 182]
Orientation "left"
Port "4"
Side "Right"
}
Line {
LineType "Connection"
SrcBlock "Conn1"
SrcPort RConn1
Points [0, 0; 20, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "150 nh"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "22 pf"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Conn3"
SrcPort RConn1
DstBlock "56nh"
DstPort RConn1
}
Line {
LineType "Connection"
Points [110, 175; 130, 0]
Branch {
ConnectType "SRC_SRC"
DstBlock "Conn2"
DstPort RConn1
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "22 pf"
SrcPort RConn1
Points [0, 20]
}
Branch {
ConnectType "DEST_SRC"
Points [105, 0]
DstBlock "Conn4"
DstPort RConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "56pf"
SrcPort RConn1
Points [0, 20]
}
}
Line {
LineType "Connection"
SrcBlock "56pf"
SrcPort LConn1
Points [0, 0; 0, -15]
Branch {
ConnectType "DEST_SRC"
DstBlock "56nh"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "150 nh"
SrcPort RConn1
Points [15, 0]
}
}
}
}
Block {
BlockType Reference
Name "Base Band RFNA1"
Description "Spectrum Analyzer"
Ports [1, 0, 0, 0, 0, 0, 2]
Position [175, 38, 240, 107]
LinkData {
BlockName "Sxy"
DialogParameters {
OpenScopeImmediately "off"
YMin "-113.234380732917"
YMax "5.06039077674614"
}
}
SourceBlock "simpower_extensions_1/Base Band RFNA1"
SourceType ""
ShowPortLabels on
BW "1.2e9"
Frame_Size "256"
}
Block {
BlockType Reference
Name "Ground2"
Ports [0, 0, 0, 0, 0, 1]
Position [329, 165, 351, 190]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Terminator
Name "Term"
Position [705, 50, 725, 70]
}
Block {
BlockType Reference
Name "VM"
Ports [0, 1, 0, 0, 0, 2]
Position [635, 48, 660, 72]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Constant
Name "port swap"
Position [70, 64, 125, 86]
}
Line {
LineType "Connection"
SrcBlock "VM"
SrcPort LConn1
Points [0, 0; -15, 0]
Branch {
ConnectType "DEST_SRC"
Points [0, 150; -330, 0; 0, -115]
DstBlock "Base Band RFNA1"
DstPort RConn2
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "100 MHz 4 pole Butterworth LPF"
SrcPort RConn1
Points [100, 0]
}
}
Line {
LineType "Connection"
Points [340, 135; 235, 0; 0, -50]
Branch {
ConnectType "SRC_DEST"
SrcBlock "Ground2"
SrcPort LConn1
Points [0, -15]
}
Branch {
ConnectType "SRC_SRC"
Points [0, -50]
DstBlock "100 MHz 4 pole Butterworth LPF"
DstPort LConn2
}
Branch {
ConnectType "DEST_SRC"
Points [0, -20]
DstBlock "VM"
DstPort LConn2
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "100 MHz 4 pole Butterworth LPF"
SrcPort RConn2
Points [70, 0]
}
}
Line {
SrcBlock "port swap"
SrcPort 1
DstBlock "Base Band RFNA1"
DstPort 1
}
Line {
SrcBlock "VM"
SrcPort 1
DstBlock "Term"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Base Band RFNA1"
SrcPort RConn1
DstBlock "100 MHz 4 pole Butterworth LPF"
DstPort LConn1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -