WO2011054242A1 - 鉴相器及锁相环电路 - Google Patents

鉴相器及锁相环电路 Download PDF

Info

Publication number
WO2011054242A1
WO2011054242A1 PCT/CN2010/077496 CN2010077496W WO2011054242A1 WO 2011054242 A1 WO2011054242 A1 WO 2011054242A1 CN 2010077496 W CN2010077496 W CN 2010077496W WO 2011054242 A1 WO2011054242 A1 WO 2011054242A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
phase
clock
output
phase detector
Prior art date
Application number
PCT/CN2010/077496
Other languages
English (en)
French (fr)
Inventor
刘培章
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011054242A1 publication Critical patent/WO2011054242A1/zh

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal

Definitions

  • the present invention relates to the field of communications, and more particularly to a phase detector and a phase-locked loop circuit for implementing a clock-locked one-way clock in a synchronous communication system.
  • BACKGROUND OF THE INVENTION Clock synchronization is a very important link in a communication network.
  • a special digital synchronization network is set up in a communication network in China.
  • the digital synchronization network is a support network of a communication network and is used to provide a synchronous clock signal for a communication network. In order to ensure the normal operation of the communication network, the digital synchronization network is usually used to achieve the same clock frequency and phase of all nodes in the communication network.
  • the phase-locked loop circuit is the basic circuit for realizing clock synchronization, and the phase detector is one of the basic circuits of the phase-locked loop circuit.
  • the phase-locked loop circuit also has a loop filter, a voltage-controlled oscillator, etc.
  • the function of the loop filter is to filter and process the phase difference data for adjusting the voltage-controlled oscillator. Output frequency.
  • the phase detector can be divided into an analog phase detector and a digital phase detector.
  • the analog phase detector means that the signal participating in phase discrimination is an analog signal.
  • the digital phase detector refers to a signal that participates in phase discrimination as a digital signal.
  • the digital phase detector usually compares the phases of the two reference signals and the measured signal to obtain the phase difference between the two.
  • the reference signal is the clock reference signal of the upper-level node
  • the measured signal is obtained by dividing the locally used clock signal
  • the phase detector is used for detecting the phase difference between the reference signal and the measured signal. In order to obtain the phase change law and frequency deviation of the measured clock signal.
  • phase-detection results of the phase detector are generally divided into two types: when the phase of the signal to be measured is always behind the reference signal, the phase-detection result is positive; when the phase of the signal to be measured is always ahead of the reference signal, the phase-detection result is negative. to.
  • the phase detector detects the clock signal, since the frequency of the signal under test always changes slowly, especially in the loosely coupled phase-locked loop, the phase of the signal to be measured may be ahead of the reference signal at a certain moment, and some At the moment, the measured signal will lag behind the reference signal, and thus the phase discrimination result obtained is positive and negative.
  • An object of the present invention is to provide a phase detector and a phase-locked loop circuit, so that the output phase difference pulse signal is always positive, and the positive phase difference pulse signal outputted by the invention is more suitable for a loop realized by a microprocessor. Filter processing can reduce the workload of programming the 4 start processor and reduce the burden on the start processor.
  • the invention provides a phase detector, comprising a first clock input circuit, configured to receive a first clock signal, and generate a first comparison signal according to the first clock signal and output; and a second clock input circuit, configured to receive the second clock a signal, and generating a second comparison signal according to the second clock signal and outputting; a phase difference pulse output circuit connected to the output ends of the first clock input circuit and the second clock input circuit for using the first comparison signal and the The second comparison signal produces a positive phase difference pulse signal and outputs.
  • the phase detector further includes a counter connected to the output end of the phase difference pulse output circuit, configured to receive the count clock signal, and count the positive phase difference pulse signal according to the count clock signal. A digitized phase difference signal is output.
  • the first clock input circuit includes a first inverter for receiving the first clock signal and inverting the first clock signal.
  • the first clock input circuit further includes a first flip-flop connected to the output end of the first inverter for receiving the inverted first clock signal.
  • the first flip-flop is further configured to receive the first data signal, the inverted first clock signal, and the start phase-detection signal, and according to the first data signal, the inverted first clock signal And generating a first comparison signal and a second data signal by activating the phase detection signal.
  • the second clock input circuit includes a second inverter for receiving the second clock signal and inverting the second clock signal.
  • the second clock input circuit further includes a second flip-flop connected to the output end of the second inverter for receiving the inverted second clock signal.
  • the second trigger is connected to the data output end of the first flip-flop for receiving the second data signal, and the second flip-flop is further configured to receive the inverted second clock signal and start the phase detection. And generating a second comparison signal according to the second data signal, the inverted second clock signal, and the activated phase detection signal.
  • the phase difference pulse output circuit is an exclusive OR gate, and when the first comparison signal and the second comparison signal are both low level or high level, the signal output by the phase difference pulse output circuit is at a low level.
  • the signal output by the phase difference pulse output circuit is at a high level.
  • the invention also provides a phase locked loop circuit comprising the above phase detector.
  • the phase detector and the phase locked loop circuit of the present invention do not need to determine the relationship between the phase lead and the lag of the first clock input circuit and the second clock input circuit, so that the phase difference value of the phase detector output is always positive.
  • the positive phase difference pulse signal outputted by the microprocessor is applied to the loop filter implemented by the microprocessor, which is more suitable for the i processor processing, which can reduce the workload of programming the i processor and reduce the burden on the i processor.
  • FIG. 1 is a schematic structural view of an embodiment of a phase detector according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing a specific structure of the phase detector shown in FIG. 1
  • FIG. 4 is a schematic structural diagram of an embodiment of a phase locked loop circuit according to an embodiment of the invention.
  • the phase detector 100 includes a first clock input circuit 10, a second clock input circuit 20, and a phase difference pulse output circuit 30.
  • the first clock input circuit 10 is configured to receive the first clock signal, and generate a first comparison signal according to the first clock signal and output.
  • a second clock input circuit 20 for receiving And generating a second comparison signal according to the second clock signal and outputting.
  • the phase difference pulse output circuit 30 is connected to the output ends of the first clock input circuit 10 and the second clock input circuit 20 for generating a positive phase difference pulse signal according to the first comparison signal and the second comparison signal and outputting.
  • a counter 40 may be disposed in the phase detector 100, connected to an output end of the phase difference pulse output circuit 30, for receiving a count clock signal, and according to the The count clock signal counts the positive phase difference pulse signal and outputs a digitized phase difference signal.
  • the phase detector 100 is a unidirectional digital phase detector, and the relationship between the phase lead and the lag of the first clock input circuit 10 and the second clock input circuit 20 is not required, so that the phase detector 100 can output
  • the phase difference pulse signal is always positive, and the positive phase difference pulse signal outputted by the phase difference pulse signal is more suitable for the loop filter processing implemented by the 4-turn processor, which can reduce the workload of programming the start processor and reduce the startup processor. burden.
  • the phase detector 100 includes a first inverter 101, a first flip-flop 102, a second inverter 201, a second flip-flop 202, an exclusive OR gate 301, and a counter 40.
  • the first inverter 101 and the first flip-flop 102 constitute the first clock input circuit 10 shown in FIG.
  • the first inverter 101 is configured to receive the first clock signal and invert the first clock signal.
  • the first flip-flop 102 is connected to the output end of the first inverter 101 for receiving the inverted first clock signal.
  • the first flip-flop 102 is further configured to receive the first data signal, the inverted first clock signal, and the start phase-detection signal, and according to the first data signal, the inverted first clock signal, and the start The phase discrimination signal produces a first comparison signal and a second data signal.
  • the first data signal and the second data signal are both high level signals, and the first data signal is a signal input externally of the phase detector 100.
  • the first clock is a reference clock and the frequency is 8 kHz.
  • the first flip flop 102 is a D flip flop.
  • the first clock is connected to the clock input end of the first flip-flop 102 after the non-gate circuit formed by the first inverter 101, so that the first flip-flop 102 can be triggered to be triggered on the falling edge of the first clock, and the first flip-flop
  • the signal input to the data input terminal of 102 is kept at a high level, and the first flip-flop 102 receives the phase-detection signal through the clear terminal.
  • the phase-detection signal is low, the first flip-flop 102 does not work.
  • the signal changes from a low level to a high level the first flip-flop 102 starts operating.
  • the second inverter 201 and the second flip-flop 202 constitute the second clock input circuit 20 shown in FIG.
  • the second inverter 201 is configured to receive the second clock signal and invert the second clock signal.
  • the second clock input circuit 20 further includes a second flip-flop 202 connected to the output of the second inverter 201 for receiving the inverted second clock signal.
  • the second flip-flop 202 is connected to the data output end of the first flip-flop 102 for receiving the second data signal.
  • the second flip-flop 202 is further configured to receive the inverted second clock signal and activate the phase-detection signal, and generate a second according to the second data signal, the inverted second clock signal, and the activated phase-detection signal. Compare signals.
  • the second clock is a measured clock, and the frequency thereof may be set to a frequency that is the same as or close to the frequency of the first clock.
  • the second flip-flop 202 is a D flip-flop.
  • the second clock is connected to the clock input end of the second flip-flop 202 through the non-gate circuit formed by the second inverter 201, so that the second flip-flop 202 can be triggered to be triggered on the falling edge of the second clock, and the second flip-flop
  • the signal input by the data input terminal of 202 and the signal input by the first input terminal are also kept at a high level, and the second flip-flop 202 receives the phase-detection phase signal through the clear terminal, and when the phase-detection signal is activated to be low level, the second trigger The device 202 does not work.
  • the phase-sensing signal is turned from low level to high level, the second flip-flop 202 starts to work.
  • the phase difference pulse output circuit 30 is an exclusive OR gate 301.
  • the signal output by the phase difference pulse output circuit 30 is low level, when the first When one of the comparison signal and the second comparison signal is at a low level, and the other output is at a high level, the signal output from the phase difference pulse output circuit 30 is at a high level.
  • the data input terminal of the counter 40 is coupled to the output of the exclusive OR gate 301, and the clock input terminal of the counter 40 receives the count clock signal. In this embodiment, the number of bits of the counter 40 is 12 bits.
  • FIG. 3 is a diagram showing the phase discrimination result of the phase detector 100 according to an embodiment of the present invention.
  • the frequency of the first comparison signal and the second comparison signal is 8 kHz and the counting clock frequency is 16 MHz
  • the maximum value of the phase-detecting data output by the phase-detection is 16 MHz.
  • /8KHZ 2048
  • the phase detector 100 has an accuracy of 1/2048.
  • the accuracy of the phase detector 100 in this embodiment is 1/2048, which can meet the requirements of the clock synchronization network in China.
  • the count clock frequency of the counter 40 and the number of bits of the counter 40 can be increased.
  • FIG. 3 is a diagram showing the phase discrimination result of the phase detector 100 according to an embodiment of the present invention. In FIG.
  • CLK1 is the reference clock
  • CLK2 is the measured clock
  • START is the start phase detection signal
  • A is the output of the output of the first flip-flop 102
  • B is the output of the output of the second flip-flop 202.
  • C is a signal outputted from the output of the exclusive OR gate 301.
  • the data input terminal of the second flip-flop 202 is the data output end of the first flip-flop 102, and the first comparison signal output by the first flip-flop 102 and the second comparison output by the second flip-flop 202 are outputted.
  • the signal passes through the XOR gate 301, which ensures that the output of the phase detector 100 is always positive, so that the phase difference obtained by the counter 40 is also positive.
  • the phase-detection result of the phase detector 100 is a positive pulse from the falling edge of CLK1 (the dotted line portion of the A waveform diagram) to the falling edge of CLK2 (the dotted line portion of the B waveform diagram) (C The dotted line of the waveform diagram).
  • phase-locked loop circuit in this embodiment uses the phase detector 100 shown in FIG. 1 or FIG. 2 for phase discrimination.
  • the phase-locked loop circuit includes a phase detector 100, a loop filter 200, and a voltage controlled oscillator 300.
  • the resulting signal phase difference automatically adjusts the feedback loop.
  • the input of the loop filter 200 is coupled to the output of the phase detector 100, and the input of the voltage controlled oscillator 300 is coupled to the output of the loop filter 200.
  • the phase-locked loop circuit in this embodiment is different from the existing phase detector 100 except that the circuit structure of the phase detector 100 is different from the existing phase detector 100.
  • the circuit structure and functions of the loop filter 200 and the voltage controlled oscillator 300 are both existing and existing.
  • the loop filter 200 is the same as the voltage controlled oscillator 300, and therefore will not be described herein. Since the phase-locked loop circuit in this embodiment uses the one-way phase detector 100, it is not necessary to determine the relationship between the phase lead and the lag of the first clock input circuit 10 and the second clock input circuit 20, so that the phase detector can be made.
  • the phase difference pulse signal outputted by 100 is always positive, and the positive phase difference pulse signal outputted by the 100 is more suitable for the loop filter 200 implemented by the start processor, which can reduce the workload of programming the start processor and reduce the startup. The burden on the processor.

Landscapes

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

Description

鉴相器及锁相环电路 技术领域 本发明涉及通信领域, 尤其涉及同步通讯系统中实现时钟锁相的单向时 钟的鉴相器及锁相环电路。 背景技术 在通信网络中时钟同步是非常重要的一个环节, 在我国的通信网络中设 置专门的数字同步网络, 该数字同步网络为通信网络的支撑网, 用于为通信 网络提供同步时钟信号。 为了保证通信网络正常工作, 通常利用数字同步网 络实现通信网络内所有节点的时钟频率和相位保持一致。 我国的数字同步网 络体系等级为主从同步, 较低一级节点从较高一级节点获得频率基准并同步 于它节点。 锁相环电路就是用于实现时钟同步的基本电路, 鉴相器则为锁相 环电路的基本电路之一。 锁相环电路除了包括鉴相器之外, 还要有环路滤波 器、 压控振荡器等, 环路滤波器的作用是对相位差数据进行滤波和处理, 用 于调节压控振荡器的输出频率。 鉴相器可以分为模拟鉴相器和数字鉴相器, 模拟鉴相器是指参与鉴相的信号为模拟信号。 数字鉴相器是指参与鉴相的信 号为数字信号。 数字鉴相器通常是对两个参考信号和被测信号的相位进行比 较, 从而得到二者的相位差。 在时钟同步网中, 参考信号为上一级节点的时 钟参考信号, 被测信号为本地使用的时钟信号经分频后得到, 鉴相器则是用 于检测参考信号与被测信号的相位差, 以便得到被测时钟信号的相位变化规 律和频率偏差。 因而鉴相器的鉴相结果一般分为两种: 当被测信号相位一直 滞后于参考信号时, 鉴相结果为正向; 当被测信号相位一直超前于参考信号 时, 鉴相结果为负向。 然而鉴相器在对时钟信号进行鉴相时, 由于被测信号 的频率总是緩慢变化, 尤其是在松耦合锁相环中, 某一时刻被测信号的相位 可能超前于参考信号, 而某一时刻被测信号则会滞后于参考信号, 因而得到 的鉴相结果有正也有负。由于鉴相器的鉴相结果需要输出给环路滤波器处理, 而环路滤波器由 处理器实现, 既有正又有负的鉴相结果会增加处理器的负 担。 发明内容 本发明的目的在于提供一种鉴相器和锁相环电路, 使输出的相位差脉冲 信号一直为正, 其所输出的正的相位差脉冲信号较适合由微处理器实现的环 路滤波器处理,可减轻对 4啟处理器进行编程的工作量和减轻啟处理器的负担。 本发明提供一种鉴相器, 包括第一时钟输入电路, 用于接收第一时钟信 号, 并根据第一时钟信号产生第一比较信号并输出; 第二时钟输入电路, 用 于接收第二时钟信号, 并根据第二时钟信号产生第二比较信号并输出; 相位 差脉冲输出电路, 连接于所述第一时钟输入电路和第二时钟输入电路的输出 端,用于根据第一比较信号和第二比较信号产生正的相位差脉冲信号并输出。 优选的, 上述鉴相器还包括计数器, 连接于所述相位差脉冲输出电路的 输出端, 用于接收计数时钟信号, 并根据所述计数时钟信号对所述正的相位 差脉冲信号进行计数后输出数字化的相位差信号。 优选的,上述第一时钟输入电路包括第一反相器用于接收第一时钟信号, 并对第一时钟信号进行反相。 优选的, 上述第一时钟输入电路还包括第一触发器, 连接于所述第一反 相器的输出端, 用于接收经过反相后的第一时钟信号。 优选的, 上述第一触发器还用于接收第一数据信号、 经过反相后的第一 时钟信号和启动鉴相信号, 并根据所述第一数据信号、 经过反相后的第一时 钟信号和启动鉴相信号产生第一比较信号和第二数据信号。 优选的,上述第二时钟输入电路包括第二反相器用于接收第二时钟信号, 并对第二时钟信号进行反相。 优选的, 上述第二时钟输入电路还包括第二触发器, 连接于所述第二反 相器的输出端, 用于接收经过反相后的第二时钟信号。 优选的, 上述第二触发器连接于所述第一触发器的数据输出端, 用于接 收第二数据信号, 第二触发器还用于接收经过反相后的第二时钟信号和启动 鉴相信号, 并根据所述第二数据信号、 经过反相后的第二时钟信号和启动鉴 相信号产生第二比较信号。 优选的, 上述相位差脉冲输出电路为异或门, 当第一比较信号和第二比 较信号均为低电平或者高电平时, 相位差脉冲输出电路所输出的信号为低电 平。 优选的, 当第一比较信号和第二比较信号的其中一个输出为低电平, 另 一个输出的为高电平时, 相位差脉冲输出电路所输出的信号为高电平。 本发明还提供一种锁相环电路, 包括上述鉴相器。 本发明中的鉴相器和锁相环电路, 不需要确定第一时钟输入电路和第二 时钟输入电路的相位超前和滞后的关系, 就可以使鉴相器输出的相位差值一 直为正, 其所输出的正的相位差脉冲信号给由微处理器实现的环路滤波器, 比较适合 i处理器处理, 可减轻对 i处理器进行编程的工作量和减轻 i处理 器的负担。 附图说明 图 1所示为 居本发明实施例的一种鉴相器实施例的结构示意图; 图 2所示为图 1所示的鉴相器的具体结构示意图; 图 3所示为根据本发明实施例的鉴相器鉴相结果的示意图; 图 4所示为根据本发明实施例的一种锁相环电路实施例的结构示意图。 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图故进一步 说明。 具体实施方式 下面结合附图和具体实施例对本发明所述技术方案作进一步的详细描 述, 以使本领域的技术人员可以更好的理解本发明并能予以实施, 但所举实 施例不作为对本发明的限定。 图 1所示为 居本发明实施例的一种鉴相器 100实施例的结构示意图。 鉴相器 100包括第一时钟输入电路 10、 第二时钟输入电路 20和相位差 脉冲输出电路 30。 第一时钟输入电路 10 , 用于接收第一时钟信号, 并根据 第一时钟信号产生第一比较信号并输出。 第二时钟输入电路 20 , 用于接收第 二时钟信号, 并根据第二时钟信号产生第二比较信号并输出。 相位差脉冲输 出电路 30 ,连接于所述第一时钟输入电路 10和第二时钟输入电路 20的输出 端,用于根据第一比较信号和第二比较信号产生正的相位差脉冲信号并输出。 在将本实施例中鉴相器 100进行应用时, 还可在鉴相器 100设置计数器 40 , 连接于所述相位差脉冲输出电路 30的输出端, 用于接收计数时钟信号, 并根据所述计数时钟信号对所述正的相位差脉冲信号进行计数后输出数字化 的相位差信号。 本实施例中, 鉴相器 100为单向数字鉴相器, 不需要确定第一时钟输入 电路 10和第二时钟输入电路 20的相位超前和滞后的关系, 就可以使鉴相器 100 输出的相位差脉冲信号一直为正, 其所输出的正的相位差脉冲信号较适 合由 4啟处理器实现的环路滤波器处理, 可减轻对啟处理器进行编程的工作量 和减轻啟处理器的负担。 图 2所示为图 1所示的鉴相器 100的具体结构示意图。 鉴相器 100包括第一反相器 101、 第一触发器 102、 第二反相器 201、 第 二触发器 202、 异或门 301和计数器 40。 第一反相器 101和第一触发器 102构成图 1所示的第一时钟输入电路 10。 第一反相器 101用于接收第一时钟信号, 并对第一时钟信号进行反相。 第一 触发器 102 , 连接于所述第一反相器 101 的输出端, 用于接收经过反相后的 第一时钟信号。 第一触发器 102还用于接收第一数据信号、 上述经过反相后 的第一时钟信号和启动鉴相信号, 并根据所述第一数据信号、 经过反相后的 第一时钟信号和启动鉴相信号产生第一比较信号和第二数据信号。 第一数据 信号和第二数据信号均为高电平信号, 并且第一数据信号为鉴相器 100的外 部所输入的信号。 在本实施例中, 第一时钟为参考时钟, 频率为 8KHZ。 第一触发器 102 为 D触发器。 第一时钟经过第一反相器 101所构成的非门电路后连到第一触 发器 102的时钟输入端,可以保证第一触发器 102在第一时钟的下降沿触发, 同时第一触发器 102的数据输入端输入的信号保持为高电平,第一触发器 102 通过清除端接收启动鉴相信号,当启动鉴相信号为低电平时,第一触发器 102 不工作, 当启动鉴相信号由低电平变为高电平时, 第一触发器 102开始工作。 第二反相器 201和第二触发器 202构成图 1所示的第二时钟输入电路 20。 第二反相器 201用于接收第二时钟信号, 并对第二时钟信号进行反相。 第二 时钟输入电路 20还包括第二触发器 202 ,连接于所述第二反相器 201的输出 端, 用于接收经过反相后的第二时钟信号。 第二触发器 202连接于所述第一 触发器 102的数据输出端, 用于接收第二数据信号。 第二触发器 202还用于 接收经过反相后的第二时钟信号和启动鉴相信号 ,并根据所述第二数据信号、 经过反相后的第二时钟信号和启动鉴相信号产生第二比较信号。 在本实施例中, 第二时钟为被测时钟, 其频率可设置为与第一时钟的频 率相同或者接近的频率。 第二触发器 202为 D触发器。 第二时钟经过第二反 相器 201所构成的非门电路后连到第二触发器 202的时钟输入端, 可以保证 第二触发器 202在第二时钟的下降沿触发, 同时第二触发器 202的数据输入 端输入的信号与第一输入端输入的信号也是保持为高电平, 第二触发器 202 通过清除端接收启动鉴相信号,当启动鉴相信号为低电平时,第二触发器 202 不工作, 当启动鉴相信号由低电平变为高电平时, 第二触发器 202开始工作。 相位差脉冲输出电路 30为异或门 301 , 当第一比较信号和第二比较信号 均为低电平或者高电平时, 相位差脉冲输出电路 30所输出的信号为低电平, 当第一比较信号和第二比较信号的其中一个输出为低电平, 另一个输出的为 高电平时, 相位差脉冲输出电路 30所输出的信号为高电平。 计数器 40的数据输入端接异或门 301的输出端, 计数器 40的时钟输入 端接收计数时钟信号。 在本实施例中, 计数器 40的位数为 12位, 当第一比 较信号和第二比较信号的频率为 8KHZ, 计数时钟频率为 16MHZ 时, 鉴相 所输出的鉴相数据的最大值为 16MHZ/8KHZ=2048,相应的计数器 40的最大 计数值为 212=2048, 因此鉴相器 100的精度为 1/2048。 本实施例中的鉴相器 100的精度为 1/2048已经能满足我国时钟同步网的要求。 当然, 为了提高鉴 相器 100的精度, 可以提高计数器 40的计数时钟频率和计数器 40的位数。 图 3所示为根据本发明实施例的鉴相器 100鉴相结果的示意图。 在图 3 中, CLK1为参考时钟, CLK2为被测时钟, START为启动鉴相 信号, A为第一触发器 102的输出端输出的信号, B为第二触发器 202的输 出端输出的信号, C为异或门 301的输出端输出的信号。 从图 3可知, 由于 CLK2 (被测时钟) 的频率与 CLK1 (参考时钟) 的频率非常接近, 第二触发 器 202与第一触发器 102都是在启动鉴相信号为高电平时启动鉴相, 且都是 在下降沿触发, 而第二触发器 202的数据输入端为第一触发器 102的数据输 出端, 第一触发器 102所输出的第一比较信号和第二触发器 202所输出的第 二比较信号经过异或门 301 , 可以保证鉴相器 100的输出结果总是为正, 从 而使得计数器 40 釆样得到的相位差值也为正。 因而, 在鉴相命令启动后, 鉴相器 100 的鉴相结果为从 CLK1 下降沿 (A 波形图的虚线部分) 开始到 CLK2下降沿( B波形图的虚线部分 )之间的正脉冲( C波形图的虚线部分)。 图 4所示为才艮据本发明实施例的一种锁相环电路实施例的结构示意图。 本实施例中的锁相环电路使用图 1或者图 2所示的鉴相器 100进行鉴相, 锁相环电路包括鉴相器 100、 环路滤波器 200和压控振荡器 300, 三者共同 构成的信号相差自动调节反馈环路。 环路滤波器 200的输入端与鉴相器 100 的输出端连接,压控振荡器 300的输入端则与环路滤波器 200的输出端连接。 本实施例中的锁相环电路除了鉴相器 100的电路结构与现有的鉴相器 100不 同之外, 环路滤波器 200以及压控振荡器 300的电路结构以及功能均与现有 的环路滤波器 200和压控振荡器 300相同, 因此在此不再赘述。 本实施例中的锁相环电路由于使用了单向的鉴相器 100 , 不需要确定第 一时钟输入电路 10和第二时钟输入电路 20的相位超前和滞后的关系, 就可 以使鉴相器 100输出的相位差脉冲信号一直为正, 其所输出的正的相位差脉 冲信号较适合由啟处理器实现的环路滤波器 200处理, 可减轻对啟处理器进 行编程的工作量和减轻啟处理器的负担。 以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接 或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims

权 利 要 求 书
1. 一种鉴相器, 其特征在于, 包括:
第一时钟输入电路, 用于接收第一时钟信号, 并根据第一时钟信号 产生第一比较信号并输出;
第二时钟输入电路, 用于接收第二时钟信号, 并根据第二时钟信号 产生第二比较信号并输出;
相位差脉冲输出电路, 连接于所述第一时钟输入电路和第二时钟输 入电路的输出端, 用于根据所述第一比较信号和所述第二比较信号产生 正的相位差脉冲信号并输出。
2. 如权利要求 1所述的鉴相器, 其特征在于, 所述鉴相器还包括计数器, 所 述计数器连接于所述相位差脉冲输出电路的输出端, 用于接收计数时钟 信号, 并根据所述计数时钟信号对所述正的相位差脉冲信号进行计数后 输出数字化的相位差信号。
3. 如权利要求 1所述的鉴相器, 其特征在于, 所述第一时钟输入电路包括第 一反相器, 所述第一反相器用于接收所述第一时钟信号, 并对所述第一 时钟信号进行反相。
4. 如权利要求 3所述的鉴相器, 其特征在于, 所述第一时钟输入电路还包括 第一触发器, 所述第一触发器连接于所述第一反相器的输出端, 用于接 收经过反相后的所述第一时钟信号。
5. 如权利要求 4所述的鉴相器, 其特征在于, 所述第一触发器还用于接收第 一数据信号、 经过反相后的所述第一时钟信号和启动鉴相信号, 并根据 所述第一数据信号、 经过反相后的所述第一时钟信号和所述启动鉴相信 号产生所述第一比较信号和第二数据信号。
6. 如权利要求 1所述的鉴相器, 其特征在于, 所述第二时钟输入电路包括第 二反相器, 所述第二反相器用于接收所述第二时钟信号, 并对所述第二 时钟信号进行反相。
7. 如权利要求 6所述的鉴相器, 其特征在于, 所述第二时钟输入电路还包括 第二触发器, 所述第二触发器连接于所述第二反相器的输出端, 用于接 收经过反相后的所述第二时钟信号。
8. 如权利要求 7所述的鉴相器, 其特征在于, 所述第二触发器连接于所述第 一触发器的数据输出端, 用于接收所述第二数据信号, 所述第二触发器 还用于接收经过反相后的所述第二时钟信号和所述启动鉴相信号, 并根 据所述第二数据信号、 经过反相后的所述第二时钟信号和所述启动鉴相 信号产生所述第二比较信号。
9. 如权利要求 8所述的鉴相器, 其特征在于, 所述相位差脉冲输出电路为异 或门, 当所述第一比较信号和所述第二比较信号均为低电平或者高电平 时, 所述相位差脉冲输出电路所输出的信号为氐电平。
10. 如权利要求 9所述的鉴相器, 其特征在于, 当所述第一比较信号和所述第 二比较信号的其中一个输出为低电平, 另一个输出的为高电平时, 所述 相位差脉冲输出电路所输出的信号为高电平。
11. 一种锁相环电路, 其特征在于, 包括如权利要求 1至 10中任一项所述的鉴 相器。
PCT/CN2010/077496 2009-11-05 2010-09-29 鉴相器及锁相环电路 WO2011054242A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910222091.2 2009-11-05
CN200910222091.2A CN102055469B (zh) 2009-11-05 2009-11-05 鉴相器及锁相环电路

