Loop filter for phase locked loop

文档序号:590349 发布日期:2021-05-25 浏览:25次 中文

阅读说明:本技术 用于锁相环路的环路滤波器 (Loop filter for phase locked loop ) 是由 克里希纳斯瓦米·纳加拉杰 傅威 于 2019-12-16 设计创作,主要内容包括:一种电路包含第一滤波器(402)、多个二进制加权电容器(C1、C2、Cn)及电流源装置(M1)。所述电路还包含第一多个开关(SW3)。所述第一多个开关(SW3)中的每一者经连接到所述多个二进制加权电容器(C1、C2、Cn)中的单独电容器。所述第一多个开关(SW3)经连接在一起,且所述第一多个开关(C1、C2、Cn)未经连接到所述第一滤波器。还包含第二多个开关(SW2),且所述第二多个开关(SW2)中的每一者经连接到所述多个二进制加权电容器(C1、C2、Cn)中的单独电容器且连接到所述第一滤波器(402)及所述电流源装置(M1)的控制输入。所述第一多个开关(SW3)未经连接到所述控制输入。(A circuit includes a first filter (402), a plurality of binary weighted capacitors (C1, C2, Cn), and a current source device (M1). The circuit also includes a first plurality of switches (SW 3). Each of the first plurality of switches (SW3) is connected to a separate capacitor of the plurality of binary weighted capacitors (C1, C2, Cn). The first plurality of switches (SW3) are connected together, and the first plurality of switches (C1, C2, Cn) are not connected to the first filter. A second plurality of switches (SW2) is also included, and each of the second plurality of switches (SW2) is connected to a separate capacitor of the plurality of binary weighted capacitors (C1, C2, Cn) and to control inputs of the first filter (402) and the current source device (M1). The first plurality of switches (SW3) is not connected to the control input.)

1. A circuit, comprising:

a charge pump to receive a voltage pulse indicative of a phase error between a reference clock and a feedback clock and generate a current pulse based on the voltage pulse;

a loop filter coupled to the charge pump, the loop filter to filter the current pulses and generate a signal to control a current source device, and the loop filter including a first filter coupled to a binary weighted capacitor array, the binary weighted capacitor array comprising a plurality of capacitors;

a current controlled oscillator coupled to the current source device, the current controlled oscillator generating an output clock at a frequency based on a current from the current source device;

a plurality of first switches connected to each other and to the charge pump, and each capacitor is connected to a separate one of the first switches; and

a plurality of second switches connected to each other and to the first filter, and each capacitor is connected to a separate one of the second switches.

2. The circuit of claim 1, further comprising a plurality of third switches, and each capacitor of the binary-weighted capacitor array is connected to a separate one of the third switches.

3. The circuit of claim 2, further comprising a control circuit to generate control signals to control the on/off states of the first, second, and third switches associated with each capacitor of the binary-weighted capacitor array, wherein for each capacitor, the control circuit is to control the third switch to turn off when the first and second switches are on and to control the third switch to turn on when the first and second switches are off.

4. The circuit of claim 1, wherein:

each capacitor of the binary-weighted capacitor array has a capacitance value that is binary-weighted with respect to each of the other binary-weighted capacitors; and is

Each of the first switches has a width and a length, and the ratio of the width to length associated with each of the first switches is binary weighted with respect to the ratio of the width to length of each of the other first switches.

5. The circuit of claim 4, wherein the ratio of width to length of each of the second switches is approximately equal to the ratio of width to length of each of the other second switches.

6. The circuit of claim 1, wherein the first filter includes a resistor connected to a first filter capacitor, the resistor connected to the second switch, and the first filter capacitor connected to each of the capacitors of the binary-weighted capacitor array.

7. A circuit, comprising:

a first filter;

a plurality of binary weighted capacitors;

a current source device;

a first plurality of switches, each of the first plurality of switches connected to a separate capacitor of the plurality of binary weighted capacitors, the first plurality of switches connected together, and the first plurality of switches not connected to the first filter; and

a second plurality of switches, each of the second plurality of switches connected to a separate capacitor of the plurality of binary weighted capacitors and to control inputs of the first filter and the current source device;

wherein the first plurality of switches are not connected to the control input.

8. The circuit of claim 7, further comprising a charge pump connected to each of the first plurality of switches but not connected to the control input of the first filter or the current source device.

9. The circuit of claim 7, further comprising a plurality of third switches, and each capacitor of the binary-weighted capacitor array is connected to a separate one of the third switches.

