Controlled application of hysteresis in crystal oscillator circuit

By deactivating the hysteresis when the crystal oscillator starts, and enabling the hysteresis control circuit after the EXTAL signal reaches the selected value, the problem of hysteresis hindering the growth of the EXTAL signal is solved, and a short start time and low noise clock signal output is achieved.

CN119093907APending Publication Date: 2024-12-06NXP USA INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410715541.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-06-05
Filing Date
2024-06-04
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

After the crystal oscillator starts, the lagging early application hinders the growth of the EXTAL signal, resulting in a long start-up time.

Method used

Deactivate the hysteresis during startup until the EXTAL signal reaches the selected value and enables the hysteresis control circuit to ensure that the EXTAL signal can grow smoothly, thereby shortening the start time of the crystal oscillator.

Benefits of technology

By disabling hysteresis at startup, ensure that the EXTAL signal can grow rapidly, reduce the startup time, and enable hysteresis after selecting the count value, achieving low noise normal start of the crystal oscillator clock signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119093907A_ABST
    Figure CN119093907A_ABST
Patent Text Reader

Abstract

Systems and methods for controlled application of hysteresis in crystal oscillator circuits are discussed herein. In various embodiments, an integrated circuit (IC) may include an inverter comparator coupled to a crystal oscillator, where the inverter comparator is configured to: (i) receive an input of the crystal oscillator, and (ii) output a clock signal; and a hysteresis control circuit coupled to the inverter comparator, where the inverter comparator is configured to (i) start with a hysteresis disabled, and (ii) enable a hysteresis in response to a hysteresis enable signal provided by the hysteresis control circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to electronic circuits, and more particularly to systems and methods for controlled application of hysteresis in crystal oscillator circuits. Background Art

[0002] An oscillator is an electronic circuit that generates a periodic alternating current (AC) signal (e.g., a sine wave, square wave, or triangle wave) based on a direct current (DC) input received from a voltage supply. Oscillator circuits are used in many different types of electronic devices including clock generators, digital instruments, computers, processors, peripherals, etc.

[0003] Among the various types of oscillators available, crystal oscillators are well suited for use as reference clocks in systems-on-chip (SoCs), especially in applications with low jitter requirements such as Peripheral Component Interconnect Express (PCIe) and Serial Advanced Technology Attachment (SATA). Summary of the invention

[0004] In an illustrative, non-limiting embodiment, an IC may include: an inverter comparator coupled to a crystal oscillator, wherein the inverter comparator is configured to: (i) receive an input from the crystal oscillator, and (ii) output a clock signal; and a hysteresis control circuit coupled to the inverter comparator, wherein the inverter comparator is configured to: (i) be enabled with hysteresis disabled, and (ii) enable hysteresis in response to a hysteresis enable signal provided by the hysteresis control circuit.

[0005] In some embodiments, the inverter comparator may include an AC coupled self-biased inverter comparator.The hysteresis control circuit may include a comparator configured to: receive an input from a crystal oscillator; and output a control signal in response to the input from the crystal oscillator being equal to or greater than a selected value.

[0006] The hysteresis control circuit may include a plurality of flip-flops coupled in series. A first flip-flop among the plurality of flip-flops may be configured to receive a control signal. A last flip-flop among the plurality of flip-flops may be configured to provide a hysteresis enable signal. In some cases, the plurality of flip-flops may include three flip-flops.

[0007] The IC may include a counter coupled to the output of the inverter comparator.The counter may be configured to provide a clock signal to a processing core in the SoC after a predetermined number of cycles.

[0008] In another illustrative, non-limiting embodiment, an electronic device may include a SoC and a clock circuit configured to provide a clock signal to the SoC, the clock circuit comprising: an AC-coupled self-biased inverter comparator configured to: (i) receive an input from a crystal oscillator, and (ii) generate a clock signal; and a hysteresis control circuit coupled to the AC-coupled self-biased inverter comparator, wherein the hysteresis control circuit is configured to enable hysteresis in the AC-coupled self-biased inverter comparator in response to the input from the crystal oscillator being equal to or greater than a selected value.

[0009] In some embodiments, the hysteresis control circuit may include a comparator configured to determine when the input of the crystal oscillator becomes equal to or greater than a selected value. The hysteresis control circuit may also include a plurality of cascaded flip-flops.

[0010] Among the plurality of cascaded flip-flops, a first flip-flop may be configured to receive an output from a comparator, and a last flip-flop may be configured to enable hysteresis in the AC-coupled self-biased inverter comparator. In some cases, the plurality of cascaded flip-flops may include three flip-flops.

[0011] The electronic device may include a counter coupled to an output of the AC-coupled self-biased inverter comparator.The counter may be configured to provide a clock signal to the SoC in response to a predetermined number of cycles.

[0012] In yet another illustrative, non-limiting embodiment, a method may include, in an oscillator circuit: disabling hysteresis in an AC-coupled self-biased inverter comparator upon startup, wherein the AC-coupled self-biased inverter comparator is configured to receive an output from a crystal oscillator; and enabling hysteresis in the AC-coupled self-biased inverter comparator in response to the output of the crystal oscillator being equal to or greater than a selected value.

[0013] In some embodiments, disabling hysteresis in the AC-coupled self-biased inverter comparator at startup can allow the output of the crystal oscillator to increase faster than if hysteresis is enabled. The method may include providing the output of the AC-coupled self-biased inverter comparator to a circuit within the SoC. The circuit may include a processing core. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The present invention is illustrated by way of example and not limitation in the accompanying drawings, in which like reference numerals indicate like elements. Elements in the drawings are illustrated for simplicity and clarity and are not necessarily drawn to scale.

[0015] Figure 1 is a diagram of an example of a crystal oscillator circuit according to some embodiments.

[0016] Figure 2is a diagram of an example of an alternating current (AC) coupled self-biased inverter comparator that may be used with a crystal oscillator circuit in accordance with some embodiments.

[0017] Figure 3A and 3B is a diagram of an example of a hysteresis control circuit that may be used with a crystal oscillator circuit in accordance with some embodiments.

[0018] Figure 4 is a graph showing the hindered growth of the EXTAL signal due to the early application of hysteresis in the AC-coupled self-biased inverter comparator at startup, which results in a longer startup time ("Prior Art").

[0019] Figure 5 is a graph showing unimpeded growth of the EXTAL signal due to late controlled application of hysteresis in an AC-coupled self-biased inverter comparator using a hysteretic control circuit to provide a shorter start-up time in accordance with some embodiments.

[0020] Figure 6 is a graph showing the progression of various signals in a crystal oscillator circuit when hysteresis is applied to an AC coupled self biased inverter comparator at start-up.

[0021] Figure 7 is a graph illustrating the progression of various signals in a crystal oscillator circuit when hysteresis is controllably applied to an AC-coupled self-biased inverter comparator according to some embodiments. DETAILED DESCRIPTION

[0022] An integrated circuit (IC) is an electronic circuit fabricated on a semiconductor material (eg, silicon). Today, modern semiconductor manufacturing processes enable an increasing number of miniaturized transistors and other devices to be integrated into a single electronic package or "chip."

[0023] In this regard, a system on a chip (SoC) is a specific type of IC that includes most or all of the components of an entire computer or other electronic system. For example, typical SoC components may include a central processing unit (CPU), a graphics processing unit (GPU), memory interfaces, input / output (I / O) devices, radio devices, I / O interfaces, secondary storage device interfaces, etc.

[0024] When designing a SoC, a common goal is to reduce the number of voltage supplies in each chip. However, if the voltage supply rail is shared across many other circuits within the SoC, jitter tends to increase, and hysteresis becomes important as a mitigation mechanism.

[0025] In the SoC, one or more crystal oscillators can be used as reference clocks. Each crystal oscillator includes an input (EXTAL) pin and an output (XTAL) pin, and both pins are connected to an inverter. Specifically, in applications with low jitter requirements, the inverter can be an alternating current (AC) coupled self-biased inverter comparator.

[0026] However, the present inventors have recognized that enabling hysteresis in the AC-coupled self-biased inverter comparator immediately after the crystal oscillator has started up will hinder the growth of the oscillator's EXTAL signal, thus resulting in a long start-up time.

[0027] To address these and other issues, the systems and methods described herein may provide for the controlled application of hysteresis to an AC-coupled self-biased inverter comparator in order to shorten the start-up time of a crystal oscillator.

[0028] In various embodiments, these systems and methods can enable the EXTAL signal to grow at startup without the blockage that would otherwise result from early application of hysteresis.Hysteresis can be applied once the EXTAL signal has reached a selected level.

[0029] For example, a crystal oscillator circuit may include an automatic loop control (ALC) circuit that is configured to initially provide a higher gain during startup (to achieve a faster startup time) and then reduce the gain to save power as the EXTAL / XTAL swing increases. In such an implementation, a hysteresis control circuit may be coupled to the ALC circuit to detect the magnitude of the EXTAL signal.

[0030] In response to the EXTAL signal having reached a selected value, the hysteresis control circuit may enable the application of hysteresis to the AC-coupled self-biased inverter comparator - at which point the hysteresis no longer causes the growth of the EXTAL signal to be hindered.

[0031] Once hysteresis is enabled, the output of the oscillator (e.g., clock signal) may be considered ready for use by its SOC after a selected count value (e.g., 50 counts). Thus, the systems and methods described herein provide for the application of hysteresis in a manner that facilitates low noise normal startup of a crystal oscillator clock.

[0032] To illustrate the above, Figure 1 is a circuit diagram of an oscillator circuit 100 according to some embodiments. In this example, the oscillator circuit 100 is a low power crystal oscillator, but in other examples, other types of oscillators may be used. In addition, although the output signal FXOSC_CLK_OUT is characterized as a clock signal, in other examples, the oscillator circuit 100 may provide different types of output signals.

[0033] As shown, oscillator circuit 100 includes a current reference 101 coupled to an ALC circuit 102. ALC circuit 102 is coupled to amplifier 106, which in turn is coupled to an AC-coupled self-biased inverter comparator (“inverter comparator”) 110. Hysteresis control circuit 112, which in some embodiments may be part of ALC circuit 102, is also coupled to inverter comparator 110.

[0034] In operation, current reference 101 provides a reference current to ALC circuit 102. ALC circuit includes comparison stage 103 configured to process a DC component (EXTAL_DC) of the EXTAL signal determined by low pass filter 104 and a peak value (EXTAL_PEAK) of the EXTAL signal determined by peak detector 105.

[0035] ALC circuit 102 receives the EXTAL signal from amplifier 106. Amplifier 106 includes a gain stage 107, a resistor 108, and a crystal 109 coupled in parallel.

[0036] Amplifier circuit 106 also provides the EXTAL signal to inverter comparator 110, which generates a clock signal (CLK_OUT) in response. Within inverter comparator 110, hysteresis is controllably enabled by hysteresis control circuit 112, e.g., only after the EXTAL signal has grown to a selected value after power-up.

[0037] Specifically, hysteresis control circuit 112 includes comparator 113 configured to receive EXTAL and EXTAL_DC and output a HYST_OUT signal once the magnitude of the EXTAL signal has reached a selected value. The HYST_OUT signal is coupled to a clock input of each of flip-flops 114-116.

[0038] Flip-flops 114 - 116 are coupled to each other in series in a cascaded fashion with appropriate setup and hold times. The Q output of flip-flop 114 provides the HYST_OUT1 signal to the D input of flip-flop 115 , and the Q output of flip-flop 115 provides the HYST_OUT2 signal to the D input of flip-flop 116 .

[0039] In this embodiment, once three transitions are reached, the Q output of flip-flop 116 provides a hysteresis enable signal (INV_COMP_HYST_EN) to inverter comparator 110. However, in other implementations, a different number of flip-flops may be used (eg, for a different number of transitions, such as 5 or more).

[0040] The clock signal (CLK_OUT) generated by inverter comparator 110 is provided to counter 111. Counter 111 outputs FXOSC_CLK_OUT after a selected number of cycles (eg, 50) to another circuit configured to receive FXOSC_CLK_OUT after startup, such as a processor core in a SoC or the like.

