Circuit and method for loop-based power control

By using a loop-based power control circuit, the voltage difference during load changes is calculated, and the power supply duty cycle is quickly adjusted, solving the lag problem during load changes and improving the dynamic performance and safety of the switching power supply control.

CN116345849BActive Publication Date: 2026-08-25SHANGHAI SHENGDIVAT ELECTRIC CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310355519.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-03
Publication Date
2026-08-25
Estimated Expiration
2043-04-03

AI Technical Summary

Technical Problem

In existing switching power supply control technology, there is a lag in loop control when the load changes, which makes it impossible to adjust the duty cycle quickly, resulting in energy deficit of energy storage devices and risk of damage to circuit components.

Method used

By using a loop-based power control circuit, the voltage difference during load changes is calculated using the acquisition and control circuits. Based on the difference and the current gain, the target gain is calculated, the power duty cycle is quickly adjusted, the energy deficit of the energy storage element is reduced, and the dynamic performance of the circuit is improved.

Benefits of technology

It enables rapid adjustment of the duty cycle when the load changes, reduces energy deficit of energy storage elements, lowers the risk of damage to circuit components, and improves the dynamic performance of the circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116345849B_ABST
    Figure CN116345849B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a kind of circuit and method based on loop-based power control, it is characterized in that, the circuit can include power supply, acquisition circuit and control circuit, the control circuit includes A / D converter, operator and ePWM module, wherein: acquisition circuit is coupled with control circuit, for responding to the change of load in circuit, obtains first output voltage;Control circuit is used to calculate first difference;Control circuit is also used to when first difference is greater than or equal to first preset value, according to first difference and the gain of current circuit, calculate first target gain;Control circuit is coupled with power supply, and also be used to according to the duty cycle of first target gain adjustment circuit power supply of power supply.The circuit of the embodiment of the application can quickly adjust the duty cycle when the load of circuit changes, reduce the energy loss of energy storage element when the load is dynamically changed, so that circuit components are in safe working condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to switching power supply control technology, and more particularly to circuits and methods for loop-based power supply control. Background Technology

[0002] Currently, most switching power supplies (such as BUCK, BOOST, forward, flyback, phase-shifted full-bridge, etc.) use PWM (Pulsewidth modulation) for control. Therefore, the duty cycle is a crucial factor affecting circuit operation. When the load in the circuit changes, the loop controls the duty cycle to change accordingly. For example, when the load is light, the circuit operates in DCM (Discontinuous Conduction Mode) with a relatively small duty cycle; when the load is heavy, the circuit operates in CCM (Continuous Conduction Mode) with a relatively large duty cycle; when the circuit load changes from light to heavy, the circuit transitions from DCM to CCM, and the loop gradually increases the duty cycle.

[0003] Because of the lag in loop control, the duty cycle cannot be increased to the required value in a short time, resulting in energy deficit in the energy storage device. This manifests as a pull-down of the output voltage and an overshoot of the current in the inductor, which poses a risk of damaging circuit components.

[0004] Therefore, how to provide a method for quickly adjusting the duty cycle is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] This application provides a circuit and method for loop-based power control. The device includes a loop-based power control circuit that can quickly adjust the power duty cycle by exponentially increasing the gain of the control circuit according to the load specifications when the circuit load changes. This achieves the purpose of reducing the energy deficit of energy storage elements, improving the dynamic performance of the circuit, and reducing the risk of damage to circuit components.

[0006] In a first aspect, embodiments of this application provide a circuit for loop-based power control, which may include: a power supply, a data acquisition circuit, and a control circuit. The control circuit may include an A / D converter, an arithmetic unit, and an ePWM module. The acquisition circuit is coupled with the control circuit, and can be used to obtain the first output voltage in response to changes in the load in the circuit; The control circuit can be used to calculate a first difference, which is the difference between a preset voltage corresponding to the load and a first output voltage; The control circuit can also be used to calculate the first target gain based on the first difference and the current gain of the circuit when the first difference is greater than or equal to the first preset value. The control circuit is coupled to the power supply and can also be used to adjust the duty cycle of the power supply of the circuit according to the first target gain.

