Cable modem termination systems (CMTSs) can report a variety of operating parameters to the end user. For example, CMTSs that use Broadcom BCM3137, BCM3138, or BCM3140 or Texas Instruments TNETC4522 series upstream burst receivers can provide an “upstream SNR” estimate. This function is a very useful tool, but it has resulted in much confusion. It is not unusual for a cable company’s network operations center (NOC) staff to report an alarm condition when the reported upstream signal-to-noise ratio (SNR) of the CMTS drops below a defined threshold. A headend technician follows up by checking the upstream RF performance with a spectrum analyzer or similar test equipment, only to find that everything appears normal.

Data personnel in the NOC insist there must be a problem, while outside plant technicians see nothing amiss on their test equipment. What is going on here?

The discrepancy occurs from a lack of understanding about just what the CMTS upstream SNR estimate is – and what it is not.

Further confusion comes from the fact that cable modems and digital set-top boxes (STBs) can provide digitally modulated signal operating parameters such as RF signal level and SNR. These are downstream parameters at the customer premises, not upstream parameters as is sometimes incorrectly assumed. In addition, test equipment used by cable operators to characterize digitally modulated signals can measure downstream – and in some cases upstream – modulation error ratio (MER). Some of these instruments call this parameter SNR.

Also, because of the time-shared nature of the upstream, most of today’s CMTSs can measure parameters on a per-channel basis or a per-cable-modem basis. Per-channel measurements provide an average of all cable modems or simply a snapshot of the most recently active cable modem(s). It is important to distinguish which type of measurement is presented.

This article provides a background on several signal quality metrics applicable to CMTS and cable network operation and how they relate to overall performance. The CMTS upstream SNR and cable modem or STB downstream SNR estimates are explained. Noise, as discussed in this article and unless defined otherwise, refers to additive white Gaussian noise (AWGN), or simply white noise, also known as thermal noise. Interference such as narrowband ingress and burst or impulse noise is usually treated separately. What it is and isn’t First, what the CMTS upstream SNR estimate is not: The SNR estimate from a cable modem or CMTS is not the same thing as the carrier-to-noise ratio (CNR) that one measures with a spectrum analyzer.

Here is what the upstream SNR estimate is: an operating parameter provided by the upstream burst receiver used in DOCSIS CMTSs. Similar information for downstream signals is provided by the quadrature amplitude modulation (QAM) receiver in a cable modem or STB. The SNR estimate, which is derived after the data is demodulated, is more accurately called receive modulation error ratio (RxMER), a term recently defined in the DOCSIS MIB. RxMER includes the effects of the cable network downstream or upstream noise floor, in-channel frequency response (including amplitude tilt and ripple, group delay variation, and micro-reflections), oscillator phase noise, receiver imperfections, and all other impairments that affect the receive symbol constellation. Because it measures the end-to-end performance of the communications link, RxMER is useful for tracking long-term system performance trends.

Interestingly, it is not unusual to have a reported low downstream or upstream RxMER number, yet find the measured CNR and signal levels to be just fine. Why? Because one or more impairments that cannot be seen on a spectrum analyzer – poor in-channel frequency response, including group delay variation and micro-reflections, and even upstream data collisions – may be the cause of the low reported RxMER.

This article discusses the terms listed in Table 1. CNR and SNR outside cable Some of the confusion mentioned in the introduction arises from the fact that in the world of telecommunications outside the cable industry, the terms SNR and CNR are often used interchangeably. According to Roger L. Freeman’s Telecommunications Transmission Handbook, “The signal-to-noise ratio expresses in decibels the amount by which a signal level exceeds its corresponding noise.” Another reference, Tektronix’s Measuring Noise in Video Systems, says (Eq. 1), “In the most general case, SNR is expressed as the ratio of RMS (root mean square) signal level, SRMS, to the RMS noise, NRMS, (SNR = SRMS/NRMS).”

Both of the previous SNR definitions can easily be applied to RF CNR measurements (after all, a carrier is a “signal”) as well as baseband SNR measurements (baseband video and audio are “signals,” too). If the specific measurement is not clearly defined, it is difficult to know whether SNR refers to a baseband or RF parameter. This article distinguishes between SNR and CNR. In the subsequent sections, each term is defined and explained, and the distinction is illustrated following usage in the cable industry. CNR and SNR within the cable industry Modern Cable Television Technology, 2nd Ed., states, “Carrier-to-noise ratio (C/N) is defined as follows (Eq. 2): where c and n are the scalar power levels of the carrier and noise, respectively.”

When measuring CNR on a spectrum analyzer with thermal noise underlying the carrier, one actually is measuring not C/N but, more precisely, (C+N)/N = 1 + C/N. This distinction is not normally a concern unless the CNR is very low – say, single-digit decibel (dB) values, as we will see later. (The expression 1 + C/N uses power quantities, not dB; that is, we are not adding 1 dB to C/N.)

The cable industry has long used CNR and SNR to represent quite different measurement parameters, one in the RF domain (Figure 1) and the other in the baseband domain (Figure 2). CNR is applied to the transmitted over-the-cable RF waveform, whereas SNR refers to the video and audio signal prior to modulation for broadcast, or after demodulation of the RF waveform at the receiver. Analog video CNR in cable networks Consider CNR, which is generally accepted to be a predetection measurement – that is, one made at RF. When only analog TV channels were carried on cable networks, CNR was understood to be the difference, in decibels, between the amplitude of a TV channel visual carrier and the RMS amplitude of system noise in a specified noise power bandwidth. In this application, noise power bandwidth is normally specified as the modulation bandwidth, which is approximately equal to the bandwidth of the baseband modulating signal. It is common practice to express power in terms of RMS voltage across a nominal resistance. For example, NCTA Recommended Practices for Measurements on Cable Television Systems defines 0 dBmV (decibels referenced to 1 millivolt) as the power of a signal of 1 millivolt RMS in 75 ohms, or 13.33 nanowatts = -48.75 dBm.