10. The circuit of claim 9, wherein each of the plurality of third switches is connected to a fixed voltage node.

11. The circuit of claim 9, further comprising a control circuit to generate control signals to control the on/off states of the first, second, and third switches associated with each capacitor of the binary-weighted capacitor array, wherein for each capacitor, the control circuit is to control the third switch to turn off when the first and second switches are on and to control the third switch to turn on when the first and second switches are off.

12. The circuit of claim 7, wherein each of the first switches has a width and a length, and a ratio of the width to the length associated with each of the first switches is binary weighted with respect to the ratio of width to length of each of the other first switches.

13. The circuit of claim 12, wherein the ratio of width to length of each of the second switches is approximately equal to the ratio of width to length of each of the other second switches.

14. The circuit of claim 7, wherein the first filter includes a resistor connected to a first filter capacitor, the resistor connected to the second switch, and the first filter capacitor connected to each of the capacitors of the binary-weighted capacitor array.

15. A circuit, comprising:

a loop filter to filter the current pulse and generate a signal to control the current source device, and the loop filter includes a first filter coupled to a capacitor array, the capacitor array comprising a plurality of capacitors;

a current controlled oscillator coupled to the current source device, the current controlled oscillator generating an output clock at a frequency based on a current from the current source device;

a plurality of first switches connected to each other and to the charge pump, and each capacitor is connected to a separate one of the first switches;

a plurality of second switches connected to each other and to the first filter, and each capacitor is connected to a separate one of the second switches; and

a plurality of third switches, and each capacitor is connected to a separate one of the third switches.

16. The circuit of claim 15, wherein the capacitor array comprises a binary-weighted capacitor array.

17. The circuit of claim 15, further comprising a control circuit to generate control signals to control the on/off states of the first, second, and third switches associated with each capacitor of the array of capacitors, wherein for each capacitor, the control circuit is to control the third switch to turn off when the first and second switches are on and to control the third switch to turn on when the first and second switches are off.

18. The circuit of claim 15, wherein each of the plurality of third switches is connected to a fixed voltage node.

19. The circuit of claim 15, further comprising a charge pump connected to each of the first switches but not connected to the first filter.

20. The circuit of claim 15, wherein each of the second switches is connected to a control input of the current source device, but neither the first or third switches are connected to the control input.

Background

Many Phase Locked Loops (PLLs) include a loop filter that filters the signal generated by the charge pump or other type of circuit. The output of the loop filter may be used to control, for example, a current source device that provides current to a current controlled oscillator.

Disclosure of Invention

In one example, a circuit includes a first filter, a plurality of binary weighted capacitors, and a current source device. The circuit also includes a first plurality of switches. Each of the first plurality of switches is connected to a separate capacitor of the plurality of binary weighted capacitors. The first plurality of switches are connected together and the first plurality of switches are not connected to the first filter. A second plurality of switches is also included, and each of the second plurality of switches is connected to a separate capacitor of the plurality of binary weighted capacitors and to control inputs of the first filter and the current source device. The first plurality of switches is not connected to the control input. The circuit may be used as part of a phase locked loop.

Drawings

For a detailed description of various examples, reference will now be made to the accompanying drawings in which:

fig. 1 illustrates an analog phase-locked loop in an example.

Fig. 2 illustrates waveforms of various signals of the described analog phase-locked loop.

Fig. 3 shows a charge pump circuit that may be used in an analog phase-locked loop in an example.

Fig. 4 shows an example of a loop filter that may be used in an analog phase-locked loop.

Detailed Description

Analog pll (apll) is described. The described APLL includes, among other components, a charge pump, a loop filter, and a current controlled oscillator. In some examples, the output of the loop filter is used to control a current source device that provides current to a current controlled oscillator. In practice, parasitic capacitances are present at the control input of the current source means. The parasitic capacitance may cause noise on the power supply affecting the signal of the loop filter to the current source device and thus the current to the current controlled oscillator. The loop filter described herein has an architecture that addresses this problem.

