Emulating Video Bandwidth and Detectors in an FFT-based ...

Author: Helen

Apr. 29, 2024

56

0

Tags: Measurement & Analysis Instruments

Emulating Video Bandwidth and Detectors in an FFT-based ...

1. Vector Signal Analyzers

Vector signal analyzers (VSAs) are a popular choice for analyzing modern communication systems because of the advantages they offer over traditional spectrum analyzers.  As the name suggests, VSAs are able to perform not only scalar spectral analysis but also complex time domain analysis and demodulation critical for many applications. 

If you want to learn more, please visit our website Rbw Vs Vbw.

When considering spectral analysis alone, FFT-based VSAs offer advantages over traditional swept spectrum analyzers as well.  Traditional swept analyzers work well for stable signals but for transient and bursted signals the swept nature can result in only analyzing the period of interest for a portion of the acquired spectrum.  In contrast, because FFT-based VSAs acquire data for all frequencies simultaneously, the entire calculated spectrum can represent the same period of interest.  FFT-based VSAs also have significantly reduced measurement times when using a narrow resolution bandwidth (RBW).  Unlike a traditional swept analyzer, the VSA does not have to wait for an analog filter to settle as the LO is swept across the entire frequency span.

Although FFT-based VSAs offer many benefits, it can still be important to correlate settings to those of traditional spectrum analyzers.  When there is no direct correlation between the two architectures, some form of emulation is required.  Video Bandwidth (VBW) and detectors are such settings examined further in this document.

 

2. VBW and Detectors in a Traditional Swept Spectrum Analyzer

VBW – When measuring signals in the presence of noise, it is useful to be able to reduce the variation in the noise as much as possible while leaving the signal of interest unaffected.  On traditional swept spectrum analyzers, you can use the video filter for this purpose. On traditional spectrum analyzers, the video filter is a physical low pass filter that is present in the path between envelope detection and digitizing of the signal.   As the adjustable bandwidth is lowered beyond the RBW filter bandwidth, the filter reduces fluctuations in the signal (noise levels) resulting in a smoothed appearance.  However, any stationary portions of the signal, for example, tones, are left unchanged.

The following two figures illustrate the qualitative effect of VBW on the displayed spectrum.  Figure 1 shows a spectrum of a signal without any video filtering. 


Figure 1. Spectrum trace without video filtering

Figure 2 shows the spectrum of the same signal but with video filtering applied.  The reduction in noise variation is clear when you compare the two spectrums.

  

Figure 2. Spectrum trace with video filtering applied

Detectors – When you want to determine what values should represent the measured spectrum on a display with a fixed number of points, you must choose some algorithm.  In traditional swept spectrum analyzers, detectors serve this purpose.  The detector reduces intervals of continuously swept data down to discrete display points across both time and frequency.  In terms of the frequency, the detector reduces the data contained in an interval defined by [Span]/[Number of display points] to a single display point.  In terms of time, the detector reduces the data contained in an interval defined by [Sweep Time]/[Number of display points] to a single display point. The value chosen to represent the interval is determined by the type of detector chosen, for example, the average of the data in the interval, the positive peak of the data in the interval, and so on.

Note: The number of display points is user-configurable on many traditional spectrum analyzers but this doesn’t change the general premise behind detectors.  The application of detectors is still a mapping process – the user can simply choose the number of points in the resulting map.

Figure 3 illustrates the application of a peak detector.  The image on the left represents the continuous signal and the image on the right represents the points on the display.  In this case, the maximum value in each of the 5 intervals on the left is chosen to represent the entire interval.  Each of these values is then mapped as a single point on the display to the right.

Figure 3. A continuous signal representation on the display when using a maximum peak detector

 

3. Emulating VBW

Spectrum – Because no VBW filter is present in the hardware architecture for VSAs, you must emulate the behavior in the software.  One possible approach attempts to emulate the swept behavior of traditional analyzers by shifting the frequency in a sweep-like fashion and then applying both an RBW and VBW filter to the time domain (I/Q) data.  However, this approach doesn’t utilize the advantages of FFT-based VSAs mentioned previously .  Instead of this approach, this section of the document explores mathematical equivalents that leverage FFT-based analysis.

One such approach is to perform averaging on multiple acquired spectrums.  From a conceptual standpoint this makes sense, because trace averaging reduces noise levels and smooths the trace –analogous to VBW.

To emulate the action of the traditional VBW filter, you must ensure that the number of acquisitions averaged results in the expected amount of reduction in the standard deviation of the spectral power of random noise signals. It is well established that the standard deviation of the average of N independent random samples is reduced to the standard deviation of the samples themselves divided by square root of N. Furthermore, when the VBW is significantly lower than the RBW, the standard deviation of the noise power measurements is reduced by approximately the square root of the ratio of the equivalent noise bandwidth (ENBW) of the envelope-detected RBW filter response to the ENBW of the video filter response. So, at least in the limit, where RBW/VBW is high, the required number of averages N to have the same effect as the VBW filter is equal to the ratio of the ENBWs of the baseband-detected RBW filter response and the video filter response.

The ENBW of the video filter is simple to calculate. Usually the traditional analog VBW filter is a simple first-order lowpass filter, having a single pole at the nominal frequency of the filter. Assuming this filter, the ENBW is π/2 multiplied by the nominal VBW frequency.

The ENBW of the detected RBW filter response is more complicated. In a traditional analog spectrum analyzer, the signal, noise in this case, is effectively fed through a bandpass filter centered at the corresponding frequency on the x-axis of the spectrum display and having a –3 dB bandwidth equal to the nominal RBW. The power of the noise making it through the filter is then measured; this measured power exists as a continuous-time signal inside an analog instrument and is further filtered by the video filter. However, while the RBW filter operates on IF signals, the nonlinear process of detecting power relocates the signal energy from IF to baseband. The spectrum of this noise energy is no longer shaped like the bandpass filter spectrum occurring before the envelope detector. This spectral transformation for power detection was characterized by S. O. Rice in 1944, when he showed that the resulting power spectrum was the same as the original narrowband power spectrum convolved with itself in the frequency domain,except at f = 0.

The typical analog spectrum analyzer uses 4thorder synchronously-tuned bandpass filters as RBW filters. Ideally the magnitude response is described using the following equation:

where  is the passband center frequency,
N is the order of the filter, in this case, 4,

and B is the -3 dB bandwidth of the RBW filter.

When white noise is passed through the filter, the normalized power spectrum becomes:

When the signal is detected by a square-law detector or any other detection that indicates power, Rice’s convolution indicates that the resulting spectrum will be:

where the constant c will not matter for the calculation of ENBW, because ENBW is, in turn, calculated using the following equation:

When the detected ENBW is calculated numerically for the 4th-order bandpass filter, the result is:

And, because ENBW is π/2 multiplied by the nominal VBW frequency , we know the ENBW of the video filter is:

Hence for VBW << RBW,

Additional reading:
Testcontainers is a Java library that supports JUnit tests ...
What is the biggest NDT company?
4 Advice to Choose a Applications Of Wave Analyzer

Contact us to discuss your requirements of Use Of Spectrum Analyzer. Our experienced sales team can help you identify the options that best suit your needs.

However, this approximation for N is not accurate when VBW is not much less than RBW or is greater than RBW.  For example when VBW >> RBW, the video filter has almost no effect at all, and the number of averages N should be unity. Instead, the previous formula results in a very small number, much less than unity. To solve this problem, you need a function that interpolates between unity at one end and 0.536(RBW/VBW) at the other. The following function provides a good approximation of the theoretical number of averages for any RBW / VBW ratio:

                                

where k = 0.536 and p = 1.275.

Figure 4 illustrates how well this function approximates the ideal number of averages for all RBW / VBW ratios.


Figure 4. Function approximating ideal number of averages based on RBW/VBW ratio

Zero Span – In zero span mode, you can perform a more direct emulation because you are operating in the time domain with (I/Q) data.  In this case, you can simply implement the first order video filter in software using the following impulse response equation:

where

Note: When applying VBW, the unit of the data on which the algorithm is performed affects the overall result.  In the case of both spectrum and zero span, the NI-RFSA Soft Front Panel (SFP) applies the algorithm on linear power data, that is, .  The final display unit is applied later as a post processing step. This is consistent with trace averaging, which is always applied on linear power data.

 

4. Emulating Detectors

To emulate detectors in the SFP, it is useful to revisit their purpose -to reduce data for display.

Frequency – As described previously, in swept analysis the reduction is defined by the ratio of Span to Number of display points.   FFT analysis adds a third variable, RBW.  The number of points returned by the FFT is a result of the Span, RBW, and RBW type settings.  For large Span to RBW ratios, the size of the FFT can become very large. One possible method to reduce the large dataset returned by the FFT is to specify a smaller, fixed number of data points. The detector type specifies the way in which the display points are chosen from the original dataset.

