Dynamic Channel Model: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Created page with "Category:Block Docs Category:Stub Docs This is the template for the "Page-per-block Docs". This first section should describe what the block...")
 
No edit summary
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
[[Category:Stub Docs]]
The dynamic channel model is a hier block consisting of the following effects:
This is the template for the [[:Category:Block_Docs|"Page-per-block Docs"]].  This first section should describe what the block does and how to use it, using however many paragraphs necessary.  Note that the title of the wiki page should match the block's name in GRC, i.e. the one defined in the block's .grc file.  Look at the [[FFT]] Block for a good example.
* Dynamic Frequency Selective Fading Channel
* Dynamic Center Frequency Offset Model
* Dynamic Sample Rate Offset Model
* Additive White Gaussian Noise


As this is a basic template, it's also in the [[:Category:Stub_Docs|"Stub Docs category"]]. Please improve it.
The desired power delay profile and max doppler frequency may be provided to achieve the desired Ricean or Rayleigh fading scenario.  For center frequency and sample rate offset models, a gaussian random walk process is conducted for each.  The single sample step variance and maximum deviation for these two processes is specified and may be modified to simulate various desired stability effects.  Lastly AWGN is added to simulate a typical receiver/thermal noise floor after propagation, and the variance may be modified here as desired.
 
This model allows the user to set up an AWGN noise cource, a random walk process to simulate carrier frequency drift, a random walk process to simulate sample rate offset drive, and a frequency selective fading channel response that is either Rayleigh or Ricean for a user specified power delay profile.


== Parameters ==
== Parameters ==
(''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span>
(''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span>


; Param 1 (''R'')
; samp_rate (''R'')
: Description of parameter, provide any tips or recommended values.  Note that the name of the parameter above should match the param's label that shows up in grc (e.g. Sample Rate).
: Input sample rate in Hz
 
; cfo_std_dev (''R'')
: carrier frequnecy drift process standard deviation per sample in Hz
 
; cfo_max_dev (''R'')
: maximum carrier frequency offset in Hz
 
; sro_std_dev (''R'')
: sample rate drift process standard deviation per sample in Hz
 
; sro_max_dev (''R'')
: maximum sample rate offset in Hz
 
; noise_amp (''R'')
: Specifies the standard deviation of the AWGN process
 
; N (''R'')
: number of sinusoids used in frequency selective fading simulation
 
; doppler_freq (''R'')
: maximum doppler frequency used in fading simulation in Hz
 
; LOS_model
: defines whether the fading model should include a line of site component. LOS->Rician, NLOS->Rayleigh
 
; K
: (Only if Rician is chosen above) Rician K-factor, the ratio of specular to diffuse power in the model
 
; noise_seed
: A random number generator seed for the noise source.
 
; delays
: A list of fractional sample delays making up the power delay profile
 
; mags
: A list of magnitudes corresponding to each delay time in the power delay profile


; Param 2
; ntaps_mpath
: blah blah blah
: The length of the filter to interpolate the power delay profile over. Delays in the PDP must lie between 0 and ntaps_mpath, fractional delays will be sinc-interpolated only to the width of this filter.


== Example Flowgraph ==
== Example Flowgraph ==

Revision as of 00:49, 18 August 2019

The dynamic channel model is a hier block consisting of the following effects:

  • Dynamic Frequency Selective Fading Channel
  • Dynamic Center Frequency Offset Model
  • Dynamic Sample Rate Offset Model
  • Additive White Gaussian Noise

The desired power delay profile and max doppler frequency may be provided to achieve the desired Ricean or Rayleigh fading scenario. For center frequency and sample rate offset models, a gaussian random walk process is conducted for each. The single sample step variance and maximum deviation for these two processes is specified and may be modified to simulate various desired stability effects. Lastly AWGN is added to simulate a typical receiver/thermal noise floor after propagation, and the variance may be modified here as desired.

This model allows the user to set up an AWGN noise cource, a random walk process to simulate carrier frequency drift, a random walk process to simulate sample rate offset drive, and a frequency selective fading channel response that is either Rayleigh or Ricean for a user specified power delay profile.

Parameters

(R): Run-time adjustable

samp_rate (R)
Input sample rate in Hz
cfo_std_dev (R)
carrier frequnecy drift process standard deviation per sample in Hz
cfo_max_dev (R)
maximum carrier frequency offset in Hz
sro_std_dev (R)
sample rate drift process standard deviation per sample in Hz
sro_max_dev (R)
maximum sample rate offset in Hz
noise_amp (R)
Specifies the standard deviation of the AWGN process
N (R)
number of sinusoids used in frequency selective fading simulation
doppler_freq (R)
maximum doppler frequency used in fading simulation in Hz
LOS_model
defines whether the fading model should include a line of site component. LOS->Rician, NLOS->Rayleigh
K
(Only if Rician is chosen above) Rician K-factor, the ratio of specular to diffuse power in the model
noise_seed
A random number generator seed for the noise source.
delays
A list of fractional sample delays making up the power delay profile
mags
A list of magnitudes corresponding to each delay time in the power delay profile
ntaps_mpath
The length of the filter to interpolate the power delay profile over. Delays in the PDP must lie between 0 and ntaps_mpath, fractional delays will be sinc-interpolated only to the width of this filter.

Example Flowgraph

Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
TODO