The present invention relates to techniques for improving sample rate, noise, and bits of resolution in electrical test and measurement instruments.
Digital instruments such as real-time oscilloscopes use an analog-to-digital converter (“digitizer”) to create a digital representation of an electrical input signal. The digitizer often limits the accuracy with which the signal can be captured. For example, the digitizer's sampling rate creates an upper limit on the signal frequencies that can be captured. The number of bits used in the digitizer limits the instrument's vertical resolution. The digitizer also adds some noise to the signal. In order to improve instrument accuracy, there is a need for improved sampling techniques that can increase the sample rate and vertical resolution of an instrument, while reducing noise.
Circulating delays have previously been used in optical instruments that do not operate in real time, such as sampling oscilloscopes. Due to their nature, sampling oscilloscopes can only process repetitive signals. Previous circulating delays were used to convert a single transient event into a repeated series of events, so that the sampling oscilloscope could process the transient event. None of the prior art, however, has combined a circulating delay with a real-time oscilloscope.
Embodiments of the present invention provide enhanced sampling and event reconstruction circuits and methods for use with digital instruments. The disclosed circulating resampling digitizer (“CRD”) receives an input signal, and creates two replicas of it. One replica is sampled while the other is sent through a delay loop. After the second replica passes through the delay loop the CRD creates two new replicas of it, one of which is sampled while the other is again sent through the delay loop. As a result, the digitizer has repeated opportunities to sample the same event, and is able to create a series of sampled events. The series of events can be processed to produce a representation of the original signal that has lower noise, increased vertical resolution, and/or an increased sample rate.
The objects, advantages, and other novel features of the present invention are apparent from the following detailed description when read in conjunction with the appended claims and attached drawings.
As signal speeds increase, there is an ever-growing need for faster and more accurate instruments. Digitizers commonly create limits on a digital instrument's sample rate and vertical resolution, and add digitizer noise. Typically, these have been improved by using a digitizer with a faster sampling rate, more bits of resolution, or lower noise. But improved digitizers cannot be easily installed in older instruments. And even the best digitizers used in new instruments will still have sampling rate, resolution, and noise limitations. Thus, there is a need for improved sampling techniques that will enhance the instrument's sampling rate and vertical resolution while decreasing digitizer noise. Ideally, these techniques could be implemented by existing instruments without expensive modifications. Accordingly, embodiments of the present invention provide circuits and methods for a circulating resampling digitizer (“CRD”) and associated signal reconstruction.
In one embodiment, the CRD receives an input signal and repeatedly loops it through a delay, sampling the signal every time it passes through the loop. This creates a stream of sampled events that may be stored in memory. Using this technique, a single transient signal may be resampled multiple times.
The sampled events may be used to create a digital representation of the original signal with lower noise, increased resolution, and/or a higher sample rate. Thereby improving some of the key performance metrics of real-time oscilloscopes. For example, averaging the events reduces the noise associated with each event while increasing the vertical resolution of the averaged result. Similarly, interleaving the events produces a result that has a higher sample rate than the individual events. These two techniques could also be combined. For example, by dividing the events into groups that are interleaved and averaging the interleaved results.
Delay block 125 applies a time delay to event 120 and sends delayed event 130 back to coupling block 110. Coupling block 110 treats delayed event 130 the same as input event 100, sending delayed event 130 to digitizer 115 while creating another replica event 120. Digitizer 115 samples delayed event 130 and concatenates it with the previous sample in memory. Thus, the CRD is able to convert a single input event 100 into a series of multiple events in memory, as represented by series 135 in
Once the desired number of events have been recorded, signal reconstruction block 140 may process series 135 in order to create a representation 145 of input event 100. Signal reconstruction block 140 may use techniques described below, such as interleaving and averaging the individual events in series 135. The resulting representation 145 may have a higher sample rate and/or lower noise than each of the events in series 135.
Decreasing the noise increases the signal-to-noise ratio, which in turn increases the vertical resolution of representation 145. The effect is similar to increasing the number of bits in the digitizer, and may be measured as an effective number of bits. For example, averaging four events together may increase the vertical resolution by one effective bit. Exemplary embodiments of coupling block 110 and delay block 125 are shown in
Divider 205 receives the output from combiner 200 and creates two replica events on its outputs. In one embodiment, divider 205 and combiner 200 are both power splitters, such as Wilkinson power splitters. When a Wilkinson power splitter is used for combiner 200 or divider 205, the magnitude of each combiner or divider output will be 3 dB lower than its input. Other suitable coupling devices, however, could also be used for the combiner and/or divider. For example, directional couplers or resistive dividers could be used instead of power splitters. In some embodiments, a switch could be used for combiner 200, as discussed below. Wilkinson power splitters may be preferred in some embodiments, since they typically have lower loss and higher isolation between their inputs and outputs than other devices. One drawback, however, is that Wilkinson power splitters do not provide isolation at low frequencies (around 1 GHz and below). For embodiments in which input event 100 contains low frequencies, one or more isolators or amplifiers could be used to provide isolation at low frequencies, as discussed below. Alternatively, resistive dividers could be used in place of Wilkinson power splitters, since resistive dividers provide isolation at low frequencies. Resistive dividers, however, typically have twice the amount of loss as Wilkinson power splitters.
It is important that only one of events 100 or 130 is active at any point in time, so that coupling block 110 can replicate the active event without distortion. If both events are active at the same time, coupling block 110 will be unable to replicate either event accurately. Thus, it is important that delay block 125 delays event 120 long enough so that event 130 is not active until event 100 is complete. Event 100 may also be disconnected from combiner 200 or divider 205 before event 130 becomes active, as discussed below.
In one embodiment, delay block 125 consists of a single variable delay line 210. In other embodiments, one or more fixed delay lines 215 may also be used. Variable delay line 210 may be adjusted to insure that successive recordings of event 130 do not have the same sample positions with respect to a reference position. The total delay in delay block 125 should be longer than event 100 to prevent distortion. Otherwise, input event 100 may still be active when event 130 reaches the coupling block.
The appropriate amount of delay may also depend on which signal reconstruction method is used. If interleaving will be performed, then the total delay time through the loop cannot be an exact multiple of the digitizer sample clock interval. Otherwise, the samples for each event will all occur at the same points, making interleaving impossible. For example, when two-way interleaving is used, delay block 125 may shift the samples for each delayed event by ½ of the input sample rate time interval. For 3- and 4-way interleaving, the delay may be adjusted by ⅓ and ¼ of the input sample rate, respectively.
In some embodiments, one or more isolators may be used to prevent signals from traveling the wrong direction through the CRD. For example,
Amplifiers may also be used to compensate for component losses in the CRD. As depicted in
The amplifier gain must be high enough to keep the amplitude of each event close to the previous event's amplitude, but low enough to maintain linear operation of the amplifier and prevent it from oscillating. Ideally, the gain will be slightly less than the total CRD system losses. To optimize the gain, one or more amplifiers and/or attenuators may be added to delay block 125 or coupling block 110.
As discussed above, it may be desirable to disconnect input event 100 from the coupling block 110. For example, when input event 100 is active for longer than the CRD delay, or does not return to its starting position (e.g., if event 100 is a step function). In these cases, disconnecting input event 100 will prevent delayed event 130 from being combined with event 100. As shown in
In an alternative embodiment, combiner 200 may comprise an input switch 600, as shown in
As long as input switch 600 connects divider 205 to event 130, divider 205 will replicate successive copies of event 130. Digitizer 115 records the successive copies f1 and appends them to series 135. Once the desired number of events have been digitized, switch 600 may reconnect divider 205 and event 100.
In some cases, residual energy from event 120 or 130 may still be present when the next input event 100 occurs. This could cause digitizer 115 incorrectly record the new event 100 combined with the previous events 120 or 130. To prevent this, a reset switch may be used to eliminate any residual energy in the delay loop.
As depicted in
As discussed above, amplifiers may be used instead of isolators, to ensure that signals do not reflect back through the CRD. As shown in
As discussed above, events in series 135 may become distorted if the delay block 125 does not provide a long enough delay. A very long delay will allow the CRD to record longer events, and therefore a greater variety of events. But when the input event is short, this extra delay adds unnecessary processing time. This could cause the CRD to miss one or more input events if it is still processing the previous event. To prevent this, delay block 125 may adjust the amount of delay so that it is appropriate for each input.
In one embodiment, variable delay line 210 may be adjusted to provide a range of different delays. Alternatively, delay block 125 may select between a number of delay lines that have different delays. As shown in
A person skilled in the art will understand that the embodiments shown in
After digitizer 115 produces event series 135, signal reconstruction block 140 may reconstruct the original input event 100 by processing series 135 using an appropriate reconstruction technique. For example,
Event separator 900 may use any known method to separate the events. For example, event separator 900 may determine the position of each event in the series using autocorrelation to identify the intervals in which each event is centered. Additional methods could also be applied to further refine the positions. Event separator 900 may then use the position information to separate each individual event into a respective output.
Once the individual events have been separated, reconstruction block 140 may use known techniques such as averaging or interleaving to obtain representation 145. One example of an averaging technique is shown in
In the averaging process depicted in
Reference position block 910 and resampling block 915 may be used to correct for any jitter between the various events. Reference position block 910 determines the amount of delay that must be applied to each event in order to align the events. For example, reference position block 910 may establish a time vs level reference position for each event and measure the time from that reference position to the sample clock position. Reference position block 910 may then align the events to the nearest integer position using a known technique.
In one embodiment, reference position block 910 aligns the events by taking a linear interpolation of samples on either side of the reference position. In another embodiment, reference position block 910 computes an FFT of the event data to determine a group delay, and uses the group delay to establish the amount of time shift for each event with respect to the reference group delay position.
Once the proper delay for each event has been determined, resampling block 915 may align the events. For example, resampling block 915 may compute a different all-pass filter for each event, based on the delay necessary to align that event. Resampling block 915 would then apply each filter to its respective event in order to align the events. This all-pass resampling could also be used in embodiments where interleaving is performed, to ensure that the time between interleaved samples is correct.
In another embodiment, resampling block 915 may align the events in the frequency domain, instead of the time domain. For example, resampling block 915 may perform a fast Fourier transform (“FFT”) on the events to convert them into the frequency domain. The resampling block would then rotate the phases of each frequency-domain event, to align the event phases. This would effectively align the events in time, once they are converted back to the time domain. Resampling block 915 could then perform an inverse FFT on the phase-aligned events to convert them to the time domain.
After passing through resampling block 915, the sample clocks for each event end up at the same point as the other events, relative to the reference position. Once the events have been resampled, averaging block 920 averages the events in order to obtain representation 145. In one embodiment, averaging may be performed by summing the individual events and dividing by the total number of events (e.g., four).
As a result of the averaging process, representation 145 will have lower noise when compared to each of the sampled events in series 135. Because the noise in each event is typically unique, it will be averaged out during the averaging process. As discussed above, representation 145 will also have a higher effective vertical resolution, due to the lower noise.
A second method for creating representation 145 may use interleaving instead of averaging, as shown in
In
The size of the filter array depends on the type of interleaving that is used. For example, a 4×4 array may be used for 4-way interleaving, while a 2×2 array may be used for 2-way interleaving. Other filter array sizes may also be used, as will be apparent to a person skilled in the art. For example, when filtering four events, two 2×2 filter arrays may be used to interleave the events before averaging the interleaved results, as discussed below.
After the events have been aligned, interleaving block 1005 interleaves the events to create a single event with a higher sample rate. The amount that the sample rate is increased depends on the type of interleaving used. For example, 2-, 3-, or 4-way interleaving increases the sample rate by 2, 3, or 4 times, respectively. The type of interleaving that can be used depends on the number of useful events in series 135. At least 2, 3, or 4 events are necessary to perform 2-, 3-, and 4-way interleaving, respectively. As discussed above, one or more amplifiers may be used to increase the number of useful events that can be recorded.
Because filter array 1000 only matches relative phases and magnitude responses between the events, the output of interleaving block 1005 may have an incorrect phase and/or magnitude. Bandwidth equalization (BWE EQ) filter 1010 may be used to correct the output of interleaving block 1005 by matching the output's phase and magnitude with a desired target response. The target response typically has a flat magnitude response and a linear phase through the pass band. As a result, BWE EQ filter 1010 outputs representation 145 with a correct phase and magnitude. As discussed above, representation 145 will also have an increased sample rate when compared to each of the sampled events in series 135.
In another embodiment, filter array 1000 may be replaced by a separate bandwidth equalization (“BWE”) filter for each event, as depicted in
Other embodiments of reconstruction block 140 may perform both interleaving and averaging. For example, by dividing the events into two or more groups, interleaving the events within each group, and averaging the interleaved results. The resulting representation will have both an increased sample rate due to interleaving and lower noise due to averaging.
Although
Because the above-described embodiments can be implemented using existing components, the disclosed solution is relatively inexpensive. Furthermore, the CRD circuitry may be added to the input of an existing instrument with little or no hardware modification. In most cases, the instrument's software can be modified to perform the signal reconstruction. Or, if the instrument is capable of outputting event series 135, then the signal reconstruction may be performed by another device such as computer, mobile device, or tablet, or a different instrument without any software modification to the first instrument. Thus, the CRD may extend the useful life of an instrument by improving its sampling rate and/or signal-to-noise ratio without a costly upgrade. The CRD may also be implemented internally in the instrument, for example as part of a newly-developed instrument. This would further improve the new instrument's performance with minimal cost.
Even when add-on boxes are used, some CRD embodiments may require modifications to the instrument. For example, modifications may be necessary to provide a trigger, or to control switches in the CRD, as depicted in
Alternatively, signal reconstruction block 140 could be implemented in a separate device, such as a standard computer, that receives event series 135 from the instrument. This could be useful if the other device is already configured to perform signal reconstruction, or is easier to modify than the instrument. For example, when oscilloscope 1300 does not support Matlab code, and when its software cannot be easily modified.
Although specific embodiments of the invention have been described for purposes of illustration, it will be apparent to those skilled in the art that various modifications may be made without departing from the spirit and scope of the invention. For example, all or part of the CRD, digitizer, and reconstruction block may be implemented in one or more of software or hardware located within the instrument or in one or more external devices. Accordingly, the invention should not be limited except as by the appended claims.