A method for eliminating current overshoot and a switching circuit
By judging the power outage status in the switched power supply system and starting the protection device, the integration time of the integrator is controlled, and the problem of current overshoot after power outage is solved, and the reliability and service life of the system are improved.
Patent Information
- Application Number
- CN202010668683.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-13
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2040-07-13
AI Technical Summary
When the switched power supply system is powered on again during power outage, it is easy to cause current overshoot, which damages the reliability of the system.
By determining whether the system has entered a power-down state, the power-down protection device is started, and the integration of the integrator is stopped after the preset time, preventing the error signal from increasing continuously and reducing current overshoot.
It effectively reduces the current overshoot phenomenon and improves the service life of the switching circuit.
Smart Images

Figure CN111786662B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of switching power supplies, and more particularly, relates to a method for eliminating current overshoot and a switching circuit. Background Art
[0002] In the design and implementation of switching power supply circuits, the integration loop is a common circuit. Figure 1 After the mains passes through the rectifier bridge, it outputs a DC signal VM (bus voltage) to provide energy to the switching power supply. The switching power supply consists of an error amplifier (EA), a driver, a switching network, and a feedback circuit. The feedback circuit samples the output voltage or current and other electrical parameters to obtain a feedback signal V fb , and then fed back to one input terminal of the error amplifier (such as the inverting input terminal), and the reference potential V ref Compare and amplify, and output an error signal V at the output end of EA comp When the feedback signal V fb Lower than V ref When the error signal V comp Increase; on the contrary, when the feedback signal V fb Greater than V ref When the error signal Vcomp decreases. comp The driver compares the signal with a sawtooth wave (or triangle wave) to obtain a PWM (Pulse-width-modulation) signal with a variable duty cycle. pwm . V pwm The power switch tube M1 in the driving switch network is turned on and off. The switching of M1 controls the energy storage device, such as the inductor L, to store and release energy, thereby controlling the output voltage or current to reach a preset value.
[0003] exist Figure 1 and Figure 2 In the switching integral loop power supply circuit, if the input mains power is off (the wall switch is turned off), the output voltage and current drop until they are reduced to zero, then the feedback electrical parameter V fb The signal will also gradually decrease, resulting in the error signal V comp Gradually increases until it is much higher than the stable V comp Value. Reference Figure 4 If the system is powered on again, the error signal is much larger than the V comp value, the duty cycle of the PWM signal generated by the driver is relatively large, resulting in the output current I L It is also much larger than the current in steady state, which causes current overshoot and damages the reliability of the system. Summary of the Invention
[0004] The present invention aims to provide a method and a switching circuit for eliminating current overshoot, aiming to solve the technical problem that when the existing switching power supply system is powered on again after a power failure, current overshoot is easily caused, thereby damaging the reliability of the system.
[0005] To achieve the above object, the present invention adopts a technical solution of providing a method for eliminating current overshoot and a switching circuit, comprising:
[0006] Determine whether the system has entered the power-off state;
[0007] If the system enters the power-off state, the power-off protection device is activated;
[0008] When the power-off time reaches a preset time, and the preset time is greater than the bus voltage VM cycle time, the integrator stops integrating.
[0009] Furthermore, determining whether the system enters a power-off state includes:
[0010] Get the power-off parameters and determine whether the system has entered the power-off state based on the change status of the power-off parameters.
[0011] Furthermore, obtaining the power-off parameter and determining whether the system enters the power-off state according to the change state of the power-off parameter includes:
[0012] Obtaining a bus voltage VM, where the bus voltage VM is lower than a power-off threshold voltage and the bus voltage VM continues to decrease; and determining that the system enters a power-off state.
[0013] Furthermore, obtaining the power-off parameter and determining whether the system enters the power-off state according to the change state of the power-off parameter includes:
[0014] The sampling resistor current or voltage is obtained. When the sampling resistor current or voltage is lower than a threshold and continues to decrease, it is determined that the system enters a power-off state.
[0015] Furthermore, the method further includes obtaining power-off parameters and determining whether to end the power-off state.
[0016] Furthermore, the obtaining of power-off parameters and determining whether to end the power-off state includes:
[0017] The bus voltage VM is obtained. If the bus voltage VM is higher than the power-on threshold, the system ends the power-off state and the integrator resumes integration.
[0018] Furthermore, the obtaining of power-off parameters and determining whether to end the power-off state includes:
[0019] A sampling resistor parameter is obtained. If the sampling resistor parameter is higher than a power-on threshold, the system ends the power-off state and the integrator resumes integration.
[0020] Furthermore, the sampling resistor parameter includes a sampling resistor voltage or a sampling resistor current.
[0021] The present invention further provides a switching circuit, characterized in that it comprises a power-off protection device, and the power-off protection device controls the integrator according to the method described above.
[0022] Furthermore, the power-off protection device includes a power-off detection device and a power-off timer. The power-off detection device detects the bus voltage VM and controls the operation of the integrator according to the timing of the power-off timer.
[0023] Furthermore, the power-off protection device includes a power-off detection device and a power-off timer. The power-off detection device detects electrical parameters of the sampling resistor and controls the operation of the integrator according to the timing of the power-off timer.
[0024] Furthermore, the integrator includes an error amplifier EA and an integrating capacitor C connected in series with the error amplifier EA. comp .
[0025] Furthermore, the integrator is a digital integrator.
[0026] The beneficial effect of the method and switch circuit for eliminating current overshoot provided by the present invention is that: compared with the prior art, the method provided by the present invention eliminates current overshoot. According to this method, after the system is powered off, the integrator stops integrating at the longest integration time. Therefore, the error signal V comp The signal deviation is limited, and after power is restored, the current overshoot is also limited, which can greatly reduce the output current overshoot phenomenon.
[0027] The present invention provides a switch circuit with a power-off protection device. When power is restored after a power-off process, the current overshoot phenomenon is reduced, the damage to the switch circuit is small, and the service life of the switch circuit is increased. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0029] Figure 1 An integral loop circuit diagram provided by the prior art;
[0030] Figure 2 Another integrating loop circuit diagram provided in the prior art;
[0031] Figure 3 A schematic diagram of the relative relationship among the error signal, bus voltage, and output current after the loop system provided by the prior art is stabilized.
[0032] Figure 4 A schematic diagram of the relative relationship among the error signal, bus voltage, and output current when the loop system provided by the prior art is powered on again.
[0033] Figure 5 This is a block diagram of a method for eliminating current overshoot in Embodiment 1 of the present invention;
[0034] Figure 6 Stop integration waveform diagram for the present invention;
[0035] Figure 7 This is a block diagram of a method for eliminating current overshoot by bus sampling in a second embodiment of the present invention;
[0036] Figure 8 This is a block diagram of a method for eliminating current overshoot by sampling with a sampling resistor in embodiment 3 of the present invention;
[0037] Figure 9 Schematic diagram of ending the power-off state in the fourth embodiment of the present invention;
[0038] Figure 10 This is a schematic diagram of a bus sampling circuit according to a fourth embodiment of the present invention;
[0039] Figure 11 Schematic diagram of a sampling resistor sampling circuit according to a fifth embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0041] The prior art switching buck type LED constant current drive circuit is shown in FIG (Background Art Figure 2 ), including an integrator, wherein the integrator is composed of an error amplifier EA and an integral capacitor C comp The integrator integrates the electrical signal of the sampling resistor and transmits it to the driver; the driver outputs the error signal V according to the integrator. comp The PWM signal V generated by comparing with the sawtooth wave or triangle wave pwm , V pwm Drive the power switch tube M1 to be turned on and off.
[0042] When M1 is turned on, current flows through the LED string, inductor L, M1 and resistor Rcs.
[0043] When M1 is turned off, the current flows through the LED string, the inductor L and the freewheeling diode D.
[0044] In the prior art, when the bus loses power, an error signal V comp If the power is turned on quickly at this time, the PWM signal will increase and the output current I L Increase beyond the steady-state current, resulting in overshoot.
[0045] In order to solve the above technical problems, the present application provides the following embodiments:
[0046] Example 1
[0047] like Figure 5 The present invention provides a method for eliminating current overshoot, comprising the following steps:
[0048] Determine whether the system has entered the power-off state;
[0049] When the system enters the power-off state, the power-off protection device is activated and the power-off timer starts recording the power-off time;
[0050] When the power-off time reaches a preset time, the integrator stops integrating, wherein the preset time is greater than the bus voltage VM cycle time.
[0051] The bus voltage drops due to power failure, which causes the sampling resistor voltage to drop, which in turn causes V ref and V fb The difference increases, and the integrator generates an error signal V comp will increase, causing the driver to generate a PWM signal exceeding the steady-state value, and the output current I L Increase beyond the steady-state current, resulting in overshoot.
[0052] Therefore, in this embodiment, by controlling the integration time of the integrator, the error signal is prevented from continuously increasing due to long-term integration. By setting a reasonable preset time, the integrator stops when it is within a reasonable range, preventing V comp If the current continues to increase, it will cause current overshoot when the bus is powered on again.
[0053] In order to ensure the normal operation of the integrator, the preset time in this embodiment needs to be greater than the cycle time of the bus voltage, that is, for a 50 Hz mains supply, greater than or equal to 10 ms.
[0054] like Figure 6 As shown in the waveform, when the bus voltage is lower than the power-off threshold voltage and continues to drop, it enters the power-off state and starts to record the power-off time. At this time, as the bus voltage begins to drop, the error signal V compIncrease, when the power-off time reaches the preset time, the integrator stops integrating to prevent the error signal V comp Continuous increase leads to overshoot phenomenon.
[0055] It should be noted that the power-off threshold voltage can be set by the user according to actual conditions.
[0056] It should be noted that when the bus is powered off, the integrator in the present invention integrates upward, and the error signal V comp In the rising state, this is related to the positive and negative terminal connection method of the integrator, but both reflect the error signal V comp The change from the initial value does not deviate from the problem reflected in the essence of this application.
[0057] This method provides a method for eliminating current overshoot. Compared to existing technologies, after a system power failure, the integrator integrates for a maximum period of time before ceasing upward integration. Therefore, the rise of the error signal Vcomp is limited, and after power is restored, current overshoot is also limited, significantly reducing output current overshoot.
[0058] Example 2
[0059] like Figure 7 As shown, a method for eliminating current overshoot includes the following steps:
[0060] Get bus voltage parameters. When the bus voltage is less than the power-off threshold voltage and the bus voltage continues to drop (such as Figure 6 At this time, it is determined that the system has entered the power-off state.
[0061] The power-off protection device is activated, and the power-off timer begins to record the power-off time;
[0062] When the power-off time reaches a preset time, the integrator stops integrating, wherein the preset time is greater than the bus voltage VM cycle time.
[0063] The bus voltage drops due to power failure, which causes the sampling resistor voltage to drop, which in turn causes V ref and V fb The difference increases, and the integrator generates an error signal V comp will increase, causing the driver to generate a PWM signal exceeding the steady-state value, and the output current I L Increase beyond the steady-state current, resulting in overshoot.
[0064] Therefore, in this embodiment, by controlling the integration time of the integrator, the error signal is prevented from continuously increasing due to long-term integration. By setting a reasonable preset time, the integrator stops when it is within a reasonable range, preventing V comp If the current continues to increase, it will cause current overshoot when the bus is powered on again.
[0065] In order to ensure the normal operation of the integrator, the preset time in this embodiment needs to be greater than the cycle time of the bus voltage, that is, for a 50 Hz mains supply, greater than or equal to 10 ms.
[0066] Based on the above-mentioned first embodiment, this embodiment further defines it. By acquiring the bus voltage, the operating condition of the bus is determined, and whether the system is in a power-off state is inferred. This method is more direct than other sampling methods and has a simpler circuit implementation.
[0067] Example 3
[0068] like Figure 8 As shown, a method for eliminating current overshoot includes the following steps:
[0069] The sampling resistor electrical parameters are obtained. When the sampling resistor electrical parameters are less than a threshold and continue to decrease, it is determined that the system has entered a power-off state. The sampling resistor electrical parameters include the sampling resistor current or voltage.
[0070] The power-off protection device is activated, and the power-off timer begins to record the power-off time;
[0071] When the power-off time reaches a preset time, the integrator stops integrating, wherein the preset time is greater than the bus voltage VM cycle time.
[0072] The bus voltage drops due to power failure, which causes the sampling resistor voltage to drop, which in turn causes V ref and V fb The difference increases, and the integrator generates an error signal V comp will increase, causing the driver to generate a PWM signal exceeding the steady-state value, and the output current I L Increase beyond the steady-state current, resulting in overshoot.
[0073] Therefore, in this embodiment, by controlling the integration time of the integrator, the error signal is prevented from continuously increasing due to long-term integration. By setting a reasonable preset time, the integrator stops when it is within a reasonable range, preventing V comp If the current continues to increase, it will cause current overshoot when the bus is powered on again.
[0074] In order to ensure the normal operation of the integrator, the preset time in this embodiment needs to be greater than the cycle time of the bus voltage, that is, for a 50 Hz mains supply, greater than or equal to 10 ms.
[0075] This embodiment further defines the first embodiment above. In this embodiment, the electrical parameters of a sampling resistor are obtained to determine whether the system has entered a power-off state. The electrical parameters of the sampling resistor differ significantly between the power-on and power-off states, so a power-off determination can be achieved without requiring overly sophisticated detection methods.
[0076] Based on the above embodiments 1 to 3, the present invention further includes obtaining power-off parameters and determining whether to end the power-off state.
[0077] Example 4
[0078] Determine whether the system is powered off and enters a power-off state by using any one of the methods or a combination of the methods in the first to third embodiments.
[0079] Get the bus voltage parameters. When the bus voltage is less than the power-off threshold voltage V PL , and the bus voltage continues to drop (such as Figure 6 At this time, it is determined that the system has entered the power-off state.
[0080] and / or
[0081] The sampling resistor electrical parameters are obtained. When the sampling resistor electrical parameters are less than a threshold and continue to decrease, it is determined that the system has entered a power-off state. The sampling resistor electrical parameters include the sampling resistor current or voltage.
[0082] The power-off protection device is activated, and the power-off timer begins to record the power-off time;
[0083] When the power-off time reaches a preset time, the integrator stops integrating, wherein the preset time is greater than the bus voltage VM cycle time.
[0084] After completing the above steps, the system enters the power-off state, at which time the integrator stops integrating.
[0085] like Figure 9 As shown, power-off parameters are acquired in real time. When the electrical parameters are greater than a threshold, the system ends the power-off state and the integrator resumes integration. The electrical parameters include one or a combination of bus voltage, sampling resistor voltage, or current.
[0086] The bus sampling has the following advantages: judging whether the bus has entered the power-off state by the bus voltage state is more direct and obvious, and the circuit implementation is relatively simple.
[0087] The sampling resistor sampling has the following advantages: the electrical parameters of the sampling resistor vary greatly between the system power-on and system power-off states, and the power-off state can be judged without overly sophisticated detection means.
[0088] Based on the above embodiments one to four, the present application further provides a switching circuit for implementing the methods in the above embodiments.
[0089] Example 5
[0090] like Figure 10 As shown, the present invention provides a switching circuit with a power-off protection function, including a rectifier bridge for converting AC voltage into DC voltage, a diode D, an LED light string and a filter capacitor connected in parallel, an inductor L connected in series between the diode D and the LED light string, and a power tube M1 and a sampling resistor R connected in series between the diode D and the inductor L. CS , where the sampling resistor R CS grounding;
[0091] Including integrator, the driver stage is based on the error signal V output by the integrator comp Compare with the sawtooth wave to generate PWM signal V pwm , V pwm Drive the power switch tube M1 to be turned on and off.
[0092] When M1 is turned on, current flows through the LED string, inductor L, M1 and resistor Rcs.
[0093] When M1 is turned off, the current flows through the LED string, the inductor L and the freewheeling diode D.
[0094] The system also includes a power-off protection device, which includes a power-off detection device and a power-off timer. In this embodiment, the power-off detection device samples the bus voltage. By acquiring the bus voltage, the operating condition of the bus is determined, and whether the system is in a power-off state is estimated. This method is more direct than other sampling methods and has a simpler circuit implementation.
[0095] Example 6
[0096] like Figure 11 As shown, the present invention provides a switching circuit with a power-off protection function, including a rectifier bridge for converting AC voltage into DC voltage, a diode D, an LED light string and a filter capacitor connected in parallel, an inductor L connected in series between the diode D and the LED light string, and a power tube M1 and a sampling resistor R connected in series between the diode D and the inductor L. CS , where the sampling resistor R CS grounding;
[0097] Including integrator, the driver stage is based on the error signal V output by the integrator comp Compare with the sawtooth wave to generate PWM signal V pwm , V pwm Drive the power switch tube M1 to be turned on and off.
[0098] When M1 is turned on, current flows through the LED string, inductor L, M1 and resistor Rcs.
[0099] When M1 is turned off, the current flows through the LED string, the inductor L and the freewheeling diode D.
[0100] The system also includes a power-off protection device, which includes a power-off detection device and a power-off timer. In this embodiment, the power-off detection device samples data from a sampling resistor. The electrical parameters of the sampling resistor differ significantly between when the system is powered on and when it is powered off, thus enabling a power-off determination without requiring overly sophisticated detection methods. The sampling resistor electrical parameters include the current or voltage across the sampling resistor.
[0101] In this embodiment, the sampling resistor is set at the ground position. Without departing from the main purpose of the present application, the sampling resistor can be located at any feasible position in the circuit.
[0102] It should be noted that in the above embodiment, the integrator includes an error amplifier EA and an integrating capacitor C connected in series with the error amplifier EA. comp . Alternatively, the integrator is a digital integrator.
[0103] In the above embodiment, the power failure detection device has a built-in preset parameter V ref2 , used to compare with the sampled electrical parameters to determine the power-off status.
[0104] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for eliminating current overshoot, characterized in that: include: Determine whether the system has entered the power-off state; Determining whether the system enters a power-off state includes: Obtain power-off parameters and determine whether the system has entered the power-off state based on the change status of the power-off parameters; Obtaining power-off parameters and determining whether the system has entered a power-off state based on the power-off parameter change status includes: Acquire the sampling resistor current or voltage. When the sampling resistor current or voltage is lower than a threshold and continues to decrease, determine that the system enters a power-off state. If the system enters the power-off state, the power-off protection device is activated; The power-off time reaches the preset time T PL , and the preset time T PL When the value is greater than the bus voltage VM cycle time, the integrator stops integrating; Get the power-off parameters and determine whether to end the power-off state; The obtaining of power-off parameters and determining whether to end the power-off state includes: Obtain bus voltage VM, which is higher than power-on threshold V PU , the system ends the power-off state and the integrator resumes integration; The obtaining of power-off parameters and determining whether to end the power-off state further includes: A sampling resistor parameter is obtained. If the sampling resistor parameter is higher than a power-on threshold, the system ends the power-off state and the integrator resumes integration.
2. A method for eliminating current overshoot according to claim 1, characterized in that : Get the power-off parameters and determine whether the system has entered the power-off state according to the change status of the power-off parameters, including: Obtain the bus voltage VM, which is lower than the power-off threshold voltage V PL , and the bus voltage VM continues to decrease; it is determined that the system enters a power-off state.
3. A method for eliminating current overshoot according to claim 1, characterized in that : The sampling resistor parameters include the sampling resistor voltage or the sampling resistor current.
4. A switching circuit comprising an integrator, characterized in that: A power-off protection device is included, and the power-off protection device controls the integrator according to the method according to any one of claims 1 to 3.
5. The switching circuit according to claim 4, wherein: The power-off protection device includes a power-off detection device and a power-off timer. The power-off detection device detects the bus voltage VM and controls the operation of the integrator according to the timing of the power-off timer.
6. The switching circuit according to claim 5, wherein: The power-off protection device includes a power-off detection device and a power-off timer. The power-off detection device detects electrical parameters of the sampling resistor and controls the operation of the integrator according to the timing of the power-off timer.
7. The switching circuit according to claim 5 or 6, wherein: The integrator includes an error amplifier EA and an integration capacitor C connected in series with the error amplifier EA. comp .
8. The switching circuit according to claim 7, wherein: The integrator is a digital integrator.
Citation Information
Patent Citations
Power failure detection method and system and air conditioner
CN105115105A
Method for eliminating current overshoot and switching circuit
CN111654269A
Switching circuit
CN212486473U
Switching circuit for eliminating current overshoot
CN212572498U
Electric power detection system
US20130200875A1