[0007] In one possible implementation, the circuit may further include: The acquisition circuit can also be used to acquire the second output voltage of the circuit according to the first preset cycle; The control circuit can also be used to calculate a second difference, which is the difference between the preset voltage corresponding to the load and the second output voltage; The control circuit can also be used to calculate the second target gain based on the second difference and the first target gain when the second difference is greater than or equal to the first preset value. The control circuit can also be used to adjust the duty cycle of the power supply of the circuit according to the second target gain.

[0008] In another possible implementation, the circuit may further include: The acquisition circuit can also be used to stop acquiring the output voltage of the circuit according to the first preset cycle when the second difference is less than the first preset value.

[0009] In another possible implementation, the circuit may further include: The control circuit can also be used to calculate according to the formula. Calculate the first target gain or the second target gain, where, The first target gain corresponding to when the first difference is greater than or equal to the first preset value, or The second target gain is the value when the second difference is greater than or equal to the first preset value. The first target gain corresponding to when the first difference is greater than or equal to the first preset value, or This refers to the gain of the current circuit when the second difference is greater than or equal to the first preset value. When the first difference is greater than or equal to the first preset value, the first difference is the difference between the preset voltage corresponding to the load and the first output voltage, or The second difference, which is greater than or equal to the first preset value, is the difference between the preset voltage of the load and the second output voltage, where n is related to the power supply of the circuit.

[0010] In another possible implementation, the circuit may further include: The acquisition circuit can also be used to acquire the output voltage of the circuit according to a second preset cycle.

[0011] Secondly, embodiments of this application provide a loop-based power control method, applied to a loop-based power control circuit, which may include the following steps: The first output voltage is obtained in response to a change in the load of the circuit; Calculate the first difference, which is the difference between the preset voltage corresponding to the load and the first output voltage; When the first difference is greater than or equal to the first preset value, the first target gain is calculated based on the first difference and the current gain of the circuit. The duty cycle of the power supply of the first target gain adjustment circuit is adjusted according to the target gain.

[0012] In one possible implementation, adjusting the duty cycle of the power supply to the target gain adjustment circuit may include the following steps: The second output voltage of the acquisition circuit is collected according to the first preset cycle; Calculate the second difference, which is the difference between the preset voltage corresponding to the load and the second output voltage; When the second difference is greater than or equal to the first preset value, the second target gain is calculated based on the second difference and the first target gain. The duty cycle of the power supply of the second target gain adjustment circuit is adjusted according to the second target gain.

[0013] In another possible implementation, the method may further include: When the second difference is less than the first preset value, the circuit stops collecting the output voltage according to the first preset cycle.

[0014] In another possible implementation, when the first difference is greater than or equal to the first preset value, a first target gain is calculated based on the first difference and the current gain of the circuit; or when the second difference is greater than or equal to the first preset value, a second target gain is calculated based on the second difference and the first target gain. This may include the following steps: According to the formula Calculate the first target gain or the second target gain, where, The first target gain corresponding to when the first difference is greater than or equal to the first preset value, or The second target gain is the value when the second difference is greater than or equal to the first preset value. The first target gain corresponding to when the first difference is greater than or equal to the first preset value, or This refers to the gain of the current circuit when the second difference is greater than or equal to the first preset value. When the first difference is greater than or equal to the first preset value, the first difference is the difference between the preset voltage corresponding to the load and the first output voltage, or The second difference, which is greater than or equal to the first preset value, is the difference between the preset voltage of the load and the second output voltage, where n is related to the power supply of the circuit.

[0015] In another possible implementation, responding to a change in the load in the circuit may include the following steps: The output voltage of the circuit is collected according to the second preset cycle; When the change in the output voltage of the circuit within two adjacent second preset cycles is greater than the second preset value, it is determined that the load in the circuit has changed.

