Detection circuit, semiconductor integrated circuit provided with same, and detection method of detection circuit

The detection circuit with delay and logic circuits detects oscillation circuit abnormalities without a separate monitoring circuit, reducing area and enhancing detection accuracy by setting specific detection windows for pulse width and jitter.

WO2024185513A1PCT designated stage expired Publication Date: 2024-09-12ROHM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/006255
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-08
Filing Date
2024-02-21
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Conventional methods for detecting abnormalities or failures in oscillation circuits require an additional monitoring oscillation circuit, leading to increased circuit area, which is unnecessary and inefficient.

Method used

A detection circuit comprising a first delay circuit, a second delay circuit, and a logic circuit that generates delayed clock signals and sets a detection window area to detect logic level switches within that area, allowing for the detection of abnormalities in the oscillation circuit without the need for a separate monitoring circuit.

Benefits of technology

Enables the detection of abnormalities and failures in the oscillation circuit source of the clock signal while minimizing circuit area, improving detection accuracy and efficiency by setting pulse width and jitter detection windows.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024006255_12092024_PF_FP_ABST
    Figure JP2024006255_12092024_PF_FP_ABST
Patent Text Reader

Abstract

A detection circuit 3 is configured by including: a first delay circuit 4; a second delay circuit 5; and a logic circuit 6. The logic circuit 6 enables setting of detection window regions Sa1 and Sa2, and enables detection of whether a timing at which the logic level of a clock signal CL0 changes is in the set detection window regions Sa1 and Sa2.
Need to check novelty before this filing date? Find Prior Art

Description

Detection circuit, semiconductor integrated circuit including the same, and detection method using the detection circuit

[0001] The invention disclosed in this specification relates to a detection circuit, a semiconductor integrated circuit including the same, and a detection method for the detection circuit.

[0002] Conventionally, in order to detect abnormalities or failures in an oscillator circuit, a method of using two oscillator circuits to monitor each other has been generally used (Patent Document 1).

[0003] JP 2013-190853 A

[0004] However, the above-mentioned method involves adding a new monitoring oscillator circuit, which is essentially unnecessary in terms of the main function of the oscillator circuit, and this poses problems such as an increase in circuit area.

[0005] The detection circuit disclosed in this specification includes a first delay circuit, a second delay circuit, and a logic circuit. The first delay circuit is configured to receive an input clock signal and generate a first delayed clock signal by adding a first delay to the clock signal. The second delay circuit is configured to receive an input first delayed clock signal and generate a second delayed clock signal by adding a second delay to the first delayed clock signal. The logic circuit is configured to set a detection window region, which is a section from a first timing at which the logic level of the first delayed clock signal switches from a first level to a second level to a second timing at which the logic level of the second delayed clock signal switches from the first level to the second level, and to detect whether the timing at which the logic level of the clock signal switches exists within the set detection window region.

[0006] The semiconductor device disclosed in this specification includes a clock signal generating circuit that generates a clock signal, and a detection circuit having the above-described configuration.

[0007] The specification discloses a detection method for a detection circuit including a first delay circuit configured to receive an input of a clock signal and generate a first delayed clock signal by applying a first delay to the clock signal, and a second delay circuit configured to receive an input of the first delayed clock signal and generate a second delayed clock signal by applying a second delay to the first delayed clock signal. The detection method for the detection circuit includes a detection window area setting step of specifying delay amounts of the first and second delays to set a detection window area, which is a section from a first timing at which the logic level of the first delayed clock signal switches from a first level to a second level to a second timing at which the logic level of the second delayed clock signal switches from the first level to the second level, so that the timing at which the logic level of the clock signal switches exists within the detection window area, and a detection step of detecting whether the timing at which the logic level of the clock signal switches exists within the detection window area set in the detection window area setting step.

[0008] The detection circuit disclosed in this specification makes it possible to detect abnormalities, failures, etc. in the oscillator circuit that is the source of the clock signal, while omitting the need for a monitoring oscillator circuit.

