WO2012129271A1 - Finite impulse response filter for producing outputs having different phases - Google Patents

Finite impulse response filter for producing outputs having different phases Download PDF

Info

Publication number
WO2012129271A1
WO2012129271A1 PCT/US2012/029899 US2012029899W WO2012129271A1 WO 2012129271 A1 WO2012129271 A1 WO 2012129271A1 US 2012029899 W US2012029899 W US 2012029899W WO 2012129271 A1 WO2012129271 A1 WO 2012129271A1
Authority
WO
WIPO (PCT)
Prior art keywords
elements
frequency response
signal
sets
output
Prior art date
Application number
PCT/US2012/029899
Other languages
French (fr)
Inventor
A. Martin Mallinson
Hu Jing YAO
Dustin Forman
Original Assignee
Ess Technology, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US13/414,487 external-priority patent/US9287851B2/en
Application filed by Ess Technology, Inc. filed Critical Ess Technology, Inc.
Priority to CN201280022752.7A priority Critical patent/CN103765414B/en
Priority to EP12760719.0A priority patent/EP2689348A4/en
Publication of WO2012129271A1 publication Critical patent/WO2012129271A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/0223Computation saving measures; Accelerating measures
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/06Non-recursive filters

Definitions

  • the present invention relates generally to electronic filters, and more particularly to finite impulse response (FIR) filters.
  • FIR finite impulse response
  • a computer processor may have a primary clock of 66 MHz while it is desirable to operate internally at 3.3 GHz. To do so, each 66 MHz clock interval must be divided into 50 equal parts, so that the 50 parts thus correspond to a clock of 3.3 GHz.
  • FIG. 1 shows a 100 MHz sine wave signal 102.
  • Such a signal has a clock period of 10 nanoseconds (ns), so that the first clock cycle shown starts at 0 and ends at 10 ns on the horizontal axis, where another clock cycle begins.
  • signal 102 also has a zero crossing at 5 ns, since a negative (where the signal is falling) edge falls halfway between the positive (rising) edge of the first clock cycle that begins at 0, and the positive edge of the second cycle that begins at 10 ns.
  • Signal 102 will thus have zero crossings that are regularly spaced every 5 ns. Typically, each zero crossing,
  • FIG. 2 shows the result of changing the signal frequency from 100 MHz, as in Figure 1, to a signal 202 of 150 MHz, while keeping the delay at 2.5 ns, resulting in a delayed signal 204. While each signal 202 and 204 has regularly spaced zero crossings, and there are still twice as many zero crossings as with only the original signal 202, the combined zero crossings of both signals are no longer equally spaced. Thus, the delayed signal 204 cannot be used to effectively make a faster clock than that of the original signal 202, since that faster clock will be irregular.
  • a circuit 300 contains controlled delay elements Dl to D8 that are used to sub-divide the time interval of successive clock cycles. The circuit 300 operates to adjust the delay of each individual delay element such that the time interval to the end of the delay line is substantially equal to the clock period.
  • Such prior art implementations require a controller, in this case the integrator 302 in Figure 3, and the use of a control feedback loop 304.
  • the controller operates to ensure that the delay intervals are uniform, so that an even division of the clock period results. This is necessary so that no output interval is substantially longer than any other, as would be the case if the output of the delay line were reached before the next clock input arrived.
  • the feedback loop 304 has associated stability criteria and a finite time interval (the inverse of the loop bandwidth) over which it operates.
  • the delay elements Dl to D8 themselves are necessarily adjustable, and the adjustability may conflict with the need to be free from the time uncertainty of the output of the delay line relative to its input,
  • jitter i.e., the fact that the delay will not be precisely the same for each input clock edge.
  • One embodiment describes a method of designing a finite impulse response filter having a delay line containing a plurality of delay elements, the method comprising: selecting a desired frequency response for the filter;
  • Another embodiment describes an apparatus comprising: an input configured to receive an input signal; a delay line comprising a plurality of delay elements in series and connected to the input for propagating the input signal; a first plurality of buffers, each buffer in the first plurality of buffers receiving the delayed input signal after the input signal has passed through a separate one of the plurality of delay elements; a first plurality of elements having impedance values, each of the first plurality of elements connected to a separate one of the first plurality of buffers and chosen to determine their impedances so that the sum of the outputs of the first plurality of elements produces a desired frequency response to the input signal; a first output connected to the first plurality of
  • a second plurality of buffers each buffer in the second plurality of buffers receiving the delayed input signal after the input signal has passed through a separate one of the plurality of delay elements; a second plurality of elements having impedances, each of the second plurality of elements connected to a separate one of the second plurality of buffers and chosen to determine their impedances so that the sum of the outputs of the second plurality of elements produces the same frequency response to the input signal as the first plurality of elements but at a different phase; and a second output connected to the second plurality of elements to produce a second output signal having the desired frequency response, at the different phase from the first output signal.
  • a finite impulse response filter comprising: an input configured to receive an input signal; a delay line comprising a plurality of delay elements in series and connected to the input for propagating the input signal; a plurality of buffers, each buffer receiving the delayed input signal after the input signal has passed through a separate one of the plurality of delay elements; a first plurality of elements having impedance values, each of the first plurality of elements connected to a separate one of the plurality of buffers and chosen to determine their impedances so that the sum of the element outputs produces a desired frequency response to the input signal; a first output connected to the first plurality of elements to produce a first output signal having the desired frequency response; a second plurality of elements having impedance values, each of the second plurality of elements connected to a separate one of the plurality of buffers and chosen to determine their impedances so that the sum of the element outputs produces the same frequency response to the input signal as the first plurality of elements but at a different phase; and
  • Still another embodiment describes a computer readable storage medium having embodied thereon instructions for causing a computing device to execute a method for designing a finite impulse response filter having a delay line containing a plurality of delay elements, the method comprising: selecting a desired frequency response for the filter; selecting a plurality of sets of elements having impedance values, one element from each set to be coupled to the delay line after each delay element, the values of the elements selected to determine their impedances so that for each set of elements the sum of the outputs of the elements is a signal of the same frequency response as, but a different phase from, the sum of the outputs of another set of elements; and for each set of elements, providing an output connected to all of the elements in the set that is separate from the outputs connected to the other sets of elements.
  • Another embodiment discloses a computing device for simulating the response of a finite impulse response filter to a set of data elements
  • a processor configured to: select a first set of weights to be applied to the set of data elements to generate a set of first weighted data elements, such that the sum of the first weighted data elements is a first signal of the selected frequency response; select a second set of weights to be applied to the set of data elements to generate a set of second weighted data elements, such that the sum of the second weighted data elements is a second signal of the selected frequency response at a different phase from the first signal of the selected frequency
  • Figure 1 is a graph of a clock signal, showing the effect of adding a delayed clock signal in one example.
  • Figure 2 is a graph of another clock signal, showing the effect of adding a delayed clock signal as in Figure 1.
  • Figure 3 is a block diagram of one example of a clock multiplier circuit of the prior art.
  • Figure 4 is a graph of the clock signal of Figure 2, showing the desired effect of adding a dela ed clock signal.
  • Figure 5 is a block diagram of a finite impulse response (FIR) filter as known in the art.
  • FIR finite impulse response
  • Figure 6 is a block diagram of a FIR filter having two outputs.
  • Figure 7 illustrates one example of two sets of Fourier coefficients, one derived from a sine approximation formula, and one derived from a cosine formula approximation.
  • Figure 8 illustrates the output signals resulting from the Fourier coefficients of Figure 7.
  • Figure 9 illustrates one possible set of Fourier coefficients for a low pass filter and the resulting filter output.
  • Figure 10 illustrates a method of changing a low pass filter to a band pass by altering the Fourier coefficients of Figure 9 by multiplying them by a sine wave.
  • Figure 11 illustrates an example of the difference in phase between signals for which the Fourier coefficients have been multiplied by a sine wave and a cosine wave.
  • Figure 12 illustrates two sets of Fourier coefficient sine waves in which the phase has been shifted by one-quarter cycle.
  • Figure 13 illustrates two sets of Fourier coefficients created from the sine waves of Figure 12 to generate two outputs.
  • Figure 14 is a flowchart of a method of designing a FIR filter providing multiple outputs of the same frequency response and differing phases according to one embodiment.
  • the present application describes the design and implementation of a finite impulse response (FIR) filter to create a plurality of output signals, each output signal having the same frequency but at a different phase shift from the other output(s).
  • the phase shift is constant and independent of the frequency of the output signal.
  • a circuit responds to a change in input frequency more quickly, since it is not limited by loop bandwidth, and generally has less jitter, since the delay elements are fixed and not compromised by an adjustment mechanism. It is believed that such a circuit or method is thus a significant improvement over the prior art.
  • a finite impulse response (FIR) filter is a type of electronic filter with a broad range of applications. FIR filters are widely used in both digital signal processing and digital video processing, and their construction is well known in the prior art.
  • FIR filter is a transversal filter, or tapped delay line filter, as shown in Figure 5.
  • the output of such a filter is a weighted combination of voltages taken from uniformly spaced taps.
  • the filter contains a plurality (here 7 are shown) of unit delay elements Ul to U7, each of which introduces a delay of time t.
  • the filter is considered to be of the Mth order, where M-1 is the number of delay elements, so the filter of Figure 5 is an 8 th order filter.
  • each of the delay elements Ul to U7 is connected to an element having an impedance value, typically through some buffering means, such as buffers Zl to Z7; here, the elements having impedance values are shown as resistors Rl to R7.
  • some buffering means such as buffers Zl to Z7; here, the elements having impedance values are shown as resistors Rl to R7.
  • capacitors, inductors, depletion mode MOSFETs, and other devices, and any device having an impedance that does not otherwise interfere with operation of the filter may be used to provide the desired impedance values as described herein.
  • each resistor causes the signal on the respective delay element to which it is attached to contribute to the output signal in inverse proportion to the resistor value.
  • the resistor is small, the signal on the attached delay element will have a large contribution to the. output voltage, while if the resistor is large the contribution to the output will be smaller.
  • Figure 6 shows a FIR filter similar to that of Figure 5, but with a second set of resistors R8 to R14 sharing the same delay line and buffers.
  • the second set of resistors is thus able to provide a second output simultaneously with the first output produced by resistors Rl to R7 without duplicating all of the circuit elements. It will be apparent that more outputs may be added by adding additional sets of resistors, so that a common delay line and buffers may be used to make a multi-output FIR filter.
  • a FIR filter By properly selecting the resistor values in a set of resistors, a FIR filter is designed to provide an output with a desired frequency response.
  • the resistor values are typically calculated by a software program which takes the desired frequency response as an input. Since the two sets of resistors Rl to R7 and R8 to R14 in Figure 6 are independent, it is thus possible to use the circuit of Figure 6 to generate two outputs having different frequency responses to a single input signal.
  • Each buffer/resistor combination Zl/Rl to Z7/R7 acts as a multiplier and multiplies the tap input to which it is connected by a filter coefficient referred to as the tap weight WA- so that the multiplier connected to the kth tap input Sn-k produces an output Sn-k *
  • Yn Wo * Sn + Wl * Sn-I + Wl * Sn-2 + . . . + WN * Sn-N or
  • CO e _£ " 2 then the Fourier transform is a sine wave that is also Gaussian with an inverse standard deviation, and of the form: where e is Euler's number (2.718281828), ⁇ is frequency and a is a parameter that determines the center position of the peak and the width of the bell shape of the frequency response.
  • a window function is a function with .a value of zero outside some chosen interval.
  • a common type of window function used in filters is a rectangular window, which lets a signal pass through when it is within the frequency bounds of the window, and results in a value of zero outside the window.
  • the use of an appropriate window function not only limits the series of coefficients to a finite number, but can also suppress the occurrence of Gibbs phenomena, the oscillations that occur due to the behavior of a Fourier series at a discontinuity as a result of the truncation of the series.
  • the Kaiser window is generally considered to be a "near perfect" window function, and, when applied to a sine wave, is believed to result in as close to an impulse response as is possible.
  • This expression is one degenerate case of the more general expression: where j is the square root of -1 and P is an arbitrary phase factor. For any value of P, this expression is also the Fourier transform of the Dirac function.
  • P is a scalar quantity with no dimension or units, and may be of any value. It will be appreciated that P operates on the coefficient equation "modulo 2TL,” i.e., only the remainder of P after dividing by 2 ⁇ has any effect, so that it always appears as if P is between zero and 2n. It will be apparent that this is due
  • phase shift will be one complete cycle and it will appear as if there is no phase shift at all.
  • Figure 7 shows plots representing two coefficient sets calculated in this fashion.
  • a first set of a hundred coefficients is derived from the sine approximation, and a second set of a hundred coefficients is derived from the cosine approximation. While the coefficients are discrete numbers, when they are plotted in sequence against 0-100 on the x-axis, graphing software produces the smooth curves 702 for the sine approximation and 704 for the cosine approximation as shown. It can be confirmed that these two coefficient sets produce outputs having the same frequency response, since they are developed from the same sinusoidal frequency, but have a phase difference of 90 degrees.
  • a FIR filter is constructed by using a set of resistors, such as resistors Rl to R7 in Figure 5, which correspond to the coefficients.
  • resistors Rl to R7 in Figure 5 As is well known in the art, the resistor values are the in verse of the coefficient values. As is also known, where a coefficient, and thus the
  • the resistor is driven by an inverse voltage by the use of, for example, differential buffers that give an inverse of the signal on the delay line.
  • Figure 8 shows the response of the two filters constructed using resistors corresponding to the coefficients of Figure 7, i.e., again the resistor values are the inverse of the coefficient values.
  • Output signal 802 results from resistors having values that are the inverse of coefficient values contained in curve 702
  • output signal 804 results from resistors having values that are the inverse of coefficient values contained in curve 704.
  • the frequency response is identical, but the time domain response is not; rather, there is a phase shift of 90 degrees between the two outputs, since the value of P differs by 90 degrees ( ⁇ /2) in the mathematical calculation of the coefficients as above.
  • the output signals of Figure 8 may be fed to a comparator to determine the zero crossings.
  • the subsequent gating of the comparator outputs may be used to generate twice as many equally spaced zero crossings as are in the clock input.
  • PA1108US Q(i) W(i) * sin (o) * & * i + Pj)
  • W is the selected window function
  • is the desired center frequency of the filter
  • is the unit delay
  • i is the index into the coefficients
  • j goes from 0 to N-l.
  • phase difference is 90 degrees
  • any desired phase difference may be obtained by appropriate selection of the value of P.
  • a clock signal may be multiplied by a desired number by selecting the desired number of values of P evenly spaced between 0 and 2 ⁇ , i.e., 0 to 360 degrees. While it may appear to be easiest to multiply a clock signal by a number by which 360 degrees is neatly divided, this is not necessary; using the described technique, it is easily possible to multiply a clock signal by any number even if that number is not a factor of 360, such as, for example, 11 or 17.
  • the coefficients for a FIR filter do not have to be calculated from original mathematical principles as described above, but rather can be the result of an iterative method using an approximation algorithm of some type.
  • One such well known algorithm is the Parks-McClellan algorithm, often considered to be a standard method of FIR filter design.
  • Such approximation algorithms are well known and available in computer code and software that is commercially available, such as MATLAB ® from MathWorksTM.
  • Figure 9 shows a curve 902 which is again the result of smoothing a set of discrete coefficients, and the resulting frequency response 904 from those coefficients, from an iterative method for a low pass filter operating at 100 MHz and passing a signal up to 4 MHz.
  • This filter may be converted into a band pass filter by multiplying the coefficient values by a sine function. Since the filter operates at 100 MHz, it thus has a delay of 10 ns in each coefficient.
  • the initial coefficients may be determined for a low pass filter, and the frequency shift equal to the desired center frequency of a band pass filter. However, this is not required, and the coefficients may be first determined for a band pass filter which is then shifted in frequency from its center frequency to a desired center frequency of the phase-shifting FIR filter.
  • the clock signal on a particular processor chip may typically vary as much as plus or minus 20 percent or more from the nominal value, so that the expected 16 ns interval between cycles could be closer to 10 or 20 ns in a given instance. Thus, it is desirable to allow for a clock that runs from, for example, 40 MHz to 100 MHz.
  • a suitable filter might be designed by obtaining a set of coefficients from MATLAB ® , or some other iterative method, for a 30 MHz low pass filter, and then multiplying the coefficients by a sine wave of 66 MHz (the desired center frequency) to obtain a bandpass filter that allows signals between 36 MHz and 96 MHz.
  • multiple outputs of fixed phase differences may be obtained by multiplying the coefficients by sine waves having a different value of P, thus insuring the desired clock multiplier regardless of the actual frequency of the original clock signal as long as it is within the limits of the bandpass filter.
  • Ci(i) W(i) * sin ( ⁇ * ⁇ * i + Pi)
  • the coefficient sets will appear as shown in Figure 12.
  • One coefficient sine wave 1202 starts at the beginning of a cycle, i.e., at a rising zero crossing and ends after one-quarter of a cycle.
  • the other coefficient wave 1204 starts one-quarter of a cycle earlier with the last quarter of a cycle and ends at the end of a cycle, i.e., at a falling zero crossing. Reversing one wave in its entirety results in the other wave.
  • one coefficient set is the same as the other set but reflected about the Y-axis, i.e., the values are the same but one set takes the coefficient values in one order and the other set takes the same values in reverse order.
  • the resulting coefficient values may in one example be as seen in Figure 13. Since a window function is also symmetrical about the Y-axis, the similarity of values is preserved.
  • This "reflecting" method is limited to making only two filters differing in phase by n/2, or 90 degrees, but it allows for simple construction of a circuit, as the construction of two identical sets of components is easier than arbitrary sets of elements.
  • the two identical sets of elements that make up the two FIR filters generally sets of resistors, in one instance are connected to the delay line in one order, and in the second instance are connected to the delay line in reverse order.
  • resistors Rl through R7 will have values corresponding to a set of coefficients, while resistors R8 to R14 will
  • Figure 14 is a flowchart of one embodiment of a method of designing a FIR filter as described herein. First, a desired frequency response is selected at step 1401.
  • step 1402 a plurality of sets of Fourier coefficients are determined, one for each desired output, each set of coefficients resulting in the same frequency response as the other sets, but each resulting in a different desired phase of the output signal. As above, any arbitrary number of outputs may be selected.
  • step 1403 sets of resistor values are determined, each set of resistor values corresponding to one of the sets of Fourier coefficients, and each resistor value in a set being the inverse of a different coefficient in the corresponding coefficient set.
  • Each set of resistors is attached to the delay line at step 1404, and a separate output connection created for each set of resistors at step 1405 so that each output of different phase may be separately accessed.
  • the sets of Fourier coefficients may be determined in various ways at step 1402.
  • the sets of coefficients are each calculated mathematically by including a different phase constant in the calculation of each set.
  • one set of coefficients is determined by an iterative method, and then that set of coefficients is multiplied by one or more sine waves of different phases to obtain the other sets of coefficients.
  • the iterative method may be performed by software such as, in one
  • the length of the filter is constrained so that the coefficient sinusoidal wave ends on a quarter-wave boundary, a first set of coefficients is determined, and a second set of coefficients is derived by reversing the order of the first set of coefficients.
  • the elements providing the desired impedance values need not be resistors, but may be, for example, capacitors, inductors or FETs connected as pass devices, depletion mode MOSFETs, or other devices, with the values of the elements (such as capacitance, inductance, etc.) selected to provide the desired impedance values.
  • the elements such as capacitance, inductance, etc.
  • PA1109US filed on even date herewith, entitled “System and Method for Series and Parallel Combinations of Electrical Elements,” the contents of which are incorporated herein.
  • resistors attached to the delay line at different points may be coupled to an output through an intermediate node rather than directly connected to the output, again possibly for the easier or more cost effective obtaining of the desired impedance values by sharing. How to calculate the effective resistance value from individual resistors connected in series and parallel in these situations is well understood by those of skill in the art.
  • each plurality of sets of resistors having a common frequency response different from another plurality of sets of resistors, but the outputs of each set of resistors in a plurality of sets differing in phase from other sets of resistors in that plurality of sets.
  • the data may be an analog signal.
  • the analog signal is then connected to the various sets of resistors or other impedance - devices constructed as described herein, and the resulting output signals are a set of filtered analog signals which still maintain a precise phase difference.
  • the outputs thus represent a series of time-delayed versions of the filtered input . signal, and the circuit is an analog delay generator, although the delay line is processing a digital signal.
  • the input may be analog data that is represented as a pulse width modulation (PWM) or sigma delta (SD) stream of digital data, and thus has a frequency component of the continuous analog signal present in the digital data stream.
  • PWM pulse width modulation
  • SD sigma delta
  • the filter may be designed to select the analog signal that is present in the data stream and derive various phase shifted versions of that analog signal.
  • Class-D audio uses PWM to impress the continuous audio signal onto the digital data stream.
  • the set of data elements thus implicitly includes the delay times of the delay elements of a particular delay line in a FIR filter.
  • a frequency response of a FIR filter is selected by a user, for example, by means of an input.
  • Such software engines may be used to implement the methods described herein.
  • two or more sets of weights are selected and applied to the set of data elements.
  • Each set of weights is selected so that the sum of the weighted data elements is a signal of the selected frequency response; however, the sum of the weighted data elements using one set of weights has a different ⁇ phase from the sum of the weighted data elements using another set of weights.
  • each set of weights is thus equivalent to the impedance values that would be used to obtain a selected output signal in an actual FIR filter, so that weighting the data elements is equivalent to the weighting of the delayed input signal in the actual FER filter.
  • a clock multiplier may start with a clock of 10 MHz, which is comparatively simple to make, to effectively obtain a 1 GHz clock without the use of, for example, PLL's.
  • the described method and apparatus can be implemented in numerous ways, including as a process, an apparatus, or a system.
  • the methods described herein may be implemented by program instructions for instructing a processor to perform such methods, and such instructions recorded on a computer readable storage medium such as a hard disk drive, floppy disk, o tical disc such as a compact disc (CD) or digital versatile disc (DVD), flash memory, etc.
  • the methods may also be incorporated into hard-wired logic if desired. It should be noted that the order of the steps of the methods described herein may be altered and still be within the scope of the disclosure.

