I. Field
The present disclosure relates generally to electronics, and more specifically to a frequency modulation (FM) transmitter.
II. Background
An FM transmitter is a circuit that modulates the frequency of a carrier signal with a modulating signal and provides an FM signal carrying information in the frequency of the signal. An FM transmitter may be implemented in various electronics devices such as a wireless communication device. It is desirable to implement an FM transmitter as efficiently as possible in terms of cost, circuit area, power consumption, etc. This may be especially true for a wireless device that may include other transmitters and/or receivers for other radio technologies.
An FM transmitter with good performance and certain advantages in implementation is described herein. In an exemplary design, the FM transmitter comprises a delta-sigma modulator and a phase-locked loop (PLL). The delta-sigma modulator may receive a modulating signal and provide a modulator output signal. The modulating signal may comprise an FM stereo multiplex (MPX) signal having a left plus right (L+R) audio component and a left minus right (L−R) audio component. The PLL may perform frequency modulation based on the modulator output signal and provide an FM signal.
The FM transmitter may further comprise a gain/phase compensation unit that can compensate the modulating signal for the closed-loop response of the PLL. The FM transmitter may further comprise a divider and a scaling unit. The divider may divide the FM signal in frequency based on a fixed divider ratio K and provide an output FM signal. The divider may allow the PLL to operate at a higher frequency, which may provide certain advantages described below. The scaling unit may scale the amplitude of the modulating signal based on a gain to obtain a target frequency deviation for the FM signal. The divider ratio K may be determined based on a selected FM channel for the FM signal, and the gain may be determined based on the divider ratio K.
In one exemplary design, the PLL may be operable in either a transmit mode or a receive mode. The PLL may perform frequency modulation based on the modulator output signal and may provide the FM signal in the transmit mode. The PLL may provide a local oscillator (LO) signal at a fixed frequency in the receive mode. In one exemplary design, the PLL may comprise at least one component having different programmable values for the transmit mode and the receive mode. For example, the PLL may comprise a programmable current for a charge pump, a programmable capacitor for a loop filter, a programmable resistor for the loop filter, a programmable voltage-controlled oscillator (VCO) gain for a VCO, and/or other programmable components.
Various aspects and features of the disclosure are described in further detail below.
The word “exemplary” is used herein to mean “serving as an example, instance, or illustration.” Any design described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other designs.
Within FM transmitter 120, an FM encoder 122 receives data for a left audio channel (Left_out), data for a right audio channel (Right_out), and Radio Data System (RDS) data for a data channel. The left and right audio channels may carry stereo audio, and the data channel may carry data (e.g., text) to be sent with the stereo audio. FM encoder 122 encodes the data for the three channels and provides an FM stereo multiplex (MPX) signal. The FM MPX signal includes a left plus right (L+R) audio component from DC to 15 kilohertz (KHz), a left minus right (L−R) audio component from 23 KHz to 53 KHz, and a data component at 57 KHz.
A gain/phase compensation unit 124 receives the FM MPX signal, performs gain and/or phase compensation to account for gain and/or phase distortion by a subsequent PLL, and provides a compensated FM MPX signal. The gain/phase compensation may also be referred to as pre-distortion. A modulation scaling unit 126 scales the compensated FM MPX signal to obtain the target frequency deviation and provides a scaled FM MPX signal. A summer 128 sums the scaled FM MPX signal with a factional value for a selected FM channel and provides a modulator input signal. A delta-sigma (ΔΣ) modulator 130 receives the modulator input signal having multiple bits of resolution at a relatively low input rate and generates a modulator output signal having the same resolution but using one or few bits at a high output rate. A summer 132 sums the modulator output signal with an integer value for the selected FM channel and provides a frequency control signal. The factional value and the integer value for the selected FM channel may be determined as described below.
A PLL and divider 140 modulate the frequency of an oscillator signal based on the frequency control signal from ΔΣ modulator 130, as described below, and provide an output FM signal. A power amplifier (PA) 142 amplifies the output FM signal to obtain the desired output signal level and provides a transmit FM signal, which is transmitted via an antenna 144. Power amplifier 142 may comprise a driver amplifier, an output amplifier, etc.
A control unit 146 receives information indicating the selected FM channel on which to transmit the output FM signal. Control unit 146 provides a gain G to modulation scaling unit 126 to obtain the proper amplitude scaling of the FM MPX signal for the selected FM channel, as described below. Control unit 146 also determines the frequency of the selected FM channel, determines the fractional value and the integer value for the selected FM channel frequency, provides the fractional value to summer 128, and provides the integer value to summer 132. Control unit 146 also provides various controls to PLL and divider 140 to obtain the desired PLL operating characteristics, as described below.
Within FM receiver 150, a low noise amplifier (LNA) 152 receives and amplifies a received FM signal from antenna 144 and provides an input FM signal to a downconverter 154. A local oscillator (LO) signal generator 148 obtains a receive LO signal at a selected FM frequency from PLL and divider 140, generates inphase (I) and quadrature (Q) LO signals based on the receive LO signal, and provides the I and Q LO signals to downconverter 154. Downconverter 154 downconverts the input FM signal with the I and Q LO signals and provides I and Q downconverted signals. The I and Q downconverted signals are filtered by analog filters 156, buffered by buffers 158, and digitized by analog-to-digital converters (ADCs) 160 to obtain I and Q input samples. The I and Q samples are filtered by digital filters 162 and demodulated by an FM demodulator (Demod) 164 to obtain L+R and L−R audio components. An FM decoder 166 decodes the L+R and L−R audio components and provides a left audio signal (Left_in) and a right audio signal (Right_in).
In the exemplary design shown in
Divider 222 divides the oscillator signal in frequency by a fixed integer divider ratio K and provides a divided oscillator signal. The divider ratio K may be dependent on the selected FM channel, as described below. Switch 224 provides the divided oscillator signal as an output FM signal to PA 142 when FM transmitter 120 is selected in the transmit mode. Switch 224 provides the divided oscillator signal as the receive LO signal to LO signal generator 148 when FM receiver 150 is selected in the receive mode. Although not shown in
The frequency of the oscillator signal is determined by the frequency of the selected FM channel and may be expressed as:
f
osc
=K·f
ch, Eq (1)
where fch is the selected FM channel frequency, and
fosc is the oscillator signal frequency.
The oscillator signal frequency is related to the reference signal frequency, as follows:
f
osc
=Q·f
ref, Eq (2)
where fref is the reference signal frequency, and
Q is the divider ratio of multi-modulus divider 220.
The divider ratio Q of multi-modulus divider 220 may be expressed as:
As shown in equation (3), the divider ratio Q of multi-modulus divider 220 is dependent on the selected FM channel frequency, the reference signal frequency (which is typically a fixed frequency), and the divider ratio of divider 222 (which is fixed for the selected FM channel). The divider ratio Q may be a non-integer value and may be decomposed into an integer portion N and a fractional portion F, as follows:
N=└Q┘, and Eq (4a)
F=Q−N, Eq (4b)
where └Q┘ denotes a floor operator that provides the largest integer value that is less than or equal to Q. In general, 1≦N, 0<F<1 and Q=N+F.
Control unit 146 receives information indicative of the selected FM channel. Control unit 146 determines the divider ratio K, the integer portion N, and the fraction portion F based on the selected FM channel. Control unit 146 may store a look-up table having one entry of K, N and F for each FM channel that can be selected. Control unit 146 may then access the look-up table to determine K, N and F for the selected FM channel. Control unit 146 may also determine K, N and F for the selected FM channel in other manners. In any case, control unit 146 provides the divider ratio K to divider 222, the fraction portion F to summer 128, and the integer portion N to summer 132.
In the transmit mode, summer 128 sums the factional portion F from control unit 146 and the scaled FM MPX signal from modulation scaling unit 126 and provides the modulator input signal. Delta-sigma modulator 130 receives the modulator input signal and generates a bit sequence of ones (‘1’) and zeros (‘0’), with the percentage of ones being dependent on the modulator input signal. However, the ones and zeros are distributed in the bit sequence such that most of quantization noise is shaped to appear at high frequency and may be more easily filtered out by loop filter 216. Summer 132 sums the bit sequence from delta-sigma modulator 130 with the integer portion N and provides an instantaneous divider ratio to divider 220. The instantaneous divider ratio may be equal to either N or N+1, depending on whether a zero or a one is provided by delta-sigma modulator 130. The instantaneous divider ratio is thus a variable divider ratio that is dependent on both the selected FM channel and the scaled FM MPX signal.
In the receive mode, summer 128 sums the factional portion F from control unit 146 and a fixed value (e.g., zero) from modulation scaling unit 126 and provides the modulator input signal. Delta-sigma modulator 130 and summer 132 operate as described above and provide an instantaneous divider ratio to divider 220. The instantaneous divider ratio may be equal to either N or N+1 and is a variable divider ratio that is dependent on only the selected FM channel.
PLL 210 performs digital FM modulation in the transmit mode. Digital FM modulation refers to frequency modulation of an oscillator signal to obtain a digital frequency modulated signal, i.e., the output FM signal. The output FM signal has constant amplitude with fixed high and low digital levels, and information is stored in the instantaneous frequency of the output FM signal. The frequency of the oscillator signal may be modulated by varying the divider factor of multi-modulus divider 220 based on the FM MPX signal. The frequency control signal from summer 132 includes the variable divider ratio for divider 220 and hence determines the instantaneous frequency of the FM signal.
PLL 210 operates as a normal PLL without frequency modulation in the receive mode. In the receive mode, the divider factor of multi-modulus divider 220 is determined based only on the selected FM channel, and the oscillator signal frequency is fixed at Q times the selected FM channel frequency.
In both the transmit and receive modes, PLL 210 locks the oscillator signal frequency to the reference signal frequency. Hence, changing the divider ratio of divider 220 changes the frequency of the oscillator signal.
Frequency modulation is accomplished by controlling the divider ratio of divider 220 such that the oscillator signal frequency is modulated by the instantaneous deviations of the FM MPX signal. Frequency modulation is thus achieved via an in-loop frequency modulation scheme that may be viewed as changing the phase of the feedback signal from divider 220. The frequency modulation would then undergo lowpass filtering, which is defined by the closed-loop response of PLL 210. The closed-loop response of PLL 210 may be designed to obtain the desired performance, which may be quantified by phase noise, tracking and acquisition time, etc.
Ideally, the closed-loop response of PLL 210 should have constant gain and linear phase across the entire range of frequency modulation. In practice, the closed-loop response will deviate from the ideal response by some amount. It may be desirable to reduce the impact of the closed-loop response of PLL 210 on the frequency modulation. This may be achieved by keeping the frequency modulation well within a 3 dB closed-loop bandwidth of PLL 210. Equivalently, the closed-loop bandwidth of PLL 210 may be set sufficiently higher than the frequency modulation. Nevertheless, there may be some gain and/or phase distortion of the frequency modulation due to the closed-loop response of PLL 210.
In one exemplary design, the FM MPX signal may be pre-distorted to compensate for gain and/or phase distortion due to the closed-loop response of PLL 210. The L+R audio component in the FM MPX signal resides at low frequency (e.g., from DC to 15 KHz) whereas the L−R audio component in the FM MPX signal resides at higher frequency (e.g., from 23 to 53 KHz). The L+R audio component and the L−R audio component may thus observe different gains and relative phases due to the closed-loop response of PLL 210. The pre-distortion may allow for better recovery of the left and right audio signals from the L+R audio component and the L−R audio component in the FM MPX signal.
In one exemplary design of gain and phase compensation, the closed-loop response of PLL 210 may be determined, e.g., via computer simulation or empirical lab measurements. The amplitude and phase of an equalizer may then be determined based on the closed-loop response of PLL 210 such that the overall response of the equalizer and the PLL is as close to an ideal response as possible. This may be achieved by iteratively varying coefficients of the equalizer and measuring the overall response until (i) the amplitude response is as flat as possible, e.g., from DC to 60 KHz, and (ii) group delay variation is minimized, e.g., from DC to 60 KHz. Gain and phase compensation may thus be achieved for the closed-loop response of PLL 210.
FIR filter 310 includes L taps, where L may be any suitable value. For example, L may be equal to 3, 5, 7, 9, etc. FIR filter 430 includes L−1 delay elements 314b through 314l that are coupled in series, with delay element 314b receiving the FM MPX signal from FM encoder 122 in
IIR filter 320 includes M taps, where M may be any suitable value. For example, M may be equal to 2, 3, etc. Within IIR filter 320, a summer 322 sums the filtered FM MPX signal from FIR filter 310 with the output of a summer 328 and provides the compensated FM MPX signal. M delay elements 324a through 324m are coupled in series, with delay element 324a coupled to the output of summer 322. Each delay element 324 provides a delay of one sample period. M multiplier 326a through 326m are coupled to the outputs of M delay elements 324a through 324m, respectively. Multipliers 326a through 326m multiply their inputs with coefficients b1 through bM, respectively. Summer 328 sums the outputs of all M multipliers 326a through 326m and provides its output to summer 322.
In one exemplary design, PLL 210 may operate at high frequency, which may be much higher than FM frequency. For example, the FM frequency may be within a range of 87.5 to 108.0 megahertz (MHz), and PLL 210 may operate at over one gigahertz (GHz). The higher operating frequency of PLL 210 may provide certain advantages such as better phase noise and smaller circuit components (e.g., smaller capacitors, inductors, etc.) for oscillator 218 and other circuit blocks within PLL 210.
In one exemplary design, different divider ratios may be used for divider 222 for different FM channels. For example, VCO 218 may operate near 3.0 GHz, a divider ratio of K=28 may be used for an FM channel near 108 MHz, a divider ratio of K=32 may be used for an FM channel near 95 MHz, a divider ratio of K=34 may be used for an FM channel near 88 MHz, etc. In general, the divider ratio K for divider 222 may range from Kmax for the lowest FM channel to Kmin for the highest FM channel. Kmax and Kmin may be determined by the nominal frequency of VCO 218 and the FM frequency range. The divider ratio K may be dependent on the nominal frequency for VCO 218 and the selected FM channel. The use of different divider ratios for different FM channels may reduce the tuning range requirements of VCO 218, which may be desirable.
The gains of various circuit blocks within FM transmitter 120 may be set to obtain a target frequency deviation for the FM signal from PLL 210. Frequency deviation is the difference between the highest and lowest frequency of the FM signal. The divider ratio K for divider 222 may be changed for different FM channels, as described above. Different divider ratios K would result in different center frequencies for the FM signal as well as different frequency deviations for the FM signal.
For example, the lowest divider ratio Kmin may be used for the highest FM channel, and the target frequency deviation Δftarget may be obtained for the FM signal on the highest FM channel. If divider ratio K is used for a selected FM channel, then the frequency deviation for the FM signal on the selected FM channel may be expressed as:
where ΔfK is the frequency deviation for the FM signal on the selected FM channel. For example, Δftarget may be equal to 75 KHz for Kmin=28, and ΔfK may be equal to 65.6 KHz for K=32.
Modulation scaling unit 126 receives the compensated FM MPX signal from gain/phase compensation unit 124 and the gain G from control unit 146. The gain may be dependent on the divider ratio K, which may in turn be dependent on the selected FM channel. In one exemplary design, the gain G may be determined as follows:
where Kref is a divider ratio that provides the target frequency deviation with G=1. If Kref=Kmin then G=K/Kmin. For the example above with Kmin=28, the gain would be G=1.423 for K=32.
The compensated FM MPX signal may have constant amplitude. Modulation scaling unit 126 scales the amplitude of the compensated FM MPX signal with the gain G and provides the scaled FM MPX signal having variable amplitude. FM modulator 134 frequency modulates the oscillator signal with the scaled FM MPX signal and provides the FM signal. The FM signal is centered at the oscillator signal frequency fosc and has variable frequency deviation, which is determined by the variable amplitude of the scaled FM MPX signal. Divider 222 divides the FM signal in frequency by the divider ratio K and provides the output FM signal. The output FM signal is centered at the selected FM channel frequency fch and has the target frequency deviation.
Within charge pump 214, a current source 622 is coupled between the power supply and node C, and a current source 624 is coupled between node C and circuit ground. Current source 622 receives the Up signal from flip-flop 612 and provides a current of Icp to loop filter 216 when the Up signal is enabled. Current source 624 receives the Down signal from flip-flop 614 and sinks a current of Icp from loop filter 216 when the Down signal is enabled.
Unit 618 provides a short delay to combat a dead zone in charge pump 214. Current sources 622 and 624 need some amount of time to turn on and off. This transition time is referred to as the dead zone since, during the transition time, phase information in the Up and Down signals is lost. The short delay combats the dead zone.
Within loop filter 216, a capacitor 632 is coupled between node C and circuit ground. A resistor 634 and a capacitor 636 are coupled in series, and the combination is coupled between node C and circuit ground. Loop filter 216 implements a second-order loop. The values of capacitors 632 and 636 and resistor 634 may be selected to obtain the desired closed-loop bandwidth for PLL 210. Node C provides the control voltage for VCO 218.
Resonator tank 712 includes an inductor 732, a varactor 734, and a tuning section 740, all of which are coupled in parallel and between nodes A and B. Varactor 734 may be adjusted to obtain the desired oscillation frequency for VCO 218. In the exemplary design shown in
In one exemplary design, PLL 210 may have different characteristics for the transmit mode and the receive mode. For example, the closed-loop bandwidth of PLL 210 may be different for the transmit and receive modes. The closed-loop bandwidth for the transmit mode may be wider than the closed-loop bandwidth for the receive mode in order to reduce gain and phase variations of the closed-loop PLL transfer function in the transmit mode. This may allow PLL 210 to meet FM stereo channel separation requirements. A more narrow closed-loop bandwidth may be used for the receive mode in order to reduce far-out phase noise. This may allow PLL 210 to meet FM selectivity requirements in the presence of adjacent and alternate channel interferers.
The loop characteristics of PLL 210 may be varied by changing various components within PLL 210. For example, the loop characteristics may be varied by changing the amount of current Icp within charge pump 214 in
The exemplary designs of FM transmitter 120 and FM receiver 150 in
In an exemplary design, an apparatus may comprise a delta-sigma modulator and a PLL for an FM transmitter. The delta-sigma modulator may receive a modulating signal and provide a modulator output signal. The modulating signal may comprise an FM MPX signal having an L+R audio component and an L−R audio component. The modulating signal may also comprise other types of signals. The PLL may perform frequency modulation based on the modulator output signal and provide an FM signal.
The apparatus may further comprise first and second summers. The first summer (e.g., summer 128 in
In one exemplary design, the apparatus may comprise a gain/phase compensation unit to compensate the modulating signal for the closed-loop response of the PLL. The gain/phase compensation unit may comprise a FIR filter (e.g., FIR filter 310 in
In one exemplary design, the apparatus may comprise a divider (e.g., divider 222 in
In one exemplary design, the PLL may comprise a VCO, a multi-modulus divider, a phase-frequency detector, a charge pump, and a loop filter, e.g., as shown in
In one exemplary design, the PLL may be operable in a transmit mode or a receive mode. The PLL may perform frequency modulation based on the modulator output signal and may provide the FM signal in the transmit mode. The PLL may provide an LO signal at a fixed frequency in the receive mode. In one exemplary design, the PLL may comprise at least one component having different programmable values for the transmit mode and the receive mode. For example, the PLL may comprise a programmable current for the charge pump, a programmable capacitor for the loop filter, a programmable resistor for the loop filter, a programmable VCO gain for the VCO, and/or other programmable components.
In one exemplary design, the apparatus may comprise an LO signal generator and a downconverter for an FM receiver. The LO signal generator may receive the oscillator signal from the PLL and provide I and Q LO signals. The downconverter may receive and downconvert an input FM signal with the I and Q LO signals and provide I and Q downconverted signals. The apparatus may further comprise an FM demodulator and an FM decoder. The FM demodulator may receive I and Q samples obtained from the I and Q downconverted signals, respectively, and provide an FM MPX signal. The FM decoder may process the FM MPX signal and provide left and right audio signals.
Delta-sigma modulation may be performed on the modulating signal to obtain a modulator output signal (block 816). Frequency modulation (FM) may be performed with the PLL based on the modulator output signal to obtain the FM signal (block 818). In an exemplary design, the FM signal may be divided in frequency based on the fixed divider ratio K to obtain an output FM signal (block 820). The divider ratio K may be determined based on the selected FM channel for the FM signal.
In one exemplary design of block 818, an oscillator signal may be generated based on a control signal and may be provided as the FM signal. The oscillator signal may be divided in frequency by a variable divider ratio Q to obtain a feedback signal. The variable divider ratio Q may be determined based on the modulator output signal. An error signal may be generated based on a reference signal and the feedback signal. The error signal may be filtered to obtain the control signal.
In one exemplary design, at least one programmable component within the PLL may be varied based on whether a transmit mode or a received mode is selected for the PLL. The at least one programmable component may comprise a programmable current for a charge pump, a programmable capacitor for a loop filter, a programmable resistor for the loop filter, a programmable VCO gain for a VCO, etc.
The FM transmitter and FM receiver described herein may be implemented on an IC, an analog IC, an RFIC, a mixed-signal IC, an ASIC, a printed circuit board (PCB), an electronics device, etc. The FM transmitter and FM receiver may also be fabricated with various IC process technologies such as complementary metal oxide semiconductor (CMOS), NMOS, PMOS, bipolar junction transistor (BJT), bipolar-CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
An apparatus implementing the FM transmitter and/or FM receiver described herein may be a stand-alone device or may be part of a larger device. A device may be (i) a stand-alone IC, (ii) a set of one or more ICs that may include memory ICs for storing data and/or instructions, (iii) an RFIC such as an RF receiver (RFR) or an RF transmitter/receiver (RTR), (iv) an ASIC such as a mobile station modem (MSM), (v) a module that may be embedded within other devices, (vi) a receiver, cellular phone, wireless device, handset, or mobile unit, (vii) etc.
In one or more exemplary designs, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.