AN ATTENUATOR
20180337659 ยท 2018-11-22
Inventors
Cpc classification
H04B7/0608
ELECTRICITY
H03G1/0088
ELECTRICITY
H03H7/25
ELECTRICITY
International classification
Abstract
An attenuator for attenuating a signal is disclosed. 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. Further a pair of compensation paths is connected to the first and second switched resistor networks for cancellation their parasitic leakages, where 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.
Claims
1. An attenuator for attenuating a signal comprising: a differential input port with a positive input node and a negative input node to receive the signal; a differential output port with a positive output node and a negative output node to output the attenuated signal; a first switched resistor network connected between the positive input node and the positive output node; a second switched resistor network connected between the negative input node and the negative output node; a pair of compensation paths for cancellation of parasitic leakages in the first and second switched resistor networks, wherein 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; and a control circuit to generate control signals for controlling the first and second switched resistor networks.
2. The attenuator according to claim 1, wherein the attenuator further comprises a first pair of inductors connected at the differential input port and a second pair of inductors connected at the differential output port.
3. The attenuator according to claim 1, wherein the control circuit is further configured to generate control signals for controlling the pair of compensation paths.
4. The attenuator according to claim 1, wherein each of the first and second switched resistor networks is a Pi type resistor network comprising two switchably variable parallel resistors and one switchably variable series resistor.
5. The attenuator according to claim 1, wherein each of the first and second switched resistor networks is a T type resistor network comprising one switchably variable parallel resistor and two switchably variable series resistors.
6. The attenuator according to claim 4, wherein the switchably variable series resistor comprises one or more switched resistor branches and a by-pass path.
7. The attenuator according to claim 6, wherein the by-pass path comprises a switch, and wherein a bootstrap path comprising a capacitor in series with a resistor is connected between a gate and a drain or source of the switch.
8. The attenuator according to claim 4, wherein the switchably variable parallel resistor comprises one or more switched resistor branches connected in series with a resistor.
9. The attenuator according to claim 6, wherein each of the one or more switched resistor branches comprises a resistor in series with a switch, and wherein for one or more switches, a bootstrap path comprising a capacitor in series with a resistor is connected between a gate and a drain or source of the switches depending on size of the one or more switches.
10. The attenuator according to claim 1, wherein each of the pair of compensation paths comprises one or more switched capacitor branches, and each switched capacitor branch comprises a capacitor connected in series with a resistor.
11. The attenuator according to claim 10, wherein each of the switched capacitor branch further comprises a switch connected in series with the capacitor and the resistor.
12. The attenuator according to claim 2, wherein the first and second pair of inductors are mutually coupled inductors.
13. An electronic device comprising an attenuator according to claim 1.
14. The electronic device according to claim 13, wherein the electronic device is a transceiver.
15. The electronic device according to claim 13, wherein the electronic device is a radio base station.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Examples of embodiments herein are described in more detail with reference to attached drawings in which:
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
DETAILED DESCRIPTION
[0021] A general view of an attenuator 100 for attenuating a signal according to embodiments herein is shown in
[0022] 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.
[0023] 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
[0024] 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.
[0025] 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.
[0026] 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.
[0027] 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.
[0028] According to one embodiment, the attenuator 100 may be implemented by circuits shown in
[0029] As shown in
[0030] According to one embodiment, the attenuator 100 may be implemented by circuits shown in
[0031] As shown in
[0032] According to some embodiments, the switchably variable series resistor Rs may be implemented by circuits shown in
[0033] As shown in
[0034] As shown in
[0035] As shown in
[0036] 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.
[0037] According to some embodiments, the switchably variable parallel resistor Rp may be implemented by circuits shown in
[0038] As shown in
[0039] 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.
[0040] According to some embodiments, the compensation path 106/108 may be implemented by circuits shown in
[0041] 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, Cnc.sub.0, Cnc.sub.1, . . . Cnc.sub.k and the resistor Rnc, Rnc.sub.0, Rnc.sub.1, . . . Rnc.sub.k.
[0042] 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.
[0043] 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
[0044] For simplicity, the Pi-type switched resistor network 202/204 connected in single-ended in
R.sub.L=Rp(R.sub.LRp+Rs)Eq. (1)
[0045] While in matched condition, the voltage gain vg is given by
[0046] From matching requirement, it is given
Rs.Math.Rp.sup.2.Math.2.Math.R.sub.L.sup.2.Math.Rp.Math.R.sub.L.sup.2.Math.Rs=0Eq. (3)
[0047] So Rs may be expressed as
[0048] Replace Rs in the attenuation or gain expression (2) with Rs expression in (4), which gives
[0049] Where
for an ideal pure resistor case.
[0050] Rp may be written as a function of desired attenuation
[0051] Where
and VG is the required or desired attenuation in unit of dB.
[0052] 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.
[0053] Turning back to
[0054] 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.
[0055] 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.
[0056] The resistors in the switched resistor branches 400, 401, . . . , 40n may be designed, e.g. in a binary weighted size, i.e. Rs.sub.0=R, Rs.sub.1=R/2, Rs.sub.n=R/2.sup.n. For the switched resistor branch 40n, it may be viewed as 2.sup.n branches of unit resistor cell R in parallel. So Rs.sub.n is the smallest one in resistance, and switch Ts.sub.n is the largest one in size. Enlarging the size of Ts.sub.n may reduce the impact of the conducting resistance Ron of the switch Ts.sub.n, 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
[0057] For the switchably variable parallel resistor Rp, as shown in
[0058] 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 Tp.sub.m in the switched resistor branch 50m, and ignored for the smallest switch Tp.sub.0 in the switched resistor branch 500, as shown in
[0059] 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.
[0060] As shown in
[0061] 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
[0062] In
[0063] From
[0064] An example layout of the two pairs of mutual coupling inductors is shown in
[0065] To summarise the discussions above, advantages of various embodiments of the attenuator 100 include: [0066] Accurate attenuation levels or steps: The switched resistor networks in Pi or T structure make resistances tunable and may also cope with process variations, so accurate attenuation levels and steps are provided. [0067] Larger range of attenuation: Compensation paths are used to cancel the parasitic leakages so that attenuation levels or steps at deep attenuation are more accurate, therefore the attenuator 100 achieves a larger range of attenuation. [0068] Higher linearity and low insertion loss: Bootstrap paths are used in some embodiments for larger size switch transistors and for the by-pass path so that linearity is improved and insertion loss is reduced. [0069] Wide bandwidth: Compensation inductors are used in some embodiments at both input port and output port to resonate with the input and output parasitic capacitances respectively, so the bandwidth of the attenuator 100 is extended.
[0070] The attenuator 100 according to the embodiments herein may be employed in various electronic devices.
[0071] 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
[0072] 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.