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

This class implements a Parallel Code Phase Search Acquisition that uses the FPGA. More...

#include <pcps_acquisition_fpga.h>

Public Member Functions

 ~pcps_acquisition_fpga ()=default
 Destructor. 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...
 
uint32_t mag () const
 Returns the maximum peak of grid search. More...
 
void init ()
 Initializes acquisition algorithm. More...
 
void set_local_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_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...
 
void reset_acquisition ()
 This function triggers a HW reset of the FPGA PL. More...
 
void stop_acquisition ()
 stop the acquisition and the other FPGA modules. More...
 

Friends

pcps_acquisition_fpga_sptr pcps_make_acquisition_fpga (Acq_Conf_Fpga &conf_)
 

Detailed Description

This class implements a Parallel Code Phase Search Acquisition that uses the FPGA.

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

Definition at line 58 of file pcps_acquisition_fpga.h.

Constructor & Destructor Documentation

◆ ~pcps_acquisition_fpga()

pcps_acquisition_fpga::~pcps_acquisition_fpga ( )
default

Destructor.

Member Function Documentation

◆ init()

void pcps_acquisition_fpga::init ( )

Initializes acquisition algorithm.

◆ mag()

uint32_t pcps_acquisition_fpga::mag ( ) const
inline

Returns the maximum peak of grid search.

Definition at line 79 of file pcps_acquisition_fpga.h.

◆ reset_acquisition()

void pcps_acquisition_fpga::reset_acquisition ( )

This function triggers a HW reset of the FPGA PL.

◆ set_active()

void pcps_acquisition_fpga::set_active ( bool  active)

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

Parameters
active- bool that activates/deactivates the block.

◆ set_channel()

void pcps_acquisition_fpga::set_channel ( uint32_t  channel)
inline

Set acquisition channel unique ID.

Parameters
channel- receiver channel.

Definition at line 112 of file pcps_acquisition_fpga.h.

◆ set_channel_fsm()

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

Set channel fsm associated to this acquisition instance.

Definition at line 120 of file pcps_acquisition_fpga.h.

◆ set_doppler_center()

void pcps_acquisition_fpga::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 159 of file pcps_acquisition_fpga.h.

◆ set_doppler_max()

void pcps_acquisition_fpga::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 139 of file pcps_acquisition_fpga.h.

◆ set_doppler_step()

void pcps_acquisition_fpga::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 149 of file pcps_acquisition_fpga.h.

◆ set_gnss_synchro()

void pcps_acquisition_fpga::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 71 of file pcps_acquisition_fpga.h.

◆ set_local_code()

void pcps_acquisition_fpga::set_local_code ( )

Sets local code for PCPS acquisition algorithm.

◆ set_state()

void pcps_acquisition_fpga::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_fpga::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 130 of file pcps_acquisition_fpga.h.

◆ stop_acquisition()

void pcps_acquisition_fpga::stop_acquisition ( )

stop the acquisition and the other FPGA modules.


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