Abstract

A method and system for designing and implementing a finite impulse response (FUR) filter to create a plurality of output signals, each output signal having the same frequency but at a different phase shift from the other output(s), is described. Values are determined for the resistors, or other elements having impedance values, in a FIR filter having a plurality of outputs, such that each output has the same frequency response but a different phase than the other output(s). This is accomplished by the inclusion of a phase factor in the time domain calculation of the resistor values that does not change the response in the frequency domain. The phase sliift is constant and independent of the frequency of the output signal.

Description

Finite Impulse Response Filter for Producing
Outputs Having Different Phases
[001] This application claims priority from Provisional Application No.
61/466,420, filed March 22, 2011, which is incorporated by reference in its entirety.
Field of the Invention
[002] The present invention relates generally to electronic filters, and more particularly to finite impulse response (FIR) filters.
Background of the Invention
[003] There are many situations in circuit design in which it is desirable to generate clock intervals in a system that occur at a higher rate than the system clock. For example, a computer processor may have a primary clock of 66 MHz while it is desirable to operate internally at 3.3 GHz. To do so, each 66 MHz clock interval must be divided into 50 equal parts, so that the 50 parts thus correspond to a clock of 3.3 GHz.
[004] One way to construct a simple "clock doubler" is to delay a clock signal by one-quarter of the clock period. Figure 1 shows a 100 MHz sine wave signal 102. Such a signal has a clock period of 10 nanoseconds (ns), so that the first clock cycle shown starts at 0 and ends at 10 ns on the horizontal axis, where another clock cycle begins. As is easily seen, signal 102 also has a zero crossing at 5 ns, since a negative (where the signal is falling) edge falls halfway between the positive (rising) edge of the first clock cycle that begins at 0, and the positive edge of the second cycle that begins at 10 ns. Signal 102 will thus have zero crossings that are regularly spaced every 5 ns. Typically, each zero crossing,
- 1 - PA1108US whether from a positive or negative edge, may be used as a trigger for circuit components.
[005] As also shown on Figure 1, if the 100 MHz signal 102 is delayed by 2.5 ns, and the delayed signal 104 overlaid on the original signal, there will be additional zero crossings halfway in between the zero crossings of the original signal, i.e., regularly spaced every 2.5 ns, since every zero crossing in the original signal is replicated 2.5 ns later in the delayed signal. Thus, the original signal is in effect doubled, as there are now regularly spaced zero crossings every 2.5 ns, rather than only every 5 ns as with only the original signal.
[006] However, while it is well known in the prior art how to make such a fixed time delay, a delay of a given period only results in the additional zero crossings being at equal intervals for a clock signal of a single frequency, i.e., a signal in which the delay is one-quarter of the clock period. If the frequency is changed but the delay remains constant, the zero crossings will not be at regular intervals.
[007] This may be seen in Figure 2, which shows the result of changing the signal frequency from 100 MHz, as in Figure 1, to a signal 202 of 150 MHz, while keeping the delay at 2.5 ns, resulting in a delayed signal 204. While each signal 202 and 204 has regularly spaced zero crossings, and there are still twice as many zero crossings as with only the original signal 202, the combined zero crossings of both signals are no longer equally spaced. Thus, the delayed signal 204 cannot be used to effectively make a faster clock than that of the original signal 202, since that faster clock will be irregular.
[008] This shows that a fixed time delay will only result in a regular doubling of a clock frequency if the time delay corresponds to one-quarter of the clock period. The failure to obtain equal spacing in the zero crossings in Figure 2 is
- 2 - PA1108US due to the fact that the overlaid signal is delayed by a fixed time, which does not correspond to one-quarter of the clock period of the 150 MHz signal, but rather only to one-quarter of the clock period of the 100 MHz signal of Figure 1. Thus, a different time delay must be selected for each separate frequency.
[009] There are more complicated circuits which will sub-divide a time interval, such as the example above in which a 66 MHz clock interval must be divided into 50 equal parts to obtain a clock of 3.3 GHz. Such circuits are well known, and are commonly referred to as "clock multipliers," or often "delay locked' loops" or "phase locked loops." A typical example of such a prior art circuit is shown in Figure 3. A circuit 300 contains controlled delay elements Dl to D8 that are used to sub-divide the time interval of successive clock cycles. The circuit 300 operates to adjust the delay of each individual delay element such that the time interval to the end of the delay line is substantially equal to the clock period.
[0010] Such prior art implementations require a controller, in this case the integrator 302 in Figure 3, and the use of a control feedback loop 304. The controller operates to ensure that the delay intervals are uniform, so that an even division of the clock period results. This is necessary so that no output interval is substantially longer than any other, as would be the case if the output of the delay line were reached before the next clock input arrived.
[0011] The feedback loop 304 has associated stability criteria and a finite time interval (the inverse of the loop bandwidth) over which it operates. In order to be usable with different frequencies, the delay elements Dl to D8 themselves are necessarily adjustable, and the adjustability may conflict with the need to be free from the time uncertainty of the output of the delay line relative to its input,
- 3 - PA1108US known as "jitter," i.e., the fact that the delay will not be precisely the same for each input clock edge.
[0012] Other prior art methods of doubling a clock have been tried, for example, sending a clock signal down a delay line, and tapping the signal at a point on the delay line which corresponds to half a clock cycle. One of skill in the art will appreciate that in such a case it is difficult to find the appropriate spot on the line at which to tap the signal, i.e., the point at which the delay will exactly match half the clock cycle.
[0013] For these and other reasons, prior art methods of providing high speed clock are not entirely satisfactory and result in design compromises and non- optimal solutions.
- 4 - PA1108U5 Summary of the Invention
[0014] Systems and methods are disclosed for using a finite impulse response (FIR) filter to create a plurality of output signals, each output signal, having the same frequency response but at a different phase from the other output(s).
[0015] One embodiment describes a method of designing a finite impulse response filter having a delay line containing a plurality of delay elements, the method comprising: selecting a desired frequency response for the filter;
selecting a plurality of sets of elements having impedances, one element from each set to be coupled to the delay line after each delay element, the values of the elements selected to determine their impedances so that for each set of elements the sum of the outputs of the elements is a signal of the same frequency response as, but a different phase from, the sum of the outputs of another set of elements; and, for each set of elements, providing an output connected to all of the elements in the set that is separate from the outputs connected to the other sets of elements.
[0016] Another embodiment describes an apparatus comprising: an input configured to receive an input signal; a delay line comprising a plurality of delay elements in series and connected to the input for propagating the input signal; a first plurality of buffers, each buffer in the first plurality of buffers receiving the delayed input signal after the input signal has passed through a separate one of the plurality of delay elements; a first plurality of elements having impedance values, each of the first plurality of elements connected to a separate one of the first plurality of buffers and chosen to determine their impedances so that the sum of the outputs of the first plurality of elements produces a desired frequency response to the input signal; a first output connected to the first plurality of
- 5 - PA1108US resistor values to produce a first output signal having the desired frequency response; a second plurality of buffers, each buffer in the second plurality of buffers receiving the delayed input signal after the input signal has passed through a separate one of the plurality of delay elements; a second plurality of elements having impedances, each of the second plurality of elements connected to a separate one of the second plurality of buffers and chosen to determine their impedances so that the sum of the outputs of the second plurality of elements produces the same frequency response to the input signal as the first plurality of elements but at a different phase; and a second output connected to the second plurality of elements to produce a second output signal having the desired frequency response, at the different phase from the first output signal.
[0017] In another embodiment, a finite impulse response filter is described, comprising: an input configured to receive an input signal; a delay line comprising a plurality of delay elements in series and connected to the input for propagating the input signal; a plurality of buffers, each buffer receiving the delayed input signal after the input signal has passed through a separate one of the plurality of delay elements; a first plurality of elements having impedance values, each of the first plurality of elements connected to a separate one of the plurality of buffers and chosen to determine their impedances so that the sum of the element outputs produces a desired frequency response to the input signal; a first output connected to the first plurality of elements to produce a first output signal having the desired frequency response; a second plurality of elements having impedance values, each of the second plurality of elements connected to a separate one of the plurality of buffers and chosen to determine their impedances so that the sum of the element outputs produces the same frequency response to the input signal as the first plurality of elements but at a different phase; and a
- 6 - PA1108US second output connected to the second plurality of elements to produce a second output signal having the desired frequency response, at a different phase from the first output signal.
[0018] Still another embodiment describes a computer readable storage medium having embodied thereon instructions for causing a computing device to execute a method for designing a finite impulse response filter having a delay line containing a plurality of delay elements, the method comprising: selecting a desired frequency response for the filter; selecting a plurality of sets of elements having impedance values, one element from each set to be coupled to the delay line after each delay element, the values of the elements selected to determine their impedances so that for each set of elements the sum of the outputs of the elements is a signal of the same frequency response as, but a different phase from, the sum of the outputs of another set of elements; and for each set of elements, providing an output connected to all of the elements in the set that is separate from the outputs connected to the other sets of elements.
[0019] Another embodiment discloses a computing device for simulating the response of a finite impulse response filter to a set of data elements
representative of an input signal at successive points in time, comprising: an input for selecting a frequency response of the finite impulse response filter; a processor configured to: select a first set of weights to be applied to the set of data elements to generate a set of first weighted data elements, such that the sum of the first weighted data elements is a first signal of the selected frequency response; select a second set of weights to be applied to the set of data elements to generate a set of second weighted data elements, such that the sum of the second weighted data elements is a second signal of the selected frequency response at a different phase from the first signal of the selected frequency
- 7 - PA1108US response; a first output for providing the first output signal of the selected frequency response; arid a second output for providing the second output signal of the selected frequency response.
- 8 - PA1108US Brief Description of the Drawings
[0021] Figure 1 is a graph of a clock signal, showing the effect of adding a delayed clock signal in one example.
[0022] Figure 2 is a graph of another clock signal, showing the effect of adding a delayed clock signal as in Figure 1.
[0023] Figure 3 is a block diagram of one example of a clock multiplier circuit of the prior art.
[0024] Figure 4 is a graph of the clock signal of Figure 2, showing the desired effect of adding a dela ed clock signal.
[0025] Figure 5 is a block diagram of a finite impulse response (FIR) filter as known in the art.
[0026] Figure 6 is a block diagram of a FIR filter having two outputs.
[0027] Figure 7 illustrates one example of two sets of Fourier coefficients, one derived from a sine approximation formula, and one derived from a cosine formula approximation.
[0028] Figure 8 illustrates the output signals resulting from the Fourier coefficients of Figure 7.
[0029] Figure 9 illustrates one possible set of Fourier coefficients for a low pass filter and the resulting filter output.
[0030] Figure 10 illustrates a method of changing a low pass filter to a band pass by altering the Fourier coefficients of Figure 9 by multiplying them by a sine wave.
- 9 - FA1108US [0031] Figure 11 illustrates an example of the difference in phase between signals for which the Fourier coefficients have been multiplied by a sine wave and a cosine wave.
[0032] Figure 12 illustrates two sets of Fourier coefficient sine waves in which the phase has been shifted by one-quarter cycle.
[0033] Figure 13 illustrates two sets of Fourier coefficients created from the sine waves of Figure 12 to generate two outputs.
[0034] Figure 14 is a flowchart of a method of designing a FIR filter providing multiple outputs of the same frequency response and differing phases according to one embodiment.
- 10 - PA1108US Detailed Description of the Invention
[0035] The present application describes the design and implementation of a finite impulse response (FIR) filter to create a plurality of output signals, each output signal having the same frequency but at a different phase shift from the other output(s). The phase shift is constant and independent of the frequency of the output signal.
[0036] It has been found that a FIR filter with multiple outputs of the same frequency and differing phases may be created by selecting different impedance values for each output as explained herein. The ability to maintain a constant phase difference regardless of frequency can be of significant use in situations in which the known technique of maintaining a fixed delay time described above fails to accomplish a desired result. While it is expected that one use of the described apparatus and method will be to generate a number of outputs of equally spaced phase shifts, such equal spacing is not necessary, and any desired set of phase shifts may be generated as will be described.
[0037] Returning to the example of Figures 1 and 2, as above a fixed time delay will only result in a regular doubling of a clock frequency if the time delay corresponds to one-quarter of the clock period. In the case of the 150 MHz signal of Figure 2, the 2.5 ns delay is not one-quarter of the clock period, and the zero crossings are not evenly spaced. However, if the second signal can be delayed by a constant phase shift of 90 degrees, regardless of frequency, then a doubling of any clock can be reliably obtained. In Figure 4, such a 90 degree phase shift results in the signals 202 and 404 of Figure 4, in which a 150 MHz clock 202, as seen in Figure 2, has been effectively doubled, with zero crossings that are now
- 11 - PA1108US uniform, rather than the non-uniform zero crossings of Figure 2 created by a fixed delay that does not properly correspond to the frequency.
[0038] Further, when such a fixed phase shift delay regardless of output frequency is obtained without the need for a control loop and an adjustable delay line, a circuit responds to a change in input frequency more quickly, since it is not limited by loop bandwidth, and generally has less jitter, since the delay elements are fixed and not compromised by an adjustment mechanism. It is believed that such a circuit or method is thus a significant improvement over the prior art.
[0039] A finite impulse response (FIR) filter is a type of electronic filter with a broad range of applications. FIR filters are widely used in both digital signal processing and digital video processing, and their construction is well known in the prior art.
[0040] One type of FIR filter is a transversal filter, or tapped delay line filter, as shown in Figure 5. The output of such a filter is a weighted combination of voltages taken from uniformly spaced taps. The filter contains a plurality (here 7 are shown) of unit delay elements Ul to U7, each of which introduces a delay of time t. The filter is considered to be of the Mth order, where M-1 is the number of delay elements, so the filter of Figure 5 is an 8th order filter.
[0041] The output of each of the delay elements Ul to U7 is connected to an element having an impedance value, typically through some buffering means, such as buffers Zl to Z7; here, the elements having impedance values are shown as resistors Rl to R7. One of skill in the art will recognize that while this example and the following discussion use resistors to indicate the impedance values for purposes of illustration, other circuit elements also have impedance values, for
- 12 - PA1108US example, capacitors, inductors, depletion mode MOSFETs, and other devices, and any device having an impedance that does not otherwise interfere with operation of the filter may be used to provide the desired impedance values as described herein.
[0042] The resistors all share a common output point. As an input signal progresses through the delay elements, each resistor causes the signal on the respective delay element to which it is attached to contribute to the output signal in inverse proportion to the resistor value. Thus, if the resistor is small, the signal on the attached delay element will have a large contribution to the. output voltage, while if the resistor is large the contribution to the output will be smaller.
[0043] Figure 6 shows a FIR filter similar to that of Figure 5, but with a second set of resistors R8 to R14 sharing the same delay line and buffers. The second set of resistors is thus able to provide a second output simultaneously with the first output produced by resistors Rl to R7 without duplicating all of the circuit elements. It will be apparent that more outputs may be added by adding additional sets of resistors, so that a common delay line and buffers may be used to make a multi-output FIR filter.
[0044] By properly selecting the resistor values in a set of resistors, a FIR filter is designed to provide an output with a desired frequency response. The resistor values are typically calculated by a software program which takes the desired frequency response as an input. Since the two sets of resistors Rl to R7 and R8 to R14 in Figure 6 are independent, it is thus possible to use the circuit of Figure 6 to generate two outputs having different frequency responses to a single input signal.
- 13 - PA110SUS [0045] It is also possible to use the circuit of Figure 6 to generate two outputs that have the same frequency response. This would normally be considered redundant, but the present invention utilizes the fact that it is possible to generate two outputs having the same frequency response, but also having a different time domain response, i.e., that differ in phase as the signals in Figures 1, 2 and 4 differ in phase. In a filter designed as described herein, the phase difference is constant and independent of the output frequency, and thus independent of the input frequency as well.
[0046] It is well known that the mathematical basis of a FIR filter is the mathematics of Fourier transforms, and is characterized by a convolution of the successive values of the input signal with a set of values referred to as the impulse response of the filter. The output of the filter is a weighted sum of the current input value and a finite number of previous values of the input. When a delay element operates on an input Sn, the current output is Sn-v i.e. the input one delay period before. Thus, Sn-k is the filter input at a time To plus (n-k)*t, which is also the output of the kth delay element at time To plus n*t. Each buffer/resistor combination Zl/Rl to Z7/R7 acts as a multiplier and multiplies the tap input to which it is connected by a filter coefficient referred to as the tap weight WA- so that the multiplier connected to the kth tap input Sn-k produces an output Sn-k *
[0047] The outputs of the resistors Rl to R7 are summed to produce the filter output. For an Nth order filter, this overall output Yn is given by the formula:
Yn = Wo * Sn + Wl * Sn-I + Wl * Sn-2 + . . . + WN * Sn-N or
- 14 - PA1108US N
fc=0
[0048] These values of the impulse response, known as coefficients in the coefficient domain, are provided by the resistors in Figures 5 and 6; they approximate the Fourier transform of the desired frequency domain response.
[0049] For example, as will be understood by one of skill in the art, if the impulse response is Gaussian, such that the coefficient values C(x) of the impulse response are in the form:
CO = e"2 then the Fourier transform is a sine wave that is also Gaussian with an inverse standard deviation, and of the form:
Figure imgf000017_0001
where e is Euler's number (2.718281828), ω is frequency and a is a parameter that determines the center position of the peak and the width of the bell shape of the frequency response.
[0050] It can also be seen by one of skill in the art that the standard deviation of the Gaussian response in tlie coefficient and frequency domains are inversely related, i.e., the parameter a multiplies x2 in the coefficient domain but divides ω1 in the frequency domain. This leads to tlie observation that as the desired frequency domain result tends to a single point at zero frequency (a Gaussian function of zero standard deviation, known as the Dirac Delta Function), the coefficients extend to an infinite series of unit values, i.e., all l's.
- 15 - PA110SUS [0051] It is also a well-known property of the Fourier transform that a frequency shift corresponds to a multiplication of the coefficient values by eitJX, i.e., by a complex sinusoidal term. Consequently, the coefficient values representing a single non-zero value in the frequency domain are of the form eh"x, i.e., they are sinusoidal and extend to irifinity. Thus, in order to construct a perfect filter, an infinite sequence of coefficient values, i.e., delay elements and resistors, are required.
[0052] Since any practical implementation can of course not be of infinite extent, and generally must be quantized in time and amplitude as well, a window function, or tapering function, is used. As is well known in the art, a window function is a function with .a value of zero outside some chosen interval. A common type of window function used in filters is a rectangular window, which lets a signal pass through when it is within the frequency bounds of the window, and results in a value of zero outside the window. The use of an appropriate window function not only limits the series of coefficients to a finite number, but can also suppress the occurrence of Gibbs phenomena, the oscillations that occur due to the behavior of a Fourier series at a discontinuity as a result of the truncation of the series.
[0053] One particular window function that is well known is a Kaiser window. The Kaiser window is generally considered to be a "near perfect" window function, and, when applied to a sine wave, is believed to result in as close to an impulse response as is possible. In one embodiment, the Kaiser window may be parameterized by a = 3. If the Kaiser window function is represented by
Figure imgf000018_0001
then a reasonably sufficient approximation of the Fourier transform coefficients for the Dirac function,, indexed by i, is given by:
- 16 - PA1108US C(i) = x-a(i) * sin (ω * b * i) where ω is the non-zero radian frequency in the frequency domain plot, and δ is the unit delay in the delay line.
[0054] This expression is one degenerate case of the more general expression:
Figure imgf000019_0001
where j is the square root of -1 and P is an arbitrary phase factor. For any value of P, this expression is also the Fourier transform of the Dirac function.
[0055] One of skill in the art or sufficiently versed in mathematics will appreciate that the frequency domain shape approximating the delta function from this windowed approximation is identical for any value of P, although the resulting phase shift of the signal will be different. Thus, if two filters are implemented with coefficients calculated using the same values for the parameters, except for the value of P, they will have identical frequency responses but different phases.
[0056] In fact, if the coefficients for two such filters are calculated using P = 0 for one, and P = π/2 for the other, the two output signals will differ in phase by 90 degrees. This phase difference will be due only to the value of P, and does not depend on the value of ω or &. It is this fact that allows for the creation of specific phase shifts in the output.
[0057] P is a scalar quantity with no dimension or units, and may be of any value. It will be appreciated that P operates on the coefficient equation "modulo 2TL," i.e., only the remainder of P after dividing by 2π has any effect, so that it always appears as if P is between zero and 2n. It will be apparent that this is due
- 17 - PA110SUS to the fact that if P is equal to In, then the phase shift will be one complete cycle and it will appear as if there is no phase shift at all.
[0058] It should be noted that while this example uses the Kaiser window, there are many possible window functions; for example, another well known window function is the Blackman window. One of skill in the art will appreciate the differences between window functions, and be able to select a suitable window function for a desired application.
[0059] As above, one approximation of the Fourier transform coefficients for the Dirac function is given by:
C(i) = Ka=3(i) * sin (ω * b * i)
Another approximation of the coefficients, having the same frequency response but a phase that differs by 90 degrees, is given by:
C(i) = Ke-3(i) * cos (ω * δ * i)
[0060] In one example, Figure 7 shows plots representing two coefficient sets calculated in this fashion. A first set of a hundred coefficients is derived from the sine approximation, and a second set of a hundred coefficients is derived from the cosine approximation. While the coefficients are discrete numbers, when they are plotted in sequence against 0-100 on the x-axis, graphing software produces the smooth curves 702 for the sine approximation and 704 for the cosine approximation as shown. It can be confirmed that these two coefficient sets produce outputs having the same frequency response, since they are developed from the same sinusoidal frequency, but have a phase difference of 90 degrees.
- 18 - PA1108US [0061] Once the coefficients for a particular frequency response and different phase shifts have been calculated/ a FIR filter is constructed by using a set of resistors, such as resistors Rl to R7 in Figure 5, which correspond to the coefficients. As is well known in the art, the resistor values are the in verse of the coefficient values. As is also known, where a coefficient, and thus the
corresponding resistor value, is negative, the resistor is driven by an inverse voltage by the use of, for example, differential buffers that give an inverse of the signal on the delay line.
[0062] Figure 8 shows the response of the two filters constructed using resistors corresponding to the coefficients of Figure 7, i.e., again the resistor values are the inverse of the coefficient values. Output signal 802 results from resistors having values that are the inverse of coefficient values contained in curve 702, and output signal 804 results from resistors having values that are the inverse of coefficient values contained in curve 704. As above, the frequency response is identical, but the time domain response is not; rather, there is a phase shift of 90 degrees between the two outputs, since the value of P differs by 90 degrees (π/2) in the mathematical calculation of the coefficients as above.
[0063] In the example of a clock multiplier above, the output signals of Figure 8 may be fed to a comparator to determine the zero crossings. As is known in the art, the subsequent gating of the comparator outputs may be used to generate twice as many equally spaced zero crossings as are in the clock input.
[0064] In this example there are two outputs; however, the described technique may be used to generate any arbitrary number N of differing phases by using an appropriate number of values of P. This is done by calculating a set of coefficients Cj for each separate output according to the equation:
- 19 - PA1108US Q(i) = W(i) * sin (o) * & * i + Pj) where W is the selected window function, ω is the desired center frequency of the filter, δ is the the unit delay, i is the index into the coefficients, and j goes from 0 to N-l.
[0065] Further, while in this example the phase difference is 90 degrees, any desired phase difference may be obtained by appropriate selection of the value of P. In the case of a clock multiplier, a clock signal may be multiplied by a desired number by selecting the desired number of values of P evenly spaced between 0 and 2ΤΪ, i.e., 0 to 360 degrees. While it may appear to be easiest to multiply a clock signal by a number by which 360 degrees is neatly divided, this is not necessary; using the described technique, it is easily possible to multiply a clock signal by any number even if that number is not a factor of 360, such as, for example, 11 or 17.
[0066] In practice, the coefficients for a FIR filter do not have to be calculated from original mathematical principles as described above, but rather can be the result of an iterative method using an approximation algorithm of some type. One such well known algorithm is the Parks-McClellan algorithm, often considered to be a standard method of FIR filter design. Such approximation algorithms are well known and available in computer code and software that is commercially available, such as MATLAB® from MathWorks™.
[0067] Such iterative methods create only a single FIR filter, rather than a set of filters having the desired fixed phase relationships. Further, software such as MATLAB® does not allow for the entry of a phase factor P. Thus, in order to obtain the desired multiple outputs of different phase it is necessary to convert
- 20 - PA1108U5 the single filter output of an iterative method into multiple filters having identical frequency responses and different phase outputs.
[0068] One way of accomplishing this relies on the property of Fourier transforms that a frequency shift in the frequency domain corresponds to multiplication by a sine wave in the coefficient domain. It has been observed that the actual phase of the sine wave used to perform this frequency shift makes no difference to the frequency domain result, but it does affect the time domain result.
[0069] As one example, Figure 9 shows a curve 902 which is again the result of smoothing a set of discrete coefficients, and the resulting frequency response 904 from those coefficients, from an iterative method for a low pass filter operating at 100 MHz and passing a signal up to 4 MHz. This filter may be converted into a band pass filter by multiplying the coefficient values by a sine function. Since the filter operates at 100 MHz, it thus has a delay of 10 ns in each coefficient.
[0070] Suppose the coefficients of Figure 9 are to be multiplied by a sine wave of 20 MHz. Such a sine wave is represented as sin (2ττ * 20 MHz * 10 ns * i), or simply sin (1.2566 * i). Multiplying the coefficients C(i) by this results in
C'(i) = C(i) * sin (1.2566 * i) and in the curve 1002 containing the resulting coefficients and the response 1004 from those coefficients shown in Figure 10. (As shown in Figure 10, the coefficients are also multiplied by 2 to compensate for an amplitude shift and keep the rejection level the same on Figures 9 and 10, although this is not strictly necessary.) It will be seen in Figure 10 that, as expected, the multiplication by a
- 21 - PA110SUS sine wave in the coefficient domain has resulted in a 20 MHz shift in response in the frequency domain as described above.
[0071] As will be expected, multiplying the coefficients by the cosine has the same effect in the frequency domain as multiplying by the sine. However, in the time domain, there is a phase difference between the sine and cosine shifted filters. Figure 11 shows the output of tlie sine and cosine shifted filters, both the raw or unfiltered output signals 1102 (sine filter) and 1104 (cosine filter), and the filtered or smoothed output signals 1106 (sine filter) and 1108 (cosine filter). The phase difference is clear. Thus, even when the coefficients are generated non- analytically, multiple outputs having a common frequency response with predictable phase shifts can be created by employing a frequency shift.
[0072] From this it may be seen that a plurality of FIR filters sharing a delay line and having outputs with the same frequency response and different phases may be constructed by using coefficients derived from the equation:
Q'(i) = C(i) * sin (co * & * i + Pj) where C(i) is the set of coefficients from the iterative method, and the other values are as stated above.
[0073] As shown in the example above the initial coefficients may be determined for a low pass filter, and the frequency shift equal to the desired center frequency of a band pass filter. However, this is not required, and the coefficients may be first determined for a band pass filter which is then shifted in frequency from its center frequency to a desired center frequency of the phase-shifting FIR filter.
[0074] Returning to the example of a computer processor having a primary clock of 66 MHz, it should be noted that due to the vagaries of semiconductor
- 22 - PA1108US manufacture the clock signal on a particular processor chip may typically vary as much as plus or minus 20 percent or more from the nominal value, so that the expected 16 ns interval between cycles could be closer to 10 or 20 ns in a given instance. Thus, it is desirable to allow for a clock that runs from, for example, 40 MHz to 100 MHz.
[0075] In such a case, a suitable filter might be designed by obtaining a set of coefficients from MATLAB®, or some other iterative method, for a 30 MHz low pass filter, and then multiplying the coefficients by a sine wave of 66 MHz (the desired center frequency) to obtain a bandpass filter that allows signals between 36 MHz and 96 MHz. Again, multiple outputs of fixed phase differences may be obtained by multiplying the coefficients by sine waves having a different value of P, thus insuring the desired clock multiplier regardless of the actual frequency of the original clock signal as long as it is within the limits of the bandpass filter.
[0076] There is yet another way of generating two coefficient sets that will produce the same frequency response but with different phases in certain situations. This method also has some advantages in building a practical implementation, as the coefficients of the two filters involved will have some similarity.
[0077] In the example of the mathematical derivation of coefficients described above, there are two sets of coefficients described by:
Co(i) = W(i) * sin (ω * & * i + Pa) and
Ci(i) = W(i) * sin (ω * δ * i + Pi)
- 23 - PA1108US where Po and Pi differ by π/2. (This is a generalized equation; in the above example, more specifically Po = 0 and Pi = ττ/2.)
[0078] If the length of the filter is additionally constrained so that the coefficient sinusoidal waves end on a quarter-wave boundary (i.e., that the length contains just some integer M and one-quarter cycles), the coefficient sets will appear as shown in Figure 12. One coefficient sine wave 1202 starts at the beginning of a cycle, i.e., at a rising zero crossing and ends after one-quarter of a cycle. The other coefficient wave 1204 starts one-quarter of a cycle earlier with the last quarter of a cycle and ends at the end of a cycle, i.e., at a falling zero crossing. Reversing one wave in its entirety results in the other wave.
[0079] Thus, one coefficient set is the same as the other set but reflected about the Y-axis, i.e., the values are the same but one set takes the coefficient values in one order and the other set takes the same values in reverse order. When a window function is applied, the resulting coefficient values may in one example be as seen in Figure 13. Since a window function is also symmetrical about the Y-axis, the similarity of values is preserved.
[0080] This "reflecting" method is limited to making only two filters differing in phase by n/2, or 90 degrees, but it allows for simple construction of a circuit, as the construction of two identical sets of components is easier than arbitrary sets of elements. The two identical sets of elements that make up the two FIR filters, generally sets of resistors, in one instance are connected to the delay line in one order, and in the second instance are connected to the delay line in reverse order. Thus, for example, with this method, in Figure 6 resistors Rl through R7 will have values corresponding to a set of coefficients, while resistors R8 to R14 will
- 24 - PA1108US have the same values in reverse order, so that the value of Rl is the same as the value of R14, R2 is the same as R13, etc.
[0081] Figure 14 is a flowchart of one embodiment of a method of designing a FIR filter as described herein. First, a desired frequency response is selected at step 1401.
[0082] Next, at step 1402 a plurality of sets of Fourier coefficients are determined, one for each desired output, each set of coefficients resulting in the same frequency response as the other sets, but each resulting in a different desired phase of the output signal. As above, any arbitrary number of outputs may be selected.
[0083] At step 1403, sets of resistor values are determined, each set of resistor values corresponding to one of the sets of Fourier coefficients, and each resistor value in a set being the inverse of a different coefficient in the corresponding coefficient set.
[0084] Each set of resistors is attached to the delay line at step 1404, and a separate output connection created for each set of resistors at step 1405 so that each output of different phase may be separately accessed.
[0085] As described above, the sets of Fourier coefficients may be determined in various ways at step 1402. In one embodiment, the sets of coefficients are each calculated mathematically by including a different phase constant in the calculation of each set. In another embodiment, one set of coefficients is determined by an iterative method, and then that set of coefficients is multiplied by one or more sine waves of different phases to obtain the other sets of coefficients. The iterative method may be performed by software such as, in one
- 25 - PA1108US example, MATLAB® In still another embodiment, the length of the filter is constrained so that the coefficient sinusoidal wave ends on a quarter-wave boundary, a first set of coefficients is determined, and a second set of coefficients is derived by reversing the order of the first set of coefficients.
[0086] The disclosed system and method has been explained above with reference to several embodiments. Other embodiments will be apparent to those skilled in the art in light of this disclosure. Certain aspects of the described method and apparatus may readily be implemented using configurations or steps other than those described in the embodiments above, or in conjunction with elements other than or in addition to those described above.
[0087] For example, as discussed above, the elements providing the desired impedance values need not be resistors, but may be, for example, capacitors, inductors or FETs connected as pass devices, depletion mode MOSFETs, or other devices, with the values of the elements (such as capacitance, inductance, etc.) selected to provide the desired impedance values. It will further be understood by those skilled in the art that while the above description refers to multiple sets of resistors sharing a single delay line, this is not strictly necessary, and two or more similar delay lines could be used instead if appropriate.
[0088] Also, while multiple sets of resistors sharing a single set of buffers has been described, there could alternatively be more than one set of buffers. For example, referring to Figure 6, there could alternatively be one set of buffers connected from the delay line to resistors Rl to R7 and another set of buffers connected from the delay line to resistors R8 to R14. In other embodiments with more than two sets of resistors there could be more than one set of buffers, but with one or more of the sets of buffers sharing multiple sets of resistors.
- 26 - PA110SUS [0089] Still further, while individual resistors providing the desired resistor values are shown herein, this is not required. In some cases a desired resistor value may be easily obtained from a single resistor, while in other cases it may be easier and/or more cost effective to obtain a desired resistor value from some series and/or parallel combination of a plurality of resistors. One method of constructing resistor values and other components from a plurality of repeated identical elements that may be used in connection with the invention herein is described in commonly-owned U.S. patent application attorney docket no.
PA1109US filed on even date herewith, entitled "System and Method for Series and Parallel Combinations of Electrical Elements," the contents of which are incorporated herein.
[0090] In still other embodiments, resistors attached to the delay line at different points may be coupled to an output through an intermediate node rather than directly connected to the output, again possibly for the easier or more cost effective obtaining of the desired impedance values by sharing. How to calculate the effective resistance value from individual resistors connected in series and parallel in these situations is well understood by those of skill in the art.
[0091] Additionally, while the description herein refers to multiple sets of resistors having the same frequency response and different phases, it is equally possible to have two (or more) pluralities of sets of resistors (and the associated buffers) sharing a single delay line, each plurality of sets of resistors having a common frequency response different from another plurality of sets of resistors, but the outputs of each set of resistors in a plurality of sets differing in phase from other sets of resistors in that plurality of sets.
- 27 - PA1108US [0092] One of skill in the art will also appreciate that the above description does not specify precisely what form of data progresses down the delay line. In the use of the described method and apparatus as a clock multiplier/ the data may conveniently be a digital signal having only two values, since in such a case the delay elements may be simplified by simply using a series of inverters, which each have a finite delay.
[0093] In other cases, however, the data may be an analog signal. The analog signal is then connected to the various sets of resistors or other impedance - devices constructed as described herein, and the resulting output signals are a set of filtered analog signals which still maintain a precise phase difference. The outputs thus represent a series of time-delayed versions of the filtered input . signal, and the circuit is an analog delay generator, although the delay line is processing a digital signal.
[0094] Still further, the input may be analog data that is represented as a pulse width modulation (PWM) or sigma delta (SD) stream of digital data, and thus has a frequency component of the continuous analog signal present in the digital data stream. In these cases, although the delay line only provides digital outputs, the filter may be designed to select the analog signal that is present in the data stream and derive various phase shifted versions of that analog signal. One of skill in the audio field will appreciate that this is how Class-D audio uses PWM to impress the continuous audio signal onto the digital data stream.
[0095] Finally, there are in the art digital signal processing software "engines" which are entirely virtual, i.e., in which no physical filter is designed or built, but rather is simulated on a computer processor. Such software typically operates on a set of data elements that represent an input signal at successive points in time;
- 28 - PA1108US the set of data elements thus implicitly includes the delay times of the delay elements of a particular delay line in a FIR filter. A frequency response of a FIR filter is selected by a user, for example, by means of an input.
[0096] Such software engines may be used to implement the methods described herein. In one embodiment, two or more sets of weights are selected and applied to the set of data elements. Each set of weights is selected so that the sum of the weighted data elements is a signal of the selected frequency response; however, the sum of the weighted data elements using one set of weights has a different · phase from the sum of the weighted data elements using another set of weights. One of skill in the art will appreciate that each set of weights is thus equivalent to the impedance values that would be used to obtain a selected output signal in an actual FIR filter, so that weighting the data elements is equivalent to the weighting of the delayed input signal in the actual FER filter.
[0097] The outputs created by summing the weighted data elements are thus the same as those that which would be obtained from an actual filter constructed with the implicit delay times of the set of data elements and impedance values which are equivalent to the selected weights. Such software is contemplated as a possible embodiment of the methods described herein and considered to be within the scope of this disclosure.
[0098] Other uses of the described method and apparatus are possible. For example, sampling a signal at 1 GHz requires that a sample be taken every 1 ns, but a 1 GHz clock is difficult to make by prior art methods for the reasons discussed above. Using the technique described herein, a clock multiplier may start with a clock of 10 MHz, which is comparatively simple to make, to effectively obtain a 1 GHz clock without the use of, for example, PLL's. Those of
- 29 - PA110SUS skill in the art will appreciate other applications of the described method and apparatus.
[0099] It should also be appreciated that the described method and apparatus can be implemented in numerous ways, including as a process, an apparatus, or a system. The methods described herein may be implemented by program instructions for instructing a processor to perform such methods, and such instructions recorded on a computer readable storage medium such as a hard disk drive, floppy disk, o tical disc such as a compact disc (CD) or digital versatile disc (DVD), flash memory, etc. The methods may also be incorporated into hard-wired logic if desired. It should be noted that the order of the steps of the methods described herein may be altered and still be within the scope of the disclosure.
[00100] These and other variations upon the embodiments are intended to be covered by the present disclosure, which is limited only by the appended claims.
- 30 - PA1108US

