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.
|
|
|
|
*
|
|
|
|
* -------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* Copyright (C) 2010-2018 (see AUTHORS file for a list of contributors)
|
|
|
|
*
|
|
|
|
* GNSS-SDR is a software defined Global Navigation
|
|
|
|
* Satellite Systems receiver
|
|
|
|
*
|
|
|
|
* This file is part of GNSS-SDR.
|
|
|
|
*
|
|
|
|
* GNSS-SDR is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* GNSS-SDR is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with GNSS-SDR. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
* -------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GNSS_SDR_DLL_PLL_CONF_H_
|
|
|
|
#define GNSS_SDR_DLL_PLL_CONF_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:
|
|
|
|
/* DLL/PLL tracking configuration */
|
2019-03-18 15:28:49 +00:00
|
|
|
|
|
|
|
int fll_filter_order;
|
|
|
|
bool enable_fll_pull_in;
|
|
|
|
bool enable_fll_steady_state;
|
|
|
|
unsigned int pull_in_time_s;
|
|
|
|
int pll_filter_order;
|
|
|
|
int dll_filter_order;
|
|
|
|
|
2018-06-19 09:36:15 +00:00
|
|
|
double fs_in;
|
2018-08-12 22:54:23 +00:00
|
|
|
uint32_t vector_length;
|
2018-06-19 09:36:15 +00:00
|
|
|
bool dump;
|
2018-10-29 23:47:12 +00:00
|
|
|
bool dump_mat;
|
2018-06-19 09:36:15 +00:00
|
|
|
std::string dump_filename;
|
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;
|
2018-08-12 22:54:23 +00:00
|
|
|
int32_t extend_correlation_symbols;
|
2018-09-09 11:40:31 +00:00
|
|
|
bool high_dyn;
|
2018-08-12 22:54:23 +00:00
|
|
|
int32_t cn0_samples;
|
|
|
|
int32_t carrier_lock_det_mav_samples;
|
|
|
|
int32_t cn0_min;
|
|
|
|
int32_t max_lock_fail;
|
2018-09-06 22:06:06 +00:00
|
|
|
uint32_t smoother_length;
|
2018-06-19 09:36:15 +00:00
|
|
|
double carrier_lock_th;
|
|
|
|
bool track_pilot;
|
|
|
|
char system;
|
2018-12-08 17:49:31 +00:00
|
|
|
char signal[3]{};
|
2018-06-19 09:36:15 +00:00
|
|
|
|
|
|
|
Dll_Pll_Conf();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|