[0016] By implementing the embodiments of this application, when the circuit load changes, the magnitude of circuit gain adjustment can be determined according to the specifications of the circuit load and the current circuit voltage, thereby adjusting the power supply duty cycle. This helps to adjust the gain in combination with the actual operation of the circuit, enabling the power supply to quickly meet the functional requirements of the new load, reduce the energy deficit of the energy storage element, and thus achieve the purpose of improving the dynamic performance of the circuit and reducing the risk of damage to circuit components. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a schematic diagram of a loop-based power control circuit provided in an embodiment of this application; Figure 2 This is a schematic flowchart of a loop-based power control method provided in an embodiment of this application; Figure 3 This is a schematic diagram of an apparatus comprising a loop-based power control circuit provided in an embodiment of this application. Detailed Implementation

[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0020] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0021] In this document, the term "embodiment" means that a particular feature, result, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0022] To better understand the technical solutions of the embodiments of this application, a loop-based power control circuit provided in the embodiments of this application will be introduced first. Please refer to... Figure 1 This is a schematic diagram of a loop-based power control circuit provided in an embodiment of this application. The circuit may include a power supply 110, a data acquisition circuit 120, and a control circuit 130. The control circuit 130 may include an A / D converter 131, an arithmetic unit 132, and an ePWM module 133. Specifically: The acquisition circuit 120 is coupled to the control circuit 130 and can be used to acquire a first output voltage in response to a change in the load in the circuit, wherein the first output voltage is the output voltage of the circuit based on loop power control. The control circuit 130 can be used to calculate a first difference, which is the difference between a preset voltage corresponding to the load and a first output voltage; The control circuit 130 can also be used to calculate the first target gain based on the first difference and the current gain of the circuit when the first difference is greater than or equal to the first preset value. The control circuit 130 is coupled to the power supply 110 and can also be used to adjust the duty cycle of the power supply of the circuit according to the first target gain.

[0023] In one possible implementation, the circuit may further include: The acquisition circuit 120 can also be used to acquire the second output voltage of the circuit according to the first preset cycle, wherein the second output voltage is the output voltage of the circuit based on the loop power control circuit. The control circuit 130 can also be used to calculate a second difference, which is the difference between the preset voltage corresponding to the load and the second output voltage. The control circuit 130 can also be used to calculate the second target gain based on the second difference and the first target gain when the second difference is greater than or equal to the first preset value. The control circuit 130 can also be used to adjust the duty cycle of the power supply of the circuit according to the second target gain.

[0024] In another possible implementation, the circuit may further include: The acquisition circuit 120 can also be used to stop acquiring the output voltage of the circuit according to the first preset cycle when the second difference is less than the first preset value. The above circuit is a circuit based on loop power control.

[0025] In another possible implementation, the circuit may further include: Control circuit 130 can also be used according to formula Calculate the first target gain or the second target gain, where, The first target gain corresponding to when the first difference is greater than or equal to the first preset value, or The second target gain is the value when the second difference is greater than or equal to the first preset value. The current gain of the circuit when the first difference is greater than or equal to the first preset value, or The first target gain is the value when the second difference is greater than or equal to the first preset value. When the first difference is greater than or equal to the first preset value, the first difference is the difference between the preset voltage corresponding to the load and the first output voltage, or The second difference, which is greater than or equal to the first preset value, is the difference between the preset voltage of the load and the second output voltage, where n is related to the power supply of the circuit.

[0026] In another possible implementation, the circuit may further include: The acquisition circuit 120 can also be used to acquire the output voltage of the circuit according to a second preset cycle.

[0027] Possibly, power supply 110 can be a switching power supply, specifically in the form of BUCK, BOOST, forward, flyback, or phase-shifted full-bridge, etc. In the embodiments of this application, power supply 110 uses PWM (Pulse Width Modulation) technology to regulate the power supply output.

[0028] The usage methods involved in the embodiments of this application are described below with reference to the accompanying drawings.

[0029] Please see Figure 2This application provides a loop-based power supply control method, applied to a loop-based power supply control circuit. The circuit may include a power supply, a data acquisition circuit, and a control circuit. The control circuit may include an A / D converter, an arithmetic logic unit (ALU), and an ePWM module. The method may include the following steps: S201, in response to a change in the load in the circuit, obtains the first output voltage.