Claims

Claims What is claimed is:
1. A method of designing a finite impulse response filter having a delay line containing a plurality of delay elements, comprising:
selecting a desired frequency response for the filter;
selecting a plurality of sets of elements having impedances, one element from each set to be coupled to the delay line after each delay element, the values of the elements selected to determine their impedances so that for each set of elements the sum of the outputs of the elements is a signal of the same frequency response as, but a different phase from, the sum of the outputs of another set of elements; and
for each set of elements, providing an output connected to all of the elements in the set mat is separate from the outputs connected to the other sets of elements.
2. The method of claim 1, wherein selecting a plurality of sets of elements further comprises:
determining a plurality of sets of Fourier coefficients that each include a different phase factor in the time domain;
for each set of Fourier coefficients, selecting a set of impedance values that are the inverse of the Fourier coefficients.
3. The method of claim 2, wherein determining a plurality of sets of Fourier coefficients further comprises mathematically calculating the sets of Fourier coefficients.
- 31 - PA110SUS
4. The method of claim 2, wherein determining a plurality of sets of Fourier coefficients further comprises determining the sets of Fourier coefficients by an iterative method.
5. The method of claim 4, wherein determining the sets of Fourier coefficients by an iterative method furtlier comprises determining the Fourier coefficients by a Parks-McClellan method.
6. The method of claim 4, wherein determining the sets of Fourier coefficients by an iterative method further comprises determining a first set of Fourier coefficients by an iterative method performed by software that receives the desired frequency response for the filter as an input, and determining a second set of Fourier coefficients by multiplying the first set of coefficients by a sine wave.
7. The method of claim 4, wherein determining the sets of Fourier coefficients by an iterative method further comprises determining a first set of Fourier coefficients by an iterative method, and a second set of Fourier coefficients by reversing the first set of Fourier coefficients.
8. The method of claim 2, wherein determining a plurality of sets of Fourier coefficients further comprises multiplying the sets of Fourier coefficients by a window function.
9. The method of claim 8, wherein the window function is a Kaiser window function.
- 32 - PA1108US
10. The method of claim 9, wherein the Kaiser window function is
parameterized to a = 3.
11. An apparatus comprising:
an input configured to receive an input signal;
a delay line comprising a plurality of delay elements in series and connected to the input for propagating the input signal;
a first plurality of buffers, each buffer in the first plurality of buffers receiving the delayed input signal after the input signal has passed through a separate one of the plurality of delay elements;
a first plurality of elements having impedance values, each of the first plurality of elements connected to a separate one of the first plurality of buffers and chosen to determine their impedance values so that the sum of the outputs of the first plurality of elements produces a desired frequency response to the input signal;
a first output connected to the first plurality of resistor values to produce a first output signal having the desired frequency response;
a second plurality of buffers, each buffer in the second plurality of buffers receiving the delayed input signal after the input signal has passed through a separate one of the plurality of delay elements;
a second plurality of elements having impedance values, each of the second plurality of elements connected to a separate one of the second plurality of buffers and chosen to determine their impedance values so that the sum of the outputs of the second plurality of elements produces the same frequency response to the input signal as the first plurality of elements but at a different phase; and
- 33 - PA1108US a second output connected to the second plurality of elements to produce a second output signal having the desired frequency response, at the different phase from the first output signal.
12. A finite impulse response filter comprising:
an input configured to receive an input signal;
a delay line comprising a plurality of delay elements in series and connected to the input for propagating the input signal;
a plurality of buffers, each buffer receiving the delayed input signal after the input signal has passed through a separate one of the plurality of delay elements;
a first plurality of elements having impedance values, each of the first plurality of elements connected to a separate one of the plurality of buffers and chosen to determine their impedance values so that the sum of the element outputs produces a desired frequency response to the input signal;
a first output connected to the first plurality of elements to produce a first output signal having the desired frequency response;
a second plurality of elements having impedance values, each of the second plurality of elements connected to a separate one of the plurality of buffers and chosen to determine their impedance values so that the sum of the element outputs produces the same frequency response to the input signal as the first plurality of elements but at a different phase; and
a second output connected to the second plurality of elements to produce a second output signal having the desired frequency response, at a different phase from the first output signal.
- 34 - PA1108US
13. A computer readable storage medium having embodied thereon instructions for causing a computing device to execute a method for designing a finite impulse response filter having a delay line containing a plurality of delay elements, the method comprising:
selecting a desired frequency response for the filter;
selecting a plurality of sets of elements having impedance values, one element from each set to be coupled to the delay line after each delay element, the values of the elements selected to determine their impedance values so that for each set of elements the sum of the outputs of the elements is a signal of the same frequency response as, but a different phase from, the sum of the outputs of another set of elements; and
for each set of elements, providing an output connected to all of the elements in the set that is separate from the outputs connected to the other sets of elements.
14. A computing device for simulating the response of a finite impulse response filter to a set of data elements representative of an input signal at successive points in time, comprising:
an input for selecting a frequency response of the finite impulse response filter;
a processor configured to:
select a first set of weights to be applied to the set of data elements to generate a set of first weighted data elements, such that the sum of the first weighted data elements is a first signal of the selected frequency response;
select a second set of weights to be applied to the set of data elements to generate a set of second weighted data elements, such that the
- 35 - PA110SUS sum of the second weighted data elements is a second signal of the selected frequency response at a different phase from the first signal of the selected frequency response;
a first output for providing the first output signal of the selected frequency response; and
a second output for providing the second output signal of the selected frequency response.
- 36 - PA1108US
PCT/US2012/029899 2011-03-22 2012-03-21 Finite impulse response filter for producing outputs having different phases WO2012129271A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280022752.7A CN103765414B (en) 2011-03-22 2012-03-21 For producing the finite impulse response filter of the output with out of phase
EP12760719.0A EP2689348A4 (en) 2011-03-22 2012-03-21 Finite impulse response filter for producing outputs having different phases

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201161669420P 2011-03-22 2011-03-22
US614669420 2011-03-22
US13/414,487 US9287851B2 (en) 2011-03-22 2012-03-07 Finite impulse response filter for producing outputs having different phases
US13/414,487 2012-03-07

