Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

50 coherent tracking #51

Merged
merged 12 commits into from
Apr 26, 2023
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ scalene_profile.json
speedscope_profile.txt
core/c_functions/tracking
core/c_functions/acquisition
core/c_functions/channel_l1ca
33 changes: 22 additions & 11 deletions config/channels/channel_GPS_L1CA.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,31 @@ threshold = 1.5

[TRACKING]
correlator_number = 3
correlator_early = -0.5
correlator_early = -0.2
correlator_prompt = 0
correlator_late = 0.5
correlator_late = 0.2
correlator_epl_wide = 0.5
correlator_epl_narrow = 0.2

# DLL
# From [Borre, 2007]
dll_dumping_ratio = 0.7
dll_noise_bandwidth = 2.0
coherent_integration = 1

# DLL, from [Borre, 2007]
dll_damping_ratio = 0.7
dll_noise_bandwidth = 1.0
dll_loop_gain = 1.0
dll_pdi = 0.001

# PLL
# From [Borre, 2007]
pll_dumping_ratio = 0.7
pll_noise_bandwidth = 25.0
# PLL, from [Borre, 2007]
pll_damping_ratio = 0.7
pll_noise_bandwidth = 8.0
pll_loop_gain = 0.25
pll_pdi = 0.001
pll_pdi = 0.001

# FLL, from [FGI-GSRx]
fll_damping_ratio = 0.7
fll_noise_bandwidth = 15.0
fll_bandwidth_pullin= 50.0
fll_bandwidth_wide = 25.0
fll_bandwidth_narrow= 15.0
fll_loop_gain = 1.5
fll_pdi = 0.001
38 changes: 38 additions & 0 deletions config/channels/channel_GPS_L1CA_kaplan.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

[DEFAULT]
name = GPS L1 C/A

[ACQUISITION]
method = PCPS
doppler_range = 5000
doppler_steps = 100
coherent_integration = 5
non_coherent_integration = 10
threshold = 1.5

[TRACKING]
correlator_epl_wide = 0.5
correlator_epl_narrow = 0.2

; coherent_integration = 20
; time_in_state = 100

# DLL, from [Borre, 2007]
dll_threshold = 15.0
dll_damping_ratio = 0.7
dll_noise_bandwidth = 2.0
dll_loop_gain = 1.0
dll_pdi = 0.001

# PLL, from [Borre, 2007]
pll_bandwidth_wide = 25.0
pll_bandwidth_narrow = 15.0
pll_threshold_wide = 0.5
pll_threshold_narrow = 0.8

# FLL, from [FGI-GSRx]
fll_bandwidth_pullin = 50.0
fll_bandwidth_wide = 25.0
fll_bandwidth_narrow = 15.0
fll_threshold_wide = 0.5
fll_threshold_narrow = 0.8
5 changes: 3 additions & 2 deletions config/receiver.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ data_size = 8
is_complex = true

[SATELLITES]
include_prn = 2,3,4,6,9,29
include_prn = 2,3,4,6,9,26,29,31

[MEASUREMENTS]
# In Hz
Expand All @@ -38,5 +38,6 @@ broadcast_ephemeris_enabled = False
broadcast_ephemeris_path = /mnt/c/Users/vmangr/Documents/Datasets/2021_11_30-TAU_Roof_Antenna_Tallysman/data/BRDC00IGS_R_20213340000_01D_MN.rnx

[CHANNELS]
gps_l1ca = ./config/channels/channel_GPS_L1CA.ini
gps_l1ca = ./config/channels/channel_GPS_L1CA_kaplan.ini
#gps_l1ca = ./config/channels/channel_GPS_L1CA.ini

Loading