According to the Federal Communications Commission’s cable regulations in §76.609 (e), system noise is the “total noise power present over a 4 MHz band centered within the cable television channel.” This latter definition is applicable only to analog NTSC TV channel CNR measurements and defines the approximate bandwidth of the baseband video that modulates the channel visual carrier.

The FCC does not actually use the term CNR in the rules. §76.605 (a)(7) states “The ratio of RF visual signal level to system noise shall … not be less than 43 decibels.” That definition is more or less in line with the general definition of SNR, although it is understood in this specific instance to mean CNR. Even though the FCC’s cable rules mandate a minimum CNR of 43 dB, good engineering practice targets end-of-line analog TV channel CNR in the 46 to 49 dB range. More on this topic later. Analog video SNR in cable networks What about SNR? SNR is, in cable industry vernacular, a premodulation (at the transmitter or modulator) or postdetection (at the receiver) measurement – one made on a baseband signal such as video or audio. The previously mentioned Tektronix application note says: “In video applications, however, it is the effective power of the noise relative to the nominal luminance level that is the greater concern.” It goes on to define video SNR in decibels as (Eq. 3):

SNR = 20log(LNOMINAL/NRMS)

where LNOMINAL has a value of 714 mV peak-to-peak (100 IRE units) for NTSC or 700 mV peak-to-peak for phase alternation line (PAL). These luminance values do not include sync.

Equation 3 simply states that baseband video SNR is the ratio of the peak-to-peak video signal, excluding sync, to the noise within that video signal. The noise is measured in a bandwidth defined by a combination of low-pass, high-pass, and weighting filters. These filters limit the measured noise to a bandwidth that is roughly the same as the video signal and may be used to remove certain low-frequency noise from the measurement. Weighting filters are used to simulate the eye’s response to noise in the TV picture. Various standards such as RS-170A, RS-250B, EIA-250C, and NTC-7 specify the characteristics of filters that are used in baseband video SNR measurements.

To recap: CNR is a predetection measurement performed on RF signals. It is the difference, in decibels, between carrier power and noise power in the RF transport path only – for instance, a coaxial cable distribution network or a standalone device such as an upconverter or headend signal processor. As such, CNR is ideal for characterizing network or individual device impairments. SNR, when applied to analog video or audio signals, is a premodulation or postdetection measurement performed at baseband. It is equal to the ratio of the peak-to-peak baseband signal to the noise within that signal. (Refer to Figure 2.) SNR includes noise in the original signal – say, noise in the video from a TV studio camera – as well as noise contributions from the transmitter or modulator, transport path, receiver, and demodulator. It is ideal for characterizing end-to-end performance – the overall picture quality seen by the end user, in the case of baseband video SNR. Discrete vs. modulated signals and carrier-to-noise density ratio A measurement that is closely related to CNR is carrier-to-noise-density ratio (C/N0), defined as the ratio of carrier or signal power (in watts) to the underlying white-noise power spectral density (in watts/Hz). Noise power spectral density N0 is the noise power in a 1 Hz bandwidth – that is, watts per Hz. Because of the impracticality of making a 1 Hz bandwidth noise power measurement, noise power spectral density is usually measured in a larger, more convenient bandwidth – the test equipment resolution bandwidth (RBW) – or, to be more precise, the equivalent noise bandwidth of the RBW filter. The measured value in watts is then divided by the test equipment resolution bandwidth in Hz, which yields the power (in watts) in a 1 Hz bandwidth. If the noise power measurement is in dBmV, subtract 10log(RBW in Hz) from the measured value to get the 1 Hz bandwidth equivalent, also in dBmV.

Taking the ratio of units shows that C/N0 has units of Hz (Eq. 4): In decibels, C/N0 is expressed in dB-Hz, which means “decibels referenced to one Hz.” Because C/N0 is not unitless like other SNR and CNR metrics, care must be taken to reference the noise measurement to a 1 Hz noise bandwidth.

C/N0 is especially useful for measuring the CNR of a narrowband signal such as an unmodulated or continuous wave (CW) carrier. Consider a spectrum analyzer capture of a CW signal in a white-noise background, with the analyzer RBW set to 100 kHz. Assume that placing the analyzer marker on the CW signal indicates an amplitude of -10 dBmV, and moving the marker to the displayed noise floor shows -40 dBmV. Be careful – this noise reading is not in dBmV/Hz, but represents the noise power in the analyzer RBW as mentioned previously, giving a spectral density of -40 dBmV/(100 kHz). To convert to a 1 Hz bandwidth, subtract 10log(100,000 Hz) = 50 dB-Hz. So the noise density is actually -40 dBmV -50 dB-Hz = -90 dBmV/Hz. Some spectrum analyzers have a marker noise function that provides automatic readings in a 1 Hz bandwidth, eliminating the need for this conversion. The true C/N0 is then (using dB quantities) (Eq. 5):

C/N0 = Signal – Noise + RBW
= -10 dBmV – (-40 dBmV) + 50 dB-Hz
= 80 dB-Hz

To convert C/N0 to CNR in a given bandwidth B, we use (Eq. 6):

CNR = C/N = C/(N0B)

So in decibels, to convert C/N0 to CNR, subtract 10log(B). The CW signal in this example would have a CNR in a 6 MHz bandwidth (using decibel quantities) of (Eq. 7):