Publications (1)

Publication Number Publication Date
WO2012129271A1 true WO2012129271A1 (en) 2012-09-27

Family

ID=46879722

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2012/029899 WO2012129271A1 (en) 2011-03-22 2012-03-21 Finite impulse response filter for producing outputs having different phases

Country Status (1)

Country Link
WO (1) WO2012129271A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3050700A (en) 1959-01-19 1962-08-21 Rca Corp Phase shifting circuit
US4799025A (en) 1985-06-21 1989-01-17 U.S. Philips Corporation Digital FM demodulator using digital quadrature filter
EP0539776A2 (en) 1991-10-26 1993-05-05 GRUNDIG E.M.V. Elektro-Mechanische Versuchsanstalt Max Grundig GmbH & Co. KG Apparatus for deriving two quadrature signals from a digital signal
EP1168615A1 (en) * 2000-06-27 2002-01-02 Texas Instruments Incorporated Transpose FIR filter architecture
US20040139135A1 (en) * 2001-01-05 2004-07-15 Philip Druck N dimensional non-linear, static, adaptive, digital filter design using d scale non-uniform sampling
US20050168371A1 (en) * 1999-09-28 2005-08-04 Jiren Yuan Versatile charge sampling circuits
US7346645B2 (en) * 2004-11-05 2008-03-18 International Business Machines Corporation Architecture for transverse-form analog finite-impulse-response filter
US20120246607A1 (en) 2011-03-22 2012-09-27 Ess Technology, Inc. System and Method for Series and Parallel Combinations of Electrical Elements

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3050700A (en) 1959-01-19 1962-08-21 Rca Corp Phase shifting circuit
US4799025A (en) 1985-06-21 1989-01-17 U.S. Philips Corporation Digital FM demodulator using digital quadrature filter
EP0539776A2 (en) 1991-10-26 1993-05-05 GRUNDIG E.M.V. Elektro-Mechanische Versuchsanstalt Max Grundig GmbH & Co. KG Apparatus for deriving two quadrature signals from a digital signal
US20050168371A1 (en) * 1999-09-28 2005-08-04 Jiren Yuan Versatile charge sampling circuits
EP1168615A1 (en) * 2000-06-27 2002-01-02 Texas Instruments Incorporated Transpose FIR filter architecture
US20040139135A1 (en) * 2001-01-05 2004-07-15 Philip Druck N dimensional non-linear, static, adaptive, digital filter design using d scale non-uniform sampling
US7346645B2 (en) * 2004-11-05 2008-03-18 International Business Machines Corporation Architecture for transverse-form analog finite-impulse-response filter
US20120246607A1 (en) 2011-03-22 2012-09-27 Ess Technology, Inc. System and Method for Series and Parallel Combinations of Electrical Elements

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
See also references of EP2689348A4 *
WOODS ET AL.: "FPGA-based Implementation of Signal Processing Systems", 2008, pages 1 - 47, XP008171508, ISBN: 978-0-470-030, Retrieved from the Internet <URL:http://www.progetti.t3lab.itlvialablwp-contentluploads/download/20110517/FPGA-based%201mplementation%20of%20Complex%20Signal%20Processing%20System-tqw-darksiderg.pdf> [retrieved on 20120625] *