[0030] In one possible implementation, responding to a change in the load in the circuit may include the following steps: The output voltage of the circuit is collected according to the second preset cycle; When the change in the output voltage of the circuit within two adjacent second preset cycles is greater than the second preset value, it is determined that the load in the circuit has changed.

[0031] For example, suppose the current output voltage of the loop-based power control circuit is 120V and the second preset value is 20V. After a one-second interval (i.e., the second preset period is 1 second), if the output voltage of the loop-based power control circuit acquired by the acquisition circuit changes to 123V (the change is less than 20V), it can be determined that the load in the loop-based power control circuit has not changed; if the output voltage of the loop-based power control circuit acquired by the acquisition circuit changes to 220V (the change is greater than 20V), it can be determined that the load in the loop-based power control circuit has changed. Since the output voltage of the circuit may fluctuate within a certain range, a second preset value is set to help eliminate output voltage changes caused by normal voltage fluctuations in order to prevent false judgments.

[0032] S202, calculate the first difference.

[0033] It should be noted that the first difference is the difference between the preset voltage corresponding to the load and the first output voltage.

[0034] S203, when the first difference is greater than or equal to the first preset value, the first target gain is calculated based on the first difference and the current gain of the circuit.

[0035] S204, adjusts the duty cycle of the power supply of the first target gain adjustment circuit.

[0036] In one possible implementation, adjusting the duty cycle of the power supply to the target gain adjustment circuit may include the following steps: The second output voltage of the acquisition circuit is collected according to the first preset cycle; Calculate the second difference, which is the difference between the preset voltage corresponding to the load and the second output voltage; When the second difference is greater than or equal to the first preset value, the second target gain is calculated based on the second difference and the first target gain. The duty cycle of the power supply of the second target gain adjustment circuit is adjusted according to the second target gain.

[0037] In another possible implementation, when the first difference is greater than or equal to the first preset value, a first target gain is calculated based on the first difference and the current gain of the circuit; or when the second difference is greater than or equal to the first preset value, a second target gain is calculated based on the second difference and the first target gain. This may include the following steps: According to the formula Calculate the first target gain or the second target gain, where, The first target gain corresponding to when the first difference is greater than or equal to the first preset value, or The second target gain is the value when the second difference is greater than or equal to the first preset value. The current gain of the circuit when the first difference is greater than or equal to the first preset value, or The first target gain is the value when the second difference is greater than or equal to the first preset value. When the first difference is greater than or equal to the first preset value, the first difference is the difference between the preset voltage corresponding to the load and the first output voltage, or The second difference, which is greater than or equal to the first preset value, is the difference between the preset voltage of the load and the second output voltage, where n is related to the power supply of the circuit.

[0038] Specifically, when the load of the loop-based power supply control circuit changes, the formula is used. ,in, This can represent the first difference mentioned above. The preset voltage (or rated voltage) corresponding to the current load. This represents the current output voltage of the loop-based power control circuit. For example, if the output voltage acquired by the acquisition circuit shows that the load of the loop-based power control circuit has changed from load 1 (rated voltage 200V) to load 2 (rated voltage 220V), and the output voltage is 210V, then the first difference can be calculated as follows: Furthermore, assuming the first preset value is 5V, since 10V > 5V, the formula is used... Calculate the target gain, where, This can represent the first target gain mentioned above. This represents the current gain of the loop-based power supply control circuit. For example, let... =20dB, n=2, then the first target gain is bd. Furthermore, the circuit based on loop power control can adjust the duty cycle of the power supply according to the first target gain, so as to achieve the purpose of quickly adjusting the power supply duty cycle, increasing the weight of the power supply output voltage, and reducing the energy deficit of the energy storage element.

