[go: up one dir, main page]

CN102299710A - Phase Locked Loop with Improved Phase Detection Mechanism - Google Patents

Phase Locked Loop with Improved Phase Detection Mechanism Download PDF

Info

Publication number
CN102299710A
CN102299710A CN2010102175835A CN201010217583A CN102299710A CN 102299710 A CN102299710 A CN 102299710A CN 2010102175835 A CN2010102175835 A CN 2010102175835A CN 201010217583 A CN201010217583 A CN 201010217583A CN 102299710 A CN102299710 A CN 102299710A
Authority
CN
China
Prior art keywords
input
phase
signal
frequency
delayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010102175835A
Other languages
Chinese (zh)
Other versions
CN102299710B (en
Inventor
林鹏飞
林铭琦
余浡豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Prolific Technology Inc
Original Assignee
Moai Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Moai Electronics Corp filed Critical Moai Electronics Corp
Priority to CN 201010217583 priority Critical patent/CN102299710B/en
Publication of CN102299710A publication Critical patent/CN102299710A/en
Application granted granted Critical
Publication of CN102299710B publication Critical patent/CN102299710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

The invention discloses a phase-locked loop (PLL) with an improved phase detection mechanism, which comprises a Phase Frequency Detector (PFD), a controller, a digital-to-analog conversion (D2A) module and a voltage control oscillator/current control oscillator (VCO/ICO), wherein the PFD has a reference signal input and an input of an output signal from the VCO/ICO and is connected to the controller, then the controller is further connected to a D2A module, and the D2A module converts a control signal from the controller into an analog voltage to control the frequency and the phase of the VCO/ICO. It is noted that the PFD of the present invention has a novel phase detection mechanism, so that the phase detection does not require edge alignment. In addition, the improved phase detection mechanism also provides for an elastic reference signal input as a fixed external source relative to, for example, a crystal.

Description

具有改进相位检测机制的锁相环Phase Locked Loop with Improved Phase Detection Mechanism

技术领域 technical field

本发明涉及一种锁相环,尤其涉及具有改进相位检测机制的锁相环。The invention relates to a phase-locked loop, in particular to a phase-locked loop with an improved phase detection mechanism.

背景技术 Background technique

锁相环(phase-locked loop,PLL)是一种频率控制系统,一般是用于广范围的电路设计中,包括时钟产生、时钟恢复、展频、去除偏斜、时钟分布、抖动与噪声降低、频率合成等等。PLL的操作是基于输入信号与电压控制振荡器(VCO)的反馈间的相位差。PLL广泛用于当作电子装置中的时钟产生器,并支持高速传输协议,比如USB 2.0,当作数据传输的同步用的重要元件。图1显示传统PLL的示意图。如图1所示,传统PLL包括相位频率检测器(phase frequency detector,PFD)101、回路滤波器102、VCO 103及除法器104。如图1所示,PFD 101接收参考信号110及来自除法器104的反馈信号104a,并输出控制信号101a,控制信号101a表示反馈信号是否落后或超前该参考信号。回路滤波器102将控制信号101a转换成电压信号102a供VCO 103使用,并当作偏压。VCO 103依据电压信号102a而较快或较慢振荡以产生输出信号103a。输出信号103a也馈入除法器104,以便在馈入PFD 101之前先变成反馈信号104a。以这种方式,PLL能产生稳定的输出信号,这也是为何除了其他应用以外PLL还被广泛当作时钟产生器的理由。在时钟产生器中,输出信号103a是提供给电子装置中其余电路的时钟,以进一步控制并同步该电子装置的操作。Phase-locked loop (PLL) is a frequency control system, generally used in a wide range of circuit design, including clock generation, clock recovery, spread spectrum, de-skew, clock distribution, jitter and noise reduction , frequency synthesis, etc. The operation of the PLL is based on the phase difference between the input signal and the feedback from a voltage controlled oscillator (VCO). PLL is widely used as a clock generator in electronic devices, and supports high-speed transmission protocols, such as USB 2.0, as an important component for synchronization of data transmission. Figure 1 shows a schematic diagram of a conventional PLL. As shown in FIG. 1 , a conventional PLL includes a phase frequency detector (phase frequency detector, PFD) 101 , a loop filter 102 , a VCO 103 and a divider 104 . As shown in FIG. 1, the PFD 101 receives a reference signal 110 and a feedback signal 104a from the divider 104, and outputs a control signal 101a. The control signal 101a indicates whether the feedback signal lags or leads the reference signal. The loop filter 102 converts the control signal 101a into a voltage signal 102a for use by the VCO 103 as a bias voltage. The VCO 103 oscillates faster or slower according to the voltage signal 102a to generate an output signal 103a. The output signal 103a is also fed into the divider 104 to become the feedback signal 104a before being fed into the PFD 101. In this way, PLLs can generate stable output signals, which is why PLLs are widely used as clock generators, among other applications. In the clock generator, the output signal 103a is the clock provided to the remaining circuits in the electronic device to further control and synchronize the operation of the electronic device.

然而,在传统PLL中,参考信号110通常是来自固定的外部来源,比如能产生时钟的晶体,如图1所示。最后的输出信号103a通常是具有外部晶体谐振频率的信号。例如,针对使用于USB 2.0应用中的PLL,480MHz时钟速率可通过使用12MHz晶体当作参考信号110的来源而产生。However, in a conventional PLL, the reference signal 110 usually comes from a fixed external source, such as a crystal capable of generating a clock, as shown in FIG. 1 . The final output signal 103a is typically the signal at the resonant frequency of the external crystal. For example, for a PLL used in a USB 2.0 application, a 480MHz clock rate can be generated by using a 12MHz crystal as the source of the reference signal 110 .

一般,常使用于传统PLL设计的相位频率检测器需依赖反馈信号与参考信号的边缘相对时序,亦即相位。此时,当两种信号是相同频率时,会产生正比于相位差的固定输出。另一方面,使用于PLL中以逻辑门电路为主的相位检测器所提供的优点是,即使参考信号本质上是不同于VCO的起始输出频率,但是可快速强制VCO同步于参考信号。图2显示依据边缘对齐的传统相位检测机制。该边缘对齐会施加限制于某些应用上,比如高速应用。Generally, the phase-frequency detectors commonly used in conventional PLL designs rely on the relative timing, ie, phase, of the edges of the feedback signal and the reference signal. At this time, when the two signals are of the same frequency, a fixed output proportional to the phase difference is produced. On the other hand, using a gate-based phase detector in a PLL provides the advantage of quickly forcing the VCO to synchronize to the reference signal even if the reference signal is substantially different from the initial output frequency of the VCO. Figure 2 shows the traditional phase detection mechanism based on edge alignment. This edge alignment imposes limitations on certain applications, such as high speed applications.

传统相位频率检测器的另一限制是需要固定的外部来源。这不只增加电子装置的成本,还会阻碍设计的弹性。因此,很有利的创造作出用于弹性的PLL设计并降低制造成本的改进相位检测机制。Another limitation of traditional phase-frequency detectors is the need for a fixed external source. This not only increases the cost of the electronic device, but also hinders the flexibility of the design. Therefore, it would be advantageous to create an improved phase detection mechanism for flexible PLL design and reduced manufacturing cost.

发明内容 Contents of the invention

本发明已经用以克服上述传统PLL设计的缺点。本发明的主要目的在提供一种具有改进相位检测机制,能使相位检测具有弹性并可应用于高速应用。The present invention has been used to overcome the disadvantages of conventional PLL designs described above. The main purpose of the present invention is to provide an improved phase detection mechanism which can make the phase detection flexible and applicable to high speed applications.

本发明的另一目的在提供一种具有改进相位检测机制的PLL,以提供弹性的参考信号并免除分离的参考信号来源,以降低制造成本及复杂度。Another object of the present invention is to provide a PLL with an improved phase detection mechanism to provide flexible reference signals and eliminate separate reference signal sources, thereby reducing manufacturing cost and complexity.

为实现上述目的,本发明提供具有改进相位检测机制的PLL,包括相位频率检测器(PFD)、控制器、数模转换(D2A)模块及电压控制振荡器/电流控制振荡器(VCO/ICO),其中PFD具有参考信号输入以及来自VCO/ICO的输出信号的输入,且连接至控制器,接着该控制器进一步连接至D2A模块,D2A模块转换来自控制器的控制信号成模拟电压以控制VCO/ICO的频率及相位。To achieve the above object, the present invention provides a PLL with an improved phase detection mechanism, including a phase frequency detector (PFD), a controller, a digital-to-analog conversion (D2A) module, and a voltage-controlled oscillator/current-controlled oscillator (VCO/ICO) , where the PFD has a reference signal input and an input from the VCO/ICO output signal, and is connected to the controller, and then the controller is further connected to the D2A module, and the D2A module converts the control signal from the controller into an analog voltage to control the VCO/ICO ICO frequency and phase.

本发明的有益效果在于,本发明的PFD具有改进相位检测机制,以使得相位检测不依赖边缘对齐。此外,改进相位检测机制也提供弹性的参考信号输入,作为相对于固定外部来源,比如晶体。The beneficial effect of the present invention is that the PFD of the present invention has an improved phase detection mechanism, so that the phase detection does not depend on edge alignment. In addition, the improved phase detection mechanism also provides a flexible reference signal input as relative to a fixed external source, such as a crystal.

本发明的上述及其他目的、特性、特点及优点将由仔细研读在此底下的详细说明及适当的参考所附附图而变得更好了解。The above and other objects, characteristics, characteristics and advantages of the present invention will become better understood by carefully studying the following detailed description and referring to the accompanying drawings as appropriate.

附图说明 Description of drawings

图1显示传统锁相环(PLL)的示意图;Figure 1 shows a schematic diagram of a conventional phase-locked loop (PLL);

图2显示传统依据边缘对齐的相位检测的波形示意图;Figure 2 shows a schematic diagram of a traditional phase detection based on edge alignment;

图3显示依据本发明改进相位检测的第一示范波形示意图;FIG. 3 shows a schematic diagram of a first exemplary waveform of improved phase detection according to the present invention;

图4显示依据本发明改进相位检测的第二示范波形示意图;以及FIG. 4 shows a schematic diagram of a second exemplary waveform of improved phase detection according to the present invention; and

图5显示具有改进相位检测机制的锁相环(PLL)的示意图。Figure 5 shows a schematic diagram of a phase-locked loop (PLL) with an improved phase detection mechanism.

其中,附图标记说明如下:Wherein, the reference signs are explained as follows:

101相位频率检测器(PFD)101 Phase Frequency Detector (PFD)

101a控制信号101a control signal

102回路滤波器102 loop filter

102a电压信号102a voltage signal

103电压控制振荡器(VCO)103 Voltage Controlled Oscillator (VCO)

103a输出信号103a output signal

104除法器104 divider

104a反馈信号104a feedback signal

110参考信号110 reference signal

501相位频率检测器(PFD)501 Phase Frequency Detector (PFD)

502控制器502 controller

503数模转换(D2A)模块503 digital-to-analog conversion (D2A) module

504电压控制振荡器/电流控制振荡器(VCO/ICO)504 Voltage Controlled Oscillator/Current Controlled Oscillator (VCO/ICO)

504a输出信号504a output signal

510参考信号输入510 reference signal input

A信号A signal

Ad延迟信号Ad delay signal

B1信号B1 signal

B2信号B2 signal

具体实施方式 Detailed ways

本发明的PLL使用改进相位检测机制。如上所述,传统相位频率检测器常使用固定外部来源,比如晶体,以当作参考信号。PLL的最后输出信号通常是参考信号的谐振。例如,在USB 2.0中,480MHz时钟速率可通过固定的外部12MHz晶体以当作参考时钟来源而获得。The PLL of the present invention uses an improved phase detection mechanism. As mentioned above, conventional phase-frequency detectors often use a fixed external source, such as a crystal, as a reference signal. The final output signal of the PLL is usually the resonance of the reference signal. For example, in USB 2.0, a 480MHz clock rate can be obtained from a fixed external 12MHz crystal as a reference clock source.

该改进相位检测机制不需要固定的外部来源。而是,依据本发明PLL的相位检测机制,在产生控制信号给控制器之前,先分析参考信号及VCO输出信号。最后的输出信号有关于参考信号,但不一定是参考信号的频率的谐振。以下将说明如何依据本发明在相位检测中分析参考信号与输出信号。The improved phase detection mechanism does not require a fixed external source. Instead, according to the phase detection mechanism of the PLL of the present invention, the reference signal and the VCO output signal are analyzed before generating the control signal to the controller. The final output signal is related to the reference signal, but not necessarily a resonance of the frequency of the reference signal. How to analyze the reference signal and the output signal in the phase detection according to the present invention will be described below.

图3显示依据本发明改进相位检测的第一示范波形示意图。为简化起见,该示范实施例中所使用的波形是规则周期性波形,亦即1、0、1、0、1、0、...等的串列。如图3所示,第一波形标示为A,亦即信号A,且第二波形是延迟信号Ad,亦即具有相同于信号A且具有延迟相位的波形。第三波形显示为信号B1,具有比信号A的一半频率还高的频率。为简化起见,信号A可视为由观察者信号B所观察到的信号。如图3所示,如果信号A及延迟信号Ad都是在信号B1的上升沿取样,则可观察到不同的四组数对,亦即(1,1)、(1,0)、(0,0)及(0,1),其中每组数对中的第一项是信号A的电平,而第二项是延迟信号Ad的电平。此外,可观察到(1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1)的转变。亦即,当观察者频率比被观察频率的一半还高时,可观察到上述四种转变的任何结合,亦即(1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1)。类似的,第四波形显示信号B2具有比信号A的一半频率还低的频率。如果信号A及延迟信号Ad都是在第四波形(亦即信号B2)的上升沿取样,则可观察到不同的四组数对,亦即(1,1),(1,0),(0,0),(0,1),其中每组数对中的第一项是信号A的电平,而第二项是延迟信号Ad的电平。此外,可观察到(1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1)的转变。亦即,当观察者频率比被观察频率的一半还低时,可观察到上述四种转变的任何结合,亦即((1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1)。由示范波形的观察显示(1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1)的转变暗含,观察者的频率,比如信号B1,是比被观察频率的一半还快,比如信号A,而(1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1)的转变暗含观察者的频率,比如信号B2,是比被观察频率的一半还慢,比如信号A。FIG. 3 shows a schematic diagram of a first exemplary waveform for improving phase detection according to the present invention. For simplicity, the waveform used in this exemplary embodiment is a regular periodic waveform, ie a series of 1, 0, 1, 0, 1, 0, . . . . As shown in FIG. 3 , the first waveform is marked as A, ie, signal A, and the second waveform is a delayed signal Ad, ie, a waveform having the same phase as signal A but with a delayed phase. A third waveform, shown as signal B1, has a frequency that is higher than half the frequency of signal A. For simplicity, signal A can be considered as the signal observed by signal B by the observer. As shown in Figure 3, if both the signal A and the delayed signal Ad are sampled at the rising edge of the signal B1, four different pairs of numbers can be observed, namely (1, 1), (1, 0), (0 , 0) and (0, 1), wherein the first item in each pair is the level of the signal A, and the second item is the level of the delayed signal Ad. Furthermore, it can be observed that (1,1)->(1,0), (1,0)->(0,0), (0,0)->(0,1), (0,1)- >(1,1) transition. That is, when the observer frequency is higher than half of the observed frequency, any combination of the above four transitions can be observed, that is, (1,1)->(1,0), (1,0)-> (0, 0), (0, 0) -> (0, 1), (0, 1) -> (1, 1). Similarly, the fourth waveform shows that signal B2 has a frequency lower than half the frequency of signal A. If both the signal A and the delayed signal Ad are sampled on the rising edge of the fourth waveform (that is, the signal B2), then four different pairs of numbers can be observed, namely (1,1), (1,0), ( 0, 0), (0, 1), where the first item in each pair is the level of the signal A, and the second item is the level of the delayed signal Ad. Furthermore, it can be observed that (1,1)->(0,1), (0,1)->(0,0), (0,0)->(1,0), (1,0)- >(1,1) transition. That is, when the observer frequency is less than half of the observed frequency, any combination of the above four transitions can be observed, that is, ((1,1)->(0,1), (0,1)- >(0,0), (0,0)->(1,0), (1,0)->(1,1). The observation of the demonstration waveform shows that (1,1)->(1,0 ), (1, 0) -> (0, 0), (0, 0) -> (0, 1), (0, 1) -> (1, 1) transitions imply that the frequency of the observer, such as Signal B1 is faster than half of the observed frequency, such as signal A, and (1,1)->(0,1), (0,1)->(0,0), (0,0)- The transition of >(1,0), (1,0)->(1,1) implies that the frequency of the observer, such as signal B2, is slower than half of the observed frequency, such as signal A.

图4显示依据本发明改进相位检测的第二示范波形示意图。该示范波形是经一般化以显示图3的转变图案的观察也可延伸至不规则或非周期性观察者波形,亦即信号B1及信号B2。如图4所示,第一波形是信号A,且第二波形是延迟信号Ad。第三波形显示,观察者信号B 1具有比信号A的一半频率还高的频率。如果信号A及延迟信号Ad都是在观察者信号B1的上升沿取样,则可观察到(1,0),(0,0),(0,1),(1,1),(1,0),(0,0)...的串列。再一次,可在上述被观察数对串列中的不同位置观察到四种不同型式的转变,亦即(1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1)。类似的,第四波形显示,观察者信号B2具有比信号A的一半频率还低的频率。如果信号A及延迟信号Ad都是在第四波形(亦即观察者信号B2)的上升沿取样,则观察到(1,1),(0,1),(0,0),(1,0),(1,1),(0,1)...。而且类似的,可在上述被观察数对串列中的不同位置观察到四种不同型式的转变,亦即(1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1)。因此,即使当观察者信号具有非周期性及不规则性波形时,转变的出现可用以标示被观察信号与观察者信号之间的相对频率。FIG. 4 shows a schematic diagram of a second exemplary waveform for improving phase detection according to the present invention. The exemplary waveforms are generalized to show that observations of the transition pattern of FIG. 3 can also be extended to irregular or non-periodic observer waveforms, namely signal B1 and signal B2. As shown in FIG. 4, the first waveform is the signal A, and the second waveform is the delayed signal Ad. The third waveform shows that the observer signal B1 has a frequency higher than half that of signal A. If both the signal A and the delayed signal Ad are sampled on the rising edge of the observer signal B1, it can be observed that (1, 0), (0, 0), (0, 1), (1, 1), (1, 0), (0, 0)... a sequence. Again, four different types of transitions can be observed at different positions in the sequence of observed pairs, namely (1,1)->(1,0), (1,0)->(0, 0), (0, 0) -> (0, 1), (0, 1) -> (1, 1). Similarly, the fourth waveform shows that observer signal B2 has a frequency less than half that of signal A. If both the signal A and the delayed signal Ad are sampled on the rising edge of the fourth waveform (that is, the observer signal B2), it is observed that (1,1), (0,1), (0,0), (1, 0), (1, 1), (0, 1).... And similarly, four different types of transitions can be observed at different positions in the above-mentioned sequence of observed pairs, that is, (1,1)->(0,1), (0,1)->(0 , 0), (0, 0) -> (1, 0), (1, 0) -> (1, 1). Thus, even when the observer signal has a non-periodic and irregular waveform, the occurrence of transitions can be used to indicate the relative frequency between the observed signal and the observer signal.

由上述两示范例所总结的结果是,被观察信号与观察者信号之间的关系可通过观察到被观察信号数对的串列中所发现的转变而被检测。当观察者频率高于被观察频率的一半时,比如上述时例中B1>A,可在被观察数对的串列中发现四种不同型式的转变,亦即(1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1)。在另一方面,当观察者频率低于被观察频率的一半时,比如上述时例中B2<A,可在被观察数对的串列中发现四种不同型式的转变,亦即(1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1)。所有其他型式的转变,比如(1,1)->(0,0),(1,0)->(0,1),或反之亦然,都可安全的丢弃而不会影响到检测机制。The result summarized from the above two examples is that the relationship between the observed signal and the observer signal can be detected by observing the transitions found in the train of observed signal pairs. When the observer frequency is higher than half of the observed frequency, such as B1>A in the above example, four different types of transitions can be found in the series of observed pairs, that is, (1,1)->( 1,0), (1,0)->(0,0), (0,0)->(0,1), (0,1)->(1,1). On the other hand, when the observer frequency is lower than half of the observed frequency, such as B2<A in the above case, four different types of transitions can be found in the series of observed pairs, namely (1, 1)->(0,1), (0,1)->(0,0), (0,0)->(1,0), (1,0)->(1,1). All other transitions, such as (1,1)->(0,0), (1,0)->(0,1), or vice versa, can be safely discarded without affecting the detection mechanism .

这种检测被观察信号的转变图案以及观察者与被观察信号的相对频率间的关系具有两重要含义。第一含义是,不再需要相位检测以在比较前先对齐参考信号与VCO/ICO输出信号的差额信号的边缘。这是非当重要,因为边缘对齐对相位检测而言是将很困难的限制施加至高速应用上。第二含义是,参考信号不再需要是固定的外部来源,比如晶体。而是,参考信号可为任意数字信号串列,且改进相位检测机制可进行用于PLL的必要相位检测操作。利用改进相位检测机制,PFD可依据被观察信号数对串列中所发现的转变型式而轻易的输出表示被观察频率与观察者频率之间关系的信号。This detection of the transition pattern of the observed signal and the relationship between the observer and the relative frequency of the observed signal has two important implications. The first implication is that phase detection is no longer required to align the edges of the difference signal between the reference signal and the VCO/ICO output signal prior to comparison. This is very important because edge alignment imposes a difficult constraint on phase detection for high speed applications. A second implication is that the reference signal no longer needs to be a fixed external source, such as a crystal. Instead, the reference signal can be any series of digital signals, and the improved phase detection mechanism can perform the necessary phase detection operations for the PLL. Using the improved phase detection mechanism, the PFD can easily output a signal representing the relationship between the observed frequency and the observer frequency according to the transition pattern found in the observed signal pair train.

因此,图5显示依据本发明具有改进相位检测机制的锁相环(PLL)的示意图。如图5所示,本发明的PLL包括相位频率检测器(PFD)501、控制器502、数模转换(D2A)模块503及电压控制振荡器/电流控制振荡器(VCO/ICO)504。PFD 501具有参考信号输入510以及来自VCO/ICO 504的输出信号504a的输入,且连接至控制器502。接着该控制器502进一步连接至D2A模块503,且D2A模块503转换来自控制器502的控制信号成模拟电压或电流,以控制VCO/ICO 504的频率及相位。值得注意的是,本发明的PFD 501具有依据图3及图4的示范波形的改进相位检测机制。因此,PFD 501较VCO输出信号504a与参考信号510,以产生表示VCO输出信号是否较快或较慢于参考信号的频率的信号。依据接收来自PFD 501的信号,控制器502控制D2A模块503输出模拟电压或电流,进而控制VCO/ICO 504的输出信号504a的频率及相位。Therefore, FIG. 5 shows a schematic diagram of a phase-locked loop (PLL) with an improved phase detection mechanism according to the present invention. As shown in FIG. 5 , the PLL of the present invention includes a phase frequency detector (PFD) 501 , a controller 502 , a digital-to-analog conversion (D2A) module 503 and a voltage-controlled oscillator/current-controlled oscillator (VCO/ICO) 504 . PFD 501 has a reference signal input 510 and an input of output signal 504a from VCO/ICO 504 and is connected to controller 502. Then the controller 502 is further connected to the D2A module 503, and the D2A module 503 converts the control signal from the controller 502 into an analog voltage or current to control the frequency and phase of the VCO/ICO 504. It is worth noting that the PFD 501 of the present invention has an improved phase detection mechanism based on the exemplary waveforms of FIGS. 3 and 4 . Thus, PFD 501 compares VCO output signal 504a with reference signal 510 to generate a signal indicative of whether the VCO output signal is faster or slower in frequency than the reference signal. According to the signal received from the PFD 501, the controller 502 controls the D2A module 503 to output analog voltage or current, and then controls the frequency and phase of the output signal 504a of the VCO/ICO 504.

值得注意的是,当参考信号510停止或消失时,控制器502会在停止参考信号510之前先将维持原有的信号,亦即保持传送至D2A模块503的控制信号,使得D2A模块503将不会改变输出至VCO/ICO的模拟电压/电流,以改变输出信号504a的频率及相位。换言之,保持输出信号504a,亦即锁定,直到参考信号510再次出现为止。以这种方式,PFD可切换至不同参考信号,当作用以相位检测比较的基础。实现“锁定”的示范实施例是利用计数器或任何对等机制以实现D2A模块503,而该任何对等机制能被增大及减小,以使得表示较快或较慢频率的信号可照着增大或减小数值。当参考信号510消失时,计数器或任何对等机制保持该数值,以使得没有进行增大或减小操作以改变所保持的数值。It is worth noting that when the reference signal 510 stops or disappears, the controller 502 will maintain the original signal before stopping the reference signal 510, that is, keep the control signal sent to the D2A module 503, so that the D2A module 503 will not The analog voltage/current output to the VCO/ICO is changed to change the frequency and phase of the output signal 504a. In other words, the output signal 504a is maintained, ie locked, until the reference signal 510 occurs again. In this way, the PFD can switch to a different reference signal as the basis for phase detection comparison. An exemplary embodiment to implement "locking" is to implement the D2A module 503 with a counter or any equivalent mechanism that can be incremented and decremented so that signals representing faster or slower frequencies can be Increase or decrease the value. When the reference signal 510 disappears, the counter or any equivalent mechanism holds the value such that no increment or decrement operation is performed to change the held value.

本发明具有改进相位检测机制的PLL的主要应用是比如USB 2.0的电子装置,能使用来自如个人电脑(PC)的主机的数据串以当作用于同步的参考信号。The main application of the PLL with improved phase detection mechanism of the present invention is an electronic device such as USB 2.0, which can use the data stream from a host computer such as a personal computer (PC) as a reference signal for synchronization.

而且值得注意的是,改进相位检测机制可进一步延伸以包括一个以上的延迟信号,以便当观察者频率与被观察频率之间的差额非常大时加速收敛。例如,具有稍微相位延迟的第二延迟信号A’,具有更多相位延迟的第三延迟信号A”等等,都可加入,以使得被观察信号组(A,A’,A”...)是记录于改进相位检测机制中,以加速不同频率的收敛。It is also worth noting that the improved phase detection mechanism can be further extended to include more than one delay signal in order to speed up convergence when the difference between the observer frequency and the observed frequency is very large. For example, a second delayed signal A' with a slight phase delay, a third delayed signal A" with a greater phase delay, etc., can be added so that the observed signal set (A, A', A"... ) is recorded in the improved phase detection mechanism to speed up the convergence at different frequencies.

虽然本发明已经参考较佳实施例进行说明,但是要注意的是,本发明并非受限于说明中的细节。不同取代及修改已经在上述说明中建议,且对于本领域技术人员将会发生其他取代及修改。因此,所有这些取代及修改皆意图包含在由所附权利要求所定义的本发明保护范围之内。While the invention has been described with reference to preferred embodiments, it is to be noted that the invention is not limited to the details shown. Various substitutions and modifications have been suggested in the above description, and others will occur to those skilled in the art. Accordingly, all such substitutions and modifications are intended to be embraced within the scope of the present invention as defined by the appended claims.

Claims (12)

1.一种具有改进相位检测机制的锁相环,包括:1. A phase-locked loop with an improved phase detection mechanism, comprising: 一相位频率检测器,具有一第一输入及一第二输入,并依据该第一输入及该第二输入的相对频率以产生一信号,表示该第二输入的频率是否较快或较慢于该第一输入的频率;A phase frequency detector has a first input and a second input, and generates a signal according to the relative frequency of the first input and the second input, indicating whether the frequency of the second input is faster or slower than the frequency of the first input; 一控制器,连接至该相位频率检测器,用以接收来自该相位频率检测器的该信号,并产生一控制信号;a controller, connected to the phase frequency detector, for receiving the signal from the phase frequency detector and generating a control signal; 一数模转换模块,连接至该控制器,用以接收该控制信号,并产生一模拟电压/电流输出;以及a digital-to-analog conversion module connected to the controller for receiving the control signal and generating an analog voltage/current output; and 一电压控制振荡器,连接至该数模转换模块,用以接收该模拟电压/电流输出,据以调节一输出信号,a voltage-controlled oscillator connected to the digital-to-analog conversion module for receiving the analog voltage/current output and adjusting an output signal accordingly, 其中该相位频率检测器的该第一输入连接至一参考信号,且该第二输入连接至该电压控制振荡器的该输出信号。Wherein the first input of the phase frequency detector is connected to a reference signal, and the second input is connected to the output signal of the VCO. 2.如权利要求1所述的锁相环,其特征在于,该电压控制振荡器可由一电流控制振荡器取代。2. The phase-locked loop as claimed in claim 1, wherein the voltage-controlled oscillator can be replaced by a current-controlled oscillator. 3.如权利要求1所述的锁相环,其特征在于,该相位频率检测器比较该第一输入、该第二输入及一延迟第二输入,该延迟第二输入具有的波形相同于该第二输入且具有相位延迟,该第二输入及一延迟第二输入的转变型式的第一群组所具有的转变的出现,用以表示该第一输入的频率比该第二输入的频率还快。3. The phase-locked loop as claimed in claim 1, wherein the phase-frequency detector compares the first input, the second input and a delayed second input, the delayed second input having a waveform identical to the a second input with a phase delay, the second input and a delayed occurrence of transitions of the first group of transition patterns of the second input to indicate that the frequency of the first input is higher than the frequency of the second input quick. 4.如权利要求1所述的锁相环,其特征在于,该相位频率检测器比较该第一输入、该第二输入及一延迟第二输入,该延迟第二输入具有的波形相同于该第二输入且具有相位延迟,该第二输入及一延迟第二输入的转变型式的第二群组所具有的转变的出现,用以表示该第一输入的频率比该第二输入的频率还慢。4. The phase-locked loop as claimed in claim 1, wherein the phase-frequency detector compares the first input, the second input and a delayed second input, the delayed second input having a waveform identical to the a second input with a phase delay, the second input and a delayed occurrence of transitions of a second group of transition patterns of the second input to indicate that the frequency of the first input is higher than the frequency of the second input slow. 5.如权利要求1所述的锁相环,其特征在于,该参考信号来自一外部晶体。5. The PLL as claimed in claim 1, wherein the reference signal comes from an external crystal. 6.如权利要求1所述的锁相环,其特征在于,该参考信号是来自一主机的数字数据。6. The PLL as claimed in claim 1, wherein the reference signal is digital data from a host. 7.如权利要求3所述的锁相环,其特征在于,该第二输入及一延迟第二输入的转变型式的第一群组包括(1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1),每个数对的第一项是该第二输入的观察电平,且第二项是该延迟第二输入的观察电平。7. The phase-locked loop as claimed in claim 3, wherein the first group of transition patterns of the second input and a delayed second input comprises (1,1)->(1,0), ( 1,0)->(0,0), (0,0)->(0,1), (0,1)->(1,1), the first item of each pair is the second input, and the second term is the observed level of the second input for this delay. 8.如权利要求4所述的锁相环,其特征在于,该第二输入及一延迟第二输入的转变型式的第二群组包括(1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1),每个数对的第一项是该第二输入的观察电平,且第二项是该延迟第二输入的观察电平。8. The phase-locked loop as claimed in claim 4, wherein the second input and a second group of transition patterns of a delayed second input comprise (1, 1)->(0, 1), ( 0,1)->(0,0), (0,0)->(1,0), (1,0)->(1,1), the first item of each pair is the second input, and the second term is the observed level of the second input for this delay. 9.如权利要求1所述的锁相环,其特征在于,该参考信号在停止或消失时,该数模转换模块在该参考信号停止之前先保持原始的控制信号数值,以使得该数模转换模块将不会改变传送至该电压控制振荡器/电流控制振荡的该模拟电压/电流输出而改变到该输出信号的频率及相位。9. The phase-locked loop according to claim 1, wherein when the reference signal stops or disappears, the digital-to-analog conversion module maintains the original control signal value before the reference signal stops, so that the digital-to-analog The conversion module will change the frequency and phase of the output signal without changing the analog voltage/current output to the VCO/CCO. 10.如权利要求9所述的锁相环,其特征在于,该数模转换模块是通过一计数器或能增大或减小的对等机制而实现。10. The phase-locked loop as claimed in claim 9, wherein the digital-to-analog conversion module is realized by a counter or an equivalent mechanism capable of increasing or decreasing. 11.如权利要求3所述的锁相环,其特征在于,改进相位检测机制使用多个该延迟第二输入,每个该延迟第二输入具有相互间相同波形且不同相位。11. The PLL as claimed in claim 3, wherein the improved phase detection mechanism uses a plurality of the delayed second inputs, and each of the delayed second inputs has the same waveform and different phases. 12.如权利要求4所述的锁相环,其特征在于,改进相位检测机制使用多个该延迟第二输入,每个该延迟第二输入具有相互间相同波形且不同相位。12. The PLL as claimed in claim 4, wherein the improved phase detection mechanism uses a plurality of the delayed second inputs, and each of the delayed second inputs has the same waveform and different phases.
CN 201010217583 2010-06-23 2010-06-23 Phase Locked Loop with Improved Phase Detection Mechanism Active CN102299710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010217583 CN102299710B (en) 2010-06-23 2010-06-23 Phase Locked Loop with Improved Phase Detection Mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010217583 CN102299710B (en) 2010-06-23 2010-06-23 Phase Locked Loop with Improved Phase Detection Mechanism

Publications (2)

Publication Number Publication Date
CN102299710A true CN102299710A (en) 2011-12-28
CN102299710B CN102299710B (en) 2013-06-19

Family

ID=45359904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010217583 Active CN102299710B (en) 2010-06-23 2010-06-23 Phase Locked Loop with Improved Phase Detection Mechanism

Country Status (1)

Country Link
CN (1) CN102299710B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112289357A (en) * 2019-07-23 2021-01-29 华邦电子股份有限公司 Memory device and control method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060279440A1 (en) * 2005-06-10 2006-12-14 Samsung Electronics Co., Ltd. Frequency detector in phase locked loop circuit and frequency error detecting method
CN1909376A (en) * 2005-05-04 2007-02-07 瑞昱半导体股份有限公司 Phase and frequency detection circuit
US20080054959A1 (en) * 2006-08-31 2008-03-06 Elpida Memory, Inc. DLL circuit and semiconductor device including the same
CN101542907A (en) * 2006-11-30 2009-09-23 高通股份有限公司 Linear phase frequency detector and charge pump for phase-locked loop

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909376A (en) * 2005-05-04 2007-02-07 瑞昱半导体股份有限公司 Phase and frequency detection circuit
US20060279440A1 (en) * 2005-06-10 2006-12-14 Samsung Electronics Co., Ltd. Frequency detector in phase locked loop circuit and frequency error detecting method
US20080054959A1 (en) * 2006-08-31 2008-03-06 Elpida Memory, Inc. DLL circuit and semiconductor device including the same
CN101542907A (en) * 2006-11-30 2009-09-23 高通股份有限公司 Linear phase frequency detector and charge pump for phase-locked loop

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112289357A (en) * 2019-07-23 2021-01-29 华邦电子股份有限公司 Memory device and control method thereof
CN112289357B (en) * 2019-07-23 2024-07-26 华邦电子股份有限公司 Memory device and control method thereof

Also Published As

Publication number Publication date
CN102299710B (en) 2013-06-19

Similar Documents

Publication Publication Date Title
CN101640535B (en) PLL circuit, communication device, and loopback test method of communication device
CN101842986A (en) Spectrum spread clock generation device
US20130329843A1 (en) Semiconductor device
US8798223B2 (en) Clock and data recovery unit without an external reference clock
CN102449912A (en) Phase lock loop with a multiphase oscillator
CN103684435A (en) Delay Line Circuit, Delay Locked Loop and Its Test System
US8536911B1 (en) PLL circuit, method of controlling PLL circuit, and digital circuit
JP2012109931A (en) Oversampling circuit and serial communication apparatus and serial communication method using the same
EP2571165B1 (en) Accumulator type fractional-n pll synthesizer and control method thereof
CN101542908B (en) Digital pll device
JP2011040943A (en) Phase-locked loop circuit
CN101192795A (en) Jitter smoothing filter and jitter smoothing method for driving charge pump
US20130135011A1 (en) Phase frequency detector circuit
JP2006119123A (en) Phase difference detection device
JP7393079B2 (en) semiconductor equipment
CN102299710A (en) Phase Locked Loop with Improved Phase Detection Mechanism
TW202144951A (en) Multi-chip system, chip, and clock synchronization method
JP2005252447A (en) Lock detection circuit and method
KR20210028057A (en) Clock data recovery circuit and display apparatus having the same
KR100769690B1 (en) Interface device using clock generator based on frequency voltage converter and clock generator based on frequency voltage converter
TWI410050B (en) A phase-locked loop with novel phase detection mechanism
JP2005006123A (en) Lvds receiver
US8350605B2 (en) Phase-locked loop with novel phase detection mechanism
JPWO2009069244A1 (en) Transmission method and transmission apparatus
CN102404001A (en) Multi-phase clock generation and transmission circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: Nangang Road, Nangang District Taipei city Taiwan Chinese 3 No. 48 7 floor

Patentee after: Wangjiu Science & Technology Co., Ltd.

Address before: Nangang Road, Nangang District Taipei city Taiwan Chinese 3 No. 48 7 floor

Patentee before: Prosperous Polytron Technologies Inc