[0009] 1 is a block diagram illustrating a semiconductor integrated circuit 1 according to an embodiment. FIG. 2 is a timing chart illustrating a clock signal, a first delay clock signal, and a second delay clock signal. FIG. 3 is a timing chart illustrating a state in which the delay amount is increased from the state illustrated in FIG. 2. FIG. 4 is a timing chart illustrating a clock signal, a first delay clock signal, and a second delay clock signal in an initial state in which a pulse width detection window is set. FIG. 5 is a timing chart illustrating a clock signal, a first delay clock signal, and a second delay clock signal in an initial state in which a jitter detection window is set. FIG. 6 is a timing chart illustrating a clock signal, a first delay clock signal, and a second delay clock signal in a state in which a deviation occurs in the clock signal during a detection step in which a pulse width detection window is set. FIG. 7 is a timing chart illustrating a clock signal, a first delay clock signal, and a second delay clock signal in a state in which a deviation occurs in the clock signal during a detection step in which a jitter detection window is set. FIG. 8 is a timing chart illustrating a clock signal, a first delay clock signal, and a second delay clock signal in a state in which a delay amount is increased by a predetermined amount. FIG. 9 is a timing chart showing a clock signal, a first delayed clock signal, and a second delayed clock signal. FIG. 10 is a timing chart showing a clock signal, a first delayed clock signal, and a second delayed clock signal. FIG. 11 is a timing chart showing a clock signal, a first delayed clock signal, and a second delayed clock signal. FIG. 12 is a timing chart showing a clock signal, a first delayed clock signal, and a second delayed clock signal. FIG. 13 is a timing chart showing a clock signal, a first delayed clock signal, and a second delayed clock signal. FIG. 14 is a timing chart showing a clock signal, a first delayed clock signal, and a second delayed clock signal. FIG. 15 is a timing chart showing a clock signal, a first delayed clock signal, and a second delayed clock signal. FIG. 16 is a timing chart showing a clock signal, a first delayed clock signal, and a second delayed clock signal. FIG. 17 is a timing chart showing a clock signal, a first delayed clock signal, and a second delayed clock signal.

[0010] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. Fig. 1 is a block diagram showing a semiconductor integrated circuit 1 according to an embodiment. As shown in Fig. 1, the semiconductor integrated circuit 1 includes a clock signal generation circuit 2 and a detection circuit 3. The clock signal generation circuit 2 generates a clock signal CL0. The clock signal CL0 is a pulse signal that alternates between a low level (a first level, which will be described later) and a high level (a second level, which will be described later).

[0011] The detection circuit 3 includes a first delay circuit 4, a second delay circuit 5, and a logic circuit 6. The input terminal of the first delay circuit 4 is connected to the output terminal of the clock signal generation circuit 2. The output terminal of the first delay circuit 4 is connected to the input terminal of the second delay circuit 5. The logic circuit 6 is connected to the first delay circuit 4 and the second delay circuit 5.

[0012] The first delay circuit 4 is configured to receive the clock signal CL0 and generate a first delay clock signal CL1 by adding a first delay to the clock signal CL0. The first delay circuit 4 is a variable delay circuit that can change the amount of the first delay (hereinafter, the amount of the first delay will be referred to as "delay amount Da").

[0013] The second delay circuit 5 is configured to receive the first delay clock signal CL1 and generate a second delay clock signal CL2 by adding a second delay to the first delay clock signal CL1. The second delay circuit 5 is a variable delay circuit that can change the delay amount of the second delay (hereinafter, the delay amount of the second delay will be referred to as "delay amount Db").

[0014] The logic circuit 6 is configured to receive the first delay clock signal CL1 and the second delay clock signal CL2 and change the delay amounts Da and Db, respectively.

[0015] 2 is a timing chart showing the clock signal CL0, the first delayed clock signal CL1, and the second delayed clock signal CL2. When the logic circuit 6 increases the delay amount Da from 0, the first delayed clock signal CL1 is delayed relative to the clock signal CL0, as shown in FIG.

[0016] Furthermore, the second delayed clock signal CL2 is also delayed relative to the clock signal CL0 in accordance with the delay of the first delayed clock signal CL1. In this state, when the delay amount Db is 0 (= the state shown in FIG. 2), the second delayed clock signal CL2 is not delayed relative to the first delayed clock signal CL1.

[0017] Fig. 3 is a timing chart showing the state in which the delay amount Db is increased from the state shown in Fig. 2. When the logic circuit 6 increases the delay amount Db from 0, the second delay clock signal CL2 is delayed relative to the first delay clock signal CL1, as shown in Fig. 3. The delay amount of the second delay clock signal CL2 relative to the clock signal CL0 at this time is the sum of the delay amounts Da and Db.

[0018] The logic circuit 6 can set a detection window area by a detection window area setting step described later. Furthermore, the logic circuit 6 can detect, by a detection step, whether or not the timing at which the logic level of the clock signal CL0 switches (e.g., timing t2 or t3 shown in FIGS. 2 and 3) exists within the detection window area once it has been set.

[0019] The detection window region is the interval from a first timing t1a to a second timing t1b. The first timing t1a is the timing when the logic level of the first delayed clock signal CL1 switches from a first level to a second level. The second timing t1b is the timing when the logic level of the second delayed clock signal CL2 switches from the first level to a second level. Here, the first level is a low level, and the second level is a high level.

[0020] The logic circuit 6 can set a detection window area by changing the delay amounts Da and Db. The detection window area includes a pulse width detection window area Sa1 and a jitter detection window area Sa2. The logic circuit 6 can set either the pulse width detection window area Sa1 or the jitter detection window area Sa2 as the detection window area.

[0021] FIG. 4 is a timing chart showing the clock signal CL0, the first delayed clock signal CL1, and the second delayed clock signal CL2 in the initial state in which the pulse width detection window region Sa1 is set.

[0022] Here, one cycle of the clock signal CL0 is defined as the period from the timing t1 at which the logic level of the clock signal CL0 rises from the first level to the second level to the timing t3 at which the logic level of the clock signal CL0 next rises from the first level to the second level. Furthermore, for example, if the duty ratio of the clock signal CL0 is 50% as shown in Figure 4, the period from the timing t1 at which the logic level of the clock signal CL0 rises from the first level to the second level to the timing t2 at which the logic level of the clock signal CL0 next falls from the second level to the first level is defined as a half cycle of the clock signal CL0.

[0023] The pulse width detection window region Sa1 is a region in which fluctuations (i.e., deviations) in the pulse width of the clock signal CL0 can be detected. The pulse width here refers to the interval between successive logic level changes of the clock signal CL0. In other words, it refers to the length of the interval from the time when the logic level of the clock signal CL0 rises from the first level to the second level (i.e., time t1) to the time when the logic level of the clock signal CL0 next falls from the second level to the first level (i.e., time t2). For example, if the clock signal CL0 has a duty cycle of 50% as shown in FIG. 4, the pulse width can be said to be the length of half the cycle of the clock signal CL0.

[0024] As shown in FIG. 4, in the initial state in which the pulse width detection window region Sa1 is set, the timing at which the logic level of the clock signal CL0 changes (more specifically, the timing at which the logic level falls from the second level to the first level) falls within the pulse width detection window region Sa1.

[0025] On the other hand, the jitter detection window area Sa2 is an area in which jitter in the clock signal CL0 can be detected. Jitter is a fluctuation (deviation) that occurs in the period from the timing t1 at which the logic level of the clock signal CL0 rises from the first level to the second level to the timing t3 at which the logic level next rises from the first level to the second level, i.e., in the length of one cycle of the clock signal CL0.

[0026] 5 is a timing chart showing the clock signal CL0, the first delayed clock signal CL1, and the second delayed clock signal CL2 in the initial state in which the jitter detection window region Sa2 is set. As shown in FIG. 5, in the initial state in which the jitter detection window region Sa2 is set, the timing of switching the logic level of the clock signal CL0 (more specifically, the timing at which the logic level rises from the first level to the second level) occurs within the jitter detection window region Sa2.

[0027] First, a description will be given of the detection step of the logic circuit 6 when the pulse width detection window region Sa1 is set. In this case, as described above, in the initial state, the timing at which the logic level of the clock signal CL0 falls from the second level to the first level occurs within the pulse width detection window region Sa1 (see FIG. 4).

[0028] Suppose that a deviation occurs in the pulse width of clock signal CL0 from this state, resulting in the state shown in Figure 6. Then, the timing at which the logic level of clock signal CL0 switches (more specifically, the timing at which it falls from the second level to the first level) occurs outside the pulse width detection window region Sa1. At this time, the logic circuit 6 detects that a deviation has occurred in the pulse width of clock signal CL0.

[0029] By setting the width of the pulse width detection window region Sa1 (= the interval between the first timing t1a and the second timing t1b) to a small value, the accuracy of detecting a pulse width deviation can be improved. In other words, if the width of the pulse width detection window region Sa1 is set to a relatively small value, the timing at which the logic level of the clock signal CL0 switches (more specifically, the timing at which it falls from the second level to the first level) is likely to occur outside the pulse width detection window region Sa1, even if the deviation in the pulse width of the clock signal CL0 is relatively small.

[0030] Next, the detection step when the jitter detection window area Sa2 is set will be described. In this case, as described above, in the initial state, the timing when the logic level of the clock signal CL0 rises from the first level to the second level occurs within the jitter detection window area Sa2 (see FIG. 5).

[0031] Let us assume that jitter occurs in clock signal CL0 from this state (the initial state shown in FIG. 5) to the state shown in FIG. 7. Then, the timing at which the logic level of clock signal CL0 rises from the first level to the second level occurs outside the jitter detection window region Sa2. At this time, the logic circuit 6 detects that jitter is occurring in clock signal CL0.

[0032] By setting the width of the jitter detection window region Sa2 (= the interval between the first timing t1a and the second timing t1b) to be small, it is possible to improve the accuracy of detecting jitter occurring in the clock signal CL0. In other words, if the width of the jitter detection window region Sa2 is set relatively small, even if the jitter occurring in the clock signal CL0 is relatively small, the timing at which the logic level of the clock signal CL0 switches (more specifically, the timing at which it rises from the first level to the second level) is likely to occur outside the jitter detection window region Sa2.

[0033] Next, a detailed description will be given of the step of setting the detection window area in the logic circuit 6. First, a method of setting the pulse width detection window area Sa1 will be described.

[0034] As shown in Fig. 8, first, the delay amount Db is set. At this time, the delay amount Db is a value that corresponds to the size of the pulse width detection window area Sa1, i.e., the detection accuracy. The delay amount Db is a value that is smaller than the length of the half period described above. When the pulse width detection window area Sa1 is set large (= relatively low detection accuracy), the delay amount Db is set relatively large. Conversely, when the pulse width detection window area Sa1 is set small (= relatively high detection accuracy), the delay amount Db is set relatively small.

[0035] Next, the delay amount Da is gradually increased. As a result, the first delayed clock signal CL1 and the second delayed clock signal CL2 are delayed relative to the clock signal CL0. At time t2 (the timing when the logic level of the clock signal CL0 falls from the second level to the first level), the logic levels of the first delayed clock signal CL1 and the second delayed clock signal CL2 are at the second level (not shown).

[0036] The delay amount Da is increased until the state shown in Fig. 9 (= the state where the second timing t1b overlaps with the timing t2) is reached. The delay amount Da when the second timing t1b overlaps with the timing t2 is set to be a delay amount Da1.

[0037] Next, the delay amount Da is further increased from the delay amount Da1 until the state shown in Fig. 10 (= the state where the first timing t1a overlaps with the timing t2) is reached. The delay amount Da when the first timing t1a overlaps with the timing t2 is set to the delay amount Da2.

[0038] Next, the delay amount Da is decreased from the delay amount Da2 until the state shown in Fig. 11 is reached (i.e., the state where the timing t2 arrives in the middle between the first timing t1a and the second timing t1b). The delay amount Da when the pulse width detection window region Sa1 is set is set to a delay amount Da3.

[0039] The relationship between the delay amounts Da1, Da2, and Da3 is (delay amount Da3) = (delay amount Da1 + delay amount Da2) / 2. By using the above method, the section from the first timing t1a to the second timing t1b is set as the pulse width detection window region Sa1.

[0040] Next, a method for setting the jitter detection window area Sa2 will be described. As shown in Fig. 12, first, the delay amount Db is set in the same manner as in the method for setting the pulse width detection window area Sa1 described above.

[0041] Next, the delay amount Da is gradually increased. As a result, the first delayed clock signal CL1 and the second delayed clock signal CL2 are delayed relative to the clock signal CL0, as shown in Figure 13. At this time, at timing t3, the logic levels of the first delayed clock signal CL1 and the second delayed clock signal CL2 become the first level.

[0042] If the delay amount Da is further increased, the logic levels of the first delayed clock signal CL1 and the second delayed clock signal CL2 become the second level at timing t3, as shown in FIG.

[0043] The delay amount Da is increased until the state shown in Fig. 15 (= the state where the second timing t1b overlaps with the timing t3) is reached. The delay amount Da when the second timing t1b overlaps with the timing t3 is set to a delay amount Da4.

[0044] Next, the delay amount Da is further increased from the delay amount Da4 until the state shown in Fig. 16 (= the state where the first timing t1a overlaps with the timing t3) is reached. The delay amount Da when the first timing t1a overlaps with the timing t3 is set to a delay amount Da5.

[0045] Next, the delay amount Da is decreased from the delay amount Da5 until the state shown in Fig. 17 is reached (= the state where the timing t3 arrives in the middle between the first timing t1a and the second timing t1b). The delay amount Da when the jitter detection window area Sa2 is set is set to a delay amount Da6.

[0046] The relationship between the delay amounts Da4, Da5, and Da6 is (delay amount Da6) = (delay amount Da4 + delay amount Da5) / 2. By using the above method, the section from the first timing t1a to the second timing t1b is set as the jitter detection window area Sa2.

[0047] As described above, the logic circuit 6 can detect whether or not the timing at which the logic level of the clock signal CL0 switches is present within the detection window region through the detection step. This allows for detection of abnormalities in the clock signal CL0 (such as a deviation in pulse width or the occurrence of jitter). This eliminates the need to add a separate oscillator circuit for the purpose of monitoring the clock signal CL0. This makes it possible to detect abnormalities or failures in the oscillator circuit (here, the clock signal generation circuit 2) that is the source of the clock signal CL0 while minimizing an increase in circuit area.

[0048] As described above, the logic circuit 6 can set the detection window area (pulse width detection window area Sa1 or jitter detection window area Sa2) in the detection window area setting step, which makes it possible to provide a detection circuit that can detect an abnormality or failure in the oscillation circuit that is the source of the clock signal CL0 while suppressing an increase in the circuit area.

[0049] The present disclosure is not limited to the above-described embodiment, and various modifications are possible without departing from the spirit of the present invention. For example, the clock signal CL0 may be a pulse-width modulated signal. In this case, in the detection window region setting step, the logic circuit 6 may set the detection window region so that it moves in a pattern corresponding to each setting value.

[0050] More specifically, the clock signal CL0 has a duty ratio set to a plurality of preset values. The clock signal CL0 is pulse-width modulated so that the duty ratio varies according to each preset value. When the duty ratio of the clock signal CL0 changes to each preset value, the logic circuit 6 increases or decreases the delay amount Da in accordance with the change in duty ratio, thereby shifting the detection window region. Therefore, even if the clock signal CL0 is a pulse-width modulated signal, deviations in pulse width that are not anticipated by pulse-width modulation can be detected without being affected by changes in the duty ratio due to pulse-width modulation.

[0051] Furthermore, the clock signal CL0 may be generated by a frequency-modulating clock signal generating circuit (e.g., a spread spectrum clock generator (SSCG)). In this case, the frequency of the clock signal CL0 is modulated in a predetermined manner within an arbitrary range. When the frequency of the clock signal CL0 is modulated, the timings of switching the logic levels (timings t1 to t5) change.

[0052] In this case, by detecting whether the timing (= timing t2 or t3) at which the logic level of the clock signal CL0 switches falls inside the detection window area (pulse width detection window area Sa1 or jitter detection window area Sa2), it is possible to determine whether the frequency of the clock signal CL0 is correctly modulated. More specifically, this is as follows. When the detection window area (pulse width detection window area Sa1 or jitter detection window area Sa2) is set to include the entire modulation range of the clock signal CL0, it is possible to detect whether the amount of frequency modulation of the clock signal CL0 exceeds a predetermined value. Furthermore, when the detection window area (pulse width detection window area Sa1 or jitter detection window area Sa2) is set to a range smaller than the entire modulation range of the clock signal CL0, it is possible to detect whether the amount of frequency modulation of the clock signal CL0 has reached a predetermined value.

[0053] Furthermore, as described above, when the clock signal CL0 is a frequency-modulated signal, the logic circuit 6 can be configured to increase or decrease the delay amount Da to move the detection window area (pulse width detection window area Sa1 or jitter detection window area Sa2) so that the first timing t1a follows the modulation (so that the change in the first timing t1a follows the change in the timing t1). This makes it possible to detect pulse width deviations and jitter that are not anticipated in frequency modulation, even if the clock signal CL0 is a frequency-modulated signal, without being affected by changes in the timing of switching the logic level due to the frequency modulation.

[0054] As described above, the first delay circuit 4 may be a variable delay circuit that can linearly increase or decrease the delay amount Da, while the second delay circuit 5 may be a delay circuit that can select one of a plurality of predetermined values ​​for the delay amount Db.

[0055] Furthermore, the first delay circuit 4 may be a delay circuit in which the delay amount Da is preset to a predetermined value and cannot be changed. Furthermore, the second delay circuit 5 may be a delay circuit in which the delay amount Db is preset to a predetermined value and cannot be changed. In these cases, it is preferable to use a clock signal CL0 that is not pulse-width modulated and has a duty cycle fixed to a single set value. In these cases, it is also preferable to use a clock signal CL0 that is not frequency-modulated and has a frequency fixed to a predetermined set value.