[0039] Furthermore, when the loop-based power supply control circuit is adjusting the power supply duty cycle according to the first target gain (when the first difference between the preset voltage corresponding to the current load and the output voltage of the loop-based power supply control circuit is still greater than the first preset value), the second target gain can be calculated periodically. The purpose of this step is to more dynamically adjust the gain of the loop-based power supply control circuit based on the actual output voltage of the circuit, making the gain adjustment process more consistent with the actual situation, reducing the burden on the dynamic adjustment output of the power supply, and helping to extend the service life of the power supply and other circuit components. For example, when the power supply duty cycle is adjusted according to the first target gain, the second output voltage of the loop-based power supply control circuit can be acquired every 0.2 seconds (i.e., the first preset period is 0.2 seconds). If, during the adjustment process of the loop-based power supply control circuit adjusting the power supply duty cycle according to the first target gain (assuming the preset voltage corresponding to load 3 is 160V and the first output voltage is 140V), the latest output voltage (equivalent to the aforementioned second output voltage) acquired by the acquisition circuit is 152V, then the formula... Calculate the second difference, where, This can represent the second difference mentioned above. The preset voltage (or rated voltage) corresponding to the current load. Given the current output voltage of the loop-based power supply control circuit, the second difference can be derived. Furthermore, since the second difference of 8V is greater than the first preset value of 5V, the formula can be used... Calculate the target gain, where, This can represent the second objective gain described above. This is the first target gain for loop-based power supply control. For example, let... =15dB, n=2, then the first target gain is bd. Furthermore, the circuit based on loop power control can continue to adjust the duty cycle of the power supply according to the second target gain. While achieving rapid adjustment of the power supply duty cycle and meeting the load energy demand, it can also make the duty cycle adjustment more gradual, reduce the burden of dynamic adjustment of the power supply output (or duty cycle), and help make the circuit target gain (or power supply duty cycle) more consistent with the current energy output status of the circuit.

[0040] It should be noted that the above refers to the first output voltage, the second output voltage, the first preset value, the first preset period, the second preset period, and the preset voltage of the load. (First target gain or second target gain) (The current circuit gain) The examples of (first difference or second difference) and related values ​​of n are only for illustrating the method of the embodiments of this application in more detail, and should not be construed as limiting this application. Specific related preset values ​​(such as first preset value, first preset period, second preset period, and...) The index n (etc.) shall be set by technical personnel according to the actual situation, and this application does not impose any restrictions on it.

[0041] In another possible implementation, the method may further include: When the second difference is less than the first preset value, the circuit stops collecting the output voltage according to the first preset cycle.

[0042] For example, if, during the process of adjusting the power supply duty cycle according to the target, the acquisition circuit also acquires the output voltage every 0.2 seconds (i.e., the first preset period is 0.2 seconds), and the acquisition circuit acquires the latest output voltage of the loop-based power control circuit (which can be regarded as the second output voltage in this step) as 216V, the preset voltage (or rated voltage) of the load is 220V, and the first preset value is 5V, then it can be considered that the current energy output (or duty cycle) of the power supply can meet the working requirements of the load, and there is no need to adjust the duty cycle of the power supply according to the target gain. Therefore, the acquisition circuit does not need to acquire the output voltage of the loop-based power control circuit every 0.2 seconds (i.e., the first preset period). More specifically, after determining that the current energy output (or duty cycle) of the power supply can meet the working requirements of the load, the acquisition circuit can acquire the output voltage of the loop-based power control circuit every second preset period. For specific steps, please refer to the relevant embodiments of step S201, which will not be repeated here.

[0043] It can be seen that by implementing the method of the embodiments of this application, when the power supply (or circuit) load changes, the gain of the circuit can be adjusted according to the difference between the preset voltage (or rated voltage) of the load and the actual output voltage of the circuit. As the difference increases, the gain value will increase exponentially, thereby enabling the output voltage to follow the preset voltage more quickly, reducing the undervoltage value of the circuit energy storage element, improving the dynamic performance of the circuit, and thus reducing the risk of damage to circuit components.

[0044] The circuit and method for loop-based power control according to embodiments of this application have been described above. The following describes possible product forms using the described loop-based power control circuit. It should be understood that any product possessing... Figure 1Any product form of the loop-based power control circuit described herein falls within the protection scope of this application. It should also be understood that the following description is merely illustrative and does not imply that the product forms of the embodiments of this application are limited to these examples.

[0045] As one possible product form, a device incorporating loop-based power control circuitry can be found in [link to product description]. Figure 3 , Figure 3 This is a schematic diagram of an apparatus comprising a loop-based power control circuit according to an embodiment of this application. The apparatus may include: The processor 310, memory 320, and I / O interface 330 are communicatively connected. The memory 320 is used to store instructions, and the processor 310 is used to execute the instructions stored in the memory 320 to achieve the above. Figure 2 The corresponding methods and steps.

[0046] The processor 310 executes the instructions stored in the memory 320 to control the I / O interface 330 to receive and send signals, thus completing the steps in the above method. The memory 320 may be integrated into the processor 310 or may be disposed separately from the processor 310.

[0047] The memory 320 may also include a storage system 321, a cache 322, and RAM 323. The cache 322 is a primary memory located between the RAM 323 and the CPU, composed of static RAM chips (SRAM). It has a relatively small capacity but a much higher speed than main memory, approaching the speed of the CPU. The RAM 323 is an internal memory that directly exchanges data with the CPU, allowing for read and write operations at any time (except during refresh), and it is very fast. It is typically used as temporary data storage for the operating system or other running programs. The three components work together to realize the function of the memory 320.

[0048] It should be noted that, Figure 3 This is merely a simplified schematic diagram of a device containing a loop-based power control circuit and should not be construed as limiting the product form of the device.

[0049] As one implementation approach, the functionality of I / O interface 330 can be implemented using transceiver circuitry or dedicated transceiver chips. Processor 310 can be implemented using dedicated processing chips, processing circuitry, processors, or general-purpose chips.

[0050] As another implementation method, the apparatus provided in the embodiments of this application can be implemented using a general-purpose computer. The program code that implements the functions of processor 310 and I / O interface 330 is stored in memory 320, and the general-purpose processor implements the functions of processor 310 and I / O interface 330 by executing the code in memory 320.

[0051] For the concepts, explanations, detailed descriptions, and other steps related to the technical solutions provided in the embodiments of this application, please refer to the descriptions of the method steps performed by the device in the foregoing method or other embodiments, which will not be repeated here.

[0052] As another implementation of this embodiment, a computer-readable storage medium is provided, on which instructions are stored, which, when executed, perform the methods in the above-described method embodiments.

[0053] As another implementation of this embodiment, a computer program product containing instructions is provided, which, when executed, perform the method in the above method embodiment.

[0054] Those skilled in the art will understand that, for ease of explanation, Figure 3 Only one memory and processor are shown in the illustration. In a real terminal or server, multiple processors and memories may exist. Memory can also be called storage medium or storage device, etc., and this application does not limit this.

[0055] It should be understood that in the embodiments of this application, the processor may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0056] It should also be understood that the memory mentioned in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).

[0057] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) is integrated into the processor.

[0058] It should be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.

[0059] In addition to the data bus, this bus may also include a power bus, a control bus, and a status signal bus. However, for clarity, all buses are labeled "bus" in the diagram.

[0060] It should also be understood that the first, second, third, fourth and various numerical designations used herein are merely for descriptive convenience and are not intended to limit the scope of this application.

[0061] It should be understood that the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0062] In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software. The steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware processor, or by a combination of hardware and software modules in the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, detailed descriptions are omitted here.

[0063] In the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0064] Those skilled in the art will recognize that the various illustrative logical blocks (ILBs) and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.

[0065] In the several embodiments provided in this application, it should be understood that the disclosed circuits, methods, or devices including loop-based power control circuits can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of units or modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0066] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0067] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0068] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.

[0069] This application also provides a computer storage medium storing a computer program that is executed by a processor to implement some or all of the steps of any of the loop-based power control methods described in the above method embodiments.

