Techniques for detecting and correcting errors in ring oscillators

By integrating monitoring and correction circuitry into the ring oscillator, abnormalities at the inverter output node are detected and corrected, thus resolving the harmonic frequency problem caused by noise during the ring oscillator's activation and deactivation, and ensuring circuit stability.

CN108476017BActive Publication Date: 2026-11-17ALTERA CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN201780008877.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2016-02-29
Filing Date
2017-02-06
Publication Date
2026-11-17
Estimated Expiration
2037-02-06

AI Technical Summary

Technical Problem

Ring oscillators are susceptible to noise during startup and shutdown, leading to unwanted harmonic frequency oscillations that affect circuit stability and operation.

Method used

The ring oscillator integrates a monitoring circuit and an error correction circuit. By detecting signal anomalies at the inverter output node, it generates error detection and correction outputs, and resets the ring oscillator signal to restore normal oscillation.

Benefits of technology

Effectively detect and correct errors in the ring oscillator to ensure stable oscillation at the fundamental frequency and avoid the influence of unwanted higher-order harmonic frequencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108476017B_ABST
    Figure CN108476017B_ABST
Patent Text Reader

Abstract

A circuit may include a ring oscillator circuit and a monitoring circuit. The ring oscillator circuit has a set of inverters in the loop, whereby the set of inverters includes first, second, and third output nodes. The monitoring circuit can monitor for error events in signals that have passed through the inverters from any of the first, second, or third output nodes and can generate first and second monitoring circuit outputs. The circuit may further include an error correction circuit that generates an error correction output based on the first and second monitoring circuit outputs. Therefore, the detection circuit can generate first and second updated detection circuit outputs based on the error correction outputs. The first and second updated monitoring circuit outputs can be logically combined using logic circuitry to reset the signals that have passed through the loop.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-referencing of related applications This patent application claims priority to U.S. Patent Application 15 / 056,144, filed February 29, 2016, which is incorporated herein by reference in its entirety. Technical Field

[0002] This disclosure relates to electrical circuits, and more specifically, to techniques for detecting and correcting errors in a ring oscillator. Background Technology

[0003] Ring oscillators are used in a variety of circuit applications. For example, they can be used in clock circuits and delay-locked loop-type circuits. A typical ring oscillator is formed from a loop of inverters. For example, a ring oscillator may contain hundreds of inverters, each with its output connected to the input of another inverter within the loop. In some designs, a NAND gate can be embedded in the ring instead of one of the inverters. One of the NAND gate inputs can be used as an enable input. The ring oscillator can be enabled by asserting a trigger signal on the enable input. When the value of the trigger signal on the enable input is low, the ring oscillator will be off and will not oscillate. When the value of the trigger signal on the enable input is high, the ring oscillator will be enabled and will oscillate.

[0004] External test equipment is typically used to generate trigger signals for enabling and disabling the ring oscillator in this manner. The trigger signal can become degraded when routed to the enable input of a NAND gate via an interconnect. Specifically, a square wave trigger signal can acquire undesirable ringing characteristics due to parasitic circuitry or power supply failures. Spikes or other noise characteristics present in a trigger signal that has been degraded in this way can cause the ring oscillator to enter an undesirable operating mode, in which higher-order harmonics propagate around the loop. When this occurs, the ring oscillator may operate unstablely, or the output of the ring oscillator may oscillate at undesirable higher-order harmonic frequencies (instead of the intended fundamental frequency). Summary of the Invention

[0005] According to some embodiments of the present invention, a technique for detecting and correcting errors in a ring oscillator is provided. Embodiments of the invention can be implemented in numerous ways, such as processes, devices, systems, or apparatuses. Several embodiments of the invention are described below.

[0006] According to some embodiments, the circuit includes a ring oscillator circuit and a monitoring circuit. The ring oscillator circuit has a set of inverters in the loop, whereby the set of inverters includes first, second, and third output nodes. The monitoring circuit monitors for error events in the signal that has passed through the inverters from any of the first, second, or third output nodes, and generates first and second monitoring circuit outputs. The circuit also includes an error correction circuit that generates an error correction output based on the first and second monitoring circuit outputs. Accordingly, the monitoring circuit generates first and second updated monitoring circuit outputs based on the error correction outputs. Logic circuitry is used to logically combine the first and second updated monitoring circuit outputs to reset the signal that has passed through the loop.