Fig. 1 shows an example of an APLL 100. Example APLL 100 includes a phase and frequency detector 102, a charge pump 104, a loop filter 110, a current controlled oscillator (ICO)116, and a frequency divider 118. The output signal from ICO 116 is output clock (OUTCLK) 117. A reference clock (REFCLK)101 is provided to an input of a phase and frequency detector 102. In some examples, phase and frequency detector 102 generates error signal 103 based on the frequency and phase difference (error) between REFCLK 101 and OUTCLK 117. In the example of fig. 1, the frequency of OUTCLK 117 is greater than the frequency of REFCLK 101. Frequency divider 118 divides down the frequency of OUTCLK 117 to generate feedback clock (FBCLK)119, which has approximately the same frequency as REFCLK 101. In implementations where the frequency of OUTCLK 117 has the same frequency as REFCLK 101, the reference to FBCLK 119 herein includes the output signal from a frequency divider (e.g., frequency divider 118) and the output clock from ICO 116.

APLL 100 adjusts the frequency and phase of OUTCLK 117 to match the phase of REFCLK 101. FIG. 2 shows an example of REFCLK 101 and FBCLK 119 with the rising and falling edges of FBCLK 119 phase aligned with the edges of REFCLK 101. FBFB119 is said to be "locked" onto REFCLK 101. Therefore, OUTCLK 117 is also phase aligned with REFCLK in the locked state, although the frequency of OUTCLK 117 may be the same as or greater than the frequency of REFCLK 101.

In some examples, the error signal 103 includes a series of UP pulses and a series of DOWN pulses. Fig. 2 also shows examples of UP pulses and DOWN pulses. In response to the edge of FBCLK 119 lagging the corresponding edge of REFCLK 101, phase and frequency detector 102 generates width W1 of the UP pulse to be wider than width W2 of the DOWN pulse. In contrast, in response to the edge of FBCLK 119 leading the corresponding edge of REFCLK 101, phase and frequency detector 102 generates width W1 of the UP pulse to be narrower than width W2 of the DOWN pulse.

Fig. 3 provides an example of the charge pump 104. In this example, charge pump 104 includes a current source device I1 coupled to a current device I2 through a selectable switch SWA. Switch SWB selectively couples I2 to ground. The DOWN pulse 302 of the error signal 103 controls the on and off state of SWA and the UP pulse 312 controls the on and off state of SWB. When the SWA is closed by the active DOWN pulse 302, current flows through the SWA and to the loop filter 110. When SWB is closed by active UP pulse 302, current flows from loop filter 110 through SWB to ground. Thus, the charge pump signal 105 includes a series of positive and negative current pulses based on the UP and DOWN pulses of the error signal 103.

Fig. 4 shows an example of the loop filter 110. The illustrated loop filter 110 includes a first filter 402, a capacitor array 410, a control circuit 420, and a current source device M1. In this example, the first filter 402 includes a capacitor C1 (also referred to as a filter capacitor) connected in series with a resistor R1. The capacitor C1 is connected to the supply voltage node (VDD) and the resistor R1 is connected to the control input of M1. In this example, M1 is a p-type metal oxide semiconductor field effect transistor (PFET) and thus resistor R1 is connected to the gate of M1. In other embodiments, M1 may be implemented as an n-type metal oxide semiconductor field effect transistor (NFET), a p-type or n-type bipolar junction transistor, or another type of transistor. The signal line between the control inputs of R1 and M1 is labeled VFILT and represents the filtered output voltage from loop filter 110 that is used to control the operating state of M1 and thus the amount of current to ICO 116.

The capacitor array 410 includes a plurality of capacitors C2, C3, …, Cn. In some examples, capacitor array 410 is implemented as a binary-weighted capacitor array that allows the PLL to operate over a wide input reference frequency range, although in other implementations the capacitors need not be binary-weighted. Thus, the capacitors C2, C3, …, Cn have different capacitance values that are binary weighted. For example, the capacitance values of the capacitors C2, C3, …, Cn may be weighted by 16C, 8C, 4C, etc. The capacitor C2 may be 16C and the capacitor C3 may be 8C, which means that the capacitance value of the capacitor C2 is twice the capacitance value of the capacitor C3. In some implementations, capacitor C1 is also implemented as a configurable capacitor array (similar to capacitor array 410) to facilitate operability over a wide frequency range.

The loop filter 110 of fig. 4 includes a plurality of first switches SW1, a plurality of second switches SW2, and a plurality of third switches SW 3. Each capacitor C2, C3, …, Cn is connected to a set of first, second and third switches SW 1-SW 3, as shown. Each of the first switches SW1 is connected to each of the other second switches SW1, also connected to the charge pump 104. Current from the charge pump 104 flows through the switch SW1 to its respective capacitor C2, C3, …, Cn and current from the capacitors C2, C3, …, Cn flows through the respective switch SW1 and to the charge pump 104. Each of the second switches SW2 is connected to each of the other second switches SW2 and to the control inputs of the loop filter 402 (e.g., resistor R1) and M1. Each of the third switches SW3 is connected to each of the other third switches SW3 and to a ground node or another fixed voltage node as shown to reduce its leakage current.