[0056] In the above embodiment, the pulse width is defined as the length of the section from the time when the pulse rises from the first level to the second level to the time when the pulse next falls from the second level to the first level, but this is not limiting. Specifically, the pulse width may be defined as the length of the section from the time when the pulse falls from the second level to the first level to the time when the pulse next rises from the first level to the second level.

[0057] Furthermore, one cycle of the clock signal CL0 is defined as the period from the timing (= timing t1) when the logic level of the clock signal CL0 rises from the first level to the second level to the timing (= timing t3) when the logic level of the clock signal CL0 next rises from the first level to the second level, but is not limited to this.

[0058] Specifically, one cycle of the clock signal CL0 may be defined as the period from the timing (= timing t2) when the logical level of the clock signal CL0 falls from the second level to the first level to the timing (= timing t4) when the logical level of the clock signal CL0 next falls from the second level to the first level.

[0059] Similarly, the half cycle of the clock signal CL0 may be defined as the period from the timing (= timing t2) when the logical level of the clock signal CL0 falls from the second level to the first level to the timing (= timing t3) when the logical level of the clock signal CL0 next rises from the first level to the second level.

[0060] <Note> The detection circuit (3) disclosed in the specification comprises a first delay circuit (4) configured to receive an input of a clock signal (CL0) and generate a first delayed clock signal (CL1) by adding a first delay to the clock signal (CL0), a second delay circuit (5) configured to receive an input of the first delayed clock signal (CL1) and generate a second delayed clock signal (CL2) by adding a second delay to the first delayed clock signal (CL1), and a logic level detector (6) configured to detect the logic level of the first delayed clock signal (CL1). a logic circuit (6) capable of setting a detection window area (Sa1, Sa2) from a first timing (t1a) at which the logic level of the second delayed clock signal (CL2) switches from the first level to the second level to a second timing (t1b) at which the logic level of the clock signal (CL0) switches from the first level to the second level, and capable of detecting whether or not the timing at which the logic level of the clock signal (CL0) switches exists within the set detection window area (Sa1, Sa2).

[0061] In addition, the detection circuit (3) having the first configuration may be configured so that the logic circuit (6) receives the first delay clock signal (CL1) and the second delay clock signal (CL2) and is able to change at least the delay amount (Da) of the first delay and the second delay (second configuration).

[0062] In addition, the detection circuit (3) having the second configuration may be configured such that the first delay circuit (4) is a variable delay circuit capable of changing the delay amount (Da) of the first delay, the second delay circuit (5) is a variable delay circuit capable of changing the delay amount (Db) of the second delay, and the logic circuit (6) is capable of setting the detection window region (Sa1, Sa2) by changing the delay amounts (Db) of the first delay and the second delay (third configuration).

[0063] In addition, the detection circuit (3) having any of the first to third configurations may be configured such that the logic circuit (6) can detect whether or not there is a timing within the detection window region (Sa1) at which the logic level of the clock signal (CL0) switches from the second level to the first level (fourth configuration).

[0064] In addition, the detection circuit (3) having any of the first to third configurations may be configured such that the logic circuit (6) can detect whether or not there is a timing within the detection window region (Sa2) at which the logic level of the clock signal (CL0) switches from the first level to the second level (fifth configuration).

[0065] In addition, the detection circuit (3) having the second configuration may be configured such that the clock signal (CL0) is a pulse-width modulated signal so that the duty ratio varies among a plurality of set values, and the logic circuit (6) is configured so that the detection window region (Sa1, Sa2) can be set so that the first timing (t1a) varies in accordance with the set value (sixth configuration).

[0066] In addition, the detection circuit (3) having the second configuration may be configured so that the clock signal (CL0) has a frequency modulated within a predetermined range, and the logic circuit (6) can set the detection window region (S1a, Sa2) so that the first timing (t1a) fluctuates to follow the modulation of the clock signal (CL0) (seventh configuration).

[0067] Furthermore, the semiconductor integrated circuit (1) disclosed in the specification has a configuration (eighth configuration) including a clock signal (CL0) generation circuit (2) that generates a clock signal (CL0) and a detection circuit (3) having any of the first to seventh configurations.

