Schmitt Circuit

JP2023076960A5Inactive Publication Date: 2024-10-09SEIKO INSTR INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2021190010
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2021-11-24
Publication Date
2024-10-09
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Conventional Schmitt circuits experience chattering in their output when connected to a communication bus without impedance matching, leading to potential device malfunctions due to superimposed reflection noise.

Method used

The Schmitt circuit incorporates a first and second signal detection circuit, an RS latch circuit, and a selection signal generation circuit with a delay mechanism to stabilize the output signal, preventing chattering by adjusting threshold voltages and using a delay circuit to manage noise impacts.

Benefits of technology

The circuit effectively suppresses chattering in the output, ensuring stable operation even when subjected to reflection noise, thereby preventing device malfunctions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a schmitt circuit in which a chattering does not occur in an output of the schmitt circuit even in the case where it is connected to a communication bus without having an impedance matching and a reflection noise is overlapped with an input signal.SOLUTION: A Schmitt circuit comprises: a first signal detection circuit 100; a second signal detection circuit 110; a latch circuit 120; a selection signal generation circuit 130; a first input terminal IN; and a first output terminal OUT. The first signal detection circuit 100 is connected to the first input terminal IN, the latch circuit 120, and the selection signal generation circuit 130. The second signal detection circuit 110 is connected to the first input terminal IN, the latch circuit 120, and the selection signal generation circuit 130. The latch circuit 120 is connected to the selection signal generation circuit 130, and the output terminal OUT. The selection signal generation circuit 130 includes a delay circuit 140.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a Schmitt circuit. [Background technology]

[0002] When the input terminal of a conventional Schmitt circuit is connected to a communication bus or the like that does not have impedance matching, reflected noise may be superimposed on the input signal. When an input signal with reflected noise superimposed is input to a conventional Schmitt circuit, chattering may occur in the output of the Schmitt circuit, which may cause the device to malfunction (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2000-332580 Summary of the Invention [Problem to be solved by the invention]

[0004] An object of the present invention is to provide a Schmitt circuit that does not generate chattering in the output of the Schmitt circuit even when its input terminal is connected to a communication bus or the like that does not have impedance matching and reflected noise is superimposed on the input signal. [Means for solving the problem]

[0005] The Schmitt circuit of the present invention comprises a first signal detection circuit, a second signal detection circuit, a latch circuit, a selection signal generation circuit, a first input terminal, and a first output terminal, the first signal detection circuit has a second input terminal, a first selection signal input terminal, and a second output terminal, the first input terminal is connected to the second input terminal, the first selection signal input terminal is connected to the selection signal generation circuit, and the second output terminal is connected to one input of the latch circuit, the second signal detection circuit has a third input terminal, a second selection signal input terminal, and a third output terminal, the first input terminal is connected to the third input terminal, the second selection signal input terminal is connected to the selection signal generation circuit, and the third output terminal is connected to the other input of the latch circuit, the latch circuit is connected to the selection signal generation circuit and the output terminal, and the selection signal generation circuit has a delay circuit. [Effects of the Invention]

[0006] Even if reflected noise is superimposed on the input signal, chattering does not occur in the output of the Schmitt circuit. [Brief explanation of the drawings]

[0007] [Figure 1] FIG. 1 is a circuit diagram illustrating an example of a Schmitt circuit according to a first embodiment of the present invention. [Figure 2] FIG. 2 is a diagram illustrating an example of input and output waveforms of the Schmitt circuit according to the first embodiment of the present invention. [Figure 3] FIG. 4 is a diagram showing another example of input and output waveforms of the Schmitt circuit according to the first embodiment of the present invention. [Figure 4] FIG. 4 is a diagram showing another example of input and output waveforms of the Schmitt circuit according to the first embodiment of the present invention. [Figure 5] FIG. 4 is a diagram showing another example of input and output waveforms of the Schmitt circuit according to the first embodiment of the present invention. [Figure 6] FIG. 10 is a circuit diagram illustrating an example of a Schmitt circuit according to a second embodiment of the present invention. [Figure 7]FIG. 10 is a circuit diagram illustrating an example of a Schmitt circuit according to a third embodiment of the present invention. [Figure 8] FIG. 10 is a diagram illustrating an example of input and output waveforms of the Schmitt circuit according to the third embodiment of the present invention. [Figure 9] FIG. 10 is a diagram showing another example of input and output waveforms of the Schmitt circuit according to the third embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0008] [First embodiment]

[0009] A first embodiment of the present invention will now be described with reference to the drawings. Fig. 1 is a circuit diagram showing an example of a Schmitt circuit 1 according to this embodiment.

[0010] The following describes the configuration of the Schmitt circuit 1 of this embodiment. The Schmitt circuit 1 of this embodiment includes a first signal detection circuit 100, a second signal detection circuit 110, an RS latch circuit 120, a selection signal generation circuit 130, inverters 150 and 151, an input terminal IN, and an output terminal OUT.

[0011] The first signal detection circuit 100 includes a first P-channel MOS transistor (hereinafter referred to as PMOS transistor) 101, a second PMOS transistor 102, a first N-channel MOS transistor (hereinafter referred to as NMOS transistor) 103, a second NMOS transistor 104, an input terminal 105, a selection signal input terminal 106, and an output terminal 107.

[0012] The second signal detection circuit 110 includes a third PMOS transistor 111, a fourth PMOS transistor 112, a third NMOS transistor 113, a fourth NMOS transistor 114, an input terminal 115, a selection signal input terminal 116, and an output terminal 117.

[0013] The RS latch circuit 120 includes a first NOR circuit 121 , a second NOR circuit 122 , a first input terminal 123 , a second input terminal 124 , and an output terminal 125 .

[0014] The selection signal generation circuit 130 includes an input terminal 131, an output terminal 132, and an internal delay circuit 140.

[0015] The connections of the Schmitt circuit of this embodiment will be described. The input terminal IN is connected to the input terminal 105 of the first signal detection circuit 100 and the input terminal 115 of the second signal detection circuit 110. The output terminal 107 of the first signal detection circuit 100 is connected to the first input terminal 123 of the RS latch circuit 120 via an inverter 150. The output terminal 117 of the second signal detection circuit 110 is connected to the second input terminal 124 of the RS latch circuit 120. The output terminal 125 of the RS latch circuit 120 is connected to the input terminal 131 of the selection signal generation circuit 130 and to the output terminal OUT via an inverter 151. The output terminal 132 of the selection signal generation circuit 130 is connected to the selection signal input terminal 106 of the first signal detection circuit 100 and the selection signal input terminal 116 of the second signal detection circuit 110.

[0016] The connections of the first signal detection circuit 100 will be described. The input terminal 105 of the first signal detection circuit 100 is connected to the gate terminal of the second PMOS transistor 102 and the gate terminal of the first NMOS transistor 103. The selection signal input terminal 106 of the first signal detection circuit 100 is connected to the gate terminal of the first PMOS transistor 101 and the gate terminal of the second NMOS transistor 104. The source terminal of the first PMOS transistor 101 and the source terminal of the second PMOS transistor 102 are connected to the VDD terminal. The source terminal of the first NMOS transistor 103 is connected to the drain terminal of the second NMOS transistor 104. The source terminal of the second NMOS transistor 104 is connected to the GND terminal. The drain terminal of the first PMOS transistor 101, the drain terminal of the second PMOS transistor 102, and the drain terminal of the first NMOS transistor 103 are connected to the output terminal 107 of the first signal detection circuit 100.

[0017] The connections of the second signal detection circuit 110 will be described. The input terminal 115 of the second signal detection circuit 110 is connected to the gate terminal of the fourth PMOS transistor 112 and the gate terminal of the fourth NMOS transistor 114. The selection signal input terminal 116 of the second signal detection circuit 110 is connected to the gate terminal of the third PMOS transistor 111 and the gate terminal of the third NMOS transistor 113. The source terminal of the third PMOS transistor 111 is connected to the VDD terminal, and the drain terminal is connected to the source terminal of the fourth PMOS transistor 112. The source terminal of the third NMOS transistor 113 and the source terminal of the fourth NMOS transistor 114 are connected to the GND terminal. The drain terminal of the fourth PMOS transistor 112, the drain terminal of the third NMOS transistor 113, and the drain terminal of the fourth NMOS transistor 114 are connected to the output terminal 117 of the second signal detection circuit 110.

[0018] The connections of the RS latch circuit 120 will be described. A first input terminal of the first NOR circuit 121 is connected to a first input terminal 123 of the RS latch circuit 120, a second input terminal is connected to an output terminal of the second NOR circuit 122, and an output terminal is connected to an output terminal 125 of the RS latch circuit 120 and a first input terminal of the second NOR circuit 122. A second input terminal of the second NOR circuit 122 is connected to a second input terminal 124 of the RS latch circuit 120.

[0019] The operation of the Schmitt circuit 1 of this embodiment will be described with reference to FIGS. 2 to 5. In FIGS. 2 to 5, the horizontal axis represents time and the vertical axis represents voltage. FIG. 2(a) shows an example of a signal VIN input to the input terminal IN. FIG. 2(b) shows a signal SETX at the output terminal 107 of the first signal detection circuit 100, and FIG. 2(c) shows a signal SET obtained by inverting the signal SETX using an inverter 150. FIG. 2(d) shows a signal RST at the output terminal 117 of the second signal detection circuit 110. FIG. 2(e) shows a signal SELECT at the output terminal 132 of the selection signal generation circuit 130. FIG. 2(f) shows a signal DOX at the output terminal 125 of the RS latch circuit 120, and FIG. 2(g) shows a signal VOUT at the output terminal OUT obtained by inverting the signal DOX using an inverter 151. In FIGS. 3 to 5, (a) to (g) also show examples of the same signals.

