Seminar Presentation Adaptive Multi Rate Wideband Speech Codec

Seminar Presentation: Adaptive Multi. Rate Wideband Speech Codec deployment in 3 G Core Network Sergei Hyppenen Supervisor: Professor Sven-Gustav Häggman HELSINKI UNIVERSITY OF TECHNOLOGY 11. 04. 2006 1 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

Contents of the presentation • Abbreviations • Introduction • AMR-WB speech codec • Network architectures: GSM and 3 G (Release 4) • Speech transmission • Tr. FO and TFO • Out-of-Band Transcoder Control in Tr. FO • TFO frames • Lawful interception • Signal interception simulation • Test results: Noise floor values • Test results: MOS quality values • Conclusions 2 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

Abbreviations • 3 G: 3 rd Generation • HR: Half Rate speech codec • ACELP: Algebraic Code-Excited Linear Prediction • IP: Internet Protocol • AMR-WB: Adaptive Multi-Rate Wideband speech codec • LSB: Least Significant Bit • ATM: Asynchronous Transfer Mode • NSS: Network Sub-System • BSS: Base Station Subsystem • Oo. BTC: Out-of-Band Transcoder Control • CN: Core network • TC: Transcoder • d. B: decibel • TDM: Time Division Multiplexing • d. Bov: d. B relative to the overload point of the digital system • TFO: Tandem Free Operation • DTX: Discontinuous Transmission • MOS: Mean Opinion Score rated 1 -5 • Tr. FO: Transcoder Free Operation • EDGE: Enhanced Data rates for Global Evolution • UMTS: Universal Mobile Telecommunications System • G. 711: PCM-based coding method with 8 k. Hz sampling frequency and 8 -bit A- or µ-law weighting • VAD: Voice Activity Detection • GSM: Global System for Mobile Communications 3 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy • WB-PESQ: a tool for quality evaluation [ITUT: P. 862]

Introduction • Speech contains frequencies up to the 10 k. Hz • Current fixed and mobile telecommunication systems operate with a narrow audio bandwidth: 300 -3400 Hz (ITU-T G. 711) • 500 -3000 Hz is sufficient for understanding • The sampling frequency used in digital core networks is 8000 Hz → in theory enables transmitting signals up to 4000 Hz • Codecs utilized in mobile systems lower the quality of narrowband speech even more than the G. 711 • AMR-WB speech codec improves the quality and especially the naturalness of speech • In EDGE and UMTS all coding modes of the AMR-WB will be used, in GSM only coding modes till 12. 65 kb/s 4 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

AMR-WB speech codec • Process 50 -7000 Hz • Sampling: 16 k. Hz • Precision: 14 -bit • Coding model: ACELP • VAD and DTX • Bad frame handler • Bit rates: 6. 60, 8. 85, 12. 65, 14. 25, 15. 85, 18. 25, 19. 85, 23. 05, 23. 85 kb/s • Coding mode 12. 65 kb/s produces better quality than G. 711 (64 kb/s) 5 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

Network architectures: GSM and 3 G (Release 4) • GSM: Transcoder (TC) is a part of Base Station Subsystem (BSS) • In core Network Sub-Systems (NSS) speech signals are transferred in G. 711 form • 3 G, Release 4: Core Network (CN) is divided to Packet Switched (PS) and Circuit Switched (CS) domains • CS domain is separated to Control Plane (Signaling) and User Plane (Data) • TC moved to core network, but still, the most common scheme to transfer speech in CN is G. 711 6 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

Speech transmission • In current telecommunication systems transcoding is performed at least twice • In core networks speech signals are transferred in narrowband G. 711 form and one-way connection requires a 64 kb/s channel GSM • Wideband speech cannot be transferred using the same technique • Requires 16 k. Hz * 14 bit connection speeds, which are UNAXEPTABLY HIGH! • → wideband speech should be transferred only in CODED FORM! 7 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

Tr. FO and TFO • Transcoder Free Operation (Tr. FO) transfers coded speech frames in ATM- and IP-based networks as such • In Tandem Free Operation (TFO) coded frames are merged into least significant bits (LSB) of PCM-based signals • Transcoder-free means that the same codec is used on the both sides of a connection → Out-of. Band Transcoder Control (Oo. BTC) is needed • The TFO is utilized in TDM networks • TFO protocol negotiates with the distant partner a common codec to be used by sending messages in-band • Message bits replace every 16 th LSB • Oo. BTC requires the late assignment • When both mobile terminals switch to a of a radio traffic channel with compatible codec, coded speech forward bearer establishment in CN frames can be merged into PCM(see the next slide for details) based stream that was decoded from those coded frames 8 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

Out-of-Band Transcoder Control in Tr. FO • In Tr. FO negotiation of the codec to be used during the call has to be performed before the bearer establishment procedures 9 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

TFO frames 1 • When TFO is operational 1, 2 or 4 LSBs of every 8 -bit PCM sample are replaced by TFO frames • TFO frames requiring replacement of 4 LSBs consist of the main frame part (1 st and 2 nd LSBs) and the extension frame part (3 rd and 4 th LSBs). • During the transmission through the core network TFO frames should not be modified by noise suppression, level control or other enhancement algorithms 10 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

TFO frames 2 • TFO frames are different for each codec and each coding mode, if a multi-rate codec is in question • TFO frames contain synchronization bits, control and error correction bits, time alignment bits, spare bits and actual data bits • Synchronization and control bits are used only in the main part • On the right is an example of the TFO frames specified for the AMR-WB, the coding mode is 23. 85 kb/s 11 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

Lawful interception • Before an operator may launch a commercial telecommunication network, it has to provide the lawful interception service. • The quality provided for the authorities has to be the same or better than the quality provided for the monitored target • PCM-based intercepted signals are directed to the authorities as such • Coded signals are converted into PCM form • What to do if the intercepted signal contains TFO frames? After all, the signal is noisy • The solution is utilization of the passive TFO protocol • But how bad the noise really is? 12 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

Signal interception simulation • Theoretical noise floor values were calculated with the assumption that every bit in signal representation raises the dynamics of the signal 6 d. B • The results were verified by sending silence through the testing system • Also the MOS quality values of the speech signals were evaluated using the WBPESQ tool • In tests the scheme presented on the right was simulated 13 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

Test results: Noise floor values • Linear notation of the A-law is 13 bits and the µ-law is 14 bits. The first bit is the sign bit and it is not one of the effective bits in representation • In theory only half of the bits are really replaced → measured noise floor values are lower than the calculated ones 14 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

Test results: MOS quality values • The level of the original signals was -26 d. Bov and SNR 45 d. B • Decoded from TFO frames signals (2 b) are slightly different than the originally decoded ones (2 a), as TFO protocol needs approx 1 second time to establish a connection. During that time no coded speech frames are sent 15 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy

Conclusions • SNR values of the intercepted signals with AMR-WB-specific TFO frames were 15 -25 d. B (original signals -26 d. Bov) and MOS grades below two. • If the original signals would have contained noise from the beginning, as it is usually in real phone-calls, the quality would have been lower • Using in the tests signals with lower levels, -30 and -36 d. Bov, which corresponds to intensive whispering in real-world calls, the results would have been even worse • → authorities will not be satisfied with the quality of the intercepted signal • → the passive TFO protocol is needed indeed! 16 © 2006 Nokia AMRWB_depl. ppt / 2006 -04 -11 / SHy
- Slides: 16