Pulse removal circuit, voltage detection circuit, and detection method

The pulse removal circuit in AMOLED drive chips addresses detection errors from short duration pulses by setting a cycle threshold, ensuring accurate voltage readings.

JP7536111B2Active Publication Date: 2024-08-19CHIPONE TECHNOLOGY (BEIJING) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022562132
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-04-08
Filing Date
2021-03-03
Publication Date
2024-08-19
Estimated Expiration
2041-03-03

AI Technical Summary

Technical Problem

Existing voltage detection modules in drive chips for active-matrix organic light-emitting diodes (AMOLEDs) suffer from detection errors due to short duration pulses, leading to inaccurate voltage readings.

Method used

A pulse removal circuit comprising a clock generation circuit, counter, and signal output circuit that generates a pulse removal signal based on the duration of input signals, eliminating short pulses by setting a threshold for the number of cycles, thereby improving signal stability and accuracy.

Benefits of technology

The circuit effectively removes short pulses, preventing false triggers and enhancing the accuracy of voltage detection in AMOLED drive chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007536111000002
    Figure 0007536111000002
  • Figure 0007536111000008
    Figure 0007536111000008
  • Figure 0007536111000001
    Figure 0007536111000001
Patent Text Reader

Abstract

The embodiments of the present disclosure provide a pulse rejection circuit, a voltage detection circuit, and a detection method, which belong to the technical field of circuits, and include: a clock generation circuit configured to receive a logic signal and a first input signal and generate a clock signal based on the logic signal and the first input signal; a counter connected to the clock generation circuit and configured to receive the clock signal and count cycles of the clock signal to generate a second input signal; and a signal output circuit connected to the counter and configured to provide the first input signal to the clock generation circuit and generate the pulse rejection signal based on the second input signal, thereby eliminating false triggers caused by short pulses during voltage detection and improving voltage detection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This disclosure claims priority to a Chinese patent application entitled “Pulse Removal Circuit, Voltage Detection Circuit and Detection Method” filed with the China Patent Office on April 8, 2020, bearing application number 202010272031.8, the entire contents of which are incorporated herein by reference.

[0002] [Technical field] The present disclosure relates to the technical field of voltage detection, and in particular to a pulse removal circuit, a voltage detection circuit, a detection method, and an electronic device. [Background technology]

[0003] The demand for driver chips for active-matrix organic light-emitting diodes (AMOLEDs) is increasing, and the driver chips require a voltage detection module that detects voltage in real time and prevents undervoltage or abnormal power-down phenomena.

[0004] At present, the voltage detection module is mainly realized by a hysteresis comparator, which outputs a high level when it detects that the voltage is lower than the lower limit voltage, and outputs a low level when it detects that the voltage is higher than the upper limit voltage, thereby detecting the undervoltage or abnormal power-down phenomenon. However, when there is a short-time pulse and no actual power-down or undervoltage occurs, a detection error will occur. Summary of the Invention [Means for solving the problem]

[0005] An objective of the embodiments of the present disclosure is to provide a pulse removal circuit capable of removing short-time pulse interference, for example, to improve the accuracy of voltage detection.

[0006] An embodiment of the present disclosure provides a short pulse removal circuit, a clock generation circuit configured to receive a logic signal and a first input signal and generate a clock signal based on the logic signal and the first input signal; a counter coupled to the clock generation circuit and configured to receive the clock signal and count a number of cycles of the clock signal to generate the second input signal; and a signal output circuit coupled to the counter and configured to provide the first input signal to the clock generation circuit and to generate a pulse removal signal based on the second input signal.

[0007] Optionally, the clock generation circuitry a first AND gate circuit having one input terminal configured to receive a logic signal and another input terminal configured to receive a first input signal; an oscillator having an enable terminal connected to an output terminal of the first AND gate circuit; and a second AND gate circuit having one input terminal configured to receive the first input signal, the other input terminal connected to the clock pulse output terminal of the oscillator, and an output terminal connected to the counter and configured to output a clock signal to the counter.

[0008] Optionally, the signal output circuitry a multi-input AND gate circuit configured to receive a second input signal from a plurality of input terminals; a first flip-flop having a signal input terminal connected to an output terminal of the multi-input AND gate circuit; a second flip-flop having a signal input terminal connected to the signal output terminal of the first flip-flop; a NAND gate circuit having one input terminal connected to the signal output terminal of the first flip-flop, another input terminal connected to the signal output terminal of the second flip-flop, and an output terminal configured to output the first input signal to the clock generation circuit; a first inverter having an input terminal connected to the output terminal of the NAND gate circuit and an output terminal configured to output a pulse removal signal.

[0009] Selectably, the clock pulse input terminal of the first flip-flop is connected to the clock signal output terminal of the clock generating circuit.

[0010] Optionally, the signal output circuit further includes a second inverter, one end of the second inverter is connected to the clock signal output terminal of the clock generating circuit, and the other end of the second inverter is connected to the clock pulse input terminal of the second flip-flop.

[0011] Optionally, the enable terminals of the first flip-flop and the second flip-flop are configured to receive a logic signal.

[0012] Selectably, the enable terminal of the counter is configured to receive a logic signal.

[0013] Optionally, in the counter, the second input signal comprises a multiple output signal of the counter.

[0014] Optionally, in the signal output circuit, generating a pulse removal signal based on the second input signal includes generating the pulse removal signal when it is determined that all of the multiple output signals of the counter are at a high level.

[0015] An embodiment of the present disclosure further provides a voltage detection circuit, Any of the pulse removal circuits described above; a hysteresis comparator having an output terminal connected to the clock generation circuit and configured to provide the logic signal to the clock generation circuit; a forward input terminal of the hysteresis comparator configured to receive a reference voltage and a reverse input terminal of the hysteresis comparator configured to receive a second voltage signal; The hysteresis comparator is configured to compare the second voltage signal with a reference voltage and output the corresponding logic signal based on a comparison result.

[0016] Optionally, the voltage detection circuit is Further comprising a voltage regulation circuit; an input terminal of the voltage regulation circuit is configured to receive a first voltage signal, and an output terminal of the voltage regulation circuit is connected to a reverse input terminal of the hysteresis comparator; The voltage regulation circuit is configured to step up or step down the first voltage signal to obtain the second voltage signal.

[0017] Optionally, in the voltage regulation circuit, boosting or lowering the first voltage signal includes boosting the first voltage signal by a constant proportional value using a voltage regulator, or lowering the first voltage signal by a constant proportional value using a resistive voltage divider.

[0018] An embodiment of the present disclosure further provides a voltage detection method, comprising: receiving a first voltage signal to be detected by a voltage adjustment circuit and increasing or decreasing the first voltage signal to obtain a second voltage signal; comparing the second voltage signal with a reference voltage by a hysteresis comparator to obtain a logic signal; and removing pulse variants in the logic signal having a duration less than a threshold using a pulse removal circuit to obtain a pulse removed signal.

[0019] An embodiment of the present disclosure further provides an electronic device, which includes the voltage detection circuit described above.

[0020] Optionally, the electronic device includes an AMOLED driver, an LCD driver, a power management device, or a voltage detection device.

[0021] Optionally, the electronic device is a smart mobile device, a display device, a power supply device, a DC power detection device, or an alarm device.

[0022] The technical solution according to the above embodiment of the present disclosure is such that the clock generation circuit generates a clock signal based on a logic signal and a first input signal, the counter counts the number of cycles of the clock signal and outputs a corresponding second input signal, and the signal output circuit outputs a pulse removal signal based on the second input signal, so that when the number of cycles that the logic signal lasts reaches a predetermined number, the pulse removal signal can output a high level, thereby removing the short pulse contained in the logic signal, eliminating false triggers caused by the short pulse, and improving the stability and accuracy of the signal. [Brief description of the drawings]

[0023] In order to more clearly describe the technical solutions of the embodiments of the present disclosure, the following briefly describes the drawings that need to be used in the embodiments of the present disclosure.

[0024] [Figure 1] FIG. 1 is a schematic diagram of a pulse removal circuit according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a waveform diagram of the clock signal and the second input signal. [Diagram 3] FIG. 3 is a schematic diagram of a pulse removal circuit according to another embodiment of the present disclosure. [Figure 4] 4A to 4C are schematic diagrams of signal waveforms at different points in the pulse removal circuit shown in FIG. [Diagram 5] FIG. 5 is a schematic diagram of a voltage detection circuit according to an embodiment of the present disclosure. [Figure 6] FIG. 6 is a schematic diagram of a voltage regulator circuit according to an embodiment of the present disclosure. [Figure 7] FIG. 7 is a waveform diagram of a first voltage signal, a second voltage signal, a logic signal, and a pulse removal signal according to an embodiment of the present disclosure. [Figure 8] FIG. 8 is a flowchart of a voltage detection method according to an embodiment of the present disclosure. [Figure 9] FIG. 9 is a detailed flow chart of step 830 in the corresponding embodiment of FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0025] Hereinafter, the technical solutions of the embodiments of the present disclosure will be described with reference to the drawings of the embodiments of the present disclosure.

[0026] Since like reference numerals and letters denote like items in the following drawings, once an item is defined in one drawing, it does not need to be further defined and interpreted in the subsequent drawings. Also, in the description of this disclosure, the terms "first", "second", etc. are merely for distinguishing and describing purposes, and cannot be understood as indicating or implying relative importance.

[0027] 1 is a schematic diagram of a pulse removal circuit according to an embodiment of the present disclosure. As shown in FIG 1, the pulse removal circuit 100 includes a clock generation circuit 11, a counter 12, and a signal output circuit 13. The counter 12 may be connected to the signal output circuit 13 and the clock generation circuit 11, respectively.

[0028] The clock generation circuit 11 may be configured to receive a logic signal IN and a first input signal S_4, and to generate a clock signal based on the logic signal IN and the first input signal S_4.

[0029] A counter 12 may be connected to the clock generation circuit 11, and the counter 12 receives a clock signal, counts the number of cycles of the clock signal, and generates a second input signal CK <n:0>Here, N+1 represents the number of bits of the signal output by the counter 12. If the signal output by the counter 12 is 4 bits, N is 3.

[0030] Optionally, the second input signal may include a multiple output signal of the counter 12, for example, if the counter 12 is a 4-bit binary counter, it may include a 4-path output signal, i.e., the second input signal may be the 4-path output signal of the counter 12.

[0031] A signal output circuit 13 may be connected to the counter 12, and the signal output circuit 13 provides a first input signal S_4 to the clock generation circuit 11 and a second input signal CK <n:0>The pulse removal signal OUT may be generated based on the

[0032] Optionally, in the signal output circuit, generating a pulse removal signal based on the second input signal includes generating the pulse removal signal when it is determined that all of the multiple output signals of the counter are at a high level. For example, when the counter 12 is a 4-bit binary counter, the pulse removal signal OUT generated based on the second input signal CK<3:0> may be the pulse removal signal OUT generated when it is determined that all of the signals of the four paths of the second input signal are at a high level. In other words, when it is determined that all of the signals of the four paths of the second input signal are at a high level, the pulse removal signal OUT may be at a high level, and the pulse removal signal OUT may be at a low level for the rest of the time. Specifically, the above function can be realized using an AND gate circuit having four input terminals, or the like.

[0033] As described, the embodiment of the present disclosure describes that the counter can set the time length required to trigger the generation of the pulse removal signal, thereby achieving the purpose of removing short pulses with short duration in the circuit, but the embodiment of the present disclosure does not limit how to set the count cycle of the counter and how to connect the counter and the subsequent logic circuit, for example, the counter may use a 3-bit binary counter or a 4-bit binary counter, and the selection is determined by the length of the interference short pulse that needs to be actually removed, and the counter and the subsequent logic circuit, such as an AND gate circuit, may be arbitrarily modified according to the counting requirements. For example, an inverter is added between the output terminal of the first path of the 4-bit binary counter and a 4-input AND gate circuit, thereby realizing the generation of a pulse removal signal when counting up to 0111, that is, the 4-bit binary counter is changed to a 3-bit binary counter. The above examples do not limit the protection scope of the present disclosure.

[0034] Selectively, when both the logic signal IN and the first input signal S_4 are at a high level, the clock generation circuit 11 outputs a clock signal. The clock signal may have a constant cycle.

[0035] The enable terminal of the counter 12 may receive the logic signal IN, so that when the logic signal IN is at a high level, the counter 12 is started. The counter 12 receives the clock signal output by the clock generation circuit 11, and can count the number of cycles of the received clock signal.

[0036] Taking one 4-bit counter 12 as an example, FIG. 2 shows the clock signal and the second input signal CK <n:0>In this embodiment, the clock signal may be an input signal to the counter 12. For example, the counter 12 is a 4-bit binary counter. <3> , C.K. <2> , C.K. <1> , C.K. <0> may be the first path signal, the second path signal, the third path signal and the fourth path signal, respectively, of the output signal (i.e., the second input signal) of counter 12. Before receiving one complete clock cycle, counter 12 outputs 0000, which corresponds to the decimal number 0, upon receiving one complete clock cycle, counter 12 outputs 0001, which corresponds to the decimal number 1, upon receiving two complete clock cycles, counter 12 outputs 0002, which corresponds to the decimal number 2, and thus, when counter 12 receives 15 cycles of the clock signal, counter 12 outputs 1111, which corresponds to the decimal number 15.

[0037] The enable terminal of the signal output circuit 13 may receive the logic signal IN, so that when the logic signal IN is at a high level, the signal output circuit 13 is activated. <n:0>Selectively, when the signal output circuit 13 receives 1111, i.e., when the counter 12 receives 15 cycles of the clock signal, the pulse removal signal OUT output by the signal output circuit 13 may be at a high level, and when the counter 12 receives fewer than 15 cycles, the pulse removal signal OUT output by the signal output circuit 13 may be at a low level.

[0038] For logic signal IN with duration less than 15 cycles, the pulse removal signal OUT output by signal output circuit 13 may be at low level, and if it is greater than 15 cycles, signal output circuit 13 may continue to output high level, so that when logic signal IN is a short pulse with short duration, the signal output circuit 13 will not output high level because the cycle of the short pulse does not reach 15 cycles, thereby removing the interference of the short pulse. Optionally, a pulse cycle less than 10 microseconds may be considered as a short pulse.

