This application claims priority to and the benefit of the filing date of U.S. patent application Ser. No. 11/737,426, entitled “PHASE-LOCKED LOOP BASED CONTROLLER FOR ADJUSTING AN ADAPTIVE CONTINUOUS-TIME FILTER,” filed on Apr. 19, 2007, which is entirely incorporated herein by reference.
Radio frequency (RF) transceivers are found in many two-way communication devices, such as portable communication devices, (cellular telephones), personal digital assistants (PDAs) and other communication devices. A RF transceiver must transmit and receive RF signals dictated by the particular communication protocol under which the communication device is operating. For example, RF communication protocols include amplitude modulation, frequency modulation, phase modulation, or a combination of these. A typical code-division multiple-access (CDMA) communication system, uses a direct-conversion receiver with a matching filter to separate the appropriate data or output signal from the received baseband signal.
A direct-conversion receiver, also known as a homodyne, synchrodyne, or zero-intermediate frequency (IF) receiver, is a radio receiver design that uses a unique system of demodulating amplitude-modulated (AM) signals. It uses a local oscillator, synchronized in frequency to the carrier of the desired signal, to modulate the received signal. Thereafter, the matching filter is used to separate the appropriate output signal from the received baseband signal.
Consequently, filter tuning or adjusting is often performed in direct-conversion and low-IF receivers. It is well established that it is more convenient to design continuous-time filters for channel selection instead of switched-capacitor filters due to physical area requirements and dynamic range constraints of the respective filter circuits. However, continuous-time filters require tuning since their cut-off frequency depends on a factor (i.e., a resistor-capacitor (RC) time constant), which is sensitive to manufacturing process variation and operating temperature of the various components used to implement the filter.
In CDMA applications, an in-band blocker profile, for a receive channel, dictates that the cut-off frequency should be accurate to within ±2.5% of the nominal cut-off frequency. A first simulated variation of cut-off frequency for a continuous-time filter due to process variation shows that the cut-off frequency of an active continuous-time filter will vary by more than ±10.0% of the nominal cut-off frequency due to process variation. A second simulated variation in cut-off frequency for a continuous-time filter due to temperature variation is less than ±1.0%. Consequently, a tuning scheme that neutralizes the effects of at least process variation on the cut-off frequency of a continuous-time filter is desired.
There are several conventional ways to tune continuous-time filters. One common way is to construct a master voltage-controlled oscillator (VCO) whose oscillation frequency is proportional to the slave's (i.e., the matching filter's) cut-off frequency. The tuning, in this case, is performed by a phase-locked loop (PLL). Typically, the filter comprises a combination of an operational amplifier with resistors and capacitors arranged in a feedback path. In this arrangement, a digital PLL can be used as one or both of resistance and capacitance can be adjusted by discretely switching select resistors and capacitors in the feedback path. This method provides good accuracy at the expense of the additional circuit area required implementing the VCO and the relatively large components required to bring the matching of the master and slave filters to a desired level.
A second way to tune a continuous-time filter is by estimating an RC-time constant on an integrated circuit. This is generally accomplished by charging an RC load with a voltage or current source and adjusting the RC-time constant to achieve a desired response. This method is attractive due to its simplicity. However, for high-frequency applications, this method suffers from sensitivity to component mismatch and amplifier offsets.
The CDMA standard presents at least two additional problems. First, the CDMA standard does not provide a time slot to check and/or adjust filters. Second, the CDMA standard dictates that filter performance must not be degraded while the host communication device is operational.
Embodiments of a direct-conversion RF receiver include a controller and a direct-conversion receive path comprising a continuous-time filter. The continuous-time filter receives a multiple-bit control signal generated by the controller to adjust a characteristic of the continuous-time filter. The controller generates the multiple-bit control signal in response to process variation in the semiconductor material used to implement the controller and the continuous-time filter.
An embodiment of a method for tuning an adaptive continuous-time filter comprises determining a RC-time constant, converting the RC-time constant to a digital word, comparing a select bit of the digital word to a respective bit of a predetermined reference word to generate a control bit, applying the control bit to an adjustable element to modify the RC-time constant, repeating the determining, converting, comparing and applying steps until the control bits generate an output word and providing the output word to the adaptive continuous-time filter.
The figures and detailed description that follow are not exhaustive. The disclosed embodiments are illustrated and described to enable one of ordinary skill to make and use the controller to adjust a continuous-time filter to counter the effects due to semiconductor manufacturing process variation in the output of the filter. Other embodiments, features and advantages of the controller and method for adjusting a continuous-time filter will be or will become apparent to those skilled in the art upon examination of the following figures and detailed description. All such additional embodiments, features and advantages are within the scope of the circuits and methods as defined in the accompanying claims.
The controller and method for adjusting a continuous-time filter can be better understood with reference to the following figures. The components within the figures are not necessarily to scale, emphasis instead being placed upon clearly illustrating the principles of operation. Moreover, in the figures, like reference numerals designate corresponding parts throughout the different views.
Although described with particular reference to a portable transceiver operating in a CDMA communication system, the controller can be implemented in any system where it is desirable to adjust a continuous-time filter. The controller uses a digital PLL to convert an output of an oscillator and to control a set of successive approximation registers responsive to a comparison of the output of the oscillator and a reference word to generate a multiple-bit output word. The multiple-bit output word is applied as a control input to an adaptive continuous-time filter to generate a filter response that accounts for process variation in the resistors and capacitors used to implement the filter. The controller is well-suited for applications that require a fast response that addresses process variation in a semiconductor die.
The oscillator includes an astable multivibrator that generates an output signal with a frequency determined solely by the RC time constant and a ratio of resistors. As a result, there is an excellent match between the RC time constant across the various circuits on a semiconductor die and the output frequency of the astable multivibrator. The output of the oscillator is adjusted in a discrete manner, using switched resistor or capacitor networks. An output or control word is forwarded to an adaptive continuous-time filter, which is configured with a duplicate of the network used to adjust the oscillator. A predetermined reference word is used so that the iterative determination of the control word covers only a portion of the controllable range of the oscillator. In a preferred embodiment, several bits of the output or control word are fixed or hardwired to a digital logic voltage level to further reduce the time it takes the controller to generate the output word.
The controller can be implemented in hardware, software, or a combination of hardware and software. When implemented in hardware, the controller can be implemented using specialized hardware elements and logic. When the controller is implemented partially in software, the software portion can be used to precisely control the reference word. The software can be stored in a memory and executed by a suitable instruction execution system (e.g., a microprocessor). The hardware implementation of the controller can include any or a combination of the following technologies, which are all well known in the art: discrete electronic components, a discrete logic circuit(s) having logic gates for implementing logic functions upon signals, an application specific integrated circuit having appropriate logic gates, a programmable gate array(s) (PGA), a field programmable gate array (FPGA), etc.
Software associated with the controller may comprise an ordered listing of executable instructions for reading a multiple-bit storage element, and can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions.
In the context of this document, a “computer-readable medium” can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable medium can be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic) having one or more wires, a portable computer diskette (magnetic), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory) (magnetic), an optical fiber (optical), and a portable compact disc read-only memory (CDROM) (optical). Note that the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance, via optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
Analog circuitry 124 provides analog processing functions for both received and internally generated signals within baseband subsystem 110. Some of these internally generated signals may be designated for transmission via radio-frequency (RF) subsystem 130. Baseband subsystem 110 communicates with RF subsystem 130 via bus 128 and signal converters. Consequently, RF subsystem 130 includes both analog and digital components. Generally, RF subsystem 130 includes transmitter 140, transmit/receive switch 165, receiver 170, and synthesizer 190. In this example, received signals are communicated from receiver 170 to baseband subsystem 110 via analog-to-digital converter (ADC) 134. Similarly, baseband subsystem processed signals are communicated from baseband subsystem 110 to transmitter 140 via digital-to-analog converter (DAC) 132.
DAC 132 may operate on either baseband in-phase (I) and quadrature-phase (Q) components or phase and amplitude components of the information signal (i.e., the signal to be transmitted). In the case of I and Q signals, modulator 152 is an I/Q modulator as known in the art, while in the case of phase and amplitude components, modulator 152 operates as a phase modulator utilizing only the phase component and passes the amplitude component, unchanged, to power control element 158. One or more additional DACs (not shown) may be added to provide control signals to various components within RF subsystem 130.
Modulator 152 modulates either the I and Q information signals or the phase information signal received from DAC 132 onto a frequency reference signal referred to as a “local oscillator” or “LO” signal provided by synthesizer 190 via connection 193. In this example, modulator 152 is part of upconverter 150, but it should be understood that modulator 152 may be separate from upconverter 150.
Modulator 152 also supplies an intermediate frequency (IF) signal containing only the desired amplitude modulated (AM) signal component for input to power control element 158 via connection 155. The AM signal supplied by modulator 152 via connection 155 is supplied to a reference variable gain element associated with power control element 158. The AM signal supplied by modulator 152 is an intermediate frequency (IF) AM signal with a constant (average) power level.
Synthesizer 190 determines the appropriate frequency to which the upconverter 150 will translate the modulated signal. Synthesizer 190 uses one or more voltage-controlled oscillators (VCOs), each operating at a center frequency of approximately 2.5 to 3.0 gigahertz (GHz) and frequency dividers to provide the desired LO signals to transmitter 140 and to receiver 170.
Upconverter 150 supplies a phase modulated signal at the appropriate transmit frequency via connection 153 to power amplifier 160. Power amplifier 160 amplifies the phase-modulated signal on connection 153 to the appropriate power level, as directed by power control element 158 via control interface 159, for transmission via connection 162 to antenna 164. Illustratively, switch 166 controls whether the amplified signal on connection 162 is transferred to antenna 164 or whether a received signal from antenna 164 is supplied to filter 172 in receiver 170. The operation of switch 166 is controlled by a control signal from baseband subsystem 110 via connection 165.
In the illustrated embodiment, a portion of the amplified transmit signal power on connection 162 can be supplied via connection 163 to power control element 158. Power control element 158, connection 159 and connection 163 combine to form a closed-loop power control system that provides a control signal on connection 159 that directs power amplifier 160 as to the power to which the signal on connection 153 should be amplified. Power control element 158 also receives an LO signal from synthesizer 190 via connection 191, which keeps power control element 158 in synchronization with the signal provided by upconverter 150.
A signal received by antenna 164 may, at the appropriate time determined by baseband subsystem 110, be directed via switch 166 to a receive filter 172. The receive filter 72 filters the received signal and supplies the filtered signal on connection 173 to a low noise amplifier (LNA) 174. Although a single LNA 174 is shown in
Downconverter 176 receives one or more LO signals from synthesizer 190 via connection 195. In this embodiment, the LO signals are shifted in phase by approximately 45 degrees to provide frequency translation of the in-phase and the quadrature-phase received signals without the use of poly-phase filters or large inductances in the receive signal path. Synthesizer 190 determines the frequency to which to convert the signal received from the LNA 174 via connection 175. In the case of a DCR, the received signal is converted directly to baseband frequencies (e.g., from about 100 kHz to about 630 kHz. Downconverter 176 sends the downconverted signal via connection 177 to channel filter 178. Channel filter 178 selects a desired passband to forward on connection 179 to demodulator 180. Demodulator 180 recovers the transmitted signal information (data and or voice) from a spread spectrum QPSK coded signal and supplies a signal representing this information via connection 182 to the ADC 134. ADC 134 converts these analog signals to a digital signal at baseband frequency and transfers them via bus 128 to one or more of microprocessor 120 or DSP 126 for further processing.
For example, when the time-varying output signal forwarded along connection 211 indicates that the RC time constant is smaller than expected, which results in one or more undesired characteristics in an active filter implemented with resistors and capacitors on the same semiconductor die as those in RC time constant replicator 204, the output word on connection 220 directs the RC time constant replicator 204 to increase the RC time constant in a controlled manner. The adjusted output signal of the RC time constant replicator 204 is forwarded to digitizer 208 and word generator 216 to generate successively finer control adjustments until the desired output response is obtained. When the time-varying output signal indicates that the RC time constant is greater than expected, which results in undesired characteristics in an active filter implemented with resistors and capacitors on the same semiconductor die as those in the RC time constant replicator 204, the output word on connection 220 directs the RC time constant replicator 204 to decrease the RC time constant in a controlled manner. As described above, the adjusted output signal of the RC time constant replicator 204 is processed by controller 200 until a desired response time as defined by the first and second timing signals from timing block 206 is obtained. The output word is then available for application to adjust active filters, such as adaptive continuous-time filter 250 (
In the plot of
Ripple counter 440 and the successive approximation registers 460 operate in accordance with respective signals from timing block 206. In this regard, timing block 206 receives a system reference clock on connection 212 and forwards a first timing signal along connection 209 to a first input of OR gate 430. Timing block 206 forwards a second timing signal along connection 207 to the successive approximation registers 460. In an example embodiment, the system clock provided on connection 212 has a frequency of 19.2 MHz, the output or control word consists of 8 bits with the three most significant bits of the 8-bit word being fixed or hardwired to respective digital voltage levels and the five (5) least significant bits being used to adjust the array of elements 470 to controllably modify the output frequency of the oscillator 400. With the three (3) most significant bits of the 8-bit output word hardwired, controller 200 generates the output word in 28−3 clock cycles. Using a reference or system clock frequency of 19.2 MHz, the controller 200 generates the output word in under 2 μSec.
Thus, the frequency of the time-varying output signal is a function of the ratio of the resistance values of resistors R1 and R2 and the capacitance of variable capacitor 600 (Cv) and resistor 700 (Rv).
As further illustrated in
Variable capacitor 600 comprises a network of capacitors coupled in parallel with a respective capacitor under the switched control of a corresponding bit of the output word. Capacitor 610, having a capacitance of C picofarads (pF), is coupled in series with switch 611, which operates in accordance with the state of bit B4 of the example 5-bit output word 220. Capacitor 620, having a capacitance of C/2 pF, is coupled in series with switch 612, which operates in accordance with the state of bit B3 Capacitor 630, having a capacitance of C/4 pF, is coupled in series with switch 631, which operates in accordance with the state of bit B2 Capacitor 640, having a capacitance of C/8 pF, is coupled in series with switch 641, which operates in accordance with the state of bit B1 Capacitor 650, having a capacitance of C/16 pF, is coupled in series with switch 651, which operates in accordance with the state of bit B0 Accordingly, the capacitance of variable capacitor 600 can be controllably adjusted to one of 32 (2N) discrete values. When resistor 700 is held constant, the RC time constant is discretely adjusted by controllably opening or closing one or more of switch 611, switch 621, switch 631, switch 641, and switch 651.
Alternative arrangements are possible and contemplated. For example, one or more capacitors having various capacitances can be added in series with one or more of the illustrated capacitors. By way of further example, the relationship between the capacitance of any one of the example capacitors and the binary weight of the corresponding control bit may be changed. That is, instead of control bit B0 of output word 220 resulting in the addition of C/16 pF of capacitance to the overall value of variable capacitor 600, if capacitor 650 is replaced by a capacitor having a capacitance of C/12, the closing of switch 651 adds a capacitance that is no longer directly related to the binary value of output word 220.
Variable resistor 700 comprises a network of resistors coupled in series with each respective resistor with the exception of resistor 711 under the switched control of a corresponding bit of the output word. Resistor 711, having a resistance of R kOhms, is coupled to resistor 721, resistor 731, resistor 741, resistor 751 and resistor 761. Each successive resistor in the resistor network has a resistance that is a factor of 2N higher than the preceding resistor. Resistor 721, having a resistance of 2R kOhms, is coupled in parallel with switch 720, which operates in accordance with bit B0. Resistor 731, having a resistance of 4R kOhms, is coupled in parallel with switch 730, which operates in accordance with bit B1. Resistor 741, having a resistance of 8R kOhms, is coupled in parallel with switch 740, which operates in accordance with bit B2. Resistor 751, having a resistance of 16R kOhms, is coupled in parallel with switch 750, which operates in accordance with bit B3. Resistor 761, having a resistance of 32R kOhms, is coupled in parallel with switch 760, which operates in accordance with bit B4. Accordingly, the resistance of variable resistor 700 can be controllably adjusted to one of 32 (2N) discrete values. When capacitor 610 is held constant, the RC time constant is discretely adjusted by controllably opening or closing one or more of switch 720, switch 730, switch 740, switch 750 and switch 760.
Alternative arrangements are possible and contemplated. For example, one or more resistors having various resistance values can be added to one or more of the illustrated resistors in a parallel coupled arrangement. By way of further example, the relationship between the resistance of any one of the example resistors and the binary weight of the corresponding control bit may be changed. That is, instead of control bit B0 of output word 220 resulting in the addition of 2R kOhms of resistance to the overall value of variable resistor 700, if resistor 721 is replaced by a resistor having a resistance of 3R, the opening of switch 720, via bit B0, adds a resistance that is no longer directly related to the binary value of output word 220.
Method 800 begins with block 802 where an RC time constant is determined. Next, in block 804, the RC time constant is converted to a digital word. Thereafter, as indicated in block 806, a select bit of the digital word is compared to a respective bit of a predetermined reference word to generate a control bit. In block 808, the control bit is applied to an adjustable element to adjust the RC time constant. In decision block 810 a determination is made as to whether each control bit has been processed. When it is determined that there are additional control bits to process, as indicated by the flow control arrow exiting decision block 810 labeled “YES,” the functions associated with block 802 through block 808 are repeated. Otherwise, when it is determined that there are no control bits to process, as indicated by the flow control arrow exiting decision block 810 labeled “NO,” processing continues with block 812 where an output word including the previously determined control bits is forwarded to an adaptive continuous-time filter.
While the flow diagram of
The foregoing description has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the scope of the claims to the precise forms disclosed. Modifications or variations are possible in light of the above teachings. The embodiments discussed, however, were chosen and described to enable one of ordinary skill to utilize various embodiments of the phase-locked loop based controller and methods for adjusting an adaptive continuous-time filter. All such modifications and variations are within the scope of the appended claims when interpreted in accordance with the breadth to which they are fairly and legally entitled.
Number | Name | Date | Kind |
---|---|---|---|
4163218 | Wu | Jul 1979 | A |
5303406 | Hansen et al. | Apr 1994 | A |
5345119 | Khoury | Sep 1994 | A |
7869780 | Youssoufian et al. | Jan 2011 | B2 |
Number | Date | Country | |
---|---|---|---|
20110075777 A1 | Mar 2011 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11737426 | Apr 2007 | US |
Child | 12960183 | US |