Publications (1)

Publication Number Publication Date
WO2011054242A1 true WO2011054242A1 (zh) 2011-05-12

Family

ID=43959460

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/077496 WO2011054242A1 (zh) 2009-11-05 2010-09-29 鉴相器及锁相环电路

Country Status (2)

Country Link
CN (1) CN102055469B (zh)
WO (1) WO2011054242A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426294B (zh) * 2011-08-05 2014-06-04 北京星网锐捷网络技术有限公司 时钟相位差测量方法及设备
CN106093572B (zh) * 2016-06-23 2018-12-28 西安电子科技大学 基于集成鉴相器ad8302的高精度相位检测电路及其自校准方法
CN109217951B (zh) * 2018-09-07 2020-12-15 深圳市紫光同创电子有限公司 一种基于fpga的传输延时测试方法及装置
CN109039471B (zh) * 2018-09-13 2020-05-15 上海垣信卫星科技有限公司 一种应用于高速激光通信的数模混合解调方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1298227A (zh) * 1999-11-26 2001-06-06 深圳市华为技术有限公司 一种工作可靠的时钟鉴相逻辑电路
CN1874476A (zh) * 2006-06-08 2006-12-06 复旦大学 适用于高清数字电视的低抖动时钟生成电路
CN1983815A (zh) * 2005-12-13 2007-06-20 上海华虹Nec电子有限公司 一种延时锁定环电路
CN101383613A (zh) * 2007-09-04 2009-03-11 锐迪科微电子(上海)有限公司 锁相环电路及振荡信号相位控制方法
CN101572527A (zh) * 2009-06-09 2009-11-04 中国人民解放军国防科学技术大学 高速高抖动容限的随机数据线性鉴相器电路

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1068473C (zh) * 1994-04-07 2001-07-11 Rca.汤姆森许可公司 锁相环的鉴相器
KR100956771B1 (ko) * 2007-12-11 2010-05-12 주식회사 하이닉스반도체 디엘엘 클럭 생성 회로
US8619938B2 (en) * 2007-12-28 2013-12-31 Mediatek Inc. Clock generation devices and methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1298227A (zh) * 1999-11-26 2001-06-06 深圳市华为技术有限公司 一种工作可靠的时钟鉴相逻辑电路
CN1983815A (zh) * 2005-12-13 2007-06-20 上海华虹Nec电子有限公司 一种延时锁定环电路
CN1874476A (zh) * 2006-06-08 2006-12-06 复旦大学 适用于高清数字电视的低抖动时钟生成电路
CN101383613A (zh) * 2007-09-04 2009-03-11 锐迪科微电子(上海)有限公司 锁相环电路及振荡信号相位控制方法
CN101572527A (zh) * 2009-06-09 2009-11-04 中国人民解放军国防科学技术大学 高速高抖动容限的随机数据线性鉴相器电路

