Driving signal self-adaption method and switch control chip

Through the drive signal adaptive method, the drive signal voltage changes of the switch control chip are monitored and adjusted, ensuring that the level switching time is within the set range, solving the problem of uncertain voltage changes in the switching power supply, improving efficiency and reducing debugging complexity enhances product competitiveness.

CN119093712APending Publication Date: 2024-12-06SHENZHEN LINGQI SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411109207.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In the existing switching power supply technology, the voltage rise/fall speed of the control end of the power switch tube is uncertain, resulting in noise generation and efficiency reduction, and the debugging process is cumbersome, affecting product cost and efficiency.

Method used

The driving signal adaptive method is adopted to monitor the voltage changes output by the driving pin and adjust the compensation current to ensure that the level switching time is within the set time range, and automatically adjust the level switching speed of the switch control chip.

Benefits of technology

It realizes that the level switching speed of the driving signal is automatically adjusted without relying on the peripheral circuit, so that the power switch tube is turned on and off at the most appropriate speed, reducing debugging processes, reducing development costs and increasing product competition force.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119093712A_ABST
    Figure CN119093712A_ABST
Patent Text Reader

Abstract

The invention relates to a driving signal self-adaption method and a switch control chip, the method is used for the switch control chip, the switch control chip comprises a driving pin and a driving pre-stage module, the driving pre-stage module is connected with the driving pin and is used for inputting a driving signal to a power switch tube through the driving pin, and the method comprises the following steps: when the power switch tube is conducted, the driving pre-stage module is connected with the driving pin; monitoring the voltage change of the driving signal output by the driving pin; determining whether the actual switching time of the driving signal in the level switching process is within a set time range or not according to the voltage change of the driving signal; and if the switching time is not within the set time range, adjusting the magnitude of the compensation current of the driving signal of the power switch tube in the subsequent conduction period based on the deviation direction of the switching time and the set time range, so that the switching time is kept within the set time range. According to the invention, under the condition of not depending on a peripheral circuit, the switch control chip can automatically adjust the level switching speed of the driving signal, so that the power switch tube can be switched on and off at the most appropriate speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of switching power supplies, and in particular to a driving signal self-adaptation method and a switch control chip. Background Art

[0002] In order to ensure the working stability and reliability of the switching power supply, the voltage at the control end of the power switch tube needs to rise from a low level to a high level at an appropriate speed when the power switch tube is turned on. If the voltage rises too fast, noise may be generated, and if the voltage rises too slowly, the efficiency of the power switch tube will be affected. Similarly, when the power switch tube is turned off, the voltage at the control end needs to drop from a high level to a low level at an appropriate speed, otherwise it may cause the switching power supply to generate unnecessary noise and reduce the power supply efficiency. However, the on and off of the power switch tube is usually controlled by a switch control chip (or switch controller), and the capacitance of the control end of the power switch tube is related to the model of the power switch tube, the peripheral circuit of the power switch tube, the layout of the circuit board, etc. There is a large uncertainty in its capacitance, and the actual rise / fall speed of the control end voltage is uncertain.

[0003] To address this defect, Figure 7 As shown, in the prior art, a buffer circuit 90 is usually set between the switch control chip 10 and the control end of the power switch tube 80, and then the engineer adjusts the electronic component parameters (including the resistance value and the diode model) in the buffer circuit 90 according to the actual situation of the circuit, so that the power switch tube 80 is turned on and off at the most appropriate speed. However, when the power switch tube is wired on the PCB board for adjustment or the electronic component model is replaced, the parasitic capacitance of the control end of the power switch tube 80 may change, causing the switching speed to change. Each time a new product is developed, the engineer may need to re-debug the electronic component parameters of the buffer circuit 90. Therefore, this solution requires engineers to spend a lot of time on debugging, which is not conducive to reducing product costs. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a driving signal self-adaptation method and a switch control chip.

[0005] The technical solution adopted by the present invention to solve the technical problem is: constructing a driving signal adaptive method for a switch control chip, the switch control chip includes a driving pin and a driving front-stage module connected to the driving pin for inputting a driving signal to the power switch tube through the driving pin, and the driving signal adaptive method includes:

[0006] When the power switch tube is turned on, monitoring the voltage change of the driving signal output by the driving pin;

[0007] determining whether an actual switching time of the driving signal during the level switching process is within a set time range according to a voltage change of the driving signal;

[0008] If the switching time is not within the set time range, the compensation current size of the driving signal of the power switch tube in the subsequent conduction cycle is adjusted based on the deviation direction of the switching time from the set time range to keep the switching time within the set time range.

[0009] Preferably, the step of determining whether the actual switching time of the driving signal during the level switching process is within a set time range according to the voltage change of the driving signal comprises:

[0010] Determine, according to the voltage change of the driving signal, the actual first sub-switching time when the driving signal rises from a low level to a high level, so as to judge whether the first sub-switching time is within the first sub-set time range;

[0011] The step of adjusting the compensation current magnitude of the driving signal of the power switch tube in a subsequent conduction cycle based on the deviation direction of the switching time from the set time range comprises:

[0012] If the first sub-switching time is less than the lower limit of the first sub-set time range, then reducing the pull-up compensation current of the driving signal of the power switch tube in the subsequent conduction cycle;

[0013] If the first sub-switching time is greater than the upper limit of the first sub-setting time range, the pull-up compensation current of the driving signal of the power switch tube in the subsequent conduction period is increased.

[0014] Preferably, the step of determining, according to the voltage change of the driving signal, the actual first sub-switching time when the driving signal rises from a low level to a high level, so as to judge whether the first sub-switching time is within the first sub-set time range comprises:

[0015] Taking the moment when the voltage of the driving signal starts to rise from a low level as the starting time, delaying the time by a first set time and a second set time respectively; wherein the first set time is less than the second set time;

[0016] determining whether the voltage of the driving signal is greater than a first set voltage at the end of the first set time and the end of the second set time respectively;

[0017] If the voltage of the driving signal has risen to be greater than the first set voltage at the end of the first set time, it is determined that the first sub-switching time is not within the first sub-set time range, and the first sub-switching time is less than the lower limit of the first sub-set time range;

[0018] If the voltage of the driving signal has not risen to be greater than the first setting voltage at the end time of the first setting time, but the voltage of the driving signal has risen to be greater than the first setting voltage at the end time of the second setting time, it is determined that the first sub-switching time is within the first sub-setting time range;

[0019] If the voltage of the driving signal does not rise to be greater than the first set voltage at the end of the second set time, it is determined that the first sub-switching time is not within the first sub-set time range, and it is determined that the first sub-switching time is greater than the upper limit value of the first sub-set time range.