[0039] The signal output circuit 13 receives a second input signal CK <n:0>is 1111, i.e., for less than 15 cycles of the logic signal IN, the first input signal S_4 transmitted by the signal output circuit 13 to the clock generation circuit 11 may be at a high level, so that the clock generation circuit 11 continues to output the clock signal, and the signal output circuit 13 transmits the second input signal CK <n:0>is 1111, the first input signal S_4 output by the signal output circuit 13 is at a low level, which causes the clock generation circuit 11 to stop operating, thus reducing the power consumption of the clock generation circuit 11. The counter 12 continues to output 1111, which causes the signal output circuit 13 to continue to output a high level until the logic signal IN at the enable terminal becomes a low level, and both the signal output circuit 13 and the counter 12 stop operating.

[0040] According to practical needs, the number of trigger cycles for which the signal output circuit 13 outputs a high level can be set. Selectively, when the signal output circuit 13 receives 0111, that is, when the counter 12 receives a clock signal of 7 cycles, the signal output circuit 13 can output a high level. Thus, even if there is a short pulse with a duration of less than 7 cycles in the logic signal IN, the signal output circuit 13 will not output a high level, so that the interference of the short pulse can be eliminated.

[0041] The technical solution according to the above embodiment is such that the clock generating circuit 11 generates a clock signal according to the logic signal IN and the first input signal S_4, and the counter 12 counts the number of cycles of the clock signal to generate a corresponding second input signal CK <n:0>and the signal output circuit 13 outputs the second input signal CK <n:0>By being able to output a pulse removal signal OUT based on this, when the number of cycles that the logic signal IN continues to hold reaches a predetermined number, the pulse removal signal OUT can output a high level, thereby removing short pulses contained in the logic signal and further removing false triggers due to short pulses, thereby improving the stability and accuracy of the signal.

[0042] As shown in FIG. 3, the clock generation circuit 11 may include a first AND gate circuit 112, an oscillator (OSC) 111, and a second AND gate circuit 113.

[0043] One input terminal of the first AND gate circuit 112 may be configured to receive the logic signal IN, and the other input terminal may be configured to receive the first input signal S_4, such that when both the logic signal IN and the first input signal S_4 are at a high level, the first AND gate circuit 112 outputs a high level. When the logic signal IN and / or the first input signal S_4 are at a low level, the first AND gate circuit 112 outputs a low level. To distinguish from other AND gate circuits below, the AND gate circuit here is referred to as the first AND gate circuit 112.

[0044] An enable terminal EN of the oscillator 111 may be connected to an output terminal of the first AND gate circuit 112. When the first AND gate circuit 112 outputs a high level, the oscillator 111 operates, and when the first AND gate circuit 112 outputs a low level, the oscillator 111 stops operating. The oscillator 111 may be considered to be a frequency source that outputs a high level (i.e., a clock pulse) according to a certain frequency.

[0045] One input terminal of the second AND gate circuit 113 may be configured to receive the first input signal S_4, the other input terminal may be connected to the clock pulse output terminal of the oscillator 111, and the output terminal of the second AND gate circuit 113 may be connected to the counter 12 and configured to output a clock signal to the counter (COUNTER) 12. When the first input signal S_4 is at a high level, the clock signal output by the second AND gate circuit 113 is the same as the clock pulse output by the oscillator 111, and when the first input signal S_4 is at a low level, the first AND gate circuit 112 outputs a low level, which further causes the oscillator 111 to stop operating, so that the second AND gate circuit 113 also does not output a clock signal.

[0046] As shown in FIG. 3, the signal output circuit 13 may include a multi-input AND gate circuit 131, a first flip-flop 132, a second flip-flop 133, a NAND gate circuit 134, and a first inverter 135.

[0047] The multiple input terminals of the multi-input AND gate circuit 131 receive the second input signal CK <n:0>When multiple input terminals simultaneously receive a high level, the multi-input AND gate circuit 131 can output a high level. For example, in the case of a four-input AND gate circuit, the second input signal CK <n:0>is 1111 (ie, four high levels), the multi-input AND gate circuit 131 outputs a high level.

[0048] If the predetermined logic signal IN is continuously at a high level for seven or more clock cycles and the final output (OUT) is at a high level, the second input signal CK <n:0>0111(CK <3> , C.K. <2> , C.K. <1> , C.K. <0> ) may be used. The signal CK of the first path <3> is inverted by an inverter and then input to a multi-input AND gate circuit 131, thereby generating a second input signal CK <n:0>is 0111, the multi-input AND gate circuit 131 can output a high level.

[0049] A signal input terminal D of the first flip-flop 132 may be connected to the output terminal of the multi-input AND gate circuit 131. The first flip-flop 132 may be a D flip-flop, and at the rising edge of the clock signal, the output terminal Q of the first flip-flop 132 follows the signal of the input terminal D, so that when the multi-input AND gate circuit 131 outputs a high level, the first flip-flop 132 outputs a high level.

[0050] The signal input terminal D of the second flip-flop 133 may be connected to the signal output terminal Q of the first flip-flop 132. When the first flip-flop 132 outputs a high level, the second flip-flop 133 can output a high level. The second flip-flop 133 may be the same as the first flip-flop 132.

[0051] One input terminal of the NAND gate circuit 134 may be connected to the signal output terminal of the first flip-flop 132, the other input terminal of the NAND gate circuit 134 may be connected to the signal output terminal Q of the second flip-flop 133, and the output terminal of the NAND gate circuit 134 may be configured to output the first input signal S_4 to the clock generation circuit 11. When the first flip-flop 132 outputs a high level and the second flip-flop 133 outputs a high level, the NAND gate circuit 134 outputs a low level. Thus, when the number of cycles of the clock signal is less than a preset value (e.g., 15 cycles), the multi-input AND gate circuit 131 outputs a low level, the first flip-flop 132 and the second flip-flop 133 output a low level, and the NAND gate circuit 134 outputs a high level, i.e., the first input signal S_4 is a high level, so that the clock generation circuit continues to operate and output the clock signal.

[0052] The input terminal of the first inverter 135 may be connected to the output terminal of the NAND gate circuit 134, and the output terminal of the first inverter 135 may be configured to output a pulse removal signal. When the NAND gate circuit outputs a low level, the first inverter 135 can output a high level, so that when the number of cycles of the clock signal counted by the counter 12 is greater than a preset value n, i.e., when the time during which the logic signal IN is at a high level is greater than nT (T represents the cycle of the clock signal), the pulse removal signal OUT output by the first inverter 135 is at a high level.

[0053] 3, the clock pulse input terminal CLK of the first flip-flop 132 may be connected to the clock signal output terminal A of the clock generation circuit 11. This maintains timing synchronization of the entire circuit. Optionally, the signal output circuit 13 may further include a second inverter 136, one end of which may be connected to the clock signal output terminal A of the clock generation circuit 11 and the other end of which may be connected to the clock pulse input terminal CLK of the second flip-flop 133.

[0054] The clock signal output by the clock generation circuit 11 and the clock pulse received by the second flip-flop 133 are exactly in opposite phase. The first flip-flop 132 is a rising edge trigger, and the second inverter 136 and the second flip-flop 133 form a falling edge trigger, so that the second flip-flop 133 receives the signal output by the first flip-flop 132 half a cycle later than the first flip-flop 132.

[0055] Selectively, the enable terminals EN of the first flip-flop 132 and the second flip-flop 133 are configured to input a logic signal IN, so that when the logic signal IN is at a high level, the first flip-flop 132 and the second flip-flop 133 can be activated, and when the logic signal IN is at a low level, the first flip-flop 132 and the second flip-flop 133 can be deactivated.

[0056] Figure 4 is a schematic diagram of signal waveforms at different points of the pulse removal circuit 100 shown in Figure 3. As shown in Figure 4, IN represents the logic signal IN, and IN is initially at a low level, and ENOSC is also 0 at this time. Then, IN rises, and the circuit starts timing at the rising edge of IN, at this time, the circuit starts working, ENOSC becomes high level, OSC (oscillator 111) starts, the circuit starts calculating cycles, and when the time that IN is high level exceeds nT (n is a preset number of clock cycles), that is, when OSC outputs the clock for more than n cycles, the output of the multi-input AND gate circuit 131 becomes 1, and then the first flip-flop 132 and the second flip-flop 133 are triggered sequentially, that is, S_2 and S_3 become 1 sequentially, and then the output S_4 of the NAND gate circuit 134 becomes 0 from 1, S_4 generates the OUT signal by the first inverter 135, and becomes 1 from 0, and S_4 makes EN_OSC 0 by the first AND gate circuit 112, at this time, the OUT output is high level, ENOSC is low level, and OSC is turned off. If the duration that IN is high level is less than nT time, the OUT signal is not triggered. When the logic signal IN goes low, the entire circuit stops operating.

[0057] 5 is a schematic diagram of a voltage detection circuit according to an embodiment of the present disclosure. As shown in FIG. 5, the voltage detection circuit includes the pulse removal circuit 100 shown in FIG.

[0058] The output terminal of the hysteresis comparator 200 is connected to the clock generation circuit 11 and is configured to provide a logic signal IN to the clock generation circuit 11. The forward input terminal of the hysteresis comparator 200 is configured to input a reference voltage VREF, and the reverse input terminal is configured to input a second voltage signal Vdet_2. The hysteresis comparator 200 is configured to compare the second voltage signal Vdet_2 with the reference voltage to obtain the logic signal IN.

[0059] The logic signal IN output by the hysteresis comparator 200 may be provided to the counter 12, the first flip-flop 132, and the second flip-flop 133 as an enable signal.

[0060] Alternatively, the hysteresis comparator 200 may be a comparator with a hysteresis loop transmission characteristic. It may be understood as a single-limit comparator with positive feedback. Based on a negative-phase input single-limit voltage comparator, a positive feedback network is introduced to form a negative-phase input hysteresis comparator 200 with a dual threshold. The reference voltage VREF of the hysteresis comparator 200 is a reference voltage inside the chip, and the voltage threshold of the logic signal IN can be adjusted by setting the VREF voltage.

[0061] Before the second voltage signal Vdet_2 increases and approaches the upper limit voltage, the logic signal IN can maintain a high level unchanged. When the second voltage signal Vdet_2 further increases, the logic signal IN can maintain a low level unchanged. When the second voltage signal Vdet_2 decreases, as long as it is greater than the lower threshold, the logic signal IN always maintains a low level unchanged, and only when the second voltage signal Vdet_2 is less than the lower threshold, the logic signal IN becomes a high level. Therefore, even if there is noise and ripple in the second voltage signal Vdet_2, it will not affect the result of the logic signal IN, and the interference of noise and ripple is eliminated.

[0062] Optionally, as shown in FIG. 5, the voltage detection circuit further includes a voltage regulation circuit 300.

[0063] Selectively, the input terminal of the voltage adjustment circuit 300 may be configured to input the first voltage signal Vdet, the output terminal of the voltage adjustment circuit 300 may be connected to the reverse input terminal of the hysteresis comparator 200, and the voltage adjustment circuit 300 may be configured to boost or lower the first voltage signal Vdet to output the second voltage signal Vdet_2.

[0064] Optionally, the first voltage signal Vdet may be regarded as the voltage signal to be detected. The voltage regulator circuit 300 can step up or step down the first voltage signal Vdet. The voltage value of the voltage signal to be detected is usually high or low, exceeding the input range of the downstream hysteresis comparator 200, so the voltage to be detected must be stepped down or stepped up to be adjusted within the input range suitable for the hysteresis comparator 200. When the voltage signal to be detected is high, it is stepped down in a constant proportion by the resistor voltage divider, and when the voltage to be detected is low, it is stepped up in a constant proportion by the voltage regulator. In this way, a second voltage signal Vdet_2 is obtained that is directly proportional to the voltage signal to be detected. If the voltage regulation ratio is a fixed value K, then Vdet / Vdet_2=K, and further ΔVdet / ΔVdet_2=K. Therefore, when the voltage Vdet to be detected changes, the second voltage signal Vdet_2 also changes in a constant proportion.

[0065] Optionally, in the voltage regulation circuit, boosting or lowering the first voltage signal includes boosting the first voltage signal by a voltage regulator at a constant proportional value, or lowering the first voltage signal by resistor division at a constant proportional value. FIG. 6 is a schematic diagram of a voltage regulation circuit 300 according to an embodiment of the present disclosure. As shown in FIG. 6, a first voltage signal Vdet is divided by resistors R1 and R2 to generate a second voltage signal Vdet_2. The formula is Vdet_2=(Vdet*R2) / (R1+R2). The voltage regulation circuit 300 can pre-lower the voltage signal to be detected to expand the voltage detection range.

[0066] FIG. 7 is a waveform diagram of the first voltage signal Vdet, the second voltage signal Vdet_2, the logic signal IN, and the pulse removal signal according to an embodiment of the present disclosure.

[0067] 7, Vdet is a first voltage signal (i.e., the voltage to be detected), the voltage adjustment circuit 300 can adjust Vdet to a second voltage signal Vdet_2 suitable for detection by the hysteresis comparator 200, the hysteresis comparator 200 can compare the second voltage signal Vdet_2 with a reference voltage to output a logic signal IN, and then the pulse removal circuit 100 can remove the erroneous short pulse Tpulse, and finally output one accurate pulse removal signal OUT.

[0068] 8 is a flowchart of a voltage detection method according to an embodiment of the present disclosure. The voltage detection method is applied to a voltage detection circuit according to the corresponding embodiment of FIG 5. The voltage detection method may include the following steps S810 to S830.

[0069] In step S810, the voltage adjustment circuit 300 receives a first voltage signal to be detected, and boosts or lowers the first voltage signal to obtain a second voltage signal.

[0070] In step S820, the second voltage signal is compared with a reference voltage by the hysteresis comparator 200 to obtain a logic signal.

[0071] In step S830, the pulse removal circuit 100 removes pulse variants whose duration is less than a threshold, contained in the logic signal, to obtain a pulse-removed signal.

[0072] Pulse variation refers to a short pulse where the duration of the signal change is below a threshold; for example, a pulse lasting less than 10 microseconds may be considered a short pulse.

[0073] The voltage regulation circuit 300, the hysteresis comparator 200 and the pulse rejection circuit 100 may be realized according to the above embodiments.

[0074] Optionally, as shown in FIG. 9, the step 830 of removing pulse variants having a duration less than a threshold in the logic signal by a pulse removal circuit 100 to obtain a pulse removed signal may include the following steps.

[0075] In step 831, the clock generating circuit 11 receives the logic signal IN and the first input signal S_4, and outputs a clock signal. The first input signal S_4 may be output by the signal output circuit 13.

[0076] When the number of cycles of the clock signal is less than a preset number, the first input signal S_4 output by the signal output circuit 13 is at a high level, and the clock generation circuit 11 receives the high-level logic signal IN and the high-level first input signal S_4 and outputs a clock signal.

[0077] Step 832: The counter 12 receives the clock signal, counts the number of cycles of the clock signal, and outputs the second input signal CK <n:0>Generate.

[0078] The counter 12 can count the number of cycles of the clock signal and output a multi-bit binary digital signal, for example, 0111 represents 7 cycles and 1111 represents 15 cycles. <n:0>is a multi-bit binary digital signal generated by the counter 12. The second input signal CK <n:0>can be input to the signal output circuit 13.

[0079] In step 833, the signal output circuit 13 outputs the second input signal CK <n:0>Based on this, a pulse removal signal is generated.

[0080] The signal output circuit 13 receives a second input signal CK <n:0>After receiving and processing the second input signal CK, the pulse removal signal is generated. <n:0>When the second input signal CK is 1111, the pulse removal signal outputs a high level. <n:0>is less than 1111 (i.e., the number of cycles of the clock signal is less than 15), the pulse rejection signal outputs a low level, thereby rejecting interference due to short-time pulses.

[0081] The voltage detection circuit and the voltage detection method according to the embodiment of the present disclosure are applied to a driving chip of an AMOLED (active matrix organic light emitting diode panel), and may be used to detect a power supply voltage provided from an external source, or may be used to detect a voltage generated inside the chip. The voltage status is monitored in real time, and when the voltage is too low and abnormal power-down occurs, an output is triggered.

[0082] An embodiment of the present disclosure further provides an electronic device, which may include the voltage detection circuit described in the above embodiment. The electronic device may include an AMOLED driving device, an LCD (Liquid Crystal Display) driving device, a power management device, or a voltage detection device.

[0083] Optionally, the electronic device may be a smart mobile device, which may be a smartphone equipped with an AMOLED display screen or an LCD display screen, a smart wearable device, a smart robot, etc.

[0084] The electronic device may further be a display device such as a television, a computer or a display provided with an AMOLED or LCD display screen.

[0085] The electronic device may further be a power supply device (such as a power supply box, an electrical box, a power distribution cabinet, a UPS uninterruptible power supply), a DC power detection device, or an alarm device. The voltage detection circuit according to the embodiment of the present disclosure may be installed in the above-provided electronic device.

[0086] In some embodiments of the present disclosure, the disclosed apparatus and method may be realized in other manners. The above-described apparatus embodiments are merely exemplary, and for example, the flowcharts and block diagrams in the drawings show architecture, functions, and operations that can be realized by the apparatus, method, and computer program product according to some embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, program segment, or part of code, which includes one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the boxes may be executed in a different order from the order marked in the drawings. For example, two consecutive boxes may actually be executed substantially in parallel, or may be executed in a reverse order, which is determined by the related functions. It should be noted that each box in the block diagram and / or flowchart, and combinations of boxes in the block diagram and / or flowchart may be implemented in a dedicated system based on hardware that executes the specified functions or actions, or may be implemented in a combination of dedicated hardware and computer instructions.

[0087] In addition, each functional module in each embodiment of the present disclosure may be integrated together to form a single independent part, each module may exist alone, or two or more modules may be integrated to form a single independent part.

[0088] The functions may be realized in the form of a software functional module and stored in one computer-readable storage medium when sold or used as an independent product. Based on this understanding, the essential or prior art contribution of the technical solution of the present disclosure or a part of the technical solution may be embodied in the form of a software product, and the computer software product is stored in one storage medium and includes a plurality of instructions for making a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method of each embodiment of the present disclosure. The storage medium includes various media that can store program codes, such as U disks, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0089] The embodiments of the present disclosure provide a pulse removal circuit, a voltage detection circuit, a detection method, and an electronic device, and the pulse removal circuit of the embodiments of the present disclosure includes a counter, a clock generation circuit, and a signal output circuit, so that when the number of cycles that the logic signal continues to run reaches a predetermined number, the pulse removal signal can output a high level, thereby removing short pulses contained in the logic signal and further removing false triggers caused by short pulses, thereby improving signal stability and voltage detection accuracy.

Claims

