Integrated circuit
The integrated circuit employs a logic circuit and discrimination circuit to detect power supply abnormalities using digital signals, addressing operational reliability and compact design challenges.
Patent Information
- Application Number
- JP2023044772
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-10-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing integrated circuits lack an efficient method to detect abnormalities in power supply voltage, which can lead to operational failures and are susceptible to noise interference.
An integrated circuit design that utilizes a logic circuit to output a test signal and a discrimination circuit to determine the state of the power supply based on the test and result signals, allowing for detection of power supply abnormalities using a digital signal approach.
The integrated circuit effectively detects power supply voltage abnormalities, reduces noise interference, and enables miniaturization by using digital signals, ensuring reliable operation and compact design.
Smart Images

Figure 2024134456000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to integrated circuits. [Background technology]
[0002] Patent Document 1 discloses a semiconductor device having a plurality of power supply inspection circuits that detect power supply voltage abnormalities for each pad that connects internal wiring placed inside the semiconductor device to other components placed outside the semiconductor device, and a result storage register that stores inspection results indicated by result signals output by the plurality of power supply inspection circuits. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2014-163917 A Summary of the Invention [Problem to be solved by the invention]
[0004] The present disclosure aims to provide an integrated circuit that uses logic circuitry to detect the state of the integrated circuit's power supply. [Means for solving the problem]
[0005] An integrated circuit of a first aspect of the present disclosure includes an output circuit that outputs an inspection signal, a logic circuit that is supplied with power from a power supply and that outputs a result signal based on the inspection signal and a state of the power supply when the inspection signal is input, and a discrimination circuit that is supplied with power from a power supply other than the power supply and that discriminates the state of the logic circuit based on the inspection signal and the result signal input from the output circuit and the logic circuit, respectively.
[0006] In the integrated circuit according to this aspect, the inspection signal output from the output circuit is output to the logic circuit and the determination circuit. In addition, the logic circuit outputs a result signal based on the state of the power supply to the determination circuit. Therefore, according to the integrated circuit according to this aspect, the determination circuit determines the state of the logic circuit based on the inspection signal and the result signal, thereby making it possible to detect the state of the power supply. Effect of the Invention
[0007] According to the present disclosure, it is possible to provide an integrated circuit that detects an abnormality in a power supply voltage using a logic circuit. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating an integrated circuit according to a first embodiment of the present disclosure. [Diagram 2] FIG. 13 is a diagram illustrating an integrated circuit according to a first modified example of the first embodiment of the present disclosure. [Diagram 3] FIG. 13 is a diagram illustrating an integrated circuit according to a second modified example of the first embodiment of the present disclosure. [Figure 4] FIG. 13 is a diagram illustrating an integrated circuit according to a second embodiment of the present disclosure. [Diagram 5] 13A and 13B are diagrams illustrating supplied voltages and delay times in a delay circuit according to a second embodiment of the present disclosure. [Figure 6] 11A and 11B are diagrams illustrating the operation of a clock supply circuit, a first flip-flop circuit, and a second flip-flop circuit in an integrated circuit according to a second embodiment of the present disclosure, in which (A) shows the operation before the delay time of the delay circuit is changed, and (B) shows the operation after the delay time of the delay circuit is lengthened. [Figure 7] Continuing from FIG. 6, these figures explain the operation of the clock supply circuit, the first flip-flop circuit, and the second flip-flop circuit in the integrated circuit according to the second embodiment of the present disclosure, where (A) is a diagram showing the operation before the delay time of the delay circuit is changed, and (B) is a diagram showing the operation after the delay time of the delay circuit has been shortened. [Figure 8]FIG. 13 is a diagram illustrating an integrated circuit according to a first modified example of the second embodiment of the present disclosure. [Figure 9] 10A and 10B are diagrams illustrating the operation of a clock supply circuit, a first flip-flop circuit, and a second flip-flop circuit in an integrated circuit according to a second modified example of the second embodiment of the present disclosure, in which (A) is a diagram illustrating the operation before the test time is changed, and (B) is a diagram illustrating the operation when the test time is extended. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an example of an embodiment of the present disclosure will be described with reference to the drawings. In each drawing, the same or equivalent components and parts are given the same reference numerals. In addition, the dimensional ratios of the drawings are exaggerated for the convenience of explanation and may differ from the actual ratios.
[0010] [First embodiment] (composition) FIG. 1 shows an integrated circuit 10 according to a first embodiment. As shown in FIG. 1, the integrated circuit 10 according to this embodiment includes a reference circuit 20 and a test target circuit 30. In the integrated circuit 10 according to this embodiment, the test target circuit 30 is supplied with power from a first power source S1, which is an example of a power source in the present disclosure, and the reference circuit 20 is supplied with power from a second power source S2, which is an example of another power source in the present disclosure, thereby driving each circuit. In the integrated circuit 10 according to this embodiment, the reference circuit 20 and the test target circuit 30 are electrically connected via a first bus B1 and a second bus B2.
[0011] In this embodiment, the first power source S1 and the second power source S2 may be any type of power source as long as they are capable of driving the reference circuit 20 and the test target circuit 30, respectively. For example, the first power source S1 and the second power source S2 may have the same performance, may be DC power sources but have different voltage values, one is a DC power source and the other is an AC power source, or may have the same voltage values but different current values.
[0012] As shown in FIG. 1, the inspection target circuit 30 has a logic circuit 32. Any logic circuit such as an AND circuit, a NAND circuit, an OR circuit, a NOR circuit, an EXOR circuit, or a NOT circuit can be applied to the logic circuit 32, and in this embodiment, an AND circuit is used as an example. The logic circuit 32 is supplied with power from a first power source S1, and when an inspection signal is input from an output circuit 22 described later through a first bus B1, the logic circuit 32 outputs a waveform (hereinafter referred to as a voltage waveform) having a voltage value equivalent to that of the inspection signal as a result signal to a second bus B2. More specifically, when both the power supplied from the first power source S1 and the inspection signal input from the first bus B1 exceed a predetermined threshold, the logic circuit 32 outputs a value of Hi as the result signal. When either the power supplied from the first power source S1 or the inspection signal input from the first bus B1 is equal to or lower than a predetermined threshold, the logic circuit 32 outputs a value of Low as the result signal.
[0013] The Hi value, the Low value, and the predetermined threshold value may be set to any value, but the predetermined threshold value may be a value that exceeds the operating voltage recommended for operation of the test target circuit 30.
[0014] The reference circuit 20 has an output circuit 22 that outputs a test signal, and a determination circuit 24 to which the test signal and a result signal are input.
[0015] 1, the output circuit 22 outputs an inspection signal to the logic circuit 32 of the inspection target circuit 30 and to the discrimination circuit 24. This inspection signal may be any signal that can be supplied to the logic circuit 32 and the discrimination circuit 24, but as an example, a voltage waveform indicating two voltage values, Hi or Low, is output as the inspection signal. The inspection signal is input to the logic circuit 32 and the discrimination circuit 24 via the first bus B1.
[0016] Any waveform may be used as the voltage waveform output as the inspection signal. Examples of the voltage waveform include a pulse wave with one rising and falling edge, a step wave that maintains Hi after rising, and a bit string having a predetermined combination of Hi and Low.
[0017] 1, the determination circuit 24 is a circuit to which the test signal is input from the output circuit 22 via the first bus B1 and to which the result signal is input from the logic circuit 32 of the test target circuit 30 via the second bus B2. The determination circuit 24 is a circuit that compares the test signal with the result signal, and in this embodiment, compares whether the test signal and the result signal have the same value.
[0018] More specifically, the determination circuit 24 has a first holding circuit (not shown) connected to the first bus B1 and a second holding circuit (not shown) connected to the second bus B2. The first holding circuit holds Hi when a test signal of Hi is input, and the second holding circuit holds Hi when a result signal of Hi is input. The determination circuit 24 compares the test signal with the result signal by comparing the values of the first holding circuit and the second holding circuit.
[0019] 1, the first bus B1 directly connects the output circuit 22, the determination circuit 24, and the logic circuit 32, but in the integrated circuit 10 according to the present embodiment, this is not limited to this and they may be connected via other elements. Similarly, the second bus B2 directly connects the determination circuit 24 and the logic circuit 32, but in the integrated circuit 10 according to the present embodiment, this is not limited to this and they may be connected via other elements. Examples of other elements include passive elements such as transformers and resistors, as well as active elements such as transistors and relays.
[0020] In the integrated circuit 10 according to this embodiment, the first bus B1 and the second bus B2 connecting the reference circuit 20 and the test target circuit 30 may be configured so that a current flows (signals are transmitted) only in the direction of the arrow. For example, the first bus B1 in this embodiment may be configured so that a diode is provided between the output circuit 22 and the logic circuit 32. In this case, when the wiring in the test target circuit 30 is shorted to the first bus B1 and power is directly supplied from the first power source S1 to the first bus B1 on the test target circuit 30, the power supplied from the first power source S1 to the reference circuit 20 through the first bus B1 is cut off.
[0021] (Detecting power supply status) As described above, in this embodiment, the inspection signal is a voltage waveform showing two values, Hi or Low, and the logic circuit 32 outputs a voltage waveform of two values, Hi or Low, which is equivalent to the inspection signal, as a result signal. Therefore, in this embodiment, when power is supplied to the logic circuit 32 from the first power source S1, that is, when the state of the power source supplied to the logic circuit 32 is normal, the inspection signal and the result signal have voltage waveforms showing equivalent voltage values. Note that in this disclosure, the "state of the power source" includes both the state of the first power source S1 that supplies power to the logic circuit 32 and the state in which power is supplied to the logic circuit 32.
[0022] For example, when the inspection signal indicates Hi, the logic circuit 32 outputs a result signal that indicates Hi, just like the inspection signal, so that the inspection signal and the result signal, both of which are Hi, are input to the discrimination circuit 24. When the inspection signal indicates Low, the logic circuit 32 outputs a result signal that indicates Low, just like the inspection signal, so that the inspection signal and the result signal, both of which are Low, are input to the discrimination circuit 24.
[0023] Thus, in the integrated circuit 10 according to this embodiment, when the test target circuit 30 is operating normally, the test signal and result signal input to the discrimination circuit 24 have the same values whether they are Hi or Low. In other words, in the integrated circuit 10 according to this embodiment, when the test target circuit 30 is operating normally, the test signal and result signal input to the discrimination circuit 24 have the same values whether they are Hi or Low.
[0024] In the integrated circuit 10 according to this embodiment, when the power supply is not normal, for example, when the first power supply S1 fails or a break occurs in the wiring of the test target circuit 30 and power is not supplied to the test target circuit 30, the operation is as follows. First, even if the test signal indicates Hi, power is not supplied to the logic circuit 32, so the result signal does not become Hi. Therefore, when the first power supply S1 fails or a break occurs in the wiring of the test target circuit 30 and power is not supplied to the test target circuit 30, the result signal input to the determination circuit 24 becomes 0 V, i.e., Low, even if the test signal is Hi.
[0025] Furthermore, when the other power supplies are not normal, for example, when a short circuit occurs in the wiring of the test target circuit 30 in the integrated circuit 10 according to this embodiment and power continues to be supplied to the first bus B1, the operation is as follows. First, even when the test signal indicates Low, power continues to be supplied to the logic circuit 32 and power is supplied from the first bus B1, so the result signal does not become Low. Therefore, even when a short circuit occurs in the wiring of the test target circuit 30, power continues to be supplied to the first bus B1, and the test signal is Low, the result signal output to the determination circuit 24 becomes Hi.
[0026] In this way, in the integrated circuit 10 according to this embodiment, when the power supply is not normal, the test signal and the result signal output to the determination circuit 24 have different values.
[0027] (Action and Effects) As described above, in the integrated circuit 10 according to this embodiment, a test signal and a result signal are output to the determination circuit 24. Therefore, whether the test signal input to the determination circuit 24 is Hi or Low, by determining whether the test signal has the same value as the result signal, the state of the power supplied to the logic circuit 32 can be determined.
[0028] The case where the state of the power supply to the logic circuit 32 is not normal means a case where the first power supply S1 is faulty, a case where a break occurs in the wiring of the test target circuit 30, or a case where a short circuit occurs in the wiring of the test target circuit 30 and power continues to be supplied to the first bus B1. Also, the case where the state of the power supply to the logic circuit 32 is not normal can be said to be a case where the state of the integrated circuit 10 is not normal.
[0029] Therefore, in the integrated circuit 10 according to this embodiment, the determination circuit 24 determines the state of the logic circuit 32 based on the inspection signal and the result signal, thereby making it possible to detect the state of the power supply using the logic circuit 32.
[0030] Also, in order to measure the power supply state of the circuit under test 30 by the reference circuit 20, a method is envisaged in which an analog signal output from the circuit under test 30 is judged using an analog circuit included in the reference circuit 20. However, when an analog signal is output from the circuit under test 30 to judge the power supply state, the analog circuit is composed of a reference voltage power supply, a resistor, a comparator, etc., and therefore the circuit area tends to be large and is susceptible to the influence of noise superimposed on the result signal.
[0031] However, according to the integrated circuit 10 of this embodiment, the determination circuit 24 determines the power supply state of the test target circuit 30 based on the test signal and the result signal output from the logic circuit 32. Therefore, the test signal can be a digital signal that takes two values, Hi or Low. Therefore, according to the integrated circuit 10 of this aspect, it is possible to reduce the influence of noise superimposed on the result signal and to miniaturize the integrated circuit 10.
[0032] In the integrated circuit 10 according to this embodiment, the reference circuit 20 and the output circuit 22 are supplied with power from the second power source S2. Therefore, according to the integrated circuit 10 according to this embodiment, the determination circuit 24 and the output circuit 22 can be incorporated into the same circuit, thereby making it possible to miniaturize the integrated circuit 10.
[0033] In the integrated circuit 10 according to this embodiment, the predetermined threshold value at which the logic circuit 32 operates is set to a value exceeding the operating voltage recommended for the operation of the test target circuit 30. Therefore, when the output voltage falls below the threshold value due to a malfunction of the first power supply S1, the logic circuit 32, which is an AND circuit, outputs a Low result signal even when other circuits in the test target circuit 30 are operating. Therefore, according to the integrated circuit 10 according to this embodiment, it is possible to detect that the first power supply S1 is malfunctioning even when the test target circuit 30 is operating.
[0034] Next, a first modified example of the present embodiment will be described with reference to Fig. 2. Note that in the configuration of the first modified example, the same components as those in the integrated circuit 10 according to the first embodiment will be designated by the same reference numerals as those in the first embodiment, and detailed descriptions thereof may be omitted.
[0035] (First Modification) (composition) 2 is a diagram illustrating an integrated circuit 10 according to a first modification of the present disclosure. As shown in Fig. 2, the integrated circuit 10 according to the first modification further includes a second test target circuit 40 and a third power supply S3 in addition to the components of the integrated circuit 10 according to the first embodiment.
[0036] 2, the second test target circuit 40 is supplied with power from a third power supply S3. The second power supply S2 is a power supply different from the first power supply S1 and the second power supply S2.
[0037] 2, the second test target circuit 40 has a second logic circuit 42. The second logic circuit 42 is connected to the output circuit 22 via a third bus B3, and receives a test signal from the output circuit 22. The second logic circuit 42 is also connected to the determination circuit 24 via a fourth bus, and outputs a result signal to the determination circuit 24. That is, the second logic circuit 42 in the second test target circuit 40 has the same configuration as the logic circuit 32 in the detection circuit.
[0038] 2, in the integrated circuit 10 according to the first modification, the reference circuit 20 outputs an inspection signal to the logic circuit 32 via the first bus B1 and to the second logic circuit 42 via the third bus B3. In other words, in the integrated circuit 10 according to the first modification, the output circuit 22 outputs an inspection signal to each of the logic circuit 32 and the second logic circuit 42 as a plurality of logic circuits.
[0039] In the integrated circuit 10 according to the first modification, the logic circuit 32 outputs an inspection signal to the discrimination circuit 24 via the second bus B2, and the second logic circuit 42 outputs an inspection signal to the discrimination circuit 24 via the fourth bus. In other words, the logic circuit 32 and the second logic circuit 42 are connected in parallel to the discrimination circuit 24.
[0040] The other configuration is similar to that of the integrated circuit 10 according to the first embodiment.
[0041] (Action and Effects) In the integrated circuit 10 according to this embodiment, the determination circuit 24 receives the inspection signal, the result signal output from the logic circuit 32, and the result signal output from the second logic circuit 42. Similarly to the integrated circuit 10 according to the first embodiment, the determination circuit 24 determines the state of the logic circuit 32 and the state of the second logic circuit 42 based on the multiple result signals output from the respective logic circuits 32.
[0042] Therefore, according to the integrated circuit 10 of this embodiment, the states of the plurality of logic circuits 32 connected in parallel to the determination circuit 24 can be determined based on the inspection signal and the result signal.
[0043] Next, a second modified example of the present embodiment will be described with reference to Fig. 3. Note that in the configuration of the second modified example, the same components as those in the integrated circuit 10 according to the first embodiment will be designated by the same reference numerals as those in the first embodiment, and detailed descriptions thereof may be omitted.
[0044] (Second Modification) (composition) Fig. 3 is a diagram illustrating an integrated circuit 10 according to a second modification of the present disclosure. As shown in Fig. 3, the integrated circuit 10 according to the second modification further includes a second test target circuit 40 and a third power supply S3 in addition to the components of the integrated circuit 10 according to the first embodiment.
[0045] 3, the second test target circuit 40 is supplied with power from a third power supply S3. The third power supply S3 is a power supply different from the first power supply S1 and the second power supply S2.
[0046] 3, the second test target circuit 40 has a second logic circuit 42. The second logic circuit 42 is connected to the logic circuit 32 via a third bus B3, and receives a result signal from the logic circuit 32 as a test signal. The second logic circuit 42 is also connected to the determination circuit 24 via the third bus B3, and outputs a result signal to the determination circuit 24.
[0047] 3, in the integrated circuit 10 according to the second modification, the test signal and the result signal are output from the reference circuit 20 to the logic circuit 32 through the first bus B1, and from the logic circuit 32 to the second logic circuit 42 through the second bus B2. In other words, in the integrated circuit 10 according to the second modification, the logic circuit 32 and the second logic circuit 42 are connected in series. In other words, in the integrated circuit 10 according to the second modification, the output circuit 22 outputs the test signal to the logic circuit 32, which is first in the sequence, and the second logic circuit 42, which is last in the sequence, outputs the result signal to the determination circuit 24.
[0048] The other configuration is similar to that of the integrated circuit 10 according to the first embodiment.
[0049] (Action and Effects) In the integrated circuit 10 according to this embodiment, the determination circuit 24 receives the inspection signal and a result signal output from the second logic circuit 42.
[0050] Here, when the power supply states of the test target circuit 30 and the second test target circuit 40 are normal, the test signal and the result signal have the same value, similar to the integrated circuit 10 according to the first embodiment. On the other hand, when the power supply state of either or both of the test target circuit 30 and the second test target circuit 40 is not normal, the test signal and the result signal have different values, similar to the integrated circuit 10 according to the first embodiment.
[0051] Therefore, according to the integrated circuit 10 of this embodiment, the states of the plurality of logic circuits 32 connected in series to the determination circuit 24 can be determined based on the test signal and the result signal.
[0052] (Other variations) In the above description, the integrated circuit 10 has only one discrimination circuit 24 in the reference circuit 20, but the configuration according to this embodiment is not limited to this. For example, in the case of having a plurality of test target circuits 30 and logic circuits 32 as in the first modified example, the integrated circuit 10 may be provided with a plurality of discrimination signals, so that result signals output from the plurality of logic circuits 32 are input to the respective discrimination circuits 24. Even in this case, it is possible to obtain the same actions and effects as the integrated circuit 10 according to the first embodiment for each of the plurality of test target circuits 30.
[0053] In the above description, the logic circuit 32 is an AND circuit, but the configuration of the integrated circuit 10 according to the present embodiment is not limited to this. That is, instead of the AND circuit, any circuit such as a NAND circuit, an OR circuit, a NOR circuit, an EXOR circuit, or a NOT circuit can be used. For example, when a NOT circuit is used for the logic circuit 32, when the first power source S1 is normal, the values of the inspection signal and the result signal are different, but when a failure or a break in the wiring of the first power source S1 occurs, the result signal indicates a Low value regardless of the value of the inspection signal. From this, even when a NOT circuit is used for the logic circuit 32, when the first power source S1 is normal, it is possible to detect the occurrence of a failure or a break in the wiring of the first power source S1 by comparing the values of the inspection signal and the result signal. Similarly, for example, if an OR circuit is used, it is possible to detect the failure or a break in the wiring of the first power source S1. Furthermore, if a NAND circuit is used, it is possible to detect the state of the power source as normal when the values of the inspection signal and the result signal do not match in the determination circuit 24 in the above description. For other circuits, the same functions and effects as those of this embodiment can be obtained by modifying the comparison method in the determination circuit 24 in various ways.
[0054] In the above description, the predetermined threshold is a value exceeding the operating voltage recommended for operation of the test target circuit 30, but the configuration according to the present embodiment is not limited to this. That is, the predetermined threshold may be a value equal to or lower than the operating voltage recommended for operation of the test target circuit 30, as long as the value is higher than the value of the noise superimposed on the test signal.
[0055] In the above description, the output circuit 22 is included in the reference circuit 20, but the configuration according to this embodiment is not limited to this. That is, the output circuit 22 may be included in the test target circuit 30 instead of the reference circuit 20. In other words, the output circuit 22 according to this embodiment may be supplied with power from the first power source S1 instead of the second power source S2. In this case, the determination circuit 24 may detect that the power supply state of the test target circuit 30, which is supplied with power from the first power source S1, is not normal by determining that no signal is output from the output circuit 22.
[0056] In the above description, in the integrated circuit 10, only the reference circuit 20 has the output circuit 22 and the discrimination circuit 24, but the configuration according to the present embodiment is not limited to this. For example, the discrimination circuit 24 may also be provided in the test target circuit 30, and the discrimination circuits 24 provided in the test target circuit 30 and the reference circuit 20 may detect the power supply state of each other.
[0057] Next, a second embodiment of the present disclosure will be described with reference to Figures 4 to 7. Note that in the configuration of the second embodiment, the same components as those in the integrated circuit 10 according to the first embodiment and its modified examples are designated by the same reference numerals as those in the first embodiment, and detailed descriptions thereof may be omitted.
[0058] [Second embodiment] (composition) Fig. 4 shows an integrated circuit 110 according to a second embodiment of the present disclosure. As shown in Fig. 4, the integrated circuit 110 according to this embodiment includes a clock supply circuit CK, a reference flip-flop circuit 122, a first flip-flop circuit 125, and a second flip-flop circuit 126 in a reference circuit 120. The integrated circuit 110 according to this embodiment also includes a delay circuit 132, which is an example of a logic circuit 32, in a test target circuit 130.
[0059] In the integrated circuit 110 according to this embodiment, the delay circuit 132 is connected to the reference flip-flop circuit 122 via a second bus B12, and is connected to the second flip-flop circuit 126 via a third bus B13.
[0060] When an inspection signal is input via the second bus B12, the delay circuit 132 according to the present embodiment outputs a result signal similar to that of the integrated circuit 10 according to the first embodiment after a delay time based on the voltage of the first power supply S1 has elapsed. The delay circuit 132 may have any configuration as long as the delay time changes based on the voltage value of the first power supply S1, but as an example, the delay circuit 132 is configured to shorten the delay time when the voltage value of the first power supply S1 increases.
[0061] 5, in the delay circuit 132, in which the delay time is T2 when the voltage value of the first power source S1 indicates V2, when the voltage value of the first power source S1 rises to indicate V3, the delay time becomes T3, and the delay time becomes shorter. When the voltage value of the first power source S1 falls to indicate V1, the delay time becomes T1, and the delay time becomes longer. In this embodiment, as an example, the relationship between the voltage value of the first power source S1 and the delay time is obtained in advance, and the relationship between the voltage value of the first power source S1 and the delay time is stored in a storage means (not shown). In addition, when the delay time at the voltage value when the first power source S1 is operating normally is managed or adjusted, the relationship between the voltage value and the delay time does not need to be stored.
[0062] The clock supply circuit CK and the reference flip-flop circuit 122 are examples of output circuits according to the present disclosure. As an example, the clock supply circuit CK outputs a square wave to the reference flip-flop circuit 122, the first flip-flop circuit 125, and the second flip-flop circuit 126 via the first bus B11.
[0063] In addition, in this embodiment, when a clock supply signal is output from the first bus B11, the reference flip-flop circuit 122 outputs an inspection signal to the first flip-flop circuit 125, the second flip-flop circuit 126, and the delay circuit 132 via the second bus B12.
[0064] Furthermore, in this embodiment, when a check signal is output from the second bus B12, the first flip-flop circuit 125 outputs a result signal to the determination circuit 124 through the fourth bus B14.
[0065] Furthermore, in this embodiment, when a result signal is output from the third bus B13, the second flip-flop circuit 126 outputs the result signal to the determination circuit 124 through the fifth bus B15.
[0066] Then, after a check time CT described later has elapsed, the determination circuit 124 according to this embodiment compares result signals which are values of the first flip-flop circuit 125 and the second flip-flop circuit 126. That is, the first flip-flop circuit 125 and the second flip-flop circuit 126 according to this embodiment are also parts constituting the determination circuit according to the present disclosure.
[0067] In addition, the reference flip-flop circuit 122, the first flip-flop circuit 125, and the second flip-flop circuit 126 according to this embodiment are, for example, D-type flip-flop circuits. That is, the reference flip-flop circuit 122, the first flip-flop circuit 125, and the second flip-flop circuit 126 are reset by a clock signal output from a clock supply circuit CK. As a result, the reference flip-flop circuit 122, the first flip-flop circuit 125, and the second flip-flop circuit 126 are synchronized.
[0068] Furthermore, the reference flip-flop circuit 122 outputs a test signal when a clock signal is input. Therefore, the timing at which the reference flip-flop circuit 122 outputs the test signal is the start timing of a test time CT, which will be described later. In this embodiment, the inversions of the signals in the first flip-flop circuit 125 and the second flip-flop circuit 126 are used as result signals output from the respective flip-flop circuits.
[0069] Next, a method for detecting the state of the power supply by the integrated circuit 110 according to this embodiment will be described with reference to FIGS.
[0070] (Detecting power supply status) In the integrated circuit 110 according to this embodiment, the determination circuit 124 determines the state of the power supply based on a predetermined test time CT and test signals output from both the first flip-flop circuit 125 and the second flip-flop circuit 126. More specifically, after the test time CT is input, the determination circuit 124 determines the state of the power supply based on the test signals output from both the first flip-flop circuit 125 and the second flip-flop circuit 126. Note that in this embodiment, the test time CT is set to one period of a square wave output from the clock supply circuit CK as shown in FIG. 6, for example. However, the test time CT is not limited to the period of the square wave output from the clock supply circuit CK, and may be determined by other methods.
[0071] 4, when a clock signal is output from the clock supply circuit CK to the reference flip-flop circuit 122, a check signal is output from the reference flip-flop circuit 122 to the first flip-flop circuit 125. When the check signal is input to the first flip-flop circuit 125, a result signal is output from the first flip-flop circuit 125 to the determination circuit 124.
[0072] 6, the result signal output from the first flip-flop circuit 125 is output to the determination circuit 124 with a delay of a first delay time R1 from the time point when the inspection signal is output from the reference flip-flop circuit 122. This first delay time R1 is a delay time for transmitting the inspection signal from the reference flip-flop circuit 122 to the first flip-flop circuit 125.
[0073] Furthermore, when an inspection signal is output from the reference flip-flop circuit 122 to the delay circuit 132, after a delay time based on the voltage of the first power supply S1 has elapsed, a result signal is output from the delay circuit 132 to the second flip-flop circuit 126. Then, a result signal is output from the second flip-flop circuit 126 to the determination circuit 124.
[0074] 6, the result signal output from the second flip-flop circuit 126 is output to the supply circuit with a delay of a second delay time R2 from the time when the inspection signal is output from the reference flip-flop circuit 122. This second delay time R2 is a delay time due to the transmission of the inspection signal from the reference flip-flop circuit 122 to the delay circuit 132, the delay time of the delay circuit 132, and the transmission of the result signal from the delay circuit 132 to the second flip-flop circuit 126.
[0075] As described above, in this embodiment, the delay time of the delay circuit 132 changes based on the voltage of the first power supply S1. In other words, when the delay time changes, it can be determined that the voltage of the first power supply S1 has changed.
[0076] For example, as shown in Fig. 6(A), when the result signal output from the first flip-flop circuit 125 and the result signal output from the second flip-flop circuit 126 are input to the discrimination circuit 124 within the inspection time CT, it is determined that the power supply is normal. Under this condition, for example, when the voltage of the first power supply S1 drops and the second delay time R2 becomes longer, the result signal output from the delay circuit 132 may not reach the second flip-flop circuit 126 within the inspection time CT, as shown in Fig. 6(B). In this case, the discrimination circuit 124 determines that the voltage of the first power supply S1 has dropped and that the power supply is not normal because the result signal from the delay circuit 132 has not arrived within the inspection time CT.
[0077] Also, for example, as shown in Fig. 7(A), when the result signal output from the first flip-flop circuit 125 is input to the discrimination circuit 124 within the inspection time CT and the result signal output from the second flip-flop circuit 126 is not input within the inspection time CT, it is determined that the power supply is normal. Under this condition, for example, when the voltage of the first power supply S1 rises and the second delay time R2 becomes shorter, as shown in Fig. 7(B), the result signal from the delay circuit 132 may reach the second flip-flop circuit 126 within the inspection time CT. In this case, the discrimination circuit 124 determines that the voltage of the first power supply S1 has risen and that the first power supply S1 is not normal because the result signal from the delay circuit 132 has arrived within the inspection time CT.
[0078] (Action and Effects) Thus, in the integrated circuit 110 according to this embodiment, the determination circuit 124 determines the state of the delay circuit 132 based on the test signal and the result signal after the test time CT has elapsed.
[0079] Therefore, after the inspection time CT has elapsed, the determination circuit 124 can detect the state of the power supply that supplies power to the delay circuit 132 by determining the state of the delay circuit 132 based on the inspection signal and the result signal.
[0080] In the integrated circuit 110 according to this embodiment, the determination circuit 124 has a first flip-flop circuit 125 to which the test signal is input, and a second flip-flop circuit 126 to which the result signal is input. Therefore, in the determination circuit 124 according to this embodiment, the first flip-flop circuit 125 holds that the test signal has been input, and the second flip-flop circuit 126 holds that the result signal has been input. Therefore, the integrated circuit 110 according to this aspect can store whether the test signal and the result signal are Hi or Low.
[0081] In this embodiment, the same effects as those in the first embodiment can be obtained, and the same modifications as those in the first embodiment can be applied to this embodiment.
[0082] Next, a first modified example of the present embodiment will be described with appropriate reference to Fig. 8. Note that in the configuration of the first modified example, the same components as those in the integrated circuit 110 according to the second embodiment will be designated by the same reference numerals as those in the second embodiment, and detailed description thereof may be omitted.
[0083] (First Modification) (composition) Fig. 8 is a diagram illustrating an integrated circuit 110 according to a first modification. As shown in Fig. 8, the integrated circuit 110 according to the first modification includes a plurality of delay circuits 132 and a selector SS.
[0084] The multiple delay circuits 132 are sequentially designated as a first delay circuit 132A, a second delay circuit 132B, ..., and an Nth delay circuit 132N. The multiple delay circuits 132 are sequentially set with different delay times, and for example, the first delay circuit 132A has a shorter delay time than the second delay circuit 132B. Similarly, the multiple delay circuits 132 are sequentially set with longer delay times. Furthermore, the delay times of the multiple delay circuits 132 change based on the voltage value of the first power source S1, similar to the delay circuit 132 of the second embodiment. In this modified example, the specific number of delay circuits 132 is appropriately set.
[0085] 8, the selector SS connects output terminals of the multiple delay circuits 132 to the third bus B13. The selector SS may have any configuration, but as an example, the selector SS is configured to electrically connect the output terminal of any one of the multiple delay circuits 132 by multiple transistors controlled from outside the test target circuit 30.
[0086] The other configuration is similar to that of the integrated circuit 110 according to the second embodiment.
[0087] (Detecting power supply status) In this embodiment, the delay circuit 132 that outputs a result signal to the second flip-flop circuit 126 is selected by changing the connection relationship of the selector SS. Here, as described above, different delay times are predefined for the multiple delay circuits 132. Here, in the integrated circuit 110 according to this modification, from among the multiple delay circuits 132, the delay circuit 132 that outputs a result signal from the second flip-flop circuit 126 within the inspection time CT is selected.
[0088] In this case, since the delay time of the selected delay circuit 132 is predetermined, even if the voltage value of the first power source S1 changes, the lower limit value of the voltage value of the first power source S1 can be obtained from the delay time of the delay circuit 132 that outputs a result signal within the inspection time CT.
[0089] In the integrated circuit 110 according to this modification, it is possible to select, from among the multiple delay circuits 132, a delay circuit 132 that does not output a result signal from the second flip-flop circuit 126 within the test time CT. In this case, since the delay time of the selected delay circuit 132 is predetermined, it is possible to obtain an upper limit value of the voltage value of the first power source S1 from the delay time of the delay circuit 132 that does not output a result signal within the test time CT even if the voltage value of the first power source S1 changes.
[0090] (Action and Effects) In this way, it is possible to obtain a delay circuit 132 whose delay time based on the power supply voltage is a predetermined time by selecting any one of the delay circuits 132. Therefore, according to the integrated circuit 110 of this modification, even if the power supply voltage supplied to the delay circuit 132 changes, it is possible to obtain the power supply voltage based on the result signal output from the delay circuit 132 whose delay time is a predetermined time.
[0091] Next, a second modified example of the present embodiment will be described with appropriate reference to Fig. 9. Note that in the configuration of the second modified example, the same components as those in the integrated circuit 110 according to the second embodiment will be designated by the same reference numerals as those in the second embodiment, and detailed description thereof may be omitted.
[0092] (Second Modification) (composition) In the integrated circuit 110 according to the second modification, the test time CT is changeable compared to the integrated circuit 110 according to the second embodiment. More specifically, the frequency of the square wave output from the clock supply circuit CK, i.e., the time from the rise to the fall of the voltage in the square wave, is changeable.
[0093] The other configuration is similar to that of the integrated circuit 110 according to the second modification.
[0094] (Detecting power supply status) In this embodiment, the length of the test time CT is appropriately changed and selected. As described above, the delay circuit 132 changes the delay time based on the voltage value of the first power supply S1.
[0095] For example, in the integrated circuit 110 according to this modification, even if the voltage value of the first power supply S1 drops and the delay time becomes longer as shown in Fig. 9(A) to Fig. 9(B), it is possible to output a result signal from the second flip-flop circuit 126 within the inspection time CT by changing the inspection time CT. In this case, the upper limit value of the voltage value of the first power supply S1 can be obtained from the delay time of the delay circuit 132 that outputs a result signal within the changed inspection time CT.
[0096] Also, for example, even if the voltage value of the first power supply S1 increases and the delay time becomes shorter, it is possible to change the test time CT so that the second flip-flop circuit 126 does not output a result signal within the test time CT. In this case, the lower limit of the voltage value of the first power supply S1 can be found from the delay time of the delay circuit 132 that outputs a result signal within the changed test time CT.
[0097] (Action and Effects) In this way, the determination circuit 124 is capable of changing the length of the predetermined time. Therefore, by changing the length of the time, it is possible to detect that the delay time of the delay circuit 132 based on the power supply voltage has become the changed time. Therefore, according to the integrated circuit 110 of this embodiment, even if the power supply voltage supplied to the delay circuit 132 changes, the power supply voltage can be obtained from the inspection signal and the changed predetermined time.
[0098] (Other variations) In the above description, the first flip-flop circuit 125, the second flip-flop circuit 126, and the reference flip-flop circuit 122 are all D-type, but the flip-flop circuits in this embodiment are not limited to this. For example, RS-type, JK-type, and T-type flip-flop circuits may be used.
[0099] The above describes an embodiment of the present disclosure with reference to the attached drawings. However, it is clear that a person with ordinary knowledge in the technical field to which the present disclosure pertains can conceive of various modified examples or application examples within the scope of the technical ideas described in the claims, and it is understood that these also naturally fall within the technical scope of the present disclosure.
[0100] Furthermore, preferred aspects of the present disclosure will be described below.
[0101] (Appendix 1) an output circuit that outputs an inspection signal; a logic circuit that outputs a result signal based on a state of the inspection signal and the power supply when power is supplied from the power supply and the inspection signal is input; a determination circuit that is supplied with power from a power source different from the power source and determines a state of the logic circuit based on the inspection signal and the result signal input from the output circuit and the logic circuit, respectively; 1. An integrated circuit comprising:
[0102] (Appendix 2) a plurality of the logic circuits connected in parallel to the determination circuit and each of which is supplied with power from a power source different from the power source; the output circuit outputs the inspection signal to each of the plurality of logic circuits; the determination circuit determines states of the plurality of logic circuits based on the inspection signal and the plurality of result signals output from each of the plurality of logic circuits. 2. An integrated circuit as defined in claim 1.
[0103] (Appendix 3) a plurality of the logic circuits connected in series and each of which is supplied with power from a power supply different from the power supply; the output circuit outputs the inspection signal to a first logic circuit among the plurality of logic circuits connected in series; the determination circuit determines states of the plurality of logic circuits based on the inspection signal and the result signal output from the last logic circuit in the order among the plurality of logic circuits connected in series. 1. An integrated circuit according to claim 1 or claim 2.
[0104] (Appendix 4) the logic circuit is a delay circuit whose delay time varies based on a voltage from the power supply, the determination circuit determines the state of the logic circuit after a predetermined time has elapsed since the inspection signal was input; 4. The integrated circuit of any one of Supplementary Notes 1 to 3.
[0105] (Appendix 5) the logic circuit includes a plurality of the delay circuits, The plurality of delay circuits each have a different delay time determined in advance. 6. An integrated circuit as defined in claim 4.
[0106] (Appendix 6) The determination circuit is capable of changing the length of the predetermined time. 10. An integrated circuit according to claim 4 or claim 5.
[0107] (Appendix 7) the output circuit is supplied with power from the other power source; 7. The integrated circuit of any one of Supplementary Notes 1 to 6.
[0108] (Appendix 8) The determination circuit includes a first flip-flop circuit to which the test signal is input, and a second flip-flop circuit to which the result signal is input; 8. The integrated circuit of any one of claims 1 to 7, comprising: [Explanation of symbols]
[0109] 10 Integrated Circuits 20 Reference circuit 22 Output circuit 24 Discrimination circuit 30 Circuit to be inspected 32 Logic Circuits 40 Second test circuit 42 Second logic circuit 110 Integrated Circuits 122 Reference Flip-Flop Circuit 124 Discrimination circuit 125 First Flip-Flop Circuit 126 Second flip-flop circuit 132 Delay circuit (an example of a logic circuit) CK Clock supply circuit CT Examination Time S1 First power source (example of power source) S2 Secondary power source (an example of another power source)
Claims
1. an output circuit that outputs an inspection signal; a logic circuit that outputs a result signal based on a state of the inspection signal and the power supply when power is supplied from the power supply and the inspection signal is input; a determination circuit that is supplied with power from a power source different from the power source and determines a state of the logic circuit based on the inspection signal and the result signal input from the output circuit and the logic circuit, respectively; 1. An integrated circuit comprising:
2. a plurality of the logic circuits connected in parallel to the determination circuit and each of which is supplied with power from a power source different from the power source; the output circuit outputs the inspection signal to each of the plurality of logic circuits; the determination circuit determines states of the plurality of logic circuits based on the inspection signal and the plurality of result signals output from each of the plurality of logic circuits.
2. The integrated circuit of claim 1.
3. a plurality of the logic circuits connected in series and each of which is supplied with power from a power supply different from the power supply; the output circuit outputs the inspection signal to a first logic circuit among the plurality of logic circuits connected in series; the determination circuit determines states of the plurality of logic circuits based on the inspection signal and the result signal output from the last logic circuit in the order among the plurality of logic circuits connected in series.
2. The integrated circuit of claim 1.
4. the logic circuit is a delay circuit whose delay time varies based on a voltage from the power supply, the determination circuit determines the state of the logic circuit after a predetermined time has elapsed since the inspection signal was input; 2. The integrated circuit of claim 1.
5. the logic circuit includes a plurality of the delay circuits, The plurality of delay circuits each have a different delay time determined in advance.
5. The integrated circuit of claim 4.
6. The determination circuit is capable of changing the length of the predetermined time.
5. The integrated circuit of claim 4.
7. the output circuit is supplied with power from the other power source; 2. The integrated circuit of claim 1.
8. The determination circuit includes a first flip-flop circuit to which the test signal is input, and a second flip-flop circuit to which the result signal is input; 8. An integrated circuit according to claim 1, comprising:
Citation Information
Patent Citations
Semiconductor device
JP2014163917A