[0020] Preferably, the step of determining whether the actual switching time of the driving signal during the level switching process is within a set time range according to the voltage change of the driving signal further includes:

[0021] Determine, according to the voltage change of the driving signal, the actual second sub-switching time when the driving signal drops from a high level to a low level, so as to judge whether the second sub-switching time is within the second sub-set time range;

[0022] The step of adjusting the compensation current magnitude of the driving signal of the power switch tube in the subsequent conduction cycle based on the deviation direction between the switching time and the set time range also includes:

[0023] If the second sub-switching time is less than the lower limit of the second sub-set time range, then reducing the pull-down compensation current of the driving signal of the power switch tube in the subsequent conduction cycle;

[0024] If the second sub-switching time is greater than the upper limit of the second sub-set time range, the pull-down compensation current of the driving signal of the power switch tube in the subsequent conduction period is increased.

[0025] Preferably, the step of determining, according to the voltage change of the driving signal, the actual second sub-switching time when the driving signal drops from a high level to a low level, so as to judge whether the second sub-switching time is within the second sub-set time range comprises:

[0026] Taking the moment when the voltage of the driving signal starts to drop from a high level as the starting time, delaying the time by a third set time and a fourth set time respectively; wherein the third set time is less than the fourth set time;

[0027] Determining whether the voltage of the driving signal is less than the second set voltage at the end of the third set time and the fourth set time respectively;

[0028] If the voltage of the driving signal has dropped to less than the second set voltage at the end of the third set time, it is determined that the second sub-switching time is not within the second sub-set time range, and the second sub-switching time is less than the lower limit of the second sub-set time range;

[0029] If the voltage of the driving signal has not dropped to less than the second setting voltage at the end of the third setting time, and the voltage of the driving signal has dropped to less than the second setting voltage at the end of the fourth setting time, it is determined that the second sub-switching time is within the second sub-setting time range;

[0030] If the voltage of the drive signal does not drop below the second set voltage at the end of the fourth set time, it is determined that the second sub-switching time is not within the second sub-set time range, and it is determined that the second sub-switching time is greater than the upper limit value of the second sub-set time range.

[0031] Preferably, the driving signal adaptive method further comprises:

[0032] In the process of the driving signal rising from a low level to a high level, it is also determined whether the voltage of the driving signal is greater than a third set voltage, and if so, the pull-up compensation current is set to the first set current; and / or

[0033] In the process of the driving signal dropping from a high level to a low level, it is also determined that the voltage of the driving signal is less than a fourth set voltage, and if so, the pull-down compensation current is set to the second set current.

[0034] The present invention also constructs a switch control chip, including a drive pin DRV and a drive front-stage module connected to the drive pin DRV for inputting a drive signal to the power switch tube through the drive pin DRV. The switch control chip also includes:

[0035] A driving compensation module, used for outputting a compensation current to the driving pin DRV to compensate for the current in the level switching process of the driving signal; and

[0036] A drive adjustment module is used to monitor the voltage change of the drive signal output by the drive pin DRV when the switch control chip controls the power switch tube to be turned on, so as to determine the actual switching time of the drive signal in the level switching process according to the voltage change of the drive signal, and when the switching time is not within the set time range, adjust the compensation current output by the drive compensation module in the subsequent conduction cycle based on the deviation direction of the switching time and the set time range, so as to keep the switching time within the set time range.

[0037] Preferably, the driving adjustment module includes a comparison unit, a clock unit, a logic unit and an adjustment control unit;

[0038] The comparison unit compares the voltage of the drive signal with the first set voltage and outputs a first comparison signal when the drive signal rises from a low level to a high level; and / or, the comparison unit compares the voltage of the drive signal with the second set voltage and outputs a second comparison signal when the drive signal drops from a high level to a low level; wherein the first comparison signal is at a first level, indicating that the voltage of the drive signal is greater than the first set voltage, and is at a second level, indicating that the voltage of the drive signal is not greater than the first set voltage; the second comparison signal is at a first level, indicating that the voltage of the drive signal is not less than the second set voltage, and is at a second level, indicating that the voltage of the drive signal is less than the second set voltage;

[0039] The clock unit takes the moment when the driving signal starts to rise from a low level as the starting time, outputs a first detection signal after a delay of a first set time, and outputs a second detection signal after a delay of a second set time; and / or, the clock unit takes the moment when the driving signal starts to fall from a high level as the starting time, outputs a third detection signal after a delay of a third set time, and outputs a fourth detection signal after a delay of a fourth set time; wherein the first set time is less than the second set time, and the third set time is less than the fourth set time;

[0040] The logic unit is used to perform the following steps:

[0041] When the first detection signal is received, if the first comparison signal is at a first level, a pull-up down signal is output;

[0042] When the first detection signal is received, if the first comparison signal is at the second level, and when the second detection signal is received, the first comparison signal is at the first level, then a pull-up hold signal is output;

[0043] When the second detection signal is received, if the first comparison signal is at a second level, a pull-up adjustment signal is output;

[0044] When the third detection signal is received, if the second comparison signal is at a second level, a pull-down signal is output;

[0045] When the third detection signal is received, if the second comparison signal is at the first level, and when the fourth detection signal is received, if the second comparison signal is at the second level, then a pull-down holding signal is output;

[0046] When the fourth detection signal is received, if the second comparison signal is at the first level, a pull-down adjustment signal is output;

[0047] The regulating control unit is used to perform the following steps:

[0048] When receiving the pull-up adjustment signal, reducing the pull-up compensation current of the driving signal of the power switch tube in the subsequent conduction cycle;

[0049] When receiving the pull-up holding signal, maintaining the pull-up compensation current of the driving signal of the power switch tube in a subsequent conduction cycle;

[0050] When receiving the pull-up adjustment signal, increase the pull-up compensation current of the driving signal of the power switch tube in the subsequent conduction cycle;

[0051] When receiving the pull-down adjustment signal, reducing the pull-down compensation current of the driving signal of the power switch tube in the subsequent conduction cycle;

[0052] When receiving the pull-down holding signal, maintaining the pull-down compensation current of the driving signal of the power switch tube in a subsequent conduction cycle;

[0053] When the pull-down adjustment signal is received, the pull-down compensation current of the driving signal of the power switch tube in the subsequent conduction cycle is increased.

[0054] Preferably, the regulation control unit includes a constant source regulation unit and a counter;

[0055] The constant source adjustment unit outputs the compensation current to the driving compensation module;

[0056] The counter controls the direction and duration of the compensation current output by the constant source adjustment unit according to the adjustment signal output by the logic unit; wherein the adjustment signal includes any one of the pull-up adjustment signal, the pull-up hold signal, the pull-up adjustment signal, the pull-down adjustment signal, the pull-down hold signal and the pull-down adjustment signal.

[0057] Preferably, the driving compensation module comprises a driving pull-up unit and a driving pull-down unit;

[0058] The driving pull-up unit outputs a positive compensation current to the driving pin DRV when the driving signal rises from a low level to a high level;

[0059] The driving pull-down unit outputs a negative compensation current to the driving pin DRV when the driving signal drops from a high level to a low level.

[0060] The implementation of the present invention has the following beneficial effects: it enables the switch control chip to automatically adjust the level switching speed of the drive signal based on the actual circuit situation without relying on peripheral circuits, so that the power switch tube can be turned on and off at the most appropriate speed, eliminating tedious debugging procedures, helping to reduce users' development costs, and improving the product competitiveness of the switch control chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0062] Figure 1 is a flowchart of a method for self-adapting a driving signal in some embodiments of the present invention;

[0063] Figure 2 is a waveform diagram of a driving signal when the voltage rise speed is too fast in some embodiments of the present invention;

[0064] Figure 3 is a waveform diagram of a driving signal when the voltage rising speed is appropriate in some embodiments of the present invention;

[0065] Figure 4 is a waveform diagram of a driving signal when the voltage rise speed is too slow in some embodiments of the present invention;

[0066] Figure 5 is a circuit structure block diagram of a switch control chip in some embodiments of the present invention;

[0067] Figure 6 is a circuit schematic diagram of a logic unit in some embodiments of the present invention;

[0068] Figure 7 is a circuit schematic diagram of a buffer circuit provided between a switch control chip and a power switch tube in some embodiments. DETAILED DESCRIPTION

[0069] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.

[0070] It should be noted that the flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor do they have to be executed in the order described. For example, some operations / steps can be decomposed, while some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0071] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0072] Figure 1 1 is a flowchart of a method for adaptively driving a signal in some embodiments of the present invention. The method for adaptively driving a signal is applied to a switch control chip. The method can turn on and off a power switch tube at the most appropriate speed. Figure 5 As shown, the switch control chip includes a drive pin and a drive pre-stage module connected to the drive pin for inputting a drive signal to the power switch tube through the drive pin. The switch control chip is used for a switching power supply, and realizes voltage conversion by cooperating with the power switch tube and an energy storage device (such as an inductor or a transformer). The specific working principle can refer to the working principle of the switching power supply, which will not be repeated here. In addition, the power switch tube can be an existing power transistor, such as a power MOSFET, an IGBT, and a GTR.

[0073] See also Figure 1 The driving signal adaptive method includes step S10, step S20 and step S30.

[0074] Step S10 includes: when the power switch tube is turned on, monitoring the voltage change of the driving signal output by the driving pin. During the operation of the switching power supply, it is necessary to periodically control the on and off of the power switch tube through the switch control chip. In this step, each time the switch control chip starts to output a driving signal (such as a high level) that can control the power switch tube to be turned on, the voltage change of the driving signal output by the driving pin of the switch control chip is monitored until the power switch tube is completely turned off.

[0075] Step S20 includes: determining whether the actual switching time of the driving signal during the level switching process is within a set time range according to the voltage change of the driving signal. In this step, the level switching process of the driving signal may include a process in which the driving signal switches from a low level to a high level and / or a process in which the driving signal switches from a high level to a low level.

[0076] Step S30 includes: if the switching time is not within the set time range, then based on the deviation direction of the switching time from the set time range, the compensation current size of the driving signal of the power switch tube in the subsequent conduction cycle is adjusted to keep the switching time within the set time range. In this step, adjusting the compensation current is equivalent to adjusting the current component size in the driving signal. It can be understood that since the circuit between the power switch tube and the switch control chip must have a certain capacitive characteristic, the larger the current component in the driving signal, the faster the voltage change speed of the driving signal, and the smaller the current component, the slower the voltage change speed of the driving signal. Therefore, the voltage change speed of the driving signal can be adjusted by adjusting the compensation current size, thereby adjusting the actual switching time of the power switch tube. In addition, since the computing power of some switch control chips is limited, it may not be possible to complete all steps of steps S10 to S30 in a single conduction cycle. Therefore, the step of adjusting the compensation current does not necessarily occur in the next conduction cycle, but may occur in several subsequent conduction cycles. Therefore, the subsequent conduction cycle may include one or more conduction cycles after the current conduction cycle.

[0077] It is understandable that if executing step S30 once may not keep the switching time within the set time range, then the compensation current size can be adjusted again according to the actual switching time by returning to step S10. It is understandable that by cyclically executing steps S10 to S30, the switching time can be ensured to remain within the set time range.

[0078] This embodiment monitors the voltage change of the driving signal output by the driving pin when the power switch tube is turned on, thereby determining the actual switching time of the driving signal in the level switching process, and when the switching time is not within the set time range, based on the deviation direction of the switching time and the set time range, adjusts the compensation current size of the driving signal of the power switch tube in the subsequent conduction cycle. After several switching cycles, the switching time is kept within the set time range, so that the switch control chip can automatically adjust the level switching speed of the driving signal based on the actual circuit situation without relying on peripheral circuits, so that the power switch tube is turned on and off at the most appropriate speed, eliminating tedious debugging procedures, helping to reduce users' development costs, and improving the product competitiveness of the switch control chip.

[0079] In some embodiments, the switching time may include a first sub-switching time, and the set time range may include a first sub-set time range. Step S20 may include: determining, according to a voltage change of the driving signal, the actual first sub-switching time when the driving signal rises from a low level to a high level, to determine whether the first sub-switching time is within the first sub-set time range.

[0080] In some embodiments, whether the first sub-switching time is within the first sub-set time range may be confirmed by executing step S201 , step S202 , step S203 , step S204 , and step S205 .

[0081] Step S201 includes: taking the moment when the voltage of the driving signal starts to rise from a low level as the starting time, delaying the first set time and the second set time respectively; wherein the first set time is less than the second set time. In this step, since the level of the driving signal is actually controlled by the switch control chip, the moment when the driving signal is controlled to switch from a low level to a high level is learned by interacting with the relevant modules or circuits in the switch control chip that control the level of the driving signal, and the moment is determined as the moment when the voltage of the driving signal starts to rise from a low level as the starting time, and at the same time, the delay of the first set time and the second set time starts timing.