1. 1. A pulse removal circuit, comprising: a clock generation circuit configured to receive a logic signal and a first input signal and generate a clock signal based on the logic signal and the first input signal; a counter coupled to the clock generation circuit and configured to receive the clock signal and count a number of cycles of the clock signal to generate a second input signal; a signal output circuit coupled to the counter and configured to provide the first input signal to the clock generation circuit and to generate a pulse removal signal based on the second input signal; The clock generation circuit includes: a first AND gate circuit having a first input terminal configured to receive the logic signal and a second input terminal configured to receive the first input signal; an oscillator having an enable terminal connected to an output terminal of the first AND gate circuit; a second AND gate circuit having one input terminal connected to the second input terminal of the first AND gate circuit for receiving the first input signal, another input terminal connected to a clock pulse output terminal of the oscillator, and an output terminal connected to the counter for outputting the clock signal to the counter; 1. A pulse removal circuit comprising:

2. The signal output circuit includes: a multi-input AND gate circuit having a plurality of input terminals configured to receive the second input signal; a first flip-flop having a signal input terminal connected to an output terminal of the multi-input AND gate circuit; a second flip-flop having a signal input terminal connected to the signal output terminal of the first flip-flop; a NAND gate circuit having one input terminal connected to the signal output terminal of the first flip-flop, another input terminal connected to the signal output terminal of the second flip-flop, and an output terminal configured to output the first input signal to the clock generation circuit; a first inverter having an input terminal connected to an output terminal of the NAND gate circuit and configured to output the pulse removal signal at an output terminal thereof.

3. 3. The pulse removal circuit according to claim 2, wherein a clock pulse input terminal of said first flip-flop is connected to a clock signal output terminal of said clock generation circuit.

4. 4. The pulse removal circuit according to claim 2 or 3, wherein the signal output circuit further includes a second inverter, one end of the second inverter being connected to a clock signal output terminal of the clock generation circuit, and the other end of the second inverter being connected to a clock pulse input terminal of the second flip-flop.

5. 5. The pulse removal circuit according to claim 2, wherein enable terminals of the first flip-flop and the second flip-flop are configured to receive the logic signal.

6. 6. The pulse removal circuit according to claim 1, wherein an enable terminal of the counter is configured to receive the logic signal.

7. A pulse removal circuit as claimed in any preceding claim, characterized in that in the counter, the second input signal comprises a multiple output signal of the counter.

8. In the signal output circuit, generating a pulse removal signal based on the second input signal includes:

8. The pulse removal circuit according to claim 7, further comprising: generating the pulse removal signal when it is determined that all of the multiple output signals of the counter are at a high level.

9. A voltage detection circuit, A pulse removal circuit according to any one of claims 1 to 8; a hysteresis comparator having an output terminal connected to the clock generation circuit and configured to provide the logic signal to the clock generation circuit; a forward input terminal of the hysteresis comparator configured to receive a reference voltage and a reverse input terminal of the hysteresis comparator configured to receive a second voltage signal; The voltage detection circuit, wherein the hysteresis comparator is configured to compare the second voltage signal with a reference voltage and output the corresponding logic signal based on a comparison result.

10. The present invention further includes a voltage regulation circuit, an input terminal of the voltage regulation circuit being configured to receive the first voltage signal, and an output terminal of the voltage regulation circuit being connected to a reverse input terminal of the hysteresis comparator; 10. The voltage detection circuit of claim 9, wherein the voltage adjustment circuit is configured to step up or step down the first voltage signal to obtain the second voltage signal.

11. In the voltage adjustment circuit, increasing or decreasing the first voltage signal is boosting the first voltage signal by a constant proportional amount with a voltage regulator; or 11. The voltage detection circuit according to claim 10, further comprising: a resistor divider for reducing the first voltage signal by a constant proportional value.

12. A voltage detection method applied to the voltage detection circuit according to any one of claims 9 to 11, comprising: receiving a first voltage signal to be detected by a voltage adjustment circuit and increasing or decreasing the first voltage signal to obtain a second voltage signal; comparing the second voltage signal with a reference voltage by a hysteresis comparator to obtain a logic signal; and removing pulse variants in the logic signal having a duration less than a threshold using a pulse removal circuit to obtain a pulse removed signal.

13. An electronic device comprising the voltage detection circuit according to any one of claims 9 to 11.

14. 14. The electronic device of claim 13, wherein the electronic device comprises an AMOLED driver, an LCD driver, a power management device, or a voltage detection device.

15. 14. The electronic device according to claim 13, wherein the electronic device is a smart mobile device, a display device, a power supply device, a DC power detection device, or an alarm device.

Citation Information

Patent Citations

  • Preventing circuit for malfunction due to unnecessary signal

    JP1988039210A

  • Voltage detection circuit and electronic apparatus

    JP1998253669A

  • Circuit for removing chattering

    JP2003124789A

  • Digital glitch filter

    US20190379368A1

  • Command detection device

    WO2013018350A1