Get from Ico-github-logo

Highlights from
LTE Cell Search (from A/D samples to PBCH MIB decoding)

  • Bc(spread)
    b=Bc(spread)
  • PSS_detection_correction(...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • Tc(v,fc)
  • absx2(x)
  • add_header_to_bin(bin_fil...
  • add_header_to_hackrf_bin(...
  • bitstream(l,p)
    b=bitstream(l,p)
  • blnoise(n_samp)
    y=blnoise(n_samp)
  • chan_est(peak,tfg,port, nRB)
    add 100RB support. Jiao Xianjun(putaohsu@gmail.com)
  • channel2tf(h,delays,freqs)
    H=channel2tf(h,delays,freqs);
  • channel_gen(sim_length,n_...
    [h h_timestamp delays]=channel_gen(sim_length,n_ant_bs,n_ant_ue,v_mobile,fc,pos_ue,pos_bs,scenario);
  • chi2cdf(x,k)
  • chi2cdf_inv(p, k)
    Returns the value x such that chi2cdf(x,k) is p.
  • chi2inv(p,k)
  • chi2pdf(x,k)
  • chk_param(val,name,varargin)
    y=chk_param(val,name,varargin)
  • conv_raw_hackrf_signed_bi...
  • create_dl_sig(cp_type,n_s...
    Create an eNodeB DL signal containing PSS & SSS
  • cyc_filt(x,h)
  • db10(x)
  • db20(x)
  • decode_mib(peak,tfg)
    Try various combinations of antenna ports and frame timings to attempt
  • deqam(syms,np,modulation,...
    bits=deqam(syms,np,modulation,map)
  • dft(p1,p2,p3)
  • doppler_shift(fc,v)
    y=doppler_shift(fc,v)
  • etc(a1,a2)
    Simple function to estimate time to completion (ETC).
  • extract_part_from_rtl_sdr...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • extract_tfg(peak,capbuf,f...
    add 100RB support. Jiao Xianjun(putaohsu@gmail.com)
  • find_best_timing_location...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • fo_from_fft_result(spectr...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • fs_lte()
    y=fs_lte;
  • fshift(x,f,fs)
  • gen_pss_fo_rom_table(f_se...
    figure;
  • idft(p1,p2,p3,p4)
  • impulse(len)
    y=impulse(len)
  • itload(fname)
  • itsave(fname, varargin)
  • lin2col_shift_mat(s, len_...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • lte_calc_crc(in_bits, crc...
    % Copyright 2011-2012 Ben Wojtowicz
  • lte_conv_decode(d_est)
    c_est=lte_conv_decode(d_est);
  • lte_conv_deratematch(e_es...
    d_est=lte_conv_deratematch(e_est,n_c);
  • lte_conv_encode(c)
    d=lte_conv_encode(c);
  • lte_conv_ratematch(d,n_e)
    e=lte_conv_ratematch(d,n_e);
  • lte_pn(c_init,len)
    y=lte_pn(c_init,len)
  • pbch_extract(peak,tfg,ce)
    Extract only the MIB RE's from the TFG
  • peak_search(xc_incoherent...
    Copyright 2012 Evrytania LLC (http://www.evrytania.com)
  • pss(n_id_2)
    y=pss(n_id_2)
  • pss_fix_location_corr(s, ...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • pss_fo_set_gen(pss, fo_se...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • pss_gen
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • pss_initial_search(s, pss...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • pss_moving_corr(s, pss_fo...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • pss_sss_foe(peak,capbuf,f...
    Use (only) the PSS and SSS to calculate the frequency offset.
  • qam(bits,mod,map)
    syms=qam(bits,mod,map)
  • raw2iq(a)
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • rayleigh(n_samp,fd,fs)
    ch=rayleigh(n_samp,fd,fs)
  • read_header_from_bin(bin_...
  • read_header_from_bin_fid(...
    fid = fopen(bin_filename);
  • read_rtl_sdr_bin2IQ(rtl_s...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • refine_fo(capbuf, cp_type...
    plot(angle(chn_tmp.*pss_fo));
  • rs_dl(slot_num,sym_num,po...
    [r shift]=rs_dl(slot_num,sym_num,port_num,n_id_cell,n_rb_dl,cp_type)
  • rtl_cap_read(filename)
    c=rtl_cap_read(filename)
  • sampling_frequency_correc...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • sampling_period_correctio...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • sampling_ppm_f_search_set...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • set_freq_tcp(tcp_obj, freq)
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • set_gain_tcp(tcp_obj, gain)
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • set_rate_tcp(tcp_obj, rate)
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • sigpower(x)
    y=sigpower(x)
  • speed_of_light()
    c=speed_of_light()
  • sss(n_id_1,n_id_2,slot_num)
    s=sss(n_id_1,n_id_2,slot_num);
  • sss_detect(peak,capbuf,th...
    Perform maximum likelihood estimation of the SSS.
  • test_td_lte_pss(rtl_sdr_b...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • tfoec(peak,tfg,tfg_timest...
    add 100RB support. Jiao Xianjun(putaohsu@gmail.com)
  • tfplot(imp)
    tfplot(imp);
  • tshift(x,t)
  • udb10(x)
  • udb20(x)
  • wrap(x,sm,lg)
  • xcorr_pss(capbuf,f_search...
    Copyright 2012 Evrytania LLC (http://www.evrytania.com)
  • zadoff_chu(l,i)
  • multi_rtl_sdr_split_scann...
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • test_sss_detect.m
    This script generates test data for sss_detect and pss_sss_foe
  • test_tfg.m
    Create test vectors to test all the code starting with generation of
  • test_xcorr_pss.m
    Create test vectors to test the C++ implementation of xcorr_pss.
  • test_pss_fo_corr.m
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • test_peak_search.m
    Create test vectors to test the C++ implementation of peak_search.
  • CellSearch.m
    Jiao Xianjun (putaoshu@gmail.com; putaoshu@msn.com)
  • test_td_lte.m
    Jiao Xianjun (putaoshu@msn.com; putaoshu@gmail.com)
  • pss_search_final.m
    Full PSS search algorithm including searching for various frequency offsets.
  • pss_foff.m
    Measure PSS correlations in the presence of a frequency offset.
  • gen_noise_bin.m
    function gen_noise_bin
  • mib_test.m
    Copyright 2012 Evrytania LLC (http://www.evrytania.com)
  • zgo.m
    Script to turn zoom and grid on for the current figure.
  • cut_from_10s_to_1s.m
  • View all files
5.0
5.0 | 1 rating Rate this file 22 Downloads (last 30 days) File Size: 95.1 MB File ID: #46566
image thumbnail

LTE Cell Search (from A/D samples to PBCH MIB decoding)

by

 

10 May 2014 (Updated )

Decode TDD/FDD LTE PBCH MIB message from 1.92Msps A/D samples.

| Watch this File

File Information
Description

Play with LTE signal (especially China TD-LTE) captured by rtl-sdr dongle! The set of scripts can decode LTE PBCH MIB message from 1.92Msps A/D samples. Offline captured IQ samples or live capturing are both supported.
Use this program to see LTE signals around you. Have fun!

Required Products Communications System Toolbox
Signal Processing Toolbox
Statistics and Machine Learning Toolbox
MATLAB
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
14 Mar 2015 Sriram Chandran

This program is awesome it can be used for, performance analysis of 4G LTE systems, if you could get the configuration files. A manual or a document with few examples will be still more awesome. I would definitely recommend this project for learning

Contact us