[0082] Step S202 includes: determining whether the voltage of the driving signal is greater than the first set voltage at the end of the first set time and the end of the second set time. In this step, at the end of the first set time delay, it is determined whether the voltage of the driving signal at the current moment is greater than the first set voltage, and then at the end of the second set time delay, it is determined again whether the voltage of the driving signal at the current moment is greater than the first set voltage.

[0083] Step S203 includes: if the voltage of the driving signal has risen to a value greater than the first set voltage at the end of the first set time, determining that the first sub-switching time is not within the first sub-set time range, and determining that the first sub-switching time is less than the lower limit of the first sub-set time range. First of all, it should be noted that in this step, the driving signal is in the process of switching from a low level to a high level, and the speed at which the voltage of the driving signal rises from a low level to the first set voltage is a criterion for evaluating the voltage rise speed of the driving signal, see Figure 2 When the voltage Vdrv of the driving signal has risen to be greater than the first setting voltage V1 at the end of the first setting time t1, it means that before the delay of the first setting time t1 ends, the voltage Vdrv of the driving signal has risen to as high as the first setting voltage V1. At this time, it is considered that the rising speed of the voltage Vdrv of the driving signal is too fast, and it is determined that the first sub-switching time is less than the lower limit value of the first sub-setting time range to determine the deviation direction of the switching time.

[0084] Step S204 includes: if the voltage of the driving signal has not risen to a value greater than the first setting voltage at the end of the first setting time, but the voltage of the driving signal has risen to a value greater than the first setting voltage at the end of the second setting time, then determining that the first sub-switching time is within the first sub-setting time range. Figure 3In this step, when the voltage Vdrv of the driving signal has not risen to be greater than the first setting voltage V1 at the end of the first setting time t1, and the voltage Vdrv of the driving signal has risen to be greater than the first setting voltage V1 at the end of the second setting time t2, it means that the voltage Vdrv of the driving signal rises to reach the first setting voltage V1 during the period from the end of the delay of the first setting time t1 to the end of the delay of the second setting time t2 (i.e., during t0). At this time, it is considered that the speed at which the voltage of the driving signal rises from a low level to a high level is within an appropriate range, and it is determined that the first sub-switching time is within the first sub-setting time range.

[0085] Step S205 includes: if the voltage of the driving signal does not rise to a value greater than the first set voltage at the end of the second set time, determining that the first sub-switching time is not within the first sub-set time range, and determining that the first sub-switching time is greater than the upper limit of the first sub-set time range. Figure 4 In this step, when the voltage of the driving signal does not rise to a level greater than the first setting voltage V1 at the end of the second setting time t2, it is considered that the speed at which the voltage Vdrv of the driving signal rises from a low level to a high level is slow, and thus it is determined that the first sub-switching time is not within the first sub-setting time range, and it is determined that the first sub-switching time is greater than the upper limit value of the first sub-setting time range, so as to determine the deviation direction of the switching time.

[0086] In this embodiment, the switch control chip does not need to detect the voltage change of the drive signal at all times. It only needs to compare the voltage of the drive signal with the first set voltage at the end of the first and second set time delays to obtain the relevant comparison results, which can reduce the amount of calculation of the switch control chip and reduce the hardware performance requirements of the switch control chip of the present invention.

[0087] In some embodiments, if the first sub-switching time is not within the first sub-set time range, the following steps can be performed to keep the switching time within the set time range: if the first sub-switching time is less than the lower limit value of the first sub-set time range, the pull-up compensation current of the power switch tube driving the signal in the subsequent conduction cycle is reduced; if the first sub-switching time is greater than the upper limit value of the first sub-set time range, the pull-up compensation current of the power switch tube driving the signal in the subsequent conduction cycle is increased.

[0088] Specifically, if the first sub-switching time is less than the lower limit of the first sub-setting time range, it means that the speed of the drive signal rising from a low level to a high level is fast, so it is necessary to reduce the pull-up compensation current in the subsequent conduction cycle to reduce the current component of the drive signal, thereby increasing the first sub-switching time in the subsequent conduction cycle, so that the first sub-switching time is close to or even enters the first sub-setting time range. If the first sub-switching time is greater than the lower limit of the first sub-setting time range, it means that the speed of the drive signal rising from a low level to a high level is slow, so it is necessary to increase the pull-up compensation current in the subsequent conduction cycle to increase the current component of the drive signal, thereby reducing the first sub-switching time in the subsequent conduction cycle, so that the first sub-switching time gradually approaches the first sub-setting time range after a number of cycles of steps S10 to S30, and finally enters and remains within the first sub-setting time range.

[0089] In some embodiments, the switching time may further include a second sub-switching time, and the set time range may further include a second sub-set time range. Step S20 may further include: determining, according to the voltage change of the driving signal, the actual second sub-switching time when the driving signal drops from a high level to a low level, to determine whether the second sub-switching time is within the second sub-set time range.

[0090] In some embodiments, whether the second sub-switching time is within the second sub-set time range may be confirmed by executing step SS201 , step SS202 , step SS203 , step SS204 , and step SS205 .

[0091] Step SS201 includes: taking the moment when the voltage of the driving signal starts to drop from a high level as the starting time, delaying the third set time and the fourth set time respectively; wherein the third set time is less than the fourth set time. In this step, since the level of the driving signal is actually controlled by the switch control chip, the moment when the driving signal is controlled to switch from a high level to a low level is learned by interacting with the relevant modules or circuits in the switch control chip that control the level of the driving signal, and the moment is determined as the moment when the voltage of the driving signal starts to drop from a high level as the starting time, and at the same time, the delay of the third set time and the fourth set time starts timing.

[0092] Step SS202 includes: determining whether the voltage of the drive signal is less than the second set voltage at the end of the third set time and the fourth set time. In this step, at the end of the third set time delay, it is determined whether the voltage of the drive signal at the current moment is less than the second set voltage, and then at the end of the fourth set time delay, it is determined again whether the voltage of the drive signal at the current moment is less than the second set voltage.

[0093] Step SS203 includes: if the voltage of the driving signal has dropped to less than the second set voltage at the end of the third set time, it is determined that the second sub-switching time is not within the second sub-set time range, and the second sub-switching time is less than the lower limit of the second sub-set time range. In this step, the driving signal is in the process of switching from a high level to a low level, and the speed at which the voltage of the driving signal decreases from a low level to the first set voltage is a criterion for evaluating the voltage drop speed of the driving signal. When the voltage of the driving signal has dropped to less than the second set voltage at the end of the third set time, it means that the voltage of the driving signal has dropped to the second set voltage before the third set time delay ends. At this time, it is considered that the voltage drop speed of the driving signal is too fast, and the second sub-switching time is determined to be less than the lower limit of the second sub-set time range to determine the deviation direction of the switching time.