[0041] In various embodiments, the oscillator circuit 100 may be fabricated on an integrated circuit (IC) wafer or die using one of many IC process technologies. For example, the oscillator circuit 100 may be integrated in a substrate or die made of various semiconductor materials such as silicon (Si), germanium (Ge), or gallium arsenide (GaAs) using various technologies such as complementary metal oxide semiconductor (CMOS), silicon on insulator (SOI), double diffused metal-oxide semiconductor (DMOS), laterally diffused metal-oxide semiconductor (LDMOS), bipolar CMOS / DMOS (BCD), pseudomorphic high electron mobility transistor (pHEMT), enhancement / depletion mode (E / D mode) pHEMT, etc.

[0042] In some deployments, the oscillator circuit 100 may be part of a larger digital logic system. For example, the oscillator circuit 100 may be coupled to a power amplifier (PA) control system. In certain embodiments, all or part of the larger digital logic system including the oscillator circuit 100 may be fabricated on a single chip. The single chip may be formed using a single IC manufacturing process or using multiple IC manufacturing processes in combination.

[0043] For example, a digital logic chip including the oscillator circuit 100 may be integrated in a substrate or die made of various semiconductor materials. Different subsystems may each be manufactured using a unique IC material or process or a set of IC materials and processes. Within a larger digital system, the oscillator circuit 100 may be manufactured using one set of IC materials and processes, and another subsystem may be manufactured using a different set of IC materials and processes. In some embodiments, the oscillator circuit 100 may occupy less than 5% or 1% of the total chip area.

[0044] Figure 2 According to some embodiments, it can be used to implement Figure 1 1 is a diagram of an example of an AC-coupled self-biased inverter comparator 200 of the circuit 110 .

[0045] In this embodiment, transistors M1, M2, M3, M4, M9, M11, M13, and M15 are P-type metal oxide semiconductor (PMOS) transistors, and transistors M5, M6, M7, M8, M10, M12, M14, and M16 are N-type MOS (NMOS) transistors. Capacitor Cc may have a capacitance of 16 pF, and resistor Rbias A resistor of 100 kΩ may be provided, for example, as a reference for a 20 MHz to 40 MHz crystal oscillator 109 .

[0046] The AC coupled self-biased inverter comparator 200 is connected to EXTAL. When the node INV_IN is at logic 0, the node OUT1 is at logic 1. In addition, when hysteresis is enabled, the transmission gate T1 is turned on and the transmission gate T2 is turned off. Therefore, HYS_BIAS is at logic 0. Both transistors M2 and M3 are turned on, and transistors M6 and M7 are turned off.

[0047] When the node INV_IN is transitioning from 0 to 1, both PMOS transistors M2 and M3 are turned on. Accordingly, the node INV_IN needs to become higher than the supply voltage AVDD / 2 to complete the transition and switch the node OUT1 from logic 1 to logic 0. Similarly, when the node INV_IN is at logic 1, the node OUT1 is at logic 0. When hysteresis is enabled, the transmission gate T1 is turned on and the transmission gate T2 is turned off. Therefore, HYS_BIAS is at logic 1. Both transistors M6 and M7 are turned on, and transistors M2 and M3 are turned off.

[0048] When the node INV_IN is transitioning from logic 1 to logic 0, both NMOS transistors M6 and M7 are turned on. Accordingly, the node INV_IN needs to become below the supply voltage AVDD / 2 to complete the transition and switch the node OUT1 from logic 0 to logic 1. The change in the transition threshold voltage in each direction provides hysteresis to the AC-coupled self-biased inverter comparator 200.

[0049] However, the change in load due to the application of hysteresis also provides an impediment to the growth of the EXTAL signal at a smaller amplitude. To address this problem, a hysteresis control circuit 112 can be added to disable the hysteresis of the inverter comparator 200 during startup. When EXTAL grows to a certain value detected by the hysteresis control circuit 112, the hysteresis can be enabled. In this way, the hysteresis does not hinder the growth of the EXTAL signal, which in turn achieves a faster startup time.

