Embodiments herein relate to an attenuator for attenuating a signal. In particular, they relate to a radio frequency wideband step attenuator for attenuating a radio frequency signal in an electronic device.
Attenuators are circuits used to control amplitude of a signal either continuously or in steps. When the signal is controlled in steps by an attenuator, the attenuator is referred as a step attenuator. The attenuators or step attenuators are widely employed in various electronic devices, e.g. radio frequency transceivers or radio frequency frontends in wireless communication devices including, for example user equipment or mobile devices and base stations, multi-antenna systems in radio base stations for both communication and localization, as well as in other general electronic circuits and equipment, such as automatic gain control circuits and measurement equipment etc. For radio frequency frontends, an on-chip step attenuator designed in Complementary Metal-Oxide-Semiconductor (CMOS) technology has advantages of small size, low cost, flexible and high integration level etc. There are some requirements for designing on-chip step attenuators, such as good linearity, low insertion loss, wide bandwidth and accuracy in attenuation steps etc.
In Cheng, W. et al, A Wideband IM3 Cancellation Technique for CMOS Attenuators, IEEE International Solid-State Circuits Conference, 2012, and in Cheng, W. et al, A Wideband IM3 Cancellation Technique for CMOS π- and T-Attenuators, IEEE Journal of Solid-State Circuits, 2013, Vol. 48, NO. 2, on-chip Pi-type and T-type step attenuators are disclosed which provide attenuation steps of 6, 12, 18 and 24 dB. However, the disclosed Pi-type and T-type step attenuators have large insertion loss when working at lower attenuation mode, i.e. when attenuation level is lower, such as attenuation steps of 6 or 12 dB, especially when no attenuation is needed. High insertion loss will reduce gain and required signal to noise ratio (SNR) for input signals. Further, the disclosed Pi-type and T-type step attenuators also suffer from switch leakages which damage attenuation levels for the input signals at high frequencies during deep attenuation mode.
In Xiao, J. et al, A High Dynamic Range CMOS Variable Gain Amplifier for Mobile DTV Tuner, IEEE Journal of Solid-State Circuits, 2007, Vol. 42, No. 2, a variable gain amplifier suitable for mobile digital television (DTV) tuners is presented. Variable gain is achieved by using a capacitive attenuator and current-steering transconductance stages. Although the presented variable gain amplifier provides gain and attenuation, its linearity is poor due to active devices, i.e. the transconductance stages. A poor linearity will result in poor frequency selectivity for a radio frequency front-end, and thus degrade required SNR due to interferences from other unwanted frequency signals.
Therefor it is an object of embodiments herein to provide an attenuator with improved performance.
According to one aspect of embodiments herein, the object is achieved by an attenuator for attenuating a signal. The attenuator comprises a differential input port with a positive input node and a negative input node to receive the signal, and a differential output port with a positive output node and a negative output node to output the attenuated signal. The attenuator further comprises a first switched resistor network connected between the positive input node and the positive output node; and a second switched resistor network connected between the negative input node and the negative output node. The attenuator further comprises a pair of compensation paths for cancellation of parasitic leakages in the first and second switched resistor networks. The pair of compensation paths is connected such that a first compensation path is connected between the positive input node and the negative output node, and a second compensation path is connected between the negative input node and the positive output node. The attenuator further comprises a control circuit to generate control signals for controlling the first and second switched resistor networks.
Since the attenuator according to embodiments herein uses the pair of compensation paths, parasitic leakages in the first and second switched resistor networks are cancelled. The cancellation is achieved by cross-coupling the pair of compensation paths, i.e. the first compensation path is connected between the positive input node and the negative output node, and the second compensation path is connected between the negative input node and the positive output node. In this way, any leakage signals at the positive input node are coupled to the negative output node, so as to cancel any leakage signals at the negative output node. In the same way, any leakage signals at the negative input node are coupled to the positive output node, so as to cancel any leakage signals at the positive output node. This results in a good attenuation performance, especially at high frequencies and in deep attenuation steps. Further the switched resistor networks are passive and therefor have a high linearity.
Thus, embodiments herein provide attenuators with improved performance on e.g. linearity and attenuation levels at high frequencies and in deep attenuation steps, etc.
Examples of embodiments herein are described in more detail with reference to attached drawings in which:
A general view of an attenuator 100 for attenuating a signal according to embodiments herein is shown in
The attenuator 100 further comprises a first switched resistor network 102 connected between the positive input node Inp and the positive output node Outp, and a second switched resistor network 104 connected between the negative input node Inn and the negative output node Outn. The first and second switched resistor networks 102/104 are configured to create desired attenuation.
The attenuator 100 further comprises a pair of compensation paths for cancellation of parasitic leakages in the first and second switched resistor networks 102/104. As shown in
Further, a control circuit 110 is also comprised in the attenuator 100 to generate control signals for controlling the first and second switched resistor networks 102/104.
According to some embodiments, the control circuit 110 in the attenuator 100 may be further configured to generate control signals for controlling the pair of compensation paths 106/108.
The control signals CtrIS, CtrIP and CtrINC are generated by the control circuit 110 through digital data interface. The first and second switched resistor networks 102/202 are controlled by the control signals CtrIP and CtrIS so that the resistance values of the first and second switched resistor networks 102/202 are tunable. The control signal CtrINC is to control the compensation path 106/108.
According to some embodiments, the attenuator 100 may further comprise a first pair of inductors L1a/L1b connected at the differential input port Inp/Inn and a second pair of inductors L2a/L2b connected at the differential output port Outp/Outn. In these embodiments, the first and second switched resistor networks 102/104 are coupled to the differential input/output port via the first and second pair of inductors, respectively. The first and second pair of inductors L1a/L1b, L2a/L2b are used to compensate the bandwidth of the attenuator 100. According to some embodiments, the first and second pair of inductors are mutually coupled inductors, with coupling coefficients M1 and M2 respectively.
According to one embodiment, the attenuator 100 may be implemented by circuits shown in
As shown in
According to one embodiment, the attenuator 100 may be implemented by circuits shown in
As shown in
According to some embodiments, the switchably variable series resistor Rs may be implemented by circuits shown in
As shown in
As shown in
As shown in
When the switchably variable series resistor Rs comprises multiple switched resistor branches 400, 401, . . . 40n, the control signal CtrIS generated by the control circuit 110 comprises multiple control signlas Ctrls0, Ctrls1, . . . , Ctrlsn to control the switch in each branch, where n is positive integer. The control signal CtrIS further comprises Ctrlspass to control the by-pass path 40b.
According to some embodiments, the switchably variable parallel resistor Rp may be implemented by circuits shown in
As shown in
When the switchably variable parallel resistor Rp comprises multiple switched resistor branches 500, 501, . . . 50m, the control signal CtrIP generated by the control circuit 110 comprises multiple control signals CtrIp0, Ctrlp1, . . . , Ctrlpm to control the switch in each branch, where m is positive integer.
According to some embodiments, the compensation path 106/108 may be implemented by circuits shown in
According to some embodiments, each switched capacitor branch in the compensation path 106/108 further comprises a switch connected in series with the capacitor Cnc, Cnc0, Cnc1, . . . Cnck and the resistor Rnc, Rnc0, Rnc1, . . . Rnck.
When the compensation path 106/108 comprises multiple switched capacitor branches, the control signal CtrINC comprises multiple control signals CtrInck, CtrInc1, . . . CtrInc0 to control the switch in each branch, where k is an integer larger or equal to 0.
Implementation details, performance and advantages of the attenuator 100 according to embodiments herein are described below. As described above, the switched resistor network 102/104 are used to set the desired attenuation. In order to show the relation between the desired attenuation and the resistor value, example design equations are derived for the Pi-type switched resistor network 202/204. A simplified equivalent circuit of the Pi-type switched resistor network 202/204 without the compensation path is shown in
For simplicity, the Pi-type switched resistor network 202/204 connected in single-ended in
R
L
=Rp∥(RL∥Rp+Rs) Eq. (1)
While in matched condition, the voltage gain vg is given by
From matching requirement, it is given
Rs·Rp
2·2·RL2·Rp·RL2·Rs=0 Eq. (3)
So Rs may be expressed as
Replace Rs in the attenuation or gain expression (2) with Rs expression in (4), which gives
Where
for an ideal pure resistor case.
Rp may be written as a function of desired attenuation
Where
and VG is the required or desired attenuation in unit of dB.
It should be noted that above equations are example design equations for Pi-type switched resistor network, the skilled person will appreciate that for T-type switched resistor network, design equations will be different.
Turning back to
The switched resistor branches 400, 401, . . . , 40n are used for different attenuation settings including the by-pass mode. In the by-pass mode, all control signals Ctrls0, Ctrls1, . . . , Ctrlsn are set to logic high, so all switches in the switched resistor branches 400, 401, . . . , 40n are conducting, this reduces the insertion loss further.
While in other attenuation settings, only some of the switched resistor branches 400, 401, . . . , 40n conduct, and provide a resistance value Rs according to the expression given by Eq. (4). Due to silicon process variations, resistance value for an on-chip resistor may vary in a range of ±25%. Therefor in practice, more control bits may be added for trimming the resistance.
The resistors in the switched resistor branches 400, 401, . . . , 40n may be designed, e.g. in a binary weighted size, i.e. Rs0=R, Rs1=R/2, Rsn=R/2n. For the switched resistor branch 40n, it may be viewed as 2n branches of unit resistor cell R in parallel. So Rsn is the smallest one in resistance, and switch Tsn is the largest one in size. Enlarging the size of Tsn may reduce the impact of the conducting resistance Ron of the switch Tsn, so as to improve the linearity, but at a cost of introducing larger parasitic capacitances in the signal path. Therefore, bootstrap path used here to improve the linearity is more effective for the larger size switches, as shown in
For the switchably variable parallel resistor Rp, as shown in
In other attenuation modes, the value of Rp may be chosen according Eq. (6). Bootstrap paths are also optionally used depending on size of the switch, e.g. a bootstrap path is used for largest switch Tpm in the switched resistor branch 50m, and ignored for the smallest switch Tp0 in the switched resistor branch 500, as shown in
In practice, due to parasitic capacitances between the three nodes, i.e. gate, drain and source of the switch Tb, parasitic leakages exist, and these leakages damage attenuation settings in deep attenuation steps.
As shown in
As described above, the compensation path 106/108 comprises one or more switched capacitor branches. When only one switched capacitor branch is used, as shown in
In
From
An example layout of the two pairs of mutual coupling inductors is shown in
To summarise the discussions above, advantages of various embodiments of the attenuator 100 include:
The attenuator 100 according to the embodiments herein may be employed in various electronic devices.
Those skilled in the art will understand that although switch transistors in the switched resistor array Rs, Rp, the by-pass path 40b and the compensation path 104/106 of the attenuator 100 as shown in
The embodiments herein are not limited to the above described preferred embodiments. Various alternatives, modifications and equivalents may be used. Therefore, the above embodiments should not be taken as limiting the scope of the invention, which is defined by the appending claims.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2014/076394 | 12/3/2014 | WO | 00 |