+ All Categories
Home > Documents > Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER...

Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER...

Date post: 25-Mar-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
40
This document is owned by Agilent Technologies, but is no longer kept current and may contain obsolete or inaccurate references. We regret any inconvenience this may cause. For the latest information on Agilent’s line of EEsof electronic design automation (EDA) products and services, please go to: www.agilent.com/find/eesof Agilent EEsof EDA
Transcript
Page 1: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

This document is owned by Agilent Technologies, but is no longer kept current and may contain obsolete or

inaccurate references. We regret any inconvenience this may cause. For the latest information on Agilent’s

line of EEsof electronic design automation (EDA) products and services, please go to:

www.agilent.com/fi nd/eesof

Agilent EEsof EDA

nstewart
Text Box
Presentation on Error Rate Simulations
Page 2: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 1

DDesignesignSSeminareminar

Agilent EEsof Agilent EEsof

Customer EducationCustomer Education

and Applicationsand Applications

BER SimulationsBits to Bits: are they all there?

This Seminar provides an introduction to estimating Bit Error Rate (BER) in anEDA simulation environment. Several important issues relating to this task arediscussed, including the role of noise in both baseband and RF applications,methods to achieve proper sampling and to determine the number of samplesrequired. Finally, we will discuss a methodology to increase the efficiency of BERsimulations.

Page 3: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 2

BERTuesday, June 12, 2001

Edelman Understanding BER Page 2

About the Author

Cory Edelman

• BSEE - California State University

• Applications Engineer, Agilent Comms EDA

• Course Instructor

• Specialist in Communication Systems

BIOGRAHPICAL SKETCH

Cory Edelman in an Application Engineer with Agilent EEsof. He has over 10 yearsof experience in the area of high-frequency EDA, with 20 years of overall industrydesign experience. Upon joining EEsof in 1988, Cory served as Technical SupportEngineer for the ground-breaking OmniSys Systems Simulator. Cory holds a BSEEfrom California State University, Northridge and resides in Thousand Oaks,California with his wife and two cats. When not preoccupied with the details of RFsystems, he enjoys playing the theatre pipe organ, piano and cello.

Page 4: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 3

BERTuesday, June 12, 2001

Edelman Understanding BER Page 3

Problem Statement and Topics

• Understanding System and Receiver Noise• Modeling System Noise in an EDA Environment• Configuring BER Simulations in an EDA Environment• Specifying the Timing and Accuracy• Fast BER Simulations using Importance Sampling

BER testing can be difficult, time consuming, and is often inefficient.

Topics to solve this problem:

Problem to be solved:

The topics are:- Receiver Noise: Specifications, Measurements and Assumptions- How to model noise in both Baseband and RF Systems- How to configure BER simulations to account for system delays- How to determine the required number of samples for the desired accuracy- Using Importance Sampling to make BER simulations more efficient

Page 5: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 4

BERTuesday, June 12, 2001

Edelman Understanding BER Page 4

BER Simulation Flow

Configuremodel ofcommuni-

cations system

Consider usingImportanceSampling, ifapplicable

Take controlof systemnoise

Account forsystemtiming

Determinedesiredaccuracy ofBER estimate

• Accurate and Efficient BER Simulation

Perform BERsimulationand evaluateresults

BER SIMULATION STEPS:- Configure a model of your communication system, including all effects exceptfor receiver noise- Control the system noise using a controlled noise source; this sets the Eb/Noor Es/No of the system at the detector- Set up the BER measurement, accounting for the system timing and delays- Determine the desired accuracy of the BER measurement, and set the number ofsimulation points accordingly- Consider the use of Importance Sampling to reduce the length of the simulation, ifappropriate for your type of system- Perform the simulation and evaluate

Page 6: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 5

BERTuesday, June 12, 2001

Edelman Understanding BER Page 5

Noise Concepts for BER

• Why is noise an issue ?• Controlling system noise tends to be confusing• Simulation methods consider noise differently

• What can be learned ?

• Basic noise concepts• How to properly model noise for accurate BER

While theoretical discussions of BER simulations are not difficult, being basedupon an understanding of statistics, practical systems require a deeper level ofunderstanding. In particular, achieving proper control of noise in the system isessential. The choice of simulation method is also a factor in how noise isconsidered.

You will learn basic concepts of noise in a receiver and how to properly model thatnoise for estimating BER. In addition, you will learn how to implement BERmeasurements in an EDA tool such as Advance Design System (ADS).

Page 7: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 6

BERTuesday, June 12, 2001

Edelman Understanding BER Page 6

Understanding Receiver Noise

• Receiver noise is defined by noise temperature, Ts

where: TS = TA + TR

Due toAntenna

Due toReceiver

Noise temperature is often used to describe the noise performance of a receiver. It ishelpful to consider the antenna and the receiver as separate entities. Then, we candefine a noise temperature for each. The total receiver noise temperature Ts istherefore the sum of the antenna and receiver-only noise temperatures.

Page 8: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 7

BERTuesday, June 12, 2001

Edelman Understanding BER Page 7

Simplifying Receiver Noise

• Receiver noise when ambient temperature is at absolute zero(0 Kelvin): TS = TR

Receiver Noise is setby: Receiver InputNoise Figure.

*Assume losslessantenna, pointedstraight up.

Antenna noise= zero*

When the antenna is free of passive losses, is at absolute zero (0 Kelvin) and ispointing straight up at the sky, the antenna has zero noise temperature. In that case,the total receiver noise Ts is just that due to the receiver itself.

Page 9: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 8

BERTuesday, June 12, 2001

Edelman Understanding BER Page 8

Noise for BER Measurement

• Bit Error Rate or Bit Error Ratio (BER) is defined ata specific signal-to-noise ratio, often expressed asEb/No or Es/No, where:

Eb = Energy per bitEs = Energy per symbolNo = Post-detection noise in 1-Hz BW

All BER measurements for a practical radio are defined at a certain signal-to-noiseratio. This is often normalized to the bit or symbol time duration to result in theterms Eb/No or Es/No, where No is the “noise density” or noise in a 1-Hzbandwidth.

Page 10: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 9

BERTuesday, June 12, 2001

Edelman Understanding BER Page 9

Relating C/N to Eb/No• In wireless communication systems, we can determine the

Carrier to Noise ratio: C/N.• For BER, we need Eb/No. Are they related?

• Yes, if the demodulation linearly translates the RFcarrier noise to the baseband signal.

Eb/No = Carrier power(dBm) - Noisepower(dBm/Hz) - 10log(Fb)

• where Fb is the bit rate in Hz, and Nyquistfiltering is used.

Carrier to Noise Ratio or C/N is often used to describe the modulated S/N of adigital radio. The Eb/No can be derived from C/N, assuming that the noise about theRF carrier is linearly translated to baseband during the demodulation process. Thisis often true of AM modulation (QAM, QPSK, 16QAM) but is generally not true ofFM modulation (FSK, MSK). In general, any demodulation which uses hardlimiting will not allow this relationship to be used.

Nyquist filtering is discussed next.

Page 11: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 10

BERTuesday, June 12, 2001

Edelman Understanding BER Page 10

Nyquist Filtering Basics• In a digital radio, filtering enables us to transmit as many

bits a possible for a given bandwidth.• The Nyquist or Raised-cosine filter is often used.

• Bandwidth is 1/2 of data rate

Fb/2 Fb

Practical rolloff(0<�<1)Ideal

(�=0)

SINC-1 Equalization

Frequency

Am

plit

ude

The Nyquist (raised-cosine) filter is often used in digital radios. It is normally set toa bandwidth of 1/2 of the data rate, and provides optimum bit/BW efficiency inmost applications.

There are some possible variations in Nyquist filtering which can affect thereceived noise spectrum:A) Pulse equalization: Since we transmit using pulses and not impulses, inverseSINC equalization is applied [ SINC = sin(f)/f ]. This EQ may be applied entirely atthe transmitter (typical) or partially at the receiver.B) Rolloff factor, �: Since ideal Nyquist filters cannot be realized, a controlledrolloff or excess bandwidth is specified, indicated by 0< � <1.

Page 12: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 11

BERTuesday, June 12, 2001

Edelman Understanding BER Page 11

Setting noise for BER measurements

For BER, there are two ways to precisely and predictably controlthe C/N and hence the Eb/No:

1) Determine the receiver Noise Figure and predict the noisepower.

But Eb/No is not controlled except by changing the design.

2) Assume a noiseless system and inject noise to control C/N and Eb/No. This is the best way!

The system noise must be under the control of the simulation so that the desiredC/N can be set which then sets the Eb/No or Es/No. There are two ways to do this:A) We can use the receiver’s noise figure to vary the noise in the system. However,this is often not intuitive and limits the options for modeling various components.B) We can make the receiver noiseless and inject a known noise signal. Thismethod is often found to be more flexible and is generally preferred.

Page 13: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 12

BERTuesday, June 12, 2001

Edelman Understanding BER Page 12

A typical Baseband System

• First, let’s examine a simple baseband system.• Channel includes frequency-dependent distortion but not

noise.

Eb/No

Data

Noise

BERTest

Reference

Channel

Eb/No

Erro

r Pro

babi

lity

Σ

Here, baseband signals are sent down a transmission line, cable or wire. The signalmay be corrupted by frequency-dependent and dispersive effects, as well as addednoise. In this example, there is one noise source, which may be adjusted to defineany desired signal-to-noise ratio at the input to BER measurement comparator anderror counter.

Page 14: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 13

BERTuesday, June 12, 2001

Edelman Understanding BER Page 13

Baseband BER in EDA (using ADS)

Gaussian Noise Source

Synch Delay*

MeasureMeasureBERBER

Measure BERMeasure BERand S/N orand S/N or Eb Eb/No/No

Noise Ref.

Data Ref.

*Equal to Filter/System Delay

Σ

Here is illustrated a basic baseband BER simulation using ADS. A data signal using+/- 1V (binary) bits is filtered, with separate transmit and receive filtersrepresenting the data transmission system. A Gaussian noise source is summed withthe data signal to set the S/N and hence Eb/No of the system. A delay is applied toa copy of the original, unfiltered data signal which is equal to the total transmissiondelay, here set by the filters. This delayed signal becomes the reference input to theBER counter.

Two types of BER measurement counters are available. One measures only theBER, the other also measures the Es/No or Eb/No.

Page 15: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 14

BERTuesday, June 12, 2001

Edelman Understanding BER Page 14

• Now, let us examine a digital radio. Data are quadrature-amplitude modulated onto a carrier, then transmitted.

• The signal may be represented as a complex envelopeabout a carrier

• Noise must be added as a complex envelope...

RF System

t42 t3

t1

Modulation Carrier

V t e j t( ) × 2 π f 0

tContains I and Qinformation.

In an RF system, a carrier is modulated based on the input data and some definedmodulation format. In general, this signal may be represented as a complexenvelope about the carrier. This offers simulation efficiency not possible if thesignal is represented as a baseband signal. However, when adding noise, thecomplex envelope representation must be considered. Noise should therefore alsobe added as a complex envelope. Furthermore, it is desireable that the I and Qcomponents of the envelope be uncorrelated.

Page 16: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 15

BERTuesday, June 12, 2001

Edelman Understanding BER Page 15

RF System for BER

Data BERTest

Reference

ChannelMux QMod

t42 t3

t1

Modulation Carrier

V t e j t( ) × 2 πf0

t

I Noise

Q Noise

QMod

t42 t3

t1

Noise Carrier

N t e j t( ) × 2πf0

t

Delay

Eb/No

UncorrelatedNoise Sources

Σ

In the RF system, data are created in the same manner as for the baseband system.Then, they are modulated, often using a quadrature scheme for higher throughput.In this case, noise added at RF should be similarly modulated starting withuncorrelated Gaussian noise sources.

Page 17: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 16

BERTuesday, June 12, 2001

Edelman Understanding BER Page 16

BER Simulation Flow

Configuremodel ofcommunicat-ions system

Consider usingImportanceSampling, ifapplicable

Perform BERsimulationand evaluateresults

Takecontrol of

system noise

Account forsystemtiming

Determinedesiredaccuracy ofBER estimate

• Accurate and Efficient BER Simulation

BER SIMULATION STEPS:- Configure a model of your communication system, including all effects except forreceiver noise- Control the system noise using a controlled noise source; this sets the Eb/No orEs/No of the system at the detector- Set up the BER measurement, accounting for the system timing and delays- Determine the desired accuracy of the BER measurement, and set the number ofsimulation points accordingly- Consider the use of Importance Sampling to reduce the length of the simulation, ifappropriate for your type of system- Perform the simulation and evaluate

Page 18: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 17

BERTuesday, June 12, 2001

Edelman Understanding BER Page 17

Baseband System Timing

• Use delay to synchronize test (system output) data and reference(system input) data

• Some simulators may offer an automatic synch mode for BER (inADS, set DelayBound > 0)

For correct counting of errors, both the test and reference signals must be sampledat the center of each bit or symbol. This can be accomplished by providing anappropriate delay to compensate for the system delay, or by using an automaticsynchronization function, such as provided in ADS. The automated delay is givenan upper bound for the delay. Then, a routine finds the optimum delay bycomparing the two signals.

Some BER measurements also determine S/N and express it in a meaningful way,as Eb/No or Es/No. This is done using the measured power in the test and referencesignals, plus the specified bit or symbol time period.

LNoEs

NoEb /=

where L = number ofbits/symbol

Page 19: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 18

BERTuesday, June 12, 2001

Edelman Understanding BER Page 18

RF System Timing

• Delay of Analog/RF portions of the system is often not easilyfound by inspection

Analog/RFNetwork

Hint: Using a time-domain simulator,observe the system’sresponse to an impulse

The RF system is seen to be similar to the baseband system, except that noise isinjected at RF as a complex modulation envelope, and is uncorrelated with thetransmitted signal.

As previously mentioned, the system delay must be accounted for. If an automaticsynchronization function is provided, only an upper bound need be specified. If asystem is modeled using only digital signal processing functions, including digitalfiltering, the delay can usually be found by inspection and analysis. However, if thesystem includes analog or RF models, the delay is often not easily obtained withoutadditional simulation. A possible approach is to excite the system with an impulse(a signal of very narrow, ideally infinitely small width) and observe the output timedomain response. Another is to graphically compare the reference and test bitstreams.

Note that for an RF system, just as with noise, the impulse source should beamplitude-modulated onto an RF carrier. However, a separate I and Q impulsesource is not required. This allows the simulator to sample just the impulse signal’senvelope, not the carrier itself, which is much more efficient.

Page 20: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 19

BERTuesday, June 12, 2001

Edelman Understanding BER Page 19

Bit Error Counter

Test

Reference

Simple counting method using XOR Gate:

1 = error

Integrator Circuit

The Bit Error Counter is essentially a digital comparator, for a simple binary signal.For multi-level QAM-type signals, where there is more than one threshold, thecircuit is more complex but is still based on the same concept. In the above figure,an XOR gate compares the Reference and Test data, then outputs a “1” when theyare not the same, indicating a bit error. An integrator sums the error signals so thatit’s output is proportional to the number of errors found. The ratio of this output tothe total number of samples is the BER.

In a simulation environment, this circuit may be provided or can be build fromsimple library components.

Page 21: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 20

BERTuesday, June 12, 2001

Edelman Understanding BER Page 20

BER Simulation Flow

Configuremodel ofcommunicat-ions system

Consider usingImportanceSampling, ifapplicable

Perform BERsimulationand evaluateresults

Account forsystemtiming

Determinedesiredaccuracy ofBER estimate

Takecontrol of

system noise

• Accurate and Efficient BER Simulation

BER SIMULATION STEPS:- Configure a model of your communication system, including all effects except forreceiver noise- Control the system noise using a controlled noise source; this sets the Eb/No orEs/No of the system at the detector- Set up the BER measurement, accounting for the system timing and delays- Determine the desired accuracy of the BER measurement, and set the numberof simulation points accordingly- Consider the use of Importance Sampling to reduce the length of the simulation, ifappropriate for your type of system- Perform the simulation and evaluate

Page 22: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 21

BERTuesday, June 12, 2001

Edelman Understanding BER Page 21

BER Accuracy

• Bit Error Rate is an estimate, not an exactmeasurement.

• Accuracy depends upon the number of observedsamples

• For some systems, a method know as ImportanceSampling can be used to reduce the required number ofsamples (covered later)

Measurement of BER is in reality only an estimate whose accuracy depends uponthe number of samples considered. It is often referred to as a Monte Carlo approach.For a given error tolerance, the accuracy can be predicted when a sufficient numbe rof samples are used.

A method is available to reduce the required number of samples for certain types ofdigital communication systems. This topic will be discussed later.

Page 23: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 22

BERTuesday, June 12, 2001

Edelman Understanding BER Page 22

How to determine the number of samplesrequired...

• Rule-of-Thumb:• If the expected BER is known, use 10X-100X BER-1

samples• Example: For QAM, BER=10-6, use 108 samples for a

relative variance of 0.01 (99% confidence)

• Observation:• Measure BER vs. Time. Estimate will converge to a nearly

constant value (within the variance)

The required number of samples can be predicted using several methods. One is a“rule of thumb” which states that one can use 10 to 100 times the inverse of theexpected error rate samples. If a factor of 100 is used, the relative variance is 0.01,which is a reasonable accuracy for most purposes. Another method is to observe theBER vs Time. The estimate will vary a large amount for the first few samples, thenwill converge to a more constant value. When that value is within the desiredvariance, in can be concluded that sufficient samples have been taken.

Page 24: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 23

BERTuesday, June 12, 2001

Edelman Understanding BER Page 23

Number of Required Samples

1E-11E-1

1E -21E -2

1E-31E-3

1E-41E-4

1E-51E-5

1E-61E-6

1E-71E-7

1E-81E-8

1E-91E-9

1E-101E-10

1E-111E-11

1E-111E-11

1E131E13

1E121E12

1E111E11

1E101E10

1E91E9

1E81E8

1E71E7

1E61E6

1E51E5

1E41E4

1E31E3

1E21E2

44 66 88 1010 1212 1414 1616

Pro

babi

lity

of E

rror

(P

E)

Pro

babi

lity

of E

rror

(P

E)

Num

ber of Monte C

arlo (MC

) Samples R

equiredN

umber of M

onte Carlo (M

C) Sam

ples Required

Es/No

PEPE

MCMC

Using Monte Carlo BER Estimation (99% Confidence)

This nomograph shows the required number of samples as a function of the BERand Es/No. The curve labeled “PE” is a familiar “waterfall” curve of the errorprobability vs. Es/No. “MC” indicates that the Monte Carlo method of estimation isbeing used, which is the type discussed herein.

Page 25: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 24

BERTuesday, June 12, 2001

Edelman Understanding BER Page 24

BER vs. Time/Symbols

About0.06%

Time/Symbols

Bit

Err

or R

ate

This graph incicates the BER vs. Time (here the number of symbols is shown on thex-axis) for a digital radio system. The BER estimate varys greatly at first, thensettles or converges to a more constant value of about 0.06%.

Page 26: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 25

BERTuesday, June 12, 2001

Edelman Understanding BER Page 25

Determinedesired

accuracy ofBER estimate

BER Simulation Flow

Consider usingImportanceSampling, ifapplicable

Perform BERsimulationand evaluateresults

Configuremodel ofcommunicat-ions system

Account forsystemtiming

Takecontrol of

system noise

• Accurate and Efficient BER Simulation

NEXT: Save Time...

BER SIMULATION STEPS:- Configure a model of your communication system, including all effects except forreceiver noise- Control the system noise using a controlled noise source; this sets the Eb/No orEs/No of the system at the detector- Set up the BER measurement, accounting for the system timing and delays- Determine the desired accuracy of the BER measurement, and set the number ofsimulation points accordingly- Consider the use of Importance Sampling to reduce the length of thesimulation, if appropriate for your type of system- Perform the simulation and evaluate

Page 27: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 26

BERTuesday, June 12, 2001

Edelman Understanding BER Page 26

Ways to Improve Efficiency

• Standard Monte Carlo techniques require 100 to 1000 moresamples than the error rate itself

• For a typical BER of 10-6, you would need 10 to 100 millionsamples!

• In many cases, we need only a small fraction of these samples ifwe use Importance Sampling

Problem:

Estimating the BER takes a lot of time...

BER estimation is often too time-consuming to be practical. The standard Monte-Carlo technique requires 2 or 3 orders of magnitude more samples than the errorrate itself. Often, we can use Importance Sampling to reduce the required number ofsamples to a small fraction of this.

Page 28: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 27

BERTuesday, June 12, 2001

Edelman Understanding BER Page 27

BER - Using Importance Sampling

1E-11E-1

1E -21E -2

1E-31E-3

1E-41E-4

1E-51E-5

1E-61E-6

1E-71E-7

1E-81E-8

1E-91E-9

1E-101E-10

1E-111E-11

1E-111E-11

1E131E13

1E121E12

1E111E11

1E101E10

1E91E9

1E81E8

1E71E7

1E61E6

1E51E5

1E41E4

1E31E31E21E2

44 66 88 1010 1212 1414 1616

Pro

babi

lity

of E

rror

(P

E)

Pro

babi

lity

of E

rror

(P

E)

Num

ber of Samples R

equiredN

umber of Sam

ples Required

Es/NoEs/No

PEPE

MCMC

IISIIS

How to save simulation time...

A PE of 1E-4 wouldA PE of 1E-4 wouldrequire 1E6 samplesrequire 1E6 samplesfor Monte Carlofor Monte Carlo vs vs..1E3 samples for1E3 samples forImportance SamplingImportance Sampling

As shown in this nomograph, a system with an error probability of 1 errror in10,000 symbols would require 100,000 simulation samples using Monte Carlo, butonly 1,000 samples using Importance Sampling.

Page 29: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 28

BERTuesday, June 12, 2001

Edelman Understanding BER Page 28

Decision Threshold and Probability

Threshold

Errors:

Gaussian Probability of“+1”

Gaussian Probabilityof “-1”

+1V

-1V

due to noise or distortion

A binary signaling system is illustrated here. The probability of a +1V or -1V signalis shown by a Gaussian distribution (Probability Density Function or PDF).. Theportion of one value’s PDF that overlaps into the other’s space represents the errorprobability for that value. Sometimes, a signal will exist in that space and thuscause a decision error.

Page 30: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 29

BERTuesday, June 12, 2001

Edelman Understanding BER Page 29

Modify the Probability (PDF*)

•Conventional ImportanceSampling (CIS) Modified PDF

•Improved ImportanceSampling (IIS) Modified PDF

Original PDF*

ThresholdThreshold

Threshold+1V

-1V

*PDF: Probability Density Function

In Importance Sampling, the system characteristics are modified during simulationto change the PDF. In the Conventional Importance Sampling (CIS) approach, thevariance of the PDF is changed so that there is a greater probability of an error andat the same time obtain a minimum variance of the BER estimate. In the ImprovedImportance Sampling method (IIS), the variance of the PDF is unchanged but thePDF is shifted. In this way, error events occur more frequently, and the BERestimation variance is much smaller than that of CIS. For a system with memory(for example, the system includes filters) the IIS method is much better than CISbased on the simulation variance calculation. Therefore, IIS is the preferred methodfor improving the efficiency of BER measurements.

Page 31: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 30

BERTuesday, June 12, 2001

Edelman Understanding BER Page 30

When can Importance Sampling be Used?

• Improved Importance Sampling is valid only when the systemuses an amplitude modulation technique:

• PAM, QAM, QPSK, DQPSK, Pi/4DQPSK

• Improved Importance Sampling is valid only when the systemnoise can be considered a linear process:

• This is true for AM system when the noise is much lowerthan the signal.

• This is not true if a limiter or hard-decision detector isused.

The Agilent Ptolemy Improved Importance Sampling nethod can only be applied tosystems which meet certain guidelines. The system must:- use an amplitude modulation and demodulation method, such as PAM, QAM,QPSK, DQPSK, Pi/4DQPSKAND- system noise is not greatly affected by non-linearities in the systemThe IS estimator uses a noise source which is keyed to the energy per symbol, Es,found by examining the transmitted signal.

Page 32: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 31

BERTuesday, June 12, 2001

Edelman Understanding BER Page 31

Importance Sampling vs. Monte Carlo - QPSKBER Simulation

0

50

100

150

200

Simulation Time

IISMCSe

cond

s

The faster simulation using Importance Sampling is illustrated by these simulationresults for a QPSK radio. The IIS method takes only 8 seconds, compared to 182seconds for Monte Carlo.

Page 33: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 32

BERTuesday, June 12, 2001

Edelman Understanding BER Page 32

RF System BER simulation in ADS

Data Source

QPSKModulator

UncorrelatedNoise Sources

QAM Modulator

QPSKDemodulator

Delay

BERMeasurement

Optional: Sweep Noise Levelto Vary Eb/No or Es/No

Set to BERonly or BERvs Time

Σ

This ADS schematic incorporates all of the concepts that we have discussed. Anideal RF system is modeled, with proper injection of complex carrier noise tocontrol the Eb/No, and reference signal delay is applied to synchronize it to the testsignal. The delay in this system is due to the filters in the modulation anddemodulation process, which is not shown here in detail. The BER measurementmethod, Monte Carlo or IIS, is selected by using an appropriate measurement“sink”.

Page 34: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 33

BERTuesday, June 12, 2001

Edelman Understanding BER Page 33

Summary and Review

• BER simulations require an understanding of system noise effects.• Baseband and RF Systems are different!

1) Review question: In what way are they different?

• BER simulations require precise timing of the measured test andreference signals.

2) Review question: What is one possible technique for finding the system delay?

More...

NOTE: Answers are in the notes page….

Review answers:1) Noise in baseband systems can be controlled by simply summing Gaussian noisewith the data signal. RF systems require that the noise be summed as a complexsignal envelope, about the RF carrier.

2) Excite the analog parts of the system with an impulse signal and observe theresponse using a time-domain simulator.

Page 35: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 34

BERTuesday, June 12, 2001

Edelman Understanding BER Page 34

Summary and Review

• BER simulations will be only as accurate as the number of samplesallows

3) Review question: What is a common “rule-of- thumb” used todetermine the required number of samples?

• BER simulations can be made more efficient by use of ImportanceSampling

4) Review question: What assumptions must be made whenImportance Sampling is applied?

Continued...

Review answers:1) The required number of samples is 10 to 100 times the error rate, depending onthe desired variance of the BER estimate.

2) IS may be used when the system uses amplitude modulation and noise is notaffected by non-linearities.

Page 36: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 35

BERTuesday, June 12, 2001

Edelman Understanding BER Page 35

References

• Dingqing Lu and Kung Yao, “Improved Importance SamplingTechnique for Efficient Simulation of Digital CommunicationSystems”, IEEE Journal on Selected Areas in Communications, Vol.6, No. 1, pp. 67-75, January 1988

• Dingqing Lu and Kung Yao, “Estimation Variance Bounds OfImportance Sampling Simulations in Digital CommuncationSystems”, IEEE Transactions on Communications, Vol. 39, No. 10,October, 1991

ReferencesDingqing Lu and Kung Yao, “Improved Importance Sampling Technique for Efficient Simulation ofDigital Communication Systems”, IEEE Journal on Selected Areas in Communications, Vol. 6, No.1, pp. 67-75, January 1988Dingqing Lu and Kung Yao, “Estimation Variance Bounds Of Importance Sampling Simulations inDigital Communcation Systems”, IEEE Transactions on Communications, Vol. 39, No. 10, October,1991

Page 37: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 36

BERTuesday, June 12, 2001

Edelman Understanding BER Page 36

End of Design Seminar...

Page 38: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 37

BERTuesday, June 12, 2001

Edelman Understanding BER Page 37

ADS Project and Exercises (1)•Project name: BER_IISvsMC_prj

•Exercise 1: Sweeping Es/No for MC BER

1) Open the design BER_MC

2) De-activate all Timed sinks and set theberMC parameter berOutput = ber only toreduce the dataset size

3) Activate the Parameter Sweep item andsimulate* (hint: use Simulate>Setup to change the datasetname; this retains the original dataset which doesn’t use thesweep - the data display uses BER_MC_vsTime)

4) Display the measurement b1 on a table (list)to observe BER vs. Es/No or use the datadisplay BER_Sweep *Simulation time is about 280 seconds under Win NT, PIII/650 MHz

Page 39: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

BER Simulations - 38

BERTuesday, June 12, 2001

Edelman Understanding BER Page 38

ADS Project and Exercises (2)

• Exercise 2: Using the Impulse Response to find the system’stime delay

1) Open the design Impulse_RF_Basic2) Open the data display Impulse_RF. If no data is shown,

simulate the schematic design to observe the impulseresponse.

3) Adjust the marker (hint: select the marker with the cursor anduse the left/right arrow keys to move the marker) to find thenominal system delay (19 usec).

Optional: If the Circuit Envelope simulator is available, activate the sub-network and repeat the test using it instead of the filter and mixer.Note that the impulse response will be inverted.

Page 40: Presentation on Bit Error Rate Simulationsliterature.cdn.keysight.com/litweb/pdf/5989-9111EN.pdfBER Simulations - 6. BER Tuesday, June 12, 2001 Edelman Understanding BER Page 6. Understanding

www.agilent.com/fi nd/emailupdatesGet the latest information on the products and applications you select.

www.agilent.com/fi nd/agilentdirectQuickly choose and use your test equipment solutions with confi dence.

Agilent Email Updates

Agilent Direct

www.agilent.comFor more information on Agilent Technologies’ products, applications or services, please contact your local Agilent office. The complete list is available at:www.agilent.com/fi nd/contactus

AmericasCanada (877) 894-4414 Latin America 305 269 7500United States (800) 829-4444

Asia Pacifi cAustralia 1 800 629 485China 800 810 0189Hong Kong 800 938 693India 1 800 112 929Japan 0120 (421) 345Korea 080 769 0800Malaysia 1 800 888 848Singapore 1 800 375 8100Taiwan 0800 047 866Thailand 1 800 226 008

Europe & Middle EastAustria 0820 87 44 11Belgium 32 (0) 2 404 93 40 Denmark 45 70 13 15 15Finland 358 (0) 10 855 2100France 0825 010 700* *0.125 €/minuteGermany 01805 24 6333** **0.14 €/minuteIreland 1890 924 204Israel 972-3-9288-504/544Italy 39 02 92 60 8484Netherlands 31 (0) 20 547 2111Spain 34 (91) 631 3300Sweden 0200-88 22 55Switzerland 0800 80 53 53United Kingdom 44 (0) 118 9276201Other European Countries: www.agilent.com/fi nd/contactusRevised: March 27, 2008

Product specifi cations and descriptions in this document subject to change without notice.

© Agilent Technologies, Inc. 2008

For more information about Agilent EEsof EDA, visit:

www.agilent.com/fi nd/eesof

nstewart
Text Box
Printed in USA, June 12, 2001 5989-9111EN

Recommended