Circuit control method, device, storage medium and program product
Patent Information
- Application Number
- CN202311582087.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-23
- Publication Date
- 2026-10-20
- Estimated Expiration
- 2043-11-23
AI Technical Summary
[0003]但是,相关技术中电源电路的控制方式存在整流电路的输出电流的谐波测试裕量较小的问题
[0017]上述电路控制方法、装置、存储介质和程序产品,通过确定参考电流,其中,参考电流为在充放电电路处于充放电状态时需要控制电感元件达到的平均电流。进一步地,根据参考电流确定电感元件需要达到的峰值电流,并根据峰值电流和电感元件预设的谷值电流,控制充放电电路工作。由于本申请实施例中的电感元件电流与整流电路的输出电流为相关的,本申请实施例中,可以通过参考电流控制电感元件的峰值电流,以控制电感元件电流的方式,实现控制整流电路的输出电流的目的,以便于整流电路的输出电流可以更接近于期望波形,使得整流电路的输出电流的谐波较小,从而可以提高整流电路的输出电流的谐波测试裕量。
Smart Images

Figure CN117526732B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of circuit technology, and in particular to a circuit control method, apparatus, storage medium, and program product. Background Technology
[0002] Normally, the output power of the rectifier circuit in a power supply circuit varies with time, but the input power of the voltage conversion circuit in the power supply circuit is usually relatively constant. Therefore, a charging and discharging circuit that can store and release energy is needed between the rectifier circuit and the voltage conversion circuit.
[0003] However, the control method of the power supply circuit in the related technology has the problem of a small harmonic test margin of the output current of the rectifier circuit. Summary of the Invention
[0004] Therefore, it is necessary to provide a circuit control method, device, storage medium, and program product to address the aforementioned technical problems.
[0005] In a first aspect, this application provides a circuit control method for controlling a power supply circuit. The power supply circuit includes a rectifier circuit, a charging / discharging circuit, and a voltage conversion circuit. The charging / discharging circuit is connected in parallel with the rectifier circuit and the voltage conversion circuit, respectively. The charging / discharging circuit includes an inductive element. The method includes:
[0006] Determine the reference current, which is the average current that the inductor needs to reach when the charging and discharging circuit is in the charging and discharging state.
[0007] The peak current that the inductor needs to reach is determined based on the reference current;
[0008] The charging and discharging circuit is controlled based on the peak current and the preset valley current of the inductor.
[0009] Secondly, this application also provides a circuit control device for controlling a power supply circuit. The power supply circuit includes a rectifier circuit, a charging / discharging circuit, and a voltage conversion circuit. The charging / discharging circuit is connected in parallel with the rectifier circuit and the voltage conversion circuit, respectively. The charging / discharging circuit includes an inductive element. The device includes:
[0010] The first determining module is used to determine the reference current, which is the average current that the inductor needs to be controlled to reach when the charging and discharging circuit is in the charging and discharging state.
[0011] The second determining module is used to determine the peak current of the inductor based on the reference current;
[0012] The control module is used to control the operation of the charging and discharging circuit based on the peak current and the preset valley current of the inductor.
[0013] Thirdly, this application also provides a power supply device, which includes a power supply circuit and a control circuit; wherein the control circuit is used to perform the method of any one of the first aspects above.
[0014] The power supply circuit includes a rectifier circuit, a charging and discharging circuit, and a voltage conversion circuit. The charging and discharging circuit is connected in parallel with the rectifier circuit and the voltage conversion circuit, respectively. The charging and discharging circuit includes an inductor.
[0015] Fourthly, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect.
[0016] Fifthly, this application also provides a computer program product comprising a computer program that, when executed by a processor, implements the steps of the method described in the first aspect.
[0017] The aforementioned circuit control method, apparatus, storage medium, and program product determine a reference current, wherein the reference current is the average current that the inductor needs to reach when the charging and discharging circuit is in a charging and discharging state. Further, the peak current that the inductor needs to reach is determined based on the reference current, and the charging and discharging circuit is controlled to operate based on the peak current and the preset valley current of the inductor. Since the inductor current in this embodiment is related to the output current of the rectifier circuit, in this embodiment, the peak current of the inductor can be controlled by the reference current to control the inductor current, thereby controlling the output current of the rectifier circuit. This allows the output current of the rectifier circuit to be closer to the desired waveform, resulting in lower harmonics in the output current and thus improving the harmonic test margin of the rectifier circuit's output current. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of the power supply circuit provided in one embodiment of this application;
[0019] Figure 2 This is a schematic diagram of the charging and discharging circuit provided in one embodiment of this application;
[0020] Figure 3 A schematic diagram showing the voltages of capacitor Cbulk and capacitor Cbus provided in the embodiments of this application.
[0021] Figure 4 A schematic flowchart of a circuit control method provided in one embodiment of this application;
[0022] Figure 5 A schematic diagram of the inductor current in the discharge state of the charging and discharging circuit provided in the embodiments of this application;
[0023] Figure 6 A schematic diagram of the inductor current in the charging state of the charging and discharging circuit provided in the embodiments of this application;
[0024] Figure 7 This is a schematic flowchart of a method for determining the peak current required by an inductor element in one embodiment of this application;
[0025] Figure 8 A schematic diagram illustrating a method for determining the peak current required by an inductor in a discharge state mode, as provided in an embodiment of this application.
[0026] Figure 9 A schematic diagram illustrating a method for determining the peak current required by an inductor in charging mode, as provided in an embodiment of this application.
[0027] Figure 10 This is a schematic flowchart of a method for determining a reference current in one embodiment of this application;
[0028] Figure 11 A schematic diagram of the power supply circuit provided in another embodiment of this application;
[0029] Figure 12 This is a schematic flowchart of a method for determining a set output current in one embodiment of this application;
[0030] Figure 13 A schematic diagram illustrating a method for determining the shape of the set output current provided in an embodiment of this application;
[0031] Figure 14 This is a schematic diagram of the shape of the set output current provided in an embodiment of this application;
[0032] Figure 15 A schematic diagram illustrating a method for determining the amplitude coefficient of the set output current according to an embodiment of this application;
[0033] Figure 16 A schematic diagram illustrating a method for determining the amplitude coefficient of the set output current according to another embodiment of this application;
[0034] Figures 17-21 A schematic diagram showing the set output current, actual output current, and switching duration at different times for embodiments of this application;
[0035] Figure 22 A schematic diagram illustrating the method for determining the set output current provided in an embodiment of this application;
[0036] Figure 23 A schematic diagram illustrating the method for determining the reference current provided in an embodiment of this application;
[0037] Figure 24A waveform diagram of the output current of the rectifier circuit provided in the embodiments of this application;
[0038] Figure 25 A schematic diagram of the harmonic amplitude of the output current of the rectifier circuit provided in the embodiments of this application;
[0039] Figure 26 A schematic diagram comparing the harmonic amplitude of the output current of the rectifier circuit provided in this application embodiment with the preset harmonic index standard;
[0040] Figure 27 This is a schematic diagram of the circuit control device in one embodiment of this application;
[0041] Figure 28 This is a schematic diagram of the power supply device in one embodiment of this application. Detailed Implementation
[0042] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0043] In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include one or more features.
[0044] The circuit control method, device, storage medium, and program product provided in the embodiments of this application can be applied to power circuit control application scenarios, and of course, they can also be applied to other scenarios. This application does not limit them.
[0045] The power supply circuits described in this application can be applied to electronic devices. For example, the electronic devices described in this application may include, but are not limited to: power adapters, cookie chargers, power banks, mobile phones, laptops, tablets, smartwatches, smart bracelets, robot vacuums, wireless headphones, electric toothbrushes, or desktop computers.
[0046] Normally, the output power of the rectifier circuit in a power supply circuit varies with time, but the input power of the voltage conversion circuit in the power supply circuit is usually relatively constant. Therefore, a charging and discharging circuit that can store and release energy is needed between the rectifier circuit and the voltage conversion circuit to perform power factor correction (PFC), so that the input voltage and input current of the power supply circuit (or the output voltage and output current of the rectifier circuit) are as in phase as possible, and the generation of higher harmonics is minimized.
[0047] In related technologies, the peak and valley currents of the charging and discharging circuit are determined by looking up a table, and then the operating state of the charging and discharging circuit is controlled based on the peak and valley currents.
[0048] However, the control method of the power supply circuit in the related technology has the problem of a small harmonic test margin of the output current of the rectifier circuit.
[0049] To address the issue of small harmonic testing margin in the output current of rectifier circuits in related technologies, this application proposes that, considering the correlation between the current of the inductor in the charging / discharging circuit and the output current of the rectifier circuit, the peak current of the inductor is controlled by a reference current. This control of the inductor current, in turn, controls the output current of the rectifier circuit, allowing it to more closely approximate the desired waveform and thus reducing harmonics. Consequently, the harmonic testing margin of the rectifier circuit's output current can be improved.
[0050] For ease of understanding, the relevant content of the power supply circuit is first introduced in the embodiments of this application.
[0051] Figure 1 This is a schematic diagram of the power supply circuit provided in one embodiment of this application, as shown below. Figure 1 As shown, the power supply circuit in this embodiment may include: a rectifier circuit 10, a charging / discharging circuit 11, and a voltage conversion circuit 12. The rectifier circuit 10 and the voltage conversion circuit 12 are connected in series, and the charging / discharging circuit 11 is connected in parallel with both the rectifier circuit 10 and the voltage conversion circuit 12 (i.e., the charging / discharging circuit 11 is connected in parallel between the rectifier circuit 10 and the voltage conversion circuit 12).
[0052] The rectifier circuit 10 in this embodiment can be used to convert the input AC power into DC power; the voltage conversion circuit 12 can be used to transform the output voltage of the rectifier circuit 10 to obtain the desired output target voltage. Exemplarily, the voltage conversion circuit 12 in this embodiment can include, but is not limited to, DC-DC (Direct Current to Direct Current, DCDC).
[0053] The charging and discharging circuit 11 in this embodiment can adjust its operating mode according to the output power of the rectifier circuit 10 and the input power of the voltage conversion circuit 12; wherein, the operating mode can include: charging mode, discharging mode and non-operating mode (i.e., not in charging or discharging state). It should be understood that the charging and discharging circuit 11 can be controlled by the control circuit ( Figure 1 Adjust the working status mode under the control of (not shown in the image).
[0054] For example, in the charging state mode, the charging and discharging circuit 11 can be charged according to the output current of the rectifier circuit 10, that is, the energy storage circuit in the charging and discharging circuit 11 stores energy; in the discharging state mode, it can discharge to the voltage conversion circuit 12, that is, the energy storage circuit in the charging and discharging circuit 11 releases energy; in the non-working state mode, it stops working, that is, the energy storage circuit in the charging and discharging circuit 11 is in an open circuit state and thus stops working.
[0055] For example, the charging and discharging circuit 11 in this embodiment can be a bidirectional buck circuit (or a BiBuck circuit). When the charging and discharging circuit 11 is in the charging state mode, it operates in boost mode; when the charging and discharging circuit 11 is in the discharging state mode, it operates in buck mode.
[0056] In this embodiment of the power supply circuit, the charging and discharging circuit 11 is connected in parallel between the rectifier circuit 10 and the voltage conversion circuit 12. The operating mode of the charging and discharging circuit 11 is adjusted according to the output power of the rectifier circuit 10 and the input power of the voltage conversion circuit 12, so that energy flows into the charging and discharging circuit 11 only when energy storage is needed, and energy flows out of the charging and discharging circuit 11 only when energy release is needed. Therefore, only a small portion of the energy in the power supply circuit provided in this embodiment passes through the charging and discharging circuit 11. Compared to the conventional method where the PFC circuit is connected in series between the rectifier circuit and the voltage conversion circuit (where most of the energy in the power supply circuit needs to pass through the PFC circuit), the energy storage capacity requirement of the charging and discharging circuit 11 provided in this embodiment is smaller. Therefore, the volume of the energy storage circuit in the charging and discharging circuit 11 is smaller, resulting in a smaller overall volume of the charging and discharging circuit 11, thereby reducing the overall volume of the power supply circuit.
[0057] Furthermore, the power supply circuit in this embodiment may further include a decoupling branch 13 disposed between the rectifier circuit 10 and the charging / discharging circuit 11. For example, one end of the decoupling branch 13 is connected to the rectifier circuit 10, and the other end of the decoupling branch 13 is grounded. The decoupling branch 13 can be used to reduce mutual interference between the preceding and following stages of the decoupling branch 13. The preceding stage of the decoupling branch 13 may include the rectifier circuit 10, and the following stage of the decoupling branch 13 may include a voltage conversion circuit 12. Exemplarily, the decoupling branch 13 may include, but is not limited to, the following: Figure 1 The capacitor Cbus is shown.
[0058] It should be noted that, according to Kirchhoff's current law, the output current I of rectifier circuit 10 is... ac The current I in decoupling branch 13 Cbus The current I in the charging and discharging circuit BiBuck The input current I of the voltage conversion circuit power The sum is zero. In this embodiment, the control circuit controls the current I... BiBuck This method enables control of the output current I. ac The purpose is to make the output current I ac It can more closely approximate the desired waveform (such as a sine wave).
[0059] Based on the above embodiments, Figure 2 This is a schematic diagram of the charging and discharging circuit provided in one embodiment of this application, as shown below. Figure 2 As shown, the charging and discharging circuit 11 in this embodiment may include: an inductor (or simply inductor) L, a first switch Q1, a second switch Q2, and a capacitor (or simply capacitor) Cbulk.
[0060] In this embodiment, the energy storage circuit of the charging / discharging circuit 11 may include, but is not limited to, an inductor L and a capacitor Cbulk, which can be used to store energy when the charging / discharging circuit 11 is in a charging state mode and to release energy when the charging / discharging circuit 11 is in a discharging state mode. The current I of the charging / discharging circuit in this embodiment is... BiBuck This can include, but is not limited to, the current of the inductor L (or simply the inductor current).
[0061] It should be noted that in the embodiments of this application, the capacitor Cbulk is greater than the capacitor Cbus. Figure 3 A schematic diagram showing the voltages of capacitor Cbulk and capacitor Cbus provided in the embodiments of this application is shown below. Figure 3As shown, the voltage Vbulk of capacitor Cbulk has a fluctuating shape; the voltage Vbus of capacitor Cbus will not drop to zero, and under typical operating conditions, its minimum value is approximately half of its maximum value. In the "power factor correction" operating mode, the voltage Vbulk of capacitor Cbulk is always higher than the voltage Vbus of capacitor Cbus.
[0062] The first terminal of the first switch Q1 is connected to the second terminal of the inductor L and the second terminal of the second switch Q2, respectively. The two terminals of the capacitor Cbulk are connected to the second terminal of the first switch Q1 and the first terminal of the second switch Q2, respectively. The first terminal of the second switch Q2 is grounded.
[0063] It should be understood that the control terminals of the first switch Q1 and the second switch Q2 can both be connected to the control circuit ( Figure 2 (Not shown) The circuit is connected so that the control circuit can control the operating mode of the charging and discharging circuit by sending a first control signal to the first switch Q1 and / or a second control signal to the second switch Q2, wherein the first control signal is used to control the on / off state of the first switch Q1 and the second control signal is used to control the on / off state of the second switch Q2. Exemplarily, the control signals (e.g., the first control signal or the second control signal) involved in the embodiments of this application may include, but are not limited to, pulse width modulation (PWM) signals.
[0064] The switching transistors involved in the embodiments of this application may include, but are not limited to, metal-oxide-semiconductor field-effect transistors (MOS transistors) or switching transistors fabricated using gallium nitride (GaN) material, such as metal-semiconductor field-effect transistors (MESFETs), heterojunction field-effect transistors (HFETs), or modulation-doped field-effect transistors (MODFETs). It should be understood that... Figure 2 The example shown uses NMOS transistors as the switching transistors.
[0065] Of course, the charging and discharging circuit 11 in this embodiment can also adopt other circuit forms, and this embodiment does not limit it.
[0066] In one embodiment, Figure 4 This is a flowchart illustrating a circuit control method provided in one embodiment of this application. The circuit control method in this embodiment can be used to control a power supply circuit, wherein the power supply circuit may include, but is not limited to, the following: Figure 1The rectifier circuit, charging / discharging circuit, and voltage conversion circuit shown are illustrated. The charging / discharging circuit is connected in parallel with both the rectifier circuit and the voltage conversion circuit. The charging / discharging circuit may include, but is not limited to, inductive elements (or simply inductors). This application uses the application of a circuit control method to a control circuit as an example for illustration. Figure 4 As shown, the method in this application embodiment may include the following steps:
[0067] Step S401: Determine the reference current. The reference current is the average current that the inductor needs to reach when the charging and discharging circuit is in the charging and discharging state.
[0068] In this embodiment of the application, the control circuit can determine a reference current, wherein the reference current can be the average current that needs to be controlled to reach by the inductor (or simply inductor) in the charging and discharging circuit when the charging and discharging circuit is in a charging and discharging state.
[0069] For example, the reference current in the embodiments of this application can be a preset current, or it can be a current generated by the control circuit according to the set output current of the rectifier circuit, wherein the set output current is the current corresponding to the rectifier circuit meeting the preset harmonic index requirements.
[0070] Of course, the control circuit can also determine the reference current in other ways.
[0071] It should be understood that when the reference current is positive, it means that the charging and discharging circuit should be in a discharging state (or buck mode); when the reference current is negative, it means that the charging and discharging circuit should be in a charging state (or boost mode).
[0072] Figure 5 This is a schematic diagram of the inductor current in the discharge state of the charging and discharging circuit provided in the embodiments of this application, as shown below. Figure 5 As shown, the inductor current I in the charging and discharging circuit during the discharging state is... buck Peak current I buck,pk When it is positive, the inductor current I buck Valley current I buck,vl The value is negative, while the average current of the inductor current is positive.
[0073] Figure 6 This is a schematic diagram of the inductor current in the charging state of the charging and discharging circuit provided in the embodiments of this application, as shown below. Figure 6 As shown, the inductor current I in the charging / discharging circuit during the charging state is... boost Peak current I boost,pk When the value is negative, the inductor current I boost Valley current I boost,pk The value is positive, while the average current of the inductor is negative.
[0074] Combination Figure 5 and Figure 6 As shown, the peak current I of the inductor in the charging / discharging circuit during the discharging state is... buck,pk The peak current I of the inductor current in the charging / discharging circuit during the charging state. boost,pk The directions are opposite.
[0075] Step S402: Determine the peak current that the inductor needs to reach based on the reference current.
[0076] In this step, the control circuit can determine the peak current that the inductor in the charging and discharging circuit needs to reach based on the reference current. The peak current can include both the peak current that the inductor needs to reach when the charging and discharging circuit is in the discharging state and the peak current that the inductor needs to reach when the charging and discharging circuit is in the charging state.
[0077] It should be understood that the peak current required by the inductor in the charging and discharging circuit in the discharge state and the peak current required by the inductor in the charging and discharging circuit in the charging state can be dynamically adjusted in the embodiments of this application.
[0078] Step S403: Control the operation of the charging and discharging circuit according to the peak current and the preset valley current of the inductor element.
[0079] In this step, the control circuit can control the operating mode of the charging and discharging circuit according to the peak current required by the inductor and the preset valley current of the inductor.
[0080] For example, the control circuit can control the conduction state of each switch in the charging and discharging circuit according to the peak current required by the inductor and the preset valley current of the inductor, so as to control the working mode of the charging and discharging circuit and make the average current of the inductor reach the reference current as much as possible.
[0081] Of course, the control circuit can also control the operating mode of the charging and discharging circuit in other ways, based on the peak current required by the inductor and the preset valley current of the inductor.
[0082] It should be noted that the current of the inductor element in this embodiment is related to the output current of the rectifier circuit. In this embodiment, the control circuit can control the output current of the rectifier circuit by controlling the current of the inductor element, so that the output current of the rectifier circuit can be closer to the desired waveform, so that the harmonics of the output current of the rectifier circuit are smaller, thereby improving the harmonic test margin of the output current of the rectifier circuit.
[0083] In summary, in this embodiment, a reference current is determined, which is the average current that the inductor needs to reach when the charging and discharging circuit is in a charging and discharging state. Further, the peak current that the inductor needs to reach is determined based on the reference current, and the charging and discharging circuit is controlled to operate based on the peak current and the preset valley current of the inductor. Since the inductor current in this embodiment is related to the output current of the rectifier circuit, the peak current of the inductor can be controlled by the reference current. This control of the inductor current achieves the purpose of controlling the output current of the rectifier circuit, allowing the output current of the rectifier circuit to be closer to the desired waveform, resulting in lower harmonics in the output current and thus improving the harmonic testing margin of the rectifier circuit's output current.
[0084] In one embodiment, Figure 7 This is a schematic flowchart illustrating a method for determining the peak current required by an inductor in one embodiment of this application. Based on the above embodiment, this application provides an exemplary description of the relevant content in step S402, which involves determining the peak current required by the inductor based on a reference current. Figure 7 As shown, step S402 above may include the following steps:
[0085] Step S4021: Determine whether the charging and discharging circuit is in a charging and discharging state.
[0086] In this step, the control circuit can determine whether the charging and discharging circuit is in a charging and discharging state, so as to determine the peak current that the inductor needs to reach by using different methods according to the operating state of the charging and discharging circuit.
[0087] For example, the control circuit can acquire a charge / discharge state enable signal and determine whether the charge / discharge circuit is in a charge / discharge state based on the charge / discharge state enable signal and a reference current. The charge / discharge state enable signal may include, but is not limited to, a charging state enable signal or a discharging state enable signal; the charging state enable signal can be used to indicate whether the charge / discharge circuit is in a charging state mode, and the discharging state enable signal can be used to indicate whether the charge / discharge circuit is in a discharging state mode.
[0088] For example, if the charging state enable signal is high, it can be used to indicate that the charging and discharging circuit is in charging mode; if the charging state enable signal is low, it can be used to indicate that the charging and discharging circuit is in non-charging mode.
[0089] For example, if the discharge state enable signal is high, it can be used to indicate that the charging and discharging circuit is in the discharge state mode; if the discharge state enable signal is low, it can be used to indicate that the charging and discharging circuit is in the non-discharging state mode.
[0090] In one possible implementation, if the charge / discharge state enable signal includes a charging state enable signal, the charging state enable signal is at a high level, and the reference current is negative, then the control circuit can determine that the charge / discharge circuit is in a charging state.
[0091] In another possible implementation, if the charge / discharge state enable signal includes a discharge state enable signal, the discharge state enable signal is high, and the reference current is positive, then the control circuit can determine that the charge / discharge circuit is in a discharge state.
[0092] In another possible implementation, if the charge / discharge state enable signal includes a charging state enable signal, and the charging state enable signal is low, or the reference current is positive, then the control circuit can determine that the charge / discharge circuit is not in a charging state.
[0093] In another possible implementation, if the charge / discharge state enable signal includes a discharge state enable signal, and the discharge state enable signal is low, or the reference current is negative, then the control circuit can determine that the charge / discharge circuit is not in a discharge state.
[0094] Step S4022: When the charging and discharging circuit is in a charging and discharging state, perform the step of determining the peak current based on the reference current.
[0095] In this step, when the charging and discharging circuit is in a charging and discharging state, the control circuit can perform the step of determining the peak current that the inductor needs to reach based on the reference current.
[0096] For example, the control circuit can determine the peak current that the inductor needs to reach based on the reference current and the preset valley current of the inductor.
[0097] Considering that the current in the inductor in the charging and discharging circuit is a triangular wave, the reference current I... pre The peak current I required for the inductor element pk Valley current I vl The average current, i.e., I pre =0.5*(I pk +I vl Therefore, the control circuit can control the reference current I. pre 2 times the valley current I vl The difference is used as the peak current I. pk .
[0098] It should be understood that when the charging and discharging circuit is in the charging state, the control circuit can determine the peak current that the inductor needs to reach in the charging state based on the reference current and the valley current of the inductor in the preset charging state; when the charging and discharging circuit is in the discharging state, the control circuit can determine the peak current that the inductor needs to reach in the discharging state based on the reference current and the valley current of the inductor in the preset discharging state.
[0099] Of course, the control circuit can also determine the peak current that the inductor needs to reach through other means based on the reference current and the valley current.
[0100] Step S4023: When the charging and discharging circuit is not in a charging and discharging state, the negative value of the valley current is taken as the peak current.
[0101] For example, the charging and discharging circuit not being in a charging and discharging state in the embodiments of this application may include, but is not limited to: the charging and discharging circuit not being in a charging state, and / or the charging and discharging circuit not being in a discharging state. It should be understood that the charging and discharging circuit not being in a charging and discharging state is used for transitioning between charging and discharging states.
[0102] In this embodiment, when the charging and discharging circuit is not in a charging and discharging state, the charging and discharging circuit is in an energy idling state, with no energy transferred from capacitor Cbulk to capacitor Cbus, and no energy transferred from capacitor Cbus to capacitor Cbulk. That is, the average current of the inductor is zero. Therefore, the control circuit can use the negative value of the preset valley current of the inductor as the peak current that the inductor needs to reach.
[0103] For ease of understanding, the following embodiments of this application provide an exemplary description of how to determine the peak current required by the inductor element under different state modes of the charging and discharging circuit.
[0104] Figure 8 This is a schematic diagram illustrating a method for determining the peak current required by an inductor in a discharge state mode, as provided in an embodiment of this application. Figure 8 As shown, the control circuit can control the reference current I... pre The preset valley current I of the discharge state buck,vl By inputting the discharge state enable signal bk into the buck current determination module, the peak current I that the inductor needs to achieve in the discharge state mode can be obtained. buck,pk .
[0105] In one possible implementation, if the discharge state enable signal bk is low, or the reference current I... pre A negative value indicates that the charging and discharging circuit is not in a discharging state. In this case, the control circuit can set the preset valley current I of the discharging state. buck,vlThe negative value of I is used as the peak current I that the inductive element needs to reach. buck,pk This means that the average current of the inductor is zero, and the charging and discharging circuit is in an energy idle state. There is no energy transferred from capacitor Cbulk to capacitor Cbus, nor is there any energy transferred from capacitor Cbus to capacitor Cbulk. This state is used for transitional discharge mode and charging mode.
[0106] In another possible implementation, if the discharge state enable signal bk is high and the reference current I... pre A positive value indicates that the charging and discharging circuit is in a discharging state. Since it is desirable to control the average current of the inductor, and the inductor current is a triangular wave, the desired valley current I in the preset discharge state is... buck,vl With peak current I buck,pk Half of the sum is controlled, therefore, the control circuit can control the reference current I. pre Twice the valley current I of the preset discharge state buck,vl The difference is used as the peak current I. buck,pk The average current of the inductor is the reference current I. pre .
[0107] Figure 9 This is a schematic diagram illustrating a method for determining the peak current required by an inductor in charging mode, as provided in an embodiment of this application. Figure 9 As shown, the control circuit can control the reference current I... pre The preset valley current I of the charging state boost,vl By inputting the charging state enable signal (BT) into the boost current determination module, the peak current I required by the inductor in charging mode can be obtained. boost,pk .
[0108] In one possible implementation, if the charging state enable signal bt is low, or the reference current I... pre A positive value indicates that the charging / discharging circuit is not in a charging state. Therefore, the control circuit can set the preset valley current I for the charging state. boost,vl The negative value of I is used as the peak current I that the inductive element needs to reach. boost,pk This means that the average current of the inductor is zero, and the charging and discharging circuit is in an energy idle state. There is no energy transferred from capacitor Cbulk to capacitor Cbus, nor is there any energy transferred from capacitor Cbus to capacitor Cbulk. This state is used for transition charging and discharging modes.
[0109] In another possible implementation, if the charging state enable signal bt is high and the reference current I... preA negative value indicates that the charging circuit is in a charging state. Since it's desirable to control the average current of the inductor, and the inductor current is a triangular wave, the desired valley current I for the charging state is... boost,vl With peak current I boost,pk Half of the sum is controlled, therefore, the control circuit can control the reference current I. pre Twice the valley current I of the preset charging state boost,vl The difference is used as the peak current I. boost,pk The average current of the inductor is the reference current I. pre .
[0110] In summary, in the embodiments of this application, by determining whether the charging and discharging circuit is in a charging and discharging state, and by using different methods to determine the peak current that the inductor needs to reach according to the operating state of the charging and discharging circuit, a more accurate peak current can be obtained. This allows the charging and discharging circuit to be controlled more accurately based on the peak current and the preset valley current of the inductor, thereby making the output current of the rectifier circuit even closer to the desired waveform.
[0111] In one embodiment, Figure 10 This is a schematic flowchart of a method for determining a reference current in one embodiment of this application. Based on the above embodiment, this application provides an exemplary description of the relevant content of determining the reference current in step S401. Figure 10 As shown, step S401 above may include the following steps:
[0112] Step S4011: Determine the set output current of the rectifier circuit. The set output current is the current that meets the preset harmonic index requirements.
[0113] In this step, the control circuit can determine the set output current of the rectifier circuit, where the set output current is the current of the rectifier circuit that meets the preset harmonic index requirements.
[0114] For example, the control circuit can determine the set output current of the rectifier circuit based on the sampled output voltage of the rectifier circuit, the preset reference voltage, and the switching duration of the charging / discharging circuit from charging mode to discharging mode. The sampled output voltage of the rectifier circuit can be obtained by sampling the voltage of the AC power supply ac after rectification by the rectifier circuit (i.e., the rectified ac voltage) using the first sampling circuit; the preset reference voltage can be a preset constant reference voltage; and the switching duration can be determined by the control circuit monitoring the voltage V of capacitor Cbulk in the charging / discharging circuit. Cbulk The duration is calculated by taking the time when the preset voltage is reached as the start time and the time when the reference current reaches a positive value as the end time (of course, it can also be obtained by other methods).
[0115] Figure 11 A schematic diagram of the power supply circuit provided in another embodiment of this application is shown below. Figure 11 As shown, the first sampling circuit in this embodiment may include, but is not limited to, a first sampling diode D1, a second sampling diode D2, and a sampling resistor R1. The first sampling diode D1 and the second sampling diode D2 are grounded through the sampling resistor R1, so that the sampled output voltage Vbus2 of the rectifier circuit can be obtained through the first sampling diode D1 and the second sampling diode D2.
[0116] Of course, the first sampling circuit can also be other circuit forms (e.g., voltage sensor, etc.), and this application embodiment does not limit this.
[0117] Figure 12 This is a schematic flowchart of a method for determining the set output current in one embodiment of this application, as shown below. Figure 12 As shown, the method in this application embodiment may include the following steps:
[0118] Step S1201: Determine the shape of the set output current based on the sampled output voltage of the rectifier circuit and the preset reference voltage.
[0119] In this step, the control circuit can determine the shape of the set output current based on the sampled output voltage of the rectifier circuit and the preset reference voltage.
[0120] In one possible implementation, if the sampled output voltage is greater than a preset reference voltage, the control circuit can subtract the sampled output voltage from the preset reference voltage to obtain the shape of the set output current. It should be understood that the control circuit can use the curve obtained by subtracting the sampled output voltage from the preset reference voltage at different times as the shape of the set output current.
[0121] In another possible implementation, if the sampled output voltage is not greater than the preset reference voltage, the control circuit can use a straight line with zero amplitude as the shape of the set output current.
[0122] Figure 13 This is a schematic diagram of the method for determining the shape of the set output current provided in an embodiment of this application, as shown below. Figure 13 As shown, the control circuit can obtain the shape of the set output current Iac_pre by using the sampled output voltage Vbus2 of the rectifier circuit and the preset reference voltage Vbus_min input current shape determination module.
[0123] Figure 14 This is a schematic diagram of the shape of the set output current provided in the embodiments of this application, such as... Figure 14As shown, if the sampled output voltage Vbus2 is greater than the preset reference voltage Vbus_min, the shape of the output current Iac_pre is set to be obtained by subtracting the sampled output voltage Vbus2 from the preset reference voltage Vbus_min; if the sampled output voltage Vbus2 is not greater than the preset reference voltage Vbus_min, the shape of the output current Iac_pre is set to be a straight line with zero.
[0124] Step S1202: Determine the amplitude coefficient of the set output current based on the switching time of the charging and discharging circuit from charging mode to discharging mode.
[0125] In this embodiment, the switching time of the charging / discharging circuit from charging mode to discharging mode can be used to indicate the difference between the set output current and the actual output current of the regulating circuit. For example, the greater the difference between the set output current and the actual output current of the regulating circuit, the longer the switching time.
[0126] In this step, the control circuit can determine the amplitude coefficient of the set output current based on the switching time of the charging and discharging circuit from the charging state mode to the discharging state mode. This allows the set output current of the rectifier circuit to be readjusted based on the adjusted amplitude coefficient, making the difference between the set output current and the actual output current of the rectifier circuit smaller.
[0127] It should be noted that, considering that the rectifier circuit has different steady-state output currents for different AC power supply voltages and / or different output powers, the initial setting value of the amplitude coefficient in this embodiment is a preset upper limit threshold value of the amplitude coefficient, so that the amplitude coefficient can be gradually reduced until it is adjusted to a suitable value when the output power is stable.
[0128] For example, under normal circumstances, the amplitude coefficient of the set output current in the embodiments of this application can be positively correlated with the switching duration.
[0129] For example, when the switching time is long (i.e., the difference between the set output current and the actual output current of the rectifier circuit is large), increasing the amplitude coefficient can increase the set output of the adjusted rectifier circuit, thereby increasing the actual output current of the rectifier circuit. This makes the actual output current of the rectifier circuit closer to the set output current, thus reducing the switching time.
[0130] It should be noted that if the switching duration in this embodiment is greater than or equal to the second preset switching duration and less than or equal to the first preset switching duration, it indicates that the difference between the set output current and the actual output current of the adjusting circuit meets the preset difference requirement, and it can be considered that the set output current and the actual output current of the adjusting circuit are basically the same. It should be understood that in this embodiment, the amplitude coefficient is adjusted according to the switching duration to ensure that the adjusted switching duration falls within the preset duration range between the second preset switching duration and the first switching duration.
[0131] Furthermore, if the switching duration is greater than the first preset switching duration, the control circuit can reduce the amplitude coefficient, which reduces the set output of the adjusted rectifier circuit, thereby reducing the actual output current of the rectifier circuit. This makes the actual output current of the rectifier circuit closer to the set output current, thus reducing the switching duration. If the switching duration is less than the second preset switching duration, the control circuit can increase the amplitude coefficient, which increases the set output of the adjusted rectifier circuit, thereby increasing the actual output current of the rectifier circuit. This allows for an increase in the switching duration. Therefore, in this embodiment, by adjusting the amplitude coefficient when the switching duration is detected to be outside the preset duration range, adaptive steady-state adjustment can be achieved, ensuring that the switching duration is within the preset duration range as much as possible. This makes the actual output current of the rectifier circuit closer to the set output current, thereby reducing the harmonics of the rectifier circuit's output current.
[0132] Furthermore, if the change in the sampling output voltage of the rectifier circuit or the input current of the voltage conversion circuit exceeds the preset change amount, indicating an abnormal situation such as a sudden change in the AC power supply voltage Vac or a sudden change in the load, the control circuit can adjust the amplitude coefficient of the set output current to the preset upper limit threshold of the amplitude coefficient in order to protect the power supply circuit.
[0133] It should be understood that after the amplitude coefficient of the output current is set to the preset upper limit threshold of the amplitude coefficient, the control circuit can gradually adjust the amplitude coefficient to a suitable value according to the above adjustment method.
[0134] Figure 15 A schematic diagram illustrating a method for determining the amplitude coefficient of the set output current according to an embodiment of this application is shown below. Figure 15 As shown, the control circuit can obtain the amplitude coefficient of the set output current by inputting the amplitude coefficient determination module with the switching time t_safe between the charging and discharging circuits from the charging state mode to the discharging state mode. It should be understood that the amplitude coefficient determination module can convert the switching time t_safe (i.e., the time length signal) into an electrical signal for processing.
[0135] Figure 16A schematic diagram of a method for determining the amplitude coefficient of the set output current provided in another embodiment of this application is shown below. Figure 16 As shown, the initial setting value of the amplitude coefficient in this embodiment is a preset upper limit threshold value. Further, the control circuit can gradually decrease the amplitude coefficient until it is adjusted to a suitable value. Further, when the control circuit detects an abnormal situation, it can adjust the amplitude coefficient of the set output current to the preset upper limit threshold value. The abnormal situation may include, but is not limited to, a sudden change in the AC power supply voltage Vac or a sudden change in the load.
[0136] Figures 17-21 This application provides a schematic diagram of the set output current, actual output current, and switching time at different times for embodiments of the present application, as shown below. Figure 17 As shown, in the initial stage, for example, from 20ms to 40ms, the switching time t_safe is relatively large, and the set output current Iac_post and the actual output current Iac_re are relatively small. Figure 18 As shown, during the stabilization process, for example, from 120ms to 140ms, the switching duration t_safe is relatively small, and both the set output current Iac_post and the actual output current Iac_re are relatively small. Figure 19 As shown, during the stabilization process, for example, from 220ms to 240ms, the switching duration t_safe is relatively small, and both the set output current Iac_post and the actual output current Iac_re are relatively small. Figure 20 As shown, during the stable completion phase, for example, from 320ms to 340ms, the switching duration t_safe is relatively small, and both the set output current Iac_post and the actual output current Iac_re are relatively small. Figure 21 As shown, during the stable completion phase, for example, from 420ms to 440ms, the switching duration t_safe is relatively small, and the set output current Iac_post and the actual output current Iac_re are also relatively small. It is evident that the output current of the rectifier circuit in this embodiment exhibits an adaptive process, with a significant difference between its initial startup current waveform and its steady-state current waveform.
[0137] Step S1203: Determine the set output current based on the shape and amplitude coefficient of the set output current.
[0138] In this step, the control circuit can determine the set output current based on the shape of the set output current determined in step S1201 and the amplitude coefficient determined in step S1202.
[0139] For example, the control circuit can obtain the set output current by multiplying the shape and amplitude coefficient of the set output current.
[0140] Figure 22This is a schematic diagram of the method for determining the set output current provided in the embodiments of this application, as shown below. Figure 22 As shown, the control circuit can obtain the set output current Iac_post by inputting the shape Iac_pre and amplitude coefficient of the set output current into the set output current determination module.
[0141] Of course, the control circuit can also determine the set output current of the rectifier circuit in other ways.
[0142] Step S4012: Determine the reference current based on the set output current.
[0143] In this step, the control circuit can determine the reference current based on the set output current determined in step S4011 above.
[0144] It should be noted that, according to Kirchhoff's current law, the output current I of rectifier circuit 10 is... ac The current I in decoupling branch 13 Cbus The current I in the charging and discharging circuit BiBuck The input current I of the voltage conversion circuit power The sum is zero. Therefore, for a given output current of the rectifier circuit, the control circuit can determine the reference current of the charging and discharging circuit.
[0145] For example, the control circuit can determine the sampling input current of the voltage conversion circuit and the branch current of the decoupling branch.
[0146] Considering that the AC voltage is rectified by the rectifier circuit, and the EMI filter capacitor and inductor ( Figure 1 (Not shown in the diagram), reaching voltage Vbus, while the input current I of the voltage conversion circuit. power It refers to the magnitude of the current drawn from Vbus, the input current I. power The product of Vbus and the input current I is the power extracted after the "rectifier circuit + charging / discharging circuit" is completed. power This refers to the load current sampling on Vbus. Typically, Vbus can be connected to a flyback circuit or an LLC resonant circuit as a subsequent power conversion circuit (i.e., voltage conversion circuit). Here, flyback circuit refers to flyback topology in a broad sense, which may include, but is not limited to, QR flyback (Quasi-Resonant flyback) circuit, ACF (active clamping flyback) circuit, or AHB (Asymmetric Half Bridge) circuit.
[0147] In one possible implementation, the control circuit can sample the load current of the voltage Vbus across the decoupling branch to obtain the sampling input current of the voltage conversion circuit.
[0148] For example, the sampled input current can be obtained by the control circuit sampling the voltage Vbus across the decoupling branch using a second sampling circuit. The second sampling circuit may include, but is not limited to, a sampling resistor.
[0149] It should be understood that, under normal circumstances, voltage conversion circuits include transformers. In this embodiment, the current on the primary side of the transformer can be sampled, that is, the second sampling circuit in this embodiment can be a low-frequency current sampling circuit.
[0150] In another possible implementation, the control circuit can generate the branch current based on the output voltage period of the rectifier circuit and the capacitance value in the decoupling branch.
[0151] Considering the errors and noise inherent in directly sampling the current of the decoupling branch, in this embodiment, the control circuit can generate the branch current based on the output voltage period of the rectifier circuit and the capacitance value in the decoupling branch. The branch current can be a triangular wave, with its period matching the output voltage period of the rectifier circuit and its amplitude related to the capacitance value in the decoupling branch, so as to simulate the current signal of "capacitor Cbus charging and discharging at a frequency of 50Hz".
[0152] Furthermore, the control circuit can determine the reference current based on the sampled input current, branch current, and set output current.
[0153] For example, referring to Kirchhoff's current law, the control circuit can use the negative value of the total current of the voltage conversion circuit's sampled input current, the decoupling branch current, and the set output current as the reference current.
[0154] Figure 23 This is a schematic diagram of the method for determining the reference current provided in an embodiment of this application, as shown below. Figure 23 As shown, the control circuit can convert the sampled input current I of the voltage conversion circuit into a voltage-to-voltage conversion circuit. power_s Branch current I of the decoupling branch Cbus By setting the output current Iac_post and determining the input reference current, the reference current I can be obtained. pre .
[0155] In summary, in this embodiment of the application, by determining the set output current of the rectifier circuit and determining the reference current based on the set output current, the peak current that the inductor needs to reach, determined based on the reference current, is more accurate. This allows the output current of the rectifier circuit to be closer to the desired waveform, thereby further improving the harmonic test margin of the output current of the rectifier circuit.
[0156] Figure 24A schematic diagram of the output current of the rectifier circuit provided in the embodiments of this application is shown below. Figure 24 As shown, the control circuit uses the circuit control method provided in the embodiment of this application to control the power supply circuit, and the waveform of the output current Iac_re of its rectifier circuit can be closer to the desired sine wave.
[0157] Figure 25 This is a schematic diagram of the harmonic amplitude of the output current of the rectifier circuit provided in the embodiments of this application, as shown below. Figure 25 As shown, the control circuit uses the circuit control method provided in the embodiment of this application to control the power supply circuit, and the harmonics of the output current of its rectifier circuit are relatively small.
[0158] Figure 26 This is a schematic diagram comparing the harmonic amplitude of the output current of the rectifier circuit provided in this application embodiment with a preset harmonic index standard, as shown below. Figure 26 As shown, compared with the preset harmonic index standard, the control circuit uses the circuit control method provided in the embodiment of this application to control the power supply circuit, and the harmonic test margin of the output current of its rectifier circuit is larger.
[0159] Furthermore, compared to the conventional method where the PFC circuit is connected in series between the rectifier circuit and the voltage conversion circuit, the charging and discharging circuit provided in this application requires less energy storage capacity. Therefore, the capacitor used to store energy in the charging and discharging circuit is smaller, resulting in a smaller charging and discharging circuit overall, which in turn reduces the size of the power supply circuit. For example, if the input power of the voltage conversion circuit is 100W, conventional technology requires at least a 50uF capacitor; in contrast, this application embodiment only requires a 13uF capacitor. As another example, if the input power of the voltage conversion circuit is 300W, conventional technology requires at least a 150uF capacitor; in contrast, this application embodiment only requires a 30uF capacitor.
[0160] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0161] Based on the same inventive concept, this application also provides a circuit control device for implementing the circuit control method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more circuit control device embodiments provided below can be found in the limitations of the circuit control method described above, and will not be repeated here.
[0162] In one embodiment, Figure 27 This is a schematic diagram of the circuit control device in one embodiment of this application. The circuit control device provided in this embodiment can control a power supply circuit. The power supply circuit may include, but is not limited to, a rectifier circuit, a charging / discharging circuit, and a voltage conversion circuit. The charging / discharging circuit is connected in parallel with the rectifier circuit and the voltage conversion circuit, respectively. The charging / discharging circuit includes an inductive element. Figure 27 As shown, the circuit control device in this application embodiment may include: a first determining module 2701, a second determining module 2702, and a control module 2703.
[0163] The first determining module 2701 is used to determine the reference current, which is the average current that the inductor needs to be controlled to reach when the charging and discharging circuit is in the charging and discharging state.
[0164] The second determining module 2702 is used to determine the peak current of the inductor element based on the reference current;
[0165] The control module 2703 is used to control the operation of the charging and discharging circuit based on the peak current and the preset valley current of the inductor.
[0166] In one embodiment, the second determining module 2702 may include:
[0167] The first determining unit is used to determine whether the charging and discharging circuit is in a charging and discharging state.
[0168] The execution unit is used to perform the step of determining the peak current based on the reference current when the charging and discharging circuit is in a charging and discharging state.
[0169] In one embodiment, the first determining unit is specifically used for:
[0170] Acquire the charge / discharge status enable signal;
[0171] The charging / discharging circuit is determined to be in a charging / discharging state based on the charging / discharging state enable signal and the reference current.
[0172] In one embodiment, the charge / discharge state enable signal includes a charge state enable signal, and the first determining unit is specifically used for:
[0173] If the charging state enable signal is high and the reference current is negative, then the charging and discharging circuit is determined to be in the charging state.
[0174] In one embodiment, the charge / discharge state enable signal includes a discharge state enable signal, and the first determining unit is specifically used for:
[0175] If the discharge state enable signal is high and the reference current is positive, then the charging and discharging circuit is in the discharge state.
[0176] In one embodiment, the second determining module 2702 is specifically used for:
[0177] The peak current is determined based on the reference current and the valley current.
[0178] In one embodiment, the second determining module 2702 is specifically used for:
[0179] The difference between twice the reference current and the valley current is taken as the peak current.
[0180] In one embodiment, the circuit control device of this application may further include:
[0181] The third determining module is used to take the negative value of the valley current as the peak current when the charging and discharging circuit is not in a charging and discharging state.
[0182] In one embodiment, the first determining module 2701 includes:
[0183] The second determining unit is used to determine the set output current of the rectifier circuit. The set output current is the current that meets the preset harmonic index requirements.
[0184] The third determining unit is used to determine the reference current based on the set output current.
[0185] In one embodiment, the second determining unit is specifically used for:
[0186] The shape of the set output current is determined based on the sampled output voltage of the rectifier circuit and the preset reference voltage;
[0187] The amplitude coefficient of the set output current is determined based on the switching time of the charging and discharging circuit from the charging state mode to the discharging state mode.
[0188] The set output current is determined based on the shape and amplitude coefficient of the set output current.
[0189] In one embodiment, the second determining unit is specifically used for:
[0190] If the sampled output voltage is greater than the preset reference voltage, the sampled output voltage is subtracted from the preset reference voltage to obtain the shape of the set output current;
[0191] If the sampled output voltage is not greater than the preset reference voltage, then a straight line with zero amplitude will be used as the shape of the set output current.
[0192] In one embodiment, the amplitude coefficient is positively correlated with the switching duration.
[0193] In one embodiment, if the duration is less than the second preset switching duration, then the magnitude coefficient is increased.
[0194] In one embodiment, the first determining module 2701 may further include:
[0195] The adjustment unit is used to adjust the amplitude coefficient to a preset upper limit threshold if the detected change in the sampling output voltage of the rectifier circuit or the input current of the voltage conversion circuit exceeds a preset change.
[0196] In one embodiment, a decoupling branch is further provided between the rectifier circuit and the charging / discharging circuit, and the third determining unit is specifically used for:
[0197] Determine the sampling input current of the voltage conversion circuit and the branch current of the decoupling branch;
[0198] The reference current is determined based on the sampled input current, branch current, and set output current.
[0199] In one embodiment, the third determining unit is specifically used for:
[0200] The negative value of the total current of the sampled input current, branch current, and set output current is used as the reference current.
[0201] In one embodiment, the third determining unit is specifically used for:
[0202] The load current is sampled from the voltage across the decoupling branch to obtain the sampled input current.
[0203] In one embodiment, the third determining unit is specifically used for:
[0204] The branch current is generated based on the output voltage period of the rectifier circuit and the capacitance value in the decoupling branch.
[0205] The circuit control device provided in this application embodiment can be used to execute the technical solutions in the above-described circuit control method embodiments of this application. Its implementation principle and technical effect are similar, and will not be repeated here.
[0206] In one embodiment, Figure 28 This is a schematic diagram of the power supply device in one embodiment of this application, as shown below. Figure 28 As shown, the power supply device in this embodiment may include a power supply circuit 2801 and a control circuit 2802.
[0207] The power supply circuit 2801 may include a rectifier circuit, a charging / discharging circuit, and a voltage conversion circuit. The charging / discharging circuit is connected in parallel with the rectifier circuit and the voltage conversion circuit, respectively. The charging / discharging circuit includes an inductor. It should be understood that the specific structure of the power supply circuit 2801 can be found in the relevant content of the above embodiments of this application, and will not be repeated here.
[0208] The control circuit 2802 is used to execute the technical solution in the above-described circuit control method embodiment of this application. Its implementation principle and technical effect are similar, and will not be described again here.
[0209] For example, the power supply device in the embodiments of this application can be implemented using an analog chip. For instance, the power supply device can be a standalone analog chip, or used in conjunction with a flyback converter chip as a replacement for a power factor correction circuit chip.
[0210] In one embodiment, the charging and discharging circuit may include a first switching transistor and a second switching transistor connected to an inductive element, with the other ends of the first and second switching transistors respectively connected to the two ends of a capacitor element. It should be understood that the specific structure of the charging and discharging circuit can be found in the relevant content of the above embodiments of this application, and will not be repeated here.
[0211] In one embodiment, the power supply circuit may further include a decoupling branch disposed between the rectifier circuit and the charging / discharging circuit.
[0212] In one embodiment, an electronic device is provided, which may include the power supply device described above.
[0213] For example, the electronic devices in the embodiments of this application may include, but are not limited to: power adapters, cookie chargers, power banks, mobile phones, laptops, tablets, smartwatches, smart bracelets, robot vacuums, wireless headphones, electric toothbrushes, or desktop computers.
[0214] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it implements the technical solution in the above-described circuit control method embodiment of this application. Its implementation principle and technical effect are similar, and will not be repeated here.
[0215] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the technical solutions in the circuit control method embodiments of this application. The implementation principle and technical effects are similar and will not be repeated here.
[0216] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods.
[0217] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0218] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A circuit control method, characterized in that, A method for controlling a power supply circuit, the power supply circuit including a rectifier circuit, a charging / discharging circuit, and a voltage conversion circuit, wherein the charging / discharging circuit is connected in parallel with the rectifier circuit and the voltage conversion circuit, and the charging / discharging circuit includes an inductive element; the method includes: Based on the sampled output voltage of the rectifier circuit and the preset reference voltage, the shape of the set output current of the rectifier circuit is determined. Based on the switching time of the charging and discharging circuit from the charging state mode to the discharging state mode, the amplitude coefficient of the set output current is determined. Based on the shape of the set output current and the amplitude coefficient, the set output current is determined. The set output current is a current that meets the preset harmonic index requirements. A reference current is determined based on the set output current, and the reference current is the average current that the inductor needs to reach when the charging and discharging circuit is in a charging and discharging state. The peak current that the inductor needs to reach is determined based on the reference current; The charging and discharging circuit is controlled to operate based on the peak current and the preset valley current of the inductor element.
2. The method according to claim 1, characterized in that, Determining the peak current that the inductor needs to reach based on the reference current includes: Determine whether the charging / discharging circuit is in a charging / discharging state; When the charging and discharging circuit is in a charging and discharging state, the step of determining the peak current based on the reference current is performed.
3. The method according to claim 2, characterized in that, Determining whether the charging / discharging circuit is in a charging / discharging state includes: Acquire the charge / discharge status enable signal; The charging / discharging circuit is determined to be in a charging / discharging state based on the charging / discharging state enable signal and the reference current.
4. The method according to claim 3, characterized in that, The charge / discharge state enable signal includes a charging state enable signal. Determining whether the charge / discharge circuit is in a charge / discharge state based on the charge / discharge state enable signal and the reference current includes: If the charging state enable signal is high and the reference current is negative, then the charging and discharging circuit is determined to be in a charging state.
5. The method according to claim 3, characterized in that, The charge / discharge state enable signal includes a discharge state enable signal. Determining whether the charge / discharge circuit is in a charge / discharge state based on the charge / discharge state enable signal and the reference current includes: If the discharge state enable signal is high and the reference current is positive, then the charging and discharging circuit is determined to be in a discharge state.
6. The method according to any one of claims 1-5, characterized in that, Determining the peak current that the inductor needs to reach based on the reference current includes: The peak current is determined based on the reference current and the valley current.
7. The method according to claim 6, characterized in that, Determining the peak current based on the reference current and the valley current includes: The difference between twice the reference current and the valley current is taken as the peak current.
8. The method according to any one of claims 2-5, characterized in that, The method further includes: When the charging and discharging circuit is not in a charging and discharging state, the negative value of the valley current is taken as the peak current.
9. The method according to claim 1, characterized in that, Determining the shape of the set output current based on the sampled output voltage of the rectifier circuit and the preset reference voltage includes: If the sampled output voltage is greater than the preset reference voltage, then the sampled output voltage is subtracted from the preset reference voltage to obtain the shape of the set output current; If the sampled output voltage is not greater than the preset reference voltage, then a straight line with zero amplitude will be used as the shape of the set output current.
10. The method according to claim 1, characterized in that, The amplitude coefficient is positively correlated with the switching duration.
11. The method according to claim 1, characterized in that, If the switching duration is greater than the first preset switching duration, the amplitude coefficient is decreased; if the switching duration is less than the second preset switching duration, the amplitude coefficient is increased, wherein the first preset switching duration is greater than the second preset switching duration.
12. The method according to any one of claims 9-11, characterized in that, The method further includes: If the change in the sampled output voltage of the rectifier circuit or the input current of the voltage conversion circuit exceeds a preset change, the amplitude coefficient is adjusted to a preset upper limit threshold.
13. The method according to any one of claims 9-11, characterized in that, A decoupling branch is further provided between the rectifier circuit and the charging / discharging circuit. Determining the reference current based on the set output current includes: Determine the sampling input current of the voltage conversion circuit and the branch current of the decoupling branch; The reference current is determined based on the sampled input current, the branch current, and the set output current.
14. The method according to claim 13, characterized in that, Determining the reference current based on the sampled input current, the branch current, and the set output current includes: The negative value of the total current of the sampled input current, the branch current, and the set output current is used as the reference current.
15. The method according to claim 13, characterized in that, Determining the sampling input current of the voltage conversion circuit includes: The voltage across the decoupling branch is sampled by load current to obtain the sampled input current.
16. The method according to claim 13, characterized in that, Determining the branch current of the decoupling branch includes: The branch current is generated based on the output voltage period of the rectifier circuit and the capacitance value in the decoupling branch.
17. A circuit control device, characterized in that, For controlling a power supply circuit, the power supply circuit includes a rectifier circuit, a charging / discharging circuit, and a voltage conversion circuit. The charging / discharging circuit is connected in parallel with the rectifier circuit and the voltage conversion circuit, respectively. The charging / discharging circuit includes an inductive element. The device includes: The first determining module is used to determine the shape of the set output current of the rectifier circuit based on the sampled output voltage of the rectifier circuit and the preset reference voltage; determine the amplitude coefficient of the set output current based on the switching time of the charging and discharging circuit from the charging state mode to the discharging state mode; determine the set output current based on the shape of the set output current and the amplitude coefficient, wherein the set output current is a current that meets the preset harmonic index requirements; and determine a reference current based on the set output current, wherein the reference current is the average current that the inductor needs to be controlled to reach when the charging and discharging circuit is in the charging and discharging state. The second determining module is used to determine the peak current of the inductor element based on the reference current; The control module is used to control the operation of the charging and discharging circuit according to the peak current and the preset valley current of the inductor element.
18. A power supply device, characterized in that, The power supply device includes a power supply circuit and a control circuit; wherein the control circuit is used to perform the method as described in any one of claims 1-16; The power supply circuit includes a rectifier circuit, a charging / discharging circuit, and a voltage conversion circuit. The charging / discharging circuit is connected in parallel with the rectifier circuit and the voltage conversion circuit, respectively. The charging / discharging circuit includes an inductor.
19. The power supply device according to claim 18, characterized in that, The charging and discharging circuit includes a first switching transistor and a second switching transistor connected to the inductor element, and the other ends of the first switching transistor and the second switching transistor are respectively connected to the two ends of the capacitor element.
20. The power supply device according to claim 18 or 19, characterized in that, The power supply circuit also includes a decoupling branch disposed between the rectifier circuit and the charging / discharging circuit.
21. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-16.
22. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-16.
Citation Information
Patent Citations
Hysteresis controllers for power factor correction in AC / DC power converters
CN106160450A
Current sensing for monitoring load current in a buck power converter
CN111693758A
Power supply circuit, circuit control method, power supply device, and electronic apparatus
CN115189585A