FREQUENCY CORRECTION LOOP WITH DEADZONE AND HYSTERESIS
20260051893 ยท 2026-02-19
Assignee
Inventors
Cpc classification
H03L7/093
ELECTRICITY
H03D13/004
ELECTRICITY
H03L7/087
ELECTRICITY
H03L7/0891
ELECTRICITY
International classification
Abstract
Semiconductor devices for synchronizing networks are described. A semiconductor device can include a phase lock loop of a timing circuit. The phase lock loop includes a voltage-controlled oscillator, a sub-sampling phase lock loop circuit and a frequency correction loop circuit. The frequency correction loop circuit is configured to activate a charge pump to inject a charge into the voltage-controlled oscillator based on a phase difference between a reference signal and a feedback signal being greater in magnitude than a deadzone delay parameter plus a hysteresis delay parameter and de-activate the charge pump based on the magnitude of the phase difference between the reference signal and the feedback signal falling below the deadzone delay parameter.
Claims
1. A semiconductor device comprising: a phase lock loop of a timing circuit, the phase lock loop comprising: a voltage-controlled oscillator; a sub-sampling phase lock loop circuit; and a frequency correction loop circuit, the frequency correction loop circuit being configured to: activate a charge pump to inject a charge into the voltage-controlled oscillator based on a phase difference between a reference signal and a feedback signal being greater in magnitude than a deadzone delay parameter plus a hysteresis delay parameter; and de-activate the charge pump based on the magnitude of the phase difference between the reference signal and the feedback signal falling below the deadzone delay parameter.
2. The semiconductor device of claim 1, wherein the frequency correction loop circuit comprises a phase detector, the phase detector comprising: a first latch that is configured to be set based on the reference signal to generate a first latch output signal; a second latch that is configured to be set based on the feedback signal to generate a second latch output signal; a third latch that is configured to be set based on the first latch output signal, the deadzone delay parameter and the hysteresis delay parameter; and a fourth latch that is configured to be set based on the second latch output signal, the deadzone delay parameter and the hysteresis delay parameter.
3. The semiconductor device of claim 2, wherein: the first and second latches are configured to be reset based on the first and second latch output signals both being set; the third latch is configured to be reset based on the first latch output signal of the first latch and the deadzone delay parameter; and the fourth latch is configured to be reset based on the second latch output signal of the second latch and the deadzone delay parameter.
4. The semiconductor device of claim 1, wherein the sub-sampling phase lock loop circuit is configured to activate and de-activate the frequency correction loop circuit based on the reference signal and feedback from the voltage-controlled oscillator.
5. The semiconductor device of claim 1, wherein the deadzone delay parameter corresponds to one half of a period of the reference signal.
6. The semiconductor device of claim 1, wherein the deadzone delay parameter and the hysteresis delay parameter are each separately programmable.
7. A frequency correction loop of a timing circuit, the frequency correction loop comprising: a charge pump that is configured to inject a charge into a voltage-controlled oscillator of the timing circuit; and a phase detector that is configured to control an activation of the charge pump, the phase detector comprising: a first latch that is configured to be set based on a reference signal to generate a first latch output signal; a second latch that is configured to be set based on a feedback signal from the voltage-controlled oscillator to generate a second latch output signal; a first latch delay circuit; a third latch that is configured to be set based on the first latch output signal and a first delay signal output by the first latch delay circuit; a second latch delay circuit; and a fourth latch that is configured to be set based on the second latch output signal and a second delay signal output by the second latch delay circuit.
8. The frequency correction loop of claim 7, wherein the first and second latch delay circuits are each configured with a modifiable delay parameter that is configured to adjust a delay between a setting of the corresponding first and second latches and a setting of the corresponding third and fourth latches.
9. The frequency correction loop of claim 8, wherein the modifiable delay parameter comprises a deadzone delay parameter and a hysteresis delay parameter.
10. The frequency correction loop of claim 9, wherein the deadzone delay parameter and the hysteresis delay parameter are each separately programmable.
11. The frequency correction loop of claim 9, wherein the deadzone delay parameter corresponds to one half of a period of the reference signal.
12. The frequency correction loop of claim 9, wherein the delay between the setting of the corresponding first and second latches and the setting of the corresponding third and fourth latches comprises a combination of the deadzone delay parameter and the hysteresis delay parameter.
13. A semiconductor device comprising a phase detector of a timing circuit, the phase detector being configured to: control an activation of a charge pump of the timing circuit, the charge pump being configured to inject a charge into a voltage-controlled oscillator of the timing circuit; enter a set state from a reset state in response to a phase difference between a reference signal and a feedback signal exceeding a predetermined deadzone delay corresponding to the reference signal plus a predetermined hysteresis delay, the phase detector being configured to activate the charge pump when in the set state and disable the charge pump when in the reset state; and enter the reset state from the set state in response to the phase difference between the reference signal and the feedback signal being reduced to less than the predetermined deadzone delay.
14. The semiconductor device of claim 13 wherein the reset state of the phase detector corresponds to a source output and a sink output of the phase detector being low.
15. The semiconductor device of claim 13 wherein the set state of the phase detector corresponds to one of a source output and a sink output of the phase detector being high.
16. The semiconductor device of claim 13 wherein: the phase detector comprises a first pair of latches and a second pair of latches; the first pair of latches are set based on one of the reference signal and the feedback signal, respectively; and the second pair of latches are each set in response to a corresponding one of the first pair of latches being set and the phase difference between the reference signal and the feedback signal exceeding the predetermined deadzone delay corresponding to the reference signal plus the predetermined hysteresis delay.
17. The semiconductor device of claim 16 wherein the phase detector comprises a pair of latch delay circuits, each latch delay circuit being disposed between the reference signal or feedback signal and a corresponding one of the second pair of latches and defining the predetermined deadzone delay and the predetermined hysteresis delay.
18. The semiconductor device of claim 13 wherein predetermined deadzone delay corresponds to half of a period of the reference signal.
19. The semiconductor device of claim 13 wherein predetermined deadzone delay is programmable.
20. The semiconductor device of claim 13 wherein predetermined hysteresis delay is programmable.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
DETAILED DESCRIPTION
[0017] In the following description, numerous specific details are set forth, such as particular structures, components, materials, dimensions, processing steps and techniques, in order to provide an understanding of the various embodiments of the present application. However, it will be appreciated by one of ordinary skill in the art that the various embodiments of the present application may be practiced without these specific details. In other instances, well-known structures or processing steps have not been described in detail in order to avoid obscuring the present application.
[0018]
[0019] System 100 can include a network circuit 101 and a plurality of networks, or N networks 120_1, 120_2, . . . , 120_N. Network circuit 101 can be an integrated circuit (IC) implement a telecommunications circuit. In an example, the circuit 101 may be implemented as a single IC or as a number of ICs on a printed circuit board (e.g., a network card, server blade, etc.). By way of example, network circuit 101 can implement a portion of a telecommunications network circuit. In another example, network circuit 101 can be implemented as one or more components of a Synchronous Ethernet (e.g., SyncE) switch and/or a router box (e.g., telecommunications device). System 100 can be implemented to synchronize multiple networks (e.g., two or more) 120_1-120_N. The number of networks 120_1 to 120_N can be arbitrary depending on a desired implementation of system 100.
[0020] In examples where network circuit 101 is being implemented as a switch and/or router, such as a SyncE switch and/or router. network circuit 101 can include one or more transceivers, such as transceivers 130a, 130b, one or more precision timing protocol (PTP) modules, such as PTP modules 140a, 140b, and a timing circuit 110. Each one of transceivers 130a, 130b can be, for example, an Ethernet physical layer transceiver chip. In an example shown in
[0021] Timing circuit 110 can implement a network card and/or a network circuit board. Timing circuit 110 can be configured to synchronize a timing of communication signals transmitted and/or received using one or more communication protocols. In some embodiments, the timing circuit 110 can be implemented as a component of a SyncE router and/or switch (e.g., circuit 101). In one example, timing circuit 110 can be used to implement a synchronous Ethernet Wide Area Network (WAN). In some embodiments, timing circuit 110 can be implemented to facilitate synchronous communication in a digital subscriber line access multiplexer (DSLAM). In an aspect, transceivers 130a, 130b, PTP modules 140a, 140b, and/or timing circuit 110 can be deployed throughout a telecommunications network. In one example, the transceivers 130a, 130b, the PTP modules 140a, 140b and/or the timing circuit 110 can be deployed in a road-side cabinet and/or a server rack. In examples where network circuit 101 implements a SyncE switch and/or router box, networks 120_1 to 120_N can be coupled to one another.
[0022] In an example, networks 120_1 to 120_N can implement a number of local area networks (LANs) having operations that may be synchronized with one another. In various embodiments, networks 120_1 to 120_N can include networks based on time division multiplexing (TDM) (e.g., synchronous optical networks (SONET), synchronous digital hierarchy (SDH) network, or plesiochronous digital hierarchy (PDH) networks), and/or Ethernet-based packet networks. The networks 120_1 to 120_N can be configured to facilitate delivery of a variety of communication services. Each one of PTP modules 140a, 140b can implement an IEEE 1588 compliant packet-based timing scheme. In an example, PTP module 140a can implement a slave clock and PTP module 140b can implement a master clock, thus PTP module 140b has a higher hierarchy than PTP module 140a. PTP module 140b can initiate transmission of synchronization messages to slave clocks (e.g., PTP module 140a) and determines the time base for the PTP slave clocks lower in hierarchy.
[0023] In the example shown in
[0024] PTP modules 140a, 140b can be configured to provide precise time over an Internet computing network. For example, PTP modules 140a, 140b can be interconnected by switches (e.g., dedicated, high-speed LAN segments interconnected by switches) and/or can synchronize device clocks over the Internet computing network. In the example shown in
[0025] With reference to
[0026] However, there are also some challenges with the use of a SSPLL to perform the frequency and phase locking. For example, SSPLLs may lock to any harmonic of the PLL's reference frequency that falls within the VCO's tuning range where locking to the wrong harmonic will cause the SSPLL to generate the wrong output frequency. Since many commercial PLLs are required to lock to a particular programmed frequency, a PLL using an SSPLL needs to be designed such that the SSPLL locks to the correct harmonic of the reference frequency.
[0027] With reference again to
[0028] In a fractional N SSPLL, the reference frequency input to PLL 150 is time dithered and can cause FCL 160 to erroneously trigger. For example, as seen in
[0029] With reference to
[0030] The FCL deadzone delay parameter is a trigger threshold t_dz of PFD 300 that is set by the combination of a deadzone t_d and a hysteresis delay t_hys. For PFD 300 in a reset state, phase errors less than the deadzone t_d+hysteresis delay t_hys will not set the PFD 300 and no charge will be injected into SSPLL 170.
[0031] The FCL hysteresis delay parameter t_hys defines the re-trigger margin of FCL 160. When FCL 160 is triggered by PFD 300 detecting a phase error exceeding the deadzone t_d+hysteresis delay t_hys, FCL 160 continuously injects charge into SSPLL 170 until the phase error falls below the deadzone t_d and FCL 160 is deactivated. FCL 160 will not re-trigger until PFD 300 once again detects a phase error that exceeds deadzone t_d+hysteresis t_hys. In this manner, the hysteresis delay parameter t_hys may be utilized to inhibit a rapid activation and deactivation of FCL 160 by ensuring that there is a phase gap of t_hys between the trigger point t_dz and the de-activation point t_d of FCL 160. Further, as shown in
[0032]
[0033] PFD 300 comprises latches F1 and F2 which generate a linear characteristic where the time that the source current is active is proportional to the phase difference between the reference frequency and the feedback frequency. PFD 300 also comprises latches F3 and F4 and a latch delay logic 302 that is disposed between the clock inputs of F1 and F2 and latches F3 and F4 which implements the deadzone and hysteresis delay logic of FCL 160. In one embodiment, PFD 300 can be always active and ready to source or sink current when output of latches F3 or F4 go high.
[0034] Latch delay logic 302 defines a deadzone using a deadzone delay element 304, e.g., an inverter that is configured to generate the desired deadzone t_d, a hysteresis delay element 306 that is configured to generate a desired hysteresis delay t_hys and logic for controlling latches F3 and F4 based on the outputs of deadzone delay element 304, hysteresis delay element 306 and the Q outputs of latches F3 and F4. In some embodiments, deadzone delay logic element 304 may comprise a programmable parameter that is configured to adjust the size of the deadzone t_d. In some embodiments, a value T of hysteresis delay element 306 may be programmable to adjust the amount of hysteresis delay t_hys to be added to the deadzone t_d to set the trigger point t_dz.
[0035] In an example, latch delay logic 302 may be configured such that, in the reset state where the source and sink outputs of latches F3 and F4 are low, latches F3 and F4 will not set until the phase difference between the reference frequency input and the feedback frequency input exceeds half of the reference period+the hysteresis delay t_hys.
[0036] Similarly, the latch delay logic 302 may be configured such that, in the set state where one or both of the source and the sink outputs of latches F3 and F4 is high, latches F3 and F4 will remain in the set state until the phase difference between the reference frequency input and the feedback frequency input is reduced to less than half the reference period.
[0037]
[0038] Process 700 can be performed by a timing circuit (e.g., timing circuit 110) to synchronize a plurality of networks. Process 700 can begin at block 702. At block 702, the timing circuit can activate PLL 150.
[0039] Process 700 can proceed from block 702 to block 704. At block 704, PLL 150 determines that the phase difference between a reference frequency and a feedback frequency is above a first predetermined threshold. For example, the first predetermined threshold may correspond to a combination of deadzone t_d and hysteresis delay t_hys.
[0040] Process 700 can proceed from block 704 to block 706. At block 706, the PLL 150 activates the charge pump of FCL 160 based on the determination that the phase difference between the reference frequency and the feedback frequency is above the first predetermined threshold.
[0041] Process 700 can proceed from block 706 to block 708. At block 708, PLL 150 determines that the phase difference between a reference frequency and a feedback frequency is below a second predetermined threshold. For example, the second predetermined threshold may correspond to the deadzone t_d.
[0042] Process 700 can proceed from block 708 to block 710. At block 710, PLL 150 deactivates the charge pump of FCL 160 based on the determination that the phase difference between the reference frequency and the feedback frequency is below the second predetermined threshold.
[0043] The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be implemented substantially concurrently, or the blocks may sometimes be implemented in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
[0044] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms a, an and the are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms comprises and/or comprising, when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
[0045] The corresponding structures, materials, acts, and equivalents of all means or step plus function elements, if any, in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The disclosed embodiments of the present invention have been presented for purposes of illustration and description but are not intended to be exhaustive or limited to the invention in the forms disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.