Deburring circuits and electronics
By using the first and second burr removal parts in the burr removal circuit to respectively process the burr noise in the power supply normal signal and the power-on reset signal, and initializing the clock signal, the problem of burr noise affecting the normal operation of the circuit in the prior art is solved. , achieving accurate signal removal and stable initialization of the circuit.
Patent Information
- Application Number
- CN202010120708.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-02-28
- Filing Date
- 2020-02-26
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-02-26
AI Technical Summary
The existing burr removal circuit cannot work properly due to the burr noise contained in the power-on reset signal during initialization, resulting in the inability to effectively remove the burr noise in the power supply normal signal and the power-on reset signal.
A burr removal circuit is designed. The first burr removal part and the second burr removal part remove the burr noise in the power supply normal signal and the power-on reset signal according to the first clock signal and the second clock signal respectively, and pass the respective output The signal is initialized to ensure that the circuit can still work normally even if it contains glitch noise.
The function of removing burr noise from the power supply normal signal and power-on reset signal is realized, ensuring that the digital circuit can accurately output the removed signal during initialization to avoid erroneous initialization.
Smart Images

Figure CN111628754B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a burr removal circuit and an electronic device. Background Art
[0002] In electrical circuits, pulse noise that is narrower than the normal pulse width is called a glitch. In logic circuits, when two input signals change at close times, a glitch may occur in the output. This phenomenon is caused by the signal delay time of the two signals and is called racing.
[0003] In addition, in integrated circuits, when multiple output terminals change in the same direction at the same time, glitches may occur at adjacent terminals, which is called simultaneous switching noise. As another example, when there are two parallel signals, glitches may occur at the other terminal when one of them changes, which is called crosstalk. In addition, glitches may also occur due to various reasons such as electrostatic discharge and radiated electromagnetic fields.
[0004] These glitches have an adverse effect on the logic circuits of the next stage and the next stage thereafter. Therefore, a glitch removal circuit has been proposed, which has a plurality of flip-flops (elements for holding information) and confirms the value of the original signal corresponding to a plurality of clock cycles to remove the glitch noise (for example, refer to Patent Document 1).
[0005] Prior art literature
[0006] Patent Literature
[0007] Patent Document 1: Japanese Patent Application Publication No. 2009-225153 Summary of the invention
[0008] Problem that the invention aims to solve
[0009] Generally speaking, a digital circuit structure using a component such as a flip-flop for retaining information is initialized at startup. Specifically, a digital circuit is usually initialized by a power-on reset signal output when the power supply voltage is stable. However, if the power-on reset signal used to initialize a glitch removal circuit using a flip-flop contains glitch noise, the glitch removal circuit may not work properly. Therefore, a technology capable of removing glitch noise contained in the power-on reset signal is desired.
[0010] Solutions for solving problems
[0011] A glitch removal circuit according to an embodiment of the present disclosure is used to remove glitch noise contained in a power-good signal and a power-on reset signal, and comprises: a first glitch removal unit, which operates according to a first clock signal to remove glitch noise from the power-good signal; and a second glitch removal circuit, which operates according to a second clock signal to remove glitch noise from the power-on reset signal, wherein the first glitch removal unit is configured to be initialized by an output signal of the second glitch removal unit, and the second glitch removal unit is configured to be initialized by an output signal of the first glitch removal unit.
[0012] Effects of the Invention
[0013] A glitch removal circuit according to an embodiment of the present disclosure can remove glitch noise included in a power-on reset signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 : is a circuit diagram showing a burr removal circuit according to the first embodiment of the present disclosure.
[0015] Figure 2 : is a circuit diagram showing a burr removal circuit according to a second embodiment of the present disclosure.
[0016] Figure 3A is Figure 2 The burr removal circuit is attached with a circuit diagram showing the signal levels of each part during normal operation.
[0017] Figure 3B It is shown Figure 3A Circuit diagram of the signal levels afterwards.
[0018] Figure 3C It is shown Figure 3B Circuit diagram of the signal levels afterwards.
[0019] Figure 3D It is shown Figure 3C Circuit diagram of the signal levels afterwards.
[0020] Figure 3E It is shown Figure 3D Circuit diagram of the signal levels afterwards.
[0021] Figure 3F It is shown Figure 3E Circuit diagram of the signal levels afterwards.
[0022] Figure 3G It is shown Figure 3F Circuit diagram of the signal levels afterwards.
[0023] Figure 3H It is shown Figure 3GCircuit diagram of the signal levels afterwards.
[0024] Figure 4 It is shown Figure 2 A timing diagram showing the temporal variation of a signal during normal operation of the glitch removal circuit.
[0025] Figure 5A is Figure 2 A circuit diagram of the signal levels of each part when the first clock signal stops is attached to the glitch removal circuit.
[0026] Figure 5B It is shown Figure 5A Circuit diagram of the signal levels afterwards.
[0027] Figure 5C It is shown Figure 5B Circuit diagram of the signal levels afterwards.
[0028] Figure 5D It is shown Figure 5C Circuit diagram of the signal levels afterwards.
[0029] Figure 5E It is shown Figure 5D Circuit diagram of the signal levels afterwards.
[0030] Fig. 5F It is shown Figure 5E Circuit diagram of the signal levels afterwards.
[0031] Figure 5G It is shown Fig. 5F Circuit diagram of the signal levels afterwards.
[0032] Figure 5H It is shown Figure 5G Circuit diagram of the signal levels afterwards.
[0033] Figure 6 It is shown Figure 2 A timing diagram showing the time-dependent change of the glitch removal circuit when the first clock signal is stopped.
[0034] Fig. 7A is Figure 2 A circuit diagram of the signal levels of each part when the second clock signal is stopped is attached to the glitch removal circuit.
[0035] Figure 7B It is shown Fig. 7A Circuit diagram of the signal levels afterwards.
[0036] Figure 7C It is shown Figure 7B Circuit diagram of the signal levels afterwards.
[0037] Fig.7D It is shown Figure 7C Circuit diagram of the signal levels afterwards.
[0038] Fig. 7E It is shown Fig.7D Circuit diagram of the signal levels afterwards.
[0039] Figure 7F It is shown Fig. 7E Circuit diagram of the signal levels afterwards.
[0040] Figure 7G It is shown Figure 7F Circuit diagram of the signal levels afterwards.
[0041] Figure 7H It is shown Figure 7G Circuit diagram of the signal levels afterwards.
[0042] Figure 8 It is shown Figure 2 A timing diagram showing the temporal variation of a signal when the second clock signal of the glitch removal circuit is stopped.
[0043] Fig. 9 is Figure 2 A circuit diagram of the glitch removal circuit is provided with the signal levels of each part when the first clock signal and the second clock signal are stopped.
[0044] Fig.10 It is shown Figure 2 A timing diagram showing the temporal changes of the signals when the first clock signal and the second clock signal of the glitch removal circuit are stopped.
[0045] Fig.11 1 is a circuit diagram showing an electronic device according to an embodiment of the present disclosure.
[0046] Description of Reference Numerals
[0047] 1, 1A: glitch removal circuit; 11: first input terminal; 12: second input terminal; 13: first clock terminal; 14: second clock terminal; 15: first output terminal; 16: second output terminal; 20, 20A: first glitch removal unit; 21: first delay element; 22: first logic circuit; 30, 30A: second glitch removal unit; 31: second delay element; 32: second logic circuit; 100: electronic device; 101: power supply; 102: power supply normal output unit; 103: power-on reset output unit; 104: first clock oscillator; 105: second clock oscillator. DETAILED DESCRIPTION
[0048] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. Figure 11 is a circuit diagram showing a glitch removal circuit 1 according to a first embodiment of the present disclosure. The glitch removal circuit 1 is used to remove glitch noise contained in a power-good signal and a power-on reset signal. In the following description, "glitch noise" is sometimes referred to as "glitch" for short.
[0049] The glitch removal circuit 1 comprises: a first input terminal 11, to which an original signal of a power-good signal (a signal that may contain glitch noise) is input; a second input terminal 12, to which an original signal of a power-on reset signal (a signal that may contain glitch noise) is input; a first clock terminal 13, to which a periodic first clock signal is input; a second clock terminal 14, to which a periodic second clock signal is input; a first glitch removal unit 20, which operates according to the first clock signal to remove glitch noise from the power-good signal; a second glitch removal unit 30, which operates according to the second clock signal to remove glitch noise from the original signal of the power-on reset signal; a first output terminal 15, to which an output signal of the power-good signal from which the glitch noise is removed by the first glitch removal unit 20 is output; and a second output terminal 16, to which an output signal of the power-on reset signal from which the glitch noise is removed by the second glitch removal unit 30 is output.
[0050] The first input terminal 11, the second input terminal 12, the first clock terminal 13, the second clock terminal 14, the first output terminal 15, and the second output terminal 16 conceptually show the boundary between the glitch removal circuit 1 and the external circuit. Therefore, the first input terminal 11, the second input terminal 12, the first clock terminal 13, the second clock terminal 14, the first output terminal 15, and the second output terminal 16 may not be terminals having a physical structure for connecting wiring, etc., and may not be terminals whose physical positions can be specified on an actual circuit.
[0051] The first glitch removal unit 20 can be a well-known digital circuit that stores the original signal value (signal level) of the power supply normal signal from n (n is a positive integer) times before to the present at the cycle of the first clock, and outputs an output signal from which the short-term value change caused by the glitch is removed based on the value of the original signal of the past n times. In addition, the first glitch removal unit 20 is configured to be initialized when the output signal of the second glitch removal unit 30 becomes a low level. Specifically, the first glitch removal unit 20 is configured to restore the stored value of the original signal of the past n times to the initial value when the output signal of the second glitch removal unit 30 (the power-on reset signal after the glitch is removed by the second glitch removal unit 30) becomes a low level.
[0052] The second glitch removal unit 30 can be a well-known digital circuit that stores the original signal value of the power-on reset signal from m times before to the present at the cycle of the second clock, and outputs an output signal from which the short-term value change caused by the glitch is removed based on the value of the original signal of the past m times (m is a positive integer). In addition, the second glitch removal unit 30 is configured to be initialized when the output signal of the first glitch removal unit 20 becomes a low level. Specifically, the second glitch removal unit 30 is configured to restore the stored value of the original signal of the past m times to the initial value when the output signal of the first glitch removal unit 20 (the power supply normal signal after the glitch is removed by the first glitch removal unit 20) becomes a low level.
[0053] The first clock signal input to the first clock terminal 13 and the second clock signal input to the second clock terminal 14 are provided from a clock source such as a crystal oscillator. The first clock signal and the second clock signal may be the same signal generated by a single clock source, but are preferably generated by different clock sources. Thus, the possibility of the first clock signal and the second clock signal being abnormal at the same time can be reduced. Even if one of the first clock signal and the second clock signal stops, if the other is normal, the glitch removal circuit 1 can remove a certain amount of glitch noise. Therefore, by having different sources for the first clock signal and the second clock signal, the risk of the glitch removal circuit 1 completely losing its function can be minimized.
[0054] The first clock signal is preferably a signal that is stable before the original signal of the power-normal signal rises. Thus, before the power-normal signal rises, the first glitch removal unit 20 can output a low level to initialize the second glitch removal unit 30. The second clock signal is preferably stable before the original signal of the power-on reset signal is released (changed from a low level to a high level). Thus, before the original signal of the power-on reset signal is released, the second glitch removal unit 30 outputs a low level, and the subsequent digital circuit can be appropriately initialized by the output signal of the power-on reset output from the second output terminal 16 of the glitch removal circuit 1. In addition, the second clock signal is preferably stable before the original signal of the power-normal signal is released. Thus, before the power-normal signal is released, the first glitch removal unit 20 can be appropriately initialized.
[0055] In addition, if both the first clock signal and the second clock signal are signals that are stable before the original signal of the power-good signal rises, before the power-good signal rises, the first glitch removal unit 20 can output a low level to initialize the second glitch removal unit 30, and the second glitch removal unit 30 can output a low level to reset and initialize the first glitch removal unit 20. Thus, the first glitch removal unit 20 can appropriately remove glitch noise from the original signal of the power-good signal, and the second glitch removal unit 30 can appropriately remove glitch noise from the original signal of the power-on reset signal.
[0056] As described above, the glitch removal circuit 1 according to the present embodiment includes the first glitch removal unit 20 for removing glitch noise from the original signal of the power-good signal and the second glitch removal unit 30 for removing glitch noise from the original signal of the power-on reset signal. Thus, the glitch removal circuit 1 can output two output signals from which the glitch noise is removed from the original signal of the power-good signal and the original signal of the power-on reset signal, respectively.
[0057] In addition, in the glitch removal circuit 1, when the output signal of the second glitch removal unit 30 becomes low level, the first glitch removal unit 20 is initialized, and when the output signal of the first glitch removal unit 20 becomes low level, the second glitch removal unit 30 is initialized. Therefore, in the glitch removal circuit 1, even if the original signal of the power-good signal or the original signal of the power-on reset signal contains glitch noise, the first glitch removal unit 20 and the second glitch removal unit 30 can be prevented from being erroneously initialized, and thus, the output signal of the power-good signal and the output signal of the power-on reset signal can be accurately outputted after the glitch noise is removed from the original signal of the power-good signal and the original signal of the power-on reset signal, respectively.
[0058] Next, a second embodiment of the present disclosure will be described. Figure 2 1A is a circuit diagram showing a burr removal circuit 1A according to a second embodiment of the present disclosure.
[0059] The glitch removal circuit 1A includes: a first input terminal 11, which inputs an original signal of a power-good signal; a second input terminal 12, which inputs an original signal of a power-on reset signal; a first clock terminal 13, which inputs a periodic first clock signal; a second clock terminal 14, which inputs a periodic second clock signal; a first glitch removal unit 20A, which operates according to the first clock signal to remove glitch noise from the power-good signal; a second glitch removal unit 30A, which operates according to the second clock signal to remove glitch noise from the original signal of the power-on reset signal; a first output terminal 15, which outputs an output signal of the power-good signal from which the glitch noise is removed by the first glitch removal unit 20A; and a second output terminal 16, which outputs an output signal of the power-on reset signal from which the glitch noise is removed by the second glitch removal unit 30A.
[0060] The first input terminal 11, the second input terminal 12, the first clock terminal 13, the second clock terminal 14, the first output terminal 15, and the second output terminal 16 in the glitch removal circuit 1A involved in the second embodiment are the same as the first input terminal 11, the second input terminal 12, the first clock terminal 13, the second clock terminal 14, the first output terminal 15, and the second output terminal 16 of the glitch removal circuit 1 involved in the first embodiment.
[0061] The first burr removal unit 20A has: n-stage (n is a positive integer) first delay elements 21; and a first logic circuit 22, which outputs the logical OR (operation result) of the output of each stage of the n-stage first delay elements 21 and the current input signal (the current original signal of the power normal signal).
[0062] The n-stage first delay elements 21 can each be formed of a D flip-flop having an input terminal, an output terminal, a clock terminal, and an asynchronous reset terminal.
[0063] The input terminal of the first delay element 21 of the first stage among the n-stage first delay elements 21 is connected to the first input terminal 11. In addition, the output terminal of the first delay element 21 of the first stage is connected to the input terminal of the first delay element 21 of the next stage. The output terminal of the first delay element 21 of the next stage is connected to the input terminal of the first delay element 21 of the next stage. In this way, the n-stage first delay elements 21 are configured to be connected in series to the first input terminal 11. As a result, the first delay element 21 of the first stage latches the output level of the original signal of the power supply normal signal (the true value "1" or "0" indicated by the voltage) when the first clock signal rises. In addition, the first delay elements 21 of the second stage and after the second stage latch the output level of the first delay element 21 of the previous stage when the first clock signal rises.
[0064] The clock terminals of the n-stage first delay elements 21 are respectively connected to the first clock terminal 13. That is, the n-stage first delay elements 21 operate in synchronization with the first clock signal input to the first clock terminal 13. In addition, the asynchronous reset terminals of the n-stage first delay elements 21 are respectively connected to the output of the second glitch removal unit 30A. That is, the n-stage first delay elements 21 are initialized when the output of the second glitch removal unit 30A becomes a low level.
[0065] If any of the outputs of the first input terminal 11 or the outputs of the n-stage first delay elements 21 is at a high level (true value "1"), the first logic circuit 22 outputs a high level, and only when the outputs of the first input terminal 11 and all the first delay elements 21 are at a low level (true value "0"), the first logic circuit 22 outputs a low level. That is, when the original signal of the power-good signal becomes high, the output of the first logic circuit 22 (the output of the first glitch removal unit 20A) immediately becomes high, and when the original signal of the power-good signal is at a low level for the current and past n times (a total of n+1 times) in the cycle of the first clock signal, the output of the first logic circuit 22 changes to a low level. Therefore, the first glitch removal unit 20A outputs an output signal obtained by removing n or less consecutive low-level signals as glitch noise from the original signal of the power-good signal to the first output terminal.
[0066] The second burr removal unit 30A has: m-stage (m is a positive integer) second delay elements 31; and a second logic circuit 32, which outputs the logical OR (operation result) of the output of each stage of the m-stage second delay elements 31 and the current input signal (the current original signal of the power-on reset signal).
[0067] Each of the m-stage second delay elements 31 is constituted by a D flip-flop having an input terminal, an output terminal, a clock terminal, and an asynchronous reset terminal.
[0068] The input terminal of the second delay element 31 of the first stage among the second delay elements 31 of the m stages is connected to the second input terminal 12. In addition, the output terminal of the second delay element 31 of the first stage is connected to the input terminal of the second delay element 31 of the next stage. The output terminal of the second delay element 31 of the next stage is connected to the input terminal of the second delay element 31 of the further next stage. In this way, the second delay elements 31 of the m stages are configured to be connected in series to the second input terminal 12. Thus, the second delay element 31 of the first stage latches the value of the original signal of the power-on reset signal when the second clock signal rises. In addition, the second delay elements 31 of the second stage and the subsequent stages latch the value of the second delay element 31 of the previous stage when the second clock signal rises.
[0069] The clock terminals of the m-stage second delay elements 31 are respectively connected to the second clock terminal 14. That is, the m-stage second delay elements 31 operate in synchronization with the second clock signal input to the second clock terminal 14. In addition, the asynchronous reset terminals of the m-stage second delay elements 31 are respectively connected to the output of the first glitch removal unit 20A. That is, the m-stage second delay elements 31 are initialized when the output of the first glitch removal unit 20A becomes a low level.
[0070] If any of the outputs of the second input terminal 12 or the outputs of the second delay elements 31 of the mth stage is at a high level, the second logic circuit 32 outputs a high level, and only when the outputs of the second input terminal 12 and all the second delay elements 31 are at a low level, the second logic circuit 32 outputs a low level. That is, when the original signal of the power-on reset signal becomes a high level, the output of the second logic circuit 32 (the output of the second glitch removal unit 30A) immediately becomes a high level, and when the original signal of the power-on reset signal continues to be a low level for the current and past m times (a total of m+1 times) in the cycle of the second clock signal, the output of the second logic circuit 32 changes to a low level. Therefore, the second glitch removal unit 30A outputs an output signal obtained by removing the m or less continuous low-level signals as glitch noise from the original signal of the power-on reset signal to the second output terminal 16.
[0071] The operation of the glitch removal circuit 1A will be described in detail. Figures 3A to 3H 2 shows the signal levels of the various components of the glitch removal circuit 1A over time during normal operation.
[0072] When the glitch removal circuit 1A is started, that is, before the power supply voltage rises or before a certain time has passed since the power supply voltage rises, the power supply normal signal input to the first input terminal 11 and the power-on reset signal input to the second input terminal 12 are at a low level (=0). At this time, the signal levels of the first delay element 21 and the second delay element 31 may be either high (=1) or low. Figure 3A As shown, when the output (holding value) of any one of the first delay elements 21 in the n-stage is high, the output of the first logic circuit 22 becomes high, and thus the output of the first glitch removal unit 20A (the output signal output from the first output terminal 15) becomes high. Similarly, when the output of any one of the second delay elements 31 in the m-stage is high, the output of the second logic circuit 32 becomes high, and thus the output of the second glitch removal unit 30A (the output signal output from the second output terminal 16) becomes high. At this time, both the first output terminal 15 and the second output terminal 16 are high, and the state of the subsequent circuit is uncertain.
[0073] When from Figure 3A When the first clock signal rises n times from the state of Figure 3B As shown in FIG. 1 , the outputs of the first delay elements 21 of the nth stage all become low level. As a result, the output of the first burr removal unit 20A becomes low level. Then, the second burr removal unit 30A is initialized by the output of the first burr removal unit 20A, and the outputs of the second delay elements 31 of the mth stage all become low level. As a result, Figure 3C As shown, the output of the second burr removal unit 30A also becomes low level. At this time, both the first output terminal 15 and the second output terminal 16 become low level, and the subsequent circuits are reset.
[0074] Afterwards, when the power supply voltage rises or a certain time has passed since the power supply voltage rose, the original signal of the power good power normal signal input to the first input terminal 11 becomes a high level, such as Figure 3D As shown in FIG. 1 , the output of the first burr removal unit 20A becomes high level. At this time, the first output terminal 15 becomes high level, notifying the subsequent circuit of the power rise. When the first clock signal rises n times since the power normal signal becomes high level, Figure 3E As shown, the outputs of the first delay elements 21 of the n stages all become high level.
[0075] When a certain time has passed, the original signal of the power-on reset signal input to the second input terminal 12 becomes a high level. Figure 3F As shown, the output of the second burr removal unit 30A becomes high level. At this time, the second output terminal 16 becomes high level, and the reset of the subsequent circuit is released. When the second clock signal rises m times from the power-on reset signal becoming high level, the outputs of the second delay elements 31 of the mth stage all become high level. As a result, Figure 3G As shown, the output of the second burr removing section 30A becomes a high level.
[0076] like Figure 3H As shown, even if the original signal of the power-good signal contains glitch noise and the signal level of the first input terminal 11 temporarily changes to a low level, when any of the first delay elements 21 of the n-stage first delay elements 21 is at a high level, the output of the first glitch removal unit 20A is also maintained at a high level. Similarly, even if the original signal of the power-on reset signal contains glitch noise and the signal level of the second input terminal 12 temporarily changes to a low level, when any of the second delay elements 31 of the m-stage second delay elements 31 is at a high level, the output of the second glitch removal unit 30A is also maintained at a high level. Therefore, even if there is glitch noise in the first input terminal 11 or the second input terminal 12, the first output terminal 15 and the second output terminal 16 are maintained at a high level, and the subsequent circuit will not be initialized unintentionally, but can continue to operate normally.
[0077] Figure 4 2 shows the time-dependent changes of the input signal and the output signal of the glitch removal circuit 1A during normal operation. As shown in the figure, the glitch removal circuit 1A can output an output signal (Power-GoodClean Signal) after removing the glitch noise from the original signal (Power-Good Noisy Signal) of the power good signal from the first output terminal 15, and can output an output signal (Power-On Reset Clean Signal) after removing the glitch noise from the original signal (Power-On Reset Noisy Signal) of the power-on reset signal from the second output terminal 16.
[0078] Next, the case where the first clock signal stops and the signal input to the first clock terminal 13 remains at a low level (or remains at a high level) will be described. Figures 5A to 5H 5 shows the signal levels of the respective components of the glitch removal circuit 1A over time when the first clock signal stops.
[0079] When the glitch removal circuit 1A is started, the signal levels of the first delay element 21 and the second delay element 31 are uncertain. Figure 5A As shown, when the output of any one of the n-stage first delay elements 21 is at a high level, the output of the first glitch removal unit 20A becomes a high level. Similarly, when the output of any one of the m-stage second delay elements 31 is at a high level, the output of the second glitch removal unit 30A becomes a high level. At this time, both the first output terminal 15 and the second output terminal 16 are at a high level, and the state of the subsequent circuit is uncertain.
[0080] When from Figure 5A When the second clock signal rises m times from the state of , the outputs of the second delay elements 31 of the mth stage all become low level. Figure 5B As shown in FIG. 1 , the output of the second glitch removal unit 30A becomes low level. Then, the first glitch removal unit 20A is initialized by the output of the second glitch removal unit 30A, and the outputs of the first delay elements 21 of the n-th stage all become low level. Figure 5C As shown, the output of the first burr removal unit 20A also becomes low level. At this time, both the first output terminal 15 and the second output terminal 16 become low level, and the subsequent circuits are reset.
[0081] Afterwards, when the original signal of the power normal signal becomes high level, such as Figure 5DAs shown in FIG. 1 , the output of the first burr removal unit 20A becomes high level. At this time, the first output terminal 15 becomes high level, notifying the subsequent circuit of the power rise. When a certain time has passed, the original signal of the power-on reset signal input to the second input terminal 12 becomes high level. When the second clock signal rises m times since the power-on reset signal becomes high level, as shown in FIG. Fig. 5F As shown in FIG. 1 , the outputs of the second delay elements 31 of the m-th stage all become high level, and the output of the second glitch removal unit 30A becomes high level. At this time, the second output terminal 16 becomes high level, and the reset of the subsequent circuit is released. On the other hand, since the first clock signal is not input, the outputs of the first delay elements 21 of the n-th stage all remain low level. Therefore, the output of the first glitch removal unit 20A becomes the same value as the original signal of the power supply normal signal.
[0082] like Figure 5G As shown, even if the original signal of the power-on reset signal contains glitch noise and the signal level of the second input terminal 12 temporarily becomes low level, when any second delay element 31 among the m-stage second delay elements 31 is at high level, the output of the second glitch removal unit 30A is also maintained at high level.
[0083] When the original signal of the power-good signal contains glitch noise and the signal level of the first input terminal 11 temporarily becomes low, the output of the first glitch removal unit 20A becomes low. Figure 5H As shown, the second delay element 31 of the mth stage is initialized, and the output of the second glitch removal unit 30A is equal to the value of the original signal of the power-on reset signal input to the second input terminal 12. Figure 5H As shown in FIG. 1 , when the second delay element 31 of the mth stage is initialized, there is no problem if the original signal of the power-on reset signal is at a high level. However, when the original signal of the power-on reset signal also contains glitch noise at the same timing, the output of the second glitch removal unit 30A becomes a low level. The output of the second glitch removal unit 30A becomes a low level. At this time, the second output terminal 16 becomes a low level, causing the subsequent circuit to be reset. That is, when the first clock signal stops, when the original signal of the power good signal and the original signal of the power-on reset signal contain glitch noise at the same timing, the glitch removal circuit 1A may not be able to remove the glitch noise from the original signal of the power-on reset signal.
[0084] Figure 6 2 shows the time-dependent changes of the input signal and the output signal of the glitch removal circuit 1A when the first clock signal stops. As shown in the figure, when the first clock signal stops, the glitch removal circuit 1A cannot remove the glitch noise from the original signal of the power-good signal, and can output the output signal after the glitch noise is removed from the original signal of the power-on reset signal only during the period when the original signal of the power-good signal is at a high level.
[0085] Further description is given of the case where the first clock signal is input but the second clock signal is stopped and the signal input to the second clock terminal 14 remains at a low level. Figures 7A to 7H 5 shows the signal levels of the respective components of the glitch removal circuit 1A over time when the second clock signal stops.
[0086] When the glitch removal circuit 1A is started, the signal levels of the first delay element 21 and the second delay element 31 are uncertain. Fig. 7A As shown, when the output of any one of the n-stage first delay elements 21 is at a high level, the output of the first glitch removal unit 20A is at a high level. Similarly, when the output of any one of the m-stage second delay elements 31 is at a high level, the output of the second glitch removal unit 30A is at a high level. At this time, both the first output terminal 15 and the second output terminal 16 are at a high level, and the state of the subsequent circuit is uncertain.
[0087] When from Fig. 7A When the first clock signal rises n times from the state, Figure 7B As shown in FIG. 1 , the outputs of the first delay elements 21 of the nth stage all become low level. As a result, the output of the first glitch removal unit 20A becomes low level. Then, the second glitch removal unit 30A is initialized by the output of the first glitch removal unit 20A, and the outputs of the second delay elements 31 of the mth stage all become low level. As a result, Figure 7C As shown, the output of the second burr removal unit 30A also becomes low level. At this time, both the first output terminal 15 and the second output terminal 16 are low level, and the subsequent circuit is reset.
[0088] Afterwards, when the power supply voltage rises and the original signal of the power supply normal signal input to the first input terminal 11 becomes a high level, Fig.7D As shown in FIG. 1 , the output of the first burr removal unit 20A becomes high level. At this time, the first output terminal 15 becomes high level, notifying the subsequent circuit of the power rise. When the first clock signal rises n times since the power normal signal becomes high level, as shown in FIG. Fig. 7E As shown, the outputs of the first delay elements 21 of the n stages all become high level.
[0089] On the other hand, since the second clock is not input, Figure 7F As shown, the outputs of the second delay element 31 all remain at a low level. Therefore, the output of the second glitch removal unit 30A becomes equal to the original signal of the power-on reset signal. When a certain time has passed, the original signal of the power-on reset signal input to the second input terminal 12 becomes a high level. At this time, the output of the second glitch removal unit 30A becomes a high level, the second output terminal 16 becomes a high level, and the reset of the subsequent circuit is released.
[0090] Even if the original signal of the power-good signal contains glitch noise and the signal level of the first input terminal 11 changes to a low level temporarily, as shown in FIG. Figure 7H As shown, when any of the first delay elements 21 of the n-stage is at a high level, the output of the first glitch removal unit 20A is maintained at a high level. On the other hand, when the original signal of the power-on reset signal contains glitch noise and the signal level of the second input terminal 12 temporarily becomes a low level, the output of the second glitch removal unit 30A becomes a low level because the second delay element 31 of the m-stage is at a low level. At this time, the second output terminal 16 becomes a low level, causing the subsequent circuit to be reset.
[0091] exist Figure 8 FIG. 2 illustrates the time-dependent changes of the input signal and the output signal of the glitch removal circuit 1A when the second clock signal stops. As shown in the figure, when the second clock signal stops, the glitch removal circuit 1A cannot remove the glitch noise from the original signal of the power-on reset signal. In addition, when the second clock signal stops, if both the original signal of the power-good signal and the original signal of the power-on reset signal contain glitch noise, the glitch removal circuit 1A may not be able to output the output signal after the glitch noise is removed from the original signal of the power-good signal.
[0092] Next, the case where both the first clock signal and the second clock signal are stopped is described. Fig. 9 2 shows the signal levels of the respective components of the glitch removal circuit 1A when the first clock signal and the second clock signal are stopped.
[0093] When both the first clock signal and the second clock signal are stopped, the output of the first delay element 21 of the nth stage and the output of the second delay element 31 of the mth stage do not change with respect to the values at the start. That is, when both the first clock signal and the second clock signal are stopped, the holding values of the first delay element 21 of the nth stage and the second delay element 31 of the mth stage are uncertain. Therefore, in the glitch removal circuit 1A, if Fig. 9 As shown, if any one of the first delay elements 21 of the n-stage is at a high level at startup, the output of the first output terminal 15 is always at a high level. In addition, in the glitch removal circuit 1A, if any one of the second delay elements 31 of the m-stage is at a high level at startup, the output of the second output terminal 16 is always at a high level. In this case, the state of the subsequent circuit remains in an uncertain state.
[0094] In addition, in the glitch removal circuit 1A, if all the first delay elements 21 of the nth stage are at a low level at the time of startup, the value of the output signal of the first output terminal 15 becomes the same value as the original signal of the power supply normal signal. In addition, in the glitch removal circuit 1A, if all the second delay elements 31 of the mth stage are at a low level at the time of startup, the value of the output signal of the second output terminal 16 becomes the same value as the original signal of the power-on reset signal. In this case, the subsequent circuit is released from reset after normally becoming a reset state.
[0095] Fig.10 FIG. 1 illustrates the time-dependent changes of the input signal and output signal of the glitch removal circuit 1A when the second clock signal stops. As shown in the figure, the glitch removal circuit 1A not only fails to remove the glitch noise in the original signal of the power-good signal and the original signal of the power-on reset signal, but also may cause the output signal to always be at a high level regardless of the value of the original signal. In this way, when the first clock signal and the second clock signal stop at the same time, the glitch removal circuit 1A completely loses its function. Therefore, the first clock signal input to the first clock terminal 13 and the second clock signal input to the second clock terminal 14 are preferably signals generated by different clock generation sources.
[0096] An electronic device according to an embodiment of the present disclosure will be further described. Fig.11 It shows that Figure 1 The electronic device 100 is a circuit diagram showing a structure of the glitch removal circuit 1. The electronic device 100 includes a power supply 101, a power supply normal output unit 102, a power-on reset output unit 103, a first clock oscillator 104, a second clock oscillator 105, and the glitch removal circuit 1.
[0097] The power supply 101 generates a DC voltage of a predetermined voltage (5 V, 3.3 V, etc.) from, for example, an AC primary power supply or a DC primary power supply of a different voltage (for example, 24 V). As the power supply 101, for example, a known DC power supply device can be used.
[0098] The power supply normal output unit 102 outputs a power supply normal signal which is at a low level immediately after the power supply is turned on and becomes a high level after a certain time has passed since the output voltage of the power supply 101 becomes equal to or higher than a predetermined voltage. The power supply normal signal output from the power supply normal output unit 102 is input to the first input terminal 11 of the glitch removal circuit 1.
[0099] The power-on reset output unit 103 outputs a power-on reset signal which is low level immediately after power is turned on and becomes high level after a certain time has passed since the power normal signal becomes high level. The power-on reset signal output from the power-on reset output unit 103 is input to the second input terminal 12 of the glitch removal circuit 1.
[0100] The first clock oscillator 104 is a clock source that generates a first clock signal that periodically changes between a high level and a low level. For example, a crystal oscillator can be used as the first clock oscillator 104. The first clock signal output by the first clock oscillator 104 is input to the first clock terminal 13 of the glitch removal circuit 1.
[0101] The second clock oscillator 105 is a clock source that generates a second clock signal that periodically changes alternately between a high level and a low level. As the second clock oscillator 105, a crystal oscillator or the like can be used in the same manner as the first clock oscillator 104. In order to minimize the risk of the first clock signal and the second clock signal stopping at the same time, it is preferred that the second clock oscillator 105 generates the second clock signal independently of the first clock oscillator 104. In addition, the period of the second clock signal output by the second clock oscillator 105 may be the same as or different from the period of the first clock signal output by the first clock oscillator 104. The second clock signal output by the second clock oscillator 105 is input to the second clock terminal 14 of the glitch removal circuit 1.
[0102] Since the electronic device 100 can output a power-good signal and a power-on reset signal from which glitch noise has been removed by the glitch removal circuit 1 , it can be used to appropriately initialize various digital circuits.
[0103] As mentioned above, each preferred embodiment of the burr removal circuit and the electronic device of the present disclosure has been described, but the present disclosure is not limited to the above-mentioned embodiments, and appropriate changes can be made.
[0104] For example, in the above embodiment, the first delay element 21 and the second delay element 31 are described as D flip-flops, but the present invention is not limited thereto and may be, for example, JK flip-flops.
[0105] In addition, in the above embodiment, the power supply normal signal is set to positive logic, the low level indicates before the power supply rises, and the high level indicates after the power supply rises, but the power supply normal signal can also be negative logic. In this case, the logic circuit 22 is set to output logical AND, the first delay element 21 is set to be initialized at a high level, and the signal after the output logic of the first burr removal unit is inverted is connected to the asynchronous reset terminal of the second delay element 31. Alternatively, a logic inversion is inserted between the first input terminal 11 and the first output terminal 15.
[0106] In addition, in the above embodiment, the power-on reset signal is set to negative logic, the low level indicates the reset state, and the high level indicates the reset release state, but the power-on reset signal can also be positive logic. In this case, the logic circuit 32 is set to output logical AND, the second delay element 31 is set to be initialized at a high level, and the signal after the output logic of the second burr removal unit is inverted is connected to the asynchronous reset terminal of the first delay element 21. Alternatively, a logic inversion is inserted between the second input terminal 12 and the second output terminal 16.
Claims
1. A glitch removal circuit for removing glitch noise contained in a power-good signal and a power-on reset signal, the glitch removal circuit comprising: a first glitch removal unit, which operates according to the first clock signal to remove glitch noise from the power good signal; and a second glitch removal unit, which operates according to the second clock signal to remove glitch noise from the power-on reset signal; in, The first burr removal unit is configured to be initialized by an output signal of the second burr removal unit, The second burr removal unit is configured to be initialized by an output signal of the first burr removal unit.
2. The burr removal circuit according to claim 1, characterized in that: The first clock signal and the second clock signal are generated by clock generation sources different from each other.
3. The burr removal circuit according to claim 1 or 2, characterized in that: As the first clock signal, a clock signal that is stable before the power good signal rises is used. As the second clock signal, a clock signal that is stable before the power-on reset signal is released is used.
4. The burr removal circuit according to claim 1 or 2, characterized in that: As the first clock signal, a clock signal that is stable before the power good signal rises is used. As the second clock signal, a clock signal that is stable before the power good signal rises is used.
5. The burr removal circuit according to claim 1 or 2, characterized in that: The first burr removal section and the second burr removal section each include: a delay element of one or more stages; and a logic circuit that outputs a result of a logic operation between the output of each stage of the delay element of one or more stages and a current input signal.
6. The burr removal circuit according to claim 3, characterized in that: The first burr removal section and the second burr removal section each include: a delay element of one or more stages; and a logic circuit that outputs a result of a logic operation between the output of each stage of the delay element of one or more stages and a current input signal.
7. The burr removal circuit according to claim 4, characterized in that: The first burr removal section and the second burr removal section each include: a delay element of one or more stages; and a logic circuit that outputs a result of a logic operation between the output of each stage of the delay element of one or more stages and a current input signal.
8. An electronic device comprising: The burr removal circuit according to any one of claims 1 to 7; power supply; a power supply normal output unit, which outputs the power supply normal signal after the voltage of the power supply becomes equal to or greater than a predetermined value; and A power-on reset output unit outputs the power-on reset signal after a certain time has passed since the power-good signal was output.
Citation Information
Patent Citations
Glitch elimination circuit
JP2009225153A
Reset circuit for multi-clock domains
CN102571050A
Reset circuit of semiconductor device
JP2009206865A
Output processing system and method
US20020172376A1
Wideband power-on reset circuit with glitch-free output
US7388414B1
