Slope adaptive control method, device, circuit and controller
Patent Information
- Application Number
- CN202311423074.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-30
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2043-10-30
AI Technical Summary
[0002]在传统的VRM(Voltage Regulator Module,电压调节模块)电路中,针对负载突增变化时,存在控制延时的情况,以及DrMos(Driver+MOSFET,单片驱动器+金属氧化物半导体场效应晶体管)有较大的开通时间,导致瞬态时VRM电路无法及时响应负载变化,电压跌落较多,存在控制上的延迟,导致输出电感的电流存在相位不均衡的问题
本申请实施例通过,通过检测相邻时刻的自适应斜坡补偿的开关周期和固定斜坡补偿的开关周期,通过周期与电路本身的延时比较,确定当前电路的延时情况,并确定斜坡补偿的方向,从而根据斜坡补偿的方向实时修正斜坡补偿斜率,方法简单,无需高速ADC电感电流斜率检测,无需复杂的数学推导计算,能够自适应不同负载条件下的斜率补偿,降低对控制器的要求。
Smart Images

Figure CN117572765B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of voltage regulation and control technology, and particularly relates to a slope adaptive control method, device, circuit and controller. Background Technology
[0002] In traditional VRM (Voltage Regulator Module) circuits, there is a control delay when the load suddenly increases, and the DrMos (Driver+MOSFET) has a large turn-on time. This causes the VRM circuit to be unable to respond to load changes in a timely manner during transients, resulting in a large voltage drop and control delay. Consequently, the current in the output inductor has a phase imbalance problem.
[0003] Fixed slope compensation cannot adjust in a timely manner according to dynamic changes in load current, leading to overcompensation and undercompensation, ultimately causing instability in the closed-loop control output voltage. Furthermore, traditional adaptive slope compensation requires a high-speed ADC (Analog-to-Digital Converter) to detect the inductor current slope within a single cycle, calculating the required slope value at the current moment based on the mathematical and geometric relationships of the compensation slope. This method involves complex and costly inductor current slope sampling and places extremely high demands on real-time algorithm calculations, which is difficult for ordinary controllers to meet. Summary of the Invention
[0004] In view of this, this application provides a slope adaptive control method, device, circuit and controller, which can adaptively compensate for slope under different load conditions and reduce the requirements for the controller.
[0005] To achieve the above objectives, this application adopts the following technical solution: In a first aspect, embodiments of this application provide a ramp adaptive control method, including: obtaining the inherent delay of a voltage regulation module circuit; Obtain the first cycle of the first analog circuit performing adaptive slope compensation on the voltage regulation module circuit; Obtain the second cycle of the second analog circuit performing fixed slope compensation on the voltage regulation module circuit; The direction of adaptive slope compensation is determined based on the first cycle, the second cycle, and the inherent delay. Based on the direction of adaptive slope compensation, adaptive slope compensation is performed on the voltage regulation module circuit.
[0006] In one possible implementation of the first aspect, obtaining the first cycle of the first analog circuit performing adaptive slope compensation on the voltage regulation module circuit includes: Obtain the first switching frequency at the first moment when the first analog circuit performs adaptive slope compensation on the voltage regulation module circuit; the first moment is the moment when the comparator outputs the compensation signal during the adaptive slope compensation process. Convert the first switching frequency into the first cycle; Obtaining the second cycle of the fixed slope compensation of the voltage regulation module circuit by the second analog circuit includes: The second switching frequency of the second analog circuit performing fixed slope compensation on the voltage regulation module circuit is obtained at the second moment; the second moment is the moment when the comparator outputs the compensation signal during the fixed slope compensation process. The second switching frequency is converted into the second cycle; the first moment is the moment before the second moment.
[0007] In one possible implementation of the first aspect, the slope compensation direction is determined based on the first period, the second period, and the inherent delay, including: Calculate the difference between the first cycle and the second cycle; The direction of adaptive slope compensation is determined based on the difference and inherent delay.
[0008] In one possible implementation of the first aspect, the direction of adaptive slope compensation is determined based on the difference and the inherent delay, including: If the difference is greater than the inherent delay, then the direction of adaptive slope compensation is determined to be increasing the slope. If the difference is less than the inherent delay, then the direction of adaptive slope compensation is determined to be reducing the slope. If the difference is equal to the inherent delay, then the direction of adaptive slope compensation is determined to be that the slope remains unchanged.
[0009] In one possible implementation of the first aspect, the slope adaptive control method further includes, before determining the slope compensation direction based on the first period, the second period, and the inherent delay: Obtain the original slope of the voltage regulation module circuit in the previous cycle of the first cycle for adaptive slope compensation. Accordingly, based on the direction of adaptive slope compensation, adaptive slope compensation is performed on the voltage regulation module circuit, including: Adaptive slope compensation is performed on the voltage regulation module circuit based on the direction of adaptive slope compensation and the original slope.
[0010] In one possible implementation of the first aspect, adaptive slope compensation is performed on the voltage regulation module circuit based on the direction of adaptive slope compensation and the original slope, including: If the direction of adaptive slope compensation is to increase the slope, then the first slope change amount is added to the original slope as the current slope of the first cycle. If the direction of adaptive slope compensation is to reduce the slope, then the change in the second slope is reduced based on the original slope, and this is used as the current slope slope for the first cycle. If the direction of adaptive slope compensation is such that the slope remains unchanged, then the original slope remains unchanged and is used as the current slope in the first cycle.
[0011] In one possible implementation of the first aspect, the slope adaptive control method further includes: If the direction of adaptive slope compensation is to increase or decrease the slope, then after determining the current slope of the first cycle, the current slope of the first cycle is used as the slope of adaptive slope compensation in the next cycle, and the process jumps to the first cycle step of obtaining the output signal of the first analog circuit and repeats until the difference equals the inherent delay, keeping the slope unchanged.
[0012] Secondly, embodiments of this application provide a slope adaptive control device that executes the slope adaptive control method described above, including: The inherent delay measurement module is used to measure the inherent delay of the voltage regulation module circuit. The first cycle acquisition module is used to acquire the first cycle of the first analog circuit performing adaptive slope compensation on the voltage regulation module circuit. The second cycle acquisition module is used to acquire the second cycle of the second analog circuit performing fixed slope compensation on the voltage regulation module circuit. The slope compensation direction determination module is used to determine the direction of adaptive slope compensation based on the first cycle, the second cycle, and the inherent delay. The adaptive slope compensation module is used to perform adaptive slope compensation on the voltage regulation module circuit based on the direction of adaptive slope compensation.
[0013] Thirdly, embodiments of this application provide a ramp adaptive control circuit, including a multiphase control power supply and a voltage regulation module circuit applying the ramp adaptive control method described above; the voltage regulation module circuit includes a first analog circuit, a second analog circuit, and a digital control module; The digital control module is used to determine the direction of adaptive compensation for the first analog circuit, and to adjust the output voltage of the module circuit according to the output voltage adjustment after adaptive compensation, so as to perform phase control on the multiphase control power supply. The first analog circuit is used to perform adaptive compensation for the voltage regulation module circuit. The second analog circuit is used to provide fixed compensation for the voltage regulation module circuit.
[0014] Fourthly, embodiments of this application provide a controller, including a memory and a processor. The memory stores a computer program that can run on the processor, and when the processor executes the computer program, it implements the slope adaptive control method as described above.
[0015] The advantages of the embodiments in this application compared with related technologies are: This application embodiment detects the switching cycles of adaptive slope compensation and fixed slope compensation at adjacent times, compares the cycles with the circuit's own delay to determine the current circuit's delay status, and determines the direction of slope compensation. The slope compensation slope is then corrected in real time based on the direction of slope compensation. This method is simple, requires no high-speed ADC inductor current slope detection, and eliminates the need for complex mathematical derivations and calculations. It can adaptively compensate for slope under different load conditions, reducing the requirements on the controller.
[0016] The beneficial effects of the second to fourth aspects mentioned above are the same as the beneficial effects of the slope adaptive control method in the first aspect, and will not be repeated here. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of the slope adaptive control circuit provided in the embodiments of this application; Figure 2 This is a schematic diagram of the slope adaptive control method provided in the embodiments of this application. Figure 3 This is a schematic diagram of the measurement of inherent delay provided in an embodiment of this application; Figure 4 This is a schematic diagram illustrating the relationship between the first cycle and the second cycle provided in the embodiments of this application; Figure 5 This is a schematic diagram showing the correspondence between load changes and the switching frequency of the comparator output provided in an embodiment of this application; Figure 6 This is a schematic diagram illustrating the relationship between the difference between the second cycle and the first cycle and the inherent delay provided in an embodiment of this application; Figure 7 The waveforms of the actual inductor current of the first phase, the midpoint voltage of the first phase bridge arm, the comparator output signal, and the phase trigger pulse signal inside the FPGA provided in the embodiments of this application are shown. Figure 8This is an actual waveform diagram of the first phase actual inductor current, the first phase bridge arm midpoint voltage, the comparator output signal, and the FPGA internal phase trigger pulse signal after adaptive slope compensation, provided in the embodiments of this application. Figure 9 This is a schematic diagram of the slope adaptive control device provided in the embodiments of this application; Figure 10 This is a schematic diagram of the controller provided in an embodiment of this application. Detailed Implementation
[0019] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0020] Traditional adaptive slope compensation, as described in the background, requires a high-speed ADC to detect the inductor current slope within a single cycle and calculate the required slope value at the current moment based on the mathematical and geometric relationships of the compensated slope. This method is too complex. However, the inventors discovered during their research that fixed circuits have an inherent delay, and the difference between the switching frequency and the time before and after the switching frequency equals this inherent delay. Therefore, the slope compensation can be determined directly using the inherent delay and the switching frequency, and the slope can be dynamically adjusted through real-time feedback, avoiding the complex method of detecting the inductor current slope. Based on this, an adaptive slope control method is proposed to solve the problem of switching delay in Drmos circuits, which leads to slow control response speed, and adjusts the slope in real time.
[0021] To make the objectives, technical solutions, and advantages of this application clearer, the following description will be provided in conjunction with the accompanying drawings and specific embodiments.
[0022] Figure 1 An embodiment of the present application provides a slope adaptive control circuit. See details. Figure 1 The schematic diagram shown is of the slope adaptive control circuit. The slope adaptive control circuit includes a multiphase control power supply 100 and a voltage regulation module circuit. The voltage regulation module circuit includes a first analog circuit 200, a second analog circuit 300 and a digital control module 400.
[0023] The digital control module 400 is used to determine the direction of adaptive compensation for the first analog circuit 200, and to perform phase control on the multiphase control power supply 100 based on the output voltage of the voltage regulation module circuit after adaptive and fixed compensation. The first analog circuit 200 is used to perform adaptive compensation for the voltage regulation module circuit. The second analog circuit 300 is used to perform fixed compensation for the voltage regulation module circuit.
[0024] V in The input voltage is the power switching MOSFETs M1~M2. n For the upper bridge arm of the multiphase control power supply 100, power switching MOSFETs N1~N n The lower bridge arm of the multiphase control power supply 100 includes a driver and power switching MOSFETs M1~M2. n Power switching MOSFETs N1~N n Power inductors L1~L n Output capacitor C0, resistor ESR, and load resistor R L Taking the first phase of the multiphase control power supply 100 as an example, the drain of the power switching MOSFET M1 is connected to the input voltage. V in The gate of the power inductor L1 is connected to the output of the driver module, and the source is connected to the left end of the power inductor L1 and the drain of the power switching MOSFET N1. The source of the power switching MOSFET N1 is grounded, and its gate is connected to the output of the driver module. The right end of the power inductor L1 is connected to the output capacitor. C The upper end of 0, load resistance R L The upper end and sampling resistor R i At the left end, this connection point generates the output voltage of the entire converter. V 0; sampling resistor R i This includes the first sampling resistor and the second sampling resistor. The resistor ESR is the output capacitance. C The equivalent series resistance is 0, and the upper end of the resistor ESR is connected to the output capacitor. C The lower end of 0; the lower end of resistor ESR is grounded; load resistor R L The lower end is grounded.
[0025] The first analog circuit 200 is used to implement adaptive slope compensation, i.e., it is an adaptive slope compensation circuit, and includes a first sampling resistor 201, a first error amplifier 202, and a first comparator 203. The first analog circuit 200 samples the total current output by the multiphase control power supply 100. i inducor_allThe current ripple is detected, and the first error amplifier 202 feeds back the output voltage of the multiphase control power supply 100. V 0 and adaptively compensated reference voltage V ref1 The error is amplified and then output through an adaptive compensation network. V C1 Based on the detected current ripple, the first comparator 203 will convert the current ripple of the first sampling resistor 201 into a signal. i inducor_all × R i With the output of the first error amplifier 202 V C1 When comparing, i inducor_all × R i Signal lower V C1 The time-triggered pulse distribution circuit sequentially switches the power supply of each phase. T ON Conduction timing.
[0026] The second analog circuit 300 is used to implement fixed slope compensation, i.e., a fixed slope compensation circuit, and includes a second sampling resistor 301, a second error amplifier 302, and a second comparator 303. The electronic components constituting the first and second analog circuits 300 are identical, and both the first sampling resistor 201 and the second sampling resistor 301 are... R i Unlike the first analog circuit 200, the second analog circuit 300 samples the total current i output by the multiphase control power supply 100. inducor_all The current ripple is detected, and the second error amplifier 302 feeds back the output voltage of the multiphase control power supply 100. V 0 and a fixed reference voltage V ref2 The error is amplified and then output through a fixed compensation network. V C2 .
[0027] For example, the digital control module 400 may include a first timer and a second timer. The first timer is used to acquire the first switching frequency of the adaptive slope compensation circuit output by the first analog circuit 200, and then obtain the first cycle through the first cycle counting module. The second timer is used to measure the second switching frequency of the fixed slope compensation circuit output by the second analog circuit 300, and similarly obtain the second cycle through the second cycle counting module.
[0028] By comparing the first and second cycles, a digital adaptive ramp algorithm is set to determine the adaptive compensation direction and compensation value. Based on this adaptive compensation direction and value, feedback is sent to the first error amplifier in the first analog circuit 200, influencing the timing of the trigger pulse distribution circuit and causing the power switches of each phase to be turned on in advance. T ON By adjusting the on-time, adaptive compensation is achieved, which resolves the switching delay in DrMOS that affects control response speed and offsets system latency.
[0029] In one embodiment, for the location of adaptive compensation, the first error amplifier 202 may output the voltage of the multiphase control power supply 100 after feedback. V 0 and reference voltage V ref1 The error is amplified and then output through an adaptive compensation network. V C1 This setting is equivalent to the adaptive compensation described above before the output of the first error amplifier 202.
[0030] Figure 2 This illustration shows a slope adaptive control method provided by an embodiment of this application. See details below. Figure 2 The flowchart shown illustrates the slope adaptive control method, which may include: Step 501: Obtain the inherent delay of the voltage regulation module circuit.
[0031] Taking a traditional VRM circuit as an example, without slope compensation, there is a control delay when the load suddenly increases. Furthermore, the DrMOS has a relatively long turn-on time in actual operation. Therefore, the output signal from the first comparator in the first analog circuit 200 sequentially enters buffer1, the FPGA (Field Programmable Gate Array) control board, and buffer2, reaching the midpoint of each phase arm, i.e., during phase allocation. The total delay is approximately 90ns. Figure 3 As shown, 90ns is the inherent delay of this VRM circuit. The FPGA is the specific implementation of the digital control module 400.
[0032] For example, measuring the inherent delay of a voltage regulation module circuit includes: acquiring a first time of the output signal of a first comparator in the voltage regulation module circuit; acquiring a second time of the output signal reaching the midpoint of the phase bridge arm; and calculating the difference between the second time and the first time as the inherent delay of the voltage regulation module circuit. Here, the first comparator is the comparator without slope compensation; in fact, it can be either a first comparator or a second comparator. Without slope compensation, the measured fixed delay is the same. Only when different circuits are used will the measured inherent delay differ.
[0033] Because the circuit cannot respond to load changes in a timely manner during transients, the voltage drops significantly. This control delay causes phase imbalance in the output inductor current. The following section addresses this inherent delay through dynamic compensation.
[0034] Step 502: Obtain the first cycle of the first analog circuit performing adaptive slope compensation on the voltage regulation module circuit.
[0035] For example, obtaining the first cycle of the first analog circuit performing adaptive slope compensation on the voltage regulation module circuit includes: obtaining the first switching frequency at the first moment when the first analog circuit performs adaptive slope compensation on the voltage regulation module circuit; the first moment is the moment when the first comparator of the first analog circuit outputs the compensation signal; and converting the first switching frequency into the first cycle.
[0036] The first analog circuit 200 is an adaptive slope compensation circuit, including a first sampling resistor 201, a first error amplifier 202, and a first comparator 203. Current sampling measures the total current output by the multiphase control power supply 100. i inducor_all The current ripple is detected. The first error amplifier 202 feeds back the output voltage of the multiphase control power supply 100. V 0 and reference voltage V ref The error is amplified and then output through an adaptive compensation network. V C The first comparator 203 will sample the voltage i generated by the inductor current ripple. inducor_all ×R i With the output of the first error amplifier 202 V C Comparison, when voltage i inducor_all × R i Below V C When the first comparator 203 outputs a high PWM signal, the trigger pulse distribution circuit sequentially switches the power supply of each phase. TON On timing, T ON The turn-on timing is the moment when the comparator outputs the phase control signal during the adaptive slope compensation process. The disturbance voltage affects the turn-off time in each cycle. T OFF This causes disturbance changes. T ON While the slope remains unchanged, using only fixed slope compensation can lead to overcompensation or undercompensation, causing the circuit to fail to respond promptly to load changes during transients. Adaptive compensation, on the other hand, allows the pulse distribution circuit to be triggered earlier, sequentially switching each phase of the power supply in situations where the turn-off time was originally longer. T ON With precise turn-on timing, the circuit can respond promptly to load changes during transients, thus resolving issues of overcompensation or undercompensation.
[0037] At this point, the first switching frequency of the first comparator 203 is obtained, and the first switching frequency is easily converted into the first cycle, and the change data of the first cycle is stored.
[0038] Step 503: Obtain the second cycle of the second analog circuit performing fixed slope compensation on the voltage regulation module circuit; the first cycle is the cycle preceding the second cycle.
[0039] For example, obtaining the second cycle of fixed slope compensation for the voltage regulation module circuit includes: obtaining the second switching frequency at the second moment when the second analog circuit performs fixed slope compensation for the voltage regulation module circuit; the second moment is the moment when the second comparator of the second analog circuit outputs the compensation signal; converting the second switching frequency into the second cycle; the first moment is before the second moment, and the first moment is the moment closest to the second moment.
[0040] The second analog circuit 300 is a fixed slope compensation circuit, including a second sampling resistor 301, a second error amplifier 302, and a second comparator 303. The electronic components constituting the first analog circuit 200 and the second analog circuit 300 are identical, and both the first sampling resistor 301 and the second sampling resistor 302 are... R i The difference is that the current sampling circuit samples the total current i output by the multi-phase control power supply 100. inducor_all The current ripple is detected, and the second error amplifier 302 feeds back the output voltage of the multiphase control power supply 100. V 0 and a fixed reference voltage V ref The error is amplified and then output through a fixed compensation network. V C .
[0041] At this point, the second switching frequency of the second comparator 303 can be obtained, and the second switching frequency can be easily converted into the second cycle, and the change data of the second cycle can be stored.
[0042] It should be emphasized that the first moment is before the second moment, and the first moment is the closest moment to the second moment; the intention is to express the first cycle obtained. T puse1 For the second cycle T puse2 Previous cycles, such as Figure 4 As shown, T puse1 This refers to one cycle of the clock signal CLK1 for the first comparator 202 in the adaptive ramp circuit. T puse2 For one cycle of the clock signal CLK2 of the second comparator 302 in the fixed ramp circuit, T puse1 Distance T puse2 The most recent previous cycle. When T puse2 and T puse1 When the difference is 90ns, the system delay time is exactly canceled out.
[0043] Step 504: Determine the direction of adaptive slope compensation based on the first cycle, the second cycle, and the inherent delay.
[0044] However, in actual circuits, sudden load changes, such as switching from a light load to a heavy load or vice versa, can cause voltage overshoot, such as... Figure 5 As shown, the load voltage V load When it changes and the corresponding output voltage V out Changes, V out The dashed line above indicates voltage fluctuations when the load changes abruptly.
[0045] For example, determining the slope compensation direction based on the first cycle, the second cycle, and the inherent delay includes: calculating the difference between the first cycle and the second cycle; and determining the direction of adaptive slope compensation based on the difference and the inherent delay.
[0046] like Figure 6 As shown, when the difference between the second cycle and the first cycle is greater than 90 ns, the first cycle of the adaptive slope compensation circuit is as follows: Figure 6 middle T puse1-a As shown, the voltage of the adaptive ramp is related to the voltage generated by the sampling inductor current ripple. i inducor_all ×R i The voltage increases upon collision, and the adaptive ramp slope... S e1 An increase indicates that the load has decreased, and the slope of the inductor current... S f Decrease, and at this point, in order to offset system latency, increase... V c An adaptive slope should be added to the original slope. S e1 Fixed slope S e2 Unchanged. Similarly, if the first cycle of the adaptive slope compensation circuit is as follows: Figure 6 As shown in Tpuse1-b, the voltage of the adaptive ramp is related to the voltage generated by the sampling inductor current ripple. i inducor_all × R i Voltage decreases upon collision, adaptive ramp slope S e1 A decrease indicates that the load has increased, and the slope of the inductor current has decreased. S n Increase, and at this point, in order to ensure that the system delay is offset, increase V c Based on the original slope, the adaptive slope should be reduced. S e1 .
[0047] Therefore, based on the difference and inherent delay, the direction of adaptive slope compensation is determined, including: if the difference is greater than the inherent delay, the direction of adaptive slope compensation is determined to be increasing the slope, such as... Figure 5 As shown; if the difference is less than the inherent delay, the direction of adaptive slope compensation is determined to be to reduce the slope; if the difference is equal to the inherent delay, the direction of adaptive slope compensation is determined to be to keep the slope unchanged.
[0048] For example, before determining the slope compensation direction based on the first cycle, the second cycle, and the inherent delay, the slope adaptive control method further includes: obtaining the original slope of the first analog circuit voltage regulation module circuit performing adaptive slope compensation in the previous cycle of the first cycle.
[0049] Accordingly, adaptive slope compensation is performed on the voltage regulation module circuit based on the direction of adaptive slope compensation, including: adaptive slope compensation is performed on the voltage regulation module circuit based on the direction of adaptive slope compensation and the original slope.
[0050] Step 505: Based on the direction of adaptive slope compensation, adaptive slope compensation is performed on the voltage regulation module circuit.
[0051] For example, adaptive slope compensation is performed on the voltage regulation module circuit based on the direction of adaptive slope compensation and the original slope, including: if the direction of adaptive slope compensation is to increase the slope, then a first slope change is added to the original slope, which is used as the current slope slope for the second cycle. If the direction of adaptive slope compensation is to decrease the slope, then a second slope change is decreased to the original slope, which is used as the current slope slope for the second cycle. If the direction of adaptive slope compensation is to keep the slope unchanged, then the original slope remains unchanged and is used as the current slope slope for the second cycle.
[0052] See Figure 5 If the difference between the second cycle and the first cycle is greater than the inherent delay of the circuit... The inherent delay is Figure 5 In the shaded area, during the next detection cycle, the first cycle decreases significantly, while the second cycle remains unchanged. The difference between the second and first cycles is greater than the circuit's inherent delay. This indicates that the circuit load has decreased, and the slope of the inductor current has decreased. At this point, the delay is relatively large. To compensate for the system delay, the slope is increased by increasing the change in the slope, such as... Figure 5 As indicated by the arrow, the voltage of the adaptive ramp is compared with the voltage generated by the sampling inductor current ripple. i inducor_all × R i To collide earlier and reduce delay, such as Figure 5 As shown, PWM1 is the output of the first comparator 203, and PWM2 is the output of the second comparator 303. V c The solid line at the top represents the ramp-adaptive process, corresponding to the switching frequency adjustment process of PWM1 in the first comparator 203. This can be seen from PWM1. T puse1 Decrease, making This increases the slope of the slope, i.e. V c The slope of the upper solid line increases.
[0053] The slope is increased by periodically increasing the change in the slope of the first slope by a first preset value. Therefore, the current slope of the first slope... Represented as: in, This represents the slope of the first ramp of the previous cycle in the current cycle. This represents the change in the slope of the first slope. In each cycle of change... The first preset value is continuously increased until the difference between the second cycle and the first cycle equals the inherent delay of the circuit.
[0054] Similarly, if the difference between the second cycle and the first cycle is less than the inherent delay of the circuit... ,Right now This indicates that the circuit load has increased, and the slope of the inductor current has increased. At this time, the delay is small. In order to ensure that the system delay is offset, the slope is increased by decreasing the amount of change in the slope, so that the voltage of the adaptive slope is equal to the voltage generated by the sampling inductor current ripple. i inducor_all × R i Collide earlier to reduce delay.
[0055] The method to reduce the slope is as follows: periodically increase the change in the slope of the second slope by a second preset value. Then, the current slope of the second slope... Represented as: in, This represents the slope of the second slope in the previous cycle. This represents the change in the slope of the second slope. Each cycle of change... Continuously decrease the second preset value until the difference between the second cycle and the first cycle equals the inherent delay of the circuit, i.e. .
[0056] By using the above-mentioned adaptive adjustment method for slope compensation, dynamic real-time adjustment of the slope can be achieved by simply cycling through a few switching cycles.
[0057] For example, the slope adaptive control method further includes: if the direction of adaptive slope compensation is to increase the slope or decrease the slope, then after determining the current slope of the first cycle, the current slope of the first cycle is used as the slope of adaptive slope compensation in the next cycle, and the process jumps to step 502 for repeated execution until the difference is equal to the inherent delay, keeping the slope unchanged.
[0058] In one embodiment, the effectiveness of the adaptive slope compensation control method of this application embodiment is verified by simulation. The PWM signal turn-on simulation delay time of the simulation circuit is set to 90ns.
[0059] In the simulation, the above method is verified by using waveforms of the actual inductor current of the first phase, the midpoint voltage of the first phase bridge arm, the comparator output signal, and the phase trigger pulse signal inside the FPGA. Figure 7 As shown.
[0060] The actual waveforms of the first phase inductor current, the first phase bridge arm midpoint voltage, the comparator output signal, and the FPGA internal phase trigger pulse signal without adaptive slope compensation show that the first phase bridge arm midpoint voltage cannot respond in time after the comparator output signal, and there is still a delay.
[0061] After adaptive slope compensation, the slope is adjusted so that the difference between the second and first cycles is 90ns. The waveforms of the actual inductor current of the first phase, the key voltage of the first phase bridge arm, the comparator output signal, and the phase trigger pulse signal inside the FPGA are shown below. Figure 8 As shown, when the comparator outputs a signal, the voltage at the midpoint of the first phase bridge arm responds promptly, and the system's delay time is exactly canceled out.
[0062] The adaptive slope compensation control method of this application detects the switching frequency of the fixed slope compensation at the previous moment and the switching frequency of the adaptive slope compensation at the current moment, converts the two switching frequencies into a period, and determines the direction of slope compensation by comparing the period with the delay of the circuit itself. Thus, the slope compensation slope is corrected in real time according to the switching frequency. The method is simple, does not require high-speed ADC inductor current slope detection, and does not require complex mathematical derivation calculations. It can adaptively compensate for slope under different load conditions, reducing the requirements for the controller.
[0063] See Figure 9 This application provides a slope adaptive control device that executes the slope adaptive control method described above, including an inherent delay measurement module 601, a first cycle acquisition module 602, a second cycle acquisition module 603, a slope compensation direction determination module 604, and an adaptive slope compensation module 605.
[0064] The inherent delay measurement module 601 is used to measure the inherent delay of the voltage regulation module circuit.
[0065] The first cycle acquisition module 602 is used to acquire the first cycle of the first analog circuit performing adaptive slope compensation on the voltage regulation module circuit.
[0066] The second cycle acquisition module 603 is used to acquire the second cycle of the second analog circuit performing fixed slope compensation on the voltage regulation module circuit.
[0067] The slope compensation direction determination module 604 is used to determine the direction of adaptive slope compensation based on the first cycle, the second cycle, and the inherent delay.
[0068] The adaptive slope compensation module 605 is used to perform adaptive slope compensation on the voltage regulation module circuit based on the direction of adaptive slope compensation.
[0069] For example, the first cycle acquisition module 602 is used to acquire the first cycle of the first analog circuit performing adaptive slope compensation on the voltage regulation module circuit, including: acquiring the first switching frequency of the first analog circuit performing adaptive slope compensation on the voltage regulation module circuit at the first moment; the first moment is the moment when the comparator outputs the compensation signal during the adaptive slope compensation process; and converting the first switching frequency into the first cycle.
[0070] For example, the second cycle acquisition module 603 is used to acquire the second cycle of the second analog circuit performing fixed slope compensation on the voltage regulation module circuit, including: acquiring the second switching frequency at the second moment when the second analog circuit performs fixed slope compensation on the voltage regulation module circuit; the second moment is the moment when the comparator outputs the compensation signal during the fixed slope compensation process; converting the second switching frequency into the second cycle; and the first moment is the moment before the second moment.
[0071] For example, the slope compensation direction determination module 604 is used to determine the slope compensation direction based on the first cycle, the second cycle and the inherent delay, including: calculating the difference between the first cycle and the second cycle; and determining the direction of adaptive slope compensation based on the difference and the inherent delay.
[0072] For example, determining the direction of adaptive slope compensation based on the difference and inherent delay includes: if the difference is greater than the inherent delay, the direction of adaptive slope compensation is determined to be increasing the slope. If the difference is less than the inherent delay, the direction of adaptive slope compensation is determined to be decreasing the slope. If the difference is equal to the inherent delay, the direction of adaptive slope compensation is determined to be keeping the slope unchanged.
[0073] For example, before determining the slope compensation direction based on the first cycle, the second cycle, and the inherent delay, the slope adaptive control method further includes: obtaining the original slope of the voltage regulation module circuit in the previous cycle of the first cycle for adaptive slope compensation.
[0074] Accordingly, the slope compensation direction determination module 605 is used to perform adaptive slope compensation on the voltage regulation module circuit based on the adaptive slope compensation direction, including: performing adaptive slope compensation on the voltage regulation module circuit based on the adaptive slope compensation direction and the original slope.
[0075] For example, adaptive slope compensation is performed on the voltage regulation module circuit based on the direction of adaptive slope compensation and the original slope, including: if the direction of adaptive slope compensation is to increase the slope, then a first slope change amount is added to the original slope, which is used as the current slope slope for the first cycle. If the direction of adaptive slope compensation is to decrease the slope, then a second slope change amount is decreased to the original slope, which is used as the current slope slope for the first cycle. If the direction of adaptive slope compensation is to keep the slope unchanged, then the original slope remains unchanged and is used as the current slope slope for the first cycle.
[0076] For example, if the direction of adaptive slope compensation is to increase or decrease the slope, then after determining the current slope of the first cycle, the current slope of the first cycle is used as the slope of adaptive slope compensation in the next cycle, and the process jumps to the step of obtaining the output signal of the first analog circuit in the first cycle and repeats until the difference is equal to the inherent delay, keeping the slope unchanged.
[0077] It should be noted that the information interaction and execution process between the above-mentioned devices are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, which will not be repeated here.
[0078] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0079] See Figure 10 An embodiment of this application also provides a controller, including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the computer program, it implements the slope adaptive control method as described above.
[0080] The controller 700 may include at least one processor 710 and a memory 720, wherein the memory 720 stores a computer program that can run on the at least one processor 710, and the processor 710 executes the computer program to implement the steps in any of the above method embodiments, for example... Figure 1 Steps 501 to 505 in the illustrated embodiment. Alternatively, when the processor 710 executes the computer program, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 9 The functions of modules 601 to 605 are shown.
[0081] For example, a computer program may be divided into one or more modules / units, one or more of which are stored in memory 720 and executed by processor 710 to complete the present application. One or more modules / units may be a series of computer program segments capable of performing a specific function, which describe the execution process of the computer program in controller 700.
[0082] Those skilled in the art will understand that Figure 10 This is merely an example of controller 700 and does not constitute a limitation on controller 700. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, buses, etc.
[0083] The processor 710 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0084] The memory 720 can be an internal storage unit of the controller 700 or an external storage device of the controller 700, such as a plug-in hard drive, a smart media card (SMC), a secure digital (SD) card, or a flash card. The memory 720 is used to store computer programs and other programs and data required by the controller 700. The memory 720 can also be used to temporarily store data that has been output or will be output.
[0085] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0086] The slope adaptive control method provided in this application embodiment can be applied to terminal devices such as computers, tablets, laptops, netbooks, and personal digital assistants (PDAs). This application embodiment does not impose any restrictions on the specific type of terminal device.
[0087] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various embodiments of the above-described slope adaptive control method.
[0088] This application provides a computer program product that, when run on a mobile terminal, enables the mobile terminal to implement the steps described in the various embodiments of the above-described slope adaptive control method.
[0089] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to a photographic device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0090] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0091] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0092] In the embodiments provided in this application, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0093] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0094] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A ramp adaptive control method, applied to a voltage regulation module circuit, characterized in that, include: Obtain the inherent delay of the voltage regulation module circuit; Obtain the first cycle of adaptive slope compensation of the voltage regulation module circuit by the first analog circuit; Obtain the second cycle of the second analog circuit performing fixed slope compensation on the voltage regulation module circuit; The direction of adaptive slope compensation is determined based on the first cycle, the second cycle, and the inherent delay. Based on the direction of the adaptive slope compensation, adaptive slope compensation is performed on the voltage regulation module circuit.
2. The slope adaptive control method according to claim 1, characterized in that, The first cycle of the adaptive slope compensation performed by the first analog circuit on the voltage regulation module circuit includes: The first switching frequency of the first analog circuit is obtained at the first moment when the voltage regulation module circuit performs adaptive slope compensation; the first moment is the moment when the first comparator outputs the signal of the first analog circuit. Convert the first switching frequency into the first cycle; The second cycle of the second analog circuit performing fixed slope compensation on the voltage regulation module circuit includes: The second switching frequency of the second analog circuit is obtained at the second moment when the voltage regulation module circuit performs fixed slope compensation on the second analog circuit; the second moment is the moment when the second comparator of the second analog circuit outputs the signal. The second switching frequency is converted into the second cycle; the first moment is before the second moment, and the first moment is the closest moment to the second moment.
3. The slope adaptive control method according to claim 1, characterized in that, The step of determining the direction of adaptive slope compensation based on the first period, the second period, and the inherent delay includes: Calculate the difference between the first period and the second period; Based on the difference and the inherent delay, the direction of adaptive slope compensation is determined.
4. The slope adaptive control method according to claim 3, characterized in that, Determining the direction of adaptive slope compensation based on the difference and the inherent delay includes: If the difference is greater than the inherent delay, then the direction of adaptive slope compensation is determined to be increasing the slope. If the difference is less than the inherent delay, then the direction of adaptive slope compensation is determined to be reducing the slope. If the difference is equal to the inherent delay, then the direction of adaptive slope compensation is determined to be that the slope remains unchanged.
5. The slope adaptive control method according to claim 3, characterized in that, Before determining the direction of adaptive slope compensation based on the first period, the second period, and the inherent delay, the adaptive slope control method further includes: Obtain the original slope of the voltage regulation module circuit for adaptive slope compensation in the previous cycle of the first cycle; Accordingly, the adaptive slope compensation of the voltage regulation module circuit based on the direction of the adaptive slope compensation includes: Based on the direction of the adaptive slope compensation and the original slope, adaptive slope compensation is performed on the voltage regulation module circuit.
6. The slope adaptive control method according to claim 5, characterized in that, The adaptive slope compensation of the voltage regulation module circuit based on the direction of the adaptive slope compensation and the original slope includes: If the direction of the adaptive slope compensation is to increase the slope, then a first slope change amount is added to the original slope as the current slope of the first cycle. If the direction of the adaptive slope compensation is to reduce the slope, then the second slope change is reduced based on the original slope, and used as the current slope slope of the first cycle. If the direction of the adaptive slope compensation is such that the slope remains unchanged, then the original slope remains unchanged and is used as the current slope of the first cycle.
7. The slope adaptive control method according to claim 6, characterized in that, The slope adaptive control method also includes: If the direction of the adaptive slope compensation is to increase or decrease the slope, then after determining the current slope of the first cycle, the current slope of the first cycle is used as the original slope of the adaptive slope compensation in the next cycle, and the process jumps to the step of obtaining the first cycle of adaptive slope compensation of the voltage regulation module circuit by the first analog circuit and executes iteratively until the difference is equal to the inherent delay, keeping the slope unchanged.
8. A slope adaptive control device, executing the slope adaptive control method as described in any one of claims 1 to 7, characterized in that, include: An inherent delay measurement module is used to measure the inherent delay of the voltage regulation module circuit. The first cycle acquisition module is used to acquire the first cycle of the first analog circuit performing adaptive slope compensation on the voltage regulation module circuit. The second cycle acquisition module is used to acquire the second cycle of the voltage regulation module circuit performing fixed slope compensation by the second analog circuit. A slope compensation direction determination module is used to determine the direction of adaptive slope compensation based on the first cycle, the second cycle, and the inherent delay. An adaptive slope compensation module is used to perform adaptive slope compensation on the voltage regulation module circuit based on the direction of the adaptive slope compensation.
9. A slope adaptive control circuit, characterized in that, The system includes a multiphase control power supply and a voltage regulation module circuit that applies the slope adaptive control method as described in any one of claims 1-7; the voltage regulation module circuit includes a first analog circuit, a second analog circuit, and a digital control module. The digital control module is used to determine the direction of adaptive compensation for the first analog circuit, and to perform phase control on the multiphase control power supply based on the output voltage adjustment module circuit after adaptive compensation and fixed compensation. The first analog circuit is used to perform adaptive compensation for the voltage regulation module circuit; The second analog circuit is used to provide fixed compensation for the voltage regulation module circuit.
10. A controller comprising a memory and a processor, wherein the memory stores a computer program that runs on the processor, characterized in that, When the processor executes the computer program, it implements the slope adaptive control method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Adaptive Slope Compensation
US20210203225A1
Adaptive slope compensation for current mode control
WO2020050889A1