📄 ofdm_pts.mdl
字号:
DstPort 1
}
Line {
SrcBlock "Complex\nExponential"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Complex\nExponential"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [850, 303, 880, 317]
BackgroundColor "green"
}
Line {
SrcBlock "Signal"
SrcPort 1
DstBlock "Multiport\nSelector"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector1"
SrcPort 1
Points [40, 0; 0, -115]
DstBlock "rotate phase"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector1"
SrcPort 3
Points [55, 0; 0, 70]
DstBlock "rotate phase2"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector1"
SrcPort 4
Points [40, 0; 0, 170]
DstBlock "rotate phase3"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector1"
SrcPort 2
Points [55, 0; 0, -25]
DstBlock "rotate phase1"
DstPort 1
}
Line {
SrcBlock "Phase"
SrcPort 1
DstBlock "Multiport\nSelector1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [95, 0; 0, 115]
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [80, 0; 0, 45]
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [80, 0; 0, -30]
DstBlock "Matrix\nConcatenation"
DstPort 3
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [95, 0; 0, -110]
DstBlock "Matrix\nConcatenation"
DstPort 4
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 2
Points [170, 0; 0, -325]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 3
Points [190, 0; 0, -245]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 1
Points [145, 0; 0, -400]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 4
Points [215, 0; 0, -160]
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "rotate phase3"
SrcPort 1
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "rotate phase2"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "rotate phase1"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "rotate phase"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Annotation {
Name "对收到的频域符号进行分块"
Position [173, 684]
BackgroundColor "lightBlue"
DropShadow on
FontName "Arial"
FontSize 11
}
Annotation {
Name "取出各分块旋转角度"
Position [128, 384]
BackgroundColor "lightBlue"
DropShadow on
FontName "Arial"
FontSize 11
}
Annotation {
Name "对各分块进行旋转"
Position [543, 84]
BackgroundColor "lightBlue"
DropShadow on
FontName "Arial"
FontSize 11
}
Annotation {
Name "恢复原始为OFDM符号"
Position [783, 434]
BackgroundColor "lightBlue"
DropShadow on
FontName "Arial"
FontSize 11
}
}
}
Block {
BlockType Reference
Name "Delay Line2"
Ports [1, 1]
Position [515, 315, 575, 365]
Orientation "down"
BackgroundColor "orange"
SourceBlock "dspbuff3/Delay Line"
SourceType "Delay Line"
siz "4"
ic "2"
}
Block {
BlockType DigitalClock
Name "Digital Clock"
Position [235, 122, 295, 138]
ShowName off
SampleTime "8e-5"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [400, 288, 490, 352]
BackgroundColor "orange"
Decimation "1"
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [575, 115, 665, 145]
BackgroundColor "cyan"
Decimation "1"
}
Block {
BlockType Display
Name "Display2"
Ports [1]
Position [335, 118, 410, 142]
ShowName off
FontSize 9
Decimation "1"
}
Block {
BlockType Reference
Name "Error Rate\nCalculation"
Ports [2, 1]
Position [255, 292, 330, 343]
BackgroundColor "orange"
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "128"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "FFT"
Ports [1, 1]
Position [670, 450, 710, 480]
Orientation "left"
BackgroundColor "orange"
NamePlacement "alternate"
SourceBlock "dspxfrm3/FFT"
SourceType "FFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [320, 439, 370, 471]
Orientation "left"
BackgroundColor "orange"
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Frame-based"
}
Block {
BlockType SubSystem
Name "PAR"
Ports [1]
Position [665, 239, 725, 281]
BackgroundColor "orange"
TreatAsAtomicUnit off
MaskDisplay "disp('PAR')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "PAR"
Location [0, 82, 788, 575]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [75, 103, 105, 117]
BackgroundColor "green"
}
Block {
BlockType Abs
Name "Abs"
Position [350, 95, 380, 125]
BackgroundColor "yellow"
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [210, 95, 260, 125]
BackgroundColor "yellow"
NamePlacement "alternate"
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [470, 95, 530, 125]
BackgroundColor "yellow"
FunctionName "ofdmpar"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [595, 95, 655, 125]
BackgroundColor "lightBlue"
VariableName "par_PTS"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [205, 155, 305, 195]
BackgroundColor "lightBlue"
VariableName "ofdm_signal_PTS"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "To Workspace"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 65]
DstBlock "To Workspace1"
DstPort 1
}
Branch {
DstBlock "Frame Status\nConversion"
DstPort 1
}
}
Line {
SrcBlock "Abs"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "Abs"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "PTS"
Ports [1, 2]
Position [430, 204, 530, 246]
BackgroundColor "orange"
TreatAsAtomicUnit off
MaskDisplay "disp('PTS');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "PTS"
Location [2, 82, 790, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Signal_in"
Position [15, 153, 45, 167]
BackgroundColor "green"
}
Block {
BlockType Reference
Name "IFFT"
Ports [1, 1]
Position [550, 84, 590, 116]
BackgroundColor "yellow"
SourceBlock "dspxfrm3/IFFT"
SourceType "IFFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
cs_in off
SkipNorm off
mode "Real"
}
Block {
BlockType Reference
Name "IFFT1"
Ports [1, 1]
Position [550, 139, 590, 171]
BackgroundColor "yellow"
SourceBlock "dspxfrm3/IFFT"
SourceType "IFFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
cs_in off
SkipNorm off
mode "Real"
}
Block {
BlockType Reference
Name "IFFT2"
Ports [1, 1]
Position [550, 209, 590, 241]
BackgroundColor "yellow"
SourceBlock "dspxfrm3/IFFT"
SourceType "IFFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
cs_in off
SkipNorm off
mode "Real"
}
Block {
BlockType Reference
Name "IFFT3"
Ports [1, 1]
Position [550, 274, 590, 306]
BackgroundColor "yellow"
SourceBlock "dspxfrm3/IFFT"
SourceType "IFFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
cs_in off
SkipNorm off
mode "Real"
}
Block {
BlockType Reference
Name "Multiport\nSelector"
Ports [1, 4]
Position [90, 138, 170, 182]
BackgroundColor "orange"
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "{1:16,17:32,33:48,49:64}"
idxErrMode "Clip Index"
}
Block {
BlockType SubSystem
Name "Solve Maximal Phase"
Ports [4, 2]
Position [655, 156, 770, 219]
BackgroundColor "cyan"
TreatAsAtomicUnit off
MaskDisplay "disp('Solve Maximal Phase');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Solve Maximal Phase"
Location [2, 82, 773, 532]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -