Current control method, current control device and current control system for a converter
Patent Information
- Application Number
- CN202311040542.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-17
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2043-08-17
AI Technical Summary
[0004]本申请的主要目的在于提供一种变换器的电流控制方法、电流控制装置、计算机可读存储介质和电流控制系统,以至少解决现有技术中低频纹波电流消除速度较慢导致低频电流纹波对变换器影响较大的问题
[0015]Applying the technical solution of this application, in the current control method of the converter described above, firstly, a first preset current and a first sampled current are obtained, and the difference between the first preset current and the first sampled current is calculated to obtain a first current deviation. The first preset current is the preset total output current of the converter, and the first sampled current is the actual total output current of the converter. The total output current is the sum of the output currents of multiple phase circuits of the converter. Then, a first adjustment current is calculated based on the first preset current and a target ratio, and a second adjustment current is obtained by performing a PI operation based on the first current deviation. The first adjustment current is the theoretically set output current of the phase circuit, and the first adjustment currents corresponding to any two phase circuits are equal. The second adjustment current is used to correct the theoretically set output current of the phase circuit. Afterward, the sum of the first adjustment current and the second adjustment current is calculated to obtain a second preset current, which is the actual set output current of the phase circuit. Finally, the second sampled current of each phase circuit is adjusted according to the second preset current so that the first sampled current is equal to the first preset current, and the second sampled current is the actual output current of each phase circuit. This application calculates the deviation value by comparing the actual output of the total current with the preset output. Through feedforward control, the set output current of the phase circuit corresponding to the preset value is corrected according to the deviation value. The actual output of the total current is adjusted by adjusting the output current of each phase circuit. The current control based on feedforward control is based on the disturbance compensation principle and issues an adjustment signal when a disturbance occurs in the circuit. Compared with traditional negative feedback regulation or current control implemented by hardware, the response speed is faster, which solves the problem in the prior art that the low-frequency ripple current elimination speed is slow, resulting in a large impact of low-frequency current ripple on the converter.
Smart Images

