Digital frequency response compensator and arbitrary response generator system
A digital signal processing system capable of compensating for frequency response variations and generating a response characteristic that complies with a provided specification. The system automatically generates digital filters to provide this compensation with almost any form of channel frequency response information and with user defined specifications. The capability of this system to trade-off noise performance, pulse response, and frequency response flatness in order to provide an optimized response is demonstrated. The system also provides feedback to the user on the final response characteristics.
Latest LeCroy Corporation Patents:
- Compensating resistance probing tip optimized adapters for use with specific electrical test probes
- METHOD FOR PRINTED CIRCUIT BOARD TRACE CHARACTERIZATION
- Multiple Channel Distributed System and Method
- METHOD FOR DE-EMBEDDING IN NETWORK ANALYSIS
- METHOD AND APPARATUS FOR MULTIPLE TRIGGER PATH TRIGGERING
The entire contents of the following applications are hereby incorporated by reference: U.S. application Ser. No. 09/669,955 filed Sep. 26, 2000 now U.S. Pat. No. 6,542,914; U.S. application Ser. No. 09/988,120 filed Nov. 16, 2001 now U.S. Pat. No. 6,539,318; and U.S. application Ser. No. 09/988,420 filed Nov. 16, 2001.
BACKGROUND OF THE INVENTIONThe present invention is directed to a digital signal processing (DSP) system having a digital frequency response compensator and an arbitrary response generator. More generally, the present invention relates to systems having an analog input signal, analog electronics (e.g. attenuators, gain elements, and buffers), and an analog-to-digital converter (ADC) for converting the analog input signal into a sequence of numbers that is a digital representation of the input signal. This invention pertains to instruments designed with the aforementioned components in order to acquire waveforms for the purpose of viewing, analysis, test and verification, and assorted other purposes. More specifically, this invention pertains to digital sampling oscilloscopes (DSOs), especially ultra-high bandwidth and sample rate DSOs and single-shot DSOs (sometimes referred to as real-time DSOs). These DSOs are capable of digitizing a voltage waveform with a sufficient degree of over-sampling and fidelity to capture the waveform with a single trigger event.
Traditionally, DSOs have been the primary viewing tool for engineers to examine signals. With the high-speed, complex waveforms utilized in today's communications and data storage industries, the simple viewing of wave forms has been de-emphasized and greater demand has been placed on DSOs that are also capable of analyzing the waveforms. This increased desire for DSO analysis capability requires a greater degree of signal fidelity (i.e. a higher quality digitized waveform). While greater demands for signal fidelity are being made, the desire for DSOs having higher bandwidth and sample rates similarly continues unabated. Unfortunately, a high-speed signal requires a high-bandwidth DSO, and a premium is paid for ultra-high bandwidth, high sample rate, real-time DSOs.
Sampling rates for digital oscilloscopes have been doubling approximately every 2-2½ years, with bandwidth doubling almost every 4 years. This increase in bandwidth has not come without a price. Often, analog components are stretched to their limits. Sometimes, peaking networks are used to stretch the bandwidth even further. This push for higher bandwidth often comes at the price of signal fidelity, specifically in the areas of pulse response (overshoot and ringing) and frequency response flatness. This is because peaking tends to be somewhat uncontrolled (i.e. it is difficult to peak-up a system while simultaneously maintaining a flat response). Further, since the analog components are stressed to their bandwidth limits, the frequency response often drops precipitously if the bandwidth is exceeded. Hence, high-bandwidth oscilloscopes no longer have gentle frequency response roll-up characteristics.
Despite this situation, DSO customer's baseline expectations have not changed. Customers still expect low-noise—even though noise increases by a factor of the square root of two for every doubling of the bandwidth—and they expect DSOs to have a certain roll-off characteristic.
Further complicating the situation is the fact that the design of high-speed DSOs involves a tremendous amount of trade-off and compromise. The three main traditional metrics of signal fidelity—noise, frequency response, and time-domain response—all compete against one another. As mentioned previously, pushing higher bandwidth through an oscilloscope increases the noise in the output signal. Any variation from the single-pole or double-pole frequency response characteristics increases the overshoot and ringing. Pushing the bandwidth of the hardware components to their limits only makes the problem worse. Flattening the frequency response can worse the pulse response. Improving the pulse response typically means reducing the bandwidth of the instrument (which is always undesirable). Because the DSO is a general-purpose instrument, the tradeoffs are chosen carefully but many customers are invariably unsatisfied. The only choice left to the user is between a few fixed bandwidth limits, which connect in a simple RC network. Even in bandwidth-limited modes, the response is often still not perfectly compliant with the single-pole response and can vary by up to 0.5 dB.
Compliance to a specified response is essential in the development of vertical market applications for a DSO where the scope emulates, for example, particular communication or disk-drive channels. The capability to emulate channels provides a rapid prototyping and analysis capability.
SUMMARY OF THE INVENTIONTherefore, in accordance with the present invention, a component capable of compensating for degradation due to increased bandwidth is provided (i.e. frequency response flatness and/or compliance to a particular desired response characteristic).
Further in accordance with the present invention, an adjustable component capable of making trade-offs with regard to noise, flatness and/or pulse response characteristics, rather than relying on static instrument characteristics is provided. The adjustable component thereby allows the instrument to be optimized for a given measurement.
In accordance with the present invention, a capability using the adjustable component to feedback the response characteristics of the instrument to the user is provided.
Still further in accordance with the present invention, a component capable of being calibrated for changing channel response characteristics is provided.
A preferred embodiment of the invention provides a signal processing system capable of compensating for a channel response characteristic of an input waveform. The system comprises input specifications, a filter builder, and a filter. The input specifications are used to specify the design of the filter and include channel response characteristics defining the response characteristics of a channel used to acquire the input waveform, and user specifications for specifying a desired frequency response and a degree of compliance to the desired frequency response. The filter builder generates coefficients for the filter and outputs final performance specifications. The filter has a compensation filter generator for generating coefficients corresponding to a compensation response on the basis of the inverse of the channel response characteristics, and a response filter generator for generating coefficients corresponding to a combination of an ideal response and a noise reduction response on the basis of the user specifications. The filter filters the input waveform and outputs an overall response waveform having a desired frequency response. The filter is comprised of a filter coefficient cache for storing the coefficients generated by the filter builder, a compensation filter portion for filtering the input waveform in accordance with the coefficients stored in the filter coefficient cache corresponding to the compensation response, and a response filter portion having a response filter stage and a noise reduction stage for filtering the compensated waveform output from said compensation filter portion that outputs the overall response waveform. The response filter portion filters using the coefficients stored in the filter coefficient cache corresponding to the combination of the ideal response and the noise reduction response.
In another aspect of the invention, the filter may be implemented as an infinite impulse response (IIR) filter or a finite impulse response (FIR) filter.
In a further aspect of the invention, the channel response characteristics may be predetermined based on a reference signal and the reference signal as acquired by the channel.
In still another aspect of the invention, the user specifications may comprise a bandwidth, a response optimization, a compensation compliance, and a filter implementation type. The response optimization may be a pulse response optimization implemented using a Besselworth filter, a noise performance optimization implemented using a Butterworth filter, or a flatness optimization implemented using a Butterworth filter. The filter implementation type may be finite impulse response (FIR) or infinite impulse response (IIR).
In accordance with a further embodiment of the invention, a signal processing element for filtering an input digital waveform is provided. The element comprises a filter builder, an infinite impulse response (IIR) filter, a finite impulse response (FIR) filter, and an output selector switch. The filter builder is used for generating filter coefficients on the basis of a channel frequency response and a user response characteristics. The channel frequency response is determined on the basis of a response input and a correction input. The infinite impulse response (IIR) filter has an IIR input for the input digital waveform and an IIR coefficient input connected to the filter builder. The IIR filter produces an IIR filtered waveform from the input digital waveform on the basis of the filter coefficients generated by the filter builder. The finite impulse response (FIR) filter has an FIR input for the input digital waveform and a FIR coefficient input connected to the filter builder. The FIR filter produces a FIR filtered waveform from the input digital waveform on the basis of the filter coefficients generated by the filter builder. The output selector switch selects either the IIR filtered waveform or the FIR filtered waveform for output.
In this embodiment, the filter builder detects changes in the sampling rate of said input digital waveform that may require the filter coefficients to be changed and regenerated. The filter builder generates filter coefficients for the FIR filter or the IIR filter on the basis of the output selector switch. The filter builder has channel, compensation, shaper, and noise reduction outputs for evaluating the performance of the filtering.
In another aspect of this embodiment, the response input is a known input response and the correction input is a measured input response as acquired by an input channel. The user response characteristics are used to generate filter coefficients corresponding to an arbitrary response portion of the filter. The user response characteristics comprise a bandwidth, a response optimization, a compensation compliance, and a filter implementation type. The response optimization may be a pulse response optimization implemented using a Besselworth filter, a noise performance optimization implemented using a Butterworth filter, or a flatness optimization implemented using a Butterworth filter. The filter implementation type may be FIR or IIR.
In yet another embodiment of the invention, a method of filtering an input digital waveform to compensate for the response characteristics of an acquisition channel is provided. The method first generates a compensation portion of a filter on the basis of an input channel response by pre-warping the input channel response, designing an analog filter emulating the pre-warped input channel response by making an initial filter guess and iterating the coefficients of the initial filter guess to minimize a mean-squared error, inverting the analog filter, and digitizing the inverted analog filter to produce the compensation portion of the filter using a bilinear transformation. The method then generates an arbitrary response portion of the filter on the basis of an input user specifications. Finally, the method filters the input digital waveform using the compensation portion of the filter and by the arbitrary response portion of the filter, thereby producing a filtered digital waveform having the desired response characteristics.
In accordance with this embodiment, the arbitrary response portion of the filter is comprised of a shaper and a noise reducer. The coefficients of the initial filter guess are iterated until the mean-squared error is less than a compensation compliance specified in the input user specifications.
In another aspect of this embodiment, the filter may be implemented as an infinite impulse response (IIR) filter or a finite impulse response (FIR) filter.
In yet another aspect of this embodiment, the channel response characteristics may be predetermined based on a reference signal and the reference signal as acquired by the channel.
In still another aspect of the embodiment, the user specifications may comprise a bandwidth, a response optimization, a compensation compliance, and a filter implementation type. The response optimization may be a pulse response optimization implemented using a Besselworth filter, a noise performance optimization implemented using a Butterworth filter, or a flatness optimization implemented using a Butterworth filter. The filter implementation type may be finite impulse response (FIR) or infinite impulse response (IIR).
Other objects and advantages of the invention will in part be obvious and will in part be apparent from the specification and the drawings.
For a more complete understanding of the invention, reference is made to the following description and accompanying drawings, in which:
The preferred embodiments of the system according to the present invention will be described with reference to the accompanying drawings.
The present invention is a signal processing system having a digital frequency response compensator and an arbitrary response generator. The invention includes a filtering operation that is performed by a signal processing element located in the signal path of a DSO, between the ADC and any downstream processing of the digitized waveform. The filtering operation is executed during and/or after readout and prior to display or further processing of the waveform. DSOs generally have a high performance central-processing unit (CPU) for processing the acquired waveforms for analysis or display. The digital filtering operation according to the present invention may be implemented in software on this CPU within the DSO.
The purpose of this digital filtering operation is to alter the frequency response of the DSO. This filter is designed such that by the adjustment of its filtering characteristics, the entirety of the DSO's system (including the channel input, the digitizing elements, and the present invention) has a specific, prescribed frequency response. In other words, the digital filter does not merely filter the frequency response, but causes the entire system to have a prescribed frequency response. Most filters are simply designed to have a particular effect on the signal input to the filter, but not to provide a particular overall system response.
The present invention transforms response plot 17 into overall response plot 16 utilizing the digital filter shown in 18. Note that this response is not the exact ideal response 20, but it is the best response possible given the hardware bandwidth of the channel. Digital filter 18 is comprised of three internal filter stages: compensation filter 19, ideal response filter 20 and cutoff filter 21.
Prior attempts at this type of invention have failed in part because of difficulties in implementing the compensation filter portion. The design of the compensation filter is difficult because it is based on the channel response, which is highly variable.
Although the final filter is implemented in its entirely without regard to the effect of each stage, the design of the filter is split into two steps. This is because the response filter and cutoff filter are designed together. This two step approach simplifies the design of the filter and reduces the filter calculation time during operation. This is because only the compensation filter portion needs to be rebuilt if the channel frequency response changes. Similarly, if the user changes the response specifications, only the response portion needs to be rebuilt. In other words, the compensation and response filter designs are decoupled. This decoupling is demonstrated by the fact that the compensation filter output is designed to generate a fixed output frequency response specification (i.e. a response that is flat). Thus, the channel frequency response determines the design of this filter portion. The response filter portion assumes that its input response is flat; therefore only the response output specifications affect the design.
The filter 4 contains a filter coefficient cache 9 that contains the coefficients defining the filter. The filter coefficients are supplied by the filter coefficient builder (or filter builder) 10. Filter builder 10 is divided into two sections: the compensation filter generator 11 and the response filter generator 12. The compensation filter generator 11 generates filter coefficients for the compensation response 19 in FIG. 2. The response filter generator 12 generates filter coefficients for a combination of ideal response 20 and noise reduction (or cutoff) response 21, as shown in FIG. 2.
The input specifications to the filter builder consist of two parts: the channel response characteristics 13 and the response and compensation specifications 14. Channel response specifications 13 are based on the response of the input channel while the response and compensation specifications 14 are specified by the user. The response and compensation specifications 14 specify the desired response and the desired degree of compliance to this response. The channel response 13 and user specifications 14 completely specify the desired system performance. The channel response may be determined through factory calibration or be dynamically calibrated using a reference standard. In the case of dynamic calibration, the reference standard may be either internally provided or external to the unit. Response and compensation specifications 14 are graded to allow for tight control of the desired response, while allowing for easy control of the system.
The degree of compliance allows the user to fine tune the system. Large, complex digital filters will result if the desired response specification is exotic, or if the desired degree of compliance is very high. Such filters require large amounts of processing time which reduces the instrument update rate. Thus, the degree of compliance should be balanced with the impact of the instrument update rate.
Compensation filter generator 11 builds the compensation portion of the filter. As discussed previously, this portion is effectively the inverse of the channel response. The main difficulty with the design of this portion is that the channel response may be somewhat arbitrary and the specification may require stating the entire channel frequency response. This leads to a filter design that involves a least-squares error (L2) minimization between the input specification and the final output response of the filter. Unfortunately, when stated as an L2 minimization, a set of non-linear equations results which must be solved using non-linear equation solving methods. The fact that the equations are non-linear means that there is no guarantee that L2 will be minimized—only that a local minimum will be found. While this can be dealt with in a laboratory setting, failure of the system is not tolerable in most real-world applications. Furthermore, the instrument does not have an indefinite amount of time to calculate the filter. Therefore, measures must be taken to maximize the chance of success of the filter design and to calculate the filter in a speedy manner.
Response filter generator 12 translates the user specifications 14 and builds the response filter. The response filters are usually a combination of filters types that are generally compatible with IIR filter designs (e.g. Butterworth, Bessel, Inverse Chebyshev). Other filter types may also be used.
The following description of the preferred embodiment explains how the invention deals with this filter building problem. Once the filter portions have been built, the filters are cascaded and are capable of continuously filtering input waveforms, providing the overall system response as stated. Because of the uncertainty involved in the design of the compensation filter portion, the user should have the capability to examine the final overall system performance. For this reason, a set of final performance specifications 15 based on the designed filter is provided as feedback to the user.
The present invention has been implemented within a new software development platform for LeCroy DSOs. The main features of the software platform that are used by this invention are the “streaming architecture” and the “processing web”—both of which comprise a system that manages the interconnection of processing objects and data flow through these objects. See U.S. application Ser. No. 09/988,120 filed Nov. 16, 2001 and U.S. application Ser. No. 09/988,420 filed Nov. 16, 2001 incorporated herein by reference. Each processing object in the software, including the present invention, is implemented as an ATL COM object.
In
In
A detailed view of filter component 33 is shown in FIG. 4. Component 33 is actually a composite of several components. Each of these internal components is also implemented as a separate ATL COM object. The two top components (IIR filter 54 and finite impulse response (FIR) filter 55) are the actual filter elements and the larger component at the bottom is the filter builder 56. Both filter inputs 57 and 58 are connected directly to the input pin 59 where the DSO waveforms from the digitizing hardware are input. Likewise, both filter outputs 60 and 61 are connected to output pin 62 (through a switch 79). The setting of switch 79 is determined either directly by the user or through an optimization performed during filter building.
These filters have been implemented on an Intel Pentium™ processor, using the Intel Performance Library—a set of dynamic-link libraries (DLLs) containing biquad IIR and FIR filter code specifically optimized for the processor. See Intel Signal Processing Library Reference Manual, Doc No. 630508-012, Intel Corp., 2000, Chapter 8. The fact that these filters can be implemented utilizing Intel libraries is only one possible embodiment, but is not necessary to the invention. Any other appropriate equivalent implementation may be employed. (Pentium™, and Intel Inside™ are trademarks of the Intel Corporation)
The Coef inputs 63 and 64 are connected to the Coef output pin 65 of the filter builder 56. The coefficients for the filters are generated based on the type of filter as indicated by output switch 62. If the FIR filter 55 is selected, then the coefficients are sent as a series of numbers a0, a1, a2, a3, . . . and the overall filter response is:
If the IIR filter 54 is selected, then the coefficients are sent in groups of six with each group representing a biquad section. The sequence of numbers is sent as a0,0, a1,0, a2,0, b0,0, b1,0, b2,0, a0,1, a1,1, a2,1, b0,1, b1,1, b2,1, . . . The transfer function for each section is denoted by:
where b0,s is always set to 1.0
- The overall filter response for the IIR filter is:
Input pin 59 is also connected to the filter builder input 66 for the purpose of detecting changes in the sample rate of the input waveform which may require the digital filter to be rebuilt. The resp 67 and corr 68 inputs are tied to the filter builder resp 69 and corr 70 inputs. The four frequency response outputs of the filter builder 75-78 are connected directly to the composite system outputs 71-74.
The filter builder 56 requires two sets of specifications (the channel frequency response and the user response specifications) to produce output coefficients. The channel frequency response is used to build the compensation portion of the filter. The user response specifications are used to build the arbitrary response portion of the filter.
The channel frequency response is calculated from the response 69 and correction 70 input pins to the filter builder 56. Response is the measured response to a known input stimulus to the channel. Correction is the actual, known frequency response or frequency content of the input stimulus. As with all measurement instrument calibrations, a source must be traceable to a known standard. Thus, knowing the frequency content of a source waveform (known by measurement utilizing another calibrated instrument), and knowing the instrument's response to this waveform (specifically, the response of the channel of the DSO into whose data stream this processing element is placed), the frequency response of the channel may be determined. If Hc denotes the unknown frequency response of the channel, Hs the known frequency content of the calibration waveform, and Hm the frequency content of the scope channel as measured by the uncompensated DSO, then:
Hm=Hs·Hc Equation 4
and thus
Therefore, one method of determining the scope channel response is to take a known stimulus with frequency content Hs, apply it to the input of the DSO channel, acquire it with the digitizer and acquisition system, measure its frequency content Hm and use Equation 5 to determine the channel frequency response Hc.
The resp 69 and corr 70 input pins are polymorphic, meaning they show the same interface, but their behavior differs based on the input. Namely, each input pin is capable of accepting either a time-domain or frequency-domain waveform. Thus the system can receive channel frequency response specifications in the following four formats:
A: Frequency sweep is provided with known time domain response.
This combination is almost never used, since the time domain response of a swept sinusoid is rarely known.
B: Frequency sweep is provided with known frequency response
This combination is probably the most common. Accurate instruments that deliver radio frequency (RF) sinusoids are easy to find (for example, the HP8648B 2 GHz signal generator manufactured by Hewlett Packard). Furthermore, the frequency content of the actual sinusoid delivered to the DSO is easy to measure using an RF power meter or sufficiently accurate spectrum analyzer. Also, a network analyzer can be utilized to measure the frequency response characteristic of any cables used to deliver the sinusoid. One of the drawbacks of this combination is that is takes a long time to sweep the sinusoid since each frequency of interest must be delivered to the DSO and a measurement must be made of the amplitude and phase of the signal at each frequency point. Another drawback is that it is difficult to accurately know the phase of the sinusoid. Sometimes, this difficulty can be overcome using special trigger outputs from the generator.
C: Time domain waveform is provided with known frequency response
This is another common combination. The main requirement for a source using this combination is that it has sufficient power at the frequencies of interest. Two common inputs are step and impulse functions. While perfect steps and impulses cannot be generated easily, it is possible to know the frequency content of the waveform. The easiest manner is to first calibrate the generator by acquiring the time-domain waveform with a DSO and then measure the frequency response of the channel using the method disclosed in combination B. The frequency content of the time-domain source waveform is easily calculated as the measured response from the frequency sweeps minus the frequency content of the sweep generator plus the measured frequency response of the time-domain source waveform. The measured frequency response of the time-domain source waveform is easily calculated using a Fast Fourier Transform (FFT) or Chirp Z Transform (CZT).
While calibration of the time-domain generator suffers from the same drawbacks as described in combination B, this calibration does not need to be performed as frequently (only often enough for the calibration of the time-domain source to remain valid). This combination also suffers from the additional drawback that it is difficult to generate time-domain waveforms whose frequency content does not vary with amplitude. Since the DSO frequency response will vary over its various gain ranges, it is desirable to have a source that can be easily used at any possible gain setting. The strength of this method is the speed and ease with which the measurement is made. All that is needed is to input the calibrated time-domain waveform, trigger on the waveform, and average enough acquisitions to sufficiently reduce the noise. This process can often be performed in under a second.
D: Time domain waveform is provided with known time domain response
This combination is not often used. It has the same benefits as combination C, in that once calibrated the measurement of the time domain waveform can be performed quickly. The problem is that the actual time domain performance of the source usually cannot be determined directly. In other words, it would be inferred from a frequency response measurement. Note that this combination could be used if a DSO using the present invention were used in the calibration of the time-domain source.
The type of waveform attached to the resp 69 and corr 70 inputs is determined by examining its waveform descriptor. The time domain waveforms are converted to frequency responses using the standard Chirp-Z transform (CZT). See M. T. Jong, Methods of Discrete Signal And Systems Analysis, McGraw-Hill Inc., 1982, pp. 297-301, the entire contents thereof being incorporated herein by reference. The CZT is used because it allows precise setting of the number of frequency points in the response, regardless of the sampling rate. Many advanced Fast Fourier Transform (FFT) algorithms also provide this capability, but the CZT is simple and only requires a radix 2 FFT regardless of the number of points in the input signal. While the number of frequency points is settable in the filter builder, 50 points (from 0 Hz to the maximum compensation frequency) works well. The maximum compensation frequency is the frequency at which we will no longer try to undo the effects of the channel frequency response. Usually, this is the frequency at which the magnitude response of the channel approaches the noise floor. This frequency is usually the maximum attainable bandwidth of the instrument using this invention.
Although there are a fixed number of points (from 0 to the maximum compensation frequency), the CZT is sometimes calculated out to the Nyquist limit. It is sometimes useful to view the performance of the compensation portion beyond the frequencies of interest.
Once the waveform at the input to the resp 69 and corr 70 inputs have been converted to frequency responses, Hs and Hm have been determined. Generally the frequency response is represented as a magnitude (in decibels) and a phase (in degrees). If necessary, the responses are resampled using C-spline interpolation. At this point, Hc is calculated by subtracting the magnitude and the phase. Hc forms the basis for the design of the compensation filter portion.
An example of a calculated Hc is shown in FIG. 5. The source waveform used to determine Hm is a step 80 provided by a step generator. This step has been acquired by a DSO channel. To reduce noise and increase resolution (both horizontally and vertically), the acquired step is averaged repeatedly by the DSO. The impulse response of a perfect step is:
and thus the frequency content is:
The frequency content of the step (Hs) can easily be determined by taking the derivative of the step acquired through a channel with a flat frequency response and applying the CZT.
The compensation filter portion is designed based on this channel response to counteract the deviation of the response from 0 dB—in effect, the filter provides the exact inverse of the channel response. An analog filter is first designed that emulates the channel response as closely as possible, the filter is inverted to provide the inverse response, and then converted to a digital filter using a bilinear transformation. The bilinear transformation is well known to those skilled in the art of digital signal processing, but some of the details are described below.
The bilinear transformation is used to convert analog filters to digital filters through a direct substitution of the Laplace variable s. Take an analog filter transfer function:
perform the following substitution:
And algebraically manipulate the resulting equation to put it in the following form:
By performing this substitution, a digital filter according to Equation 10 will not perform exactly as the analog filter of Equation 8. This is because the substitution shown in Equation 9 creates a non-linear relationship between the frequency response of the analog and digital filters. This non-linear relationship is called warping. Specifically, this relationship is:
where fd is the frequency where the digital frequency response is evaluated, fa is the frequency where the analog frequency response evaluated, and Fs is the sampling rate of the digital system. In other words, using this transformation, the analog filter response evaluated at fa equals the digital filter response evaluated at fd. Note that:
x=tan−1(x) for small values of x. Equation 12
Therefore, fa=fd for small values of fa with respect to Fs. In other words, the performance of the digital filter matches the performance of the analog filter for low frequencies with respect to the sample rate. For this reason, filters designed using the bilinear transform are sometimes able to ignore the warping effect. However, in the DSO, the bandwidth may be exactly at the Nyquist rate. Hence, the effects of warping cannot be ignored.
To account for warping, the channel frequency response is prewarped.
Note that Equation 13 tends toward infinity as f approaches the Nyquist rate. Even excluding the Nyquist rate, frequencies close to Nyquist still generate large prewarped frequencies. For this reason, the size of the prewarped frequencies are restricted to a fixed multiplicative factor (e.g. 50). Any prewarped response points above fifty times the Nyquist rate are discarded.
An analog filter, having the form of Equation 8, matching the prewarped response is built. As seen from the prewarped response 201 shown in
The filter is built by deciding on the value of N (the number of filter coefficients in the numerator and denominator polynomial) and making an initial guess at the numerator and denominator coefficients an and bm. Then, these coefficients are iteratively adjusted until the mean-squared error between the magnitude response of the filter and the prewarped channel frequency response specified is minimized. It is important that the initial guess of the coefficient values be reasonable. If not, the L2 minimization may not converge, or may converge to a local minimum instead of the absolute minimum. If the local minimum is far away from the absolute minimum, the resulting filter design may be useless. Generally, a reasonable guess would be any guess that has no overlapping poles and zeros, or whose frequency response is close to the channel frequency response.
An appropriate guess is designed by imagining a filter design that is basically flat, within the constraints that the filter has N coefficients. From Bode plot approximations, a single, real pole or zero has a 3 dB effect at the pole location. In other words, a pole at s=j·ωp will provide attenuation of 3 dB at f=ωp/2·π. Further, a pole creates a knee in the response at the 3 dB point. The response is basically flat before this knee, and rolls off at 6 dB per octave after the knee. There is a correction to this approximation of about 1.0 dB downward an octave in either direction. Since poles and zeros work to cancel each other, the 6 dB/octave roll-off created by a pole is cancelled by a zero that is higher in frequency. In other words, a pole followed by a zero will create a response that is basically level out to the pole, dropping at 6 dB/octave after the pole and being basically level at and beyond the frequency of the zero. Thus, if a sequence of poles and zeros is provided in a certain manner, it is possible to build a basically flat response. The sequence would be either: pole, zero, zero, pole, pole, zero . . . ; or zero, pole, pole, zero, zero, pole . . . .
By examining the Bode approximation, these poles and zeros should be spaced an octave apart out to the maximum frequency of compensation for ideal flatness. Since for high order systems this might cause undo compression of multiple poles below the first frequency response point in the channel frequency response, a multiplicative factor—as opposed to exact octave spacing—can be used.
This factor may be calculated as follows: The end frequency (fend) is defined as the last frequency point in the prewarped channel frequency response. The start frequency (fstart) is defined to be somewhat higher than 0 Hz (e.g. the 8th frequency point in the prewarped channel response). The multiplicative factor (Mspace) that would fit alternating poles and zeros ideally between these frequencies is:
Mspace is 2.0 for exact octave spacing.
With this in mind, an array of frequencies is generated, and the poles and zeros are placed at these frequencies in one of the two sequences stated earlier. The array of frequencies is described by:
nε0 . . . 2·N−1 fn=fstart·(Mspace)n Equation 15
Once the poles and zeros are known, the numerator and denominator polynomials having the form of Equation 8 are calculated by polynomials multiplication.
Besides being essentially flat, this guess at the pole and zero locations has another characteristic that makes it a good initial starting point in the L2 minimization. Because all of the poles and zeros (except the first and the last) are adjacent along the negative real axis in the S-plane, they can easily pair together and move off as complex conjugate pairs during the fit of the filter to the channel response. Complex conjugate pairs of poles and zeros are very effective at resolving sharp ripples in the channel frequency response. Since complex poles and zeros must come in conjugate pairs, it is ideal to have them initially sitting next to one another on the real axis.
It is now necessary to adjust the coefficients of this initial filter guess to minimize the error between its response and the prewarped channel response. A statement of this problem is as follows:
Given a prewarped channel frequency response containing K coordinates where each coordinate is of the form (ωk, hk). Respectively, ωk and hk are the frequency in GHz and the magnitude response (unitless) of the kth data point. Find values an and bm such that the mean squared error (mse) is minimized. In other words, we minimize:
A (local) minimum is reached when the filter coefficients an and bm are such that the partial derivatives of the mean-squared error with respect to all coefficients are zero when the filter magnitude response is evaluated at these coefficient values. This is done by finding the point at which the gradient is zero. This means that the partial derivative with respect to any coefficient is zero:
The evaluation of these partial derivatives leads to:
Equation 17 and Equation 18 demonstrate that to evaluate the partial derivatives of the mean-squared error, we require analytical functions for the magnitude response and the partial derivatives with respect to the magnitude response only. In fact, most non-linear equation solvers require exactly that. The magnitude response can be evaluated as:
The partial derivative of the magnitude response with respect to each numerator coefficient is:
The partial derivative of the magnitude response with respect to each denominator coefficient is:
At this point, knowing Equation 19, Equation 25, and Equation 27, the filter can be adequately solved using any reasonable non-linear equation solver (e.g. the genfit function within MathCAD or the Levenberg-Marquardt algorithm).
Note that when solving this equation, the partial derivative with respect to coefficient b0 should not use Equation 27, but should instead be set to infinity (or a huge number). This is because the actual values a0 and b0 are arbitrary. The ratio of a0 and b0 is all that is important—this ratio sets the dc gain of the system. If one of these coefficients is not fixed, then both may grow very large or very small. By setting the partial derivative of b0 to infinity, the equation solver will not significantly modify this parameter, and a0 will remain unconstrained to set the ratio of a0 to b0.
Knowing the magnitude response function and the partial derivatives, along with an initial guess at the starting filter coefficients, the Levenberg-Marquardt algorithm is run repeatedly. See Nadim Khalil, VLSI Characterization with Technology Computer-Aided Design—PhD Thesis, Technische Universitāt Wien, 1995, the entire contents thereof being incorporated herein by reference. For each iteration, the coefficients are adjusted to reduce the mean-squared error. Levenberg-Marquardt is a balance between two common least-squares minimization methods: the methods of steepest decent, in which the small steps are made along the gradient vector of the mean-squared error at each iteration. The method of steepest decent is very slow, but guaranteed to converge to a local minimum. The other method is Newton-Gauss. Newton-Gauss convergence is very fast but can diverge. Levenberg-Marquardt measures its own performance on each iteration. Successful iterations cause it to favor Newton-Gauss on subsequent iterations. Failed iterations cause it to favor steepest-decent on subsequent iterations. The method it is favoring depends on a value (λ).
Table 2 steps through an iteration of the Levenberg-Marquardt algorithm, where g is a vector of coefficients such that:
nε0 . . . N
gn=an
gn+N+1=bn Equation 28
The mean-squared error mse0 is initialized to a value between the initial guess filter response and the prewarped channel response and λ is initialized to 1000. Iteration of this method is complete when one of the following conditions occurs:
1. A specified mse is reached;
2. λ reaches a maximum value (e.g. 1e10). Sometimes this indicates a divergence, but may also indicate a convergence;
3. λ reaches a minimum value (e.g. 1e−10) indicating the system has converged.
4. At the convergence point, λ may oscillate between two or three values;
5. At the convergence point, mse changes very slowly; or
6. A maximum number of iterations is exceeded. A maximum is set to prevent iterating indefinitely.
Once a local minimum has been reached, examination of the mean-squared error tests the performance of the minimization. If it is not low enough, the coefficients are randomly agitated to shake the system out of the local minimum and iteration continues with the hopes of converging on the absolute minimum.
At this point, both the numerator and denominator polynomial coefficients have been found for an analog filter, as described by Equation 8. This analog filter approximates the prewarped channel frequency response. The numerator and denominator are then swapped to form an analog filter that compensates the channel response.
The roots of each polynomial are found using a combination of LaGuerre's Method, followed by Bairstow's Method to refine the complex roots found by LaGuerre. See William H. Press et al., Numerical Recipes in C: the Art of Scientific Computing—2nd Edition, Cambridge University Press, 1992, pp. 369-379, the entire contents thereof being incorporated herein by reference. The refinement consists of an assumption that complex roots must come in conjugate pairs if the polynomial is real, which they are. This reference is necessary if high order polynomials are utilized.
Once the roots are found, the complex conjugate pairs are joined and the analog filter is re-formed as:
where st is the filter section. The filter is now in the form of biquad sections. The number of sections is the smallest integer greater than or equal to half the original numerator or denominator polynomial.
The filter can now be converted into a digital filter. A bilinear transformation is used to perform this conversion. Each section of the filter is the form:
To convert the filter, we make the substitution in s as shown in Equation 9. The substitution is not made algebraically, but instead using the Bilinear Coefficient Formula. See Peter J. Pupalaikis, Bilinear Transform Made Easy, ICSPAT 2000 Proceedings, CMP Publications, Inc., 2000, the entire contents thereof being incorporated herein by reference. Each coefficient of each stage of the filter section shown in Equation 30 is converted to a digital filter section:
For biquad sections, N=2 and all coefficients are divided by B0, so that B0 becomes 1.0 with no change in performance. At this point, the compensation portion of the filter element has been computed.
The magnitude response of this filter is evaluated at the frequency points used to match the channel frequency response (the points prior to prewarping), and the waveform representing this response is output through the comp output 76 of the filter builder 56 and on to the comp output pin 72 shown in the FIG. 4. In this manner, the DSO user can examine the compensation filter performance.
Since higher degrees of compliance result in more biquad sections in the compensation filter,
The design of the arbitrary response portion of the filter is now described.
The advanced setting tab 91 leads to another dialog box as shown in FIG. 16. Note that an additional control has been added under response optimization called Favor 92. A choice is provided to favor noise performance 93 or the optimization specified 94. This choice will be explained when the details of the response filter design are discussed below. Control is also provided for compensation 95. This includes the degree of compliance 96 that determines the number of biquad sections in the compensation filter portion. Also, the maximum compensation frequency 97 can be set to specify the frequency up to the desired compliance. Control over the final digital filter implementation 98 may also be provided. Two choices, IIR 99 and FIR 100, are shown. Another possible choice is a default setting (i.e. Auto, which automatically chooses the faster of the IIR or FIR filter for final implementation). Tests showed that insofar as the update rate, the IIR filter invariably outperformed the FIR filter. Also, the IIR filter length does not vary with the sample rate (as does the FIR). Therefore, for purposes of this application, the IIR filter is the preferred filter, but the user may choose the FIR filter if desired. Since the FIR is the truncated impulse response of an IIR, the filter settling amount 101 must be specified (e.g. 10e-6). The filter settling value defines the sample point in the impulse response beyond which the impulse response can be neglected. The filter settling samples 102 is a value calculated based on the specified filter setting value. For FIR implementations, it is the number of filter taps. In both the FIR and IIR implementations, it is the number of points that must appear off-screen to the left of the displayed waveform to allow for filter startup.
Recall that the generated responses consist of two portion—the desired response and the noise reducer. The noise reducer must be included not only for the elimination of noise, but also to protect against overboost in the compensation filter beyond the maximum compensation frequency (fmc). This is because the compensation filter is basically unconstrained outside the compensation frequencies. As seen in FIG. 11 and
Five possible response optimizations are now discussed, in order of complexity from lowest to highest. The trivial case is no optimization, which simply leaves this portion out of the final filter and disables the compensation portion.
Flatness optimization involves the design of a Butterworth filter as the response portion. The intent of the Butterworth filter is to supply some noise reduction (and overboost protection for the compensation filter) while affecting the pass-band as little as possible. The design is that of a traditional Butterworth filter with the pass-band and stop-band edges being specified (fp and fs), along with the maximum pass-band attenuation (Ap) and the minimum stop-band attenuation (As). See T. W. Parks, Digital Filter Design, John Wiley & Sons, Inc., 1987, pp. 159-205, the entire contents thereof being incorporated herein by reference. The resulting Butterworth filter has a calculated order Obutter. This order may be clipped, if necessary, to the specified largest order allowed Obuttermax. If the filter is clipped to Obuttermax the filter will not meet both the pass-band and stop-band specifications. In this case, the Butterworth filter is situated to provide the exact attenuation As at fs. Hence, the attenuation at fp will be greater than Ap, thus the flatness specification is violated. If the filter order is not clipped, then the filter will meet, or exceed the specifications. This is because the filter order is chosen as the smallest integer that satisfies the specifications. In this case, the user specifies a bias towards which specifications should be exceeded in the favor specification 92. If the user favors noise performance 93, the Butterworth filter represents the traditional design providing the exact attenuation Ap at fp and generally providing better attenuation than As at fs. If the response optimization 94 is favored, the Butterworth is situated to provide the exact attenuation As at fs. In this case, the attenuation at fp will be less than or equal to Ap and the filter will generally outperform the flatness specification.
The specifications for the flatness response are derived from the user specifications: fp is set to the specified band-width frequency (fbw) even though it is not actually the bandwidth, Ap is taken from the specification of δ (deviation), and As is a default value based on the hardware behavior of the particular scope channel. The value of δ is generally chosen based on the typical compensation filter performance. In other words, if the compensation filter can provide at best 0.1 dB of compliance, then a δ less than 0.1 is probably an unnecessary constraint. The value fs is calculated as Mmcf times fmc unless overridden, where Mmcf has a default value based on the particular scope channel (e.g. 1.667).
The noise performance response optimization is similar to the flatness response optimization, except that Ap is set to the specified attenuation (Abw) at the bandwidth frequency (fbw). Note that Abw defaults to 3 dB, but downward modification is allowed to guarantee the bandwidth. As and fs are ignored and the Butterworth filter is designed as the highest order Butterworth filter allowed (Obuttermax) having attenuation Abw at fbw. This provides the absolute maximum amount of attenuation for a given bandwidth. The specifications for the noise performance response are derived from the user specifications: fp is taken from the bandwidth specification (fbw), and fs is calculated as Mmcf times fmc unless overridden.
When pulse response optimization is specified, a Besselworth filter is designed to optimize the response characteristics. This filter has a combination of Bessel and Butterworth response characteristics. The Bessel filter has a linear phase response characteristic and a very slow roll-off. Most importantly, it is the low-pass filter with the best pulse response characteristics. The Butterworth filter has the sharpest roll-off, given a flat pass-band and stop-band response. The Besselworth filter is specified as follows:
1. The Bessel order is specified as Obessel;
-
- 2. The maximum possible Butterworth order is specified as Obuttermax;
3. It must have no more than Abw attenuation at fbw;
-
- 4. It must deviate from a Bessel response by no more than δ before the Bessel response drops below Aδ dB of attenuation, or alternately specified, at a frequency of fδ; and
5. It must have at least As attenuation at and beyond fs. Abw and fbw are the bandwidth specifications. δ is the deviation as described earlier. The default value of Aδ is unspecified, and overridden by a direct statement of fδ, which defaults to the maximum compensation frequency fmc. In other words, the default setting is for the response to closely comply with a Bessel response for the entire frequency range for which compensation is provided As and fs have been explained previously.
Special responses—like single-pole, double-pole, critically damped, and other industry standards—are generated exactly as in the procedure outlined in
Regardless of the response filters generated, they are converted to digital filters and are retained internally as two stages (the noise reducer and the shaper). The frequency response of each is output on the noise 74 and shape 73 pins of the component shown in FIG. 4. In all response optimization cases, the Butterworth filter represents the noise reducer portion. In the case of pulse response optimization, the Bessel portion of the Besselworth filter design represents the shape portion. In the case of special responses, these responses represent the shape portion. In the case of flatness and noise performance optimizations, there is no shape filter portion and a frequency response indicating unity gain at all frequencies is output on the shape pin 73.
To filter data, the system cascades the shaper and noise reducer digital filters to form the arbitrary response generation filter portion. The system then cascades the compensation filter portion and arbitrary response generation filter portion to form the entire compensation and response generation system. The filter coefficients are output from the filter builder 56 coef output pin 65 shown in
In summary, the interfaces to the component shown in
-
- 1. The input/output of the internal filtering element;
- 2. The specifications of the desired output response;
- 3. The specification of the channel frequency response; and
- 4. The output of the pins that describe the compensation and response that is provided by the internal filtering element after the filters have been determined by the filter builder component.
Calibration of a system utilizing the component shown in
This calibration method calibrates the signal path through the channel 120 down to the switch 125, but also includes the path 126 to the reference generator 123. This means that the path 126 from the switch 125 to the reference generator 123 and the path 127 from the switch 125 to the scope input 119 must be designed very carefully, or its frequency response characteristics must be known. Furthermore, note that the probe 117 is out of the calibration loop. In effect, the calibration procedure explained calibrates the DSO to the scope input 119 only. While it is possible to design the internal paths of the scope (126 and 127) to high precision, this is not always possible with regard to the probe.
To account for this, many scope probes carry calibration information stored in an internal memory (EEPROM) that may be read by the internal computer when the probe is inserted. Calibrated probes carry frequency response information that can be used in the channel frequency response calculation. For example, if the frequency response of the probe is known, the internal computer can simply add this frequency response to the measured frequency response prior to sending the information to the filter-building component. The resulting compensation would then account for the frequency response of the probe.
Alternatively, the user may connect the probe 117 periodically to the reference signal output 128 and perform the calibration as described, except that the input selector switch 125 should remain in the normal operating position. The resulting calibration accounts for the frequency response from the probe tip 129 through the entire channel 120. While this type of calibration cannot be completely automated, it does provide the highest degree of compensation. Furthermore, if this type of calibration is the only calibration method provided, then there is no need for the input selector switch 125 and the internal path 126 to the reference generator.
Further, the calibrated reference generator 122 need not reside in the scope. It can be supplied externally and sold as an option to the DSO. In addition, the calibration data 124—while tied to the reference generator 123—need not be collocated. The data can reside on a disk for loading into the scope. However, there should be some method of identifying the reference generator 123 and corresponding calibration data 124. Depending on the type of generator used, no direct control of the generator by the internal computer may be necessary.
The filter builder calculates four responses: the channel response, and the three components of the filter response. The three components of the filter response are the compensation, shaper, and noise reducer responses. Using these response outputs, an all-encompassing frequency response specification can be delivered to the user by simply plotting any or all of the algebraic combinations of these responses and providing this information to the user. In this manner, the user can examine any frequency response behavior desired. In addition, plots like
The ability to provide this type of scope performance data is important. For example, many standard measurements require certain measurement instrument specifications (e.g. a particular measurement might state that a scope must be used that is flat to within 0.5 dB out to 2 GHz). Not only does the invention provide the capability to satisfy such a requirement, but it also provides the ability to examine the final specifications to ensure compliance. Finally, the invention allows for recording and printout of the scope specifications along with the users measurements (as shown in FIG. 20), thus providing verification of proper measurement conditions.
While a preferred embodiment of the present invention has been described using specific terms, such description is for illustrative purposes only, and it is to be understood that changes and variations may be made without departing from the spirit or scope of the following claims.
Claims
1. A signal processing system capable of compensating for the channel response characteristics of an input waveform, comprising:
- input means for inputting input specifications for specifying the design of a filter, including: channel response characteristics defining the response characteristics of a channel used to acquire said input waveform; and user specifications for specifying a desired frequency response and a degree of compliance to the desired frequency response;
- a filter builder for generating coefficients for said filter and outputting final performance specifications, having: a compensation filter generator for generating coefficients corresponding to a compensation response on the basis of the inverse of the channel response characteristics; and a response filter generator for generating coefficients corresponding to a combination of an ideal response and a noise reduction response on the basis of the user specifications; and
- said filter for filtering said input waveform and outputting an overall response waveform having said desired frequency response, comprising: a filter coefficient cache for storing the coefficients generated by said filter builder; a compensation filter portion for filtering said input waveform using the coefficients stored in said filter coefficient cache corresponding to said compensation response; and a response filter portion having a response filter stage and a noise reduction stage for filtering the compensated waveform output from said compensation filter portion and outputting said overall response waveform; said response filter portion filtering using the coefficients stored in said filter coefficient cache corresponding to said combination of said ideal response and said noise reduction response.
2. The signal processing system according to claim 1, wherein said filter is implemented as an infinite impulse response (IIR) filter.
3. The signal processing system according to claim 1, wherein said filter is implemented as a finite impulse response (FIR) filter.
4. The signal processing system according to claim 1, wherein said channel response characteristics are predetermined based on a reference signal and the reference signal as acquired by said channel.
5. The signal processing system according to claim 1, wherein said user specifications comprise a bandwidth, a response optimization, a compensation compliance, and or a filter implementation type.
6. The signal processing system according to claim 5, wherein said response optimization is a pulse response optimization implemented using a Besselworth filter.
7. The signal processing system according to claim 5, wherein said response optimization is a noise performance optimization implemented using a Butterworth filter.
8. The signal processing system according to claim 5, wherein said response optimization is a flatness optimization implemented using a Butterworth filter.
9. The signal processing system according to claim 5, wherein said filter implementation type is finite impulse response (FIR) or infinite impulse response (IIR).
10. The signal processing system according to claim 1, wherein said user specifications default to predetermined values.
11. A signal processing element for filtering an input digital waveform, comprising:
- a filter builder for generating filter coefficients on the basis of a channel frequency response and a user response characteristics; said channel frequency response being determined on the basis of a response input and a correction input;
- an infinite impulse response (IIR) filter having an IIR input for said input digital waveform and an IIR coefficient input connected to said filter builder; said IIR filter producing an IIR filtered waveform from the input digital waveform on the basis of the filter coefficients generated by said filter builder;
- a finite impulse response (FIR) filter having an FIR input for said input digital waveform and a FIR coefficient input connected to said filter builder; said FIR filter producing a FIR filtered waveform from the input digital waveform on the basis of the filter coefficients generated by said filter builder; and
- an output selector switch for selecting either said FIR filtered waveform or said FIR IIR filtered waveform for output.
12. The signal processing element according to claim 11, wherein said filter builder detects changes in the sampling rate of said input digital waveform that require the filter coefficients to be generated.
13. The signal processing element according to claim 11, wherein said filter builder generates filter coefficients for said FIR filter or said IIR filter on the basis of said output selector switch.
14. The signal processing element according to claim 11, wherein said filter builder has channel, compensation, shaper, and noise reduction outputs for evaluating the performance of the filtering.
15. The signal processing element according to claim 11, wherein said response input is a known input response and said correction input is a measured input response as acquired by an input channel.
16. The signal processing element according to claim 11, wherein said user response characteristics are used to generate filter coefficients corresponding to an arbitrary response portion of the filter.
17. The signal processing element according to claim 11, wherein said user response characteristics comprise a bandwidth, a response optimization, a compensation compliance, and a filter implementation type.
18. The signal processing element according to claim 17, wherein said response optimization is a pulse response optimization implemented using a Besselworth filter.
19. The signal processing element according to claim 17, wherein said response optimization is a noise performance optimization implemented using a Butterworth filter.
20. The signal processing element according to claim 17, wherein said response optimization is a flatness optimization implemented using a Butterworth filter.
21. The signal processing element according to claim 17, wherein said filter implementation type is FIR or IIR.
22. The signal processing element according to claim 11, wherein said user response characteristics default to predetermined values.
23. A method of filtering an input digital waveform to compensate for the response characteristics of an acquisition channel, comprising the steps of:
- generating a compensation portion of a filter on the basis of an input channel response, using the steps of: pre-warping said input channel response; designing an analog filter emulating the pre-warped input channel response by making an initial filter guess and iterating the coefficients of said initial filter guess to minimize a mean-squared error; inverting said analog filter; and digitizing the inverted analog filter to produce said compensation portion of said filter using a bilinear transformation; and
- filtering said input digital waveform using said compensation portion of said filter.
24. The method according to claim 23, further comprising the step of generating an arbitrary response portion of said filter on the basis of an input user specifications, wherein said input digital waveform is filtered using said arbitrary response portion of said filter, thereby producing a filter digital waveform having the desired response characteristics.
25. The method according to claim 24, wherein said input user specifications comprise a bandwidth, a response optimization, a compensation compliance, and a filter implementation type.
26. The method according to claim 24, wherein said arbitrary response portion of said filter comprises a shaper and a noise reducer.
27. The method according to claim 24, wherein said input user specifications default to predetermined values.
28. The method according to claim 23, wherein said filter is implemented as an infinite impulse response (IIR) filter.
29. The method according to claim 23, wherein said filter is implemented as a finite impulse response (FIR) filter.
30. The signal processing system according to claim 23, wherein said input channel response is predetermined based on a reference signal and the reference signal as acquired by said channel.
31. The method according to claim 23, wherein said filter type is FIR or IIR.
32. The method according to claim 23, wherein the coefficients of said initial filter guess are iterated until said mean-squared error is less than a compensation compliance specified in an input user specifications.
33. A method for filtering an input waveform, comprising the steps of:
- determining a plurality of parameters for a digital filter to substantially flatten a frequency response of a channel of a digital oscilloscope across at least one frequency range based upon at least i) response characteristics of the channel and ii) a user input concerning a desired bandwidth;
- building the digital filter according to the plurality of parameters;
- receiving an input waveform on the channel;
- converting the input waveform to a digital representation;
- applying the digital filter to the digital representation; and
- generating a filtered digital waveform,
- wherein the channel has a nominal bandwidth and application of the digital filter yields an effective channel bandwidth substantially equal to the desired bandwidth.
34. The method of claim 33, wherein the parameters are further determined based upon a specified noise compensation on the channel.
35. The method of claim 33, wherein the digital filter improves a pulse response of the channel.
36. The method of claim 33, wherein the order of the digital filter is determined based on user input concerning at least one desired channel response characteristic.
37. The method of claim 33, wherein the order of the digital filter has a variable order.
38. The method of claim 33, wherein a frequency response of the digital filter comprises a substantial inverse of the channel response characteristics in a frequency range within the effective channel bandwidth.
39. The method of claim 33, further comprising changing the frequency scale of the channel frequency response.
40. The method of claim 33, wherein building the digital filter comprises converting a parameterized analog filter into a digital domain.
41. The method of claim 33, wherein determining the plurality of parameters comprises iteratively determining the parameters to minimize a mean-squared error between the channel frequency response and the filter frequency response.
42. The method of claim 33, wherein the digital filter comprises two or more cascaded digital filter elements.
43. The method of claim 33, wherein the digital filter comprises a Butterworth or Besselworth filter.
44. The method of claim 33, further comprising calibrating the channel without a probe coupled to the channel.
45. The method of claim 33, further comprising calibrating for the characteristics of a probe coupled to the channel according to parameters stored in non-volatile memory on the probe.
46. The method of claim 33, wherein determining the plurality of parameters comprises receiving user input through a graphical user interface.
47. The method of claim 33, wherein the digital oscilloscope comprises a digital sampling oscilloscope.
48. A method for filtering an input waveform, comprising the steps of:
- determining a plurality of parameters for a digital filter to flatten a frequency response of a channel of a digital oscilloscope across at least one frequency range based upon response characteristics of the channel, said channel having a nominal bandwidth and a nominal pulse response;
- building the digital filter according to the plurality of parameters, the digital filter being configured to flatten the channel frequency response and improve the pulse response of the channel;
- receiving an input waveform on the channel;
- converting the input waveform to a digital representation;
- applying the digital filter to the digital representation; and
- generating a filtered digital waveform,
- wherein application of the digital filter substantially flattens the channel frequency response across the frequency range and substantially improves the channel pulse response.
49. The method of claim 48, wherein the parameters are further determined based upon a specified noise compensation on the channel.
50. The method of claim 48, wherein the parameters are determined according to a user input concerning a desired bandwidth for the channel.
51. The method of claim 50, wherein application of the digital filter yields an effective channel bandwidth substantially equal to the desired bandwidth.
52. The method of claim 48, wherein the order of the digital filter is determined based on at least one user specified response characteristic.
53. The method of claim 48, wherein the order of the digital filter is variable.
54. The method of claim 48, wherein a frequency response of the digital filter comprises a substantial inverse of the channel response characteristics in a frequency range within the effective channel bandwidth.
55. The method of claim 48, further comprising changing the frequency scale of the channel frequency response.
56. The method of claim 48, wherein building the digital filter comprises converting a parameterized analog filter into a digital domain.
57. The method of claim 48, wherein determining the plurality of parameters comprises iteratively determining the parameters to minimize a mean-squared error between the channel frequency response and the filter frequency response.
58. The method of claim 48, wherein the digital filter comprises two or more cascaded digital filter elements.
59. The method of claim 48, wherein the digital filter comprises a Butterworth or Besselworth filter.
60. The method of claim 48, further comprising calibrating the channel without a probe coupled to the channel.
61. The method of claim 48, further comprising calibrating for the characteristics of a probe coupled to the channel according to parameters stored in non-volatile memory on the probe.
62. The method of claim 48, wherein determining the plurality of parameters comprises receiving user input through a graphical user interface.
63. The method of claim 48, wherein the digital oscilloscope comprises a digital sampling oscilloscope.
64. A digital oscilloscope comprising:
- a channel to receive an input waveform;
- a converter to convert the input waveform to a digital representation; and
- a digital filter to receive the digital representation, the digital filter having a frequency response to substantially flatten a frequency response of the channel across at least one frequency range based upon at least i) response characteristics of the channel and ii) a user input concerning a desired bandwidth;
- wherein the channel has a nominal bandwidth and application of the digital filter yields an effective channel bandwidth substantially equal to the desired bandwidth.
65. The apparatus of claim 64 wherein the digital filter is built according to a plurality of parameters that are determined to substantially flatten the response of the channel across the at least one frequency range.
66. The apparatus of claim 65, wherein the parameters are further determined based upon a specified noise compensation specification.
67. The apparatus of claim 65, wherein the plurality of parameters are further determined iteratively by minimizing mean-squared error between the channel frequency response and the digital filter frequency response.
68. The apparatus of claim 64, wherein the digital filter improves pulse response of the channel.
69. The apparatus of claim 64, wherein the digital filter has an order determined based on user input concerning at least one desired channel response characteristic.
70. The apparatus of claim 64, wherein the digital filter has a variable order.
71. The apparatus of claim 64, wherein the frequency response of the digital filter comprises a substantial inverse of the channel response characteristics in a frequency range within the effective channel bandwidth.
72. The apparatus of claim 64, wherein the digital filter is built by converting a parameterized analog filter into a digital domain.
73. The apparatus of claim 64, wherein the digital filter comprises two or more cascaded digital filter elements.
74. The apparatus of claim 64, wherein the digital filter comprises a Butterworth or Besselworth filter.
75. The apparatus of claim 64, wherein the channel comprises a probe.
76. The apparatus of claim 75, wherein the probe contains parameter information to build the digital filter.
77. The apparatus of claim 64, further comprising a graphical user interface for user input of parameters for building the digital filter.
78. The apparatus of claim 64, wherein the digital filter comprises an infinite impulse response filter.
79. The apparatus of claim 64, wherein the digital filter comprises a finite impulse response filter.
80. The apparatus of claim 64, wherein the digital oscilloscope comprises a digital sampling oscilloscope.
81. A digital oscilloscope comprising:
- a channel to receive an input waveform, the channel having a nominal bandwidth and a nominal pulse response;
- a converter to convert the input waveform to a digital representation; and
- a digital filter to receive the digital representation, the digital filter having a frequency response to substantially flatten a frequency response of the channel across at least one frequency range based upon response characteristics of the channel and to improve the pulse response of the channel;
- wherein application of the digital filter yields i) an improved pulse response of the channel and ii) a substantially flattened frequency response of the channel across the at least one frequency range.
82. The apparatus of claim 81, wherein the digital filter is built according to a plurality of parameters that are determined to substantially flatten the response of the channel across the at least one frequency range.
83. The apparatus of claim 82, wherein the parameters are further determined based upon a specified noise compensation on the channel.
84. The apparatus of claim 82, wherein the parameters are determined according to a user input concerning a desired bandwidth.
85. The apparatus of claim 84, wherein application of the digital filter yields an effective channel bandwidth substantially equal to the desired bandwidth.
86. The apparatus of claim 84, wherein a frequency response of the digital filter comprises a substantial inverse of the channel response characteristics in a frequency range within the effective channel bandwidth.
87. The apparatus of claim 82, wherein the parameters are further determined based upon a specified noise compensation on the channel and according to a user input concerning a desired bandwidth.
88. The apparatus of claim 81, further comprising a graphical user interface for user input of parameters for building the digital filter.
89. The apparatus of claim 81, wherein the digital filter comprises an infinite impulse response filter.
90. The apparatus of claim 81, wherein the digital filter comprises a finite impulse response filter.
91. The apparatus of claim 81, wherein the digital oscilloscope comprises a digital sampling oscilloscope.
4788653 | November 29, 1988 | Henderson et al. |
4875166 | October 17, 1989 | Carroll et al. |
5226059 | July 6, 1993 | Fasterling |
5239578 | August 24, 1993 | Regen et al. |
5280353 | January 18, 1994 | Baldwin |
5283483 | February 1, 1994 | Laber et al. |
5341177 | August 23, 1994 | Roy et al. |
5388062 | February 7, 1995 | Knutson |
5487023 | January 23, 1996 | Seckora |
5574639 | November 12, 1996 | Qian et al. |
5577117 | November 19, 1996 | Rabipour et al. |
5698984 | December 16, 1997 | Little et al. |
5754437 | May 19, 1998 | Blazo |
5812009 | September 22, 1998 | Matsuura |
5854756 | December 29, 1998 | Willink |
5978742 | November 2, 1999 | Pickerd |
6175849 | January 16, 2001 | Smith |
6184748 | February 6, 2001 | Rao et al. |
6219392 | April 17, 2001 | Abe |
6279021 | August 21, 2001 | Takano et al. |
6304134 | October 16, 2001 | Pavan |
6437932 | August 20, 2002 | Prater et al. |
6539318 | March 25, 2003 | Miller et al. |
6542914 | April 1, 2003 | Pupalaikis |
6581080 | June 17, 2003 | Richards |
6631175 | October 7, 2003 | Harikumar et al. |
20020075267 | June 20, 2002 | Cake et al. |
20020109496 | August 15, 2002 | Miller et al. |
20020163959 | November 7, 2002 | Haddad |
20020171408 | November 21, 2002 | Hansen |
20030002574 | January 2, 2003 | Yang et al. |
20030007583 | January 9, 2003 | Hilton et al. |
20030055855 | March 20, 2003 | Wiener |
20030118094 | June 26, 2003 | Wang et al. |
20050080831 | April 14, 2005 | Pickerd et al. |
10-282153 | October 1998 | JP |
WO 00/38384 | June 2000 | WO |
- A versatile real-time deconvolution DSP system implemented using a time domain inverse filter. P. Gaydecki, Measurement Science & Technology, vol. 12, nl, p82-8, Jan. 2001.
- Vector signal analyzers for difficult measurements on time-varying and complex modulated signals. (HP's 894xxA signal analyzers) (technical), K.J. Blue et al., Hewlett-Packard Journal, v44, n6, p. 6(11), Dec. 1993.
- Design considerations in the microwave transition analyzer, (HP 71500A) (Technical), M. Dethlefsen et al., Hewlett-Packard Journal, v43, n5, p. 63(9), Oct. 1992.
- Accuracy in interleaved ADC systems, (Analog-to-digital conversion in the HP 54720 series oscilloscopes and HP 54722A and HP 54721A plug-in modules) (includes related articles on bit limits on resolution and dithering, and on designing filters for interpolation) (technical), A. Montigo et al., Hewlett Packard Journal, v44, n5, p. 38(9), Oct. 1993.
- A multirate bank of digital bandpass filters for acoustic application. (Design of HP's 3569A real-time frequency analyzer), J.W. Waite, Hewlett-Packard Journal, v44, n2, p. 73(9), Apr. 1993.
- A 10-Hz-to-150-MHz spectrum analyzer with a digital IF section. (Includes related article on adaptive data acquisition), K.C. Carlson et al., Hewlett-Packard Journal, v42, n3, p. 44(16), Jun. 1991.
- Use DSP filter concepts in IF system design, (digital signal processing, intermediate frequency) (includes related article), Chester et al., Electronic Design, v42, n14, p. 80(7), Jul. 11, 1994.
- Focus on software that relieves DSP headaches. (digital signal processing), Leonard, Milt, Electronic Design, v35, n25, p. 113(5), Oct. 29, 1987.
- A standard data format for instrument data interchange. (HP's DSF standard for analyzers) (technical), M.L. Hall, Hewlett-Packard Journal, v44, n6, p. 85(5), Dec. 1993.
- Optimum FIR Digital Filter Implementations for Decimation, Interpolation, and Narrow-Band Filtering, Ronald E. Crochiere and Lawarence R. Rabiner, IEEE Transactions On Acoustics, Speech, and Signal Processing, vol. ASSP-23, No. 5, Oct. 1975.
- “Digital Signal Processing; Principles, Algorithms and Applications”, John G. Proakis et al., Prentice Hall, 1996, pp. 519-539.
- “Microwave Transition Analyzer: A New Instrument Architecture for Component and Signal Analysis”; David J. Ballo et al., Hewlett-Packard Journal, Oct. 1992; pp. 48-71.
- “Advantages and Disadvantages of Using DSP Filtering on Oscilloscope Waveforms”; Agilent Technologies, Inc., May 24, 2004; pp. 1-14.
- “DSP in High Performance Oscilloscopes”; John J. Pickerd, Tektronix, Inc., Mar. 2004; pp. 1-20.
- “Understanding Digital Signal Processing”; Richard G. Lyons, Prentice Hall, Professional Technical Reference, First Edition 1997 (Second Edition Mar. 2004); pp. 30-39; 346-360; 471-479; and 571-571.
- “Electronics Engineers' Handbook”; Donald G. Fink et al.; McGraw Hill Book Company, First Edition 1975; pp. 46-55.
- “HP 71500A Microwave Transition Analyzer”, Hewlett-Packard Company, Aug. 1997.
- Quick Start Guide “HP 71500A and HP 70820A, Microwave Transition Analyzer”, Hewlett-Packard, HP Part No. 70820-90047, Edition B.0.0, Nov. 1992.
- A 70mW 7th Order Filter with 7 to 50MHz Cutoff Frequency, Programmable Boost, and Group-Delay Equalization; F. Rezzi; IEEE International Solid State Circuits Conference; 1997; pp. 1-3.
- “Adaptive Signal Processing”; Bernard Widrow et al.; Prentice-Hall Signal Processing Series; 1985; pp. 1-23; 212-225.
- “DSP Improves Control of SMPS”; Colin Holland; Embedded.com; Oct. 14, 2002; pp. 1-8.
- “Gain Compression—bode Plots & Nichols Charts”; ECE 402 Controls Lab #5 Nov. 30, 2001, pp. 1-8.
- “Tunable Digital Frequency Response Equalization Filters”, P. Regalia et al.; IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. ASSP-35, No. 1, Jan. 1987; pp. 118-120.
- “Telecom Mask Testers”; LeCroy Corporation; Jan. 1999, pp. 1-8.
- LeCroy User Guide OE325; Dec. 1998; pp. 1-6.
- “Signal Analyzers, Microwave Transition Analyzer”; HP 71500A; pp. 31-34.
Type: Grant
Filed: Feb 28, 2006
Date of Patent: Jun 12, 2007
Assignee: LeCroy Corporation (Chestnut Ridge, NY)
Inventor: Peter J. Pupalaikis (Ramsey, NJ)
Primary Examiner: D. H. Malzahr
Attorney: Frommer Lawrence & Haug LLP
Application Number: 11/364,796