Bit error rate

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Bit error rate" – news · newspapers · books · scholar · JSTOR (March 2013) (Learn how and when to remove this template message)

|

In digital transmission, the number of bit errors is the number of received bits of a data stream over a communication channel that have been altered due to noise, interference, distortion or bit synchronization errors.

The bit error rate (BER) is the number of bit errors per unit time. The bit error ratio (also BER) is the number of bit errors divided by the total number of transferred bits during a studied time interval. Bit error ratio is a unitless performance measure, often expressed as a percentage.[1]

The bit error probability pe is the expected value of the bit error ratio. The bit error ratio can be considered as an approximate estimate of the bit error probability. This estimate is accurate for a long time interval and a high number of bit errors.

## Contents

* 1 Example
* 2 Packet error ratio
* 3 Factors affecting the BER
* 4 Analysis of the BER
* 5 Mathematical draft
* 6 Bit error rate test
* 6.1 Common types of BERT stress patterns
* 7 Bit error rate tester
* 8 See also
* 9 References
* 10 External links

## Example[edit | edit source]

As an example, assume this transmitted bit sequence:

1 1 0 0 0 1 0 1 1

and the following received bit sequence:

0 1 0 1 0 1 0 0 1,

The number of bit errors (the underlined bits) is, in this case, 3. The BER is 3 incorrect bits divided by 9 transferred bits, resulting in a BER of 0.333 or 33.3%.

## Packet error ratio[edit | edit source]

The packet error ratio (PER) is the number of incorrectly received data packets divided by the total number of received packets. A packet is declared incorrect if at least one bit is erroneous. The expectation value of the PER is denoted packet error probability pp, which for a data packet length of N bits can be expressed as

p p = 1 − ( 1 − p e ) N = 1 − e N ln ⁡ ( 1 − p e ) {\displaystyle p_{p}=1-(1-p_{e})^{N}=1-e^{N\ln(1-p_{e})}} ,

assuming that the bit errors are independent of each other. For small bit error probabilities and large data packets, this is approximately

p p ≈ p e N . {\displaystyle p_{p}\approx p_{e}N.}

Similar measurements can be carried out for the transmission of frames, blocks, or symbols.

The above expression can be rearranged to express the corresponding BER (pe) as a function of the PER (pp) and the data packet length N in bits:

p e = 1 − ( 1 − p p ) N {\displaystyle p_{e}=1-{\sqrt[{N}]{(1-p_{p})}}}

## Factors affecting the BER[edit | edit source]

In a communication system, the receiver side BER may be affected by transmission channel noise, interference, distortion, bit synchronization problems, attenuation, wireless multipath fading, etc.

The BER may be improved by choosing a strong signal strength (unless this causes cross-talk and more bit errors), by choosing a slow and robust modulation scheme or line coding scheme, and by applying channel coding schemes such as redundant forward error correction codes.

The transmission BER is the number of detected bits that are incorrect before error correction, divided by the total number of transferred bits (including redundant error codes). The information BER, approximately equal to the decoding error probability, is the number of decoded bits that remain incorrect after the error correction, divided by the total number of decoded bits (the useful information). Normally the transmission BER is larger than the information BER. The information BER is affected by the strength of the forward error correction code.

## Analysis of the BER[edit | edit source]

The BER may be evaluated using stochastic (Monte Carlo) computer simulations. If a simple transmission channel model and data source model is assumed, the BER may also be calculated analytically. An example of such a data source model is the Bernoulli source.

Examples of simple channel models used in information theory are:

* Binary symmetric channel (used in analysis of decoding error probability in case of non-bursty bit errors on the transmission channel)
* Additive white Gaussian noise (AWGN) channel without fading.

A worst-case scenario is a completely random channel, where noise totally dominates over the useful signal. This results in a transmission BER of 50% (provided that a Bernoulli binary data source and a binary symmetrical channel are assumed, see below).

File:PSK BER curves.svg

Bit-error rate curves for BPSK, QPSK, 8-PSK and 16-PSK, AWGN channel.

File:Diff enc BPSK BER curves.svg

BER comparison between BPSK and differentially encoded BPSK with gray-coding operating in white noise.

In a noisy channel, the BER is often expressed as a function of the normalized carrier-to-noise ratio measure denoted Eb/N0, (energy per bit to noise power spectral density ratio), or Es/N0 (energy per modulation symbol to noise spectral density).