Also Published As

Publication number Publication date
CN102055469A (zh) 2011-05-11
CN102055469B (zh) 2014-04-30

Similar Documents

Publication Publication Date Title
US8076979B2 (en) Lock detection circuit for phase locked loop
US6285172B1 (en) Digital phase-locked loop circuit with reduced phase jitter frequency
US8536910B2 (en) System and method for reducing power consumption in a phased-locked loop circuit
CN109639271B (zh) 锁定指示电路及其构成的锁相环
US20010043098A1 (en) Phase lock loop system and method
TWI328353B (en) Digital lock detector for phase-locked loop
EP2633620B1 (en) Pll dual edge lock detector
CN101399541B (zh) 可调的数字锁定检测器及方法
CN102497204A (zh) 用于延迟锁定环的初始化电路
US10530563B2 (en) Clock synchronization device
WO2011054242A1 (zh) 鉴相器及锁相环电路
TW200939633A (en) Oscillation tuning circuit and method
US7859313B2 (en) Edge-missing detector structure
JP3995552B2 (ja) クロック逓倍回路
TW516272B (en) Phase latch loop acceleration system
US20050185747A1 (en) Phase detector with extended linear operating range
EP1662663B1 (en) PLL circuit
TWI548218B (zh) 具有時序自我檢測的四相位時脈產生器
TWI743791B (zh) 多晶片系統、晶片與時脈同步方法
CN105915214B (zh) 锁相环控制电路及方法
JP2008541685A (ja) 到達時間同期ループ
TWI246254B (en) Frequency locked loop with improved stability
CN113193868A (zh) 锁相检测装置和锁相检测方法、锁相环
TW515142B (en) Frequency divider
US6680991B1 (en) Detection of frequency differences between signals

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10827856

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10827856

Country of ref document: EP

Kind code of ref document: A1