[0007] According to other embodiments, the circuit includes a ring oscillator circuit having first, second, and third output nodes. Each of the first, second, and third output nodes taps the signal that has passed through the ring oscillator circuit. The circuit also includes an error detection circuit that detects an error event in the signal passing through the first, second, and third output nodes, and an error correction circuit that selectively resets the ring oscillator circuit in response to a detected error event in the signal. The error detection circuit generates first and second error detection circuit outputs indicating whether an error event has occurred between the first, second, and third output nodes.

[0008] According to another embodiment, a method for detecting and correcting error events in an integrated circuit is disclosed. The method includes monitoring the error effects associated with a signal propagating through a ring oscillator using an error detection circuit. The error detection circuit detects at least one error condition from first, second, and third output nodes of the ring oscillator. The method further includes correcting the error effects associated with the signal using an error correction circuit coupled to the error detection circuit when an error condition is detected at the first, second, or third output node of the ring oscillator.

[0009] Further features, properties, and various advantages of the invention will become more apparent from the following detailed description of the accompanying drawings and preferred embodiments. Attached Figure Description

[0010] Figure 1 A block diagram of an illustrative ring oscillator circuit with error detection and error correction circuitry according to an embodiment of the present invention is shown.

[0011] Figure 2 This is according to an embodiment of the present invention. Figure 1 The circuit diagram of the illustrative ring oscillator circuit.

[0012] Figure 3 It is a timing diagram illustrating the behavior of signals during the operation of an error detection and correction circuit on a ring oscillator circuit according to an embodiment of the present invention.

[0013] Figure 4 This is a flowchart illustrating steps for detecting and correcting errors on an integrated circuit according to an embodiment of the present invention. Detailed Implementation

[0014] The embodiments provided herein contain techniques for detecting and correcting errors in ring oscillators. Ring oscillators can be provided on integrated circuits such as digital signal processors, programmable logic device integrated circuits, microprocessors, application-specific integrated circuits, or other integrated circuits.

[0015] In some scenarios, ring oscillators are incorporated into circuit designs. For example, a ring oscillator can be used as part of a clock signal generator. As another example, a ring oscillator can be used in delay-locked loop-type circuits. It should be noted that these are merely illustrative examples. Ring oscillators can be used in any suitable integrated circuit application.

[0016] However, ring oscillators are prone to generating harmonic frequencies. Noise can be supplied by voltage upon power-up, and harmonic frequencies can be triggered by single-event transients (SETs), which can cause noise spikes or other undesirable signal characteristics in the ring oscillator. If left unchecked, noisy oscillator signals can cause the ring oscillator to oscillate at unwanted higher harmonic frequencies (instead of its intended frequency). This effect can lead to inappropriate operation of ring oscillator-based circuits.

[0017] To avoid these problems, a ring oscillator with error detection and correction circuitry can be provided. Figure 1 An illustrative integrated circuit is shown, in which a ring oscillator circuit has circuitry for detecting and correcting errors. As shown, integrated circuit 100 includes a ring oscillator circuit 101, a monitoring circuit 103, and an error correction circuit 105. The ring oscillator circuit 101 is coupled to the monitoring circuit 103 and the error correction circuit 105. The monitoring circuit 103 is connected to a power supply V. DD and V SS For example, power supply V can be provided from a power supply generation unit (not shown) on integrated circuit 100. DD and V SS Power supply V DD It can be a specific power supply V SS A power supply with a higher potential, and monitoring circuit 103 and integrated circuit 100 can obtain power from the power supply V. DD and V SS The received power is used for operation.

[0018] In one embodiment, monitoring circuit 103 can monitor for error events in the input trigger signal (e.g., the IN signal) that has passed through ring oscillator circuit 101. In response to an error event, error correction circuit 105 can selectively reset the IN signal that has passed through ring oscillator circuit 101. The error event can be, for example, a harmonic error event. In one embodiment, monitoring circuit 103 and error correction circuit 105 can be collectively referred to as an error detection and correction circuit. Reference will be made below. Figure 2 A more detailed description of the monitoring circuit 103 and the error correction circuit 105 is provided.

[0019] Figure 2 This is according to an embodiment of the present invention. Figure 1 The circuit diagram of the illustrative integrated circuit 100 is provided. As described above, integrated circuit 100 includes a ring oscillator circuit 101. The ring oscillator circuit 101 may include simple inverting logic circuitry as stages. For example, a set of inverters (highlighted in section 201) are connected in a loop (or ring) such that the output of each inverter is fed into the input of a series of inverters in the loop. The inverters may be, for example, CMOS inverter circuits or other types of inverter circuits. A 3-input NAND gate circuit 220 may be placed in the loop. In this example, the ring oscillator circuit 101 may be configured to operate as a 31-stage ring oscillator circuit. However, it should also be understood that ring oscillator circuits with different numbers of circuit stages can be used in this invention.

[0020] When integrated circuit 100 is powered on and operational, the input trigger signal (e.g., the IN signal) injected into ring oscillator circuit 101 can propagate (or oscillate) through the ring at a predetermined frequency. To detect error events occurring in the oscillation signal, monitoring circuit 103 can be used to filter ring oscillator circuit 101 at different stages (e.g., the output nodes of inverters 202A, 202B, and 202C). Monitoring circuit 103 can be implemented as an error detection circuit to monitor and detect error events in ring oscillator circuit 101 based on the filtered output node signals (e.g., output node signals N1, N11, and N21) from the output nodes of inverters 202A, 202B, and 202C. Note that monitoring circuit 103 and error detection circuit 103 are used interchangeably in the description and have the same meaning.

[0021] exist Figure 2In the embodiment shown, the error detection circuit 103 includes two error detection circuits 203A and 203B connected in parallel. Error detection circuit 203A detects an error signal if an error event occurs between the output nodes of inverter 202A and inverter 202C. Error detection circuit 203B detects another error signal indicating that an error event has occurred between the output nodes of inverter 202B and inverter 202C. Figure 2 In the error detection circuits 203A and 203B, each may include two register circuits. For example, error detection circuit 203A includes register circuits 204A and 206A, and error detection circuit 203B includes register circuits 204B and 206B. In a preferred embodiment, register circuits 204A, 204B, 206A, and 206B are type D register circuits.

[0022] As an example, in the error detection circuit 203A, the D input of the register circuit 204A is connected to the power supply V. DD The clock input of register circuit 204A is coupled to the output node of inverter 202A. The QB output of register circuit 204A and the output node of inverter 202A are gated to NOR gate 205A. The CLR input is used to clear register circuit 204A. In a preferred embodiment, CLR is active high. The CLR input of register circuit 204A is controlled by the output node signal N21 from the output node of inverter 202C. The input D of register circuit 206A is connected to the power supply V. SS The clock input of register circuit 206A is coupled to the output 207A of NOR gate 205A. The Q output of register circuit 206A is coupled to the input of error correction circuit 105. The inverted PRE input is used to preset register circuit 206A. The output of error correction circuit 105 (e.g., error correction output 208) is used to control the inverted PRE input of register circuit 206A. In error detection circuit 203B, the clock input of register circuit 204B is coupled to the output node of inverter 202C, and the QB output of register circuit 204B and the output node of inverter 202C are gated to NOR gate 205B. The CLR input of register circuit 204B is controlled by the output node signal N11 of inverter 202B. In response to the rising edge of the signal at the CLR input of each register circuit 204A-204B, the signal at the QB output of that register circuit is driven to a logic high state. The D input of register circuit 204B is connected to the power supply V. DD The D input of register circuit 206B is connected to the power supply V. SSFurthermore, the clock input of register circuit 206B is coupled to the output of NOR gate 205B. The Q output of register circuit 206B is coupled to another input of error correction circuit 105. The inverting PRE input of register circuit 206B is coupled to the output 208 of error correction circuit 105. The PRE input of each register circuit 206A-206B is active low, meaning that the Q output of each register circuit is preset to a logic high state in response to a falling edge in the signal at its PRE input.

[0023] In some embodiments, the error correction circuit 105 may be referred to as a delay circuit. For example, such as Figure 2 As shown, the error correction circuit 105 may include an AND gate 212 having an input coupled to the Q output of registers 206A-206B, and an output coupled to an input to an inverter chain containing an even number of inverters, including inverter circuit 214. Inverter circuit 214 may be part of a group of inverters connected in series. Error correction circuit 105 receives error detection circuit outputs 230A and 230B as inputs and generates an error correction output 208 at the output of the last inverter circuit in the inverter chain. Error correction output 208 may control the inverted PRE input of register circuit 206A of error detection circuit 203A and the inverted PRE input of register circuit 206B of error detection circuit 203B to produce updated error detection circuit outputs 230A and 230B.

[0024] In response to an error signal detected in the ring oscillator circuit 101 as described above by one of the error detection circuits 203A or 203B, the error detection circuit 203A or 203B that detected the error signal adjusts the logic state of its corresponding error detection circuit output 230A or 230B. In response to the adjustment of the logic state of either error detection circuit output 230A or 230B by the corresponding error detection circuit 203A or 203B, the error correction circuit 105 triggers an error correction operation. During the error correction operation, the error correction circuit 105 adjusts the logic state of the error correction output 208. In response to the adjustment in the logic state of the error correction output 208, the error detection circuit 203A or 203B that detected the error signal again adjusts the logic state of its output to generate a corresponding updated error detection circuit output 230A or 230B. Subsequently, the updated error detection circuit outputs 230A and 230B, as a result, are logically combined by NAND gate 220 to reset the IN signal that has passed through the loop. In one embodiment, the IN signal, after being reset, can represent the initial logic state of the IN signal during the initialization period of integrated circuit 100. This ensures error-free oscillation of the IN signal in the ring oscillator circuit 101. For example, the initial logic state of the IN signal is a logic value of "1".

[0025] Figure 3 This is timing diagram 300, which illustrates an embodiment of the present invention. Figure 1 and Figure 2 The behavior of some signals in the circuit. What should be understood is that... Figure 1 and 2 The embodiments described herein can be used as examples to illustrate timing diagram 300. As shown, timing diagram 300 shows the output node signal of inverter 202A (e.g., output node signal N1), the output node signal of inverter 202C (e.g., output node signal N21), the output signal of register circuit 204A (e.g., signal QB), the output signal of NOR gate 205A (e.g., signal 207A), error detection circuit output 230A, and error correction output 208.

[0026] As illustrated by the output node signals N1 and N21 between times T1 and T2, when integrated circuit 100 is powered on and operational, the input trigger signal (e.g., the IN signal) injected into integrated circuit 100 can propagate or oscillate through the ring oscillator circuit 101 at a predetermined frequency. When an error event (i.e., a harmonic-induced error) is triggered within the ring oscillator circuit 101, the error detection circuit 203A can detect the location of the error event in the ring oscillator circuit 101 by filtering the output node signal N1 at the output node of inverter 202A and the output node signal N21 at the output node of inverter 202C. If an error event occurs between the output nodes of inverters 202A and 202C, a rising edge (i.e., a change from logic low to logic high) occurs in signal N1, followed by a falling edge in signal N1, without an intermediate rising edge occurring in signal N21. This scenario is illustrated in... Figure 3 The diagram shows the rising edge of the output node signal N1 at time T2 and the falling edge of the signal N1 at time T3, while the intermediate rising edge in signal N21 occurs between these two edges in signal N1. In response to the rising edge of signal N1 at time T2, signal N1 triggers register circuit 204A to latch the power supply V. DD And at time T2, a falling edge is generated at its inverted QB output. The QB output of register circuit 204A and the output node signal N1 are gated to NOR gate 205A.

[0027] In response to the QB output of register circuit 204A and the output node signal N1, NOR gate 205A generates signal 207A, which is provided to register circuit 206A as a clock input. In response to the falling edge of signal N1 at time T3 and the logic low state of the QB output of register circuit 204A, NOR gate 205A generates a rising edge in signal 207A. Exactly after time T3, in response to the rising edge of signal 207A, register circuit 206A supplies power to V by latching the Q output to it. SS A falling edge is generated in the error detection circuit output 230A to indicate that an error event has occurred in the ring oscillator circuit 101. For example, exactly after time T3, the error detection circuit output 230A is at a logic low level (e.g., "0"). In this scenario, the error detection circuit output 230A disables the operation of the ring oscillator (RO) circuit 101 when the output 230A is at a logic low level.

[0028] Therefore, the error correction circuit 105 receives the error detection circuit output 230A and generates the error correction output 208. As shown in the timing diagram 300, in response to a falling edge in the signal 230A at time T3, a falling edge to a logic low level (e.g., "0") occurs in the error correction circuit output 208 at time T4. In one embodiment, the error correction output 208 may control the inverted PRE input of the register circuit 206A of the error detection circuit 203A and the inverted PRE input of the register circuit 206B of the error detection circuit 203B to generate updated error detection circuit outputs 230A and 230B. For example, at time T5, the register circuit 206A generates a rising edge to a logic high level (e.g., "1") in the updated error detection circuit output 230A in response to a falling edge in the output 208 at time T4 that presets the circuit 206A. A short time after a rising edge occurs in output 230A, error correction circuit 105 generates a rising edge in output 208 at time T6 in response to the rising edge in output 230A.

[0029] In response to the rising edge of output 230A at time T5, NAND gate 220 re-enables ring oscillator 101 to allow oscillation again. In this case, output 230A is logically combined by NAND gate 220 to reset the input trigger signal that has passed through ring oscillator circuit 101 for a period of time (e.g., the time interval between T4 and T6). In one embodiment, the input trigger signal, after being reset, may represent the initial state of the input trigger signal during the initialization period of integrated circuit 100. As illustrated by the output node signals N1 and N21 during the time interval between T5 and T7, this ensures error-free oscillation of the input trigger signal in ring oscillator circuit 101.

[0030] Similar to the operation described above with respect to error detection circuit 203A, error detection circuit 203B can detect error events in ring oscillator circuit 101. If an error event occurs between the output nodes of inverters 202B and 202C, a rising edge occurs in signal N21, followed by a falling edge in signal N21, while an uninterrupted rising edge occurs in signal N11. In response to detecting this error event, circuit 203B generates a falling edge in error detection circuit output 230B. Operation of ring oscillator circuit 101 is disabled when output 230B is in a logic low state. In response to the falling edge in output 230B, error correction circuit 105 generates a falling edge in output 208 after a delay in circuit 105. In response to the falling edge in output 208, a rising edge is generated in output 230B, which causes a subsequent rising edge in output 208. The rising edge in output 230B re-enables ring oscillator circuit 101.

[0031] Figure 4 This is a flowchart illustrating steps for detecting and correcting errors on an integrated circuit according to an embodiment of the present invention. It should be understood that... Figure 1 and Figure 2 The embodiments described below can be used as examples of implementation by the steps described below.

[0032] In step 401, a monitoring circuit is used to filter the first, second, and third output node signals from the signals oscillating in the loop oscillator circuit. For example, refer to... Figure 1 and Figure 2 When integrated circuit 100 is powered on and operational, the input trigger signal (e.g., the IN signal) injected into the ring oscillator circuit 101 can oscillate through the ring at a predetermined frequency. To detect error events occurring in the input trigger signal, monitoring link 103 can be used to screen the ring oscillator circuit 101 at different circuit stages (e.g., inverters 202A, 202B, and 202C). For example, as described above, if an error event occurs between the output nodes of inverter 202A and inverter 202C, the error detection circuit 203A of monitoring circuit 103 can detect the error signal. Similarly, as described above, the error detection circuit 203B of monitoring circuit 103 can detect another error signal indicating that an error event has occurred between the output nodes of inverter 202B and inverter 202C.

[0033] In step 402, based on the first, second, and third output node signals, the first and second error detection circuit outputs are generated using the first and second error detection circuits. For example, as... Figure 2As shown, error detection circuit 203A can output error detection circuit output 230A in response to an error signal detected based on output node signals N1 and N21, and error detection circuit 203B can output error detection circuit output 230B in response to another error signal detected based on output node signals N11 and N21.

[0034] In step 403, based on the outputs of the first and second error detection circuits, an error correction circuit is used to generate an error correction output. (See reference) Figure 2 Error correction circuit 105 receives error detection circuit outputs 230A and 230B as inputs from corresponding error detection circuits 203A and 203B, and generates error correction output 208. In one embodiment, an event that asserts either of the error detection circuit outputs 230A and 230B (e.g., a change in its logic state) can trigger an error correction operation in error correction circuit 105. In this case, error correction circuit 105 can generate error correction output 208. For example, error correction circuit 105 can adjust the logic state of output 208 in response to a change in the logic state of output 230A or 230B. In one embodiment, at step 404, error correction output 208 can control the inverted PRE input of register circuit 206A of error detection circuit 203A and the inverted PRE input of register circuit 206B of error detection circuit 203B to produce updated error detection circuit outputs 230A and 230B.

[0035] In step 405, based on the outputs of the first and second updated error detection circuits, logic circuitry is used to reset the signal that has passed through the ring oscillator. For example, as... Figure 2 As shown, the updated error detection circuit outputs 230A and 230B, resulting from the logical combination of error detection circuits 203A and 203B by logic circuits (e.g., NAND gate 220), reset the IN signal that has passed through the loop. The reset IN signal can then represent the initial state of the IN signal during power-on operation during the initialization phase of integrated circuit 100. This ensures error-free oscillation of the IN signal in the ring oscillator circuit 101.

[0036] This exemplary embodiment may be practiced without referring to some or all of these specific details described in the corresponding embodiments. In other instances, well-known operations have not been described in detail so as not to unnecessarily obscure this embodiment.

[0037] The methods and apparatus described herein can be incorporated into any suitable circuit. For example, the methods and apparatus can be incorporated into numerous types of devices, such as microprocessors or other integrated circuits. Exemplary integrated circuits include programmable array logic (PAL), programmable logic array (PLA), field-programmable logic array (FPLA), electrically programmable logic device (EPLD), electrically erasable programmable logic device (EEPLD), logic cell array (LCA), field-programmable gate array (FPGA), application-specific standard product (ASSP), application-specific integrated circuit (ASIC), and microprocessors (to name just a few).

[0038] Although the method operations are described in a specific order, it should be understood that other operations may be performed between the described operations, the described operations may be adjusted so that they occur at slightly different times, or the described operations may be distributed throughout the system, whereby the system allows the occurrence of processing operations at various intervals associated with the processing, provided that the processing of the overriding operations is performed in the desired manner.

[0039] The following examples pertain to further embodiments. Example 1 is a circuit comprising: a ring oscillator circuit including a plurality of inverters in the loop, wherein the plurality of inverters includes first, second, and third output nodes; and a monitoring circuit that monitors an error event in a signal that has passed through the inverter from any of the first, second, or third output nodes, and wherein, in response to the error event, the monitoring circuit selectively resets the signal.

[0040] In Example 2, the subject matter of Example 1 may optionally include the monitoring circuit comprising: a first error detection circuit that receives a first output signal from the first and third output nodes and generates a first error detection circuit output; and a second error detection circuit that receives a second output signal from the second and third output nodes and generates a second error detection circuit output.

[0041] In Example 3, the subject of Example 2 may optionally include error correction circuitry that receives the outputs of the first and second error detection circuits and generates error correction outputs based on the outputs of the first and second error detection circuits.

[0042] In Example 4, the subject matter of Example 3 can optionally include the ring oscillator circuit further comprising control logic placed in the loop and having a first input connected to an inverter output in the loop, and wherein the control logic has an output connected to an inverter input in the loop.

[0043] In Example 5, the subject of Example 4 can optionally include, in response to the error correction output, the first error detection circuit generates a first updated error detection circuit output, and in response to the error correction output, the second error detection circuit generates a second updated error detection circuit output.

[0044] In Example 6, the subject of Example 5 can optionally include the control logic having a second input that receives the first and second updated error detection circuit outputs, and resetting the signal that has passed through the inverter based on the first and second updated error detection circuit outputs.

[0045] In Example 7, the subject matter of any of Examples 1-6 can optionally represent the initial state of the signal during the initialization period of the integrated circuit after the signal is reset by the monitoring circuit.

[0046] In Example 8, the subject of any of Examples 1-7 can optionally include the error event, which includes a harmonic error event.

[0047] Example 9 is a circuit comprising: a ring oscillator circuit having first, second, and third output nodes, wherein each of the first, second, and third output nodes filters signals that have passed through the ring oscillator circuit; an error detection circuit that detects an error event in the signals passing through the first, second, and third output nodes; and an error correction circuit that selectively resets the ring oscillator circuit in response to the detected error event in the signals.

[0048] In Example 10, the subject matter of Example 9 can optionally include the ring oscillator circuit comprising a plurality of inverters in the loop, wherein a first output node is coupled to a first inverter output in the loop, a second output node is coupled to a second inverter output in the loop, and a third output node is coupled to a third inverter output in the loop.

[0049] In Example 11, the subject matter of Example 10 may optionally include the error detection circuit comprising: a first error detection circuit that generates a first error detection circuit output indicating whether the error event has occurred between the first and third output nodes; and a second error detection circuit that generates a second error detection circuit output indicating whether the error event has occurred between the second and third output nodes.

[0050] In Example 12, the subject matter of Example 11 may optionally include wherein the error correction circuit receives the outputs of the first and second error detection circuits and generates an error correction output indicating when either the first or second error detection circuit output indicates the error event.

[0051] In Example 13, the subject of Example 12 may optionally include, in response to the error correction output, the first error detection circuit generates a first updated error detection circuit output, and in response to the error correction output, the second error detection circuit generates a second updated error detection circuit output.

[0052] In Example 14, the subject matter of Example 13 may optionally include the ring oscillator circuit further comprising logic circuitry placed in the loop, wherein the logic circuitry logically combines the first and second updated error detection circuit outputs to reset the signal that has passed through the loop.