Figure CN117060698B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of circuit control, and more specifically, to a current control method, a current control device, a computer-readable storage medium, and a current control system for a converter. Background Technology
[0002] In existing DC / DC converter circuits, hardware methods are used to reduce low-frequency ripple, such as filter capacitors. This increases hardware costs, size, and weight. Furthermore, the entirely hardware-based control method has a slow response speed and low accuracy to current disturbances in the circuit, resulting in a significant amount of low-frequency ripple current remaining in the circuit, which can negatively impact its performance.
[0003] This is achieved through control methods, which, compared to hardware implementation, are less costly and do not increase size or weight. It reduces total current and low-frequency current ripple, improving response speed and responsiveness to changes in input and output voltage. Summary of the Invention
[0004] The main objective of this application is to provide a current control method, current control device, computer-readable storage medium, and current control system for a converter, so as to at least solve the problem in the prior art that the slow elimination speed of low-frequency ripple current leads to a large impact of low-frequency current ripple on the converter.
[0005] To achieve the above objectives, according to one aspect of this application, a current control method for a converter is provided, comprising: acquiring a first preset current and a first sampled current; calculating the difference between the first preset current and the first sampled current to obtain a first current deviation, wherein the first preset current is a preset total output current of the converter, the first sampled current is the actual total output current of the converter, and the total output current is the sum of the output currents of multiple phase circuits of the converter; calculating a first adjustment current based on the first preset current and a target ratio; performing a PI operation based on the first current deviation to obtain a second adjustment current, wherein the first adjustment current is the theoretically set output current of the phase circuit, the first adjustment currents corresponding to any two phase circuits are equal, and the second adjustment current is used to correct the theoretically set output current of the phase circuit; calculating the sum of the first adjustment current and the second adjustment current to obtain a second preset current, wherein the second preset current is the actual set output current of the phase circuit; and adjusting the second sampled current of each phase circuit according to the second preset current so that the first sampled current is equal to the first preset current, and the second sampled current is the actual output current of each phase circuit.
[0006] Optionally, adjusting the second sampling current of each phase circuit according to the second preset current to make the first sampling current equal to the first preset current includes: calculating the difference between the second preset current and the second sampling current to obtain a second current deviation; acquiring a first voltage and a second voltage, where the first voltage is the input voltage of the load in the phase circuit and the second voltage is the output voltage of the load in the phase circuit; calculating the ratio of the first voltage and the second voltage to obtain a first adjustment value; performing a PI operation based on the second current deviation to obtain a second adjustment value, where the first adjustment value is used to control the voltage of the load and the second adjustment value is used to correct the first adjustment value; and adjusting the voltage of the load according to the first adjustment value and the second adjustment value to make the second sampling current equal to the second preset current.
[0007] Optionally, calculating the ratio of the first voltage to the second voltage to obtain a first adjustment value includes: calculating the ratio of the first voltage to the second voltage to obtain a first ratio; calculating a second ratio based on the first ratio, and determining the second ratio as the first adjustment value, wherein the sum of the first ratio and the second ratio is 1.
[0008] Optionally, adjusting the voltage of the load according to the first adjustment value and the second adjustment value includes: calculating the sum of the first adjustment value and the second adjustment value to obtain a target duty cycle, wherein the target duty cycle is the duty cycle of the voltage of the load, and the duty cycle is the ratio of the effective voltage time to the period within one cycle; controlling the voltage of the load according to the target duty cycle, such that the duty cycle of the voltage of the load is equal to the target duty cycle.
[0009] Optionally, calculating the first regulating current based on the first preset current and the target ratio includes: obtaining a target number, where the target number is the number of the phase circuits connected in parallel in the converter; determining the target ratio based on the target number, where the target ratio is the reciprocal of the target number; and calculating the product of the target ratio and the first preset current to obtain the first regulating current.
[0010] Optionally, before acquiring the first preset current and the first sampled current, the method further includes: acquiring the voltage frequency of the load voltage in the phase circuit and a first ripple current, wherein the first ripple current is the ripple current in the total input current of the converter, and the total input current is the total current of the input currents of the multiple phase circuits of the converter; determining multiple second ripple currents based on a target number and the first ripple current, wherein the multiple second ripple currents are the ripple currents in the input currents of each phase circuit, and the target number is the number of phase circuits connected in parallel in the converter; determining a high-frequency ripple current and a low-frequency ripple current based on each second ripple current and the voltage frequency, wherein the high-frequency ripple current is the second ripple current with a corresponding frequency greater than the voltage frequency, and the low-frequency ripple current is the second ripple current with a corresponding frequency less than a first threshold, the first threshold being determined based on the voltage frequency; and adjusting the phase angle of the load voltage in each phase circuit based on the high-frequency ripple current to eliminate the high-frequency ripple current in each phase circuit.
[0011] Optionally, adjusting the phase angle of the load voltage in each phase circuit according to the high-frequency ripple current includes: obtaining a voltage period, a first moment, and a second moment, where the first moment is the start of any period of the load voltage, the second moment is the current moment, and the voltage period is the reciprocal of the voltage frequency; calculating the difference between the first moment and the second moment to obtain a target duration, and performing a modulo operation between the target duration and the voltage period to obtain a target value; calculating the product of the ratio of the target value and the voltage period and a preset value to obtain the current phase angle corresponding to the second moment; querying a target mapping relationship based on the target quantity and the high-frequency ripple current to determine the target phase angle, where the target mapping relationship is the mapping relationship between the target quantity, the high-frequency ripple current, and the target phase angle, and the target phase angle is used to eliminate the high-frequency ripple current; determining a phase circuit group based on the phase circuit, and adjusting each current phase angle by adjusting the pulse width of the voltage so that the difference in current phase angles corresponding to phase circuits belonging to the same phase circuit group is the target phase angle, where the phase circuit group includes two phase circuits.
[0012] According to another aspect of this application, a current control device for a converter is provided, the device comprising: a first acquisition unit, configured to acquire a first preset current and a first sampled current, calculate the difference between the first preset current and the first sampled current to obtain a first current deviation, wherein the first preset current is a preset total output current of the converter, the first sampled current is the actual total output current of the converter, and the total output current is the sum of the output currents of a plurality of phase circuits of the converter; a first calculation unit, configured to calculate a first adjustment current based on the first preset current and a target ratio, and perform a PI operation based on the first current deviation to obtain a second adjustment current, wherein the first adjustment current is the theoretically set output current of the phase circuit, the first adjustment current corresponding to any two phase circuits is equal, and the second adjustment current is used to correct the theoretically set output current of the phase circuit; a second calculation unit, configured to calculate the sum of the first adjustment current and the second adjustment current to obtain a second preset current, wherein the second preset current is the actual set output current of the phase circuit; and an adjustment unit, configured to adjust the second sampled current of each phase circuit according to the second preset current, so that the first sampled current is equal to the first preset current, and the second sampled current is the actual output current of each phase circuit.
[0013] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform any of the methods described.
[0014] According to another aspect of this application, a current control system is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including methods for performing any one of the methods described.
[0015] Applying the technical solution of this application, in the current control method of the converter described above, firstly, a first preset current and a first sampled current are obtained, and the difference between the first preset current and the first sampled current is calculated to obtain a first current deviation. The first preset current is the preset total output current of the converter, and the first sampled current is the actual total output current of the converter. The total output current is the sum of the output currents of multiple phase circuits of the converter. Then, a first adjustment current is calculated based on the first preset current and a target ratio, and a second adjustment current is obtained by performing a PI operation based on the first current deviation. The first adjustment current is the theoretically set output current of the phase circuit, and the first adjustment currents corresponding to any two phase circuits are equal. The second adjustment current is used to correct the theoretically set output current of the phase circuit. Afterward, the sum of the first adjustment current and the second adjustment current is calculated to obtain a second preset current, which is the actual set output current of the phase circuit. Finally, the second sampled current of each phase circuit is adjusted according to the second preset current so that the first sampled current is equal to the first preset current, and the second sampled current is the actual output current of each phase circuit. This application calculates the deviation value by comparing the actual output of the total current with the preset output. Through feedforward control, the set output current of the phase circuit corresponding to the preset value is corrected according to the deviation value. The actual output of the total current is adjusted by adjusting the output current of each phase circuit. The current control based on feedforward control is based on the disturbance compensation principle and issues an adjustment signal when a disturbance occurs in the circuit. Compared with traditional negative feedback regulation or current control implemented by hardware, the response speed is faster, which solves the problem in the prior art that the low-frequency ripple current elimination speed is slow, resulting in a large impact of low-frequency current ripple on the converter. Attached Figure Description
[0016] Figure 1 A hardware block diagram of a current-controlled mobile terminal according to an embodiment of the present application is shown.
[0017] Figure 2 A schematic flowchart of a current control method for a converter according to an embodiment of this application is shown;
[0018] Figure 3 A schematic flowchart of a current control method for a phase circuit of a converter according to an embodiment of this application is shown.
[0019] Figure 4 A schematic flowchart of a method for eliminating high-frequency ripple current in a converter according to an embodiment of this application is shown.
[0020] Figure 5A flowchart is shown of a current control method for the phase circuit of a specific converter according to an embodiment of this application;
[0021] Figure 6 A structural block diagram of a current control device for a converter according to an embodiment of this application is shown.
[0022] The above figures include the following reference numerals:
[0023] 1. Processor; 2. Memory; 3. Transmission device; 4. Input / output device; 101. Total current loop A; 102. Current feedforward; 103. Total current regulator; 104. Total current sampler; 105. First adder; 106. Second adder; 107. Current adder; 201. Phase current loop B; 202. Phase current regulator; 203. Voltage feedforward; 204. Phase current sampler; 205. Actuator; 206. Controlled object; 207. Third adder; 208. Fourth adder. Detailed Implementation
[0024] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0025] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. 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 comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0027] For ease of description, the following explains some of the nouns or terms used in the embodiments of this application:
[0028] DC / DC converter: A power electronic converter that takes DC input and outputs DC. The input DC voltage and output DC voltage are different.
[0029] Switching frequency: DC / DC converters contain power semiconductor switching devices (referred to as "power semiconductors"), such as MOSFETs or IGBTs. These power semiconductors turn on and off continuously at a relatively high frequency. The frequency of turning on and off is called the switching frequency.
[0030] PWM (Pulse Width Modulation) is a control signal that controls the switching on and off of power semiconductors. When the PWM signal is high, the power semiconductor is turned on; when the PWM signal is low, the power semiconductor is turned off. The time to complete one turn-on and turn-off cycle is one switching cycle. The ratio of the on-time to the off-time is the PWM duty cycle, and the reciprocal of the switching cycle is the switching frequency. By changing the duty cycle of the PWM signal, the voltage, current, and power of the DC / DC converter can be controlled.
[0031] Ripple current: refers to the high-frequency harmonic components in the current, which can cause changes in the amplitude of the current or voltage and may lead to breakdown.
[0032] As described in the background section, existing technologies employ hardware methods to reduce low-frequency ripple, such as filter capacitors. To address the problem that the slow elimination speed of low-frequency ripple current in existing technologies leads to a significant impact of low-frequency current ripple on the converter, embodiments of this application provide a current control method, a current control device, a computer-readable storage medium, and a current control system for a converter.
[0033] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0034] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a converter current control method according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 1 (processor 1 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 2 for storing data are also shown. The mobile terminal may further include a transmission device 3 for communication functions and an input / output device 4. Those skilled in the art will understand that... Figure 1The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0035] The memory 2 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the device information display method in this embodiment of the invention. The processor 1 executes various functional applications and data processing by running the computer program stored in the memory 2, thus implementing the above-described method. The memory 2 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 2 may further include memory remotely located relative to the processor 1, and these remote memories can be connected to the mobile terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 3 is used to receive or send data via a network. Specific examples of the aforementioned networks may include wireless networks provided by the mobile terminal's communication provider. In one instance, the transmission device 3 includes a Network Interface Controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one instance, the transmission device 3 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0036] This embodiment provides a current control method for a converter operating on a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0037] Figure 2 This is a flowchart of a converter current control method according to an embodiment of this application. Figure 2 As shown, the method includes the following steps:
[0038] Step S401: Obtain the first preset current and the first sampled current, calculate the difference between the first preset current and the first sampled current to obtain the first current deviation, wherein the first preset current is the preset total output current of the converter, the first sampled current is the actual total output current of the converter, and the total output current is the total current of the output currents of the multiple phase circuits of the converter.
[0039] Specifically, the total output current of the converter is collected by the total current sampler to obtain the first sampled current, and then the total current setpoint of the converter, i.e. the first preset current, is obtained. The two current values are input into the adder to calculate the difference with total current error, i.e. the first current deviation.
[0040] Step S402: Calculate the first adjustment current based on the first preset current and the target ratio, and perform PI calculation based on the first current deviation to obtain the second adjustment current. The first adjustment current is the theoretically set output current of the phase circuit. The first adjustment currents corresponding to any two phase circuits are equal. The second adjustment current is used to correct the theoretically set output current of the phase circuit.
[0041] Specifically, the current value of the first preset current is input into the current feedforward. The current feedforward calculates the theoretical set phase current of each phase circuit based on the input value and preset parameters, which is the first regulating current. Then, the first current deviation is input into the proportional-integral controller. The proportional-integral controller calculates the deviation value based on the set parameters, performs proportional conversion and integral calculation, and obtains the correction amount of the set phase current, which is the second regulating current.
[0042] Step S403: Calculate the sum of the first regulating current and the second regulating current to obtain the second preset current, where the second preset current is the actual set output current of the phase circuit.
[0043] Specifically, the theoretically set phase current and the correction amount are input into the adder and summed to obtain the actual set value of the phase current, i.e. the second preset current. Since the phase circuit structures of each phase in the converter are similar or the same, their phase current set values are the same.
[0044] Step S404: Adjust the second acquisition current of each phase circuit according to the second preset current so that the first acquisition current is equal to the first preset current, and the second acquisition current is the actual output current of each phase circuit.
[0045] Specifically, by using a phase current sampler, the actual output current of each phase circuit is collected to obtain the second sampled current. Then, the actual set value of the output current of each phase circuit is adjusted so that the actual output current is equal to the corrected second preset current, so that the total output current of the converter is equal to the set value, that is, the first sampled current is equal to the first preset current.
[0046] In this embodiment, firstly, a first preset current and a first sampled current are obtained, and the difference between the first preset current and the first sampled current is calculated to obtain a first current deviation. The first preset current is the preset total output current of the converter, and the first sampled current is the actual total output current of the converter. The total output current is the sum of the output currents of the multiple phase circuits of the converter. Then, a first adjustment current is calculated based on the first preset current and a target ratio. A second adjustment current is obtained by performing a PI calculation based on the first current deviation. The first adjustment current is the theoretically set output current of the phase circuit, and the first adjustment currents corresponding to any two phase circuits are equal. The second adjustment current is used to correct the theoretically set output current of the phase circuit. Afterward, the sum of the first adjustment current and the second adjustment current is calculated to obtain a second preset current, which is the actual set output current of the phase circuit. Finally, the second sampled current of each phase circuit is adjusted according to the second preset current so that the first sampled current is equal to the first preset current, and the second sampled current is the actual output current of each phase circuit. This application calculates the deviation value by comparing the actual output of the total current with the preset output. Through feedforward control, the set output current of the phase circuit corresponding to the preset value is corrected according to the deviation value. The actual output of the total current is adjusted by adjusting the output current of each phase circuit. The current control based on feedforward control is based on the disturbance compensation principle and issues an adjustment signal when a disturbance occurs in the circuit. Compared with traditional negative feedback regulation or current control implemented by hardware, the response speed is faster, which solves the problem in the prior art that the low-frequency ripple current elimination speed is slow, resulting in a large impact of low-frequency current ripple on the converter.
[0047] In order to adjust the output current of each phase circuit so that the output current is equal to the preset output current, in an optional embodiment, the above step S404 includes:
[0048] Step S4041: Calculate the difference between the second preset current and the second collected current to obtain the second current deviation;
[0049] Specifically, such as Figure 3 As shown, the second preset current and the second acquired current are input into the adder to calculate the difference, which is the phase current error, i.e., the second current deviation.
[0050] Step S4042: Obtain a first voltage and a second voltage, wherein the first voltage is the input voltage of the load in the phase circuit and the second voltage is the output voltage of the load in the phase circuit.
[0051] Specifically, such as Figure 3As shown, the voltage across the load terminals in the phase circuit, i.e., the input voltage and the output voltage, are obtained by a voltage detection device installed in the converter, thus obtaining the first voltage and the second voltage mentioned above.
[0052] Step S4043: Calculate the ratio of the first voltage to the second voltage to obtain a first adjustment value; perform PI calculation based on the second current deviation to obtain a second adjustment value; the first adjustment value is used to control the voltage of the load; and the second adjustment value is used to correct the first adjustment value.
[0053] Specifically, such as Figure 3 As shown, the first voltage and the second voltage input voltage feedforward are processed to determine the voltage applied to the load based on the input voltage and the output voltage. Then, the duty cycle of the actuator, i.e. the duty cycle of the power semiconductor in the circuit, is determined based on the voltage on the load. According to the set algorithm, the estimated duty cycle that makes the second sampled current equal to the second preset current is output, i.e., the first adjustment value. At the same time, the second current deviation is input to the proportional-integral controller. Based on the deviation value of the phase current and the preset parameters, proportional scaling and integral calculations are performed to obtain the correction amount of the estimated duty cycle, i.e., the second adjustment value.
[0054] Step S4044: Adjust the voltage of the load according to the first adjustment value and the second adjustment value so that the second sampled current is equal to the second preset current.
[0055] Specifically, such as Figure 3 As shown, the first adjustment value is corrected according to the second adjustment value to obtain the target duty cycle. The actuator is controlled to operate according to the target duty cycle, so that the voltage applied to the load reaches the target voltage, and the phase current in the phase circuit reaches the preset value, so that the second sampled current is equal to the second preset current.
[0056] To obtain the aforementioned first adjustment value, in an optional implementation, step S4043 includes:
[0057] Step S40431: Calculate the ratio of the first voltage to the second voltage to obtain the first ratio;
[0058] Specifically, let the first voltage mentioned above be V. in The second voltage mentioned above is V out That is, calculate the first ratio K = V in / V out .
[0059] Step S40432: Calculate the second ratio based on the first ratio and determine the second ratio as the first adjustment value. The sum of the first ratio and the second ratio is 1.
[0060] Specifically, let the second ratio be K. * Then K* = 1 - K.
[0061] In order to make the second acquisition current equal to the second preset current, in an optional embodiment, step S4044 includes:
[0062] S40441, calculate the sum of the first adjustment value and the second adjustment value to obtain the target duty cycle. The target duty cycle is the duty cycle of the voltage of the load. The duty cycle is the ratio of the effective voltage time to the period within one cycle.
[0063] The first and second adjustment values are input into the adder and summed to obtain the target duty cycle.
[0064] S40442, control the voltage of the load according to the target duty cycle, so that the duty cycle of the voltage of the load is equal to the target duty cycle.
[0065] Specifically, the actuator, i.e. the power semiconductor, is controlled according to the target duty cycle. The switch is opened and closed by controlling the input PWM signal of the power semiconductor, so that the voltage applied to the load is in the form of a square wave. This changes the proportion of the effective voltage time in one cycle to change the load voltage, so as to control the current in the phase circuit to reach the second preset current mentioned above.
[0066] In order to obtain the aforementioned first regulating current, in an optional embodiment, step S402 includes:
[0067] Step S4021: Obtain the target quantity, which is the number of the phase circuits connected in parallel in the converter.
[0068] Specifically, the number of interleaved parallel phase circuits in the converter is obtained, denoted as N, which is the target number mentioned above.
[0069] Step S4022: Determine the target ratio based on the target quantity, wherein the target ratio is the reciprocal of the target quantity;
[0070] Specifically, the target ratio is 1 / N.
[0071] Step S4023: Calculate the product of the target ratio and the first preset current to obtain the first regulating current.
[0072] Specifically, let the first preset current be I1 and the total current be I, then I1 = I / N.
[0073] To eliminate high-frequency ripple current in the phase circuit, in one optional implementation, before acquiring the first preset current and the first sampled current, the method further includes:
[0074] Step S501: Obtain the voltage frequency and first ripple current of the load voltage in the phase circuit. The first ripple current is the ripple current in the total input current of the converter. The total input current is the total current of the input currents of the multiple phase circuits of the converter.
[0075] Specifically, the switching frequency of the actuator is obtained. The voltage is controlled by the actuator, and its frequency is actually the same as the switching frequency of the actuator. Furthermore, the harmonic frequency of the total current is obtained, and the high-frequency harmonic component, i.e., the first ripple current, is determined based on this frequency.
[0076] Step S502: Determine a plurality of second ripple currents based on the target number and the first ripple current. The plurality of second ripple currents are the ripple currents in the input currents of each phase circuit. The target number is the number of phase circuits connected in parallel in the converter.
[0077] The ripple current in each phase circuit is determined based on the number of phase circuits and whether the parallel circuits are input or output nodes, i.e., the second ripple current mentioned above.
[0078] Step S503: Determine the high-frequency ripple current and the low-frequency ripple current based on each of the second ripple currents and the voltage frequency. The high-frequency ripple current is the second ripple current with a frequency greater than the voltage frequency, and the low-frequency ripple current is the second ripple current with a frequency less than a first threshold. The first threshold is determined based on the voltage frequency.
[0079] Specifically, the ripple current of each phase circuit is compared with the switching frequency of the actuator in each phase circuit. The portion of the harmonic frequency that is higher than the switching frequency cannot be eliminated by PWM modulation, i.e., cannot be eliminated by the actuator control method of this application, is the high-frequency ripple current. The portion of the harmonic frequency that is much lower than the switching frequency can be eliminated by PWM modulation, i.e., is the low-frequency ripple current.
[0080] Step S504: Adjust the phase angle of the voltage of the load in each phase circuit according to the high-frequency ripple current to eliminate the high-frequency ripple current in each phase circuit.
[0081] Specifically, in order to eliminate the influence of high-frequency ripple current on the circuit and make the elimination of low-frequency ripple current more accurate and faster, in this embodiment, based on the predicted high-frequency ripple current, the phase angle of the voltage in the phase circuit is adjusted by adjusting the phase angle between the PWM signals of the actuators in each phase circuit, thereby making the high-frequency ripple current in each phase circuit cancel each other out and ensuring that the high-frequency ripple current does not affect the circuit.
[0082] In order to cancel out the high-frequency ripple currents between the phase circuits, in an optional implementation, step S504 above includes:
[0083] Step S5041: Obtain the voltage period, the first moment, and the second moment. The first moment is the start moment of any one of the cycles of the voltage of the load, the second moment is the current moment, and the voltage period is the reciprocal of the voltage frequency.
[0084] Specifically, such as Figure 4 As shown, the signal period T of the actuator is obtained, which is the same as the voltage period of the corresponding load. At the same time, the start time of any period is obtained, i.e. the first time t1 mentioned above, and the current time is obtained, i.e. the second time t2 mentioned above.
[0085] Step S5042: Calculate the difference between the first moment and the second moment to obtain the target duration, and perform a modulo operation between the target duration and the voltage period to obtain the target value;
[0086] Specifically, such as Figure 4 As shown, the difference between the first and second moments is calculated, which gives the elapsed time from the start of a certain period to the current moment. Let this be T. * That is, T* = t2 - t1. Calculate mod(T) * ,T), that is, the duration of the current cycle, which is the target value T` mentioned above.
[0087] Step S5043: Calculate the product of the ratio of the target value and the voltage period mentioned above and the preset value to obtain the current phase angle corresponding to the second moment mentioned above;
[0088] Specifically, such as Figure 4 As shown, the current phase angle θ is expressed in terms of angle, and θ = 360T` / T.
[0089] Step S5044: Based on the target quantity and the high-frequency ripple current, query the target mapping relationship to determine the target phase angle. The target mapping relationship is the mapping relationship between the target quantity, the high-frequency ripple current and the target phase angle. The target phase angle is used to eliminate the high-frequency ripple current.
[0090] Specifically, such as Figure 4As shown, the target phase angle can be obtained by looking up the table based on the high-frequency ripple current of each phase circuit in the current converter and the number of phase circuits. This is the phase angle at which the high-frequency ripple currents in each phase circuit cancel each other out.
[0091] In practical implementation, due to the frequency limitation of the PWM signal of the aforementioned actuator, i.e. the power semiconductor, it is difficult to eliminate high-frequency ripple current through actuator control. Therefore, it is necessary to set the phase angles between the PWM signals to be interleaved, i.e., the PWM signals of the aforementioned actuator in the phase circuit are different by a certain phase angle, i.e., the target phase angle.
[0092] Step S5045: Determine the phase circuit group based on the phase circuit described above, and adjust the current phase angle of each phase circuit by adjusting the pulse width of the voltage, so that the difference of the current phase angles of the phase circuits belonging to the same phase circuit group is the target phase angle. The phase circuit group includes two phase circuits.
[0093] Specifically, by adjusting the PWM signal of the aforementioned actuator, pulse width modulation is performed, thereby adjusting the phase angle of the voltage in the phase circuit so that the high-frequency ripple current of each path cancels each other out.
[0094] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the converter current control method of this application will be described in detail below with reference to specific embodiments.
[0095] This embodiment relates to a specific current control method for a converter, such as... Figure 5 As shown, it includes the following steps:
[0096] Step S1: The output current of each phase circuit, i.e. the phase current, is collected by the current adder 107 to obtain the total current. The total current is then input into the total current sampler 104 to obtain the total current sample value.
[0097] Step S2: Obtain the total current setpoint, input the total current setpoint and the total current sampled value into the first adder 105 and calculate the difference to obtain the total current error;
[0098] Step S3: Input the total current error into the total current regulator 103 to obtain the output value of the total current regulator, input the total current setpoint into the current feedforward unit 102 to obtain the current feedforward value, and input the output value of the total current regulator and the current feedforward value into the second adder 106 to sum them up to obtain the phase current setpoint.
[0099] Step S4: The phase current is sampled by the phase current sampler 204 to obtain the phase current sample value. The phase current sample value and the phase current setpoint are input into the third adder 207 and the difference is obtained to obtain the phase current error.
[0100] Step S5: Input the phase current error into the phase current regulator 202 to obtain the output value of the phase current regulator, and obtain the voltage across the controlled object 206, i.e., the input voltage V of the load. in and output voltage V out The output value is obtained by inputting it into the voltage feedforward 203. The output value and the output value of the phase current regulator are then input into the fourth adder 208 and summed to obtain the duty cycle of the actuator 205.
[0101] Step S6: The actuator 205 outputs the voltage applied to the controlled object according to the input duty cycle, which is the actuator output. This affects the output value of the phase circuit, i.e. the phase current, and thus adjusts the total current so that the total current is equal to the given value of the total current.
[0102] also, Figure 5 The schematic diagram includes a total current loop A101 and multiple phase current loops B201, which together constitute a converter. The total current loop A101 includes a converter, a total current sampler 104, a total current regulator 103, a current adder 107, a current feedforward 102, and multiple adders.
[0103] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0104] This application also provides a current control device for a converter. It should be noted that the current control device for the converter in this application can be used to execute the current control method for a converter provided in this application. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0105] The current control device for the converter provided in the embodiments of this application will be described below.
[0106] Figure 6 This is a structural block diagram of the current control device for a converter according to an embodiment of this application. Figure 6 As shown, the device includes:
[0107] The first acquisition unit 10 is used to acquire a first preset current and a first sampled current, calculate the difference between the first preset current and the first sampled current to obtain a first current deviation, wherein the first preset current is the preset total output current of the converter, the first sampled current is the actual total output current of the converter, and the total output current is the total current of the output currents of the multiple phase circuits of the converter.
[0108] Specifically, the total output current of the converter is collected by the total current sampler to obtain the first sampled current, and then the total current setpoint of the converter, i.e. the first preset current, is obtained. The two current values are input into the adder to calculate the difference with total current error, i.e. the first current deviation.
[0109] The first calculation unit 20 is used to calculate the first adjustment current according to the first preset current and the target ratio, and to perform PI operation according to the first current deviation to obtain the second adjustment current. The first adjustment current is the theoretically set output current of the phase circuit. The first adjustment current corresponding to any two phase circuits is equal. The second adjustment current is used to correct the theoretically set output current of the phase circuit.
[0110] Specifically, the current value of the first preset current is input into the current feedforward. The current feedforward calculates the theoretical set phase current of each phase circuit based on the input value and preset parameters, which is the first regulating current. Then, the first current deviation is input into the proportional-integral controller. The proportional-integral controller calculates the deviation value based on the set parameters, performs proportional conversion and integral calculation, and obtains the correction amount of the set phase current, which is the second regulating current.
[0111] The second calculation unit 30 is used to calculate the sum of the first regulating current and the second regulating current to obtain a second preset current, wherein the second preset current is the actual set output current of the phase circuit.
[0112] Specifically, the theoretically set phase current and the correction amount are input into the adder and summed to obtain the actual set value of the phase current, i.e. the second preset current. Since the phase circuit structures of each phase in the converter are similar or the same, their phase current set values are the same.
[0113] The adjustment unit 40 is used to adjust the second acquisition current of each phase circuit according to the second preset current, so that the first acquisition current is equal to the first preset current, and the second acquisition current is the actual output current of each phase circuit.
[0114] Specifically, by using a phase current sampler, the actual output current of each phase circuit is collected to obtain the second sampled current. Then, the actual set value of the output current of each phase circuit is adjusted so that the actual output current is equal to the corrected second preset current, so that the total output current of the converter is equal to the set value, that is, the first sampled current is equal to the first preset current.
[0115] In the above embodiments, the first acquisition unit acquires a first preset current and a first sampling current, calculates the difference between the first preset current and the first sampling current to obtain a first current deviation, the first preset current being the preset total output current of the converter, the first sampling current being the actual total output current of the converter, and the total output current being the sum of the output currents of multiple phase circuits of the converter; the first calculation unit calculates a first adjustment current based on the first preset current and a target ratio, and performs a PI operation based on the first current deviation to obtain a second adjustment current, the first adjustment current being the theoretically set output current of the phase circuit, and the first adjustment currents corresponding to any two phase circuits are equal, the second adjustment current being used to correct the theoretically set output current of the phase circuit; the second calculation unit calculates the sum of the first adjustment current and the second adjustment current to obtain a second preset current, the second preset current being the actual set output current of the phase circuit; the adjustment unit adjusts the second sampling current of each phase circuit according to the second preset current so that the first sampling current is equal to the first preset current, the second sampling current being the actual output current of each phase circuit. This application calculates the deviation value by comparing the actual output of the total current with the preset output. Through feedforward control, the set output current of the phase circuit corresponding to the preset value is corrected according to the deviation value. The actual output of the total current is adjusted by adjusting the output current of each phase circuit. The current control based on feedforward control is based on the disturbance compensation principle and issues an adjustment signal when a disturbance occurs in the circuit. Compared with traditional negative feedback regulation or current control implemented by hardware, the response speed is faster, which solves the problem in the prior art that the low-frequency ripple current elimination speed is slow, resulting in a large impact of low-frequency current ripple on the converter.
[0116] In order to adjust the output current of each phase circuit so that the output current is equal to the preset output current, in one optional embodiment, the adjustment unit includes:
[0117] The first calculation module is used to calculate the difference between the second preset current and the second collected current to obtain the second current deviation.
[0118] Specifically, such as Figure 3 As shown, the second preset current and the second acquired current are input into the adder to calculate the difference, which is the phase current error, i.e., the second current deviation.
[0119] The first acquisition module is used to acquire a first voltage and a second voltage, wherein the first voltage is the input voltage of the load in the phase circuit and the second voltage is the output voltage of the load in the phase circuit.
[0120] Specifically, such as Figure 3 As shown, the voltage across the load terminals in the phase circuit, i.e., the input voltage and the output voltage, are obtained by a voltage detection device installed in the converter, thus obtaining the first voltage and the second voltage mentioned above.
[0121] The second calculation module is used to calculate the ratio of the first voltage and the second voltage to obtain a first adjustment value, and to perform PI calculation based on the second current deviation to obtain a second adjustment value. The first adjustment value is used to control the voltage of the load, and the second adjustment value is used to correct the first adjustment value.
[0122] Specifically, such as Figure 3 As shown, the first voltage and the second voltage input voltage feedforward are processed to determine the voltage applied to the load based on the input voltage and the output voltage. Then, the duty cycle of the actuator, i.e. the duty cycle of the power semiconductor in the circuit, is determined based on the voltage on the load. According to the set algorithm, the estimated duty cycle that makes the second sampled current equal to the second preset current is output, i.e., the first adjustment value. At the same time, the second current deviation is input to the proportional-integral controller. Based on the deviation value of the phase current and the preset parameters, proportional scaling and integral calculations are performed to obtain the correction amount of the estimated duty cycle, i.e., the second adjustment value.
[0123] The first adjustment module is used to adjust the voltage of the load according to the first adjustment value and the second adjustment value, so that the second sampled current is equal to the second preset current.
[0124] Specifically, such as Figure 3 As shown, the first adjustment value is corrected according to the second adjustment value to obtain the target duty cycle. The actuator is controlled to operate according to the target duty cycle, so that the voltage applied to the load reaches the target voltage, and the phase current in the phase circuit reaches the preset value, so that the second sampled current is equal to the second preset current.
[0125] To obtain the aforementioned first adjustment value, in one optional implementation, the second calculation module includes:
[0126] The first calculation submodule is used to calculate the ratio of the first voltage and the second voltage to obtain the first ratio;
[0127] Specifically, let the first voltage mentioned above be V. in The second voltage mentioned above is V outThat is, calculate the first ratio K = V in / V out .
[0128] The second calculation submodule is used to calculate the second ratio based on the first ratio and determine the second ratio as the first adjustment value, wherein the sum of the first ratio and the second ratio is 1.
[0129] Specifically, let the second ratio be K. * Then we have K * =1-K.
[0130] To ensure that the second acquisition current equals the second preset current, in one optional embodiment, the first adjustment module includes:
[0131] The third calculation submodule is used to calculate the sum of the first adjustment value and the second adjustment value to obtain the target duty cycle. The target duty cycle is the duty cycle of the voltage of the load. The duty cycle is the ratio of the effective voltage time to the period within one cycle.
[0132] The first and second adjustment values are input into the adder and summed to obtain the target duty cycle.
[0133] The control submodule is used to control the voltage of the load according to the target duty cycle, so that the duty cycle of the voltage of the load is equal to the target duty cycle.
[0134] Specifically, the actuator, i.e. the power semiconductor, is controlled according to the target duty cycle. The switch is opened and closed by controlling the input PWM signal of the power semiconductor, so that the voltage applied to the load is in the form of a square wave. This changes the proportion of the effective voltage time in one cycle to change the load voltage, so as to control the current in the phase circuit to reach the second preset current mentioned above.
[0135] To obtain the aforementioned first regulating current, in one optional embodiment, the first calculation unit includes:
[0136] The second acquisition module is used to acquire the target quantity, which is the number of the phase circuits connected in parallel in the converter.
[0137] Specifically, the number of interleaved parallel phase circuits in the converter is obtained, denoted as N, which is the target number mentioned above.
[0138] The determination module is used to determine the target ratio based on the target quantity, wherein the target ratio is the reciprocal of the target quantity.
[0139] Specifically, the target ratio is 1 / N.
[0140] The third calculation module is used to calculate the product of the target ratio and the first preset current to obtain the first regulating current.
[0141] Specifically, let the first preset current be I1 and the total current be I, then I1 = I / N.
[0142] To eliminate high-frequency ripple current in the phase circuit, in one optional embodiment, the above-mentioned device further includes:
[0143] The second acquisition unit is used to acquire the voltage frequency of the load voltage in the phase circuit and the first ripple current before acquiring the first preset current and the first acquisition current. The first ripple current is the ripple current in the total input current of the converter, and the total input current is the total current of the input current of the multiple phase circuits of the converter.
[0144] Specifically, the switching frequency of the actuator is obtained. The voltage is controlled by the actuator, and its frequency is actually the same as the switching frequency of the actuator. Furthermore, the harmonic frequency of the total current is obtained, and the high-frequency harmonic component, i.e., the first ripple current, is determined based on this frequency.
[0145] The first determining unit is configured to determine a plurality of second ripple currents based on the target quantity and the first ripple current, wherein the plurality of second ripple currents are the ripple currents in the input currents of each phase circuit, and the target quantity is the number of phase circuits connected in parallel in the converter.
[0146] The ripple current in each phase circuit is determined based on the number of phase circuits and whether the parallel circuits are input or output nodes, i.e., the second ripple current mentioned above.
[0147] The second determining unit is used to determine the high-frequency ripple current and the low-frequency ripple current based on each of the second ripple currents and the voltage frequency. The high-frequency ripple current is the second ripple current with a corresponding frequency greater than the voltage frequency, and the low-frequency ripple current is the second ripple current with a corresponding frequency less than a first threshold. The first threshold is determined based on the voltage frequency.
[0148] Specifically, the ripple current of each phase circuit is compared with the switching frequency of the actuator in each phase circuit. The portion of the harmonic frequency that is higher than the switching frequency cannot be eliminated by PWM modulation, i.e., cannot be eliminated by the actuator control method of this application, is the high-frequency ripple current. The portion of the harmonic frequency that is much lower than the switching frequency can be eliminated by PWM modulation, i.e., is the low-frequency ripple current.
[0149] The adjustment unit is used to adjust the phase angle of the voltage of the load in each of the phase circuits according to the high-frequency ripple current, so as to eliminate the high-frequency ripple current in each of the phase circuits.
[0150] Specifically, in order to eliminate the influence of high-frequency ripple current on the circuit and make the elimination of low-frequency ripple current more accurate and faster, in this embodiment, based on the predicted high-frequency ripple current, the phase angle of the voltage in the phase circuit is adjusted by adjusting the phase angle between the PWM signals of the actuators in each phase circuit, thereby making the high-frequency ripple current in each phase circuit cancel each other out and ensuring that the high-frequency ripple current does not affect the circuit.
[0151] In order to cancel out the high-frequency ripple currents between the phase circuits, in an optional embodiment, the adjustment unit includes:
[0152] The third acquisition module is used to acquire the voltage period, the first moment and the second moment, wherein the first moment is the start moment of any one period of the voltage of the load, the second moment is the current moment, and the voltage period is the reciprocal of the voltage frequency.
[0153] Specifically, such as Figure 4 As shown, the signal period T of the actuator is obtained, which is the same as the voltage period of the corresponding load. At the same time, the start time of any period is obtained, i.e. the first time t1 mentioned above, and the current time is obtained, i.e. the second time t2 mentioned above.
[0154] The fourth calculation module is used to calculate the difference between the first time point and the second time point to obtain the target duration, and to perform a modulo operation between the target duration and the voltage period to obtain the target value.
[0155] Specifically, such as Figure 4 As shown, the difference between the first and second moments is calculated, which gives the elapsed time from the start of a certain period to the current moment. Let this be T. * That is, T * =t2-t1. Calculate mod(T) * ,T), that is, the duration of the current cycle, which is the target value T` mentioned above.
[0156] The fifth calculation module is used to calculate the product of the ratio of the target value and the voltage period mentioned above and the preset value to obtain the current phase angle corresponding to the second moment mentioned above;
[0157] Specifically, such as Figure 4 As shown, the current phase angle θ is expressed in terms of angle, and θ = 360T` / T.
[0158] The query module is used to query the target mapping relationship based on the target quantity and the high-frequency ripple current, and determine the target phase angle. The target mapping relationship is the mapping relationship between the target quantity, the high-frequency ripple current and the target phase angle. The target phase angle is used to eliminate the high-frequency ripple current.
[0159] Specifically, such as Figure 4 As shown, the target phase angle can be obtained by looking up the table based on the high-frequency ripple current of each phase circuit in the current converter and the number of phase circuits. This is the phase angle at which the high-frequency ripple currents in each phase circuit cancel each other out.
[0160] In practical implementation, due to the frequency limitation of the PWM signal of the aforementioned actuator, i.e. the power semiconductor, it is difficult to eliminate high-frequency ripple current through actuator control. Therefore, it is necessary to set the phase angles between the PWM signals to be interleaved, i.e., the PWM signals of the aforementioned actuator in the phase circuit are different by a certain phase angle, i.e., the target phase angle.
[0161] The second adjustment module is used to determine the phase circuit group based on the phase circuit, and adjust the current phase angle of each phase circuit by adjusting the pulse width of the voltage, so that the difference of the current phase angle of the phase circuits belonging to the same phase circuit group is the target phase angle, wherein the phase circuit group includes two phase circuits.
[0162] Specifically, by adjusting the PWM signal of the aforementioned actuator, pulse width modulation is performed, thereby adjusting the phase angle of the voltage in the phase circuit so that the high-frequency ripple current of each path cancels each other out.
[0163] The current control device of the aforementioned converter includes a processor and a memory. The first acquisition unit, the first calculation unit, the second calculation unit, and the adjustment unit are all stored as program units in the memory. The processor executes the program units stored in the memory to achieve the corresponding functions. All of the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0164] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and communication efficiency can be improved by adjusting kernel parameters.
[0165] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0166] This invention provides a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the current control method of the converter.
[0167] Specifically, the current control method of the converter includes:
[0168] Step S401: Obtain the first preset current and the first sampled current, calculate the difference between the first preset current and the first sampled current to obtain the first current deviation, wherein the first preset current is the preset total output current of the converter, the first sampled current is the actual total output current of the converter, and the total output current is the total current of the output currents of the multiple phase circuits of the converter.
[0169] Specifically, the total output current of the converter is collected by the total current sampler to obtain the first sampled current, and then the total current setpoint of the converter, i.e. the first preset current, is obtained. The two current values are input into the adder to calculate the difference with total current error, i.e. the first current deviation.
[0170] Step S402: Calculate the first adjustment current based on the first preset current and the target ratio, and perform PI calculation based on the first current deviation to obtain the second adjustment current. The first adjustment current is the theoretically set output current of the phase circuit. The first adjustment currents corresponding to any two phase circuits are equal. The second adjustment current is used to correct the theoretically set output current of the phase circuit.
[0171] Specifically, the current value of the first preset current is input into the current feedforward. The current feedforward calculates the theoretical set phase current of each phase circuit based on the input value and preset parameters, which is the first regulating current. Then, the first current deviation is input into the proportional-integral controller. The proportional-integral controller calculates the deviation value based on the set parameters, performs proportional conversion and integral calculation, and obtains the correction amount of the set phase current, which is the second regulating current.
[0172] Step S403: Calculate the sum of the first regulating current and the second regulating current to obtain the second preset current, where the second preset current is the actual set output current of the phase circuit.
[0173] Specifically, the theoretically set phase current and the correction amount are input into the adder and summed to obtain the actual set value of the phase current, i.e. the second preset current. Since the phase circuit structures of each phase in the converter are similar or the same, their phase current set values are the same.
[0174] Step S404: Adjust the second acquisition current of each phase circuit according to the second preset current so that the first acquisition current is equal to the first preset current, and the second acquisition current is the actual output current of each phase circuit.
[0175] Specifically, the actual output current of each phase circuit is collected by the phase current sampler to obtain the second sampled current, and then the output current of each phase circuit is adjusted so that the actual output current is equal to the corrected second preset current, that is, the total output current of the time converter is equal to the set value, that is, the first sampled current is equal to the first preset current.
[0176] This invention provides a processor for running a program, wherein the program executes the current control method of the converter.
[0177] Specifically, the current control method of the converter includes:
[0178] Step S401: Obtain the first preset current and the first sampled current, calculate the difference between the first preset current and the first sampled current to obtain the first current deviation, wherein the first preset current is the preset total output current of the converter, the first sampled current is the actual total output current of the converter, and the total output current is the total current of the output currents of the multiple phase circuits of the converter.
[0179] Specifically, the total output current of the converter is collected by the total current sampler to obtain the first sampled current, and then the total current setpoint of the converter, i.e. the first preset current, is obtained. The two current values are input into the adder to calculate the difference with total current error, i.e. the first current deviation.
[0180] Step S402: Calculate the first adjustment current based on the first preset current and the target ratio, and perform PI calculation based on the first current deviation to obtain the second adjustment current. The first adjustment current is the theoretically set output current of the phase circuit. The first adjustment currents corresponding to any two phase circuits are equal. The second adjustment current is used to correct the theoretically set output current of the phase circuit.
[0181] Specifically, the current value of the first preset current is input into the current feedforward. The current feedforward calculates the theoretical set phase current of each phase circuit based on the input value and preset parameters, which is the first regulating current. Then, the first current deviation is input into the proportional-integral controller. The proportional-integral controller calculates the deviation value based on the set parameters, performs proportional conversion and integral calculation, and obtains the correction amount of the set phase current, which is the second regulating current.
[0182] Step S403: Calculate the sum of the first regulating current and the second regulating current to obtain the second preset current, where the second preset current is the actual set output current of the phase circuit.
[0183] Specifically, the theoretically set phase current and the correction amount are input into the adder and summed to obtain the actual set value of the phase current, i.e. the second preset current. Since the phase circuit structures of each phase in the converter are similar or the same, their phase current set values are the same.
[0184] Step S404: Adjust the second acquisition current of each phase circuit according to the second preset current so that the first acquisition current is equal to the first preset current, and the second acquisition current is the actual output current of each phase circuit.
[0185] Specifically, the actual output current of each phase circuit is collected by the phase current sampler to obtain the second sampled current, and then the output current of each phase circuit is adjusted so that the actual output current is equal to the corrected second preset current, that is, the total output current of the time converter is equal to the set value, that is, the first sampled current is equal to the first preset current.
[0186] This invention provides a current control system, which includes a primary communication domain, a secondary communication domain processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:
[0187] Step S401: Obtain the first preset current and the first sampled current, calculate the difference between the first preset current and the first sampled current to obtain the first current deviation, wherein the first preset current is the preset total output current of the converter, the first sampled current is the actual total output current of the converter, and the total output current is the total current of the output currents of the multiple phase circuits of the converter.
[0188] Step S402: Calculate the first adjustment current based on the first preset current and the target ratio, and perform PI calculation based on the first current deviation to obtain the second adjustment current. The first adjustment current is the theoretically set output current of the phase circuit. The first adjustment currents corresponding to any two phase circuits are equal. The second adjustment current is used to correct the theoretically set output current of the phase circuit.
[0189] Step S403: Calculate the sum of the first regulating current and the second regulating current to obtain the second preset current, where the second preset current is the actual set output current of the phase circuit.
[0190] Step S404: Adjust the second acquisition current of each phase circuit according to the second preset current so that the first acquisition current is equal to the first preset current, and the second acquisition current is the actual output current of each phase circuit.
[0191] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:
[0192] Step S401: Obtain the first preset current and the first sampled current, calculate the difference between the first preset current and the first sampled current to obtain the first current deviation, wherein the first preset current is the preset total output current of the converter, the first sampled current is the actual total output current of the converter, and the total output current is the total current of the output currents of the multiple phase circuits of the converter.
[0193] Step S402: Calculate the first adjustment current based on the first preset current and the target ratio, and perform PI calculation based on the first current deviation to obtain the second adjustment current. The first adjustment current is the theoretically set output current of the phase circuit. The first adjustment currents corresponding to any two phase circuits are equal. The second adjustment current is used to correct the theoretically set output current of the phase circuit.
[0194] Step S403: Calculate the sum of the first regulating current and the second regulating current to obtain the second preset current, where the second preset current is the actual set output current of the phase circuit.
[0195] Step S404: Adjust the second acquisition current of each phase circuit according to the second preset current so that the first acquisition current is equal to the first preset current, and the second acquisition current is the actual output current of each phase circuit.
[0196] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0197] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0198] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0199] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0200] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0201] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0202] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0203] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0204] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0205] As can be seen from the above description, the embodiments of this application achieve the following technical effects:
[0206] 1) The current control method for the converter of this application firstly acquires a first preset current and a first sampled current, calculates the difference between the first preset current and the first sampled current to obtain a first current deviation, wherein the first preset current is the preset total output current of the converter, the first sampled current is the actual total output current of the converter, and the total output current is the sum of the output currents of multiple phase circuits of the converter; then, a first adjustment current is calculated based on the first preset current and a target ratio, and a second adjustment current is obtained by performing a PI operation based on the first current deviation, wherein the first adjustment current is the theoretically set output current of the phase circuit, and the first adjustment currents corresponding to any two phase circuits are equal, and the second adjustment current is used to correct the theoretically set output current of the phase circuit; then, the sum of the first adjustment current and the second adjustment current is calculated to obtain a second preset current, wherein the second preset current is the actual set output current of the phase circuit; finally, the second sampled current of each phase circuit is adjusted according to the second preset current so that the first sampled current is equal to the first preset current, and the second sampled current is the actual output current of each phase circuit. This application calculates the deviation value by comparing the actual output of the total current with the preset output. Through feedforward control, the set output current of the phase circuit corresponding to the preset value is corrected according to the deviation value. The actual output of the total current is adjusted by adjusting the output current of each phase circuit. The current control based on feedforward control is based on the disturbance compensation principle and issues an adjustment signal when a disturbance occurs in the circuit. Compared with traditional negative feedback regulation or current control implemented by hardware, the response speed is faster, which solves the problem in the prior art that the low-frequency ripple current elimination speed is slow, resulting in a large impact of low-frequency current ripple on the converter.
[0207] 2) The current control device for the converter of this application comprises: a first acquisition unit acquiring a first preset current and a first sampled current, calculating the difference between the first preset current and the first sampled current to obtain a first current deviation, wherein the first preset current is the preset total output current of the converter, the first sampled current is the actual total output current of the converter, and the total output current is the sum of the output currents of multiple phase circuits of the converter; a first calculation unit calculating a first adjustment current based on the first preset current and a target ratio, and performing a PI operation based on the first current deviation to obtain a second adjustment current, wherein the first adjustment current is the theoretically set output current of the phase circuit, and the first adjustment currents corresponding to any two phase circuits are equal, and the second adjustment current is used to correct the theoretically set output current of the phase circuit; a second calculation unit calculating the sum of the first adjustment current and the second adjustment current to obtain a second preset current, wherein the second preset current is the actual set output current of the phase circuit; and an adjustment unit adjusting the second sampled current of each phase circuit based on the second preset current to make the first sampled current equal to the first preset current, wherein the second sampled current is the actual output current of each phase circuit. This application calculates the deviation value by comparing the actual output of the total current with the preset output. Through feedforward control, the set output current of the phase circuit corresponding to the preset value is corrected according to the deviation value. The actual output of the total current is adjusted by adjusting the output current of each phase circuit. The current control based on feedforward control is based on the disturbance compensation principle and issues an adjustment signal when a disturbance occurs in the circuit. Compared with traditional negative feedback regulation or current control implemented by hardware, the response speed is faster, which solves the problem in the prior art that the low-frequency ripple current elimination speed is slow, resulting in a large impact of low-frequency current ripple on the converter.
[0208] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A current control method for a converter, characterized in that, include: Obtain a first preset current and a first sampled current, calculate the difference between the first preset current and the first sampled current to obtain a first current deviation, wherein the first preset current is the preset total output current of the converter, the first sampled current is the actual total output current of the converter, and the total output current is the total current of the output currents of multiple phase circuits of the converter; The first adjustment current is calculated based on the first preset current and the target ratio, and the second adjustment current is obtained by performing PI calculation based on the first current deviation. The first adjustment current is the theoretically set output current of the phase circuit. The first adjustment currents corresponding to any two phase circuits are equal. The second adjustment current is used to correct the theoretically set output current of the phase circuit. The sum of the first regulating current and the second regulating current is calculated to obtain the second preset current, which is the actual set output current of the phase circuit; The second acquisition current of each phase circuit is adjusted according to the second preset current so that the first acquisition current is equal to the first preset current, and the second acquisition current is the actual output current of each phase circuit.
2. The method according to claim 1, characterized in that, Adjusting the second acquisition current of each phase circuit according to the second preset current, so that the first acquisition current is equal to the first preset current, includes: Calculate the difference between the second preset current and the second collected current to obtain the second current deviation; Obtain a first voltage and a second voltage, wherein the first voltage is the input voltage of the load in the phase circuit, and the second voltage is the output voltage of the load in the phase circuit; The ratio of the first voltage to the second voltage is calculated to obtain a first adjustment value. A second adjustment value is obtained by performing a PI operation based on the second current deviation. The first adjustment value is used to control the voltage of the load, and the second adjustment value is used to correct the first adjustment value. The voltage of the load is adjusted according to the first adjustment value and the second adjustment value so that the second sampled current is equal to the second preset current.
3. The method according to claim 2, characterized in that, Calculate the ratio of the first voltage to the second voltage to obtain the first adjustment value, including: The first ratio is obtained by calculating the ratio of the first voltage to the second voltage; The second ratio is calculated based on the first ratio, and the second ratio is determined as the first adjustment value. The sum of the first ratio and the second ratio is 1.
4. The method according to claim 2, characterized in that, Adjusting the voltage of the load according to the first adjustment value and the second adjustment value includes: The target duty cycle is obtained by calculating the sum of the first adjustment value and the second adjustment value. The target duty cycle is the duty cycle of the voltage of the load. The duty cycle is the ratio of the effective voltage time to the period within one cycle. The voltage of the load is controlled according to the target duty cycle, such that the duty cycle of the load voltage is equal to the target duty cycle.
5. The method according to claim 1, characterized in that, Calculating the first regulating current based on the first preset current and the target ratio includes: Obtain the target number, which is the number of the phase circuits connected in parallel in the converter; The target ratio is determined based on the target quantity, and the target ratio is the reciprocal of the target quantity. The first regulating current is obtained by multiplying the target ratio and the first preset current.
6. The method according to any one of claims 1 to 5, characterized in that, Before acquiring the first preset current and the first sampled current, the method further includes: The voltage frequency and first ripple current of the load voltage in the phase circuit are obtained. The first ripple current is the ripple current in the total input current of the converter. The total input current is the total current of the input currents of the multiple phase circuits of the converter. Multiple second ripple currents are determined based on the target number and the first ripple current. The multiple second ripple currents are the ripple currents in the input current of each phase circuit. The target number is the number of phase circuits connected in parallel in the converter. The high-frequency ripple current and the low-frequency ripple current are determined based on each of the second ripple currents and the voltage frequency. The high-frequency ripple current is the second ripple current with a corresponding frequency greater than the voltage frequency, and the low-frequency ripple current is the second ripple current with a corresponding frequency less than a first threshold. The first threshold is determined based on the voltage frequency. The phase angle of the voltage of the load in each phase circuit is adjusted according to the high-frequency ripple current to eliminate the high-frequency ripple current in each phase circuit.
7. The method according to claim 6, characterized in that, Adjusting the phase angle of the voltage of the load in each phase circuit according to the high-frequency ripple current includes: The voltage period, a first moment, and a second moment are obtained. The first moment is the start time of any cycle of the voltage of the load, and the second moment is the current moment. The voltage period is the reciprocal of the voltage frequency. Calculate the difference between the first time point and the second time point to obtain the target duration, and perform a modulo operation between the target duration and the voltage period to obtain the target value; The current phase angle corresponding to the second moment is obtained by multiplying the ratio of the target value and the voltage period with a preset value; The target phase angle is determined by querying the target mapping relationship based on the target quantity and the high-frequency ripple current. The target mapping relationship is the mapping relationship between the target quantity, the high-frequency ripple current and the target phase angle. The target phase angle is used to eliminate the high-frequency ripple current. A phase circuit group is determined based on the phase circuit, and the current phase angle of each phase circuit is adjusted by adjusting the pulse width of the voltage so that the difference in the current phase angle of the phase circuits belonging to the same phase circuit group is the target phase angle. The phase circuit group includes two phase circuits.
8. A current control device for a converter, characterized in that, The device includes: The first acquisition unit is used to acquire a first preset current and a first sampled current, calculate the difference between the first preset current and the first sampled current to obtain a first current deviation, wherein the first preset current is the preset total output current of the converter, the first sampled current is the actual total output current of the converter, and the total output current is the total current of the output currents of multiple phase circuits of the converter. The first calculation unit is used to calculate the first adjustment current based on the first preset current and the target ratio, and to perform PI operation based on the first current deviation to obtain the second adjustment current. The first adjustment current is the theoretically set output current of the phase circuit. The first adjustment currents corresponding to any two phase circuits are equal. The second adjustment current is used to correct the theoretically set output current of the phase circuit. The second calculation unit is used to calculate the sum of the first regulating current and the second regulating current to obtain the second preset current, wherein the second preset current is the actual set output current of the phase circuit; The adjustment unit is used to adjust the second acquisition current of each phase circuit according to the second preset current, so that the first acquisition current is equal to the first preset current, and the second acquisition current is the actual output current of each phase circuit.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 7.
10. A current control system, characterized in that, include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising methods for performing any one of claims 1 to 7.
Citation Information
Patent Citations
Control method and system for DC-DC conversion unit in non-contact power supply system
CN111800006A
Self-adaptive phase cutting control module applied to multi-phase Buck converter
CN115133770A