Project

General

Profile

OsmoTRX » History » Version 14

ttsou, 02/19/2016 10:47 PM

1 1 ttsou
= OsmoTRX =
2
3
OsmoTRX is a software-defined radio transceiver that implements the Layer 1 physical layer of a BTS comprising the following 3GPP specifications:
4
 * TS 05.01 "Physical layer on the radio path"
5
 * TS 05.02 "Multiplexing and Multiple Access on the Radio Path"
6
 * TS 05.04 "Modulation"
7
 * TS 05.10 "Radio subsystem synchronization"
8
9 6 ttsou
OsmoTRX is based on the OpenBTS transceiver, but setup to operate independently with the purpose of using with non-OpenBTS software and projects. Currently there are numerous features contained in OsmoTRX that extend the functionality of the OpenBTS transceiver. These features include enhanced support for embedded platforms - notably ARM - and dual channel diversity support for the Fairwaves UmTRX. Most of these features will eventually be merged into mainline OpenBTS, but primary development will occur on OsmoTRX.
10
11
== Features ==
12
13 9 ttsou
Intel SSE Support
14 6 ttsou
* SSE3
15
* SSE4.1
16
17
On Intel processors, OsmoTRX makes heavy use of the Streaming SIMD Extensions (SSE) instruction set. Accelerated operations include pulse shape filtering, resampling, sequence correlation, and many other signal processing operations. SSE3 is the minimum requirement for accelerated use. SSE3 is present in the majority of Intel processors since later versions of the Pentium 4 architecture and is also present on low power Atom processors.
18
19
ARM NEON Support
20
* NEON
21
* NEON-VFPv4
22
23 1 ttsou
OsmoTRX runs on a variety of ARM processors with and without NEON coprocessors. Like SSE on Intel processors, NEON provides acceleration with SIMD vectorized instructions. Tested popular architectures include ARM11 (Raspberry Pi), Cortex-A8 (BeagleBoard), and Cortex-A15 (ArndaleBoard). These platforms include no NEON coprocessor, standard NEON, and NEON-VFPv4 respectively. The latter NEON variation, VFPv4, provides additional fused-multiply-accumulate (FMA) instructions useful for many DSP operations. NEON optimization must be used enabled at built time.
24 9 ttsou
25 6 ttsou
Dual Channel (UmTRX only)
26
27 7 ttsou
Two dual channel modes are available: standard dual channel mode and diversity. In standard dual channel mode, each RF
28
path of the dual channel device - currently only UmTRX - supports a different ARFCN. Each path operates independently a
29
nd operates similarly to two separate devices. GSM channel capacity in this mode is doubled.
30
31 6 ttsou
Dual Channel Diversity (UmTRX only)
32 7 ttsou
33 8 ttsou
Diversity mode is similar to the standard dual channel mode except each antenna supports both ARFCN channels. In this case, the receiver sample bandwidth is widened to handle both ARFCN's and subsequently converted and demultiplexed into separate sample streams. Each GSM receive path is fed dual signals, where antenna selection diversity is performed by taking the stronger signal on a burst-by-burst basis. The limitations are increased CPU utilization and that ARFCN spacing is restricted (currently at 400 kHz) by the receiver sampling bandwidth. Setting the ARFCN spacing beyond the sampling limit will disable the diversity path.
34 1 ttsou
35
Low Phase Error Modulator
36 8 ttsou
37 9 ttsou
The default GSM downlink signal is configured for low distortion using a linearized GMSK modulator. The implementation is based on a two pulse Laurent approximation of continuous phase modulated (CPM) signals. On capable devices, the signal measures with very low phase error and passes industry specturm mask specifications.
38 1 ttsou
39
== Hardware support ==
40
41 9 ttsou
Fairwaves
42
||UmTRX||
43
44 1 ttsou
Ettus Research
45
||USRP1||
46
||USRP2||
47
||B100||
48
||B110||
49
||B200||
50
||B210||
51
||N200||
52
||N210||
53
||E100||
54
||E110||
55
56
== Embedded Platform Support ==
57
58
OsmoTRX has been tested on the following embedded platforms.
59
60 9 ttsou
||Platform||Processor||SIMD/FPU||
61 1 ttsou
||BeagleBoard-xM||ARM Cortex-A8||NEON||
62
||ArndaleBoard||ARM Cortex-A15||NEON-VFPv4||
63 2 ttsou
||RaspberryPi||ARMv6k||VFP||
64
||Shuttle PC||Intel Atom D2550||SSE3||
65
||Ettus E100||ARM Cortex-A8||NEON||
66 1 ttsou
67 14 ttsou
== Mailing List ==
68
69
For development purposes, OsmoTRX is discussed on both OpenBTS and OpenBSC mailing lists at openbts-discuss@lists.sourceforge.net and openbsc@lists.osmocom.org respectively. Subscription information is available at [https://lists.sourceforge.net/lists/listinfo/openbts-discuss] and [http://lists.osmocom.org/mailman/listinfo/openbsc/]. Please direct questions to the list appropriate for the GSM stack being used.
70
71 10 ttsou
== Benchmarks ==
72
73 13 ttsou
Selected benchmark results are provided below. All tests run on a single core only.
74 1 ttsou
75 13 ttsou
Intel Haswell (i7 4770K 3.5 GHz)
76 11 ttsou
77 13 ttsou
{{{
78
--- Floating point to integer conversions
79 11 ttsou
-- Testing 40000 iterations of 3120 values
80
- Measuring conversion time
81 13 ttsou
- Elapsed time base...                  0.065508 secs
82
- Validating SIMD conversion results... PASS
83 12 ttsou
- Measuring conversion time
84 13 ttsou
- Elapsed time SIMD ...                 0.011424 secs
85
- Speedup...                            5.734244
86 11 ttsou
}}}
87
88 13 ttsou
{{{
89 11 ttsou
[+] Testing: GSM TCH/AFS 7.95 (recursive, flushed, punctured)
90 10 ttsou
[.] Input length  : ret = 165  exp = 165 -> OK
91
[.] Output length : ret = 448  exp = 448 -> OK
92 1 ttsou
[.] Pre computed vector checks:
93
[..] Encoding: OK
94
[..] Decoding base: 
95
[..] Decoding SIMD: 
96
[..] Code N 3
97
[..] Code K 7
98
OK
99
[.] Random vector checks:
100
[.] Testing baseline:
101
[..] Encoding / Decoding 10000 cycles:
102
[.] Elapsed time........................ 1.435066 secs
103
[.] Rate................................ 3.121808 Mbps
104
[.] Testing SIMD:
105
[..] Encoding / Decoding 10000 cycles:
106
[.] Elapsed time........................ 0.073524 secs
107
[.] Rate................................ 60.932485 Mbps
108
[.] Speedup............................. 19.518334
109 13 ttsou
}}}
110
111
BeagleBoard-xM (ARM Cortex-A8 800 MHz)
112
{{{
113
--- Floating point to integer conversions
114
-- Testing 40000 iterations of 3120 values
115
- Measuring conversion time
116
- Elapsed time base...                  6.292542 secs
117
- Validating SIMD conversion results... PASS
118
- Measuring conversion time
119
- Elapsed time SIMD ...                 0.839081 secs
120
- Quotient...                           7.499326
121
}}}
122
123
{{{
124
[+] Testing: GSM TCH/AFS 7.95 (recursive, flushed, punctured)
125
[.] Input length  : ret = 165  exp = 165 -> OK
126
[.] Output length : ret = 448  exp = 448 -> OK
127
[.] Pre computed vector checks:
128
[..] Encoding: OK
129
[..] Decoding base: 
130
[..] Decoding SIMD: 
131
[..] Code N 3
132
[..] Code K 7
133
OK
134
[.] Random vector checks:
135
[.] Testing baseline:
136
[..] Encoding / Decoding 10000 cycles:
137
[.] Elapsed time........................ 21.963257 secs
138
[.] Rate................................ 0.203977 Mbps
139
[.] Testing SIMD:
140
[..] Encoding / Decoding 10000 cycles:
141
[.] Elapsed time........................ 3.083282 secs
142
[.] Rate................................ 1.452997 Mbps
143
[.] Speedup............................. 7.123337
144 10 ttsou
}}}
145
146 1 ttsou
== Status ==
147
148
== GPRS support ==
149
150
== Source code ==
151
152
The source code is available from git.osmocom.org (module osmo-trx).
153
154
Public read-only access is available via
155
 git clone git://git.osmocom.org/osmo-trx
156
You can browse it via cgit: http://cgit.osmocom.org/cgit/osmo-trx/
157
158 3 ttsou
== Configuration and Build ==
159
160
The only package dependency is the Universal Hardware Driver (UHD).
161
162
{{{
163
$ ./configure
164
$ make
165
$ sudo make install
166
}}}
167
168
== Running ==
169
170
{{{
171
$ osmo-trx -h
172
linux; GNU C++ version 4.8.1 20130603 (Red Hat 4.8.1-1); Boost_105300; UHD_003.005.004-140-gfb32ed16
173
174
Options:
175
  -h    This text
176
  -a    UHD device args
177
  -l    Logging level (EMERG, ALERT, CRT, ERR, WARNING, NOTICE, INFO, DEBUG)
178
  -i    IP address of GSM core
179
  -p    Base port number
180
  -d    Enable dual channel diversity receiver
181
  -x    Enable external 10 MHz reference
182
  -s    Samples-per-symbol (1 or 4)
183
  -c    Number of ARFCN channels (default=1)
184
}}}
185
186
{{{
187 5 ttsou
$ osmo-trx -a "addr=192.168.10.2"
188 3 ttsou
linux; GNU C++ version 4.8.1 20130603 (Red Hat 4.8.1-1); Boost_105300; UHD_003.004.000-b14cde5
189
190
Config Settings
191 4 ttsou
   Log Level............... INFO
192 3 ttsou
   Device args............. addr=192.168.10.2
193
   TRX Base Port........... 5700
194
   TRX Address............. 127.0.0.1
195
   Channels................ 1
196
   Samples-per-Symbol...... 4
197
   External Reference...... Disabled
198
   Diversity............... Disabled
199
200
-- Opening a UmTRX device...
201
-- Current recv frame size: 1472 bytes
202
-- Current send frame size: 1472 bytes
203
-- Setting UmTRX 4 SPS
204
-- Transceiver active with 1 channel(s)
205
}}}
206
207 1 ttsou
== Authors ==
208
209
OsmoTRX is currently developed and maintained by Thomas Tsou. The original code is derived from the OpenBTS project, which was developed by David Burgess and Harvind Samra at Range Networks.
Add picture from clipboard (Maximum size: 48.8 MB)