[0053] In Example 15, the subject of Example 14 can optionally include the logic circuit described therein, which includes NAND gates.

[0054] Example 16 is a method for detecting and correcting error events in a ring oscillator, the method comprising: using an error detection circuit to monitor an error effect associated with a signal propagating through the ring oscillator by detecting at least one error condition from a first, second, and third output node of the ring oscillator; and when the at least one error condition is detected in the first, second, or third output node of the ring oscillator, using an error correction circuit coupled to the error detection circuit to correct the error effect associated with the signal.

[0055] In Example 17, the subject matter of Example 16 may optionally include monitoring the error effects associated with the signal, including: generating a first error detection circuit output using a first error detection circuit in the error detection circuit when the error condition is detected between the first and third output nodes of the ring oscillator; and generating a second error detection circuit output using a second error detection circuit in the error detection circuit when the error condition is detected between the second and third output nodes of the ring oscillator.

[0056] In Example 18, the subject of Example 17 may optionally include the error correction circuitry, which receives the outputs of the first and second error detection circuits to generate an error correction output.

[0057] In Example 19, the subject of Example 18 may optionally include generating a first updated error detection circuit output based on the error correction output using the first error detection circuit; and generating a second updated error detection circuit output based on the error correction output using the second error detection circuit.

[0058] In Example 20, the subject matter of Example 19 can optionally include the ring oscillator comprising a plurality of inverters in the loop, and wherein correcting the error effects associated with the signal comprises: receiving the first and second updated error detection circuit outputs with logic circuitry coupled in the loop, and resetting the signal that has passed through the plurality of inverters based on the first and second updated error detection circuit outputs.

Claims

1. A circuit comprising: A ring oscillator circuit includes multiple inverters in a loop, wherein the multiple inverters include a first, second, and third output node; as well as A monitoring circuit monitors for error events in signals that have passed through the inverter from any of the first, second, or third output nodes, and wherein, in response to the error event, the monitoring circuit selectively resets the signal, wherein the error events include harmonic error events involving edge timing abnormalities, wherein the monitoring circuit includes: A first error detection circuit includes a first register and a second register interconnected via first logic components. The first register receives a first output signal from first and third output nodes, and the second register generates an output of the first error detection circuit. The second error detection circuit includes a third register and a fourth register interconnected via second logic components. The third register receives a second output signal from the second and third output nodes, and the fourth register generates the output of the second error detection circuit. An error correction circuit receives the outputs of the first and second error detection circuits and generates an error correction output based on the outputs of the first and second error detection circuits; The error correction output is input to the inverted preset input of the second register and the inverted preset input of the fourth register, respectively, such that in response to the error correction output, the second register generates a first updated error detection circuit output, and in response to the error correction output, the fourth register generates a second updated error detection circuit output.

2. The circuit as defined in claim 1, wherein the ring oscillator circuit further comprises: A control logic, which is placed in the loop and has a first input connected to the inverter output in the loop, wherein the control logic has an output connected to the inverter input in the loop.

3. The circuit as defined in claim 2, wherein the control logic has a second input that receives the first and second updated error detection circuit outputs and resets the signal that has passed through the inverter based on the first and second updated error detection circuit outputs.

4. The circuit as defined in claim 1, wherein the signal, after being reset by the monitoring circuit, represents the initial state of the signal during the initialization period of the circuit.

5. A circuit system, comprising: A ring oscillator circuit having first, second, and third output nodes, wherein each of the first, second, and third output nodes filters the signal that has passed through the ring oscillator circuit; An error detection circuit detects error events in the signals passing through the first, second, and third output nodes, wherein the error detection circuit includes: a first error detection circuit comprising a first register and a second register interconnected via a first logic component, the second register generating a first error detection circuit output indicating whether an error event has occurred between the first and third output nodes; and a second error detection circuit comprising a third register and a fourth register interconnected via a second logic component, the fourth register generating a second error detection circuit output indicating whether an error event has occurred between the second and third output nodes; and An error correction circuit that, in response to a detected error event in the signal, selectively resets the ring oscillator circuit, wherein the error event includes a harmonic error event involving an edge timing anomaly, wherein the error correction circuit receives the outputs of the first and second error detection circuits and generates an error correction output indicating when either the first or second error detection circuit output indicates the error event. The error correction output is input to the inverted preset input of the second register and the inverted preset input of the fourth register, respectively, such that in response to the error correction output, the second register generates a first updated error detection circuit output, and in response to the error correction output, the fourth register generates a second updated error detection circuit output.