[0020] 2A, the voltage VIH represents the threshold voltage of the first signal detection circuit 100. The voltage VIL represents the threshold voltage of the second signal detection circuit 110. The voltages VIH and VIL are set such that VIH is greater than VIL. The threshold voltage VIH of the first signal detection circuit 100 is determined by the size ratio between the second PMOS transistor 102 and the first NMOS transistor 103. Similarly, the threshold voltage VIL of the second signal detection circuit 110 is determined by the size ratio between the fourth PMOS transistor 112 and the fourth NMOS transistor 114. When the channel length L of the MOS transistors is the same, the threshold voltage is higher when the channel width W of the PMOS transistor is larger than the channel width W of the NMOS transistor, and is lower when the channel width W of the PMOS transistor is smaller than the channel width W of the NMOS transistor. For example, the voltage VIH can be set to be greater than the voltage VIL by making the channel width W of the second PMOS transistor 102 larger than the channel width W of the first NMOS transistor 103 and making the channel width W of the fourth PMOS transistor 112 smaller than the channel width W of the fourth NMOS transistor 114. Note that this setting example is just an example, and the threshold voltage may also be set by adjusting factors other than the channel width W.

[0021] [Normal operation]

[0022] The operation of the first signal detection circuit 100 will be described with reference to FIGS. 2 and 3. FIG. 2 shows the state in which the signal VIN rises from a low level to a high level. The signal VIN shown in FIG. 2(a) begins to rise at time T0 and exceeds the voltage VIH at time T2. The signal VIN is applied from the input terminal IN to the input terminal 105 of the first signal detection circuit 100. When the signal SELECT input to the selection signal input terminal 106 is at a high level from time T0 to time T7 as shown in FIG. 2(e), and the signal VIN shown in FIG. 2(a) is input to the input terminal 105, the signal SETX output from the output terminal 107 falls from a high level to a low level at time T2 as shown in FIG. 2(b). When the signal SELECT falls to a low level at time T7 after the delay time Delay, the signal SETX rises from a low level to a high level at time T7.

[0023] When the signal SELECT is at a high level, the first signal detection circuit 100 outputs a high-level signal SETX from the output terminal 107 if the signal VIN applied to the input terminal 105 is lower than the voltage VIH, and when the signal VIN is higher than the voltage VIH, the first signal detection circuit 100 outputs a high-level signal SETX from the output terminal 107. When the signal SELECT is at a low level, the first signal detection circuit 100 outputs a high-level signal SETX from the output terminal 107 regardless of the voltage of the signal VIN applied to the input terminal 105.

[0024] 3 shows the state in which signal VIN falls from high to low. Signal VIN shown in FIG. 3(a) begins to fall at time T10 and exceeds voltage VIL at time T12. Signal VIN is applied from input terminal IN to input terminal 105 of first signal detection circuit 100. When signal SELECT input to selection signal input terminal 106 is low from time T10 to time T17 as shown in FIG. 3(e), and signal VIN shown in FIG. 3(a) is input to input terminal 105, signal SETX output from output terminal 107 remains high from time T10 to time T17 as shown in FIG. 3(b). When signal SELECT rises to high at time T17 after the delay time Delay, signal SETX remains high at time T17.

[0025] 2 and 3, the operation of the second signal detection circuit 110 will be described. The signal VIN shown in FIG. 2(a) is applied from the input terminal IN to the input terminal 115 of the second signal detection circuit 110. When the signal SELECT input to the selection signal input terminal 116 is at a high level from time T0 to time T7 as shown in FIG. 2(e) and the signal VIN shown in FIG. 2(a) is input to the input terminal 115, the signal RST output from the output terminal 117 remains at a low level from time T0 to time T7 as shown in FIG. 2(d). When the signal SELECT falls to a low level at time T7 after the delay time Delay, the signal RST remains at a low level at time T7.

[0026] The signal VIN shown in Fig. 3(a) is applied from the input terminal IN to the input terminal 115 of the second signal detection circuit 110. When the signal SELECT input to the selection signal input terminal 116 is at a low level from time T10 to time T17 as shown in Fig. 3(e) and the signal VIN shown in Fig. 3(a) is input to the input terminal 115, the signal RST output from the output terminal 117 rises from a low level to a high level at time T12 as shown in Fig. 3(d). When the signal SELECT rises to a high level at time T17 after the delay time Delay, the signal RST falls from a high level to a low level at time T17.

[0027] When the signal SELECT is at a low level, the second signal detection circuit 110 outputs a low-level signal RST from the output terminal 117 if the signal VIN applied to the input terminal 115 is higher than the voltage VIL, and outputs a high-level signal RST from the output terminal 117 if the signal VIN applied to the input terminal 115 is lower than the voltage VIL. When the signal SELECT is at a high level, the second signal detection circuit 110 outputs a low-level signal RST from the output terminal 117 regardless of the voltage of the signal VIN applied to the input terminal 115.

[0028] The operation of the RS latch circuit 120 will be described with reference to FIGS. 2 and 3. In the RS latch circuit 120, a signal SET, which is obtained by inverting the signal SETX using an inverter 150, is input to a first input terminal 123 of the RS latch circuit 120, a signal RST is input to a second input terminal 124 of the RS latch circuit 120, and a signal DOX is output from an output terminal 125 of the RS latch circuit 120. FIG. 2 shows a state in which the signal VIN rises from a low level to a high level. The signal SET shown in FIG. 2(c) rises from a low level to a high level at time T2 and falls from a high level to a low level at time T7. The signal RST shown in FIG. 2(d) remains low from time T0 to time T7. The signal DOX shown in FIG. 2(f) falls from a high level to a low level at time T2. The signal VOUT at the output terminal OUT shown in FIG. 2(g) rises from a low level to a high level at time T2. Although the RS latch circuit has been described as an example of a latch circuit, the present invention is not limited to the RS latch circuit, and any latch circuit having an equivalent function, such as a JK latch circuit, may be used.

[0029] Figure 3 shows the state in which the signal VIN falls from high to low. The signal RST shown in Figure 3(d) rises from low to high at time T12 and falls from high to low at time T17. The signal SET shown in Figure 3(c) remains low from time T10 to time T17. The signal DOX shown in Figure 3(f) rises from low to high at time T12. The signal VOUT at the output terminal OUT shown in Figure 3(g) falls from high to low at time T12.

[0030] The operation of the selection signal generation circuit 130 will be described with reference to FIGS. 2 and 3. The selection signal generation circuit 130 receives a signal DOX at an input terminal 131 and outputs a signal SELECT from an output terminal 132. The selection signal generation circuit 130 includes an internal delay circuit 140. After the input signal DOX changes, the signal SELECT changes after a delay time Delay imposed by the delay circuit 140. When the signal DOX shown in FIG. 2(f) falls at time T2, the signal SELECT shown in FIG. 2(e) falls at time T7 after the delay time Delay. When the signal DOX shown in FIG. 3(f) rises at time T12, the signal SELECT shown in FIG. 3(e) rises at time T17 after the delay time Delay.

[0031] As long as the selection signal generation circuit 130 is configured to perform the above-described operation, it may be configured by combining logic circuits, by using ASICs, or by using a programmable single-chip microcomputer, etc. The delay time of the internal delay circuit 140 is set to a time longer than the noise in the reflected signal expected from the signal wiring length, etc., and shorter than the pulse width of the input signal.

[0032] In the Schmitt circuit 1 of this embodiment, when the signal VIN input to the input terminal IN shown in Fig. 2(a) rises above voltage VIH, which is higher than voltage VIL, at time T2, the signal VOUT output from the output terminal OUT shown in Fig. 2(g) rises from low to high at time T2. Also, in the Schmitt circuit 1 of this embodiment, when the signal VIN at the input terminal IN shown in Fig. 3(a) falls below voltage VIL, which is lower than voltage VIH, at time T12, the signal VOUT at the output terminal OUT shown in Fig. 3(g) falls from high to low at time T12.

[0033] [Explanation of the behavior when a signal with reflected noise superimposed is input]

[0034] 4 and 5, the operation of the Schmitt circuit 1 of this embodiment when a signal Vin on which reflected noise is superimposed is input to the input terminal IN will be described. FIG. 4(a) shows the state in which the signal Vin on which reflected noise is superimposed rises from low level to high level. The signal Vin shown in FIG. 4(a) has reflected noise superimposed on it, and begins to rise at time T20, rises above voltage Vin at time T22, falls above voltage Vin at time T23, falls above voltage Vin at time T24, rises above voltage Vin at time T25, and rises above voltage Vin at time T26.

[0035] The operation of the first signal detection circuit 100 will be described with reference to FIG. 4. The signal VIN is applied from the input terminal IN to the input terminal 105 of the first signal detection circuit 100. When the signal SELECT input to the selection signal input terminal 106 is at a high level from time T20 to time T27 as shown in FIG. 4(e) and the signal VIN shown in FIG. 4(a) is input to the input terminal 105, the signal SETX output from the output terminal 107 falls from a high level to a low level at time T22, rises from a low level to a high level at time T23, and falls from a high level to a low level at time T26 as shown in FIG. 4(b). When the signal SELECT falls to a low level at time T27 after the delay time Delay, the signal SETX rises from a low level to a high level at time T27.

[0036] The operation of the second signal detection circuit 110 will be described with reference to Figure 4. The signal VIN is applied from the input terminal IN to the input terminal 115 of the second signal detection circuit 110. When the signal SELECT input to the selection signal input terminal 116 is at a high level from time T20 to time T27 as shown in Figure 4(e) and the signal VIN shown in Figure 4(a) is input to the input terminal 115, the signal RST output from the output terminal 117 remains at a low level from time T20 to time T27 as shown in Figure 4(d). When the signal SELECT falls to a low level at time T27 after the delay time Delay, the signal RST remains at a low level at time T27.

[0037] The operation of the RS latch circuit 120 will be described with reference to FIG. 4. The signal SET shown in FIG. 4(c) rises from low to high at time T22, falls from high to low at time T23, rises from low to high at time T26, and falls from high to low at time T27. The signal RST shown in FIG. 4(d) remains low from time T20 to time T27. The signal DOX shown in FIG. 4(f) falls from high to low at time T22. The signal VOUT at the output terminal OUT shown in FIG. 4(g) rises from low to high at time T22. The operation of the selection signal generation circuit 130 will be described with reference to FIG. 4. When the signal DOX shown in FIG. 4(f) falls at time T22, the signal SELECT shown in FIG. 4(e) falls at time T27 after the delay time Delay.

[0038] In the Schmitt circuit 1 of this embodiment, even if a signal VIN shown in FIG. 4(a) that rises above voltage VIH, falls above voltage VIL, and then rises above voltage VIH again is input to the input terminal IN, chattering does not occur in the signal VOUT that is output from the output terminal OUT.

[0039] 5(a) shows a state in which the signal V on which reflected noise is superimposed falls from a high level to a low level. The signal V on which reflected noise is superimposed begins to rise at time T30, falls below voltage VIL at time T32, rises above voltage VIL at time T33, rises above voltage VIH at time T34, falls above voltage VIH at time T35, and falls below voltage VIL at time T36.

[0040] The operation of the first signal detection circuit 100 will be described with reference to Figure 5. The signal VIN shown in Figure 5(a) is applied from the input terminal IN to the input terminal 105 of the first signal detection circuit 100. When the signal SELECT input to the selection signal input terminal 106 is at a low level from time T30 to time T37 as shown in Figure 5(e) and the signal VIN shown in Figure 5(a) is input to the input terminal 105, the signal SETX output from the output terminal 107 remains at a high level from time T30 to time T37 as shown in Figure 5(b). When the signal SELECT falls to a low level at time T37 after the delay time Delay, the signal SETX remains at a high level at time T37.

[0041] The operation of the second signal detection circuit 110 will be described with reference to FIG. 5. The signal VIN is applied from the input terminal IN to the input terminal 115 of the second signal detection circuit 110. When the signal SELECT input to the selection signal input terminal 116 is low from time T30 to time T37 as shown in FIG. 5(e) and the signal VIN shown in FIG. 5(a) is input to the input terminal 115, the signal RST output from the output terminal 117 rises from low to high at time T32, falls from high to low at time T33, and rises from low to high at time T36 as shown in FIG. 5(d). When the signal SELECT falls to low at time T37 after the delay time Delay, the signal RST falls from high to low at time T37.

[0042] The operation of the RS latch circuit 120 will be described with reference to FIG. 5. The signal SET shown in FIG. 5(c) remains low from time T30 to time T37. The signal RST shown in FIG. 5(d) rises from low to high at time T32, falls from high to low at time T33, rises from low to high at time T36, and falls from high to low at time T37. The signal DOX shown in FIG. 5(f) rises from low to high at time T32. The signal VOUT at the output terminal OUT shown in FIG. 5(g) falls from high to low at time T32. The operation of the selection signal generation circuit 130 will be described with reference to FIG. 5. When the signal DOX shown in FIG. 5(f) rises at time T32, the signal SELECT shown in FIG. 5(e) rises at time T37 after the delay time Delay.

[0043] In the Schmitt circuit 1 of this embodiment, even if a signal VIN shown in FIG. 5(a) is input to the input terminal IN, which signal VIN exceeds the voltage VIL, drops, then rises above the voltage VIH, and then drops above the voltage VIL again, chattering does not occur in the signal VOUT output from the output terminal OUT.

[0044] As described above, the Schmitt circuit 1 of this embodiment operates as a Schmitt circuit in which chattering does not occur, whether the signal VIN on which reflected noise is superimposed rises or falls.

[0045] [Second embodiment]

[0046] A second embodiment of the present invention will be described below with reference to the drawings. Fig. 6 is a circuit diagram showing an example of a Schmitt circuit 1a according to this embodiment. The same components as those in the first embodiment are given the same reference numerals, and their description will be omitted.

[0047] The Schmitt circuit 1a of this embodiment includes a first signal detection circuit 100, a second signal detection circuit 110, an RS latch circuit 120, a second selection signal generation circuit 130a, inverters 150, 151, and 152, a fifth NMOS transistor 153, an input terminal IN, an output terminal OUT, and an enable input terminal EN.

[0048] The difference in configuration between the Schmitt circuit 1a of this embodiment and the Schmitt circuit 1 of the first embodiment is that the Schmitt circuit 1a of this embodiment includes an enable input terminal EN, an inverter 152, a fifth NMOS transistor 153, and a second selection signal generation circuit 130a instead of the selection signal generation circuit 130. The second selection signal generation circuit 130a includes an input terminal 131, a third output terminal 133, a fourth output terminal 134, an enable terminal 135, and an internal delay circuit 140.

[0049] The connections of the Schmitt circuit 1a of this embodiment will be described. The enable input terminal EN is connected to the enable terminal 135 of the second selection signal generation circuit 130a and to the gate terminal of the fifth NMOS transistor 153 via the inverter 152. The third output terminal 133 of the second selection signal generation circuit 130a is connected to the selection signal input terminal 106 of the first signal detection circuit 100. The fourth output terminal 134 of the second selection signal generation circuit 130a is connected to the selection signal input terminal 116 of the second signal detection circuit 110. The drain terminal of the fifth NMOS transistor 153 is connected to the output terminal 125 of the RS latch circuit 120 and the input terminal 131 of the second selection signal generation circuit 130a. The source terminal of the fifth NMOS transistor 153 is connected to the GND terminal.

[0050] The operation of the Schmitt circuit 1a of this embodiment will be described.

[0051] [Explanation of operation when enable signal is high level]

[0052] The operation of the Schmitt circuit 1a of this embodiment will be described when a high-level signal is input to the enable input terminal EN. When a high-level signal is input to the enable input terminal EN, a low-level signal is input to the gate terminal of the fifth NMOS transistor 153 via the inverter 152, and a high-level signal is input to the enable terminal 135 of the second select signal generation circuit 130a. The fifth NMOS transistor 153 is turned off. When the signal DOX is input to the input terminal 131 of the second select signal generation circuit 130a, after a delay time Delay set by the delay circuit 140, the second select signal generation circuit 130a outputs a SELECT1 signal from the third output terminal 133 and a SELECT2 signal from the fourth output terminal 134. When the enable signal is high, the SELECT1 and SELECT2 signals are the same as the SELECT signal of the first embodiment. The operation of the Schmitt circuit 1a of this embodiment when the enable signal is high is the same as that of the Schmitt circuit 1 of the first embodiment.

[0053] [Explanation of operation when the enable signal is low level]

[0054] The operation of the Schmitt circuit 1a of this embodiment will be described below when a low-level signal is input to the enable input terminal EN. When a low-level signal is input to the enable input terminal EN, a high-level signal is input to the gate terminal of the fifth NMOS transistor 153 via the inverter 152, and a low-level signal is input to the enable terminal 135 of the second selection signal generation circuit 130a. The fifth NMOS transistor 153 is turned on.

[0055] When a low-level signal is input to the enable terminal 135, the second selection signal generation circuit 130a outputs a low-level signal SELECT1 from the third output terminal 133 and outputs a high-level signal SELECT2 from the fourth output terminal 134. The low-level signal SELECT1 is input to the selection signal input terminal 106 of the first signal detection circuit 100. The first signal detection circuit 100 outputs a high-level signal SETX from the output terminal 107 regardless of the signal input to the input terminal 105. The high-level signal SELECT2 is input to the selection signal input terminal 116 of the second signal detection circuit 110. The second signal detection circuit 110 outputs a low-level signal RST from the output terminal 117 of the second signal detection circuit 110 regardless of the signal input to the input terminal 115.

[0056] In the RS latch circuit 120, a low-level SET signal is input to a first input terminal 123 from the output terminal 107 of the first signal detection circuit 100 via an inverter 150, and a low-level RST signal is input to a second input terminal 124 from the output terminal 117 of the second signal detection circuit 110. The output of the output terminal 125 of the RS latch circuit 120 maintains the voltage level of the immediately preceding output signal. Meanwhile, the output terminal 125 of the RS latch circuit 120 is connected to the GND terminal by a fifth NMOS transistor 153. The output terminal OUT via the inverter 151 outputs a constantly high-level signal VOUT. In this embodiment, the fifth NMOS transistor 153 operates as a switch that connects the output terminal 125 of the RS latch circuit 120 to the GND terminal.

[0057] As long as the second selection signal generation circuit 130a is configured to perform the above-described operation, it may be configured by combining logic circuits, by using ASICs, or by using a programmable one-chip microcomputer, etc. The delay time of the internal delay circuit 140 is set to a time longer than the noise in the reflected signal expected from the signal wiring length, etc., and shorter than the pulse width of the input signal.

[0058] As described above, when a high-level signal is input to the enable input terminal EN, the Schmitt circuit 1a of this embodiment operates in the same manner as the Schmitt circuit 1 of the first embodiment. When a low-level signal is input to the enable input terminal EN, the Schmitt circuit 1a outputs a high-level signal VOUT from the output terminal OUT regardless of the signal at the input terminal IN.

[0059] [Third embodiment]

[0060] Hereinafter, a third embodiment of the present invention will be described with reference to the drawings. Fig. 7 is a block diagram showing an example of a Schmitt circuit 1b according to this embodiment. The same components as those in the first embodiment are given the same reference numerals, and their description will be omitted.

[0061] The configuration of the Schmitt circuit 1b of this embodiment will be described. The Schmitt circuit 1b of this embodiment includes a third signal detection circuit 100a, a fourth signal detection circuit 110a, an RS latch circuit 120, a third selection signal generation circuit 130b, an inverter 151, an input terminal IN, and an output terminal OUT.

[0062] The third signal detection circuit 100a has a fifth signal detection circuit 160, a first AND circuit 163, an input terminal 105a, a selection signal input terminal 106a, and an output terminal 107a. The input terminal 105a is connected to an input terminal 161 of the fifth signal detection circuit 160. The output terminal 162 of the fifth signal detection circuit 160 is connected to a first input terminal of the first AND circuit 163. The selection signal input terminal 106a is connected to a second input terminal of the first AND circuit 163.

[0063] The fourth signal detection circuit 110a has a sixth signal detection circuit 170, a second AND circuit 173, an input terminal 115a, a selection signal input terminal 116a, and an output terminal 107a. The input terminal 115a is connected to an input terminal 171 of the sixth signal detection circuit 170. The output terminal 172 of the sixth signal detection circuit 170 is connected to a first input terminal of the second AND circuit 173. The selection signal input terminal 116a is connected to a second input terminal of the second AND circuit 173. The third selection signal generation circuit 130b has an input terminal 131, a fifth output terminal 136, and a sixth output terminal 137.

[0064] The connections of the Schmitt circuit 1b of this embodiment will be described. The input terminal IN is connected to the input terminal 105a of the third signal detection circuit 100a and the input terminal 115a of the fourth signal detection circuit 110a. The output terminal 107a of the third signal detection circuit 100a is connected to the first input terminal 123 of the RS latch circuit 120. The output terminal 107a of the fourth signal detection circuit 110a is connected to the second input terminal 124 of the RS latch circuit 120. The output terminal of the RS latch circuit 120 is connected to the input terminal 131 of the third selection signal generation circuit 130b and, via an inverter 151, to the output terminal OUT. The fifth output terminal 136 of the third selection signal generation circuit 130b is connected to the selection signal input terminal 106a of the third signal detection circuit 100a. The sixth output terminal 137 of the third selection signal generation circuit 130b is connected to the selection signal input terminal 116a of the fourth signal detection circuit 110a.

[0065] The operation of the Schmitt circuit 1b of this embodiment will be described with reference to FIGS. 8 and 9. FIG. 8(a) shows a state in which the signal VIN, on which reflected noise is superimposed, rises from low to high. The signal VIN shown in FIG. 8(a) has reflected noise superimposed thereon. The signal VIN begins to rise at time T40, rises above voltage VIH at time T42, rises above voltage VIL at time T41, falls above voltage VIH at time T43, falls above voltage VIL at time T44, rises above voltage VIL at time T45, and rises above voltage VIH at time T46. Here, voltage VIH is the threshold voltage of the fifth signal detection circuit, and voltage VIL is the threshold voltage of the sixth signal detection circuit. Voltage VIH and voltage VIL have a relationship of voltage VIH > voltage VIL.

[0066] 8(b), the third signal detection circuit 100a outputs a high-level DET1 signal from the output terminal 107a when the voltage at the input terminal 105a exceeds a voltage VIH, and outputs a low-level DET1 signal from the output terminal 107a when the voltage at the input terminal 105a falls below the voltage VIH. As shown in FIG. 8(c), the fourth signal detection circuit 110a outputs a low-level DET2 signal from the output terminal 117a when the voltage at the input terminal 115a exceeds a voltage VIL, and outputs a high-level DET2 signal from the output terminal 117a when the voltage at the input terminal 115a falls below the voltage VIL.

[0067] When the signal DOX is input to the input terminal 131 of the third selection signal generation circuit 130b, after a delay time Delay caused by the delay circuit 140, the third selection signal generation circuit 130b outputs a signal SELECT3 having the same voltage level as the signal DOX from the fifth output terminal 136 and a signal SELECT4 which is an inverted version of the signal DOX from the sixth output terminal.

[0068] 8(a) is input to the input terminal IN, the third signal detection circuit 100a outputs from the output terminal 107a a signal DET1 that rises to a high level at time T42, falls to a low level at time T43, and rises to a high level at time T46, as shown in FIG. 8(b). The fourth signal detection circuit 110a outputs from the output terminal 117a a signal DET2 that falls to a low level at time T41, rises to a high level at time T44, and falls to a low level at time T45, as shown in FIG. 8(c).