CNR = C/N0 – 10log(B)
= 80 dB-Hz – 10log(6 MHz)
= 80 dB-Hz – 67.8 dB-Hz
= 12.2 dB

This example illustrates an important principle when measuring a mix of discrete signals (CW or any signals that are much narrower than the RBW of the analyzer) and spread signals (such as noise or modulated signals that are much wider than the analyzer RBW). The spectrum analyzer marker simply measures power in the RBW. For a narrowband signal, this measurement equals the carrier power. For noise, it gives the density referenced to the RBW. Scale to a 1 Hz bandwidth to get C/N0, and scale to a desired bandwidth B to get CNR. Digitally modulated signal CNR What about CNR measurement of digitally modulated signals on a cable plant? The DOCSIS Radio Frequency Interface Specification states an assumed minimum 35 dB CNR for downstream digitally modulated signals. If the network analog TV channel CNR is maintained in the 46 dB or higher range, in most cases, there will be little or no problem complying with the DOCSIS assumed minimum for downstream digitally modulated signals. The DOCSIS assumed minimum upstream CNR for digitally modulated signals is 25 dB. Carrier power – the “C” in CNR – is the average power level of the digitally modulated signal, often called digital channel power. It is measured in the full occupied bandwidth of the signal; for example, 6 MHz for a North American DOCSIS downstream signal.

To measure the white noise – the “N” in CNR – underlying a digitally modulated signal, a noise power bandwidth (also called equivalent noise bandwidth or effective bandwidth) equal to the symbol rate should be used. The noise measurement should be performed when the signal is not present, or in an empty band near the signal. Tables 2 and 3 summarize noise power bandwidth values for DOCSIS downstream and upstream channels. ES/N0 and CNR of a digitally modulated signal ES/N0 is the most prevalent parameter used in digital communications to represent the SNR of a signal. It is defined as the ratio of the average energy ES per QAM symbol to the noise power spectral density N0 with the noise assumed white. It is a unitless ratio and is normally expressed in dB. Energy per symbol is equal to the average power – that is, the energy in 1 second – of the signal divided by the number of symbols in 1 second.

How can we reconcile ES/N0 with CNR? If we multiply the numerator and denominator by the symbol rate RS, we get (Eq. 9): (assuming no synchronous code-division multiple access [S-CDMA] spreading, which we discuss later). This equation tells us why the measurement of CNR for digitally modulated signals typically uses the noise power bandwidth equal to the symbol rate: It results in CNR being equal to ES/N0. QAM spectrum basics Consider what a QAM signal spectrum looks like and how we can read the signal power, noise power and CNR from the spectrum display.

First, some background on transmit and receive filters. Figure 3 shows a communications system, which represents an upstream or downstream cable data network. Both the transmitter and receiver contain “matched filters.” The purpose of the transmit matched filter is to band-limit the transmitted spectrum so that it will not interfere with adjacent channels. The purpose of the receive matched filter is to select the desired channel and to reject noise. The “matched” property of the filters implies that they have identical frequency magnitude response |H1(f)|. A time-invariant system such as a filter can be characterized by its impulse response h(t) or by its frequency response H(f), which comprise a Fourier transform pair. The asterisk on the receive filter in Figure 3 indicates that the receive matched filter exhibits complex conjugation of its frequency response, or equivalently, time-reversal of its impulse response, relative to the transmit filter. However, this property is not of practical importance in cable systems because the filters are time-symmetric.

Matched filtering is known to maximize receive SNR in the presence of white noise. The cascade of the two matched filters gives the “full” magnitude response |H(f)| = |H1(f)| |H1(f)| = |H1(f)|2. A signal having this full magnitude response is seen only at the output of the receive matched filter, inside of the receiver, and is not normally visible to an outside observer. However, the full-filter response is important in that it is designed to have the Nyquist property, described in the next section.

The signal marked “Tx Signal” in Figure 3 represents the actual transmitted signal that is observable on the cable plant. (We are neglecting upconversion and downconversion to/from RF and are dealing only with “complex envelopes” in this discussion.) Because the scrambler guarantees that the QAM symbols affecting the transmit filter are white, the transmitted spectrum is given its shape by the transmit filter, and its power spectrum, or power spectral density (PSD), is |H1(f)|2. (A “white” spectrum is one that is flat, that is, has constant magnitude across all frequencies. This constant magnitude corresponds to statistically uncorrelated samples in the time domain.) Note an interesting “cascading property”: The full magnitude response of the cascaded transmit and receive filters, and the PSD of the transmitted signal, are both |H1(f)|2. In the former case, the squaring of the magnitude response comes from cascading the same filter twice; in the latter case, the squaring results from converting the magnitude spectrum to a power spectrum. In a real system, using a spectrum analyzer, we are used to observing the power spectrum of the Tx signal in decibels, which is |H1(f)| or 10log10|H1(f)|2. Ideal QAM spectra Now we return to the discussion of QAM spectra. Figure 4 shows four ideal QAM spectra, all with the same symbol rate RS, which is normalized to 1 in these plots. In part (a) of Figure 4, a perfect brick-wall rectangular spectrum is shown. As the magnitude response |H1(f)| of a matched filter, this signal is unrealizable in practice because the pulse-shaping filter h1(t) would have to be infinitely long in time duration. Part (a) of the figure also represents the power spectrum |H1(f)|2 of the waveform transmitted using such an ideal filter. Despite its impracticability, it is useful as an illustration of an ideal world in which the occupied bandwidth equals the symbol rate and there is no excess bandwidth. Part (b) of Figure 4 shows the full-response magnitude spectrum |H(f)| used in the DOCSIS upstream, representing the cascade of the transmit and receive filters. In order to make the filters realizable, an excess bandwidth of 25 percent (Alpha = 0.25) is used, resulting in the S-shaped “raised cosine” roll-off regions shown in red, while the passband ideally remains flat. This spectrum possesses the Nyquist property in the frequency domain: If the frequency response H(f) is replicated many times offset by multiples of the symbol rate, and the copies are overlaid and added as illustrated in Figure 5, the result is a flat spectrum, which results in zero intersymbol interference (ISI). Because of the cascading property mentioned previously, part (b) of Figure 4 also represents the power spectrum |H1(f)|2 of the transmitted signal and of the square-root Nyquist filter, described next. In practice, the full Nyquist spectrum H(f) of part (b) in Figure 4 is divided into two identical cascaded “square-root Nyquist” filters H1(f), one in the cable modem upstream transmitter and one in the CMTS burst receiver, using the matched filtering concept discussed earlier. The square-root Nyquist magnitude response |H1(f)| is shown in part (c) of the figure. Again, because of the cascading property, the power spectrum |H1(f)|2 of the square-root Nyquist filter, and of the transmitted signal, is given in part (b) of the figure.