For example, in the case of QPSK modulation and AWGN channel, the BER as function of the Eb/N0 is given by:  BER = 1 2 erfc ⁡ ( E b / N 0 ) {\displaystyle \operatorname {BER} ={\frac {1}{2}}\operatorname {erfc} ({\sqrt {E_{b}/N_{0}}})} .[2]

People usually plot the BER curves to describe the performance of a digital communication system. In optical communication, BER(dB) vs. Received Power(dBm) is usually used; while in wireless communication, BER(dB) vs. SNR(dB) is used.

Measuring the bit error ratio helps people choose the appropriate forward error correction codes. Since most such codes correct only bit-flips, but not bit-insertions or bit-deletions, the Hamming distance metric is the appropriate way to measure the number of bit errors. Many FEC coders also continuously measure the current BER.

A more general way of measuring the number of bit errors is the Levenshtein distance. The Levenshtein distance measurement is more appropriate for measuring raw channel performance before frame synchronization, and when using error correction codes designed to correct bit-insertions and bit-deletions, such as Marker Codes and Watermark Codes.[3]

## Mathematical draft[edit | edit source]

The BER is the likelihood of a bit misinterpretation due to electrical noise  w ( t ) {\displaystyle w(t)} . Considering a bipolar NRZ transmission, we have

x 1 ( t ) = A + w ( t ) {\displaystyle x_{1}(t)=A+w(t)} for a "1" and  x 0 ( t ) = − A + w ( t ) {\displaystyle x_{0}(t)=-A+w(t)} for a "0". Each of  x 1 ( t ) {\displaystyle x_{1}(t)} and  x 0 ( t ) {\displaystyle x_{0}(t)} has a period of  T {\displaystyle T} .

Knowing that the noise has a bilateral spectral density  N 0 2 {\displaystyle {\frac {N_{0}}{2}}} ,

x 1 ( t ) {\displaystyle x_{1}(t)} is  N ( A , N 0 2 T ) {\displaystyle {\mathcal {N}}\left(A,{\frac {N_{0}}{2T}}\right)}

and  x 0 ( t ) {\displaystyle x_{0}(t)} is  N ( − A , N 0 2 T ) {\displaystyle {\mathcal {N}}\left(-A,{\frac {N_{0}}{2T}}\right)} .

Returning to BER, we have the likelihood of a bit misinterpretation  p e = p ( 0 | 1 ) p 1 + p ( 1 | 0 ) p 0 {\displaystyle p_{e}=p(0|1)p_{1}+p(1|0)p_{0}} .

p ( 1 | 0 ) = 0.5 erfc ⁡ ( A + λ N o / T ) {\displaystyle p(1|0)=0.5\,\operatorname {erfc} \left({\frac {A+\lambda }{\sqrt {N_{o}/T}}}\right)} and  p ( 0 | 1 ) = 0.5 erfc ⁡ ( A − λ N o / T ) {\displaystyle p(0|1)=0.5\,\operatorname {erfc} \left({\frac {A-\lambda }{\sqrt {N_{o}/T}}}\right)}

where  λ {\displaystyle \lambda } is the threshold of decision, set to 0 when  p 1 = p 0 = 0.5 {\displaystyle p_{1}=p_{0}=0.5} .

We can use the average energy of the signal  E = A 2 T {\displaystyle E=A^{2}T} to find the final expression :

p e = 0.5 erfc ⁡ ( E N o ) . {\displaystyle p_{e}=0.5\,\operatorname {erfc} \left({\sqrt {\frac {E}{N_{o}}}}\right).} ±§

## Bit error rate test[edit | edit source]

BERT or bit error rate test is a testing method for digital communication circuits that uses predetermined stress patterns consisting of a sequence of logical ones and zeros generated by a test pattern generator.

A BERT typically consists of a test pattern generator and a receiver that can be set to the same pattern. They can be used in pairs, with one at either end of a transmission link, or singularly at one end with a loopback at the remote end. BERTs are typically stand-alone specialised instruments, but can be personal computer–based. In use, the number of errors, if any, are counted and presented as a ratio such as 1 in 1,000,000, or 1 in 1e06.

### Common types of BERT stress patterns[edit | edit source]

