Bidirectional filter circuit
By designing a bidirectional filter circuit and using the voltage control unit to manage the output turn-on of the RC filter unit, the problems of large circuit area and weak filtering capability in the existing technology are solved, and a more stable output signal is achieved.
Patent Information
- Application Number
- CN202410532609.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-08-23
AI Technical Summary
In the prior art, two filter circuits are provided in a functional circuit, resulting in a large circuit area and weak filtering capability, which can easily lead to false triggering due to charge accumulation.
Design a bidirectional filter circuit, including an input node, an output node, a first reverse unit, an RC filter unit and a voltage control unit. The voltage control unit controls the connection between the output of the RC filter unit and the corresponding level node according to the input and output signals. pass, ensuring that the output level does not change under disturbance conditions and quickly charges or discharges when the signal changes.
The circuit area is reduced, the filtering capability is enhanced, false triggering caused by charge accumulation is avoided, and the stability of the output signal is improved.
Smart Images

Figure CN118539890A
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the technical field of integrated circuits and related technical fields, and in particular, to a bidirectional filtering circuit. Background Art
[0002] Functional circuits such as power supply circuits need to be set up for bidirectional filtering. The input end of the power supply circuit needs to be filtered when it receives the output working voltage at the rising edge of the input, and the input end of the power supply circuit also needs to be filtered when it receives the output working voltage at the falling edge of the input.
[0003] In the prior art, two filtering circuits are provided in the functional circuit. When the input end of the power supply circuit receives the output working voltage at the rising edge of the input, it is filtered through a filtering circuit. Since two filtering circuits are provided in the functional circuit, the circuit area is relatively large. In addition, after the filtering is successful in a certain direction, the charge on the capacitor needs to be discharged immediately. However, the resistance of the filtering circuit will limit the current, which will cause the charge to be not discharged completely before the second same-direction trigger signal comes, thereby weakening the filtering capability and causing the output to be falsely triggered. Summary of the invention
[0004] The embodiments described herein provide a bidirectional filtering circuit to solve the problems existing in the prior art.
[0005] According to the content of the present disclosure, a bidirectional filtering circuit is provided, comprising: an input node, an output node, a first reverse unit, an RC filtering unit, a second reverse unit and a voltage control unit;
[0006] The first inverting unit, the RC filtering unit, and the second inverting unit are sequentially connected and arranged between the input node and the output node;
[0007] Wherein, after the level of the input node changes from a low level to a high level, if the pulse width of the high level is greater than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the low level node after the pulse width of the high level reaches the filtering time of the RC filtering unit; if the pulse width of the high level is less than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the high level node after the pulse width of the high level ends;
[0008] After the level of the input node changes from a high level to a low level, if the pulse width of the low level is greater than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the high level node after the pulse width of the low level reaches the filtering time of the RC filtering unit; if the pulse width of the low level is less than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the low level node after the pulse width of the low level ends.
[0009] In some embodiments of the present disclosure, the voltage control unit is configured to control the connection between the output of the RC filtering unit and the low level node and the connection between the output of the RC filtering unit and the high level node according to the signal of the input node and the signal of the output node.
[0010] In some embodiments of the present disclosure, the first inverting unit includes a first inverter, an input of the first inverter is electrically connected to the input node, and an output of the first inverter is electrically connected to an input of the RC filtering unit.
[0011] In some embodiments of the present disclosure, the RC filtering unit includes a resistor and a capacitor, the first end of the resistor is electrically connected to the output of the first inverting unit, the second end of the resistor and the first end of the capacitor are respectively electrically connected to the input of the second inverting unit, and the second end of the capacitor is electrically connected to the low level node.
[0012] In some embodiments of the present disclosure, the second inverting unit includes a second inverter, an input of the second inverter is electrically connected to the output of the RC filtering unit, and an output of the second inverter is electrically connected to the output node.
[0013] In some embodiments of the present disclosure, the voltage control unit includes a first voltage control unit and a second voltage control unit;
[0014] Wherein, the first voltage control unit is used to control the connection between the output of the RC filter unit and the high level node according to the signal of the input node and the signal of the output node;
[0015] The second voltage control unit is used to control the connection between the output of the RC filter unit and the low-level node according to the signal of the input node and the signal of the output node.
[0016] In some embodiments of the present disclosure, the first voltage control unit includes a first logic unit and a first switch unit, and the second voltage control unit includes a second logic unit and a second switch unit;
[0017] The first logic unit is configured to output a first control signal to the first switch unit according to the signal of the input node and the signal of the output node;
[0018] The first switch unit is configured to be turned on or off according to the first control signal;
[0019] The second logic unit is configured to output a second control signal to the second switch unit according to the signal of the input node and the signal of the output node;
[0020] The second switch unit is configured to be turned on or off according to the second control signal.
[0021] In some embodiments of the present disclosure, the first logic unit includes a NOR gate and a third inverter, and the first switch unit includes a first transistor;
[0022] The first input terminal of the NOR gate is electrically connected to the input node, the second input terminal of the NOR gate is electrically connected to the output node, the output terminal of the NOR gate is electrically connected to the first terminal of the third inverter, the second terminal of the third inverter is electrically connected to the control terminal of the first transistor, the first terminal of the first transistor is electrically connected to the high level node, and the second terminal of the first transistor is electrically connected to the second node.
[0023] In some embodiments of the present disclosure, the second logic unit includes a NAND gate and a fourth inverter, and the second switch unit includes a second transistor;
[0024] The first input terminal of the NAND gate is electrically connected to the input node, the second input terminal of the NAND gate is electrically connected to the output node, the output terminal of the NAND gate is electrically connected to the first terminal of a fourth inverter, the second terminal of the fourth inverter is electrically connected to the control terminal of the second transistor, the first terminal of the second transistor is electrically connected to the second node, and the second terminal of the second transistor is electrically connected to a low level node.
[0025] In some embodiments of the present disclosure, the first transistor is a PMOS transistor, and the second transistor is an NMOS transistor.
[0026] In the bidirectional filtering circuit provided by the embodiment of the present disclosure, after the level of the input node changes from a high level to a low level, if the pulse width of the low level is greater than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the high level node after the pulse width of the high level reaches the filtering time of the RC filtering unit; if the pulse width of the low level is less than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the low level node after the pulse width of the high level ends; or after the level of the input node changes from a high level to a low level, if the pulse width of the low level is greater than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the high level node after the pulse width of the low level reaches the filtering time of the RC filtering unit. point is connected, if the pulse width of the low level is less than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit with the low level node after the pulse width of the low level ends, so that when the level of the input node changes due to disturbance, the voltage control unit connects the output of the RC filtering unit with the corresponding level node to ensure that the level of the output of the output node does not change under the disturbance state, and when the level of the input node changes due to the change of the signal input to the input node, the voltage control unit connects the output of the RC filtering unit with the corresponding level node to ensure that the level of the output of the output node changes with the change of the level of the input node when the level of the input node changes due to the change of the signal input to the input node. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below. It should be noted that the drawings described below only relate to some embodiments of the present disclosure, but are not intended to limit the present disclosure, wherein:
[0028] Figure 1 is a structural schematic diagram of a bidirectional filtering circuit provided by an embodiment of the present disclosure;
[0029] Figure 2 It is a structural schematic diagram of another bidirectional filtering circuit provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work also fall within the scope of protection of the present disclosure.
[0031] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by a person skilled in the art to which the subject matter of the present disclosure belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the specification and the relevant art, and will not be interpreted in an idealized or overly formal form unless otherwise explicitly defined herein. As used herein, a statement that two or more parts are "connected" or "coupled" together shall mean that the parts are joined together directly or through one or more intermediate components.
[0032] In all embodiments of the present disclosure, terms such as “first” and “second” are used only to distinguish one component (or a part of a component) from another component (or another part of a component).
[0033] Unless the context clearly indicates otherwise, the singular form of the words used herein and in the appended claims includes the plural and vice versa. Thus, when referring to the singular, the plural form of the corresponding term is generally included. Similarly, the words "comprise" and "include" are to be interpreted as inclusive rather than exclusive. Likewise, the terms "include" and "or" should be interpreted as inclusive unless such interpretation is expressly prohibited herein. Where the term "example" is used herein, particularly when it is located after a group of terms, the "example" is merely exemplary and illustrative and should not be considered exclusive or comprehensive.
[0034] Based on the problems existing in the prior art, the present disclosure provides a bidirectional filtering circuit. Figure 1 is a schematic diagram of a bidirectional filtering circuit provided by an embodiment of the present disclosure, such as Figure 1As shown, the bidirectional filtering circuit includes: an input node IN, an output node OUT, a first reverse unit 11, an RC filtering unit 12, a second reverse unit 13 and a voltage control unit 14; the first reverse unit 11, the RC filtering unit 12, and the second reverse unit 13 are sequentially connected and arranged between the input node IN and the output node OUT; wherein, after the level of the input node IN changes from a low level to a high level, if the pulse width of the high level is greater than the filtering time of the RC filtering unit 12, the voltage control unit 14 connects the output of the RC filtering unit 12 to the low level node after the pulse width of the high level reaches the filtering time of the RC filtering unit 12, and if the high level If the pulse width is smaller than the filtering duration of the RC filtering unit 12, the voltage control unit 14 connects the output of the RC filtering unit 12 to the high-level node after the high-level pulse width ends; after the level of the input node IN changes from a high level to a low level, if the low-level pulse width is larger than the filtering duration of the RC filtering unit 12, the voltage control unit 14 connects the output of the RC filtering unit 12 to the high-level node after the low-level pulse width reaches the filtering duration of the RC filtering unit; if the low-level pulse width is smaller than the filtering duration of the RC filtering unit 12, the voltage control unit 14 connects the output of the RC filtering unit 12 to the low-level node after the low-level pulse width ends.
[0035] Based on the problems existing in the prior art, in the bidirectional filtering circuit provided by the embodiment of the present disclosure, when the level of the input node IN is converted from the first level to the second level (when the first level is high, the second level is low, and when the first level is low, the second level is high), and the pulse width of the second level is less than the filtering time of the RC filtering unit 12, it is characterized that the reason why the level of the input node IN is converted from the first level to the second level is that the disturbance of the input node causes the level of the input node IN to change. At this time, the voltage control unit 14 is used to ensure that the level output by the RC filtering unit 12 to the input end of the second inverting unit 13 is the second level, and the second level is reversed by the second inverting unit 13 to output the first level, that is, the level output by the output node OUT is the first level, and the level output by the output node OUT does not change according to the change of the level of the input node IN, thereby avoiding the disturbance caused by the disturbance. When the level of the input node changes, the output node changes with the change of the level of the input node, causing false triggering; when the pulse width of the second level is greater than the filtering time of the RC filtering unit 12, it is characterized that the reason why the level of the input node IN is converted from the first level to the second level is that the signal input to the input node IN is changed, so that the level of the input node IN changes. At this time, through the voltage control unit 14, it is ensured that the level output by the RC filtering unit 12 to the input end of the second inverting unit 13 is the first level, and the first level is outputted to the second level after being inverted by the second inverting unit 13, that is, the level output by the output node OUT is the second level, and the level of the output node OUT changes with the change of the level of the input node IN, that is, when the level of the input node IN changes, the level of the output node OUT changes with the change of the level of the input node IN, and is consistent with the level of the input node IN.
[0036] Specifically, when the level of the input node IN changes due to disturbance, the voltage control unit 14 connects the output of the RC filter unit 12 with the corresponding level node to ensure that the level of the output node OUT does not change under the disturbance state. For example, when the level of the input node IN changes from a low level to a high level, if the pulse width of the high level is less than the filtering time of the RC filter unit 12, at this time, the voltage control unit 14 connects the output of the RC filter unit 12 with the high level node after the pulse width of the high level ends. Since the level of the input node IN is output to the RC filter unit 12 after passing through the first inverting unit 11, the voltage control unit 14 connects the output of the RC filter unit 12 with the high level node. The level is low, therefore, the RC filter unit 12 is in the discharge mode, but the level of the input node IN changes from a high level to a low level before the level of the output of the RC filter unit 12 changes (that is, although the RC filter unit 12 is in the discharge state, before the level of the output of the RC filter unit 12 changes from a high level to a low level through discharge, the level of the input node IN has changed from a high level to a low level, and the RC filter unit 12 changes to the charging mode, and the output of the RC filter unit 12 is still at a high level). Therefore, in the disturbance state, the level of the output node OUT does not change with the change of the input node IN. Similarly, when the level of the input node IN changes from a high level to a low level, if the pulse width of the low level is less than the filtering time of the RC filtering unit, at this time, the voltage control unit 14 connects the output of the RC filtering unit to the low level node after the pulse width of the low level ends. Since the level of the input node input is output to the RC filtering unit after the first inverting unit is a high level, the RC filtering unit is in a charging mode, but the level of the input node will change to a high level before the level of the output of the RC filtering unit changes (that is, although the RC filtering unit is in a charging state, the level of the input node has changed from a low level to a high level before the level of the output of the RC filtering unit changes from a low level to a high level through charging). Therefore, in a disturbed state, the output node does not change with the change of the input node.
[0037] Specifically, when the level of the input node changes due to the change of the signal input to the input node, the voltage control unit 14 connects the output of the RC filter unit to the corresponding level node to ensure that the level of the output node OUT changes with the change of the level of the input node when the level of the input node changes due to the change of the signal input to the input node. For example, when the level of the input node IN changes from a low level to a high level, if the pulse width of the high level is greater than the filtering time of the RC filter unit 12, at this time, the level of the input node IN is output to the RC filter unit 12 after passing through the first inverting unit 11. The level is a low level, therefore, the RC filter unit 12 It is a discharge mode, and the voltage control unit 14 connects the output of the RC filter unit 12 to the low-level node after the high-level pulse width reaches the filtering time of the RC filter unit, so as to realize rapid discharge of the RC filter unit 12. On the one hand, it ensures that the level of the output node OUT changes with the change of the level of the input node IN, and on the other hand, it avoids the influence of resistance on the discharge of the RC filter unit 12, resulting in charge accumulation on the RC filter unit 12, and further causing subsequent false triggering (when multiple disturbances accumulate charge on the RC filter unit, and the accumulated charge is too much, the output level of the RC filter unit will be reversed, and the reversal of the output level of the RC filter unit causes false triggering). Similarly, when the level of the input node IN changes from a high level to a low level, if the pulse width of the low level is greater than the filtering time of the RC filter unit 12, at this time, the level of the input of the input node IN is output to the RC filter unit 12 after passing through the first inverting unit 11 as a high level. Therefore, the RC filter unit 12 is in a charging mode, and the output of the RC filter unit 12 is connected to the high level node through the voltage control unit 14 after the pulse width of the low level reaches the filtering time of the RC filter unit, so as to realize rapid charging of the RC filter unit 12, thereby ensuring that the level of the output node OUT changes with the change of the level of the input node.
[0038] In the bidirectional filtering circuit provided by the embodiment of the present disclosure, after the level of the input node changes from a high level to a low level, if the pulse width of the low level is greater than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the high level node after the pulse width of the high level reaches the filtering time of the RC filtering unit; if the pulse width of the low level is less than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the low level node after the pulse width of the high level ends; or after the level of the input node changes from a high level to a low level, if the pulse width of the low level is greater than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the high level node after the pulse width of the low level reaches the filtering time of the RC filtering unit. point is connected, if the pulse width of the low level is less than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit with the low level node after the pulse width of the low level ends, so that when the level of the input node changes due to disturbance, the voltage control unit connects the output of the RC filtering unit with the corresponding level node to ensure that the level of the output of the output node does not change under the disturbance state, and when the level of the input node changes due to the change of the signal input to the input node, the voltage control unit connects the output of the RC filtering unit with the corresponding level node to ensure that the level of the output of the output node changes with the change of the level of the input node when the level of the input node changes due to the change of the signal input to the input node.
[0039] In a specific embodiment, in combination with Figure 2 , the first inverting unit 11 includes a first inverter INV1, the RC filtering unit 12 includes a resistor R and a capacitor C, and the second inverting unit 13 includes a second inverter INV2; the input of the first inverter INV1 is electrically connected to the input node IN, the output of the first inverter INV2 is electrically connected to the input of the RC filtering unit, the first end of the resistor R is electrically connected to the output of the first inverting unit 11, the second end of the resistor R and the first end of the capacitor C are electrically connected to the input of the second inverting unit 13 respectively, the second end of the capacitor C is electrically connected to the low level node, and the input of the second inverter INV2 is electrically connected to the RC filtering unit.
[0040] Specifically, the input of the first inverter INV1 receives the level of the input node IN, and outputs a level opposite to the level of the input node IN to the input of the RC filter unit 12, and the RC filter unit 12 is charged or discharged according to the level output by the first inverter INV1; the second inverter INV3 receives the level output by the RC filter unit, and inverts the level output by the RC filter unit 12 and outputs it to the output node OUT.
[0041] Exemplarily, when the signal at the input node IN is high, the first inverter INV1 outputs a low level; when the signal at the input node IN is low, the first inverter INV1 outputs a high level; when the level output by the first inverter INV1 is low, the RC filter unit 12 is in discharge mode; when the level output by the first inverter INV1 is high, the RC filter unit is in charging mode; when the output of the RC filter unit is connected to the low level node, the second inverter outputs a high level; and when the output of the RC filter unit is connected to the high level node, the second inverter outputs a low level.
[0042] In a specific implementation, the voltage control unit is configured to control the connection between the output of the RC filter unit and the low level node and the connection between the output of the RC filter unit and the high level node according to the signal of the input node and the signal of the output node.
[0043] For details, see Figure 2 The voltage control unit 14 includes a first voltage control unit 141 and a second voltage control unit 142; wherein the first voltage control unit 141 is configured to control the connection between the output of the RC filter unit and the high-level node according to the signal of the input node and the signal of the output node; the second voltage control unit 142 is configured to control the connection between the output of the RC filter unit and the low-level node according to the signal of the input node and the signal of the output node.
[0044] Among them, the first voltage control unit 141 includes a first logic unit and a first switch unit 212, and the second voltage control unit 142 includes a second logic unit and a second switch unit; the first logic unit is configured to output a first control signal to the first switch unit according to a signal of an input node and a signal of an output node; the first switch unit is configured to be turned on or off according to the first control signal; the second logic unit is configured to output the first control signal to the first switch unit according to a signal of an input node and a signal of an output node; the second switch unit is configured to be turned on or off according to the second control signal.
[0045] The first logic unit includes a NOR gate NOR and a third inverter INV3, and the first switch unit includes a first transistor PMOS; the first input end of the NOR gate NOR is electrically connected to the input node IN, the second input end of the NOR gate NOR is electrically connected to the output node OUT, the output end of the NOR gate NOR is electrically connected to the first end of the third inverter INV3, the second end of the third inverter INV3 is electrically connected to the control of the first transistor PMOS, the first end of the first transistor PMOS is electrically connected to the high level node, and the second end of the first transistor PMOS is electrically connected to the first end of the capacitor C.
[0046] The second logic unit includes a NAND gate NAND and a fourth inverter INV4, and the second switch unit includes a second transistor NMOS; the first input end of the NAND gate NAND is electrically connected to the input node IN, the second input end of the NAND gate NAND is electrically connected to the output node OUT, the output end of the NAND gate NAND is electrically connected to the first end of the fourth inverter INV4, the second end of the fourth inverter INV4 is electrically connected to the control end of the second transistor NMOS, the first end of the second transistor NMOS is electrically connected to the first end of the capacitor C, and the second end of the second transistor NMOS is electrically connected to the low level node.
[0047] The first transistor is a PMOS transistor, and the second transistor is an NMOS transistor.
[0048] In a specific embodiment, the level of the input node IN is low, the output node OUT outputs a low level, the NOR gate NOR outputs a high level to the third inverter INV3, and the third inverter INV3 outputs a low level to the first transistor PMOS, the first transistor PMOS is turned on, and the first end of the capacitor C in the RC filter unit 12 is high. When the input node IN changes from a low level to a high level, after passing through the first inverter INV1, the first end of the resistor R input to the RC filter unit 12 (i.e., the first node A) is low, and the capacitor C starts to discharge. In the initial stage of discharge, the first end of the capacitor C of the RC filter unit 12 (i.e., the second node B) still maintains a high level, and the level output by the RC filter unit 12 to the second inverter INV2 is a high level. After being reversed by the second inverter INV2, a low level is output to the output node OUT. At this time, the NOR gate NOR outputs a low level to the third inverter INV3, the third inverter INV3 outputs a high level to the first transistor PMOS, the first transistor PMOS is turned off, the NAND gate NAND outputs a high level to the fourth inverter INV4, the fourth inverter INV4 outputs a low level to the second transistor NMOS, and the second transistor NMOS is also in the off state. When the input node IN changes from a low level to a high level, the first end of the capacitor C outputted through the first inverter INV1 is a low level, and the capacitor C is in a discharge state. When the input node IN changes from a low level to a high level, the duration of the high level output by the first inverter INV1 is greater than the filtering duration of the RC filtering unit 12, that is, the duration of the low level output by the first inverter INV1 is greater than the filtering duration of the RC filtering unit 12, at this time, the first end of the capacitor C of the RC filtering unit 12 changes from a high level to a low level, and the level of the output node OUT of the bidirectional filtering circuit is flipped, that is, from a low level to a high level. At this time, the NAND gate NAND outputs a low level to the fourth inverter INV4, and the fourth inverter IN V4 outputs a high level to the second transistor NMOS, the second transistor NMOS is turned on, the NOR gate NOR outputs a low level to the third inverter INV3, the third inverter INV3 outputs a high level to the first transistor PMOS, the first transistor PMOS is turned off, and the first end of the capacitor C of the RC filter unit 12 is directly electrically connected to the low level node. The first end of the capacitor C of the RC filter unit 12 is fixed to a low level, which on the one hand ensures that the level of the output node OUT changes with the change of the level of the input node IN, and on the other hand avoids the discharge of the RC filter unit due to the influence of the resistance, causing the accumulation of charge on the RC filter unit, and then causing subsequent false triggering.When the input node IN changes from a low level to a high level, the first end of the capacitor C outputted through the first inverter INV1 is at a low level, and the capacitor C is in a discharge state. When the duration of the input node IN changing to a high level is less than the filtering duration of the RC filter unit 12, that is, the duration of the first inverter INV1 outputting a low level is less than the filtering duration of the RC filter unit 12, at this time, the first end of the capacitor C of the RC filter unit 12 still maintains a high level, and the level of the input node IN changes to a low level before the level of the output node OUT is reversed. At this time, the NOR gate NOR outputs a high level, and the third inverter INV3 outputs a low level to the first transistor PMOS. , the first transistor PMOS is turned on, the first end of the capacitor C of the RC filter unit 12 is electrically connected to the high level node, and the first end of the capacitor C of the RC filter unit 12 is at a high level, so that the level output to the output node OUT through the second inverter INV2 is a low level, that is, if the level of the input node changes due to disturbance, the first end of the capacitor of the RC filter unit is electrically connected to the high level node, and the first end of the RC filter unit output to the second inverter is a high level. After being reversed by the second inverter, a low level is output to the output node, thereby realizing rapid charging of the RC filter unit and ensuring that the level of the output node does not change with the change of the level of the input node.
[0049] In another specific embodiment, the level of the input node IN is high, the output node OUT outputs a high level, the NAND gate NAND outputs a low level to the fourth inverter INV4, and the high level is output to the second transistor NMOS through the fourth inverter INV4, the second transistor NMOS is turned on, and the first end of the capacitor C in the RC filter unit 12 is low. When the input node IN changes from a high level to a low level, after passing through the first inverter INV1, the first end (i.e., the first node) of the resistor R input to the RC filter unit 12 is high, and the capacitor C starts to charge. In the initial stage of charging, the first end (i.e., the second node) of the capacitor C of the RC filter unit 12 still maintains a low level, and the first end of the RC filter unit 12 output to the second inverter INV2 is low, and after being reversed by the second inverter INV2, a high level is output to the output node OUT. At this time, the NOR gate NOR outputs a low level to the third inverter INV3, the third inverter INV3 outputs a high level to the first transistor PMOS, the first transistor PMOS is turned off, the NAND gate NAND outputs a high level to the fourth inverter INV4, the fourth inverter INV4 outputs a low level to the second transistor NMOS, and the second transistor NMOS is also in the off state. When the input node IN changes from a high level to a low level, the first end of the capacitor C outputted through the first inverter INV1 is a high level, and the capacitor C is in a charging state. When the input node IN changes to a low level for a time period greater than the filtering time period of the RC filtering unit 12, that is, the first inverter INV1 outputs a high level for a time period greater than the filtering time period of the RC filtering unit 12, at this time, the first end of the capacitor C of the RC filtering unit 12 changes from a low level to a high level, and the level of the output node OUT of the bidirectional filtering circuit is flipped, that is, from a high level to a low level. At this time, the NAND gate NAN D outputs a high level to the fourth inverter INV4, the fourth inverter INV4 outputs a low level to the second transistor NMOS, the second transistor NMOS is turned off, the NOR gate NOR outputs a high level to the third inverter INV3, the third inverter INV3 outputs a low level to the first transistor PMOS, the first transistor PMOS is turned on, the first end of the capacitor C of the RC filtering unit 12 is directly electrically connected to the high level node, the first end of the capacitor C of the RC filtering unit 12 is fixed to a high level, ensuring that the level of the output node OUT changes with the change of the level of the input node IN.When the input node IN changes from a high level to a low level, the first end of the capacitor C outputted through the first inverter INV1 is a high level, and the capacitor is in a charging state. When the duration of the input node IN changing to a low level is less than the filtering duration of the RC filtering unit 12, that is, the duration of the first inverter INV1 outputting a high level is less than the filtering duration of the RC filtering unit 12, the first end of the capacitor C of the RC filtering unit 12 still maintains a low level, and the level of the input node IN changes to a high level before the level of the output node OUT is reversed. At this time, the NOR gate NOR outputs a low level, the third inverter INV3 outputs a high level to the first transistor PMOS, the first transistor PMOS is turned off, the NAND gate NAND outputs a low level, and the fourth The inverter INV4 outputs a high level to the second transistor NMOS, the second transistor NMOS is turned on, the first end of the capacitor C of the RC filter unit 12 is electrically connected to the low level node, the first end of the capacitor C of the RC filter unit 12 is at a low level, so that the level output to the output node OUT after the second inverter INV2 is a high level, that is, if the level of the input node IN changes due to a disturbance, the first end of the capacitor C of the RC filter unit 12 is electrically connected to the low level node, the first end of the RC filter unit 12 output to the second inverter INV2 is a low level, and after being reversed by the second inverter INV2, a high level is output to the output node OUT, ensuring that the level of the output node does not change with the change of the level of the input node.
[0050] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0051] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the serial number of each step / process mentioned above does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. In addition, the serial numbers of the embodiments of the present application mentioned above are only for description and do not represent the advantages and disadvantages of the embodiments.
[0052] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0053] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A bidirectional filtering circuit, characterized in that: It includes an input node, an output node, a first inverting unit, an RC filtering unit, a second inverting unit and a voltage control unit; The first inverting unit, the RC filtering unit, and the second inverting unit are sequentially connected and arranged between the input node and the output node; Wherein, after the level of the input node changes from a low level to a high level, if the pulse width of the high level is greater than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the low level node after the pulse width of the high level reaches the filtering time of the RC filtering unit; if the pulse width of the high level is less than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the high level node after the pulse width of the high level ends; After the level of the input node changes from a high level to a low level, if the pulse width of the low level is greater than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the high level node after the pulse width of the low level reaches the filtering time of the RC filtering unit; if the pulse width of the low level is less than the filtering time of the RC filtering unit, the voltage control unit connects the output of the RC filtering unit to the low level node after the pulse width of the low level ends.
2. The bidirectional filtering circuit according to claim 1, characterized in that: The voltage control unit is configured to control the connection between the output of the RC filter unit and the low level node and the connection between the output of the RC filter unit and the high level node according to the signal of the input node and the signal of the output node.
3. The bidirectional filtering circuit according to claim 1, characterized in that: The first inverting unit includes a first inverter, an input of the first inverter is electrically connected to the input node, and an output of the first inverter is electrically connected to an input of the RC filtering unit.
4. The bidirectional filtering circuit according to claim 1, characterized in that: The RC filter unit includes a resistor and a capacitor, a first end of the resistor is electrically connected to the output of the first inverting unit, a second end of the resistor and a first end of the capacitor are electrically connected to the input of the second inverting unit respectively, and a second end of the capacitor is electrically connected to a low level node.
5. The bidirectional filtering circuit according to claim 1, characterized in that: The second inverting unit includes a second inverter, an input of the second inverter is electrically connected to the output of the RC filter unit, and an output of the second inverter is electrically connected to the output node.
6. The bidirectional filtering circuit according to claim 2, characterized in that: The voltage control unit includes a first voltage control unit and a second voltage control unit; Wherein, the first voltage control unit is used to control the connection between the output of the RC filter unit and the high level node according to the signal of the input node and the signal of the output node; The second voltage control unit is used to control the connection between the output of the RC filter unit and the low-level node according to the signal of the input node and the signal of the output node.
7. The bidirectional filtering circuit according to claim 6, characterized in that: The first voltage control unit includes a first logic unit and a first switch unit, and the second voltage control unit includes a second logic unit and a second switch unit; The first logic unit is configured to output a first control signal to the first switch unit according to the signal of the input node and the signal of the output node; The first switch unit is configured to be turned on or off according to the first control signal; The second logic unit is configured to output a second control signal to the second switch unit according to the signal of the input node and the signal of the output node; The second switch unit is configured to be turned on or off according to the second control signal.
8. The bidirectional filtering circuit according to claim 7, characterized in that: The first logic unit includes a NOR gate and a third inverter, and the first switch unit includes a first transistor; The first input terminal of the NOR gate is electrically connected to the input node, the second input terminal of the NOR gate is electrically connected to the output node, the output terminal of the NOR gate is electrically connected to the first terminal of the third inverter, the second terminal of the third inverter is electrically connected to the control terminal of the first transistor, the first terminal of the first transistor is electrically connected to the high level node, and the second terminal of the first transistor is electrically connected to the output of the RC filtering unit.
9. The bidirectional filtering circuit according to claim 7, characterized in that: The second logic unit includes a NAND gate and a fourth inverter, and the second switch unit includes a second transistor; The first input terminal of the NAND gate is electrically connected to the input node, the second input terminal of the NAND gate is electrically connected to the output node, the output terminal of the NAND gate is electrically connected to the first terminal of the fourth inverter, the second terminal of the fourth inverter is electrically connected to the control terminal of the second transistor, the first terminal of the second transistor is electrically connected to the output of the RC filtering unit, and the second terminal of the second transistor is electrically connected to the low level node.
10. The bidirectional filtering circuit according to claim 7, characterized in that: The first switch unit is a PMOS tube, and the second switch unit is an NMOS tube.
Citation Information
Cited By
Peak filter circuit for keeping pulse width of input signal
CN121000191A
