A fast input voltage signal detection circuit and method thereof

By generating and comparing multiple reference signals in the input voltage signal detection circuit, and adjusting the peak signal to reduce misjudgments, the problems of slow response speed and poor anti-interference ability in the existing technology are solved, and fast and accurate power peak detection is achieved. and anti-disturbance capabilities.

CN113109618BActive Publication Date: 2024-10-22CHENGDU MONOLITHIC POWER SYST
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202110304718.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-22
Publication Date
2024-10-22
Estimated Expiration
2041-03-22

AI Technical Summary

Technical Problem

The existing input voltage signal detection circuit has slow response speed and poor anti-interference ability, which makes it easy to misjudge the voltage to decrease or increase when the input voltage signal is slightly disturbed, affecting the stability of the power factor correction circuit.

Method used

By generating a peak signal within the sampling period of the input voltage signal, and comparing the peak signal with multiple reference signals, the peak signal is adjusted to reduce misjudgments, using circuit structures such as a peak sampling and holding circuit and a controllable adder and subtractor. Achieve fast detection and anti-interference.

Benefits of technology

It achieves accurate detection of power supply peak voltage changes in a short period of time, avoids false triggering due to inherent interference in the power supply, and improves the anti-disturbance capability of the detection circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113109618B_ABST
    Figure CN113109618B_ABST
Patent Text Reader

Abstract

Disclosed is a method for detecting an input voltage signal, wherein the input voltage signal has a period, and any period of the input voltage signal is a sampling period. The method comprises: generating a peak signal according to a peak value of the input voltage signal within the sampling period; generating a first reference signal according to the peak signal, wherein the first reference signal is smaller than the peak signal; comparing the input voltage signal with the first reference signal; and within a first time from the moment when the input voltage signal drops to the first reference signal, if the input voltage signal is always smaller than the first reference signal, then reducing the peak signal after the first time ends, wherein the first time is greater than twice the period of the input voltage signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a power factor correction circuit, and in particular to input voltage signal detection of the power factor correction circuit. Background Art

[0002] The power factor correction circuit usually includes an input voltage signal blanking circuit to eliminate the influence of the input voltage signal change on the output power, so that the output power of the power factor correction circuit remains unchanged when the input voltage signal is at different values. Therefore, an input voltage signal detection circuit is usually required, which can detect the peak value of the input voltage signal in real time, and the peak signal quickly feeds back the change of the input voltage signal to the control circuit. However, the existing input voltage signal detection circuit either has a slow response speed or poor anti-interference ability, that is, when the input voltage signal itself has a small disturbance, it is wrongly judged that the input voltage signal decreases or increases.

[0003] Therefore, there is a need for an input voltage signal detection circuit that can quickly feed back the change of the peak value of the input voltage signal to the control circuit without causing misjudgment. Summary of the invention

[0004] An embodiment of the present invention proposes a method for detecting an input voltage signal, wherein the input voltage signal has a period, and any period of the input voltage signal is a sampling period, and the method includes: generating a peak signal according to the peak value of the input voltage signal within the sampling period; generating a first reference signal according to the peak signal, wherein the first reference signal is smaller than the peak signal; comparing the input voltage signal and the first reference signal; and within a first time from the moment when the input voltage signal drops to the first reference signal, if the input voltage signal is always smaller than the first reference signal, then reducing the peak signal after the first time ends, wherein the first time is greater than twice the period of the input voltage signal.

[0005] An embodiment of the present invention provides a method for detecting an input voltage signal, wherein the input voltage signal has a period, and any period of the input voltage signal is a sampling period, and the method includes: generating a peak signal according to the peak value of the input voltage signal within the sampling period; generating a first reference signal and a second reference signal according to the peak signal, wherein the first reference signal is smaller than the peak signal, and the second reference signal is smaller than the first reference signal; comparing the input voltage signal with the first reference signal and the second reference signal; within a first time from the moment when the input voltage signal drops to the first reference signal, if the input voltage signal is always smaller than the first reference signal and is equal to the second reference signal at any time, then after the first time ends, the peak signal is reduced; and within a second time from the moment when the input voltage signal drops to the second reference signal, if the input voltage signal is always smaller than the second reference signal, then after the second time ends, the peak signal is reduced; wherein the first time is greater than twice the period of the input voltage signal, and the second time is greater than the period of the input voltage signal and less than twice the period of the input voltage signal.

[0006] An embodiment of the present invention proposes an input voltage signal detection circuit, wherein the input voltage signal has a period, and any period of the input voltage signal is a sampling period. The input voltage signal detection circuit includes: a peak sampling and holding circuit, which receives the input voltage signal and generates a peak signal according to the peak value of the input voltage signal within the sampling period, and the peak sampling and holding circuit also receives a first adjustment signal and a second adjustment signal to adjust the peak signal; a first adjustment circuit, which receives the input voltage signal and a first reference signal and generates a first adjustment signal according to the input voltage signal and the first reference signal; and a second adjustment circuit, which receives the input voltage signal and the second reference signal and generates a second adjustment signal according to the input voltage signal and the second reference signal; wherein the first reference signal is smaller than the peak signal, and the second reference signal is smaller than the first reference signal.

[0007] An embodiment of the present invention provides an input voltage signal detection circuit, wherein the input voltage signal has a period, and includes: an adding comparator, having a first input terminal receiving an input voltage signal, a second input terminal receiving a peak signal, and an output terminal outputting an addition signal; a first comparator, having a first input terminal receiving an input voltage signal, a second input terminal receiving a first reference signal, and an output terminal outputting a first enable signal, wherein the first reference signal is smaller than the peak signal; a first timing circuit, receiving the first enable signal and generating a first subtraction signal according to the first enable signal; a second comparator, having a first input terminal receiving an input voltage signal, a second input terminal receiving a second reference signal, and an output terminal outputting a first enable signal. signal, and the output terminal outputs a second enable signal, the second reference signal is less than the first reference signal; a second timing circuit receives the second enable signal and generates a second subtraction signal according to the second enable signal; a controllable adder-subtractor receives the addition signal, the first subtraction signal and the second subtraction signal, and outputs a peak digital signal; and a digital-to-analog converter receives the peak digital signal and generates a peak signal according to the peak digital signal; wherein when the addition signal is in a first state, at each valid edge of the clock signal, the peak digital signal carries, and when the first subtraction signal or the second subtraction signal is in the first state, at each valid edge of the clock signal, the peak digital signal delinquencies.

[0008] The input voltage signal detection circuit provided by the present invention can detect the change of the peak voltage of the power supply in a relatively short time, and can avoid false triggering caused by the inherent interference of the power supply itself. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to better understand the present invention, embodiments of the present invention will be described according to the following drawings, which are only for example. The drawings generally only show some features of the embodiments, and the drawings are not necessarily drawn to scale.

[0010] Figure 1a The waveform diagram of the symmetrical steamed bun wave signal VS is given.

[0011] Figure 1b The waveform diagram of the asymmetric steamed bun wave signal VA is given.

[0012] Figure 2 A circuit diagram of a power factor correction circuit 200 with an input voltage signal detection function is given.

[0013] Figure 3a A circuit diagram of an input voltage signal detection circuit 301 according to an embodiment of the present invention is provided.

[0014] Figure 3b A circuit diagram of an input voltage signal detection circuit 302 according to another embodiment of the present invention is provided.

[0015] Figure 4 The waveform diagram of the peak signal VP and the first reference signal VTH1 is given when there is a disturbance value ΔV between the peak-to-peak values ​​of two adjacent cycles of the input voltage signal MAIN according to an embodiment of the present invention.

[0016] Figure 5 A waveform diagram of the peak signal VP and the first reference signal VTH1 when the input voltage signal MAIN increases according to an embodiment of the present invention is provided.

[0017] Figure 6 The waveform diagram of the peak signal VP and the first reference signal VTH1 when the input voltage signal MAIN decreases according to an embodiment of the present invention is given.

[0018] Figure 7 A method 700 for detecting an input voltage signal according to an embodiment of the present invention is provided.

[0019] Figure 8a A circuit diagram of an input voltage signal detection circuit 801 according to an embodiment of the present invention is given.

[0020] Figure 8b A circuit diagram of an input voltage signal detection circuit 802 according to an embodiment of the present invention is given.

[0021] Fig. 9 The waveform diagrams of the peak signal VP, the first reference signal VTH1 and the second reference signal VTH2 when the input voltage signal MAIN remains unchanged according to an embodiment of the present invention are given.

[0022] Fig.10 Waveforms of the peak signal VP, the first reference signal VTH1 and the second reference signal VTH2 when the input voltage signal MAIN decreases according to an embodiment of the present invention are shown.

[0023] Fig.11 A waveform diagram of the peak signal VP, the first reference signal VTH1 and the second reference signal VTH2 when the input voltage signal MAIN decreases according to another embodiment of the present invention is given.

[0024] Fig.12 A method 1200 for detecting a peak value change of an input voltage signal MAIN according to an embodiment of the present invention is provided.

[0025] The same reference numbers in different schematic drawings indicate the same or similar parts or features. DETAILED DESCRIPTION

[0026] Specific embodiments of the present invention will be described in detail below. It should be noted that the embodiments described herein are only for illustration and are not intended to limit the present invention. In the following description, a large number of specific details are set forth in order to provide a thorough understanding of the present invention. However, it is apparent to those of ordinary skill in the art that these specific details need not be adopted to implement the present invention. In other embodiments, in order to avoid confusing the present invention, known circuits, materials or methods are not specifically described.

[0027] In the specification and claims of the present disclosure, if words such as "left, right, inside, outside, up, down, above, below" are used, they are only for the convenience of description and do not indicate the necessary or permanent relative position of the components / structures. Those skilled in the art should understand that such words are interchangeable under appropriate circumstances, for example, so that the embodiments of the present disclosure can still operate in directions different from those described in the present specification. In the context of the present disclosure, when a layer / element is referred to as being "on" another layer / element, the layer / element may be directly on the other layer / element, or there may be an intermediate layer / element between them. In addition, the term "coupled" means connected in a direct or indirect electrical or non-electrical manner. "One / this / that" is not used to specifically refer to the singular, but may cover the plural form. The phrases "one embodiment", "embodiment", "an example", and "example" appearing in various places throughout the specification do not necessarily refer to the same embodiment or example. Those of ordinary skill in the art should understand that the various specific features, structures or parameters, steps, etc. disclosed in one or more embodiments of the present disclosure can be combined in any appropriate manner. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0028] Figure 1a The waveform of the symmetrical steamed-bun wave signal VS is given. Ideally, the period is 20ms, and the peak value is 110V or 220V. The grid power is rectified by the rectifier bridge to form a symmetrical steamed-bun wave signal VS. The period of the symmetrical steamed-bun wave signal VS is 10ms, and the peak value is 110V or 220V.

[0029] Figure 1b The waveform of the asymmetric steamed-bun wave signal VA is given. Due to the disturbance in the power grid, the power grid power supply is usually a non-standard sinusoidal alternating current. Therefore, in the actual circuit, the steamed-bun wave signal formed after the power grid power supply is rectified is asymmetric, such as Figure 1b As shown, the difference between two adjacent peak values ​​is defined as the disturbance value ΔV. Due to the existence of the disturbance value ΔV, it becomes more difficult to quickly detect the transient changes of the steamed bun wave signal. It is necessary to distinguish between disturbances and transient changes to prevent disturbances from being misjudged as transient changes.

[0030] Figure 2A circuit diagram of a power factor correction circuit 200 with an input voltage signal detection function is given. The power factor correction circuit 200 includes a boost circuit and a boost control chip 21, wherein the boost circuit includes an inductor LP, a first switch tube S1, a second switch tube S2, and an output capacitor CO. The grid power supply VAC is rectified by a rectifier bridge BD, and after voltage division by a first resistor R1 and a second resistor R2, an input voltage signal MAIN is generated to the boost control chip 21. The boost control chip 21 has an input voltage signal detection circuit to detect the input voltage signal MAIN, and generates a control signal TON according to the input voltage signal MAIN to control the conduction time of the first switch tube S1. Rapid detection of transient changes in the input voltage signal MAIN can timely adjust the conduction time according to changes in the input voltage signal MAIN, thereby ensuring the stability of the circuit.

[0031] Figure 3a A circuit diagram of an input voltage signal detection circuit 301 according to an embodiment of the present invention is given. The input voltage signal detection circuit 301 includes a peak sampling and holding circuit 31 and a first adjustment circuit 32. Figure 3a In the illustrated embodiment, the input voltage signal MAIN is a steamed bun wave with a period T and a peak value. Any period of the input voltage signal MAIN is defined as a sampling period, and the peak sampling and holding circuit 31 generates a peak signal VP according to the peak value of the input voltage signal MAIN within the sampling period, and the peak signal VP is maintained at a first voltage value V1, wherein the first voltage value V1 represents the peak value of the input voltage signal MAIN within the above sampling period. The first adjustment circuit 32 receives the input voltage signal MAIN and the first reference signal VTH1, and generates a first adjustment signal RS1 to the peak sampling and holding circuit 31 according to the input voltage signal MAIN and the first reference signal VTH1 to adjust the peak signal VP, wherein the first reference signal VTH1 is generated according to the peak signal VP. In one embodiment, the voltage difference between the first reference signal VTH1 and the peak signal VP is between 5mV and 100mV.

[0032] exist Figure 3a In the embodiment, the peak sampling and holding circuit 31 includes an operational amplifier PH, a sampling diode D, a holding capacitor C1 and a controlled switch M1. The operational amplifier PH has a first input terminal for receiving an input voltage signal MAIN, a second input terminal and an output terminal. The sampling diode D has an anode terminal coupled to the output terminal of the operational amplifier PH, and a cathode coupled to the second input terminal of the operational amplifier PH and outputs a peak signal VP. The holding capacitor C1 is coupled between the cathode terminal of the sampling diode D and the reference ground GND. The controlled switch M1 is coupled between the cathode terminal of the sampling diode D and the reference ground GND, and is turned on or off under the control of the first adjustment signal RS1 to adjust the peak signal VP.

[0033] exist Figure 3a In the embodiment, the first adjustment circuit 32 includes a first comparator CO1 and a first timing circuit. The first comparator CO1 compares the input voltage signal MAIN with the first reference signal VTH1, and generates a first enable signal EN1 to the first timing circuit, wherein when the input voltage signal MAIN is less than the first reference signal VTH1, the first enable signal EN1 is in a first state, and when the input voltage signal MAIN is greater than the first reference signal VTH1, the first enable signal EN1 is in a second state. The first timing circuit receives the first enable signal EN1, and generates a first adjustment signal RS1 according to the first enable signal EN1. If the time that the first enable signal EN1 is in the first state is greater than the first time T1, the first adjustment signal RS1 jumps to the first state after the first time T1 ends to turn on the controlled switch M1, and the peak signal VP decreases, wherein the first time T1 is greater than twice the period T of the input voltage signal MAIN, that is, T1>2T. If the time that the first enable signal EN1 is in the first state is less than the first time T1, the first adjustment signal RS1 is always in the second state, and the peak signal VP remains unchanged or increases.

[0034] Figure 3bA circuit diagram of an input voltage signal detection circuit 302 according to another embodiment of the present invention is given. The input voltage signal detection circuit 302 includes a first oscillator OSC_ADD, a second oscillator OSC_SUB, a comparator DA, a comparator DS1, a controllable adder-subtractor, a first timing circuit and a digital-to-analog converter DAC. The first oscillator OSC_ADD generates an addition clock signal CLKA to the controllable adder-subtractor. The comparator DA has a first input terminal for receiving an input voltage signal MAIN, a second input terminal for receiving a peak signal VP, and an input terminal for outputting an addition signal ADD to the controllable adder, wherein if the input voltage signal MAIN is greater than the peak signal VP, the addition signal ADD is in a first state, and if the input voltage signal MAIN is less than the peak signal VP, the addition signal ADD is in a second state. The comparator DS1 has a first input terminal for receiving an input voltage signal MAIN, a second input terminal for receiving a first reference signal VTH1, and an input terminal for outputting a first enable signal EN1 to a controllable adder, wherein if the input voltage signal MAIN is less than the first reference signal VTH1, the first enable signal EN1 is in a first state, and if the input voltage signal MAIN is greater than the first reference signal VTH1, the first enable signal EN1 is in a second state. The first timing circuit receives the first enable signal EN1 and generates a first subtraction signal SUB1 to the controllable adder and subtractor according to the first enable signal EN1, wherein if the time that the first enable signal EN1 is in the first state is greater than the first time T1, the first subtraction signal SUB1 jumps to the first state after the first time T1 ends. The controllable adder and subtractor receives the addition signal ADD and the first subtraction signal SUB1, and outputs a peak digital signal DVP. When the addition signal ADD is in the first state, the peak digital signal DVP carries at each valid edge of the addition clock signal CLKA. When the first subtraction signal SUB1 is in the first state, the peak digital signal DVP abdicates at each valid edge of the subtraction clock signal CLKS. In one embodiment, a carry of the peak digital signal DVP indicates that the peak digital signal DVP is increased by one, and abdicate of the peak digital signal DVP indicates that the peak digital signal DVP is decreased by one. In one embodiment, the peak digital signal DVP is an n-bit digital signal, where n is a natural number greater than or equal to 1, and the size of n determines the resolution of the peak signal VP. The digital-to-analog conversion circuit DAC receives the peak digital signal DVP and converts it into a peak signal VP.

[0035] Figure 4-Figure 6 The waveform diagrams of the peak signal VP and the first reference signal VTH1 when the input voltage signal MAIN is in different situations according to an embodiment of the present invention are given. Figure 4-Figure 6In the example, the input voltage signal MAIN is a steamed wave signal with a period T of 10ms. A peak signal VP is generated according to the peak value of the input voltage signal MAIN within the sampling period, and a first reference signal VTH1 is generated according to the peak signal VP, wherein the first reference signal VTH1 is less than the peak signal VP, and the first time T1 is greater than twice the period T of the input voltage signal MAIN, that is, T1>2T.

[0036] Figure 4 The waveform diagram of the peak signal VP and the first reference signal VTH1 is given when there is a disturbance value ΔV between the peak-to-peak values ​​of two adjacent cycles of the input voltage signal MAIN according to an embodiment of the present invention. Figure 4 In the example, it is assumed that the period from 0 to 10ms is the sampling period, and the peak signal VP is generated according to the peak value of the input voltage signal MAIN in the sampling period. The peak signal VP is maintained at a first voltage value V1, wherein the first voltage value V1 represents the peak value of the input voltage signal MAIN in the sampling period from 0ms to 10ms. In the first time T1 starting from the moment when the input voltage signal MAIN drops to be equal to the first reference signal VTH1 (time t4a), that is, from time t4a to time t4c, the input voltage signal MAIN is equal to the first reference signal VTH1 at time t4b, and Figure 4 In the example, since the first peak value of the input voltage signal MAIN after time t4b is the same as the peak value of the input voltage signal MAIN in the sampling period, the peak value signal VP remains unchanged.

[0037] Figure 5 The waveform diagram of the peak signal VP and the first reference signal VTH1 when the input voltage signal MAIN increases according to an embodiment of the present invention is given. Figure 5In the example, it is assumed that the period from 0 to 10 ms is the sampling period, and the peak signal VP is generated according to the peak value of the input voltage signal MAIN in the sampling period, and the peak signal VP is maintained at the first voltage value V1, wherein the first voltage value V1 represents the peak value of the input voltage signal MAIN in the sampling period from 0 ms to 10 ms. At time t5a, the input voltage signal MAIN drops to the first reference signal VTH1, and within the first time T1 from the moment when the input voltage signal MAIN drops to the first reference signal VTH1 (time t5a), that is, within the time from time t5a to time t5e, because the input voltage signal MAIN is equal to the first reference signal VTH1 again at time t5b, the peak signal VP increases from the first voltage value V1 to the second voltage value V2, wherein the second voltage value V2 represents the first peak value of the input voltage signal MAIN after the input voltage signal MAIN is equal to the first reference signal VTH1 again, that is, the first peak value of the input voltage signal MAIN after time t5b. The above operation is repeated in the next cycle of the input voltage signal MAIN (the cycle from 10ms to 20ms), and the peak signal VP will change from the first voltage value V1' to the second voltage value V2', wherein the first voltage value V1' represents the peak value of the input voltage signal MAIN in the cycle from 10ms to 20ms, and the second voltage value V2' represents the first peak value of the input voltage signal MAIN after the input voltage signal MAIN is equal to the first reference signal VTH1 again, that is, after time t5d.

[0038] Figure 6 The waveform diagram of the peak signal VP and the first reference signal VTH1 when the input voltage signal MAIN becomes smaller according to an embodiment of the present invention is given. Assuming that the period from 0 to 10ms is a sampling period, the peak signal VP is generated according to the peak value of the input voltage signal MAIN in the sampling period, and the peak signal VP is maintained at a first voltage value V1, wherein the first voltage value V1 represents the peak value of the input voltage signal MAIN in the sampling period from 0ms to 10ms. In the first time T1 from the moment when the input voltage signal MAIN drops to the first reference signal VTH1 (moment t6a), that is, from moment t6a to moment t6b, because the input voltage signal MAIN is always smaller than the first reference signal VTH1, after the first time T1 ends, the peak signal VP decreases from the first voltage value V1. Figure 6 In the embodiment, the peak signal VP decreases from the first voltage value V1 to the second voltage value V2, wherein the second voltage value V2 represents the first peak value of the input voltage signal MAIN after the first time T1 ends.

[0039] Figure 7 A method 700 for detecting an input voltage signal according to an embodiment of the present invention is provided. The method 700 comprises steps ST1-ST5. Figure 3aThe input voltage signal detection circuit 301 and Figure 3b The input voltage detection circuit 302 shown in the figure illustrates the method 700. The input voltage signal MAIN has a period, and any period of the input voltage signal MAIN is a sampling period. In step ST1, a peak signal VP is generated according to the peak value of the input voltage signal MAIN in the sampling period. In one embodiment, the input voltage signal MAIN is an asymmetric steamed bun wave. In step ST2, a first reference signal VTH1 is generated according to the peak signal VP, wherein the first reference signal VTH1 is less than the peak signal VP. In one embodiment, the voltage difference between the first reference signal VTH1 and the peak signal VP is between 5mV and 100mV. In step ST3, the input voltage signal MAIN is compared with the first reference signal VTH1. In step ST4, within the first time T1 from the moment when the input voltage signal MAIN drops to the first reference signal VTH1, if the input voltage signal MAIN is always less than the first reference signal VTH1, then after the first time T1 ends, the peak signal VP is reduced. In one embodiment, within the first time T1 from the moment when the input voltage signal MAIN drops to the first reference signal VTH1, if the input voltage signal MAIN is always less than the first reference signal VTH1, then after the first time T1 ends, the peak signal VP is reduced from the first voltage value V1 to the second voltage value V2, wherein the first voltage value V1 represents the peak value of the input voltage signal MAIN in the sampling period, and the second voltage value V2 represents the first peak value of the input voltage signal MAIN after the first time T1 ends. Step ST5, within the first time T1 from the moment when the input voltage signal MAIN drops to the first reference signal VTH1, if the input voltage signal MAIN is equal to the first reference signal VTH1 at any time, the peak signal VP is kept unchanged or increased. In one embodiment, within a first time T1 from the moment when the input voltage signal MAIN drops to the first reference signal VTH1, if the input voltage signal MAIN is equal to the first reference signal VTH1 at any time, the peak signal VP will be changed from the first voltage value V1 to the second voltage value V2, wherein the first voltage value V1 represents the peak value of the input voltage signal MAIN within the sampling period, and the second voltage value V2 represents the first peak value of the input voltage signal MAIN after the input voltage signal MAIN is equal to the first reference signal VTH1 at any time, and the first time T1 is greater than twice the period T of the input voltage signal MAIN, that is, T1>2T.

[0040] Figure 8a A circuit diagram of an input voltage signal detection circuit 801 according to an embodiment of the present invention is given. Figure 3a Compared with the voltage detection circuit 301 shown, Figure 8aThe input voltage signal detection circuit 801 shown in the figure also includes a second adjustment circuit 83 and a logic circuit. The second adjustment circuit 83 receives the input voltage signal MAIN and the second reference signal VTH2 and generates a second adjustment signal RS2 to the peak sampling and holding circuit 81 according to the input voltage signal MAIN and the second reference signal VTH2 to adjust the peak signal VP. Figure 8a In the embodiment, the second adjustment circuit 83 includes a second comparator CO2 and a second timing circuit, wherein the second comparator CO2 compares the input voltage signal MAIN and the second reference signal VTH2, and outputs a second enable signal EN2 at the output terminal. The second timing circuit receives the second enable signal EN2, and outputs a second adjustment signal RS2. The logic circuit receives the first adjustment signal RS1 and the second adjustment signal RS2, and generates an adjustment signal RS according to the first adjustment signal RS1 and the second adjustment signal RS2 to control the on and off of the controlled switch M1, wherein when either the first adjustment signal RS1 or the second adjustment signal RS2 is valid, the adjustment signal RS is valid to turn on the controlled switch M1. In one embodiment, when the first adjustment signal RS1 is in the first state or the second adjustment signal RS2 is in the first state, the adjustment signal RS is in the first state to turn on the controlled switch M1. The working principle and Figure 3a The peak sampling and holding circuit 31 shown is the same as the first adjustment circuit 32, and will not be described again here. The working principle of the second adjustment circuit 83 is as follows: the second comparator CO2 receives the input voltage signal MAIN and the second reference signal VTH2 and generates the second enable signal EN2, wherein when the input voltage signal MAIN is less than the second reference signal VTH2, the second enable signal EN2 is in the first state, and when the input voltage signal MAIN is greater than the second reference signal VTH2, the second enable signal EN2 is in the second state. When the input voltage signal MAIN drops to the second reference signal VTH2, the second enable signal EN2 jumps to the first state, and the second timing circuit times the second enable signal EN2. If the time that the second enable signal EN2 is in the first state is greater than the second time T2, the second adjustment signal RS2 jumps to the first state after the second time T2 ends, thereby controlling the controlled switch M1 to turn on, and the peak signal VP decreases. If the time that the second enable signal EN2 is in the first state is less than the second time T2, the second adjustment signal RS2 remains in the second state, and the peak signal VP remains unchanged, wherein the second reference signal VTH2 is less than the first reference signal VTH1. In one embodiment, the second reference signal VTH2 is greater than the disturbance value ΔV of the input voltage signal MAIN. The second time T2 is greater than the period T of the input voltage signal MAIN and less than twice the period T of the input voltage signal MAIN, ie, T<T2<2T.

[0041] Figure 8bA circuit diagram of an input voltage signal detection circuit 802 according to an embodiment of the present invention is given. Figure 3b Compared with the input voltage signal detection circuit 302 shown in FIG. Figure 8b The input voltage signal detection circuit 802 shown in the figure also includes a second comparator DS2, a second timing circuit and a logic circuit. The working principle of the first comparator DS1 and the first timing circuit can be referred to in Figure 3b The description of the input voltage signal detection circuit 302 shown is not repeated here for the sake of simplicity. The second comparator DS2 has a first input terminal for receiving the input voltage signal MAIN, a second input terminal for receiving the second reference signal VTH2, and compares the input voltage signal MAIN with the second reference signal VTH2 to generate a second enable signal EN2, wherein when the input voltage signal MAIN is less than the second reference signal VTH2, the second enable signal EN2 is in a first state, and when the input voltage signal MAIN is greater than the second reference signal VTH2, the second enable signal EN2 is in a second state. The second timing circuit times the second enable signal EN2, and if the time when the second enable signal EN2 is in the first state is greater than the second time T2, the second subtraction signal SUB2 jumps to the first state after the second time T2 ends. The logic circuit receives the first subtraction signal SUB1 and the second subtraction signal SUB2 and generates a subtraction signal SUB according to the first subtraction signal SUB1 and the second subtraction signal SUB2, wherein when the first subtraction signal SUB1 is in the first state or the second subtraction signal SUB2 is in the first state, the subtraction signal SUB is in the first state. When the subtraction signal SUB is in the first state, the controllable adder-subtractor controls the peak digital signal DVP to be deasserted at each valid edge of the subtraction clock signal CLKS.

[0042] Figure 9-11 The waveform diagrams of the peak signal VP, the first reference signal VTH1 and the second reference signal VTH2 under different conditions of the input voltage signal MAIN according to an embodiment of the present invention are given. Figure 9-11In the embodiment, the input voltage signal MAIN is an asymmetric steamed wave signal with a period T of 10ms, wherein a peak signal VP is generated according to the input voltage signal MAIN, and a first reference signal VTH1 is generated according to the peak signal VP, the first reference signal VTH1 is smaller than the peak signal VP, and the second reference signal VTH2 is smaller than the first reference signal VTH1. The first time T1 is greater than twice the period T of the input voltage signal MAIN, and the second time T2 is greater than the period T of the input voltage signal MAIN and smaller than twice the period T of the input voltage signal MAIN, that is, T<T2<2T<T1. In one embodiment, the first reference signal VTH1 is 10mV smaller than the peak signal VP. In another embodiment, the voltage difference between the first reference signal VTH1 and the peak signal VP is between 5mV-100mV. In one embodiment, the second reference signal VTH2 is adjustable. In another embodiment, the value of the second reference signal VTH2 is set according to the disturbance value ΔV of the input voltage signal MAIN, and the voltage value of the second reference signal VTH2 is greater than the disturbance value ΔV of the input voltage signal MAIN.

[0043] Fig. 9 The waveform diagram of the peak signal VP, the first reference signal VTH1 and the second reference signal VTH2 according to an embodiment of the present invention is given when the input voltage signal MAIN remains unchanged. Fig.10 In the example, it is assumed that the period from 0 to 10ms is the sampling period. At time t9a, the input voltage signal MAIN drops to the first reference signal VTH1. At time t9b, the input voltage signal MAIN drops to the second reference signal VTH2. Within the second time T2 starting from the moment the input voltage signal MAIN drops to the second reference signal VTH2, that is, from time t9b to time t9d, at time t9c, the input voltage signal MAIN is equal to the second reference signal VTH2, and the peak signal VP remains unchanged at the first voltage value V1, wherein the first voltage value V1 represents the peak value of the input voltage signal MAIN within the period of 0-10ms. Within the first time T1 starting from the moment the input voltage signal MAIN drops to the first reference signal VTH1, that is, from time t9a to time t9f, at time t9e, the input voltage signal MAIN is equal to the first reference signal VTH1, and the peak signal VP remains unchanged at the first voltage value V1 or increases. Fig. 9 In the example, the peak signal VP changes from a first voltage value V1 to a second voltage value V2, wherein the first voltage value V1 represents the peak value of the input voltage signal MAIN in the sampling period, and the second voltage value V2 represents the first peak value of the input voltage signal MAIN after it is equal to the first reference signal VTH1 at time t9e. Fig. 9 In the example, since the first peak value of the input voltage signal MAIN after time t9e is equal to the peak value in the sampling period, the peak signal VP remains unchanged.

[0044] Fig.10 The waveform diagram of the peak signal VP, the first reference signal VTH1 and the second reference signal VTH2 when the input voltage signal MAIN decreases according to an embodiment of the present invention is given. Fig.10 In the process, since the input voltage signal MAIN remains unchanged during the period of 0-20ms, the peak signal VP remains unchanged. Fig. 9 The same is not repeated here. Assuming that the period from 20ms to 30ms is the sampling period, at time t10a, the input voltage signal MAIN drops to the first reference signal VTH1, and at time t10b, the input voltage signal MAIN drops to the second reference signal VTH2. In the second time T2 starting from the moment when the input voltage signal MAIN drops to the second reference signal VTH2, that is, from time t10b to time t10d, the input voltage signal MAIN is equal to the second reference signal VTH2 at time t10c, so the peak signal VP remains unchanged. Fig.10 In the embodiment, the peak signal VP remains unchanged at the first voltage value V1, wherein the first voltage value V1 represents the peak value of the input voltage signal MAIN in the period of 20ms-30ms. During the first time T1 starting from the moment when the input voltage signal MAIN drops to the first reference signal VTH1, that is, from the moment t10a to the moment t10e, the input voltage signal MAIN is always less than the first reference signal VTH1, and the peak signal VP decreases after the first time T1 ends, that is, the peak signal VP starts to decrease at the moment t10e. Fig.10 In the embodiment, the peak signal VP decreases to be equal to the input voltage signal MAIN and then remains at a second voltage value V2, wherein the second voltage value V2 represents a first peak value of the input voltage signal MAIN after the first time T1 ends.

[0045] Fig.11 The waveform diagram of the peak signal VP, the first reference signal VTH1 and the second reference signal VTH2 when the input voltage signal MAIN decreases according to another embodiment of the present invention is given. Fig.11 In the example, at time t11a, the input voltage signal MAIN drops to the first reference signal VTH1, and at time t11b, the input voltage signal MAIN drops to the second reference signal VTH2. During the second time T2 starting from the time when the input voltage signal MAIN is equal to the second reference signal VTH2, that is, from time t11b to time t11c, the input voltage signal MAIN is always less than the second reference signal VTH2. After the second time T2 ends, that is, at time t11c, the peak signal VP decreases. Fig.12In the embodiment, the peak signal VP decreases from the first voltage value V1 to the input voltage signal MAIN and remains at the second voltage value V2, wherein the second voltage value V2 represents the first peak value of the input voltage signal MAIN after the second time T2 ends. The above operation is repeated in the next cycle of the input voltage signal MAIN (a cycle from 30ms to 40ms).

[0046] Fig.12 A method 1200 for detecting a peak value change of an input voltage signal MAIN according to an embodiment of the present invention is provided. The method 1200 comprises steps SP1-SP7. Figure 8a The input voltage signal detection circuit 801 and Figure 8bThe input voltage signal detection circuit 802 shown in the figure illustrates the method 1200. Step SP1, generating a peak signal VP according to the peak value of the input voltage signal MAIN within the sampling period, wherein the input voltage signal MAIN has a period, and any period of the input voltage signal MAIN is the sampling period. In one embodiment, the input voltage signal MAIN is an asymmetric steamed bun wave. In one embodiment, the input voltage signal MAIN is a power grid, that is, a sinusoidal alternating current with a peak value of 110V or 220V, which is generated by a rectifier bridge circuit. Step SP2, generating a first reference signal VTH1 and a second reference signal VTH2 according to the peak signal VP, wherein the first reference signal VTH1 is less than the peak signal VP, and the second reference signal VTH2 is less than the first reference signal VTH1. Step SP3, comparing the input voltage signal MAIN with the first reference signal VTH1 and the second reference signal VTH2. Step SP4, within the first time T1 from the moment when the input voltage signal MAIN drops to the first reference signal VTH1, if the input voltage signal MAIN is always less than the first reference signal VTH1, then after the first time T1 ends, the peak signal VP is reduced. In one embodiment, the step of reducing the peak signal VP includes reducing the peak signal VP from a first voltage value V1 to a second voltage value V2, wherein the first voltage value V1 represents the peak value of the input voltage signal MAIN in the sampling period, and the second voltage value V2 represents the first peak value of the input voltage signal MAIN after the first time T1 ends. Step SP4, within the first time T1 from the moment when the input voltage signal MAIN drops to the first reference signal VTH1, if the input voltage signal MAIN is equal to the first reference signal VTH1 at any time, the peak signal VP is increased or kept unchanged. In one embodiment, the step of increasing or keeping the peak signal VP unchanged includes changing the peak signal VP from the first voltage value V1 to the second voltage value V2, wherein the first voltage value V1 represents the peak value of the input voltage signal MAIN in the sampling period, and the second voltage value V2 represents the first peak value of the input voltage signal MAIN after the sampled input voltage signal MAIN is equal to the first reference signal VTH1 at any time mentioned above. Step SP6, within the second time T2 from the moment when the input voltage signal MAIN drops to the second reference signal VTH2, if the input voltage signal MAIN is always less than the second reference signal VTH2, after the second time T2 ends, the peak signal VP is reduced. In one embodiment, the step of reducing the peak signal VP includes reducing the peak signal VP from a first voltage value V1 to a second voltage value V2, wherein the first voltage value V1 represents the peak value of the input voltage signal MAIN within the sampling period, and the second voltage value V2 represents the first peak value of the input voltage signal MAIN after the second time T2 ends.Step SP7, within the second time T2 from the moment when the input voltage signal MAIN drops to the second reference signal VTH2, if the input voltage signal MAIN is always less than the first reference signal VTH1 and equal to the second reference signal VTH2 at any moment, the peak signal VP is kept unchanged. The first time T1 is greater than twice the period T of the input voltage signal MAIN, that is, T1>2T, and the second time T2 is less than twice the period T of the input voltage signal MAIN and greater than the period T of the input voltage signal MAIN, that is, T<T2<2T<T1.

[0047] By using the input voltage signal detection circuit of the present invention, on the one hand, when the input voltage signal MAIN decreases, the change of the peak value of the input voltage signal MAIN can be quickly detected within the second time T2, and the peak signal VP can be controlled to change accordingly, wherein the second time is less than twice the period of the input voltage signal MAIN. On the other hand, when the input voltage signal MAIN has a certain disturbance value, the peak signal VP remains unchanged, that is, the peak signal VP has a certain anti-interference ability.

[0048] The above-mentioned specific embodiments are only used to illustrate the high pressure period and the manufacturing method of the embodiment of the present invention in an exemplary manner. These embodiments are not completely exhaustive and are not intended to limit the scope of the present invention. It is possible to change and modify the disclosed embodiments, and other feasible optional embodiments and equivalent changes to the elements in the embodiments can be understood by ordinary technicians in this technical field. Other changes and modifications of the embodiments disclosed by the present invention do not exceed the spirit of the present invention and the scope of protection defined by the claims.

Claims

1. A method for detecting an input voltage signal, wherein the input voltage signal has a period, and any period of the input voltage signal is a sampling period. include: Generate a peak signal according to the peak value of the input voltage signal within a sampling period; Generate a first reference signal according to the peak signal, wherein the first reference signal is smaller than the peak signal; comparing the input voltage signal with a first reference signal; as well as Within the first time from the moment the input voltage signal drops to the first reference signal, if the input voltage signal is always less than the first reference signal, the peak signal is reduced after the first time ends, wherein the first time is greater than twice the period of the input voltage signal.

2. The method of claim 1, wherein the step of reducing the peak signal comprises reducing the peak signal from a first voltage value to a second voltage value, wherein the first voltage value represents the peak value of the input voltage signal within a sampling period, and the second voltage value represents the first peak value of the input voltage signal after the first time ends.

3. The method of claim 1 further comprises, within a first time from the moment the input voltage signal drops to the first reference signal, if the input voltage signal is equal to the first reference signal at any moment, keeping the peak signal unchanged or increasing.