* PRBS (pseudorandom binary sequence) – A pseudorandom binary sequencer of N Bits. These pattern sequences are used to measure jitter and eye mask of TX-Data in electrical and optical data links.
* QRSS (quasi random signal source) – A pseudorandom binary sequencer which generates every combination of a 20-bit word, repeats every 1,048,575 words, and suppresses consecutive zeros to no more than 14. It contains high-density sequences, low-density sequences, and sequences that change from low to high and vice versa. This pattern is also the standard pattern used to measure jitter.
* 3 in 24 – Pattern contains the longest string of consecutive zeros (15) with the lowest ones density (12.5%). This pattern simultaneously stresses minimum ones density and the maximum number of consecutive zeros. The D4 frame format of 3 in 24 may cause a D4 yellow alarm for frame circuits depending on the alignment of one bits to a frame.
* 1:7 – Also referred to as 1 in 8. It has only a single one in an eight-bit repeating sequence. This pattern stresses the minimum ones density of 12.5% and should be used when testing facilities set for B8ZS coding as the 3 in 24 pattern increases to 29.5% when converted to B8ZS.
* Min/max – Pattern rapid sequence changes from low density to high density. Most useful when stressing the repeater's ALBO feature.
* All ones (or mark) – A pattern composed of ones only. This pattern causes the repeater to consume the maximum amount of power. If DC to the repeater is regulated properly, the repeater will have no trouble transmitting the long ones sequence. This pattern should be used when measuring span power regulation. An unframed all ones pattern is used to indicate an AIS (also known as a blue alarm).
* All zeros – A pattern composed of zeros only. It is effective in finding equipment misoptioned for AMI, such as fiber/radio multiplex low-speed inputs.
* Alternating 0s and 1s \- A pattern composed of alternating ones and zeroes.
* 2 in 8 – Pattern contains a maximum of four consecutive zeros. It will not invoke a B8ZS sequence because eight consecutive zeros are required to cause a B8ZS substitution. The pattern is effective in finding equipment misoptioned for B8ZS.
* Bridgetap \- Bridge taps within a span can be detected by employing a number of test patterns with a variety of ones and zeros densities. This test generates 21 test patterns and runs for 15 minutes. If a signal error occurs, the span may have one or more bridge taps. This pattern is only effective for T1 spans that transmit the signal raw. Modulation used in HDSL spans negates the bridgetap patterns' ability to uncover bridge taps.
* Multipat \- This test generates five commonly used test patterns to allow DS1 span testing without having to select each test pattern individually. Patterns are: all ones, 1:7, 2 in 8, 3 in 24, and QRSS.
* T1-DALY and 55 OCTET \- Each of these patterns contain fifty-five (55), eight bit octets of data in a sequence that changes rapidly between low and high density. These patterns are used primarily to stress the ALBO and equalizer circuitry but they will also stress timing recovery. 55 OCTET has fifteen (15) consecutive zeroes and can only be used unframed without violating one's density requirements. For framed signals, the T1-DALY pattern should be used. Both patterns will force a B8ZS code in circuits optioned for B8ZS.

## Bit error rate tester[edit | edit source]

A bit error rate tester (BERT), also known as a "bit error ratio tester"[4] or bit error rate test solution (BERTs) is electronic test equipment used to test the quality of signal transmission of single components or complete systems.

The main building blocks of a BERT are:

* Pattern generator, which transmits a defined test pattern to the DUT or test system
* Error detector connected to the DUT or test system, to count the errors generated by the DUT or test system
* Clock signal generator to synchronize the pattern generator and the error detector
* Digital communication analyser is optional to display the transmitted or received signal
* Electrical-optical converter and optical-electrical converter for testing optical communication signals

## See also[edit | edit source]

* Burst error
* Error correction code
* Errored second
* Pseudo bit error ratio
* Viterbi Error Rate

## References[edit | edit source]

1. ^ Jit Lim (14 December 2010). "Is BER the bit error ratio or the bit error rate?". EDN. Retrieved 2015-02-16. `{{cite magazine}}`: Cite magazine requires `|magazine=` (help)
2. ^ Digital Communications, John Proakis, Massoud Salehi, McGraw-Hill Education, Nov 6, 2007
3. ^ "Keyboards and Covert Channels" by Gaurav Shah, Andres Molina, and Matt Blaze (2006?)
4. ^ "Bit Error Rate Testing: BER Test BERT » Electronics Notes". www.electronics-notes.com. Retrieved 2020-04-11.

This article incorporates public domain material from Federal Standard 1037C. General Services Administration. (in support of MIL-STD-188).

## External links[edit | edit source]

* QPSK BER for AWGN channel – online experiment

cs:BER