[0094] Step SS204 includes: if the voltage of the driving signal has not dropped to less than the second setting voltage at the end of the third setting time, and the voltage of the driving signal has dropped to less than the second setting voltage at the end of the fourth setting time, then the second sub-switching time is determined to be within the second sub-setting time range. In this step, when the voltage of the driving signal has not dropped to less than the second setting voltage at the end of the third setting time, and the voltage of the driving signal has dropped to less than the second setting voltage at the end of the fourth setting time, it means that the voltage of the driving signal drops to the second setting voltage during the period from the end of the third setting time delay to the end of the fourth setting time t4 delay, at this time, it is considered that the speed at which the voltage of the driving signal drops from a high level to a low level is within an appropriate range, and the second sub-switching time is determined to be within the second sub-setting time range.

[0095] Step SS205 includes: if the voltage of the driving signal does not drop to less than the second setting voltage at the end of the fourth setting time, it is determined that the second sub-switching time is not within the second sub-setting time range, and the second sub-switching time is greater than the upper limit of the second sub-setting time range. In this step, when the voltage of the driving signal does not drop to less than the second setting voltage at the end of the fourth setting time, it is considered that the speed at which the voltage of the driving signal drops from a high level to a low level is slow, and thus it is determined that the second sub-switching time is not within the second sub-setting time range, and the second sub-switching time is greater than the upper limit of the second sub-setting time range, so as to determine the deviation direction of the switching time.

[0096] In this embodiment, the switch control chip does not need to detect the voltage change of the drive signal at all times. It only needs to compare the voltage of the drive signal with the second set voltage at the end of the third and fourth set time delays to obtain relevant comparison results, which can reduce the amount of calculation of the switch control chip.

[0097] In some embodiments, if the second sub-switching time is not within the second sub-set time range, the following steps can be performed to keep the switching time within the set time range: if the second sub-switching time is less than the lower limit value of the second sub-set time range, the pull-down compensation current of the power switch tube driving the signal in the subsequent conduction cycle is reduced; if the second sub-switching time is greater than the upper limit value of the second sub-set time range, the pull-down compensation current of the power switch tube driving the signal in the subsequent conduction cycle is increased.

[0098] In some embodiments, the drive signal adaptive method may further include: in the process of the drive signal rising from a low level to a high level, it is also determined whether the voltage of the drive signal is greater than a third set voltage, and if so, the pull-up compensation current is set to a first set current. In this embodiment, when the voltage of the drive signal rises from a low level to greater than the third set voltage, it means that the voltage of the drive signal has risen to a high level voltage that is close to the final high level voltage maintained after the level switching is completed. At this time, the pull-up compensation current will be fixedly set to the first set current so that the voltage of the drive signal rises relatively slowly to the final high level voltage maintained. In some embodiments, multiple points similar to the third set voltage point can also be set to gradient control the voltage rise speed of the drive signal from a low level to a high level. It should be noted that before the voltage of the drive signal rises from a low level to greater than the third set voltage, the pull-up compensation current is set by executing the method of steps S10 to S30, and when the switch control chip is just powered on, the pull-up compensation current will be set to a certain current value. It should be noted that the pull-up compensation current is used to compensate for the current component of the drive signal in the process of rising from a low level to a high level.

[0099] In some embodiments, the drive signal adaptive method may further include: in the process of the drive signal dropping from a high level to a low level, it is also determined that the voltage of the drive signal is less than a fourth set voltage, and if so, the pull-down compensation current is set to a second set current. In this embodiment, when the voltage of the drive signal drops from a high level to less than the fourth set voltage, it means that the voltage of the drive signal has risen to a low level voltage close to the final low level voltage maintained after the level switching is completed. At this time, the pull-down compensation current is fixedly set to the second set current, so that the voltage of the drive signal is quickly dropped to the final low level voltage (close to 0V) maintained, so as to avoid affecting the operation of the next switching cycle due to the slow voltage drop. It should be noted that before the voltage of the drive signal drops from a high level to less than the fourth set voltage, the pull-down compensation current is set by executing the method of steps S10 to S30. Of course, when the switch control chip is just powered on, the pull-down compensation current is set to a certain current value. It should be noted that the pull-down compensation current is used to compensate for the current component of the drive signal in the process of dropping from a high level to a low level.

[0100] In some embodiments, the start and end time of the actual switching time can be determined according to the level change speed of the driving signal. Specifically, if the driving signal switches from a low level to a high level, since the level of the driving signal is actually controlled by the switch control chip, the moment when the switch control chip controls the driving signal from a low level to a high level can be determined as the start time of the first sub-switching time; then, since the switching between high and low levels cannot be achieved instantly or in a very short time, it takes a certain amount of time (and the length of this time is determined by the parasitic capacitance of the control end of the power switch tube, the capacitance between the circuit boards, etc., that is, it is closely related to the electrical performance of the electronic components actually used in the switching power supply), so when it is detected that the absolute value of the level change speed of the driving signal is less than the set acceleration value (close to 0V / s), it means that the level is close to no change, then this moment is determined as the end time of the first sub-switching time. If the driving signal switches from a high level to a low level, the moment when the switch control chip controls the driving signal from a high level to a low level can be determined as the starting moment of the second sub-switching time; then, when it is detected that the absolute value of the level change speed of the driving signal is less than the second set acceleration value (close to 0V / s), the moment is determined as the end moment of the second sub-switching time.

[0101] like Figure 5 As shown, the present invention also provides a switch control chip, including a drive pin DRV and a drive pre-stage module 30 connected to the drive pin DRV for inputting a drive signal to the power switch tube through the drive pin DRV. The switch control chip also includes a drive compensation module 40 and a drive adjustment module 60.

[0102] The driving compensation module 40 is connected to the driving adjustment module 60 and the driving pre-stage module 30 . The driving compensation module 40 is used to output a compensation current to the driving pin DRV to compensate for the current in the level switching process of the driving signal.

[0103] The drive adjustment module 60 is connected to the relevant setting module 20 of the control chip (including relevant existing modules for controlling the level conversion of the drive signal (including switching from low level to high level and from high level to low level) and the controller of the switch control chip, etc.). The drive adjustment module 60 is used to monitor the voltage change of the drive signal output by the drive pin DRV when the switch control chip controls the power switch tube to be turned on, so as to determine the actual switching time of the drive signal in the level switching process according to the voltage change of the drive signal, and when the switching time is not within the set time range, adjust the compensation current output by the drive compensation module 40 in the subsequent conduction cycle based on the deviation direction of the switching time and the set time range, so as to keep the switching time within the set time range.

[0104] In some embodiments, Figure 5As shown, the driving adjustment module 60 may include a comparison unit 62 , a clock unit 61 , a logic unit 64 and an adjustment control unit 63 .

[0105] Wherein, the comparison unit 62 compares the voltage of the driving signal with the first set voltage and outputs a first comparison signal when the driving signal rises from a low level to a high level; and / or, the comparison unit 62 compares the voltage of the driving signal with the second set voltage and outputs a second comparison signal when the driving signal drops from a high level to a low level; wherein, when the first comparison signal is at a first level, it indicates that the voltage of the driving signal is greater than the first set voltage, and when it is at a second level, it indicates that the voltage of the driving signal is not greater than the first set voltage, and when the second comparison signal is at a first level, it indicates that the voltage of the driving signal is not less than the second set voltage, and when it is at a second level, it indicates that the voltage of the driving signal is less than the second set voltage. In addition, the first level can be a high level, and correspondingly, the second level is a low level.

[0106] The clock unit 61 takes the moment when the driving signal starts to rise from a low level as the starting time, outputs the first detection signal after a delay of a first set time, and outputs the second detection signal after a delay of a second set time; and / or, the clock unit 61 takes the moment when the driving signal starts to fall from a high level as the starting time, outputs the third detection signal after a delay of a third set time, and outputs the fourth detection signal after a delay of a fourth set time; wherein the first set time is less than the second set time, and the third set time is less than the fourth set time.

[0107] The logic unit 64 is used to execute steps S01 to S06.

[0108] Step S01 includes: when receiving the first detection signal, if the first comparison signal is at the first level, outputting the pull-up adjustment signal. In this step, when the logic unit 64 receives the first detection signal, the first comparison signal is at the first level, indicating that the speed of the driving signal rising from the low level to the high level is fast.

[0109] Step S02 includes: when the first detection signal is received, if the first comparison signal is at the second level, and when the second detection signal is received, the first comparison signal is at the first level, then the pull-up hold signal is output. In this step, when the logic unit 64 receives the first detection signal, the first comparison signal is at the second level, and when the second detection signal is received, the first comparison signal is at the first level, indicating that the speed at which the voltage of the drive signal rises from a low level to a high level is within a suitable range.

[0110] Step S03 includes: when receiving the second detection signal, if the first comparison signal is at the second level, outputting the pull-up adjustment signal. In this step, when the logic unit 64 receives the second detection signal, the first comparison signal is at the second level, indicating that the speed of the driving signal rising from the low level to the high level is slow.

[0111] Step S04 includes: when receiving the third detection signal, if the second comparison signal is at the second level, outputting a pull-down signal. In this step, when the logic unit 64 receives the third detection signal, the second comparison signal is at the second level, indicating that the speed at which the drive signal drops from a high level to a low level is fast.

[0112] Step S05 includes: when the third detection signal is received, if the second comparison signal is at the first level, and when the fourth detection signal is received, the second comparison signal is at the second level, then the pull-down hold signal is output. In this step, when the logic unit 64 receives the third detection signal, the second comparison signal is at the first level, and when the fourth detection signal is received, the second comparison signal is at the second level, indicating that the speed at which the voltage of the drive signal drops from a high level to a low level is within a suitable range.

[0113] Step S06 includes: when receiving the fourth detection signal, if the second comparison signal is at the first level, outputting the pull-down adjustment signal. In this step, when the logic unit 64 receives the fourth detection signal, the second comparison signal is at the first level, indicating that the speed at which the drive signal drops from a high level to a low level is slow.

[0114] In some embodiments, Figure 6 As shown, the logic unit 64 may include a first D flip-flop 64A, a second D flip-flop 64B and a first processor 64C. The data input terminal of the first D flip-flop 64A is connected to the first comparison signal, and the data input terminal of the second D flip-flop 64B is connected to the second comparison signal ( Figure 6The first comparison signal and the second comparison signal are transmitted in the form of a bus), the clock end of the first D flip-flop 64A and the second D flip-flop 64B is connected to the clock unit 61 to receive the detection signal (including the first to fourth detection signals) output by the clock unit 61 at the end of the first, second, third and fourth set time delays, and the data output end of the first D flip-flop 64A and the second D flip-flop 64B is connected to the first processor 64C. The first processor 64C is also connected to the clock unit 61 to receive the pulse signal to count the pulse signal, and determine the detection signal type (including the first to fourth detection signals) connected to the clock end of the first and second D flip-flops at the current moment according to the voltage switching state of the driving signal (including switching from low level to high level and from high level to low level). The first processor 64C is connected to the adjustment control unit 63 to input the adjustment signal to the adjustment control unit 63. Among them, the adjustment signal includes any one of a pull-up adjustment signal, a pull-up hold signal, a pull-up adjustment signal, a pull-down adjustment signal, a pull-down hold signal and a pull-down adjustment signal.

[0115] The adjustment control unit 63 is used to execute steps SS01 to SS06:

[0116] Step SS01 includes: when receiving the pull-up adjustment signal, reducing the pull-up compensation current of the driving signal of the power switch tube in the subsequent conduction cycle. In this step, when the adjustment control unit 63 receives the pull-up adjustment signal, it will reduce the current signal input to the driving compensation module 40, so that the pull-up compensation current output by the driving compensation module 40 to the driving pin DRV is reduced.

[0117] Step SS02 includes: when the adjustment control unit 63 receives the pull-up hold signal, the pull-up compensation current of the driving signal of the power switch tube in the subsequent conduction cycle is maintained. In this step, when the adjustment control unit 63 receives the pull-up hold signal, the current signal input to the driving compensation module 40 is maintained, so that the pull-up compensation current output by the driving compensation module 40 to the driving pin DRV remains unchanged, so that the first sub-switching time is maintained within the first sub-set time range.

[0118] Step SS03 includes: when the adjustment control unit 63 receives the pull-up adjustment signal, it adjusts the pull-up compensation current of the driving signal of the power switch tube in the subsequent conduction cycle. In this step, when the adjustment control unit 63 receives the pull-up adjustment signal, it adjusts the current signal input to the driving compensation module 40, thereby increasing the pull-up compensation current output by the driving compensation module 40 to the driving pin DRV.

[0119] Step SS04 includes: when the adjustment control unit 63 receives the pull-down adjustment signal, it adjusts down the pull-down compensation current of the driving signal of the power switch tube in the subsequent conduction cycle. In this step, when the adjustment control unit 63 receives the pull-down adjustment signal, it adjusts down the current signal input to the driving compensation module 40, thereby reducing the pull-down compensation current output by the driving compensation module 40 to the driving pin DRV.

[0120] Step SS05 includes: when the adjustment control unit 63 receives the pull-down holding signal, the pull-down compensation current of the driving signal of the power switch tube in the subsequent conduction cycle is maintained. In this step, when the adjustment control unit 63 receives the pull-down holding signal, the current signal input to the driving compensation module 40 is maintained, so that the pull-down compensation current output by the driving compensation module 40 to the driving pin DRV remains unchanged, so that the second sub-switching time is maintained within the second sub-set time range.

[0121] Step SS06 includes: when the adjustment control unit 63 receives the pull-down adjustment signal, it increases the pull-down compensation current of the driving signal of the power switch tube in the subsequent conduction cycle. In this step, when the adjustment control unit 63 receives the pull-down adjustment signal, it increases the current signal input to the driving compensation module 40, thereby increasing the pull-down compensation current output by the driving compensation module 40 to the driving pin DRV.

[0122] In some embodiments, Figure 5 As shown, the regulation control unit 63 may include a constant source regulation unit 631 and a counter 632 .

[0123] The constant source regulating unit 631 is connected to the relevant setting module 20 to obtain information such as the initial value of the compensation current. The constant source regulating unit 631 is used to output the compensation current to the driving compensation module 40 .

[0124] The counter 632 controls the direction and duration of the compensation current output by the constant source adjustment unit 631 according to the adjustment signal output by the logic unit 64. It should be noted that the direction of the compensation current includes a positive output direction and a negative output direction. When the voltage of the driving signal is switched from a low level to a high level, the direction of the compensation current is a positive output direction, that is, the flow direction of the compensation current is from the driving compensation module 40 to the power switch tube through the driving pin DRV, so that the driving voltage of the power switch tube gradually increases; when the voltage of the driving signal is switched from a high level to a low level, the direction of the compensation current is a negative output direction, that is, the flow direction of the compensation current is from the power switch tube to the driving compensation module 40 through the driving pin DRV, so that the driving voltage of the power switch tube gradually decreases.

[0125] In some embodiments, the driving compensation module 40 includes a driving pull-up unit 401 and a driving pull-down unit 402 .

[0126] The driving pull-up unit 401 is connected between the constant source regulating unit 631 and the driving pin DRV to output a positive compensation current to the driving pin DRV when the driving signal rises from a low level to a high level. The driving pull-up unit 401 can be an existing current mirror module or a controlled current source, which is not limited here.

[0127] The driving pull-down unit 402 is connected between the constant source adjustment unit 631 and the driving pin DRV to output a negative compensation current to the driving pin DRV when the driving signal drops from a high level to a low level. The driving pull-down unit 402 can be an existing current mirror module or a controlled current source, which is not limited here.

[0128] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0129] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0130] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0131] It can be understood that the above embodiments only express the preferred implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the patent scope of the present invention. It should be pointed out that, for ordinary technicians in this field, the above technical features can be freely combined without departing from the concept of the present invention, and several deformations and improvements can be made, which all belong to the protection scope of the present invention. Therefore, all equivalent changes and modifications made to the scope of the claims of the present invention should belong to the coverage of the claims of the present invention.

Claims

1. A driving signal adaptive method for a switch control chip, wherein the switch control chip comprises a driving pin and a driving pre-stage module connected to the driving pin for inputting a driving signal to a power switch tube through the driving pin, characterized in that: The driving signal adaptive method comprises: When the power switch tube is turned on, monitoring the voltage change of the driving signal output by the driving pin; determining whether an actual switching time of the driving signal during the level switching process is within a set time range according to a voltage change of the driving signal; If the switching time is not within the set time range, the compensation current size of the driving signal of the power switch tube in the subsequent conduction cycle is adjusted based on the deviation direction of the switching time from the set time range to keep the switching time within the set time range.

2. The driving signal adaptive method according to claim 1, characterized in that: The step of determining whether the actual switching time of the driving signal during the level switching process is within a set time range according to the voltage change of the driving signal comprises: Determine, according to the voltage change of the driving signal, the actual first sub-switching time when the driving signal rises from a low level to a high level, so as to judge whether the first sub-switching time is within the first sub-set time range; The step of adjusting the compensation current magnitude of the driving signal of the power switch tube in a subsequent conduction cycle based on the deviation direction of the switching time from the set time range comprises: If the first sub-switching time is less than the lower limit of the first sub-set time range, then reducing the pull-up compensation current of the driving signal of the power switch tube in the subsequent conduction cycle; If the first sub-switching time is greater than the upper limit of the first sub-setting time range, the pull-up compensation current of the driving signal of the power switch tube in the subsequent conduction period is increased.

3. The driving signal adaptive method according to claim 2, characterized in that: The step of determining, according to the voltage change of the driving signal, the actual first sub-switching time when the driving signal rises from a low level to a high level, so as to judge whether the first sub-switching time is within the first sub-set time range comprises: Taking the moment when the voltage of the driving signal starts to rise from a low level as the starting time, delaying the time by a first set time and a second set time respectively; wherein the first set time is less than the second set time; determining whether the voltage of the driving signal is greater than a first set voltage at the end of the first set time and the end of the second set time respectively; If the voltage of the driving signal has risen to be greater than the first set voltage at the end of the first set time, it is determined that the first sub-switching time is not within the first sub-set time range, and the first sub-switching time is less than the lower limit of the first sub-set time range; If the voltage of the driving signal has not risen to be greater than the first setting voltage at the end time of the first setting time, but the voltage of the driving signal has risen to be greater than the first setting voltage at the end time of the second setting time, it is determined that the first sub-switching time is within the first sub-setting time range; If the voltage of the driving signal does not rise to be greater than the first set voltage at the end of the second set time, it is determined that the first sub-switching time is not within the first sub-set time range, and it is determined that the first sub-switching time is greater than the upper limit value of the first sub-set time range.

4. The driving signal adaptive method according to claim 2 or 3, characterized in that: The step of determining whether the actual switching time of the driving signal during the level switching process is within a set time range according to the voltage change of the driving signal also includes: Determine, according to the voltage change of the driving signal, the actual second sub-switching time when the driving signal drops from a high level to a low level, so as to judge whether the second sub-switching time is within the second sub-set time range; The step of adjusting the compensation current magnitude of the driving signal of the power switch tube in the subsequent conduction cycle based on the deviation direction between the switching time and the set time range also includes: If the second sub-switching time is less than the lower limit of the second sub-set time range, then reducing the pull-down compensation current of the driving signal of the power switch tube in the subsequent conduction cycle; If the second sub-switching time is greater than the upper limit of the second sub-set time range, the pull-down compensation current of the driving signal of the power switch tube in the subsequent conduction period is increased.