[0050] Figure 3A and 3B According to some embodiments, it can be used to implement Figure 1 1 is a diagram of an example of a hysteresis control circuit 300 for ALC circuit 112. As shown, ALC circuit 102 is coupled to gain stage 107 of amplifier 106, gain stage 107 and ALC circuit 102 are coupled to comparator 113, and comparator 113 is coupled to flip-flops 114-116 via inverters.

[0051] In this embodiment, transistors MN1-MN10 are NMOS transistors, and transistors MP1-MP10 are PMOS transistors. Also, I1, I2, ALC BIAS, and I_bias are current sources, C1-C3 are capacitors, and R1 and RF are resistors.

[0052] In operation, EXTAL from gain stage 107 and EXTAL_DC from ALC circuit 102 are input signals to comparator 113. Comparator 113 may be a differential comparator (with its own hysteresis).

[0053] When the amplitude of the EXTAL signal increases to a selected value, the output of comparator 113 transitions; therefore, the HYST_OUT signal also transitions.

[0054] The HYST_OUT signal is coupled to the clock input of each of the flip-flops 114 - 116 . Once the three rising transitions of the HYST_OUT signal are complete (one transition per flip-flop 114 - 116 ), the Q output of flip-flop 116 provides a hysteresis enable signal (INV_COMP_HYST_EN) to enable hysteresis in inverter comparator 200 .

[0055] Figure 4 A graph 400 is shown illustrating that the EXTAL signal growth is hindered due to the early application of hysteresis in the AC-coupled self-biased inverter comparator (no hysteresis control circuit 112) at startup, which results in a longer startup time ("Prior Art"). Specifically, the graph 400 shows that when hysteresis is enabled from the beginning, the EXTAL and XTAL signals do not grow smoothly together after startup.

[0056] In contrast, Figure 5 Graph 500 is shown showing unimpeded growth of the EXTAL signal due to controlled application of hysteresis to provide shorter startup time in AC-coupled self-biased inverter comparator 200 (which includes hysteresis control circuit 112) according to some embodiments. Specifically, graph 500 shows a smooth growth between the EXTAL signal and the XTAL signal compared to graph 400.

[0057] Figure 6 A graph 600 is shown illustrating the progression of various signals EXTAL, HYST_EN, end of counter value (EOCV), FXOSC_CLK_OUT, and FXOSC_CLK_OUT in the crystal oscillator circuit 100 when hysteresis at startup is applied to the AC coupled self biased inverter comparator 200 ("Prior Art"). Specifically, FXOSC_CLK_OUT is output at approximately 166 μs.

[0058] In contrast, Figure 7 A graph 700 is shown showing the progression of signals EXTAL, XTAL, HYST_EN, EOCV, FXOSC_CLK_OUT in the crystal oscillator circuit 100 when hysteresis is controllably applied to the AC-coupled self-biased inverter comparator 200, according to some embodiments. Specifically, FXOSC_CLK_OUT is output at approximately 100 μs. Thus, the systems and methods described herein enable the output of the circuit 100 to be significantly faster than Figure 6 As shown in .

[0059] In many embodiments, the systems and methods described herein can be incorporated into a wide variety of electronic devices, including, for example: computer systems or information technology (IT) products, such as servers, desktops, laptops, storage, switches, routers, etc.; telecommunications hardware; consumer devices or appliances, such as mobile phones, tablets, wearable devices, Internet of Things (IoT) devices, televisions, cameras, audio systems, etc.; scientific instruments; industrial robots; medical or laboratory electronic equipment, such as imaging, diagnostic or therapeutic equipment, etc.; transportation vehicles, such as cars, buses, trucks, trains, ships, airplanes, etc.; military equipment, etc. More generally, these systems and methods can be incorporated into any device or system having one or more electronic components or assemblies.

[0060] For the sake of brevity, conventional techniques are not described in detail herein. In addition, the connection lines shown in the various figures included herein are intended to illustrate the relationship (e.g., logical relationship) or physical coupling (e.g., electrical coupling) between the various elements. However, it should be noted that alternative relationships and connections can be used in other embodiments. In addition, the circuit system described herein can be implemented in silicon or another semiconductor material or represented by its software code.

