srsRAN/README.md

80 lines
3.3 KiB
Markdown
Raw Normal View History

2014-01-28 11:43:31 +00:00
libLTE
2014-01-28 11:41:17 +00:00
========
2014-01-28 11:43:31 +00:00
libLTE is a free and open-source LTE library for SDR UE and eNodeB. The library does not rely on any external dependencies or frameworks.
2014-01-28 11:41:17 +00:00
2014-01-30 15:14:41 +00:00
The license is LGPLv3.
2014-01-28 11:41:17 +00:00
The project contains a set of Python tools for the automatic code generation of modules for popular SDR frameworks, including GNURadio, ALOE++, IRIS, and OSSIE. These tools are easy to use and adapt for generating targets for specific platforms or frameworks.
2014-03-08 12:26:01 +00:00
Current Status
===============
The following parts are available:
* Physical Broadcast channel (PBCH) eNodeB and UE part. The UE supports multi-antenna transmitters
* Synchronization and CFO estimation/correction
* Equalization
* UE receiver verified with live LTE signals
Hardware
========
The library currently uses Ettus Universal Hardware Driver (UHD). Thus, any hardware supported by UHD can be used. There is no sampling rate conversion, therefore the hardware should support 30.72 MHz clock in order to work correctly with LTE sampling frequencies and decode signals from live LTE base stations.
2014-01-30 16:09:41 +00:00
2014-01-30 15:14:41 +00:00
Download & Install Instructions
=================================
2014-03-08 12:26:01 +00:00
* Requirements: Currently, the library requires libfftw, although we plan make this dependency optional in the future. Also, QT4 and Qwt6 are needed for graphics visualization. If they are not present, though, compilation is still possible although graphics will be disabled.
2014-01-30 15:14:41 +00:00
```
git clone https://github.com/ismagom/libLTE.git
cd libLTE
mkdir build
cd build
cmake ../
make
```
2014-03-08 12:26:01 +00:00
The library can also be installed using the command ```sudo make install```.
2014-01-30 15:14:41 +00:00
2014-03-08 12:26:01 +00:00
Examples
==========
2014-01-30 15:14:41 +00:00
2014-03-08 12:26:01 +00:00
* eNodeB and UE PBCH example
2014-01-30 15:14:41 +00:00
2014-03-08 12:26:01 +00:00
Setup one or two computers connected to two USRP or UHD-compatible hardware. From the eNodeB, type
2014-01-30 15:14:41 +00:00
2014-03-08 12:26:01 +00:00
```
examples/enodeb_bch -f [frequency_in_Hz] -c [cell_id] [-a [UHD args]] [-h for more commands]
```
2014-01-30 15:14:41 +00:00
2014-03-08 12:26:01 +00:00
From the UE, type
2014-01-30 15:14:41 +00:00
```
2014-03-08 12:26:01 +00:00
examples/mib_track -f [frequency_in_Hz] -c [cell_id] [-a [UHD args]] [-h for more commands]
2014-01-30 15:14:41 +00:00
```
2014-03-08 12:26:01 +00:00
And the output should look something like the following video. In this example, we removed the transmitter and receiver antennas in the middle of the demonstration, showing how reception is still possible (despite with some erros).
https://www.dropbox.com/s/txh1nuzdb0igq5n/demo_pbch.ogv
![Screenshopt of the PBCH example output](pbch_capture.png "Screenshopt of the PBCH example output")
* Cell Search Example
This program uses any hardware supported by the UHD driver to scan an LTE band for active cells. See http://niviuk.free.fr/lte_band.php for a list of available bands. The program first obtains a power spectral density of the entire band. For all frequencies with an RSSI higher than a threshold, it tries to find the LTE Primary Synchronization Signal (PSS) and then identifies the CELL ID using the Secondary Synchronization Signal (SSS). Finally, it estimates the Carrier Frequency Offset (CFO) and Sampling Frequency Offset (SFO) and decodes the Master Information Block (MIB) from the PBCH.
For instance, the command:
``` examples/mib_scan_usrp -b 3 ```
2014-01-30 15:14:41 +00:00
2014-03-08 12:26:01 +00:00
Scans the LTE band 3 (1805 to 1880 MHz). Note that you need a hardware supporting these frequencies (e.g. SBX daughterboard for USRP). For more command arguments, type ``` examples/mib_scan_usrp -h ```
2014-01-30 15:14:41 +00:00
2014-03-08 12:26:27 +00:00
Support
========
Mailing list: https://lists.sourceforge.net/lists/listinfo/liblte-users