When viewed on a spectrum analyzer, with vertical scale in dB, the square-root Nyquist spectrum looks like part (d) of Figure 4, which has an added white-noise floor giving CNR = 35 dB. The -3 dB point of the spectrum occurs at the symbol rate.

Because several of the spectra in the figure have double meanings, it might be useful to summarize Figure 4:
• Part (a) is the magnitude or power spectrum of an ideal brick-wall filter.
• Part (b) is the magnitude spectrum of the full Nyquist response, and, by the cascading property, the power spectrum of the actual transmitted RF signal.
• Part (c) is the magnitude spectrum of the square-root Nyquist response, that is, the transmit or receive matched filter.
• Part (d) is the power spectrum of the actual transmitted RF signal, as seen on a spectrum analyzer in dB, with a noise floor giving CNR = 35 dB. Reading CNR from a QAM carrier spectrum Note that the vertical height from the top of the spectrum haystack down to the noise floor in part (d) of Figure 4 equals the CNR (= ES/N0) value of 35 dB, making it easy to read the CNR of a QAM signal off a spectrum analyzer display. In fact, in an ideal system in which AWGN is the only impairment, the height of the spectrum above the noise floor also equals the equalized RxMER value (discussed later) in the range over which the RxMER measurement is valid. As we will see, the RxMER in a real system is usually somewhat lower than the CNR because RxMER includes receiver imperfections and hidden distortions of the RF input signal.

Why does this simple CNR measurement method work? First, consider the ideal case: the brick-wall signal. Viewed on a spectrum analyzer, the height of a brick-wall power spectrum gives the signal density, S0, in units of dBmV in the spectrum analyzer RBW, and we can scale it to the symbol rate bandwidth, giving the total signal power. Similarly, the height of the noise floor gives the noise density, N0, also in units of dBmV in the spectrum analyzer RBW, and we can scale it to the symbol rate bandwidth. We subtract one measurement from the other, giving the ratio in dB of total signal (or carrier) power to noise power in the symbol rate bandwidth. This value is CNR. So, this discussion explains why for a brick-wall signal, the CNR is simply the vertical height from the top of the power spectrum down to the noise floor.

But why does this simple measurement technique also work for the square-root Nyquist power spectrum of part (d) of Figure 4? The key lies in comparing the brick-wall power spectrum in part (a) of the figure to the square-root Nyquist power spectrum in part (b) of the figure. Note that they have the same height and the same area. (The reasoning that they have the same area follows: Overlay the two curves, notice that the S-shaped roll-off curve is symmetric, and imagine cutting and pasting two halves of the roll-off region to match the brick-wall curve. Figure 5 also helps illustrate this point.) We know that, in general, the area under a power spectrum gives the signal power. So, the brick-wall and square-root Nyquist power spectra have the same height and same signal power. What about the noise power? As mentioned previously, when computing CNR, we measure the noise power in the symbol rate bandwidth, so the noise power is, by definition, the same for the brick-wall and square-root Nyquist power spectra. That means the same simple measurement will work for the square-root Nyquist signal: The vertical height from the top of the power spectrum down to the noise floor gives the CNR and ES/N0 value. Practical QAM CNR measurements Figure 6 shows an example of measuring downstream digitally modulated signal CNR and ES/N0 using a spectrum analyzer marker noise function, which measures noise power in a 1 Hz bandwidth. The carrier is centered on the screen, and the marker noise function is activated. Make a note of the indicated marker noise amplitude of the digitally modulated signal (-80.70 dBmV in the left display), and then tune the analyzer to a frequency that allows measurement of the noise floor of the cable network. The right display shows a noise-floor amplitude of -95.82 dBmV. The difference between the two measurements is the approximate CNR and ES/N0, in this case about 15 dB. For best accuracy, noise should be measured using sample detection, which is typically employed by a spectrum analyzer marker noise function. Marker noise measurements usually encompass a range of frequency samples, starting from the marker and going plus or minus a small number of points out of the total available in the analyzer trace, so proper placement of the marker away from the carrier is important for accuracy. Refer to the analyzer documentation. Signal and noise measurements on a spectrum analyzer A few practical tips are worth noting when measuring modulated signals and noise on a spectrum analyzer.

Ensure that the spectrum analyzer uses sample detection when measuring noise or noise-like signals. If log/peak detection is used, a detector correction factor (typically 2.5 dB – consult the spectrum analyzer documentation) needs to be applied to the measurement result. Of course, if the signal and noise have the same statistics (Gaussian or nearly so), the same correction factor will be added to both the signal and noise measurements, and the correction will cancel out when measuring the CNR.