[0061] Although the present invention is described herein with reference to specific embodiments, various modifications and changes may be made without departing from the scope of the present invention as set forth in the appended claims. Therefore, the description and drawings should be viewed in an illustrative rather than a restrictive sense, and all such modifications are intended to be included within the scope of the present invention. It is not intended that any benefit, advantage, or solution to a problem described herein with respect to a specific embodiment be construed as a key, required, or essential feature or element of any or all of the claims.

[0062] Reference is made herein to "configuring" a device or a device "configured to" perform a certain operation(s). It should be understood that this may include selecting predefined logic blocks and logically associating them. It may also include programming computer software-based logic that modifies the control device, wiring discrete hardware components, or a combination thereof. The device so configured is physically designed to perform the specified operation.

[0063] Unless otherwise stated, terms such as "first" and "second" are used to arbitrarily distinguish the elements described by such terms. Therefore, these terms do not necessarily want to indicate the temporal priority or other priority of these elements. The term "coupled" or "operably coupled" is defined as connected, but not necessarily directly connected, and not necessarily mechanically connected. Unless otherwise stated, the term "one" is defined as one or more. The terms "comprise" (and any form of including, such as "comprises" and "comprising"), "have" (and any form of having, such as "has" and "having"), "include" (and any form of including, such as "includes" and "including"), and "contain" (and any form of containing, such as "contains" and "containing") are open linking verbs. Therefore, a system, device or equipment that "includes", "has", "includes" or "contains" one or more elements has the one or more elements, but is not limited to only having the one or more elements. Similarly, a method or process that “comprises,” “has,” “includes,” or “contains” one or more operations possesses the one or more operations, but is not limited to possessing only the one or more operations.

Claims

1. An integrated circuit (IC), characterized in that: include: an inverter comparator coupled to a crystal oscillator, wherein the inverter comparator is configured to: (i) receive an input from the crystal oscillator, and (ii) output a clock signal; as well as A hysteresis control circuit is coupled to the inverter comparator, wherein the inverter comparator is configured to: (i) start with hysteresis disabled, and (ii) enable hysteresis in response to a hysteresis enable signal provided by the hysteresis control circuit.

2. The IC according to claim 1, characterized in that The inverter comparator includes an alternating current (AC) coupled self-biased inverter comparator.

3. The IC according to claim 1, characterized in that The hysteresis control circuit includes a comparator configured to: receiving said input from said crystal oscillator; and A control signal is output in response to the input to the crystal oscillator being equal to or greater than a selected value.

4. The IC according to claim 1, characterized in that The hysteresis control circuit additionally includes a plurality of flip-flops coupled in series.

5. The IC according to claim 4, characterized in that A first flip-flop among the plurality of flip-flops is configured to receive the control signal.

6. The IC according to claim 4, characterized in that A last flip-flop among the plurality of flip-flops is configured to provide the hysteresis enable signal.

7. The IC according to claim 1, characterized in that Also included is a counter coupled to the output of the inverter comparator.

8. The IC according to claim 7, characterized in that The counter is configured to provide the clock signal to a processing core in a system on chip (SoC) after a predetermined number of cycles.

9. An electronic device, characterized in that: include: System on chip (SoC); as well as a clock circuit configured to provide a clock signal to the SoC, the clock circuit further comprising: an alternating current (AC) coupled self-biased inverter comparator configured to: (i) receive an input from a crystal oscillator, and (ii) generate the clock signal; as well as A hysteresis control circuit is coupled to the AC-coupled self-biased inverter comparator, wherein the hysteresis control circuit is configured to enable hysteresis in the AC-coupled self-biased inverter comparator in response to the input to the crystal oscillator being equal to or greater than a selected value.

10. A method, characterized in that include: In an oscillator circuit, disabling hysteresis in an alternating current (AC) coupled self-biased inverter comparator after startup, wherein the AC coupled self-biased inverter comparator is configured to receive an output from a crystal oscillator; as well as In response to the output of the crystal oscillator being equal to or greater than a selected value, hysteresis is enabled in the AC-coupled self-biased inverter comparator.