Reset filter circuit and semiconductor device
The reset filter circuit adjusts pulse widths using logic gates and capacitive elements to enhance flexibility in responding to noise resistance and emergency stop scenarios, addressing the inflexibility of fixed pulse widths in existing circuits.
Patent Information
- Application Number
- JP2023051176
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing reset filter circuits in semiconductor integrated circuits have fixed pulse widths for recognizing reset inputs, making them inflexible in responding to varying noise resistance needs or emergency stop scenarios.
A reset filter circuit that generates a reset output signal using logic gates and capacitive elements to delay and combine reset input signals, allowing flexible adjustment of pulse widths through select signals.
Enables flexible adjustment of reset pulse widths to accommodate varying noise resistance and emergency stop requirements, enhancing the circuit's responsiveness.
Smart Images

Figure 2024140158000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to a reset filter circuit and a semiconductor device. [Background technology]
[0002] In semiconductor integrated circuits having a reset function, in order to prevent malfunction of the reset function when an unintended short pulse width such as noise is input, a filter circuit is inserted to delay the timing at which the reset is applied. For example, a power-on reset signal generation circuit that generates a reset signal using a circuit consisting of multiple capacitive elements has been proposed (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2001-77681 Summary of the Invention [Problem to be solved by the invention]
[0004] In a reset filter circuit that delays the time until a reset is applied by using the time it takes for a capacitor to charge, the delay time is fixed by the configuration of the capacitive element, so the pulse width for recognizing the reset input is constant. This has led to the problem that it is not possible to flexibly address situations such as when it is necessary to increase the pulse width for recognizing the reset input for reasons such as the need to increase noise resistance, or when it is necessary to immediately apply a reset in the event of an emergency stop in IGBT control.
[0005] The present invention has been made in view of the above-mentioned problems, and has as its object to provide a reset filter circuit that is capable of flexibly changing the pulse width of an input signal that is recognized as a reset signal. [Means for solving the problem]
[0006] A reset filter circuit according to the present invention is a reset filter circuit that generates a reset output signal based on a reset input signal including a reset pulse that has a logic level 1 or logic level 0 and a predetermined pulse width indicating a reset, the reset filter circuit comprising: a first logic gate that generates a first signal consisting of a logical OR or NOR of a signal obtained by delaying the reset input signal by a first delay time and a first select signal that is fixed at logic level 1 or 0; a second logic gate that generates a second signal consisting of a logical OR or NOR of a signal obtained by delaying the reset input signal by a second delay time that is longer than the first delay time and a second select signal that is fixed at logic level 1 or 0; and a third logic gate that generates a third signal consisting of a logical OR or NOR of the reset input signal, a signal obtained by delaying the reset input signal by a third delay time that is shorter than the first delay time, the first signal, and the second signal; and the reset filter circuit outputs the third signal or a signal obtained by inverting the third signal as the reset output signal.
[0007] A semiconductor device according to the present invention comprises a reset input signal generation circuit that generates a reset input signal including a reset pulse having a predetermined pulse width at logic level 1 or logic level 0 and indicating a reset; a reset filter circuit that generates a reset output signal based on the reset input signal; and an internal circuit including one or more circuit elements that are supplied with the reset output signal and controlled to a reset state, wherein the reset filter circuit comprises a first logic circuit that generates a first signal consisting of a logical sum or a NOR of a signal obtained by delaying the reset input signal by a first delay time and a first select signal fixed to logic level 1 or 0. a second logic gate for generating a second signal consisting of a logical OR or NOR of a signal obtained by delaying the reset input signal by a second delay time longer than the first delay time and a second select signal fixed to a logic level 1 or 0; and a third logic gate for generating a third signal consisting of a logical OR or NOR of the reset input signal, a signal obtained by delaying the reset input signal by a third delay time shorter than the first delay time, the first signal, and the second signal, and the third signal or an inverted signal of the third signal is supplied to the internal circuit as the reset output signal. [Effects of the Invention]
[0008] The reset filter circuit according to the present invention makes it possible to flexibly change the pulse width of the input signal that is recognized as a reset signal. [Brief explanation of the drawings]
[0009] [Figure 1] 1 is a block diagram showing a configuration of a semiconductor device including a reset filter circuit according to the present invention; [Figure 2] FIG. 2 is a circuit diagram showing a configuration of a reset filter circuit. [Figure 3] FIG. 2 is a block diagram showing a circuit section that generates a select signal. [Figure 4] 10 is a time chart showing signal waveforms according to the pulse width of a reset input signal; [Figure 5]10 is a time chart showing signal waveforms according to the pulse width of a reset input signal; [Figure 6] 10 is a time chart showing signal waveforms according to the pulse width of a reset input signal; [Figure 7] FIG. 10 is a circuit diagram showing a configuration of a reset filter circuit of a comparative example. [Figure 8] 10 is a time chart showing signal waveforms according to the pulse width of a reset input signal in a comparative example. DETAILED DESCRIPTION OF THE INVENTION
[0010] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the following description of the embodiments and the accompanying drawings, substantially the same or equivalent parts are designated by the same reference numerals.
[0011] 1 is a circuit diagram showing the configuration of a semiconductor device 100 according to the present invention. The semiconductor device 100 is composed of a semiconductor integrated circuit. The semiconductor device 100 includes a reset input signal generating circuit 11, a reset filter circuit 12, and an internal circuit 13.
[0012] The reset input signal generating circuit 11 is a circuit that generates a reset input signal RIS. The reset input signal generating circuit 11 receives a constant power supply voltage from, for example, a regulator circuit (not shown in FIG. 1) that generates a constant power supply voltage having a constant voltage value based on a power supply voltage, and generates the reset input signal RIS based on this.
[0013] The reset filter circuit 12 receives a reset input signal RIS and delays it to generate a reset output signal ROS. The reset filter circuit 12 supplies the generated reset output signal ROS to the internal circuit 13.
[0014] The internal circuit 13 is a circuit that performs the main function of the semiconductor device 100. Upon receiving the reset output signal ROS from the reset filter circuit 12, circuit elements (not shown in FIG. 1) included in the internal circuit 13 are controlled to a reset state.
[0015] The reset input signal RIS is a signal that changes between an "L" level (logic level 0) and an "H" level (logic level 1), and is a signal that includes a reset pulse with a predetermined pulse width that indicates a reset. In this embodiment, the reset pulse of the reset input signal RIS is at an "L" level and has the predetermined pulse width.
[0016] The reset output signal ROS is a signal generated by delaying the reset input signal RIS and performing a logical operation using a logic gate. In this embodiment, the reset output signal ROS includes a reset pulse that indicates a reset at an "L" level. Therefore, the circuit elements included in the internal circuit 13 are reset when supplied with the "L" level reset pulse included in the reset output signal ROS.
[0017] 2 is a circuit diagram showing the configuration of the reset filter circuit 12. The reset filter circuit 12 includes transistors PM1 to PM6, inverters IV1 to IV6, and NOR gates NR1 to NR3.
[0018] The transistors PM1 to PM6 are capacitance elements provided to generate a delay time for the reset pulse. Each of the transistors PM1 to PM6 is configured by a P-channel metal-oxide-semiconductor field effect transistor (MOSFET). The transistors PM1 to PM6 have the same size (gate length, gate width).
[0019] The transistors PM1 and PM2 are connected to a node nA between the inverters IV1 and IV2, forming a first capacitance pair. The source and drain of each of the transistors PM1 and PM2 are grounded and connected to each other. The gates of the transistors PM1 and PM2 are connected to each other and to the node nA. By passing through the node nA to which the first capacitance pair is connected, the reset input signal RIS is delayed by a time corresponding to the capacitance of the first capacitance pair.
[0020] Transistors PM3 and PM4 are connected to node nB, which is a node between inverters IV2 and IV3, and form a second capacitive element pair. The sources and drains of transistors PM3 and PM4 are grounded and connected to each other. The gates of transistors PM3 and PM4 are connected to each other and to node nB. By passing through node nB to which the second capacitive element pair is connected, the reset input signal RIS is delayed by a time corresponding to the capacitance of the second capacitive element pair. In reality, node nB is continuous with node nA, and a signal passing through node nB also passes through node nA. Therefore, by passing through nodes nA and nB, the reset input signal RIS is delayed by a delay time corresponding to the sum of the delay time corresponding to the capacitance of the first capacitive element pair and the delay time corresponding to the capacitance of the second capacitive element pair.
[0021] Transistors PM5 and PM6 are connected to node nC, which is a node between inverter IV3 and NOR gate NR1, to form a third capacitive pair. The sources and drains of transistors PM5 and PM6 are grounded and connected to each other. The gates of transistors PM5 and PM6 are connected to each other and to node nC. By passing through node nB, to which the third capacitive pair is connected, the reset input signal RIS is delayed by a time corresponding to the capacitance of the third capacitive pair. In reality, node nC is continuous with nodes nB and nA, and a signal passing through node nC also passes through nodes nA and nB. Therefore, by passing through nodes nA, nB, and nC, the reset input signal RIS is delayed by a delay time corresponding to the sum of the delay times corresponding to the capacitances of the first capacitive pair, the second capacitive pair, and the third capacitive pair.
[0022] As described above, the transistors PM1 to PM6 are transistors having the same size, and the capacitances of the first, second, and third capacitive element pairs are also equal. Therefore, the delay time caused by each capacitive element pair is also equal. Therefore, a signal passing through node nA is delayed by the delay time of one capacitive element pair. Furthermore, a signal passing through node nA and node nB in succession is delayed by the delay time of two capacitive element pairs. Similarly, a signal passing through node nA, node nB, and node nC in succession is delayed by the delay time of three capacitive element pairs.
[0023] The inverter IV1 receives a reset input signal RIS at its input terminal and outputs an inverted signal from its output terminal The output terminal of the inverter IV1 is connected to the input terminal of the inverter IV2 via a node nA.
[0024] The inverter IV2 receives the output signal of the inverter IV1 at its input terminal, inverts the received signal, and outputs the inverted signal from its output terminal. The output terminal of the inverter IV2 is connected to the input terminal of the inverter IV3 via a node nB.
[0025] The inverter IV3 receives the output signal of the inverter IV2 at its input terminal and outputs an inverted signal from its output terminal. The output terminal of the inverter IV3 is connected to one of the pair of input terminals (hereinafter referred to as the first input terminal) of the NOR gate NR2 via a node nC.
[0026] The inverter IV4 has an input terminal connected to the node nB, receives the output signal of the inverter IV2, and outputs an inverted signal from its output terminal, which is connected to one (first input terminal) of the pair of input terminals of the NOR gate NR1 via the node nD.
[0027] The input terminal of inverter IV5 is connected to node nA, receives the output signal of inverter IV1, inverts it, and outputs it from its output terminal. The output terminal of inverter IV5 is connected to one of the four input terminals of NOR gate NR3 via node n1.
[0028] The input terminal of the inverter IV6 is connected to the output terminal of the NOR gate NR3. The inverter IV6 receives the output signal of the NOR gate NR3, inverts it, and outputs the inverted signal as a reset output signal ROS. The reset output signal ROS is supplied to the internal circuit 13.
[0029] The NOR gate NR1 is a two-input NOR logic gate circuit. The first input terminal of the NOR gate NR1 is supplied with the output signal of the inverter IV4. That is, the signal supplied to the first input terminal of the NOR gate NR1 is a signal obtained by delaying the reset input signal RIS by a first delay time (the delay time of two pairs of capacitance elements) via nodes nA and nB and then inverting it.
[0030] A first select signal SEL1 is supplied to a second input terminal of the NOR gate NR1, and the NOR gate NR1 outputs an output signal consisting of a NOR of the output signal of the inverter IV4 and the first select signal SEL1 to a node n3.
[0031] The NOR gate NR2 is a two-input NOR logic gate circuit. The output signal of the inverter IV3 is supplied to a first input terminal of the NOR gate NR2 via a node nC. That is, the signal supplied to the first input terminal of the NOR gate NR2 is a signal obtained by delaying the reset input signal RIS by a second delay time (the delay time of three pairs of capacitance elements) via nodes nA, nB, and nC and then inverting the signal.
[0032] A second select signal SEL2 is supplied to a second input terminal of the NOR gate NR2, and the NOR gate NR2 outputs an output signal consisting of a NOR of the output signal of the inverter IV3 and the second select signal SEL2 to a node n2.
[0033] The NOR gate NR3 is a four-input NOR logic gate circuit. The reset input signal RIS, the output signal of inverter IV5, the output signal of NOR gate NR1, and the output signal of NOR gate NR2 are input to the four input terminals of the NOR gate NR3, respectively. The NOR gate NR3 outputs a signal that is the NOR of these signals.
[0034] The output signal of inverter IV5 input to one of the input terminals of NOR gate NR3 is a signal obtained by delaying and inverting the reset input signal RIS by a third delay time (the delay time of one pair of capacitance elements) via node nA.
[0035] 3 is a block diagram showing an example of a circuit unit that generates the first select signal SEL1 and the second select signal SEL2. The CPU 14, the flash ROM 15, and the register 16 are provided inside the semiconductor device 100.
[0036] The CPU 14 receives an external interrupt signal EIS during debugging of the semiconductor device 100, and in response thereto rewrites (erases and writes) the flash ROM 15. The flash ROM 15 is connected to a register 16, and in response to rewriting of the flash ROM 15 by the CPU 14, the register value stored in the register 16 is changed.
[0037] Register values indicating the signal levels of the first select signal SEL1 and the second select signal SEL2 are stored in the register 16. The first select signal SEL1 and the second select signal SEL2 are binary signals that take on either an "L" level (logic level 0) or an "H" level (logic level 1).
[0038] With this configuration, the signal levels of the first select signal SEL1 and the second select signal SEL2 are changed based on the external interrupt signal EIS.
[0039] Next, a description will be given of the operation of the reset filter circuit 12. Figures 4 to 6 are time charts showing the potentials of each node and the signal waveform of the reset output signal ROS in response to changes in the pulse width of the reset input signal RIS.
[0040] FIG. 4 is a time chart showing the potentials of the nodes n1 to n3 and the signal waveform of the reset output signal ROS according to the pulse width of the reset input signal RIS when the first select signal SEL1 is at the “L” level and the second select signal SEL2 is at the “L” level.
[0041] Although reset pulses of the reset input signal RIS are shown here with different pulse widths W1 to W4, the pulse width does not actually change over time in this way, but these are shown together to show that the timing at which the signal level of the reset output signal ROS changes varies depending on the pulse width of the reset input signal RIS, and this is the same for Figures 5 and 6.
[0042] When the first select signal SEL1 and the second select signal SEL2 are both at the "L" level, the NOR gates NR1 and NR2 each have the same function as an inverter.
[0043] When the pulse width of the reset input signal RIS (i.e., the width of the "L" level period) is width W1, which is approximately the same as the delay time corresponding to each of the first to third capacitance element pairs (i.e., the delay time for one capacitance element pair), the potential of node n1 changes to "L" level at the timing when the reset input signal RIS changes to "H" level and remains at "L" level for the duration of width W1. The potential of node n2 changes to "L" level at the timing when the potential of node n1 changes to "H" level and remains at "L" level for the duration of width W1. The potential of node n3 changes to "L" level at the timing when the potential of node n2 changes to "H" level and remains at "L" level for the duration of width W1.
[0044] Thus, when the pulse width of the reset input signal RIS is W1, there is no period during which the reset input signal RIS, node n1, node n2, and node n3 are all simultaneously at the "L" level. The reset output signal ROS is a signal obtained by inverting a signal consisting of these NANDs using an inverter IV6, so the signal level of the reset output signal ROS is fixed to the "H" level. Therefore, when the pulse width of the reset input signal RIS is W1, the "L" level reset pulse of the reset output signal ROS is not output.
[0045] Next, when the pulse width of the reset input signal RIS is width W2, which is approximately twice as long as width W1 (a time width equivalent to the delay time corresponding to two capacitance element pairs), the potential of node n1 changes to "L" level near the middle of the period during which the reset input signal RIS is "L" level, and remains at "L" level for the duration of width W2. The potential of node n2 changes to "L" level near the middle of the period during which the potential of node n1 is "L" level, and remains at "L" level for the duration of width W2. The potential of node n3 changes to "L" level near the middle of the period during which the potential of node n2 is "L" level, and remains at "L" level for the duration of width W2.
[0046] When the pulse width of the reset input signal RIS is W2, just as when the pulse width is W1, there is no period during which the reset input signal RIS, node n1, node n2, and node n3 are all simultaneously at the "L" level. Therefore, the signal level of the reset output signal ROS is fixed at the "H" level. Therefore, a "L" level reset pulse is not output.
[0047] Furthermore, when the pulse width of the reset input signal RIS is a width W3 that is approximately three times as long as the width W1 (a time width equivalent to the delay time corresponding to three capacitance element pairs), the potential of the node n1 changes to the "L" level at a timing when a period of approximately one-third of the width W3 has elapsed after the reset input signal RIS has changed to the "L" level, and remains at the "L" level for the duration of the width W3. The potential of the node n2 changes to the "L" level at a timing when a period of approximately one-third of the width W3 has elapsed after the potential of the node n1 has changed to the "L" level, and remains at the "L" level for the duration of the width W3. The potential of the node n3 changes to the "L" level at a timing when a period of approximately one-third of the width W3 has elapsed after the potential of the node n2 has changed to the "L" level, and remains at the "L" level for the duration of the width W3.
[0048] When the pulse width of the reset input signal RIS is W3, just as when the pulse width is W2, there is no period during which the reset input signal RIS, node n1, node n2, and node n3 are all at the "L" level simultaneously. Therefore, the signal level of the reset output signal ROS is fixed at the "H" level, and no "L" level reset pulse is output.
[0049] On the other hand, if the pulse width of the reset input signal RIS is width W4, which is approximately four times longer than width W1 (a time width equivalent to the delay time corresponding to four capacitance element pairs), the potential of node n1 changes to “L” level approximately one-fourth of the width W4 after the reset input signal RIS changes to “L” level, and remains at “L” level for the duration of width W4. The potential of node n2 changes to “L” level approximately one-fourth of the width W4 after the potential of node n1 changes to “L” level, and remains at “L” level for the duration of width W4. The potential of node n3 changes to “L” level approximately one-fourth of the width W4 after the potential of node n2 changes to “L” level, and remains at “L” level for the duration of width W4.
[0050] When the pulse width of the reset input signal RIS is W4, unlike when the pulse widths are W1 to W3, there is a period during which the reset input signal RIS, node n1, node n2, and node n3 are all simultaneously at the "L" level. Specifically, during approximately the last quarter of the period during which the reset input signal RIS is "L" and approximately the first quarter of the period during which the potential of node n3 is "L," the reset input signal RIS, node n1, node n2, and node n3 are all simultaneously at the "L" level. Therefore, the signal level of the reset output signal ROS is at the "L" level for a period of length equivalent to the pulse width W1. In other words, when the pulse width of the reset input signal RIS is W4, a reset pulse of the "L" level is output as the reset output signal ROS.
[0051] In this way, when the first select signal SEL1 is at the "L" level and the second select signal SEL2 is at the "L" level, the reset pulse of the reset output signal ROS is not output when the pulse width of the reset input signal RIS is W1 to W3, but is output when the pulse width of the reset input signal RIS is W4.
[0052] FIG. 5 is a time chart showing the potentials of the nodes n1 to n3 and the signal waveform of the reset output signal ROS according to the pulse width of the reset input signal RIS when the first select signal SEL1 is at the “L” level and the second select signal SEL2 is at the “H” level.
[0053] When the second select signal SEL2 is at "H" level, the second input of the NOR gate NR3 is always at "H" level, so the potential of the node n3 is fixed at "L" level.
[0054] When the pulse width of the reset input signal RIS is width W1, the potential of node n1 changes to "L" level when the reset input signal RIS changes to "H" level, and remains at "L" level for the duration of width W1. The potential of node n2 changes to "L" level when the potential of node n1 changes to "H" level, and remains at "L" level for the duration of width W1. Since there is no period during which the reset input signal RIS, node n1, node n2, and node n3 are all simultaneously at "L" level, the signal level of the reset output signal ROS is fixed at "H" level. In other words, when the pulse width of the reset input signal RIS is width W1, the reset pulse of the reset output signal ROS is not output at "L" level.
[0055] Furthermore, when the pulse width of the reset input signal RIS is width W2, the potential of node n1 changes to "L" level near the middle of the period during which the reset input signal RIS is "L" level, and remains at "L" level for the period of width W2. The potential of node n2 changes to "L" level near the middle of the period during which the potential of node n1 is "L" level, and remains at "L" level for the period of width W2. Since there is no period during which the reset input signal RIS, node n1, node n2, and node n3 are all simultaneously at "L" level, the signal level of the reset output signal ROS is fixed at "H" level. In other words, when the pulse width of the reset input signal RIS is width W2, the "L" level reset pulse of the reset output signal ROS is not output.
[0056] On the other hand, if the pulse width of the reset input signal RIS is width W3, the potential of node n1 changes to "L" level approximately one-third of the width W3 after the reset input signal RIS changes to "L" level, and remains at "L" level for the duration of width W3. The potential of node n2 changes to "L" level approximately one-third of the width W3 after the potential of node n1 changes to "L" level, and remains at "L" level for the duration of width W3. The potential of node n3 is fixed at "L" level. Therefore, during the period from when the potential of node n2 changes to "L" level until the reset input signal RIS changes to "H" level, the reset input signal RIS, node n1, node n2, and node n3 all simultaneously go to "L" level. Therefore, during this period, a "L" level reset pulse is output from the reset output signal ROS.
[0057] Furthermore, when the pulse width of the reset input signal RIS is W4, the reset input signal RIS, node n1, node n2, and node n3 are all simultaneously at the "L" level during the period from when the potential of node n2 changes to the "L" level until the reset input signal RIS changes to the "H" level. Therefore, during this period, a "L" level reset pulse is output as the reset output signal ROS.
[0058] In this way, when the first select signal SEL1 is at the "L" level and the second select signal SEL2 is at the "H" level, the reset pulse of the reset output signal ROS is not output when the pulse width of the reset input signal RIS is W1 or W2, but is output when the pulse width of the reset input signal RIS is W3 or W4.
[0059] FIG. 6 is a time chart showing the potentials of nodes n1 to n3 and the signal waveform of the reset output signal ROS according to the pulse width of the reset input signal RIS when the first select signal SEL1 is at the “H” level and the second select signal SEL2 is at the “H” level.
[0060] When the first select signal SEL1 is at "H" level, the second input of the NOR gate NR2 is always at "H" level, so the potential of the node n2 is fixed at "L" level. Also, when the second select signal SEL2 is at "H" level, the second input of the NOR gate NR3 is always at "H" level, so the potential of the node n3 is fixed at "L" level.
[0061] When the pulse width of the reset input signal RIS is width W1, the potential of node n1 changes to "L" level when the reset input signal RIS changes to "H" level, and remains at "L" level for the duration of width W1. The potentials of nodes n2 and n1 are both "L" level, but because the "L" level periods of the reset input signal RIS and node n1 do not overlap, there is no period during which the reset input signal RIS, node n1, node n2, and node n3 are all simultaneously at "L" level. Therefore, the signal level of the reset output signal ROS is fixed at "H" level. In other words, when the pulse width of the reset input signal RIS is width W1, the "L" level reset pulse of the reset output signal ROS is not output.
[0062] On the other hand, when the pulse width of the reset input signal RIS is width W2, the potentials of the reset input signal RIS and node n1 are both at "L" level during the period from when the potential of node n1 changes to "L" level until the reset input signal RIS changes to "H" level. Because the potentials of nodes n2 and n3 are fixed at "L" level, the reset input signal RIS, node n1, node n2, and node n3 all simultaneously go to "L" level during that period. Therefore, a "L" level reset pulse is output as the reset output signal ROS.
[0063] Similarly, when the pulse width of the reset input signal RIS is width W3 and width W4, the potentials of the reset input signal RIS and node n1 are both low during the period from when the potential of node n1 changes to low until the reset input signal RIS changes to high. Because the potentials of nodes n2 and n3 are fixed at low, the reset input signal RIS, node n1, node n2, and node n3 all simultaneously go low during this period. Therefore, a low-level reset output pulse of the reset output signal ROS is output.
[0064] As described above, when the signal levels of the first select signal SEL1 and the second select signal SEL2 are both "L," a reset input signal RIS with a pulse width of W4 is required to output a "L" level reset pulse of the reset output signal ROS. Furthermore, when the first select signal SEL1 is "L" and the second select signal SEL2 is "H," a reset input signal RIS with a pulse width of W3 or W4 is required to output a "L" level reset pulse of the reset output signal ROS. Furthermore, when the signal levels of the first select signal SEL1 and the second select signal SEL2 are both "H," a reset input signal RIS with a pulse width of W2, W3, or W4 is required.
[0065] In this way, according to the reset filter circuit 12 of this embodiment, by changing the signal levels of the first select signal SEL1 and the second select signal SEL2, it is possible to change the pulse width of the reset input signal RIS required to output an "L" level reset pulse of the reset output signal ROS.
[0066] FIG. 7 is a circuit diagram showing the configuration of a reset filter circuit 22 of a comparative example, which, unlike the reset filter circuit 12 of this embodiment, does not have a configuration for making the pulse width of the reset input signal RIS, which is necessary to output an “L” level reset pulse of the reset output signal ROS, variable.
[0067] In the comparative example, a node nC, which connects the output terminal of the inverter IV3 and the gates of the transistors PM5 and PM6, is connected to the input terminal of an inverter IV7. The inverter IV7 supplies a signal, which is an inverted version of the potential at node nC, to a first input terminal of a NOR gate NR4 via a node n0. A reset input signal RIS is input to a second input terminal of the NOR gate NR4.
[0068] The NOR gate NR4 outputs a signal consisting of the logical sum of the reset input signal RIS and the output signal of the inverter IV7. The output signal of the NOR gate NR4 is inverted by the inverter IV6 and output as the reset output signal ROS.
[0069] FIG. 8 is a time chart showing the potential of the node n0 and the signal waveform of the reset output signal ROS according to the pulse width of the reset input signal RIS in the reset filter circuit 22 of the comparative example.
[0070] When the pulse width of the reset input signal RIS is width WX, there is no period during which the signal level of the reset input signal RIS and the potential of node n0 are both at "L" level, and the signal level of the reset output signal ROS is at "H" level. In other words, a reset pulse of "L" level is not output from the reset output signal ROS. On the other hand, when the pulse width of the reset input signal RIS is width WY, which is larger than width WX, the signal level of the reset input signal RIS and the potential of node n0 are both at "L" level during the period from when the signal level of node n0 changes to "L" level until the signal level of the reset input signal RIS changes to "H" level. Therefore, a reset pulse of "L" level is output from the reset output signal ROS during that period.
[0071] In the reset filter circuit 22 of the comparative example, the pulse width of the reset input signal RIS required to output an "L" level reset pulse of the reset output signal ROS is fixed. Therefore, it is not possible to accommodate cases where it is necessary to increase the pulse width for recognizing the reset input (i.e., the pulse width of the reset input signal RIS required to output the reset pulse of the reset output signal ROS) for reasons such as the need to increase noise resistance. Furthermore, it is not possible to accommodate cases where it is necessary to shorten the pulse width for recognizing the reset input for reasons such as the need to immediately apply a reset in the event of an emergency stop in IGBT control.
[0072] In contrast to this, as described above, in the reset filter circuit 12 of this embodiment, the pulse width for recognizing the reset input can be changed by changing the signal levels of the first select signal SEL1 and the second select signal SEL2.
[0073] Therefore, the reset filter circuit 12 of this embodiment makes it possible to flexibly change the pulse width of the input signal that is recognized as a reset signal.
[0074] The present invention is not limited to the above-described embodiment. For example, in the above-described embodiment, the delay circuit in the reset filter circuit 12 is configured using a capacitance element made of a PMOS transistor. However, the configuration of the delay circuit is not limited to this, and it may be configured using a counter or the like in a digital circuit.
[0075] In addition, in the above embodiment, an example has been described in which the reset filter circuit 12 operates upon receiving the reset input signal RIS, but this is not limited to this, and the reset filter circuit 12 may also receive a different input signal and generate an output signal corresponding to that input signal.
[0076] In the above embodiment, the reset filter circuit 12 includes two-input NOR gates NR1 and NR2 and a four-input NOR gate NR3. However, the logic gates that make up the reset filter circuit are not limited to these. For example, OR gates (logical sum gates) may be used instead of the NOR gates.
[0077] In the above embodiment, the reset input signal RIS and the reset output signal ROS include a reset pulse at a low level. However, the reset input signal RIS and the reset output signal ROS may include a reset pulse at a high level. [Explanation of symbols]
[0078] 100 Semiconductor device 11 Reset input signal generation circuit 12 Reset filter circuit 13 Internal circuit 14 CPU 15 Flash ROM 16 registers
Claims
1. A reset filter circuit for generating a reset output signal based on a reset input signal including a reset pulse having a logic level 1 or logic level 0 and a predetermined pulse width indicating a reset, comprising: a first logic gate for generating a first signal consisting of a logical sum or a negative logical sum of a signal obtained by delaying the reset input signal by a first delay time and a first select signal fixed to a logic level of 1 or 0; a second logic gate that generates a second signal consisting of a logical sum or a negative logical sum of a signal obtained by delaying the reset input signal by a second delay time longer than the first delay time and a second select signal fixed to a logic level of 1 or 0; a third logic gate that generates a third signal consisting of a logical sum or a negative logical sum of the reset input signal, a signal obtained by delaying the reset input signal by a third delay time shorter than the first delay time, the first signal, and the second signal; and outputting the third signal or a signal obtained by inverting the third signal as the reset output signal.
2. the reset input signal includes a reset pulse having a logic level 0 and the predetermined pulse width; the first logic gate is a first NOR gate that outputs, as the first signal, a signal that is a NOR of a signal that is obtained by delaying and inverting the reset input signal by the first delay time and the first select signal; the second logic gate is a second NOR gate that outputs, as the second signal, a signal obtained by delaying and inverting the reset input signal by the second delay time and a NOR of the second select signal, 2. The reset filter circuit according to claim 1, wherein the third logic gate is a third NOR gate that outputs, as the third signal, a signal consisting of a NOR of the reset signal, a signal obtained by delaying the reset signal by the third delay time, the first signal, and the second signal.
3. the first delay time is approximately twice as long as the third delay time; 3. The reset filter circuit according to claim 2, wherein the second delay time is approximately three times as long as the third delay time.
4. the third logic gate has a first input terminal for receiving an input of the reset input signal, a second input terminal for receiving an input of a signal obtained by delaying the reset input signal by the predetermined delay time, a third input terminal for receiving an input of the first signal, and a fourth input terminal for receiving an input of the second signal; the second input terminal is connected to a first node to which a first capacitive element portion having a capacitance corresponding to the third delay time is connected; the third input end is connected to a second node, the second node being a node connected to a second capacitive element portion having a capacitance corresponding to the third delay time and continuous with the first node; 4. The reset filter circuit according to claim 3, wherein the fourth input terminal is connected to a third node, the third node being a node connected to a third capacitive element portion having a capacitance corresponding to the third delay time and continuous with the first node and the second node.
5. 5. The reset filter circuit according to claim 4, wherein each of the first capacitive element section, the second capacitive element section and the third capacitive element section is composed of a pair of P-channel MOS transistors whose sources and drains are connected to each other and to a predetermined potential.
6. 6. The reset filter circuit according to claim 1, wherein the signal levels of the first select signal and the second select signal are configured to be changeable in response to a setting input from outside the reset filter circuit.
7. a reset input signal generating circuit for generating a reset input signal including a reset pulse having a logic level 1 or logic level 0 and a predetermined pulse width indicating a reset; a reset filter circuit for generating a reset output signal based on the reset input signal; an internal circuit including one or more circuit elements that are controlled to a reset state in response to the supply of the reset output signal; having The reset filter circuit includes: a first logic gate for generating a first signal consisting of a logical sum or a negative logical sum of a signal obtained by delaying the reset input signal by a first delay time and a first select signal fixed to a logic level of 1 or 0; a second logic gate that generates a second signal consisting of a logical sum or a negative logical sum of a signal obtained by delaying the reset input signal by a second delay time longer than the first delay time and a second select signal fixed to a logic level of 1 or 0; a third logic gate that generates a third signal consisting of a logical sum or a negative logical sum of the reset input signal, a signal obtained by delaying the reset input signal by a third delay time shorter than the first delay time, the first signal, and the second signal; and supplying the third signal or an inverted signal of the third signal to the internal circuit as the reset output signal.
Citation Information
Patent Citations
Power on reset signal preparing circuit
JP2001077681A