In the case of the NI-RFSA SFP, the number of display points is not specified.  Instead, the number of display points is equal to the size of the FFT, calculated based on the configured Span and RBW.  Although it may be hard to distinguish all points on the graph for large FFTs, all the points are available for measurements, markers, exporting of data, and so on.  So in the case of the SFP, detectors are not applied across frequency but are only applied over time as described in the following section.

Time – In FFT analysis, the acquisition time necessary to compute a single spectrum is predominantly dictated by the values for RBW and VBW.  If you specify a sweep time greater than the acquisition time, you can perform multiple acquisitions to capture spectral information over the requested interval.  In this case, you must reduce multiple acquisitions down to a single spectrum to view on the display.  The detector type specifies the way in which this reduction occurs.

In the case of the NI-RFSA SFP, because sweep time is not currently a configurable parameter, the SFP uses an “auto sweep time” to provide the best correlation with the default sweep time settings of traditional analyzers .  This sweep time dictates a number of acquisitions for which the SFP calculates corresponding spectrums.  These multiple spectrums are reduced to a single spectrum with the detector being applied on each frequency bin.

For example, assume that the sweep time specifies to calculate two spectrums and the detector is set to peak.  In this case, for the first frequency bin, the value chosen for display on the graph by the SFP is the maximum of the value of the first frequency bin of the first spectrum and first frequency bin of the second spectrum.  The value chosen for display on the graph by the NI-RFSA SFP for the second frequency bin is the maximum of the value of the second frequency bin of the first spectrum and the second frequency bin of the second spectrum.  The remaining frequency bin values are calculated in a similar fashion.

Optimization – For fastest measurement results in the NI-RFSA SFP, use the default detector setting, which is Sample.  Sample detector can represent any point in a given interval as long as it is consistently chosen across intervals.  As such, the SFP chooses the first point in the interval to be the representative sample and subsequently skips any unnecessary additional acquisitions.

Practical Real Time Spectrum Analyzer Applications Part 1

This is the first post in a multi-part blog series where we take a look at a few practical applications of spectrum analyzers.

There are many cases where accidental or intentional EM interference occurs, which puts even greater burdens on an already crowded spectrum. The ability to capture, analyze, identify, and locate these harmful signals is crucial in ensuring proper operation of cellular, WiFi, GPS, and other telecommunications technology. The onrush of Internet Of Things (IOT) and Machine to Machine (M2M) adoption and the plethora of wirelessly connected devices poses further challenges in deciphering the complex RF spectrum. Real time spectrum analyzers (RTSAs) present a valuable set of features that aid a skilled user in understanding and finding interfering and infringing signals, accidental or otherwise.

A crowded spectrum provides plenty of opportunity for interfering signals

Basic Features And Techniques

A SA possess several features that can be leveraged or adjusted to help determine a troublesome signal’s important details, namely:

  • Resolution Bandwidth (RBW)
  • Frequency Span
  • Video Bandwidth (VBW)
  • Trace Averaging
  • Max Hold Trace
  • Peak Detector

The true RTSA advantage comes from the Real-Time-, Instantaneous-, or Useable-IF Bandwidth, which profoundly affects the Probability of Intercept (POI) of an intermittent or digitally modulated interfering signal. This is done by enabling the use of simultaneously parallel RBW windows. For example, a single 27MHz Instantaneous bandwidth the PC can process thousands of RBW segments that were all captured simultaneously.

RBW, Frequency Span, And Probability Of Intercept (POI)

Lowering the RBW will increase the frequency resolution of the RTSA, while also increasing the signal-to-noise ratio (SNR) on the display. Though this feature will allow for non-noise like signals to be more easily identified and located with a directional antenna, any reduction in the RBW will also increase the burden on the PC. Reducing the RBW could reduce the sweep speed if the PC’s computing resources are fully utilized. Hence, when decreasing the RBW it may also benefit the user to reduce the frequency span so that the signal of interest is centered and occupied roughly 50% of the span bandwidth.

Another factor to consider when adjusting the RBW, is that the probability of intercept (POI) time duration is affected by the RBW value. If a signal’s energy is entirely contained in the time window of the RBW, then the signal’s amplitude will be represented accurately. Otherwise, a shorter signal may be displayed without a high level of amplitude accuracy. As the BB60D has truly overlapping FFTs, this RTSA is capable of capturing signals shorter than the time window, albeit not with perfect amplitude accuracy. Not all RTSAs are capable of this, as they may lack overlapping FFT’s.

The trade-off between 100% POI and average noise floor at discrete RBW values [2.4, 4.9, 9.8, 19, 39, 78, 157, 315, and 631 kHz]