[0069] Assuming that the signal DOX at the output terminal 125 of the RS latch circuit 120 is initialized to a high level, the third selection signal generation circuit 130b outputs a signal SELECT3 at a high level identical to the signal DOX as shown in FIG. 8(d) from its fifth output terminal 136 and a low-level signal SELECT4, an inverted version of the signal DOX as shown in FIG. 8(e), from its sixth output terminal between times T40 and T47. The RS latch circuit 120 receives the signal DET1 from the third signal detection circuit 100a at its first input terminal 123 and a low-level signal from the fourth signal detection circuit 110a at its second input terminal 124. The RS latch circuit 120 outputs a signal DOX that falls at time T42 as shown in FIG. 8(f) from its output terminal 125. After a delay time Delay imposed by the delay circuit 140, the third selection signal generation circuit 130b outputs the signals SELECT3 and SELECT4, which are inverted at time T47. The Schmitt circuit 1b of this embodiment outputs a signal VOUT from the output terminal OUT, which is obtained by inverting the signal DOX by an inverter 151, as shown in FIG. 8(g).

[0070] 9(a) shows a state in which the signal V on which reflected noise is superimposed falls from a high level to a low level. The signal V on which reflected noise is superimposed begins to rise at time T50, falls beyond voltage V1H at time T51, falls beyond voltage V1L at time T52, rises beyond voltage V1L at time T53, rises beyond voltage V1H at time T54, falls beyond voltage V1L at time T55, and falls beyond voltage V1L at time T56.

[0071] 9(a) is input to the input terminal IN, the third signal detection circuit 100a outputs from the output terminal 107a a signal DET1 that falls to a low level at time T51, rises to a high level at time T54, and falls to a low level at time T55, as shown in FIG. 9(b). The fourth signal detection circuit 110a outputs from the output terminal 107a a signal DET2 that rises to a high level at time T52, falls to a low level at time T53, and falls to a high level at time T56, as shown in FIG. 9(c).

[0072] Between time T50 and time T57, the third selection signal generation circuit 130b outputs from its fifth output terminal 136 a low-level signal SELECT3, which is the same as the signal DOX from time T50 to time T52 as shown in FIG. 9(d), and from its sixth output terminal a high-level signal SELECT4, which is the inverse of signal SELECT3 as shown in FIG. 9(e). The RS latch circuit 120 receives a low-level signal from the third signal detection circuit 100a at its first input terminal 123 and a signal DET2 from the fourth signal detection circuit 110a at its second input terminal 124. The RS latch circuit 120 outputs from its output terminal 125 a signal DOX that falls at time T52 as shown in FIG. 9(f). The third selection signal generation circuit 130b outputs signals SELECT3 and SELECT4, which are inverted at time T57, after a delay time Delay imposed by the delay circuit 140. The Schmitt circuit 1b of this embodiment outputs a signal VOUT, which is obtained by inverting the signal DOX by an inverter 151, from the output terminal OUT as shown in FIG. 9(g).

[0073] The Schmitt circuit 1b of this embodiment can also be configured as a Schmitt circuit having an enable input terminal EN, like the Schmitt circuit 1a of the second embodiment.

[0074] As described above, the Schmitt circuit of the present invention can output an output signal without chattering, even if the input terminal of the Schmitt circuit is connected to a signal line with poor impedance matching and an input signal on which reflection noise due to impedance mismatching is superimposed is input. [Explanation of symbols]

[0075] 1, 1a, 1b, Schmitt circuit 100, 100a, 110, 110a, signal detection circuit 120, RS latch circuit 130, 130a, 130b, selection signal generation circuit 140, delay circuit 150, 151, 152, inverter 153. N-channel MOS transistor 163, 164, AND circuit IN, input terminal OUT, output terminal EN, enable terminal

Claims

1. a first signal detection circuit, a second signal detection circuit, a latch circuit, a selection signal generation circuit, a first input terminal, and a first output terminal; the first signal detection circuit has a second input terminal, a first selection signal input terminal, and a second output terminal, the first input terminal being connected to the second input terminal, the first selection signal input terminal being connected to the selection signal generation circuit, and the second output terminal being connected to one input of the latch circuit; the second signal detection circuit has a third input terminal, a second selection signal input terminal, and a third output terminal, the first input terminal is connected to the third input terminal, the second selection signal input terminal is connected to the selection signal generation circuit, and the third output terminal is connected to the other input of the latch circuit; the latch circuit is connected to the selection signal generation circuit and to the first output terminal; The Schmitt circuit, wherein the selection signal generating circuit includes a delay circuit.

2. 2. The Schmitt circuit according to claim 1, wherein the latch circuit is an RS latch circuit.

3. 3. The Schmitt circuit according to claim 1, wherein an absolute value of the detection voltage of the first signal detection circuit is greater than an absolute value of the detection voltage of the second signal detection circuit.

4. a switch connected to the output terminal of the latch circuit and an enable input terminal; the enable input terminal is connected to the selection signal generating circuit and the switch; the selection signal generation circuit causes the first signal detection circuit to output a high level signal and the second signal detection circuit to output a low level signal in response to a signal at the enable input terminal; 4. The Schmitt circuit according to claim 1, wherein the switch is connected between an output terminal of the latch circuit and a GND terminal.