1. Field of the Invention
The present invention relates to the design of filter circuits in integrated circuits, and more specifically to a method and apparatus to enhance flexibility of a low distortion filter circuit to provide variable gain amplification (VGA).
2. Related Art
A filter circuit generally refers to a circuit which selectively passes frequencies of interest, while inhibiting/blocking other frequencies of an input signal. Filter circuits are also often designed to perform an amplification operation, and provide an amplified output signal containing the frequencies of interest. Such amplification is often required, for example, due to the low strength with which signals are often received and thus to take advantage of full swing possible on an output path, as described below in further detail. Integrating the amplification operation in the filter itself (as compared to using a separate amplification stage) results in lower area, power.
The amplification operation to be performed in filter circuits often needs to be designed to provide with variable gain amplification (VGA) as well. VGA generally implies that the amplification factor (output voltage level divided by input voltage level) needs to be different at different instances of time. VGA often enables an input signal (or components containing the frequencies of interest) to be amplified to a desired voltage level, when the input signal strength is changing with time. Such a feature may be used, for example, when the output signal (on an output path) of the filter circuit is sampled by an analog to digital converter (ADC), and it may be desirable to use the entire range of input voltages possible at the input of the ADC irrespective of the strength of the input signal.
The ability to vary the gain/amplification is often attained by having components with programmable values (e.g., ability to set the resistance value for a resistor). The programmability may be achieved by connecting multiple sub-components (typically in series or parallel), and making only some of the sub-components active or operational by the use of appropriate switches. In general, a switch is kept in one of open or closed state to make the corresponding sub-component operational, and in the other state to disconnect (or make non-operational) the sub-component. The active sub-components together form the component with a corresponding value.
It is often desirable that flexibility exist to obtain a desired value for components (each component containing one or more sub-components) being used to perform the filtering and amplification tasks. The flexibility is particularly important because a change of value of one component for one characteristic (for example to attain a desired amplification factor) may alter another characteristic (various attributes of the transfer function, such as corner frequency, Q-factor, notch frequency, etc. As a result, the magnitudes of a number of components in the circuit would be dependent on each other due to such constraints posed by the filter circuit characteristics. The number of components that can be altered independently, without affecting the transfer characteristics, may be referred to as ‘degrees of freedom’.
Filter circuits generally need to be implemented to provide low distortion, in addition to providing VGA and desired transfer function. It is typically desirable that a filter provide a linear response when the amplification factor is set to a constant value, and deviations from such a linear response is referred to as distortion. It is generally desirable to reduce/eliminate distortion since the output signal then would accurately represent the information in the input signals.
What is therefore needed is a filter circuit which provides enhanced flexibility such that a desired transfer function, desired amplification factor, and low distortion can be obtained.
The present invention will be described with reference to the following accompanying drawings.
(FIG.) 1A is a circuit diagram depicting a topology of a single amplifier bi-quadratic filter circuit in one prior embodiment.
In the drawings, like reference numbers generally indicate identical, functionally similar, and/or structurally similar elements. The drawing in which an element first appears is indicated by the leftmost digit(s) in the corresponding reference number.
1. Overview
An aspect of the present invention provides a filter circuit with variable gain amplification (VGA) by including additional passive components in one of input path (which provides input signal to an operational amplifier) and feedback path, and by redesigning the other path to cancel the effect of such additional passive components. Such cancellation can be achieved by using principles such as admittance cancellation well known in the relevant arts.
By including the additional components, the degrees of freedom to obtain desired (attributes of) transfer function and desired amplification factor, can be increased.
The additional components and the re-design of the path can be chosen such that the components that have programmable values, are connected to a constant voltage (e.g., ground) at one end. Switches providing the programmability can then be connected to the constant voltage. If switches were not connected to a constant voltage but to a signal dependent voltage, the resistance of the switches changes as a function of signal strength, causing non-linear response. Connecting the switches to constant voltage ensures that the switches provide a constant impedance, which in turn results in a linear response of the circuit providing variable gain amplification, irrespective of the gain to which the filter is programmed.
The principles noted above can be used to provide various filter circuits. In one embodiment described below, a second order filter based on a single amplifier is provided with low distortion and variable gain amplification capability, while providing several degrees of freedom. In another embodiment, a similar filter, but generating a notch also in the transfer function, is provided.
The features of such filter circuits can be appreciated by comparison with example prior circuits which do not use one or more of the features of the present invention. Accordingly, such example prior filter circuits are described below first with reference to
Several aspects of the invention are described below with reference to examples for illustration. It should be understood that numerous specific details, relationships, and methods are set forth to provide a full understanding of the invention. One skilled in the relevant art, however, will readily recognize that the invention can be practiced without one or more of the specific details, or with other methods, etc. In other instances, well_known structures or operations are not shown in detail to avoid obscuring the invention.
2. Prior Single Amplifier Bi-Quadratic Filter Circuit
Operational amplifier 150 receives the signal on path 151 at inverting input terminal through the path containing resistors R110 and R120. The non_inverting input terminal 152 is connected to ground to provide single ended operation. Operational amplifier 150 amplifies the signal at inverting terminal 151 and provides the amplified signal on output path 159.
Resistors R110, R120, R130 and R140, and capacitors C160 and C170 together form a second order (bi-quadratic) low pass filter circuit to allow only the frequency band of interest and reject all other frequency components in the input signal received on path 101. Thus, filter circuit 100 may reject the unwanted interference signals in signal 101 and provides the amplified filtered signal on path 159.
Assuming that the resistance of resistors R110, R120, R130 and R140 equal R4, R2, R3 and R1 respectively, and capacitances of capacitors C160 and C170 equal C1 and C2 respectively, the transfer function (H(s)) of filter circuit 100 is given by equation (1) below, wherein ‘*’, ‘/’ and ‘+’ respectively represent multiplication, division, and addition arithmetic operations, and ‘s’ represents jT in Laplace Domain.
The characteristics (e.g., gain, corner frequency, Q(quality)-factor) of filter circuit 100 are determined by appropriate selection of the values of circuit components (R110, R120, R130, R140, C160 and C170). It may be observed from Equation (1) that D.C. gain of filter circuit 100 depends on the ratio R3/R4. By having R3 and R4 programmable, VGA capability can be provided to filter circuit 100. However, prior filter circuit 100 may have one or more problems/drawbacks as described briefly below.
3. Example Problem(s) with Prior Filter Circuit 100 to include VGA
As noted above, the VGA features can be achieved by making components R130 and R110 programmable. Each resistor can be made programmable as illustrated with reference to
It may be observed that both the terminals of resistor R130 are present in signal path (between paths 141 and 159 of
From the above, it may be appreciated that having the programmable components (as in the case of
The description is continued with reference to another prior filter circuit, which also provides a notch in the transfer function. As is well known, notch generally refers to a pair of conjugate purely imaginary zeros, which enables the transfer function to go to zero at a finite frequency of the input signal. By having a notch, one achieves a sharper roll-off (and thus better filtering).
4. Prior Single Amplifier Bi-Quadratic Filter Circuit Generating a Notch
Operational amplifier 250 receives the signal on path 251 at inverting input terminal through the path containing resistor R210 and capacitor C270. The non_inverting input terminal 252 is connected to ground to provide single ended operation. Operational amplifier 250 amplifies the signal at inverting terminal 251 and provides the amplified signal on output path 259.
Resistors R210, R220, and R230, capacitors C260, C270, and C280, and inversion block 290 together form a second order (bi_-quadratic) low pass filter circuit to allow only the frequency band of interest and reject all other frequency components in the signal received on path 101. Inversion block 290 provides an inverted signal of the signal received on path 201 as an input to capacitor C260. This inversion can be obtained, for instance, in a fully differential circuit by flipping the polarity of the input wires before connecting to capacitor 260.
In addition, the parallel combination of resistor R210 and capacitor C270, along with capacitor 260, provides a notch (which allows rejection of unwanted frequency component in the desired band of frequencies) in the filter characteristics. Thus, filter circuit 100 may reject the unwanted interference signals in signal 101 and provides the amplified filtered signal on path 159.
Assuming that the resistance of resistors R210, R220, and R230 equal R3, R1, and R2 respectively, and capacitances of capacitors C260, C270, and C280 equal C1, C3 and C2 respectively, the transfer function (H(s)) of filter circuit 200 is given by equation (2) below.
wherein ‘+’, ‘X’, and ‘/’ represent addition, multiplication, division operators respectively, and symbol ‘∥’ represents the effective resistance when the corresponding two resistors are connected in parallel.
In addition, filter circuit 200 generates a notch if the condition of Equation (3) below is satisfied, as is well known in the relevant arts.
R3C3(R1+R2)+R1R2C1=R2R3C1 Equation (3)
It may be observed from Equation (2) that gain of circuit 200 depends on resistors R210, R220 and R230, and from Equation (3) that condition for generating a notch depends on values of five components R210, R220, R230, C260 and C270. Some of the problems with prior filter circuit 200 are described below.
5. Example Problem(s) with Prior Filter Circuit 200 to include VGA
It may be observed from
As noted above with respect to Equation (2), the gain of circuit 200 depends on resistors R210, R220 and R230. Gain of filter circuit 200 can be varied by changing the values of R210 and R220, without introducing distortion. However, a change in the values of R210 and R220 would impact other characteristics of filter circuit 200, which include five parameters corner frequency, Q-factor, gain, notch frequency, and condition for admittance cancellation.
Thus, to preserve five characteristics of filter circuit 200, five other component values may need to be varied. However, only four components R210, R220, C270, and C280 can be varied without causing distortion, and changing the values of other two components R230 and C260 may cause unacceptable levels of distortion for reasons noted above.
Therefore, it may be noted that filter circuit 100 of
The description is continued with reference to a block diagram describing the principle of various aspects of the present invention.
6. Admittance Cancellation Technique
According to an aspect of the present invention, at least one of input block 310 and feedback block 320 is designed to include additional/more components than required to implement the desired filter characteristics. The other block is then designed to neutralize/cancel the effect of such additional components. Such neutralization may be implemented using admittance cancellation techniques and the principle of such a design is described below.
Each of input block 310 and feedback block 320 may be implemented as a two port network using passive components. Port 1a and ground are the two input ports, and port 2a and ground are the two output ports of input block 310. Similarly, port 1b and ground are the two input ports, and port 2b and ground are the two output ports of feedback block 320. Corresponding Y-parameter equations are given by equations (4), (5), (6) and (7) below.
I1a=y11aE1a+y12aE2a Equation (4)
I2a=y12aE1a+y22aE2a Equation (5)
I1b=y11bE1b+y12bE2b Equation (6)
I2b=y12bE1b+y22bE2b Equation (7)
wherein I1a and I2a are the respective currents flowing into two ports 1a and 2a of input block 310, E1a and E2a are the respective voltages at ports 1a and 2a of input block 310, y11a, y22a and y12a/y21a are respectively the input admittance, output admittance, and transfer admittances of input block 310, I1b and I2b are the respective currents flowing into two ports 1b and 2b of feedback block 320, E1b and E2b are the respective voltages at ports 1b and 2b of feedback block 320, and y11b, y22b and y12b/y21b are respectively the input admittance, output admittance and transfer admittance of feedback block 320.
Also, as is well known in the relevant arts, for a passive network, the transfer admittance from port 1a/1b to port 2a/2b equals the transfer admittance from 2a/2b to port 1a/1b of input block 310/feedback block 320. That is, y21a=y12a and y21b=y12b.
For the circuit of
In general, any filter circuit requires complex poles or complex zero for a reliable filtering operation. However, a two port passive network contains red poles, which causes real zeros in the transfer function of Equation (8) and thus need to be removed for filtering operation. Thus, the poles of y12a have to be matched to the poles of y12b to cancel real poles in the two admittances and thus avoiding real zeros in the transfer function. The condition of equaling the poles of y12a to the poles of y12b is the admittance cancellation condition, which is given by equation (9) below.
Poles of y12a=Poles of y12b Equation (9)
As a result of equation (9), equation (8) contains only zeros in the two admittances and thus the zeros of y12b are the poles of the closed loop transfer function, and the zeros of y12a are the zeros of the transfer function, which can be used to implement a notch.
Thus, equation (8) can be used to implement a required filter transfer function, and equation (9) can be used to provide degree of freedom by cancelling the effect of additional components.
Due to the presence of the additional components, additional degrees of freedom may be presented to attain various desired filtering/amplification related characteristics. The additional components may also be designed such that one terminal is connected to ground. As a result, the transistors (operating as switches allowing programmability) may be designed to offer a constant impedance, thereby avoiding undesirable distortion.
7. An Inventive Aspect: Single Amplifier Bi-Quad Filter Circuit
Operational amplifier 450 receives the signal on path 451 through input block 481. The non_inverting input terminal 452 is connected to ground to provide a single ended operation. Operational amplifier 450 amplifies the signal at inverting terminal 451 and provides the amplified signal on output path 459.
Feedback block 482 contains resistors R460 and R465, and capacitors C420 and C455, which respectively correspond to resistors R120 and R130, and capacitors C160 and C170 of
Input block 481 contains resistor R405, resistor R410 and capacitor C435—which are used for admittance cancellation, as noted above. The transfer function of filter circuit 400 is given by the following Equation:
Wherein G (DC gain) is given by the following equation:
As noted above, for admittance cancellation, the poles of transfer admittance of input block 481 has to equal the poles of transfer admittance of feedback block 482 Block 481 and 482 each have one real pole as given by Equations (12) and (13) respectively below.
Thus, the condition of admittance cancellation by equaling equations (12) and (13) according to equation (9) is given by the below equation:
(R1II R2II R3)C1=(R4II R5)C4 Equation (14)
Once the components of
Filter circuit 400 contains six components (R410, R460, R480, C435, C455, C420), which can be programmed (as shown by the variable sign, arrow on each of these components) to attain desired filter characteristics. The filter characteristics to be programmed are corner frequency, Q-factor and DC gain (For VGA). In addition, the condition of equation (12) above, for admittance cancellation, need to be satisfied. Thus there are a total of four constraints and six components that can be programmed, resulting in two degrees of freedom for the circuit.
In operation, components in input block 481 control the admittance cancellation condition and the components in feedback block 482 control the corner frequency and Q-factor. From equation (13) above, the transfer admittance of feedback block 482 has a pole at the frequency wx=1/((R1∥R2∥R3)*C1), wherein ∥ represents the effective resistance when resistors are connected in parallel, and * represents a multiplication operation. But noting from equation (14), the corner frequency and Q-factor are given by
Dividing equation (16) by equation (15), one obtains
This is the same as the expression for admittance pole of block 482 from (13). Thus, the unwanted real pole always comes at a frequency w/Q regardless of component values. As a result, R460, R480, C420 and C455 can be varied to control the transfer function and the gain of filter circuit 400, without changing the components in input block 481 once the corner frequency and Q-factor are fixed. However, the degrees of freedom provided by the components in input block 481 can also be advantageously used, as necessary in specific situations.
It should be understood that the topology shown in
8. Another Inventive Aspect: Single Amplifier Bi_Quad Filter Circuit with Notch
For conciseness, only the differences of
Input block 581 contains resistors R505, R510 and R515, and capacitors C525, C530 and C535, which provide additional degree of freedom to vary the gain as well as achieve the desired filter characteristics.
In one embodiment, the value of capacitor 535 equals a constant ($) times the sum of the values of capacitors C520 and C530, and the value of resistor 515 equals $ timers effective resistance of parallel combination of resistors R505 and R510 (represented as R505 ∥R510).
The transfer function of filter circuit 500 is given by the following Equation:
wherein G is given by the following equation:
As noted above, for admittance cancellation, the poles of transfer admittance of input block 581 has to equal the poles of transfer admittance of feedback block 582. Each of blocks 581 and 582 has one real pole, as given by Equations (20) and (21) below.
Thus, the condition of admittance cancellation by equating equations (20) and (21) according to equation (9) is given by the below equation:
(R1II R2II R3)C1=β(Ra II Rb)(CaCb) Equation (22)
Once the components of
Filter circuit 500 contains night components (R510, R515, R516, R518, C530, C535, C555, C520), which can be programmed to attain desired filter characteristics. The filter characteristics to be programmed are corner frequency, Q-factor, notch frequency, and DC gain (For VGA). In addition, the condition of equation (19) above, for admittance cancellation, needs to be satisfied. Thus there are a total of five constraints and eight components that can be programmed, resulting in three degrees of freedom for the circuit.
In operation, components in input block 581 control the notch frequency and the admittance cancellation condition, and components in feedback block 582 control the corner frequency and Q_factor. As with filter circuit 400, it can be shown that unwanted zero lies at T/Q (T representing corner frequency and Q representing quality factor). As a result, R560, R580, C520 and C555 can be varied to control the transfer function and the gain of filter circuit 500, without changing the components in input block 581 once the notch frequency, corner frequency and the Q-factor are fixed. However, the degrees of freedom provided by the components in input block 581 can also be advantageously used, as necessary in specific situations.
While the embodiments of above are described with respect to single ended implementation merely for illustration, it should be understood that extension of the approaches to differential operation will be apparent to one skilled in the relevant arts by reading the disclosure provided herein. The corresponding embodiments are also contemplated to be covered by various aspects of the present invention.
In addition, the second order filter of above can be used to implement higher order filters by using the second order filter in one or more stages of the higher order filter.
An example system, which may implement various aspects of the present invention is described below with reference to
9. Example System
Receiver system 600 is shown containing low noise amplifiers (LNA) 610, mixer 620, filter circuit with VGA 660, analog to digital converter (ADC) 650, and processing unit 690. Each block/stage is described in further detail below.
LNA 610 receives signals on path 601 and amplifies the received signals to generate a corresponding amplified signal on path 612. For example, in wireless systems, the signals that are transmitted from satellites, etc. may be received by an antenna (not shown) and the received signals are provided on path 601. The received signals may be weak in strength and thus amplified by LNA 610 for further processing.
Mixer 620 may be used to down-convert the received amplified signal on path 612 into an intermediate signal with the frequency band of interest centered at a lower frequency than the carrier frequency of the received signal. In an embodiment, a signal with the frequency band of interest centered at 2.4 GHz (carrier frequency) is converted to a signal with the frequency band of interest centered at zero frequency.
Mixer 620 may receive the amplified signal on path 612 and a signal of fixed frequency on path 622 as inputs, and provides the intermediate signal on path 623. The signal on path 622 of fixed frequency may be generated by a phase locked loop (not shown) in a known way. LNA 610 and mixer 620 may be implemented in a known way. In general, LNA 610 a mixer 620 together represent a pre-processing circuit before the signal is processed by filter circuit 630. Different types of pre-processing may be performed depending on the specific environment, as will be apparent to one skilled in the relevant arts by reading the disclosure provided herein.
Filter circuit 630 may be implemented with a variable gain amplification (VG) according to various aspects of the present invention as described above. Filter circuit with VGA 630 may be implemented similar to
Filter circuit 630 with VGA may correspond to a low pass filter which allows the desired low frequencies and rejects all other unwanted high frequencies present in the signal received on line 623. The filtered signal, which contains the frequency band of interest, is provided on path 635. ADC 650 converts (samples) the filtered signal received on path 635 to a corresponding digital value on path 659, which represents the signal of interest in received signal 601.
Processing unit 690 receives digital values representing the signal of interest in received signal 601 on path 659 and measures/estimates the strength of the received signal. Processing unit 690 generates signal on path 693 representing the amount of amplification required based on the measurement. As noted above, filter circuit 630 adjusts the gain according to the signal received on path 693.
10. Conclusion
While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. Thus, the breadth and scope of the present invention should not be limited by any of the above described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.