Be sure that the signal being measured (the information signal itself or the system noise, which is also a “signal”) is at least 10 dB above the noise floor of the spectrum analyzer. Temporarily disconnect the spectrum analyzer RF input. The displayed noise should drop at least 10 dB. If it does not, a significant portion of the displayed noise is the test equipment noise floor adding to the cable system noise floor. Sometimes a low-noise preamplifier must be added at the spectrum analyzer input, or a test point with greater signal amplitude must be found. If measurement of a signal with very low CNR cannot be avoided, the offset caused by the analyzer noise floor can be subtracted from the raw measurement in order to correct the power readings. Figure 8 gives the applicable noise-floor correction. Care should be taken when subtracting nearly equal noise power measurements (for example, system noise plus analyzer noise floor minus estimated analyzer noise floor) because the result may become zero or negative because of measurement uncertainties. In that case, more smoothing of the measurements may be needed. Correct the measurement to account for the ratio of the resolution bandwidth to the noise bandwidth of the analyzer. The RBW is normally expressed as the -3 dB bandwidth of the RBW filter. The equivalent noise bandwidth of the RBW filter is typically 6 to 13 percent wider than its -3 dB bandwidth, requiring a 0.25 to 0.5 dB correction, respectively, to the measurement. Consult the analyzer documentation for the exact values. More on the effect of noise floor on CNR and power measurements Measuring a signal with very low CNR requires a correction to back out the noise underlying the signal, as mentioned earlier. Let’s look more closely at the effect of underlying noise on the measurement of CNR, or, in general, the difference between S/N and (S+N)/N. Figure 7, which shows a close-up view of a band-limited digitally modulated signal with a CNR value of only 4 dB, illustrates the effect. The blue trace, S + N, is observed on a spectrum analyzer. The underlying signal S without the noise N is shown in red in the figure; it would not be visible on the spectrum analyzer because noise is always present in a real system. The top of the blue haystack is about 1.5 dB above the top of the red haystack, showing the measurement error (S+N)/S caused by the noise-floor contribution. When we measure the signal power on the analyzer, we observe the absolute height of the signal + noise haystack (blue trace). Expressing this measurement in units of power (non-dB) gives us the quantity (S+N). When we take the uncorrected CNR measurement, as discussed earlier, we measure the distance in dB from the flat top of the blue signal + noise haystack down to the noise floor. Converting to a unitless ratio (again non-dB) gives us the quantity (S+N)/N. We can manipulate these two quantities algebraically to get the desired values. First, we compute the error or offset to the signal power measurement caused by the noise floor, that is, the ratio (S+N)/S (Eq. 10): Next, we derive the true power S of the underlying signal (Eq. 11): Finally, we compute the true CNR, that is, S/N (Eq. 12): For practical use, we can rewrite the previous equations using dB quantities (Eq. 13, 14, 15): true_CNR_dB = 10log(10haystack_height_dB/10 -1)

where:
haystack_height_dB is the height of the signal haystack (including the noise-floor contribution) above the displayed noise floor, in dB.
haystack_top_dBmV is the power reading on the spectrum analyzer at the top of the signal haystack (including the noise-floor contribution), in dBmV in the analyzer RBW.
signal_pwr_offset_dB is the offset to the signal power measurement caused by the noise floor, in dB.
true_signal_pwr_dBmV is the true signal power reading with the noise-floor contribution backed out, in dBmV in the analyzer RBW.
true_CNR_dB is the true CNR with the noise-floor contribution backed out, in dB.

The formula for signal power offset or error as a function of height above the noise floor (as shown in Eq. 13) is graphed in Figure 8. As a rule, if the signal is at least 10 dB above the noise, the measurement offset will be less than about 0.5 dB. If the signal is at least 15 or 16 dB above the noise, the measurement offset will be less than about 0.1 dB and can be neglected for all practical purposes.

Returning to the example in Figure 7, the height of the haystack above the noise as seen on the spectrum analyzer will be (Eq. 16):

haystack_height_dB = 10log(1 + 10true_CNR_dB/10)
= 10log(1 + 104/10)
= 5.45 dB

and, reversing Equation 16, the true CNR follows (Eq. 17):

true_CNR_dB = 10log(10haystack_height_dB/10 – 1)
= 10log(105.45/10 – 1)
= 4 dB

In summary: In the example in Figure 7, measuring a signal with a very low CNR of 4 dB requires subtracting 1.5 dB from the haystack-height CNR reading in order to back out the noise underlying the signal. To measure the CNR of normal QAM signals with CNR greater than about 15 dB, such a correction is not necessary. For measurement of system noise power that is less than 10 dB above the spectrum analyzer noise floor, a correction from Figure 8 is required to back out the analyzer noise-floor contribution. CNR at the CMTS upstream input port In most cases, the CNRs for all modems at a given CMTS upstream port are identical, or nearly so. Cable modem upstream transmit levels are managed by the CMTS ranging process to provide the same receive level for all modems at the upstream port, typically with less than 1 dB signal level difference among modems. Cable network noise funnels back to one point (the CMTS upstream port), so the noise amplitude at the CMTS input will be the same for all modems sharing the return spectrum of that port.

In some situations, upstream CNR may be different for certain modems, but this difference usually happens because the RF signals of the affected modems reach the CMTS upstream port at levels lower than the set value – often an indication that some modems are transmitting at or near their maximum output level, yet still cannot reach the CMTS at the commanded ranging level because of excessive upstream attenuation. In the vast majority of cases, subscriber drop problems are the cause (splitter or coupler installed backward, corroded connectors, damaged cable, etc.), although occasionally, upstream amplifier misalignment or feeder problems may be at fault. Check your CMTS documentation for the command to determine whether any modems are transmitting at their maximum output level. DOCSIS requires the CMTS receiver to operate properly with up to +/-6 dB receive level differences between bursts, to account for ranging inaccuracies.