Similar Documents

Publication Publication Date Title
US9940415B2 (en) Finite impulse response filter for producing outputs having different phases
Hussain et al. Digital signal processing: an introduction with MATLAB and applications
Krishna et al. On design and applications of digital differentiators
US7529788B2 (en) Digital filter design method and device, digital filter design program, and digital filter
RU2731251C2 (en) Method and device for sample rate conversion of fetch stream
JP5337157B2 (en) Test apparatus and test method
US9264019B2 (en) Suppression of fixed-pattern jitter using FIR filters
US7768355B2 (en) Polyphase numerically controlled oscillator
Grossmann et al. An $ L_1 $-method for the design of linear-phase FIR digital filters
Goel et al. Design of FIR filter using FCSD representation
WO2012129271A1 (en) Finite impulse response filter for producing outputs having different phases
JP2013135401A (en) Resampling device, digital modulation signal generation device using the same, and resampling method
JPS6340367B2 (en)
US8994422B2 (en) Use of Frequency addition in a PLL control loop
Jiménez et al. On design of a multiplierless very Sharp Hilbert transformer by using identical subfilters
TW200408813A (en) Digital filter design method and device, digital filter design program, and digital filter
Ahmed et al. Low Pass FIR Filter Design and Analysis Using Hamming, Blackman and Kaiser Windows
US20050171988A1 (en) Digital filter design method and device, digital filter design program, and digital filter
US10892740B2 (en) Digital filtering method, corresponding circuit and device
JP4989575B2 (en) Filter and filter configuration method
Sundararajan et al. Finite impulse response filters
RU2553434C1 (en) Quadrature harmonic signal generator
Dumitrescu et al. Minimax design of adjustable FIR filters using 2D polynomial methods
Demirtas Minimax Design of Nonlinear Phase FIR Filters with Optimality Certificates
Gopika FIR window method: A comparative analysis

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12760719

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2012760719

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2012760719

Country of ref document: EP