Thanks a lot.
I didn't care about "-c" option for a long time.... There may be an issue.
I will check it later. (Or, if you want, maybe you can contribute?).
Jiao,
-t works
./CellSearch -s 1815e6 -t
Search frequency: 1815 MHz
PPM: 120
correction: 1
Found Elonics E4000 tuner
OpenCL: number of platforms 1
Platform 0 NAME: AMD Accelerated Parallel Processing
Platform 0 PROFILE: FULL_PROFILE
OpenCL: number of devices 2
Platform 0 Device 0 NAME: Tahiti
Platform 0 Device 0 PROFILE: FULL_PROFILE
Platform 0 Device 0 LOCAL_MEM_SIZE: 32768
Platform 0 Device 0 MAX_CLOCK_FREQUENCY: 975
Platform 0 Device 0 MAX_COMPUTE_UNITS: 24
Platform 0 Device 0 PREFERRED_VECTOR_WIDTH_FLOAT: 1
Examining center frequency 1815 MHz ... try 0
6RB filter cost 0.0367889s
PSS XCORR cost 9.71848s
Detected a FDD cell! At freqeuncy 1815MHz, try 0
cell ID: 261
PSS ID: 0
RX power level: -13.6741 dB
residual frequency offset: -69682.9 Hz
k_factor: 1.00004
Detected a FDD cell! At freqeuncy 1815MHz, try 0
cell ID: 263
PSS ID: 2
RX power level: -14.2563 dB
residual frequency offset: -69682.9 Hz
k_factor: 1.00004
DPX:TDD/FDD; A: #antenna ports C: CP type ; P: PHICH duration ; PR: PHICH
resource type
DPX CID A fc foff RXPWR C nRB P PR CrystalCorrectionFactor
FDD 261 2 1815M -69.7k -13.7 N 100 N one 0.99996160866444450122
FDD 263 2 1815M -69.7k -14.3 N 100 N one 0.99996160870007821941
as does the scan mode
./CellSearch --freq-start 1814.9e6 --freq-end 1815.1e6 --opencl-device=1
Search frequency range: 1814.9-1815.1 MHz
Found Elonics E4000 tuner
OpenCL: number of platforms 1
Platform 0 NAME: AMD Accelerated Parallel Processing
Platform 0 PROFILE: FULL_PROFILE
OpenCL: number of devices 2
Platform 0 Device 1 PROFILE: FULL_PROFILE
Platform 0 Device 1 LOCAL_MEM_SIZE: 32768
Platform 0 Device 1 MAX_CLOCK_FREQUENCY: 3199
Platform 0 Device 1 MAX_COMPUTE_UNITS: 4
Platform 0 Device 1 PREFERRED_VECTOR_WIDTH_FLOAT: 8
Examining center frequency 1814.9 MHz ... try 0
6RB filter cost 0.00319004s
PSS XCORR cost 0.845281s
Detected a FDD cell! At freqeuncy 1814.9MHz, try 0
cell ID: 261
PSS ID: 0
RX power level: -15.553 dB
residual frequency offset: 31977.3 Hz
k_factor: 1.00004
Detected a FDD cell! At freqeuncy 1814.9MHz, try 0
cell ID: 263
PSS ID: 2
RX power level: -16.3697 dB
residual frequency offset: 31976.5 Hz
k_factor: 1.00004
Examining center frequency 1815 MHz ... try 0
6RB filter cost 0.00298405s
PSS XCORR cost 0.826245s
Examining center frequency 1815.1 MHz ... try 0
6RB filter cost 0.00295711s
PSS XCORR cost 0.827149s
DPX:TDD/FDD; A: #antenna ports C: CP type ; P: PHICH duration ; PR: PHICH
resource type
DPX CID A fc foff RXPWR C nRB P PR CrystalCorrectionFactor
FDD 261 2 1814.9M 32k -15.6 N 100 N one 1.0000401594555023976
FDD 263 2 1814.9M 32k -16.4 N 100 N one 1.0000401594555023976
./CellSearch --freq-start 1814.9e6 --freq-end 1815.1e6 --opencl-device=0
Search frequency range: 1814.9-1815.1 MHz
Found Elonics E4000 tuner
OpenCL: number of platforms 1
Platform 0 NAME: AMD Accelerated Parallel Processing
Platform 0 PROFILE: FULL_PROFILE
OpenCL: number of devices 2
Platform 0 Device 0 NAME: Tahiti
Platform 0 Device 0 PROFILE: FULL_PROFILE
Platform 0 Device 0 LOCAL_MEM_SIZE: 32768
Platform 0 Device 0 MAX_CLOCK_FREQUENCY: 975
Platform 0 Device 0 MAX_COMPUTE_UNITS: 24
Platform 0 Device 0 PREFERRED_VECTOR_WIDTH_FLOAT: 1
Examining center frequency 1814.9 MHz ... try 0
6RB filter cost 0.0368021s
PSS XCORR cost 3.31654s
Detected a FDD cell! At freqeuncy 1814.9MHz, try 0
cell ID: 261
PSS ID: 0
RX power level: -15.6869 dB
residual frequency offset: 32106.7 Hz
k_factor: 1.00004
Detected a FDD cell! At freqeuncy 1814.9MHz, try 0
cell ID: 263
PSS ID: 2
RX power level: -16.3225 dB
residual frequency offset: 32106.2 Hz
k_factor: 1.00004
Examining center frequency 1815 MHz ... try 0
6RB filter cost 0.0158181s
PSS XCORR cost 3.32913s
Examining center frequency 1815.1 MHz ... try 0
6RB filter cost 0.0158079s
PSS XCORR cost 3.27762s
DPX:TDD/FDD; A: #antenna ports C: CP type ; P: PHICH duration ; PR: PHICH
resource type
DPX CID A fc foff RXPWR C nRB P PR CrystalCorrectionFactor
FDD 261 2 1814.9M 32.1k -15.7 N 100 N one 1.0000398256225293547
FDD 263 2 1814.9M 32.1k -16.3 N 100 N one 1.0000398256225293547
But single frequency detection seems to be broken even if i provide the
freq correction via -c.
Capture attached.
Best regards,
Dimitri
Hi,
Post by Jiao XianjunVery thanks!
I think one possible reason is that I narrow the frequency offset searching
range from about -200:5:200kHz to -50:5:50 kHz. Because the scanner now use
.1MHz step, why not get rid of extra searching?
You may try "--freq-start 1814.9e6 --freq-end 1815.1e6" to verify that.
But the sample is definitely useful. Would you please capture the bin file
for me? (You may find the method in README).
And,
Would you please also try to use "-t" option for the new Scanner (without
--freq-start and --freq-end) and try again? ("-t" force the scanner into
original mode).
BR
Jiao Xianjun(Ryan)
Hi Jiao,
first of all, thanks a lot for sharing your work!
LTE-Cell-Scanner/build/src$ ./CellSearch -s 1815e6 --opencl-device=1
Search frequency: 1815 MHz
Found Elonics E4000 tuner
OpenCL: number of platforms 1
Platform 0 NAME: AMD Accelerated Parallel Processing
Platform 0 PROFILE: FULL_PROFILE
OpenCL: number of devices 2
Platform 0 Device 1 PROFILE: FULL_PROFILE
Platform 0 Device 1 LOCAL_MEM_SIZE: 32768
Platform 0 Device 1 MAX_CLOCK_FREQUENCY: 3399
Platform 0 Device 1 MAX_COMPUTE_UNITS: 4
Platform 0 Device 1 PREFERRED_VECTOR_WIDTH_FLOAT: 8
Examining center frequency 1815 MHz ... try 0
6RB filter cost 0.00318098s
PSS XCORR cost 0.833934s
No LTE cells were found...
LTE-Cell-Scanner/build/src$ ./CellSearch -s 1815e6
Search frequency: 1815 MHz
Found Elonics E4000 tuner
OpenCL: number of platforms 1
Platform 0 NAME: AMD Accelerated Parallel Processing
Platform 0 PROFILE: FULL_PROFILE
OpenCL: number of devices 2
Platform 0 Device 0 NAME: Tahiti
Platform 0 Device 0 PROFILE: FULL_PROFILE
Platform 0 Device 0 LOCAL_MEM_SIZE: 32768
Platform 0 Device 0 MAX_CLOCK_FREQUENCY: 975
Platform 0 Device 0 MAX_COMPUTE_UNITS: 24
Platform 0 Device 0 PREFERRED_VECTOR_WIDTH_FLOAT: 1
Examining center frequency 1815 MHz ... try 0
6RB filter cost 0.0368459s
PSS XCORR cost 3.36666s
No LTE cells were found...
./CellSearch -s 1815e6
LTE CellSearch v1.0.0 (release) beginning
Search frequency: 1815 MHz
PPM: 120
correction: 1
Found Elonics E4000 tuner
Examining center frequency 1815 MHz ...
Detected a cell!
cell ID: 263
RX power level: -15.8443 dB
residual frequency offset: -68142.8 Hz
Detected a cell!
cell ID: 261
RX power level: -17.8496 dB
residual frequency offset: -68142.3 Hz
A: #antenna ports C: CP type ; P: PHICH duration ; PR: PHICH resource type
CID A fc foff RXPWR C nRB P PR CrystalCorrectionFactor
263 2 1815M -68.1k -15.8 N 100 N one 0.99996245719114640327
261 2 1815M -68.1k -17.8 N 100 N one 0.99996245745901013446
How can i help you to debug this? Do you require a capture of this cell?
Best regards,
Dimitri
Hello there,
Post by Jiao Xianjun1. Now MATLAB isn't needed. All in C/C++. All you need are rtl-sdr dongle
and Linux computer. TDD and FDD are both supported. External LNB/Mixer
(allow mixer and A/D use non-coherent clock sources) is also supported.
2. OpenCL parallel computation is supported! It searches per frequency
point in
Intel, AMD and Nvidia OpenCL SDK are tested. Acceleration ratio is gotten
by Intel SDK.
Nvidia GPU hasn't reached so amazing acceleration ratio. It maybe because
of slow PCI-E and memory. I haven't found time to optimize on that.
Another open source OpenCL lib pocl - Portable Computing Language (
https://github.com/pocl/pocl) is also tested, and it seems as fast as
Intel's! (See video I attached in the end.)
3. Some improvements on algorithm. Higher sensitivity and more robust.
video: http://youtu.be/SxZzEVEKuRs
(in china) http://pan.baidu.com/s/1o6qbLGY
Have fun with LTE. Have fun with OpenCL!
BR
Jiao Xianjun (Ryan)
Hi there,
https://github.com/Evrytania/LTE-Cell-Scanner
https://github.com/JiaoXianjun/LTE-Cell-Scanner
(Not reviewed by James Peroulas, so it is just experimental currently.)
It works fine with rtl-sdr E4k tuner dongle below 2.2GHz, but doesn't work
in 2.5~2.7GHz even with external MMDS-LNB.
Because the algorithm assumes analytic relationship between carrier and
sampling frequency error.
I write some matlab scripts (https://github.com/
JiaoXianjun/rtl-sdr-LTE)
to separate carrier and sampling processing in algorithm. Aided by
MMDS-LNB, the scripts can detect TDD&FDD LTE cell in 2.5~2.7GHz now!
12 LTE Cells information are decoded. 2 are FDD LTE, the rest are TD-LTE.
Because here is China! (Partly because that TD-LTE is announed earier than
FDD by government)
Hope that in the future these features can be merged to original
LTE-Cell-Scanner.
Scanning results and video are attached.
http://youtu.be/4zRLgxzn4Pc