Upstream power levels for cable modem signals can be measured using a spectrum analyzer in zero span mode with the resolution bandwidth set approximately equal to the symbol rate. This method is useful for confirming received levels at the CMTS upstream input, as well as performing CNR measurements. Care should be exercised when using this method with adjacent channels present because the RBW filter of the spectrum analyzer may not completely reject the adjacent channel energy. CNIR Often we need to make a distinction between the underlying thermal noise floor, which is flat, and narrowband interference, which appears as spectral lines or narrow humps on a spectrum analyzer display. In that case, we use the term carrier-to-noise-plus-interference ratio (CNIR). In DOCSIS, the CMTS upstream receive CNIR is defined in the MIB as the ratio of the expected commanded received signal power to the noise-plus-interference in the channel. Both the digitally modulated signal power and noise-plus-interference power are referenced to the same point – the CMTS input. The expected commanded received signal power is the power of an upstream burst that has been correctly adjusted by the CMTS ranging process. The noise-plus-interference power is the total power measured when no desired signal is present, that is, during quiet times on the upstream, when only the unwanted noise and interference are present. Note that one reason for not including narrowband interference with white noise when measuring CNR is that devices such as ingress cancellers can reduce the effect of narrowband ingress, whereas white noise cannot be similarly mitigated. Baseband SNR and QAM waveform RF CNR is fairly straightforward for digitally modulated signals. But what about baseband SNR? Rather than using our previous definition of baseband video or audio SNR, we must look for a different way to measure baseband data SNR.

For further insight, consider the DOCSIS 256-QAM downstream signal shown in Figure 9. In (a), we see the familiar haystack spectrum of a QAM signal. Its shape is flat on the top, except for implementation imperfections and measurement noise, and, in this example, the channel has inserted some slight amplitude ripple and tilt as well. The height of the spectrum above the noise floor is 45 dB, which is the CNR and ES/N0 value. Its width at the -3 dB point is equal to the symbol rate RS = 5.36 MHz. Its sides are shaped by the transmit filter, with excess bandwidth equal to 12 percent; that is, the signal occupies 12 percent more bandwidth than an ideal brick-wall signal of the same symbol rate because of the roll-off region. (As a quick check, 6 MHz occupied bandwidth divided by 5.36 MHz symbol rate equals 1.12.) In part (b) of Figure 9, we see a time domain trace of either the in-phase (I) or quadrature (Q) component of the signal after the transmit filter. The I and Q components are independent, approximately Gaussian processes because the QAM symbols occur randomly and are filtered by the square-root Nyquist pulse-shaping filter. When filtered by the receive filter and properly equalized, the I and Q components will describe a smooth trajectory between the constellation points. The constellation point is only a sample at a specific time of that widely varying signal. The trajectories overshoot the constellation points, with the amount of overshoot and ringing being greater for smaller values of excess bandwidth. The near-Gaussian nature of the transmit-filtered signal is seen graphically in part (c) of the figure, which shows the histogram, or probability density function (PDF) of the I or Q component of the QAM signal. The QAM signal approaches a Gaussian distribution, shown as a dotted red line, although the QAM distribution bulges more and has limited tails compared to the reference Gaussian distribution, which has the same standard deviation (signal level) as the QAM signal.

Baseband SNR could be defined as the ratio of the average power in the complex baseband (I and Q) signal to the average noise power in the symbol rate bandwidth. However, this definition would just replace RF CNR with an equivalent complex baseband CNR because it does not include demodulation of the signal. For a digital SNR, we wish to measure the QAM signal after demodulation all the way down to its received constellation symbols. That is where RxMER comes in. The SNR of a demodulated digital signal: RxMER The solution is to define a new quantity to represent the SNR of a digital baseband signal: receive modulation error ratio. RxMER is defined as the ratio of average constellation symbol power to average constellation error power, expressed in dB. As we will see, RxMER looks at the demodulated complex baseband constellation symbols and measures their quality. The RxMER measurement gives the near “baseline” status of the communications link because it is these demodulated symbols that will go on to produce correct bits, or bit errors, at the receiver output after processing by the forward error correction (FEC) decoder. Equalized and unequalized RxMER Returning to Figure 9, we see in part (d) the received QAM constellation before equalization. Although the CNR on the spectrum display is 45 dB, the channel imperfections have caused the constellation to exhibit an RxMER value of only 26 dB. After the adaptive equalizer compensates for the channel response, the RxMER is restored to 45 dB, as shown in part (e) of Figure 9. This discussion shows that when we discuss RxMER, it is important to specify whether we are talking about the equalized or unequalized value.