Node 425 is connected to the charge pump 104 and the first switch SW1, but not to the control input of the first filter 402 or M1. Instead, the control input of M1 is connected to the second switch SW2 and the first filter 402. Thus, the charge pump 104 is not connected to M1.

In some examples, the first switch SW1 is binary weighted as is its corresponding capacitor C2, C3, …, Cn. The ratio of the channel width (W) to the channel length (L) of each switch SW1 is binary weighted. For example, SW1 connected to C2 has a W/L ratio (e.g., 16W/L) that is twice the W/L ratio (e.g., 8W/L) of C3, and so on. The W/L ratio of switches S2 and S3 need not be binary weighted and may be smaller than switch SW 1. The W/L ratios of switches SW2 may all be the same and the W/L ratios of switch SW2 may also all be the same, albeit different (or the same) as switch SW 2.

In effect, the switch creates a parasitic capacitance to ground, which injects supply noise into ISO 116. Referring to fig. 4, in the absence of any parasitic capacitance to ground, any noise on the voltage supply will also be directly coupled to the gate of M1 through the capacitors C2, C3, …, Cn. Therefore, the supply noise seen at the gate of M1 will be zero. However, if there is a parasitic capacitance from the gate of VFILT or M1 to ground, there will be a potential division between C2, C3, …, Cn and the parasitic capacitance, resulting in a non-zero supply noise component on the gate-to-source voltage of M1. The magnitude of the parasitic capacitance is proportional to the size of the switch.

An advantage of the described example is that the size of the switch (W/L) can be small for the following reasons. A direct result of lowering the W/L of a Metal Oxide Semiconductor (MOS) switch is its increased resistance. The described architecture has the advantage that higher switch resistances can be tolerated. To explain this advantage, consider the three sets of switches in fig. 4 individually. The switch SW1 connects C2, C3, …, Cn to the charge pump 104, which typically has a high output resistance. Thus, the resistance of switch SW1 can be relatively large without any significant effect on performance. A switch SW2 connects C2, C3. Thus, the resistance of SW2 may be relatively large. When C2, C3, · Cn is not used, switch SW3 is used to connect C2, C3,. cnc to the dummy node. Therefore, the resistance of SW3 is insignificant for all practical purposes and SW3 can be made arbitrarily small. By making switch SW3 relatively small, the parasitic capacitance at the gate of M1 may be reduced. Injection of supply noise into the gate-to-source voltage of M1 is reduced, which in turn minimizes the effect of supply noise on the oscillator frequency. The control circuit 420 may be implemented as a controller, finite state machine, or other type of hardware device that may assert control signals to control the on and off states of the switches SW 1-SW 3. The control circuit 420 receives a Configuration (CONFIG) that specifies which of the binary weighted capacitors C2, C3, …, Cn is to be included in the operation of the loop filter 110. The configuration information may be stored in registers within the control circuit 420. Various combinations of the capacitors C2, C3, …, Cn may be activated by the control circuit 420 based on the configuration information. For a given capacitor C2, C3, …, Cn to be activated, the control circuit 420 asserts control signals in order to turn on (close) the corresponding SW1 and SW2 switches for those particular capacitors and turn off (open) the switch SW3 for those same capacitors. For all other capacitors that will not be activated as part of the loop filter operation, the control circuit 420 asserts control signals in order to turn off the corresponding SW1 and SW2 switches and turn on the switch SW3 for those capacitors.

Current from M1 flows to ICO 116, which ICO 116 generates OUTCLK 117 having a frequency that is a function of current from M1. The frequency and phase of OUTCLK 117 are repeatedly adjusted in order to maintain the frequency and phase lock between FBCLK 119 and REFCLK 101.

In this specification, the term "couple" means an indirect or direct wired or wireless connection. Thus, if a first device couples to a second device, that connection may be through a direct connection, or through an indirect connection via other devices and connections. The expression "based on" means "based at least in part on". Thus, if X is based on Y, X may be a function of Y and any number of any other factors.

Modifications to the described embodiments are possible, and other embodiments are possible, within the scope of the claims.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种跨时钟域处理电路

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类