GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
dll_pll_conf.h
Go to the documentation of this file.
1 /*!
2  * \file dll_pll_conf.h
3  * \brief Class that contains all the configuration parameters for generic tracking block based on a DLL and a PLL.
4  * \author Javier Arribas, 2018. jarribas(at)cttc.es
5  *
6  * Class that contains all the configuration parameters for generic tracking block based on a DLL and a PLL.
7  *
8  * -----------------------------------------------------------------------------
9  *
10  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
11  * This file is part of GNSS-SDR.
12  *
13  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
14  * SPDX-License-Identifier: GPL-3.0-or-later
15  *
16  * -----------------------------------------------------------------------------
17  */
18 
19 #ifndef GNSS_SDR_DLL_PLL_CONF_H
20 #define GNSS_SDR_DLL_PLL_CONF_H
21 
23 #include <cstdint>
24 #include <string>
25 
26 /** \addtogroup Tracking
27  * \{ */
28 /** \addtogroup Tracking_libs
29  * \{ */
30 
31 
33 {
34 public:
35  Dll_Pll_Conf();
36  void SetFromConfiguration(const ConfigurationInterface *configuration, const std::string &role);
37 
38  /* DLL/PLL tracking configuration */
39  std::string item_type{"gr_complex"};
40  std::string dump_filename{"./dll_pll_dump.dat"};
41  double fs_in{2000000.0};
42  double carrier_lock_th{0.0};
43  float pll_pull_in_bw_hz{50.0};
44  float dll_pull_in_bw_hz{3.0};
45  float fll_bw_hz{35.0};
46  float pll_bw_hz{35.0};
47  float dll_bw_hz{2.0};
48  float pll_bw_narrow_hz{5.0};
49  float dll_bw_narrow_hz{0.75};
50  float early_late_space_chips{0.25};
51  float very_early_late_space_chips{0.5};
52  float early_late_space_narrow_chips{0.15};
53  float very_early_late_space_narrow_chips{0.5};
54  float slope{1.0};
55  float spc{0.5};
56  float y_intercept{1.0};
57  float cn0_smoother_alpha{0.002};
58  float carrier_lock_test_smoother_alpha{0.002};
59  uint32_t pull_in_time_s{10U};
60  uint32_t bit_synchronization_time_limit_s{20U};
61  uint32_t vector_length{0U};
62  uint32_t smoother_length{10U};
63  int32_t fll_filter_order{1};
64  int32_t pll_filter_order{3};
65  int32_t dll_filter_order{2};
66  int32_t extend_correlation_symbols{1};
67  int32_t cn0_samples{0};
68  int32_t cn0_smoother_samples{200};
69  int32_t carrier_lock_test_smoother_samples{25};
70  int32_t cn0_min{0};
71  int32_t max_code_lock_fail{0};
72  int32_t max_carrier_lock_fail{0};
73  char signal[3]{};
74  char system{'G'};
75  bool enable_fll_pull_in{false};
76  bool enable_fll_steady_state{false};
77  bool track_pilot{true};
78  bool enable_doppler_correction{false};
79  bool carrier_aiding{true};
80  bool high_dyn{false};
81  bool dump{false};
82  bool dump_mat{true};
83 };
84 
85 
86 /** \} */
87 /** \} */
88 #endif // GNSS_SDR_DLL_PLL_CONF_H
This abstract class represents an interface to configuration parameters.
This class represents an interface to configuration parameters.