[0070] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A circuit for power supply control based on a loop, characterized in that, The circuit includes a power supply, a data acquisition circuit, and a control circuit. The control circuit includes an A / D converter, an arithmetic unit, and an ePWM module. The acquisition circuit is coupled to the control circuit and is used to acquire a first output voltage in response to a change in the load in the circuit. The control circuit is used to calculate a first difference, which is the difference between the preset voltage corresponding to the load and the first output voltage. The control circuit is further configured to calculate a first target gain based on the first difference and the current gain of the circuit when the first difference is greater than or equal to a first preset value. The control circuit is coupled to the power supply and is also used to adjust the duty cycle of the power supply of the circuit according to the first target gain. The circuit also includes: The acquisition circuit is also used to acquire the second output voltage of the circuit according to a first preset period, wherein the second output voltage is the output voltage of the circuit based on loop power control. The control circuit is also used to calculate a second difference, which is the difference between the preset voltage corresponding to the load and the second output voltage. The control circuit is further configured to calculate a second target gain based on the second difference and the first target gain when the second difference is greater than or equal to the first preset value; The control circuit is also used to adjust the duty cycle of the power supply of the circuit according to the second target gain; The circuit also includes: The control circuit is also used to calculate according to the formula Calculate the first target gain or the second target gain, wherein, The first target gain corresponding to when the first difference is greater than or equal to the first preset value, or the... The second target gain is the value when the second difference is greater than or equal to the first preset value. The current gain of the circuit when the first difference is greater than or equal to the first preset value, or the The first target gain is the value when the second difference is greater than or equal to the first preset value. When the first difference is greater than or equal to the first preset value, the first difference is the difference between the preset voltage corresponding to the load and the first output voltage, or the... When the second difference is greater than or equal to the first preset value, the second difference is the difference between the preset voltage corresponding to the load and the second output voltage, where n is related to the power supply of the circuit.

2. The circuit according to claim 1, characterized in that, The circuit also includes: The acquisition circuit is also used to stop acquiring the output voltage of the circuit according to the first preset period when the second difference is less than the first preset value.

3. The circuit according to claim 1, characterized in that, The circuit also includes: The acquisition circuit is also used to acquire the output voltage of the circuit according to a second preset period.

4. A loop-based power supply control method, characterized in that, The method, applied to a loop-based power control circuit, includes the following steps: The first output voltage is obtained in response to a change in the load of the circuit; Calculate the first difference, which is the difference between the preset voltage corresponding to the load and the first output voltage; When the first difference is greater than or equal to the first preset value, the first target gain is calculated based on the first difference and the current gain of the circuit. Adjust the duty cycle of the power supply of the circuit according to the first target gain; The step of adjusting the duty cycle of the power supply of the circuit according to the target gain includes the following steps: The second output voltage of the circuit is collected according to the first preset cycle. The second output voltage is the output voltage of the circuit based on loop power control. Calculate the second difference, which is the difference between the preset voltage corresponding to the load and the second output voltage; When the second difference is greater than or equal to the first preset value, the second target gain is calculated based on the second difference and the first target gain. Adjust the duty cycle of the power supply of the circuit according to the second target gain; The step of calculating a first target gain based on the first difference and the current gain of the circuit when the first difference is greater than or equal to the first preset value, or calculating a second target gain based on the second difference and the first target gain when the second difference is greater than or equal to the first preset value, includes the following steps: According to the formula Calculate the first target gain or the second target gain, wherein, The first target gain corresponding to when the first difference is greater than or equal to the first preset value, or the... The second target gain is the value when the second difference is greater than or equal to the first preset value. The current gain of the circuit when the first difference is greater than or equal to the first preset value, or the The first target gain is the value when the second difference is greater than or equal to the first preset value. When the first difference is greater than or equal to the first preset value, the first difference is the difference between the preset voltage corresponding to the load and the first output voltage, or the... When the second difference is greater than or equal to the first preset value, the second difference is the difference between the preset voltage corresponding to the load and the second output voltage, where n is related to the power supply of the circuit.

5. The method according to claim 4, characterized in that, The method further includes the following steps: When the second difference is less than the first preset value, stop collecting the output voltage of the circuit according to the first preset period.

6. The method according to claim 4, characterized in that, The response to a change in load in the circuit includes the following steps: The output voltage of the circuit is collected according to the second preset cycle; When the change in the output voltage of the circuit within the second preset period is greater than the second preset value, it is determined that the load in the circuit has changed.

Citation Information

Patent Citations

  • Method and device for controlling PFC (power factor correction) circuit

    CN104953814A