GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Public Member Functions | Friends | List of all members
pcps_acquisition Class Reference

This class implements a Parallel Code Phase Search Acquisition. More...

#include <pcps_acquisition.h>

Inheritance diagram for pcps_acquisition:

Public Member Functions

void init ()
 Initializes acquisition algorithm and reserves memory. More...
 
void set_gnss_synchro (Gnss_Synchro *p_gnss_synchro)
 Set acquisition/tracking common Gnss_Synchro object pointer to exchange synchronization data between acquisition and tracking blocks. More...
 
void set_local_code (std::complex< float > *code)
 Sets local code for PCPS acquisition algorithm. More...
 
void set_state (int32_t state)
 If set to 1, ensures that acquisition starts at the first available sample. More...
 
void set_resampler_latency (uint32_t latency_samples)
 
uint32_t mag () const
 Returns the maximum peak of grid search. More...
 
void set_active (bool active)
 Starts acquisition algorithm, turning from standby mode to active mode. More...
 
void set_channel (uint32_t channel)
 Set acquisition channel unique ID. More...
 
void set_channel_fsm (std::weak_ptr< ChannelFsm > channel_fsm)
 Set channel fsm associated to this acquisition instance. More...
 
void set_threshold (float threshold)
 Set statistics threshold of PCPS algorithm. More...
 
void set_doppler_max (uint32_t doppler_max)
 Set maximum Doppler grid search. More...
 
void set_doppler_step (uint32_t doppler_step)
 Set Doppler steps for the grid search. More...
 
void set_doppler_center (int32_t doppler_center)
 Set Doppler center frequency for the grid search. It will refresh the Doppler grid. More...
 
int general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) override
 Parallel Code Phase Search Acquisition signal processing. More...
 

Friends

pcps_acquisition_sptr pcps_make_acquisition (const Acq_Conf &conf_)
 

Detailed Description

This class implements a Parallel Code Phase Search Acquisition.

Check An Open Source Galileo E1 Software Receiver, Algorithm 1, for a pseudocode description of this implementation.

Definition at line 92 of file pcps_acquisition.h.

Member Function Documentation

◆ general_work()

int pcps_acquisition::general_work ( int  noutput_items,
gr_vector_int &  ninput_items,
gr_vector_const_void_star &  input_items,
gr_vector_void_star &  output_items 
)
override

Parallel Code Phase Search Acquisition signal processing.

◆ init()

void pcps_acquisition::init ( )

Initializes acquisition algorithm and reserves memory.

◆ mag()

uint32_t pcps_acquisition::mag ( ) const
inline

Returns the maximum peak of grid search.

Definition at line 131 of file pcps_acquisition.h.

◆ set_active()

void pcps_acquisition::set_active ( bool  active)
inline

Starts acquisition algorithm, turning from standby mode to active mode.

Parameters
active- bool that activates/deactivates the block.

Definition at line 141 of file pcps_acquisition.h.

◆ set_channel()

void pcps_acquisition::set_channel ( uint32_t  channel)
inline

Set acquisition channel unique ID.

Parameters
channel- receiver channel.

Definition at line 151 of file pcps_acquisition.h.

◆ set_channel_fsm()

void pcps_acquisition::set_channel_fsm ( std::weak_ptr< ChannelFsm channel_fsm)
inline

Set channel fsm associated to this acquisition instance.

Definition at line 159 of file pcps_acquisition.h.

◆ set_doppler_center()

void pcps_acquisition::set_doppler_center ( int32_t  doppler_center)
inline

Set Doppler center frequency for the grid search. It will refresh the Doppler grid.

Parameters
doppler_center- Frequency center of the search grid [Hz].

Definition at line 199 of file pcps_acquisition.h.

◆ set_doppler_max()

void pcps_acquisition::set_doppler_max ( uint32_t  doppler_max)
inline

Set maximum Doppler grid search.

Parameters
doppler_max- Maximum Doppler shift considered in the grid search [Hz].

Definition at line 179 of file pcps_acquisition.h.

◆ set_doppler_step()

void pcps_acquisition::set_doppler_step ( uint32_t  doppler_step)
inline

Set Doppler steps for the grid search.

Parameters
doppler_step- Frequency bin of the search grid [Hz].

Definition at line 189 of file pcps_acquisition.h.

◆ set_gnss_synchro()

void pcps_acquisition::set_gnss_synchro ( Gnss_Synchro p_gnss_synchro)
inline

Set acquisition/tracking common Gnss_Synchro object pointer to exchange synchronization data between acquisition and tracking blocks.

Parameters
p_gnss_synchroSatellite information shared by the processing blocks.

Definition at line 107 of file pcps_acquisition.h.

◆ set_local_code()

void pcps_acquisition::set_local_code ( std::complex< float > *  code)

Sets local code for PCPS acquisition algorithm.

Parameters
code- Pointer to the PRN code.

◆ set_state()

void pcps_acquisition::set_state ( int32_t  state)

If set to 1, ensures that acquisition starts at the first available sample.

Parameters
state- int=1 forces start of acquisition

◆ set_threshold()

void pcps_acquisition::set_threshold ( float  threshold)
inline

Set statistics threshold of PCPS algorithm.

Parameters
threshold- Threshold for signal detection (check Navitec2012, Algorithm 1, for a definition of this threshold).

Definition at line 169 of file pcps_acquisition.h.


The documentation for this class was generated from the following file: