2018-06-19 09:36:15 +00:00
|
|
|
/*!
|
|
|
|
* \file dll_pll_conf.h
|
|
|
|
* \brief Class that contains all the configuration parameters for generic tracking block based on a DLL and a PLL.
|
|
|
|
* \author Javier Arribas, 2018. jarribas(at)cttc.es
|
|
|
|
*
|
|
|
|
* Class that contains all the configuration parameters for generic tracking block based on a DLL and a PLL.
|
|
|
|
*
|
|
|
|
* -------------------------------------------------------------------------
|
|
|
|
*
|
2019-07-26 10:38:20 +00:00
|
|
|
* Copyright (C) 2010-2019 (see AUTHORS file for a list of contributors)
|
2018-06-19 09:36:15 +00:00
|
|
|
*
|
|
|
|
* GNSS-SDR is a software defined Global Navigation
|
|
|
|
* Satellite Systems receiver
|
|
|
|
*
|
|
|
|
* This file is part of GNSS-SDR.
|
|
|
|
*
|
2020-02-08 00:20:02 +00:00
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2018-06-19 09:36:15 +00:00
|
|
|
*
|
|
|
|
* -------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
2020-02-08 09:10:46 +00:00
|
|
|
#ifndef GNSS_SDR_DLL_PLL_CONF_H
|
|
|
|
#define GNSS_SDR_DLL_PLL_CONF_H
|
2018-06-19 09:36:15 +00:00
|
|
|
|
2020-02-19 23:07:03 +00:00
|
|
|
#include "configuration_interface.h"
|
2018-08-12 22:54:23 +00:00
|
|
|
#include <cstdint>
|
2018-06-19 09:36:15 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
class Dll_Pll_Conf
|
|
|
|
{
|
|
|
|
public:
|
2020-02-19 23:07:03 +00:00
|
|
|
Dll_Pll_Conf();
|
|
|
|
void SetFromConfiguration(ConfigurationInterface *configuration, const std::string &role);
|
|
|
|
|
2018-06-19 09:36:15 +00:00
|
|
|
/* DLL/PLL tracking configuration */
|
2020-06-23 07:47:58 +00:00
|
|
|
std::string item_type;
|
2018-06-19 09:36:15 +00:00
|
|
|
std::string dump_filename;
|
2020-06-23 07:47:58 +00:00
|
|
|
double fs_in;
|
|
|
|
double carrier_lock_th;
|
2018-08-07 18:05:35 +00:00
|
|
|
float pll_pull_in_bw_hz;
|
|
|
|
float dll_pull_in_bw_hz;
|
2019-03-18 15:28:49 +00:00
|
|
|
float fll_bw_hz;
|
2018-06-19 09:36:15 +00:00
|
|
|
float pll_bw_hz;
|
|
|
|
float dll_bw_hz;
|
|
|
|
float pll_bw_narrow_hz;
|
|
|
|
float dll_bw_narrow_hz;
|
|
|
|
float early_late_space_chips;
|
|
|
|
float very_early_late_space_chips;
|
|
|
|
float early_late_space_narrow_chips;
|
|
|
|
float very_early_late_space_narrow_chips;
|
2019-11-08 17:37:56 +00:00
|
|
|
float slope;
|
|
|
|
float spc;
|
2020-02-07 09:58:33 +00:00
|
|
|
float y_intercept;
|
2020-06-23 07:47:58 +00:00
|
|
|
float cn0_smoother_alpha;
|
|
|
|
float carrier_lock_test_smoother_alpha;
|
|
|
|
uint32_t pull_in_time_s;
|
|
|
|
uint32_t bit_synchronization_time_limit_s;
|
|
|
|
uint32_t vector_length;
|
|
|
|
uint32_t smoother_length;
|
|
|
|
int32_t fll_filter_order;
|
|
|
|
int32_t pll_filter_order;
|
|
|
|
int32_t dll_filter_order;
|
2018-08-12 22:54:23 +00:00
|
|
|
int32_t extend_correlation_symbols;
|
|
|
|
int32_t cn0_samples;
|
2019-08-28 14:19:36 +00:00
|
|
|
int32_t cn0_smoother_samples;
|
|
|
|
int32_t carrier_lock_test_smoother_samples;
|
2018-08-12 22:54:23 +00:00
|
|
|
int32_t cn0_min;
|
2019-06-11 18:20:23 +00:00
|
|
|
int32_t max_code_lock_fail;
|
|
|
|
int32_t max_carrier_lock_fail;
|
2020-06-23 07:47:58 +00:00
|
|
|
char signal[3]{};
|
|
|
|
char system;
|
|
|
|
bool enable_fll_pull_in;
|
|
|
|
bool enable_fll_steady_state;
|
2018-06-19 09:36:15 +00:00
|
|
|
bool track_pilot;
|
2019-07-05 18:30:34 +00:00
|
|
|
bool enable_doppler_correction;
|
2020-06-23 07:47:58 +00:00
|
|
|
bool carrier_aiding;
|
|
|
|
bool high_dyn;
|
|
|
|
bool dump;
|
|
|
|
bool dump_mat;
|
2018-06-19 09:36:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|