Figure 10 shows a diagnostics page screen capture from a residential cable modem. Many DOCSIS cable modems allow viewing the diagnostics page on the computer connected to the modem. To access the diagnostics page on modems that support this function, type http://192.168.100.1 in the browser address or URL window. The indicated “Signal to Noise Ratio” in Figure 10 is 36 dB (circled). Most cable modems provide an equalized RxMER measurement of the downstream 64- or 256-QAM digitally modulated signal. For the example in Figure 10, a QAM analyzer provided a nearly identical equalized MER measurement of the cable modem received 256-QAM signal (35 dB). RxMER measurement in a digital receiver Before further discussing RxMER, we consider how a digital receiver is implemented and how RxMER is measured. Figure 11 is a generalized block diagram of a digital QAM receiver. The receiver may reside in the CMTS, in which case it receives time-division multiple access (TDMA) or S-CDMA upstream bursts; or it may reside in a cable modem or STB, in which case it receives a continuous stream of downstream digital data. The RF signal from the cable plant enters at the left of the diagram and is processed by analog and digital front-end components that perform tuning, automatic gain control, channel selection, analog-to-digital conversion, and related functions. The square-root Nyquist filter has a response “matched” to the symbol or S-CDMA chip. (A “chip” is a bit in the pseudorandom spreading code used in S-CDMA.) An adaptive equalizer compensates for channel response effects, including group delay variation, amplitude slope or ripple, and micro-reflections. An ingress canceller is normally included in a CMTS burst receiver to remove in-channel narrowband interference. Acquisition and tracking loops provide estimates of frequency, phase, and symbol timing, allowing the receiver to lock to the incoming signal. In the CMTS burst receiver, preamble symbols are used as a reference to aid in the acquisition and tracking of each upstream burst. In the case of S-CDMA, the chips are despread. The received QAM symbol, or soft decision, is passed to the slicer, which selects the nearest ideal symbol, or hard decision, from the QAM constellation. The decisions are passed to the Trellis decoder, descrambler, deinterleaver, Reed-Solomon (RS) FEC decoder and MPEG deframer, and on to the MAC layer, which assembles and outputs received packets to the user. The input and output of the slicer are complex numbers or vectors, each represented by two components: magnitude and phase, or equivalently, real (in-phase or “I”) and imaginary (quadrature or “Q”) parts, as shown in Figure 12. In an ideal zero-noise, zero-ISI condition, the soft decision would lie exactly on one of the constellation points, and the magnitude of the error between them would be zero. In a real-world receiver, subtracting the hard-decision vector from the soft-decision vector gives the error or noise vector at each symbol time. The implicit assumption is that a low symbol error rate exists – that is, very few decisions are incorrect, ensuring that the “decision-directed” error vector from the nearest symbol nearly always equals the true error vector from the correct reference symbol. For RxMER, we are concerned with the average power of the error vector, which is computed, as shown previously in Figure 11, by taking the complex magnitude-squared of the error vector and accumulating or averaging it over a given number of symbols N. This process gives the error vector power (or noise power) at the slicer. Because we want the ratio of signal to noise, we divide the average signal power (a known constant for each constellation, such as 64-QAM or 256-QAM) by the average error vector power. We then take the logarithm to convert to decibels, giving RxMER in dB. To summarize: RxMER is simply the ratio of average symbol power to average slicer error power, expressed in dB. Ron Hranac is a technical leader, Broadband Network Engineering, for Cisco Systems and senior technology editor for Communications Technology. Bruce Currivan is technical director, Communication Systems, for Broadcom. Reach them at [email protected] and [email protected]. Part 2 of this article will run next month and will start with more on MER. This article in its entirety will be presented at Cable-Tec Expo 2007 in Orlando, FL, later this month. Sidebar 1: Is a digitally modulated signal a “carrier”? Quadrature amplitude modulation (QAM) results in a double-sideband, suppressed-carrier RF signal. Before modulation is applied, the unmodulated signal is certainly a carrier – a CW carrier. But when modulation is applied, the carrier is suppressed. From one perspective, it could be correctly argued that the “haystack” of a QAM signal is not a carrier – it is just an RF signal – because the carrier is suppressed. From another perspective, it is legitimate to argue that a QAM signal “carries” information because its modulation was impressed on a carrier frequency. The underlying carrier can be recovered and tracked by a digital receiver. In fact, a QAM signal is cyclostationary – its carrier can be regenerated and observed on a spectrum analyzer by first passing the QAM signal through a nonlinearity such as fourth power. To minimize confusion with baseband signals and to follow common industry parlance, this article refers to digitally modulated RF signals as “modulated carriers,” or simply “carriers.” Sidebar 2: Downstream Digitally Modulated Signal CNR–an Example Assume that a cable network has been designed to provide a downstream end-of-line CNR of 46 dB with +15 dBmV subscriber tap levels for analog TV channels, and a downstream 64-QAM DOCSIS digitally modulated signal is carried at -10 dBc. Thus, the digital channel power of the 64-QAM signal at the tap spigot will be +5 dBmV, or 10 dB lower than the +15 dBmV analog TV channel levels. What is the 64-QAM signal CNR? It is not 36 dB as one might first assume.

Because analog TV channel CNR is 46 dB at the tap spigot, the noise-floor amplitude NNTSC for the analog channels is +15 dBmV – 46 dB = -31 dBmV (4 MHz noise power bandwidth for analog NTSC TV channels). To determine the 64-QAM signal CNR, we have to first calculate what the noise-floor amplitude is for that QAM signal, based on a noise power bandwidth equal to its symbol rate. For DOCSIS 64-QAM signals, the symbol rate is 5.056941 Msym/sec, so the noise power bandwidth is 5.06 MHz. (See Table 2.) From this, we can calculate the noise-floor amplitude N64-QAM for the QAM signal with the equation (Eq. 8):

N64-QAM = NNTSC + [10log(5.06/4)] = -29.98 dBmV

The 64-QAM signal CNR is +5 dBmV – (-29.98 dBmV) = 34.98 dB.

