📄 tiaopinn4.mdl
字号:
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [510, 270, 550, 300]
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [595, 356, 630, 394]
SampleTime "1"
}
Block {
BlockType SubSystem
Name "channel"
Ports [0, 0, 0, 0, 0]
Position [392, 239, 561, 407]
Orientation "left"
ForegroundColor "gray"
ShowPortLabels on
MaskDisplay "disp(' ')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "channel"
Location [360, 145, 485, 217]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType SubSystem
Name "filter in receiver"
Ports [0, 0, 0, 0, 0]
Position [783, 247, 946, 391]
Orientation "left"
ForegroundColor "gray"
ShowPortLabels on
MaskDisplay "disp(' ')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "filter in receiver"
Location [368, 137, 493, 209]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType SubSystem
Name "frenquency"
Ports [1, 1, 0, 0, 0]
Position [245, 278, 325, 312]
ShowPortLabels on
MaskType "Passband FSK modulation"
MaskDescription "Modulate the input digital signal using M-ary f"
"requency shift keying method."
MaskHelp "This block modulates a digital signal using FSK"
" method. The modulation resets the modulation phase to be the specified initi"
"al phase at the beginning of each digit. Tone space is the frequency distance"
" between two consecutive digits after modulation. The output signal has its f"
"requency in the range [Fc, Fc + Tone_space*Max_In_Value], where Fc is the car"
"rier frequency."
MaskPromptString "Tone space(Hz):|Symbol interval (sec):|Carrier "
"frequency (Hz):|Initial phase (rad):|Sample time (sec):"
MaskStyleString "edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on"
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskVariables "Ton=@1;td=@2;Fc=@3;Ph=@4;ts=@5;"
MaskDisplay "disp('pinlvhechengqi')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "32/.1/5|0.1|100|0|0.001"
System {
Name "frenquency"
Location [360, 100, 706, 247]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "in_1"
Position [15, 60, 35, 80]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Reference
Name "FM\npassband"
Ports [1, 1, 0, 0, 0]
Position [185, 48, 265, 92]
SourceBlock "commanapbnd/FM\npassband"
SourceType "Passband FM"
Fc "Fc"
Ph "Ph"
HzPerV "1"
ts "ts"
td "td"
}
Block {
BlockType Reference
Name "MFSK map"
Ports [1, 1, 0, 0, 0]
Position [75, 48, 155, 92]
SourceBlock "commdigbbnd/MFSK mod\nbaseband/MFSK map"
SourceType "MFSK map"
Ton "Ton"
td "td"
}
Block {
BlockType Outport
Name "out_1"
Position [290, 60, 310, 80]
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
Line {
SrcBlock "MFSK map"
SrcPort 1
DstBlock "FM\npassband"
DstPort 1
}
Line {
SrcBlock "FM\npassband"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "MFSK map"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "frequency1"
Ports [1, 1, 0, 0, 0]
Position [630, 294, 705, 326]
ShowPortLabels on
MaskType "Passband MPSK demodulation"
MaskDescription "Demodulate a MFSK modulated signal using noncoh"
"erent method."
MaskHelp "This block demodulates a MFSK modulated signal "
"using noncoherent method. The tone space is the frequency distance between tw"
"o consecutive after the modulation. The inputs are integers in the range [0, "
"M-1], where M is the M-ary number. When the symbol interval is a two-element "
"vector, the second element is the offset (default 0)."
MaskPromptString "M-ary number (output digits in range [0, M-1]):"
"|Tone space (Hz):|Symbol interval (sec):|Carrier frequency (Hz):|Initial phas"
"e (rad):|Sample time (sec):"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskVariables "M=@1;Ton=@2;td=@3;Fc=@4;Ph=@5;ts=@6;"
MaskDisplay "disp('pinlvhechengqi')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "32|32/.1/5|0.1|100|0|0.001"
System {
Name "frequency1"
Location [360, 100, 817, 283]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "in_1"
Position [25, 80, 45, 100]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Reference
Name "Min/max index"
Ports [1, 1, 0, 0, 0]
Position [230, 68, 310, 112]
ShowName off
SourceBlock "commdigbbnd/Coh MFSK\ndemod baseband/Min//m"
"ax index"
SourceType "Maximum/minimum index."
td "td"
mima "'max'"
}
Block {
BlockType SubSystem
Name "Non-coh MFSK dm\ncorr passband"
Ports [1, 1, 0, 0, 0]
Position [105, 68, 185, 112]
ShowPortLabels on
MaskType "Passband non-coherent MFSK correlation"
MaskDescription "Compute MFSK correlation. Take MFSK modulat"
"ed signal. Output a vector of correlation result."
MaskHelp "This block calculates the noncoherent corre"
"lation value of the input signal with a vector of sinusoidal signals. These s"
"inusoidal signals have their frequency the same as that of FM modulated signa"
"l of possible resulting digits. The output is an M length vector. M is the M-"
"ary number. The MFSK demodulation result is the index of the largest output, "
"using the Min/max demap block."
MaskPromptString "M-ary number (input in range [0, M-1]):|Ton"
"e space (Hz):|Symbol interval and offset (sec):|Carrier frequency (Hz):|Initi"
"al phase (rad):|Sample time (sec):"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskVariables "N=@1;Ton=@2;td=@3;Ph=@5;ts=@6;"
MaskInitialization "pi2=2*pi;Fc=@4*pi2;sft=[0:N-1]*Ton*pi2;"
MaskDisplay "disp('Noncoh corr\\nMFSK dm')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "M|Ton|td|Fc|Ph|ts"
System {
Name "Non-coh MFSK dm\ncorr passband"
Location [410, 150, 1195, 394]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "in_1"
Position [410, 35, 430, 55]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType "S-Function"
Name "Array sin"
Ports [1, 1, 0, 0, 0]
Position [390, 80, 440, 100]
FunctionName "arysin"
Parameters "'cos'"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType Clock
Name "Clock"
Position [15, 145, 35, 165]
DisplayTime off
Decimation "10"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2, 0, 0, 0]
Position [640, 65, 680, 100]
Outputs "[N N]"
}
Block {
BlockType Gain
Name "Gain"
Position [65, 145, 85, 165]
Gain "Fc"
SaturateOnIntegerOverflow on
}
Block {
BlockType Constant
Name "Initial phase"
Position [60, 98, 80, 122]
Value "Ph"
}
Block {
BlockType Constant
Name "Initial phase1"
Position [255, 143, 275, 167]
Value "Ph"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1, 0, 0, 0]
Position [345, 68, 375, 112]
Inputs "[N N]"
DisplayOption "none"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [460, 66, 485, 99]
Inputs "2"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1, 0, 0, 0]
Position [595, 66, 620, 99]
Inputs "2"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "Scheduled\nreset-int2"
Ports [1, 1, 0, 0, 0]
Position [115, 21, 175, 69]
ShowName off
SourceBlock "commutil/Scheduled\nreset-int"
SourceType "Scheduled reset integration"
td "td"
ts "ts"
limit "Inf"
}
Block {
BlockType Reference
Name "Scheduled\nreset-int3"
Ports [1, 1, 0, 0, 0]
Position [500, 61, 560, 109]
ShowName off
SourceBlock "commutil/Scheduled\nreset-int"
SourceType "Scheduled reset integration"
td "td"
ts "ts"
limit "Inf"
}
Block {
BlockType Constant
Name "Shift key"
Position [40, 33, 60, 57]
Value "sft"
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1, 0, 0, 0]
Position [245, 60, 270, 100]
IconShape "rectangular"
Inputs "+++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1, 0, 0, 0]
Position [185, 145, 210, 180]
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1, 0, 0, 0]
Position [305, 103, 325, 132]
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1, 0, 0, 0]
Position [705, 68, 725, 97]
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -