[0001] METHOD FOR IMPLEMENTING A COMMUNICATION
TRANSCEIVER IMPAIRMENT EMULATOR
[0002] BACKGROUND
[0003] The present invention relates to communications, communication networks and especially wireless type networks. More particularly the present invention relates to a method for evaluating network design and characteristics through the introduction of impairments to the network and enable more efficient and cost effective testing and evaluation.
[0004] DESCRIPTION OF THE RELATED ART
[0005] A communication system typically transmits an information signal from a source to a destination over a medium, which may be guided or unguided such as copper, optical fiber or air, the medium being commonly referred to as the communication channel. The information signal is altered, i.e., modulated, to match the characteristics of the channel. The communication is demodulated at the receiving end to recover the information - bearing signal. The communication system typically compromises a transmit modem, an up converter or transmitter, communication medium, down converter or receiver and a received modem. The input data is modulated and up converted on to a predefined carrier frequency and outputted to the communication medium. Inverse operations are performed at the receiver.
[0006] Modulation techniques presently in use include frequency modulation (FM), frequency shift keying (FSK), phase shift keying (PSK), binary phase shift keying (BPSK) and differential phase shift keying (DPSK). The most commonly used high speed methods for data modulation are quadrature amplitude modulation (QAM) and quadrature phase shift keying (QPSK). These techniques modify the amplitude and phase of a predefined carrier frequency according to an input signal in order to transmit multiple bits per baud to make more efficient use of available bandwidth.
[0007] Modulation, such as quadrature modulation is typically performed in a modem, providing a baseband output whereupon a predefined carrier
frequency is modulated with the baseband output and is amplified and transmitted in the communication medium. Up conversion is utilized when channel frequencies are above the base band frequencies. Phase modulation techniques must be capable of overcoming phase synchronization problems. For example, the I and Q channels employed in quadrature modulation must have the same gain, since mismatched signal gains or magnitudes create processing errors. Phase differences between the carrier waveform signals cause spillover between individual channels resulting in degraded performance. These impairments are a common occurrence and are due in part to the electronic mixers, filters, a/d converters and so forth employed in up and down converters. Each of the components contribute their own variations in specified value due, for example, to temperature, manufacturing tolerances and other factors affecting signal integrity.
[0008] Impairments with linear behavior are encountered and are characterized by changes in output gain or phase which are independent of the magnitude of the input signal: a) Amplitude imbalance b) Phase imbalance c) Phase jitter d) Carrier frequency offset (receiver only) e) Carrier leakage (transmitter only) f) Gain ripple g) Phase ripple
[0009] Non-linear impairments are also encountered and are characterized by changes in output gain or phase, which vary in dependence upon magnitude of the input signal. Two major signal impairments include: a) amplitude-to-amplitude (AM-AM) distortion caused by nonlinearities in the overall amplifier gain transfer function and
b) amplitude-to-phase distortion (AM-PM conversion) distortion caused by amplitude dependent phase shifts (transmitter only). [0010] In addition to the impairments encountered during up and down conversion, the communication media, whether guided or unguided is also influenced by obstacles, attenuation and wave reflections which perturbations affect signal level by many dB and are continually changing in a mobile communication environment. The propagation characteristics vary widely depending upon whether a communication link is fixed or mobile, the condition of the propagation path and the composition of the medium itself. [0011] When designing and prototyping new communication systems baseband modulations/demodulation components are routinely and thoroughly tested as well as up/down conversions to and from the transmission channel operating frequencies. Prior art testing techniques typically comprise signal generators, Eb/No (i.e., ratio of carrier of bit energy to noise energy) generators and meters, channel emulators and so forth. However this method does not include conversion components.
[0012] In addition thereto it is highly desirable to be capable of differentiating between up/down conversion and transmission channel impairments from algorithmic or other systemic deficiencies and further to be capable of evaluating designs and modifying such designs, if and when necessary, prior to actual hardware implementation including prototype implementation thereby providing a method which provides significant time and cost efficiencies.
[0013] SUMMARY OF THE INVENTION
[0014] The present invention provides a method for emulating signal impairments to enable dynamic evaluation of transmit and receive modem performance through the use of computer-generated models enabling both an evaluation of system performance as well as a comparison of results obtained from system designs respectively exposed to both impaired and unimpaired conditions to enable direct comparison prior to any hardware implementation.
[0015] BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The objects and advantages of the present invention will become understood from the following detailed description and drawings wherein like elements are designated by like numerals and, wherein:
[0017] Figure 1 is a diagram showing a simplified transmitter useful in explaining the methodology of the present invention.
[0018] Figure 2 shows a simplified uplink receiver useful in explaining the methodology of the present invention.
[0019] Figure 3 shows a simplified downlink receiver useful in explaining the methodology of the present invention.
[0020] Figure 4 is a plot showing the time domain representation of phase ripple derivation.
[0021] Figure 5 is a diagram showing a phase ripple model.
[0022] Figure 6 is a plot showing the time domain representation of gain ripple derivation.
[0023] Figure 7 is a block diagram showing a gain ripple model.
[0024] DETAILED DESCRIPTION OF THE PRESENT INVENTION [0025] The models developed were coded them in C and imported into test benches built in Cadence's Signal Processing WorkSystem simulation environment. The models developed allow introduction of number of different radio impairments into a simulation environment that models the baseband physical layer. While the designers used the Cadence tool and coded the model in C code for this implementation, the same methodology would be applicable to different modeling environments and coding languages. Also the designers studied the effect on the 3G TDD signal but again the methodology and models could be used in other modulation schemes.
[0026] As implemented, the radio impairment block (15 shown in Figure 1,
33 and 36 shown in Figure 2 and 64 shown in Figure 3) includes a parameter screen, such as a touch screen, not shown for purposes of simplicity, which allows
the operator to select those impairments to include and to set the values for each impairment to be included.
[0027] Fig. 1 shows a test model in which quadrature phase shift keyed
(QPSK) data is generated at 11 and undergoes finite impulse response filtering at 12 and 14. An impairment is introduced at 15. The impairments which are introduced are set forth in detail below. The peak to average ratios (PARs) are measured and compared at 17.
[0028] Receive FIR filtering on the transmitted signals is performed at 13 and 16 and the filtered signals are measured and compared for error vector magnitude (EVM), peak code domain error (PCDE), etc. at 18. This test module evaluates a non-ideal transmitter in the absence and presence of various impairments. The FIR filtering may be modified to less than ideal parameters to determine their effects on the transmitted signal with and/or without impairments.
[0029] Figure 2 shows an uplink receiver test module 30 in which user
QPSK data is combined at 31 with its own cell interference and multipath fading; and filtered by transmit FIRs at 32 and 35. Other cell interference such as TDD interference from one or more neighboring cells with different scrambling codes is introduced at 40 and impairments are introduced at 33 and 36. Although the same impairments are provided, the settings of the impairments provided at 33 and 36 could be different for this test module with receiver diversity. The resultant signals are filtered by receiver FIR filters 34 and 37 and then undergo functions performed by a receiver, such as demodulation, amplification, etc. [0030] The signals are then measured at 39, testing for block error rate
(BLER) raw bit error rate (BER), etc. Non-ideal shaping filters of both transmit and receive type may also be modeled to determine how they affect design. [0031] The module 60 in Fig. 3 examines the result of downlink receiver impairment wherein the user QPSK data connection, interference connection and multipath fading are combined at 61.
[0032] Filtering is performed at 63 by simulation of a transmit FIR filter.
Other cell impairments are introduced at 62. The filtered, QPSK data and other
cell interference are combined together with impairments introduced at 64. The
"transmitted" signal undergoes filtering by receiver FIR filters simulated at 65.
The functions normally performed on the received signals by a receiver are simulated at 66. The outputs from 66 are measured at 67 and includes BLER, raw BER, signal-to-interference ratio (SIR) estimate, etc.
[0033] A working definition and description of each impairment is set forth below.
[0034] Linear impairments include amplitude imbalance, phase imbalance, phase jitter, carrier leakage/suppression, carrier offset, and dc offset, each of which is described herein below.
[0035] Amplitude imbalance is a condition in the receiver/transmitter wherein the gain of the I and Q channels are not equal. The mathematical model for amplitude imbalance is as follows:
Where I' = the impaired value of I,
Q' = the impaired value of Q,
f -%x tan" 10 -π/
X = imbalance control = V J
[0036] Software limits are defined for amplitude imbalance model parameters. The range is preferably limited to δ = +/- 3 dB.
[0037] Phase imbalance is a condition in the receiver/transmitter where the insertion phase between I and Q channels is offset from the expected 90 degrees. The mathematical model is:
I' = I • cos(φ) + Q • sin(φ)
Q' = Q • cos(φ) + 1 • sin(φ)
Where I' = the impaired value of I,
Q' =the impaired value of Q,
φ = phase error in degrees.
[0038] Software limits are defined for phase imbalance model parameters.
The range is preferably limited to φ = +/- 15 degrees.
[0039] Phase Jitter is a condition where the noise generated inside an amplifying device is manifested as a small amount of Gaussian noise modulating the phase between I and Q channels. The mathematical model is I' = I • cos(φ) + Q • sin(φ) Q' = Q • cos(φ) - 1 • sin(φ)
Where I' = the impaired value of I,
Q' = the impaired value of Q, φ = φo • random Gaussian noise
= phase error in degrees modulated by Gaussian noise ranging between —1 and 1. The phase noise data is filtered to lie in the band of 2-10 kHz. φo = phase error in degrees.
[0040] Software limits are defined for phase jitter model parameters. The range is limited to φo = 0 to 5 degrees.
[0041] Carrier leak/suppression is a condition created due to slight DC offsets inside the quadrature modulators and has the effect of creating additional intermodulation distortion or reducing carrier suppression. The mathematical model is
Q' = Q^(l-k) +Qcl
Where I' = the impaired value of I, Q' = the impaired value of Q, /„, = * • cos(^) Qd = k » s (φ) φ = carrier leakage phase angle in degrees, ε = 201og(£)
=> k = 10"^° ε = carrier leakage in dB below full scale.
[0042] Software limits are defined for carrier leakage/suppression model parameters. Range for magnitude is limited to ε> 12 dB, applied as a loss. Range for phase angle is limited to 0 < φ < 360 degrees.
[0043] Carrier offset is a condition where the carrier (i.e., local oscillator) is not exactly equal to the programmed frequency. The mathematical model is
I' = I • cos(φ) + Q • sin(φ)
Q' = Q • cos(φ) - 1 • sin(φ) Where I' = the impaired value of I,
Q' = the impaired value of Q, φ = cumulative phase error in degrees across data block = φ errCarrOffset. errCarrOffset = 2π • carrOffsetHz/sampleRate. carrOffsetHz = carrier offset in Hertz. sampleFreq = chipFreq* txFIRoutSampleRate = 3.84
MHz*5.
chipFreq = 3.84 MHz for TDD. txFIRoutSampleRate = typically 5 for TDD for impairment applied between tx & rx FIRs.
[0044] Software limits are defined for carrier offset model parameters. The range is limited to carrOffsetHz = +/- 10 KHz.
[0045] DC offset is a condition in the receiver created due to slight DC offsets and has the effect of creating bias on the inphase and quadrature components of the signal. The mathematical model is r= ι+ idcoff
Q= Q+Qdcoff
Where I' = the impaired value of I,
Q' = the impaired value of Q, Idcoff = dcOffll 100.0
Qdcoff = dcOffQ/ 100.0 dcOffl = DC offset for I component as percentage of full scale (assumed to be 1.0). dcOffQ = DC offset for Q component as percentage of full scale (assumed to be 1.0)
[0046] Software limits are defined for independent control of for I and Q
DC offset model parameters. The range for each DC offset is limited to 30.0 percent. Common mode DC offset can be simulated by setting dc Off I = dc Off
Q.
[0047] Non-linear impairments include AM-to-AM distortion and AM-to-
PM distortion.
[0048] AM-to-AM distortion is an amplifier non-linearity condition where the output amplitude is not exactly proportional to the input amplitude, which condition typically occurs near or at the maximum output level of the amplifier. The mathematical model is
I' = I • (1 - k • ( + Q
2) )
Where I' = the impaired value of I,
Q' = the impaired value of Q, k = coefficient of non-linearity for the am-to-am distortion.
The AM-AM distortion non-linearity coefficient, k, is related to intermodulation in dB by the following model:
Substituting I = Acos^t) and Q = Acos(ω2t) into the above equation for I' and ignoring higher order products arrive at:
I' = (l-5/4k) • cos(α>ιt) - k/2«cos(2ω2 - ω,) This can be thought of as putting one tone on I and another tone on Q, and getting out the fundamental tone and its third order product. Now the intermodulation is:
IM = P3rd/Plst = (k/2)2 / (l-5/4k)2, but considering that k « 1 and changing to dB get:
IM = 201og(k/2)
[0049] Software limits are defined for AM-to-AM distortion model parameters. The range for intermodulation product is limited to the range between 50 db to 20 db below signal level.
[0050] AM-to-PM distortion is an amplifier non-linearity condition where a change to the input level causes a corresponding change in the insertion phase. This condition typically occurs near or at a maximum output level of the amplifier. The mathematical model is
I = I • cos(φ) - Q • sin(φ)
Q' = Q • cos(φ) + I • sin(φ) Where I' = the impaired value of I,
Q' = the impaired value of Q, φ = k*(l2 +Q2)2 k = coefficient of non-linearity for the am-to-pm distortion.
The non-linearity coefficient, k, is related to degrees by the following model:
For AM-PM distortion, apply the same tone to both channels. This can be thought of as applying two equal magnitude vectors on I and Q, in which case the output should be a vector at angle 45 degrees. AM-PM causes the vector to rotate from the ideal 45 degrees. Substituting I = Q = Acos(ωt) into above equations for I' and Q' nd assume only small angles using the following small angle approximations: sin(φ)=φ, cos(φ) = 1 - (φ2)/2 After substitution and cleanup arrive at:
I' = (-3/2 • k2 +7/2 • k + 1) • cos(ωt) and
Q' = (-3/2 • k2 - 7/2 • k + 1) • cos(ωt)
The angle of the vector is arctan(I' / Q'). Considering that for k= 0, the angle is 45 degrees and that the error is the angle of the vector - 45 degrees, the following equation can be used to represent the AM-PM distortion error in degrees: Error (degrees) = arctan[ (3 • k2 - 7 • k - 2) / (3 • k2 -1- 7 • k - 2)] - 45
[0051] Software limits are defined for AM-to-PM distortion model parameters. The range for error is limited to 0 to 10.0 degrees. [0052] Filter response impairment modeling includes phase ripple (group delay variation), gain ripple and non-ideal shaping filters. [0053] Phase ripple (Group Delay Variation) is a condition where the group delay varies across the signal bandwith. The major contributors to phase ripple are system filters.
[0054] The impairment is modeled as the product of phase impairment and an equalizer. Figure 4 shows the time domain representation of the phase ripple derivation. Undesirable error terms have been dropped from the result. Figure 5 shows a graphical representation of the impairment implemented by a plurality of delay lines arranged in a column D, a plurality of multipliers arranged in a column K, a plurality of summing circuits arranged in a column S and a normalization circuit N, Where:
Delay is the delay factor for phase ripple as derived below; fc = chip frequency, fr = frequency of phase ripple, n = delay in complex samples, τ = period of phase ripple = n fs, m = fir sampling rate, fs — sampling frequency = m»fc , fl — bandwidth of interest = fs/2,
Delay = 2Ή k is the group delay coefficient as derived below;
TGDV — peak to peak group delay, typically in units of nanoseconds;
TGDV = 4«r»Jfc = «n«fc/ ,
/ Js =Z TGDγ • fr /
*" /4
The following empirically derived normalization term is applied to resulting signal; norm = ι-Λ2 +*3 +*4 +* /^-0.0000l
[0055] Software limits are defined for phase ripple model parameters. The range for ripple frequency is limited to 120 to 960 KHz. The range for peak-to- peak group delay is limited to the range from 1 to 600 nano seconds. [0056] Gain ripple is a condition where the gain varies across the signal bandwith. The major contributors to gain ripple are system filters. [0057] Figure 6 is a time domain representation of gain ripple derivation.
The impairment is modeled as shown in Figure 7,
Where: Delay is the delay factor for gain ripple as derived below; fc = chip frequency,
fr = frequency of gain ripple, n = delay in complex samples, τ — period of gain ripple = n/fs, m — fir sampling rate, fs = sampling frequency = m»fc , fi = bandwidth of interest = fs/2, fr — l/τ = fs/n = W, ,
Delay = 2«« k is the gain ripple coefficient as derived below;
R = peak to peak ripple amplitude,
[0058] Software limits are defined for gain ripple model parameters. The range for ripple frequency is limited to 120 to 960 KHz. The range for peak-to- peak ripple amplitude is limited to the range form 0.2 to 2.0dB. [0059] It should be noted hereinabove the model includes frequency as an input parameter but review of the equation for k set forth above shows no frequency dependence for the gain ripple as modeled.
[0060] Non-ideal pulse shaping filters can contribute significantly to adjacent channel leakage power ratio (ACLR), error vector magnitude (EVM), peak code domain error (PCDE). By defining two signal paths in the test environment a set of non-ideal FIR filter taps can be compared to an ideal set of FIR filter taps to study the EVM and PCDE impact of non-ideal pulse shaping filters.
[0061] The tests described above may be conducted to simulate wired or wireless communications by introducing impairments respectively encountered in wired and wireless communications, wherein wired communications include fiber optic, copper or other conductive cables, coaxial cable and the like.