Video Bandwidth And Trace Averaging

If there are rapid power variations in the frequency band around the signal of interest, reducing the VBW or initiating Trace Averaging will help reduce the variations. Reducing the VBW will help in “smoothing” the displayed signal, possibly revealing signals masked within the noise floor. Typically, unless additionally smoothing is needed the VBW will equal the RBW. Generally a second choice, Trace Averaging takes an average of a number of sweep traces, which often only displays more persistent signals.

A: Noise floor with VBW equals RBW. B: Lowering the VBW reduces the peak-to-peak noise and may reveal tones previously hidden in the noise floor.

Max Hold Trace And Peak Detector Settings

Using multiple traces, where one trace is the Max Hold trace and another the standard trace can help to identify pulsed or low-duty cycle signals. The Max Hold trace will display only the maximum power signal trace for the refresh time period, while the standard measurement trace will continue to update. In Signal Hound Spike software, multiple traces can be configured and displayed with clear & write, max hold, and averaging functions simultaneously. Also, when encountering signals of low, medium, or high levels, adjusting the maximum peak detection level to accommodate the signal power of interest can help reveal low levels signals in the presence of high level signals.

Max hold trace reveals all RF activity for the duration of interest.

Persistent Display

Persistent displaces and waterfall displays use visual indicators to display time and intensity of signals, which enable users to understand the behavior of the RF environment within the sweep range. Persistent displays treat each pixel in a logarithmic power and frequency plot as a “bucket” that increases its intensity based upon the number of sweeps in which signal energy is contained in that bucket. Often, color gradients distinguished the intensity, and to mimic old SA phosphorus displays, a decay function is applied to the pixel. This means that the more frequently a specific frequency and power pixel in the display contains RF energy, in the Spike software, the “brighter” or “redder” that pixel will be.

The persistent display (bottom) demonstrates a frequency hopping Bluetooth (the sharp spikes) signal and a fixed channel WiFi (broad rippled signal), where the Bluetooth signal is interfering with the WiFi signal. It can be observed in the waterfall display (top) that the Bluetooth signal attempts to avoid the WiFi signal, but has limited options considering the clutter within the 2.4 GHz ISM band.

Waterfall Display

A waterfall display is a powerful tool that displays signal power across a frequency range over time. When initiated, the waterfall display generates a line across the frequency spectrum of interest, showing the percentage of time a signal is present as a color gradient. One spectrum time slice line is then stacked on top of the next time slice captured, creating a growing stack of past signal activity varying in color. With this display it is easy to see frequency hopping, periodic, low-duty cycle, pulsed, and persistent signals and analyze their activity over time. Interferers, such as a magnetron activating in a microwave oven, can be observed over time, and their time-domain impact on a frequency band can be determined readily with a waterfall display.

This video shows a waterfall display in action, as presented in our Spike software (the waterfall display is in the top pane of the application):

Record & Playback And Limit Line Functionality

As certain types of interference may be harder to classify in the field, a helpful feature of an RTSA is the ability to record the received signals for future playback and analysis. The software that ships with an RTSA may have the ability to capture signal data, where outside software tools, such as Matlab and Excel, can be leveraged to further analyze the frequency and power data when it is recorded in I/Q data format. In some RTSA software tools, this is as easily done as clicking a record and stop button, just as you would on an audio player.

Another valuable feature for capturing elusive signals is the ability to configure limit lines in order to “mask” out an area of frequency and power spectrum and trigger events when a signal falls within the mask area. The triggered event could be a capture image, print screen, display pause, or exporting the captured signal to a CSV file for later viewing and processing.

This limit line (red region) was configured to catch a transmitter that may occasionally burst outside of its designated channel. With configurable limit lines a potentially impossible event to capture was easily recorded when the signal energy entered the trigger region.

Further Reading

The capabilities of a real time spectrum analyzer create a valuable tool for “viewing” the signals in your environment and provide a starting point for a deep look into interference issues. As you continue to spend time observing and monitoring the wireless spectrum, you’ll begin to develop a keen sense of where potential interferers lie.

Want to learn more? Check out the links in the list below for even more details on interfering signals and spectrum monitoring.

References

About the Author

Andrew

AJ is a software engineer at Signal Hound.

Want more information on Difference Between Oscilloscope And Function Generator? Feel free to contact us.

Comments

0

0/2000

Guest Posts

If you are interested in sending in a Guest Blogger Submission,welcome to write for us!

Your Name:(required)

Your Email:(required)

Subject:

Your Message:(required)

0/2000