6. The circuit system as defined in claim 5, wherein the ring oscillator circuit includes a plurality of inverters in the loop, wherein the first output node is coupled to a first inverter output in the loop, the second output node is coupled to a second inverter output in the loop, and the third output node is coupled to a third inverter output in the loop.

7. The circuit system as defined in claim 6, wherein the ring oscillator circuit further includes logic circuitry placed in the loop, wherein the logic circuitry logically combines the first and second updated error detection circuit outputs to reset the signal that has passed through the loop.

8. The circuit system as defined in claim 7, wherein the logic circuit includes a NAND gate.

9. A method for detecting and correcting erroneous events in a ring oscillator, the method comprising: An error detection circuit is used to monitor the error effects associated with a signal propagating through the ring oscillator by detecting at least one error condition from a first, second, or third output node of the ring oscillator, wherein monitoring the error effects associated with the signal includes: when the error condition is detected between the first and third output nodes of the ring oscillator, generating a first error detection circuit output using a second register of a first error detection circuit in the error detection circuit, wherein the first error detection circuit includes a first register and a second register connected to each other via a first logic component; and when the error condition is detected between the second and third output nodes of the ring oscillator, generating a second error detection circuit output using a fourth register of a second error detection circuit in the error detection circuit, wherein the second error detection circuit includes a third register and the fourth register connected to each other via a second logic component; When at least one error condition is detected in the first output node, the second output node, or the third output node of the ring oscillator, an error correction circuit coupled to the error detection circuit is used to correct the error effects associated with the signal, wherein the error event includes harmonic error events involving edge timing anomalies; The error correction circuit receives the outputs of the first and second error detection circuits to generate an error correction output. The error correction output is input to the inverted preset input of the second register and the inverted preset input of the fourth register, respectively, and a first updated error detection circuit output is generated using the second register based on the error correction output; and Using the fourth register, a second updated error detection circuit output is generated based on the error correction output.

10. The method as defined in claim 9, wherein the ring oscillator comprises a plurality of inverters in the loop, and wherein correcting the erroneous effects associated with the signal comprises: The logic circuit coupled in the loop receives the outputs of the first and second updated error detection circuits, and resets the signals that have passed through the plurality of inverters based on the outputs of the first and second updated error detection circuits.

11. An apparatus for detecting and correcting erroneous events in a ring oscillator, the apparatus comprising: Components for monitoring the error effects associated with a signal propagating through the ring oscillator by detecting at least one error condition from a first, second, or third output node of the ring oscillator using an error detection circuit, wherein the components for monitoring the error effects associated with the signal include: components for generating a first error detection circuit output using a second register of a first error detection circuit in the error detection circuit when the error condition is detected between the first and third output nodes of the ring oscillator, wherein the first error detection circuit includes a first register and a second register connected to each other via a first logic component; and components for generating a second error detection circuit output using a fourth register of a second error detection circuit in the error detection circuit when the error condition is detected between the second and third output nodes of the ring oscillator, wherein the second error detection circuit includes a third register and the fourth register connected to each other via a second logic component; Components for correcting the error effects associated with the signal using an error correction circuit coupled to the error detection circuit when the at least one error condition is detected in the first output node, the second output node, or the third output node of the ring oscillator, wherein the error event includes harmonic error events involving edge timing anomalies; A component for receiving the outputs of the first and second error detection circuits in the error correction circuit to generate an error correction output; The error correction outputs are respectively input to the inverted preset input of the second register and the inverted preset input of the fourth register. A component for generating a first updated error detection circuit output using the second register based on the error correction output; and A component used to generate a second updated error detection circuit output based on the error correction output using the fourth register.

12. The device as defined in claim 11, wherein the ring oscillator comprises a plurality of inverters in the circuit, and wherein the components for correcting the erroneous effects associated with the signal include: A component for receiving the first and second updated error detection circuit outputs using logic circuitry coupled in the loop, and for resetting the signals that have passed through the plurality of inverters based on the first and second updated error detection circuit outputs.

13. A machine-readable medium storing instructions that, when executed, cause a computing device to perform the method according to any one of claims 9-10.

Citation Information

Patent Citations

  • Linear, Voltage-Controlled Ring Oscillator With Current-Mode, Digital Frequency And Gain Control

    US20110057736A1

  • Error detection at an oscillator

    US20140022022A1

  • Method and apparatus for clock generator

    US9088288B1

  • Semiconductor device

    US20070064470A1