[0068] The detection method of the detection circuit disclosed in the specification includes a detection circuit (3) that receives an input of a clock signal (CL0) and generates a first delayed clock signal (CL1) by adding a first delay to the clock signal (CL0), a second delay circuit (5) that receives an input of the first delayed clock signal (CL1) and generates a second delayed clock signal (CL2) by adding a second delay to the first delayed clock signal (CL1), and a detection circuit (3) that receives an input of the first delayed clock signal (CL1) and generates a second delayed clock signal (CL2) by adding a second delay to the first delayed clock signal (CL1) from a first timing (t1a) at which the logic level of the first delayed clock signal (CL1) switches from a first level to a second level. The clock signal (CL0) is configured (ninth configuration) to include a detection window area setting step of setting a detection window area (Sa1, Sa2) by specifying delay amounts (Da, Db) of the first delay and the second delay so that the timing at which the logic level of the clock signal (CL0) switches exists in the detection window area (Sa1, Sa2), which is the interval up to a second timing (t1b) at which the logic level of the clock signal (CL2) switches from the first level to the second level, and a detection step of detecting whether the timing at which the logic level of the clock signal (CL0) switches exists within the detection window area (Sa1, Sa2) set in the detection window area setting step.

[0069] In addition, a detection method for a detection circuit having a ninth configuration is configured such that the detection circuit (3) includes a logic circuit (6) configured to receive a first delay clock signal (CL1) and a second delay clock signal (CL2) and be able to change at least the delay amount (Da) of the first delay and the second delay, and the detection window area setting step is configured such that the logic circuit (6) changes the delay amounts (Da, Db) of the first delay and the second delay to set the detection window areas (Sa1, Sa2) (tenth configuration).

[0070] Furthermore, in the detection method of the detection circuit having the tenth configuration, the detection window area setting step may be configured to include a second delay setting step for setting a delay amount (Db) of the second delay, and a first delay setting step subsequent to the second delay setting step for setting a delay amount (Da) of the first delay so that the timing at which the logic level of the clock signal (CL0) switches occurs between the first timing (t1a) and the second timing (t1b) (eleventh configuration).

[0071] According to the detection circuit (3) of the first configuration, the logic circuit (6) can detect whether or not the timing of switching the logic level of the clock signal (CL0) exists within the detection window region, thereby detecting an abnormality in the clock signal (CL0). Therefore, it is possible to detect an abnormality or failure in the oscillator circuit (2) that is the source of the clock signal (CL0) without using a monitoring oscillator circuit.

[0072] According to the detection circuit (3) of the second configuration, the delay amount (Da) of the first delay can be changed by the logic circuit (6), and the detection window regions (Sa1, Sa2) can be set more precisely.

[0073] According to the detection circuit (3) of the third configuration, the delay amounts (Da, Db) of the first delay and the second delay are changeable, and the detection window areas (Sa1, Sa2) can be set by various methods.

[0074] The detection circuit (3) according to the fourth configuration can detect whether there is a deviation (=abnormality) in the timing at which the logic level of the clock signal (CL0) switches from the second level to the first level, thereby detecting whether there is an abnormality in the pulse width of the clock signal (CL0).

[0075] The detection circuit (3) according to the fifth configuration can detect whether there is a deviation (=abnormality) in the timing at which the logic level of the clock signal (CL0) switches from the first level to the second level, thereby detecting the presence or absence of jitter in the clock signal (CL0).

[0076] The detection circuit (3) according to the sixth configuration can detect whether or not there is an abnormality in the clock signal (CL0) even if the clock signal (CL0) is a pulse width modulated signal.

[0077] The detection circuit (3) according to the seventh configuration can detect whether or not there is an abnormality in the clock signal (CL0) even if the clock signal (CL0) is a frequency-modulated signal.

[0078] According to the semiconductor integrated circuit (1) of the eighth configuration, it is possible to provide a semiconductor integrated circuit (1) that can detect abnormalities, failures, etc. in the oscillator circuit (2) that is the source of the clock signal (CL0) while omitting a monitoring oscillator circuit.

[0079] According to the detection method for the detection circuit of the ninth configuration, the detection window area setting step makes it possible to set detection window areas (Sa1, Sa2) in which an abnormality in the clock signal (CL0) can be detected. Furthermore, the detection step makes it possible to detect an abnormality in the clock signal (CL0). Therefore, it becomes possible to detect an abnormality, failure, etc. in the oscillator circuit (2) that is the source of the clock signal (CL0) while omitting a monitoring oscillator circuit.