4. The method as claimed in claim 3, wherein the step of keeping the peak signal unchanged or increasing includes changing the peak signal from a first voltage value to a second voltage value, wherein the first voltage value represents the peak value of the input voltage signal within a sampling period, and the second voltage value represents the first peak value of the input voltage signal after the input voltage signal is equal to the first reference signal at any of the above moments. 5 . The method of claim 1 , wherein a voltage difference between the first reference signal and the peak signal is between 5 mV and 50 mV.

6. A method for detecting an input voltage signal, wherein the input voltage signal has a period, and any period of the input voltage signal is a sampling period. include: Generate a peak signal according to the peak value of the input voltage signal within a sampling period; Generate a first reference signal and a second reference signal according to the peak signal, wherein the first reference signal is smaller than the peak signal, and the second reference signal is smaller than the first reference signal; comparing the input voltage signal with the first reference signal and the second reference signal; Within a first time from the moment when the input voltage signal drops to the first reference signal, if the input voltage signal is always less than the first reference signal and is equal to the second reference signal at any moment, then after the first time ends, the peak signal is reduced; as well as Within a second time from the moment when the input voltage signal drops to the second reference signal, if the input voltage signal is always smaller than the second reference signal, then after the second time is over, the peak signal is reduced; The first time is greater than twice the period of the input voltage signal, and the second time is greater than the period of the input voltage signal and less than twice the period of the input voltage signal.

7. The method as claimed in claim 6, wherein within a first time from the moment the input voltage signal drops to the first reference signal, if the input voltage signal is always less than the first reference signal and is equal to the second reference signal at any moment, then after the first time ends, the step of reducing the peak signal includes reducing the peak signal from a first voltage value to a second voltage value, wherein the first voltage value represents the peak value of the input voltage signal within a sampling period, and the second voltage value represents the first peak value of the input voltage signal after the first time ends.

8. The method as claimed in claim 6, wherein within a second time from the moment the input voltage signal drops to the second reference signal, if the input voltage signal is always less than the second reference signal, then after the second time ends, the step of reducing the peak signal includes reducing the peak signal from a first voltage value to a second voltage value, wherein the first voltage value represents the peak value of the input voltage signal within a sampling period, and the second voltage value represents the first peak value of the input voltage signal after the second time ends.

9. The method of claim 6, further comprising, within a first time from the moment the input voltage signal drops to the first reference signal, if the input voltage signal is equal to the first reference signal at any moment, keeping the peak signal unchanged or increasing.

10. The method of claim 6 further comprises keeping the peak signal unchanged if the input voltage signal is always less than the first reference signal and is equal to the second reference signal at any time within a second time from the time when the input voltage signal drops to the second reference signal.

11. The method of claim 6, wherein the second reference signal is greater than a difference between peak values ​​of two adjacent cycles of the input voltage signal.

12. An input voltage signal detection circuit, wherein the input voltage signal has a period, any period of the input voltage signal is a sampling period, and the input voltage signal detection circuit include: A peak sampling and holding circuit receives an input voltage signal and generates a peak signal according to a peak value of the input voltage signal within a sampling period. The peak sampling and holding circuit also receives a first adjustment signal and a second adjustment signal to adjust the peak signal. A first adjustment circuit receives an input voltage signal and a first reference signal and generates a first adjustment signal according to the input voltage signal and the first reference signal; as well as A second adjustment circuit receives an input voltage signal and a second reference signal and generates a second adjustment signal according to the input voltage signal and the second reference signal; The first reference signal is smaller than the peak signal, and the second reference signal is smaller than the first reference signal.

13. The input voltage signal detection circuit as claimed in claim 12, wherein the peak sampling and holding circuit include: An operational amplifier having a first input terminal for receiving an input voltage signal, a second input terminal and an output terminal; A sampling diode having an anode terminal and a cathode terminal, wherein the anode terminal is coupled to the output terminal of the error amplifier, the cathode terminal is coupled to the second input terminal of the error amplifier, and outputs a peak signal; A holding capacitor coupled between the cathode terminal of the sampling diode and a reference ground; as well as The controlled switch is coupled between the cathode terminal of the sampling diode and the reference ground, and is turned on or off under the control of the first adjustment signal and the second adjustment signal.

14. The input voltage signal detection circuit as claimed in claim 12, wherein the first adjustment circuit include: a first comparator, receiving an input voltage signal and a first reference signal and generating a first enable signal, wherein when the input voltage signal is less than the first reference signal, the first enable signal is in a first state, and when the input voltage signal is greater than the first reference signal, the first enable signal is in a second state; as well as The first timing circuit receives the first enable signal and generates a first adjustment signal according to the first enable signal. The first timing circuit times the first enable signal. If the time when the first enable signal is in the first state is greater than the first time, the first adjustment signal jumps to the first state after the first time ends, wherein the first time is greater than twice the period of the input voltage signal.

15. The input voltage signal detection circuit as claimed in claim 12, wherein the second adjustment circuit include: a second comparator, receiving an input voltage signal and a second reference signal and generating a second enable signal, wherein when the input voltage signal is less than the second reference signal, the second enable signal is in a first state, and when the input voltage signal is greater than the second reference signal, the second enable signal is in a second state; as well as The second timing circuit receives the second enable signal and generates a second adjustment signal according to the second enable signal. The second timing circuit times the second enable signal. If the time when the second enable signal is in the first state is greater than the second time, the second adjustment signal jumps to the first state after the second time ends, wherein the second time is greater than the period of the input voltage signal and less than twice the period of the input voltage signal.

Citation Information

Patent Citations

  • Input voltage detection circuit and power supply circuit

    CN101806826A

  • High-power-factor constant current control circuit

    CN102969915A

  • Power factor correction circuit and control circuit and control method thereof

    CN103916004A

  • Signal analysis method and circuit

    CN106026416A

  • Interleaved switching power supply and control circuit and control method thereof

    CN112217379A