David Protzman
4b46d30248
Stripped down normalized cross correlator
...
This new version is much more of an estimate of the cross correlation, but it's a *lot* faster. Still need to do more real world testing of it
2022-06-20 13:07:31 -04:00
David Protzman
2e33165cbe
Turning on all available optimizations
...
This is to help the correlation module run at line rate
2022-06-20 13:06:08 -04:00
David Protzman
7606a61e8a
Added runtime configurable threshold to extractor
2022-06-20 13:02:27 -04:00
David Protzman
66b749c3ad
Added abs squared function
2022-06-20 12:49:02 -04:00
David Protzman
0fdac0e259
Fixed bug in running average tracking logic
2022-06-19 14:47:17 -04:00
David Protzman
10052a6b8d
Converted to running average to get a small performance gain
2022-06-19 13:58:16 -04:00
David Protzman
c89d6e6004
Normalization is working properly, but it's crazy slow
2022-06-19 13:42:58 -04:00
David Protzman
17f3465f3a
Initial commit for normalized cross correlation function
...
This is the crazy slow version!
2022-06-11 12:56:32 -04:00
David Protzman
bb791dbac5
Added functions for mean and var
2022-06-11 12:55:31 -04:00
David Protzman
5d59a14618
Updated drone_id_test GNU Radio example graph
...
Increased number of extracted samples to help with processing in MATLAB
Changed default RX gain from .35 to .55
Disabled the offset block (not used for SDR based processing)
Removed the time sync block as it's no longer needed
2022-06-09 00:32:34 -04:00
David Protzman
112454c3a8
Now saving off more vectors for debugging
2022-06-09 00:28:18 -04:00
David Protzman
ad1ad97181
Fixed typo in received ZC sequence saving logic
2022-06-09 00:27:48 -04:00
David Protzman
b915386ead
Dropped threshold down to .2
2022-06-09 00:27:23 -04:00
David Protzman
769daa80cc
Printing message if the total sample count isn't valid
...
This should never happen, but for when it does...
2022-06-09 00:27:13 -04:00
David Protzman
beaeec30fc
Fixed copy paste error in sample saving
2022-06-09 00:26:44 -04:00
David Protzman
3aa1b77e0b
Now outputting each burst that comes into demodulation
...
This used to happen in the time_sync block, but that block is no longer used
2022-06-09 00:12:48 -04:00
David Protzman
c863755ff8
Now writing out each received ZC sequence with a counter
2022-06-09 00:01:58 -04:00
David Protzman
7a3de6b0ce
Increased number of samples extracted from the beginning of the burst
...
This is to help MATLAB do demod since it needs a fair amount of padding before and after the burst
2022-06-08 23:57:29 -04:00
David Protzman
e36349b8a1
Now incrementing the file number for bursts coming into time sync
2022-06-08 23:56:48 -04:00
David Protzman
0729e4620e
Moved the XOR_BIT_VEC to a constant static member variable
...
This was being created for every burst which was just wasteful. It was done that way because I was in a hurry =\
2022-06-08 23:55:14 -04:00
David Protzman
4aa81eb2b9
Added CMake build dirs to ignore file
2022-06-08 23:53:35 -04:00
David Protzman
2af27b093b
Many, many updates... like.. a lot
2022-05-10 00:32:30 -04:00
David Protzman
506a43c736
Made qpsk_to_bits static
2022-05-09 18:12:04 -04:00
David Protzman
736ccbe8b1
Added bit_vec_to_string and fixed write() bug
2022-05-09 18:08:29 -04:00
David Protzman
c7e7587c24
Added debug path argument, and now running LTE decode
2022-05-09 18:07:55 -04:00
David Protzman
9518926892
Updated graph to include decode block
2022-05-09 00:58:00 -04:00
David Protzman
8cdc2c262b
Disabled printing bits
...
This was locking GNU Radio up due to the large number of console outputs
2022-05-09 00:57:19 -04:00
David Protzman
a5ce98aa54
Working on turbo decoding and rate matching
2022-05-09 00:55:46 -04:00
David Protzman
2b8b54d746
Now outputting just the data carriers
2022-05-09 00:55:18 -04:00
David Protzman
9d3b379aa7
Added util functions
...
get_data_carrier_indices
extract_data_carriers
write (generic and uint32_t)
print_bits
2022-05-09 00:54:33 -04:00
David Protzman
b11ec00b7d
Added actual impls for the decode block
2022-05-09 00:54:14 -04:00
David Protzman
62a384a942
Added decode block
2022-05-09 00:53:29 -04:00
David Protzman
0608c97ec1
Not outputting if debug path is empty
2022-05-08 23:41:30 -04:00
David Protzman
af8ac003d9
Allowing specification of debug directory
2022-05-08 23:39:50 -04:00
David Protzman
4e8c137471
Added LTE Turbo decoder and rate matcher (now req libturbofec)
2022-05-08 23:02:54 -04:00
David Protzman
1954dff4b6
Merge branch 'main' into gr-droneid
2022-04-24 16:58:42 -04:00
David Protzman
d8f7b73c37
Added function to convert between IQ formats
2022-04-24 16:57:20 -04:00
David Protzman
6c875b5014
Had to change dimensions on freq correction vector
...
This happened due to a change in the read_complex_floats function
2022-04-24 16:45:07 -04:00
David Protzman
8fe194bcd6
Added script to normalize an input vector to -1.0 to 1.0
2022-04-24 16:44:33 -04:00
David Protzman
0544182553
Now normalizing the IFFT outputs
2022-04-24 16:44:07 -04:00
David Protzman
3b1448497b
Now just calling write_complex
2022-04-24 16:42:40 -04:00
David Protzman
9d259ca6fc
Converted create_burst to a function
2022-04-24 15:02:38 -04:00
David Protzman
30f5ecff6e
Added function to get the number of seconds since epoch
2022-04-24 15:01:59 -04:00
David Protzman
5daf3dd4cc
Now using the read_complex function
2022-04-24 14:48:40 -04:00
David Protzman
d57e1e880f
Add function to read arbitrary type complex samples from a file
2022-04-24 14:48:29 -04:00
David Protzman
f7bcb5eb55
Created function to write complex samples to disk
2022-04-24 14:29:33 -04:00
David Protzman
60ea2b16bc
Converted the create_burst script to a function
2022-04-24 00:52:24 -04:00
David Protzman
40a604dd23
Added more plots
2022-04-24 00:45:05 -04:00
David Protzman
df098c3e6c
Fixed bug in coarse freq recovery
...
The windows were one sample misaligned in time
2022-04-24 00:42:08 -04:00
David Protzman
7d9f15b28f
No longer using `vars{:}`
...
Would likely end up confusing users
2022-04-24 00:40:41 -04:00