The CNR of the digitally modulated signal is degraded by more than the 10 dB reduction in signal level because the wider noise bandwidth in the digital signal case allows more AWGN through to the demodulator. Sidebar 3: Upstream Digitally Modulated Signal CNR–an Example Assume that the digital channel power of a 3.2 MHz bandwidth 16-QAM signal at the CMTS upstream port is 0 dBmV. The noise floor is measured with the spectrum analyzer set to 100 kHz RBW, using the analyzer marker (assume sample detection for the noise measurement), and found to be -40 dBmV. At first glance, one might be inclined to think the CNR is 40 dB [0 dBmV – (-40 dBmV)], but the noise measurement must be corrected to the equivalent of one made in a bandwidth equal to the symbol rate of the digitally modulated signal. In this example, the noise power bandwidth of the measurement is only 100 kHz, equal to the spectrum analyzer RBW setting. (For greater accuracy, the RBW or noise bandwidth offset could be included, as discussed previously.)

From Table 2, a 3.2 MHz bandwidth digitally modulated signal symbol rate is 2.56 Msym/sec, and its equivalent noise power bandwidth is 2.56 MHz. The correction factor that must be added to the -40 dBmV measurement result is found with the formula (Eq. 18):

dBcorrection = 10log(NBW/RBW)

where NBW is the noise power bandwidth (symbol rate equivalent) for the digitally modulated signal and RBW is the resolution bandwidth of the test equipment. Both values must be in the same units – for instance, Hz.
dBcorrection = 10log(2,560,000/100,000)
dBcorrection = 14.08

To obtain the bandwidth-corrected noise amplitude, add the calculated correction factor to the original measured noise amplitude.

-40 dBmV + 14.08 dB = -25.92 dBmV
The CNR is 0 dBmV – (-25.92 dBmV) = 25.92 dB. Sidebar 4: What Is Inside the Blocks in a Digital QAM Receiver? Analog and digital front end: Analog and digital front-end components perform tuning, automatic gain control, channel selection, analog-to-digital conversion, etc. Their purpose is to preprocess the signal so that the individual QAM RF channels are available for further digital processing.

Matched filter: The square-root Nyquist filter has a response matched to the symbol or S-CDMA chip. An identical filter is located in the transmitter; this “matched-filter” arrangement gives optimal receive SNR in white noise. The cascade of the transmit and receive square-root filters gives a response with the “Nyquist property.” This property, expressed in the time domain, results in ideally zero ISI, even when symbols are transmitted so close together in time that their responses significantly overlap.

Adaptive equalizer: This element compensates for channel effects, including group delay variation, amplitude slope or tilt, and micro-reflections. It adapts its filter coefficients to dynamically varying channel responses so as to maximize the receive MER. In effect, an adaptive equalizer creates a digital filter with the opposite response of the impaired channel.

Ingress canceller: An ingress canceller is normally included in a CMTS burst receiver to remove narrowband interference, including CB, ham and shortwave radios, etc. It operates by dynamically detecting and measuring the interference and adapting its coefficients to cancel it.

Acquisition and tracking loops: Tracking loops provide estimates of frequency, phase, and symbol timing, allowing the receiver to lock to the incoming signal. Acquisition refers to the initialization and pull-in process that occurs when the receiver is first powered on or changes channels.

Despreader (S-CDMA upstream only): Despreading consists of multiplying the composite received signal by a given code sequence and summing over all 128 chips in the code. There are 128 despreaders, one for each code. The output of the despreader is a soft symbol decision.

Slicer: The slicer selects the nearest ideal symbol, or hard decision, from the QAM constellation.
Trellis decoder (Downstream and some S-CDMA upstream modes): The trellis decoder uses the Viterbi algorithm to choose the most likely sequence of symbols and thereby reject noise.

Descrambler: The descrambler adds a pseudorandom bit sequence to the received data bits, reversing the scrambling operation performed at the transmitter. The purpose of scrambling is to randomize the transmitted data in order to provide an even distribution of QAM symbols across the constellation.

Deinterleaver: The deinterleaver pseudorandomly reorders groups of received bits, reversing the interleaving operation performed at the transmitter. The purpose of deinterleaving is to break up long bursts of noise so that the errored bits can be corrected by the Reed-Solomon decoder.

Reed-Solomon (RS) FEC decoder: This device processes groups of bits (7- or 8-bit symbols) arranged in codeword blocks, in terms of an algebraic code using Galois field arithmetic. By processing the received code words, which include redundant parity symbols, receive symbol errors can be found and corrected, up to one corrected RS symbol for each two redundant RS parity symbols.

MPEG deframer: The downstream DOCSIS signal is grouped into 188-byte MPEG transport packets, permitting the multiplexing of video and data over the common physical layer. The MPEG deframer removes the MPEG transport overhead to recover the bytes that are delivered to the MAC layer.

MAC: The media access control (MAC) layer controls the physical (PHY) layer and is the source and sink of PHY data. The MAC layer processes data frames delineated by DOCSIS headers. In the upstream, the MAC layer governs how cable modems share the channel through a request or grant mechanism.

The Daily

Subscribe

Effros: The Utility of Competition

the underlying theories now being bandied about for either regulating broadband internet access services (BIAS) as a utility or something that should be freely competitive are in major conflict.

Read the Full Issue
The Skinny is delivered on Tuesday and focuses on the cable profession. You'll stay in the know on the headlines, topics and special issues you value most. Sign Up

Calendar

Apr 25
2024 Cablefax 100 Awards Magazine Release: April 25, 2024
Jun 13
2024 American Broadband Congress Conference Registration is Open!
Jun 26
2024 FAXIES Awards Nominations Are Open!
Full Calendar

Jobs

Seeking an INDUSTRY JOB?
VIEW JOBS

Hiring? In conjunction with our sister brand, Cynopsis, we are offering hiring managers a deep pool of media-savvy, skilled candidates at a range of experience levels and sectors, The result will be an even more robust industry job board, to help both employers and job seekers.

Contact Rob Hudgins, [email protected], for more information.