[0080] According to the detection method of the detection circuit of the tenth configuration, in the detection window region setting step, the detection window regions (Sa1, Sa2) can be set by the logic circuit (6), which allows the detection window regions (Sa1, Sa2) to be set more precisely.

[0081] According to the detection method of the detection circuit of the eleventh configuration, it is possible to more appropriately set the detection window regions (Sa1, Sa2).

[0082] 1 Semiconductor integrated circuit 2 Clock signal generation circuit 3 Detection circuit 4 First delay circuit 5 Second delay circuit 6 Logic circuit CL0 Clock signal CL1 First delay clock signal CL2 Second delay clock signal Da, Db Delay amount Da4 to Da6 Delay amount Sa1 Pulse width detection window area Sa2 Jitter detection window area t1 Timing t2 Timing t3 Timing t1a First timing t1b Second timing

Claims

1. A detection circuit comprising: a first delay circuit configured to receive an input of a clock signal and generate a first delayed clock signal by adding a first delay to the clock signal; a second delay circuit configured to receive an input of the first delayed clock signal and generate a second delayed clock signal by adding a second delay to the first delayed clock signal; and a logic circuit configured to be able to set a detection window area from a first timing when the logic level of the first delayed clock signal switches from a first level to a second level to a second timing when the logic level of the second delayed clock signal switches from the first level to the second level, and to detect whether the timing at which the logic level of the clock signal switches exists within the set detection window area.

2. The detection circuit of claim 1, further comprising a logic circuit configured to receive the first delayed clock signal and the second delayed clock signal and to be able to change the amount of at least the first delay of the first delay and the second delay.

3. The detection circuit according to claim 2, wherein the first delay circuit is a variable delay circuit capable of changing the amount of delay of the first delay, the second delay circuit is a variable delay circuit capable of changing the amount of delay of the second delay, and the logic circuit is configured to be able to set the detection window area by changing the amounts of delay of the first delay and the second delay.

4. The detection circuit according to claim 1, wherein the logic circuit is configured to be capable of detecting whether or not the timing at which the logical level of the clock signal switches from the second level to the first level exists within the detection window region.

5. The detection circuit according to claim 1, wherein the logic circuit is configured to be capable of detecting whether or not the timing at which the logical level of the clock signal switches from the first level to the second level exists within the detection window region.

6. The detection circuit according to claim 2, wherein the clock signal is a pulse-width modulated signal whose duty ratio varies among a plurality of set values, and the logic circuit is configured to be capable of setting the detection window region so that the first timing varies in accordance with the set values.

7. The detection circuit according to claim 2, wherein the clock signal is frequency modulated within a predetermined range, and the logic circuit is configured to be capable of setting the detection window region so that the first timing varies to follow the modulation of the clock signal.

8. A semiconductor integrated circuit comprising: a clock signal generating circuit that generates the clock signal; and the detection circuit according to claim 1.

9. A detection method for a detection circuit, comprising: a detection circuit configured to receive an input of a clock signal and generate a first delayed clock signal by applying a first delay to the clock signal; and a second delay circuit configured to receive an input of the first delayed clock signal and generate a second delayed clock signal by applying a second delay to the first delayed clock signal, the detection method comprising: a detection window area setting step of setting a detection window area by specifying delay amounts of the first delay and the second delay so that the timing at which the logic level of the clock signal switches exists within the detection window area, which is the interval from a first timing at which the logic level of the first delayed clock signal switches from a first level to a second level to a second timing at which the logic level of the second delayed clock signal switches from the first level to the second level; and a detection step of detecting whether or not the timing at which the logic level of the clock signal switches exists within the detection window area set in the detection window area setting step.

10. A detection method for a detection circuit as described in claim 9, wherein the detection circuit includes a logic circuit configured to receive the first delayed clock signal and the second delayed clock signal and to be able to change the amount of at least the first delay among the first delay and the second delay, and the detection window area setting step comprises the logic circuit changing the amounts of the first delay and the second delay to set the detection window area.

11. A detection method for a detection circuit as described in claim 10, wherein the detection window area setting step comprises: a second delay setting step of setting a delay amount of the second delay; and a first delay setting step, which is a step subsequent to the second delay setting step, of setting the delay amount of the first delay so that the timing at which the logic level of the clock signal switches occurs between the first timing and the second timing.

Citation Information

Patent Citations

  • Clock abnormality detection circuit

    JP2011199743A

  • Clock diagnosis circuit

    JP2013077921A

  • Semiconductor device

    JP2017033325A