5. The driving signal adaptive method according to claim 4, characterized in that: The step of determining, according to the voltage change of the driving signal, the actual second sub-switching time when the driving signal drops from a high level to a low level, so as to judge whether the second sub-switching time is within the second sub-set time range comprises: Taking the moment when the voltage of the driving signal starts to drop from a high level as the starting time, delaying the time by a third set time and a fourth set time respectively; wherein the third set time is less than the fourth set time; Determining whether the voltage of the driving signal is less than the second set voltage at the end of the third set time and the fourth set time respectively; If the voltage of the driving signal has dropped to less than the second set voltage at the end of the third set time, it is determined that the second sub-switching time is not within the second sub-set time range, and the second sub-switching time is less than the lower limit of the second sub-set time range; If the voltage of the driving signal has not dropped to less than the second setting voltage at the end of the third setting time, and the voltage of the driving signal has dropped to less than the second setting voltage at the end of the fourth setting time, it is determined that the second sub-switching time is within the second sub-setting time range; If the voltage of the drive signal does not drop below the second set voltage at the end of the fourth set time, it is determined that the second sub-switching time is not within the second sub-set time range, and it is determined that the second sub-switching time is greater than the upper limit value of the second sub-set time range.

6. The driving signal adaptive method according to claim 4, characterized in that: Also includes: In the process of the driving signal rising from a low level to a high level, it is also determined whether the voltage of the driving signal is greater than a third set voltage, and if so, the pull-up compensation current is set to the first set current; and / or In the process of the driving signal dropping from a high level to a low level, it is also determined that the voltage of the driving signal is less than a fourth set voltage, and if so, the pull-down compensation current is set to the second set current.

7. A switch control chip, comprising a drive pin DRV and a drive front-stage module (30) connected to the drive pin DRV and used to input a drive signal to a power switch tube through the drive pin DRV, characterized in that: The switch control chip also includes: A driving compensation module (40) is used to output a compensation current to the driving pin DRV to compensate for the current in the driving signal level switching process; and A drive adjustment module (60) is used to monitor the voltage change of the drive signal output by the drive pin DRV when the switch control chip controls the power switch tube to be turned on, so as to determine the actual switching time of the drive signal in the level switching process according to the voltage change of the drive signal, and when the switching time is not within the set time range, adjust the compensation current output by the drive compensation module (40) in the subsequent conduction cycle based on the deviation direction of the switching time from the set time range, so as to keep the switching time within the set time range.

8. The switch control chip according to claim 7, characterized in that: The driving adjustment module (60) comprises a comparison unit (62), a clock unit (61), a logic unit (64) and an adjustment control unit (63); The comparison unit (62) compares the voltage of the driving signal with a first set voltage and outputs a first comparison signal when the driving signal rises from a low level to a high level; And / or, the comparison unit (62) compares the voltage of the drive signal with a second set voltage and outputs a second comparison signal during the process of the drive signal decreasing from a high level to a low level; wherein the first comparison signal is at a first level, indicating that the voltage of the drive signal is greater than the first set voltage, and is at a second level, indicating that the voltage of the drive signal is not greater than the first set voltage; the second comparison signal is at a first level, indicating that the voltage of the drive signal is not less than the second set voltage, and is at a second level, indicating that the voltage of the drive signal is less than the second set voltage; The clock unit (61) uses the moment when the driving signal starts to rise from a low level as the starting time, outputs a first detection signal after a first set delay time, and outputs a second detection signal after a second set delay time; and / or, the clock unit (61) uses the moment when the driving signal starts to fall from a high level as the starting time, outputs a third detection signal after a third set delay time, and outputs a fourth detection signal after a fourth set delay time; wherein the first set time is less than the second set time, and the third set time is less than the fourth set time; The logic unit (64) is used to perform the following steps: When the first detection signal is received, if the first comparison signal is at a first level, a pull-up down signal is output; When the first detection signal is received, if the first comparison signal is at the second level, and when the second detection signal is received, the first comparison signal is at the first level, then a pull-up hold signal is output; When the second detection signal is received, if the first comparison signal is at a second level, a pull-up adjustment signal is output; When the third detection signal is received, if the second comparison signal is at a second level, a pull-down signal is output; When the third detection signal is received, if the second comparison signal is at the first level, and when the fourth detection signal is received, if the second comparison signal is at the second level, then a pull-down holding signal is output; When the fourth detection signal is received, if the second comparison signal is at the first level, a pull-down adjustment signal is output; The regulating control unit (63) is used to perform the following steps: When receiving the pull-up adjustment signal, reducing the pull-up compensation current of the driving signal of the power switch tube in the subsequent conduction cycle; When receiving the pull-up holding signal, maintaining the pull-up compensation current of the driving signal of the power switch tube in a subsequent conduction cycle; When receiving the pull-up adjustment signal, increase the pull-up compensation current of the driving signal of the power switch tube in the subsequent conduction cycle; When receiving the pull-down adjustment signal, reducing the pull-down compensation current of the driving signal of the power switch tube in the subsequent conduction cycle; When receiving the pull-down holding signal, maintaining the pull-down compensation current of the driving signal of the power switch tube in a subsequent conduction cycle; When the pull-down adjustment signal is received, the pull-down compensation current of the driving signal of the power switch tube in the subsequent conduction cycle is increased.

9. The switch control chip according to claim 8, characterized in that: The regulation control unit (63) comprises a constant source regulation unit (631) and a counter (632); The constant source adjustment unit (631) outputs the compensation current to the driving compensation module (40); The counter (632) controls the direction and duration of the compensation current output by the constant source adjustment unit (631) according to the adjustment signal output by the logic unit (64); wherein the adjustment signal includes any one of the pull-up adjustment signal, the pull-up hold signal, the pull-up adjustment signal, the pull-down adjustment signal, the pull-down hold signal and the pull-down adjustment signal.

10. The switch control chip according to claim 7, characterized in that: The driving compensation module (40) comprises a driving pull-up unit (401) and a driving pull-down unit (402); The driving pull-up unit (401) outputs a positive compensation current to the driving pin DRV when the driving signal rises from a low level to a high level; The driving pull-down unit (402) outputs a negative compensation current to the driving pin DRV during the process of the driving signal dropping from a high level to a low level.