Control method, circuit and equipment for gate driving current
By dynamically adjusted the problems of pre -charging, pre -power, pull -current, and irrigation current control value in the switch circuit according to the actual transmission delay and the depression rate. Realize more efficient circuit operations and lower power consumption and electromagnetic interference.
Patent Information
- Application Number
- CN202411775052.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-01-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The lack of mature gate driving current control methods in the prior art leads to problems such as low switching circuit efficiency, high power consumption and electromagnetic interference.
By increasing the pre -charging control value when the actual opening of the driving switch is greater than the target opening delay, the pre -transmission delay is greater than the target shutdown and the transmission delay is increased. Increase the control value of the pull -up current, and grow up in the actual decline than the target decline to increase the control value of the irrigation current to reduce the change time of the transmission delay and the depression rate.
The time to reduce the transmission of the transmission of the switching circuit and the pressure of the depression rate, improve the efficiency of the switching circuit, and reduce power consumption and electromagnetic interference.
Smart Images

Figure CN119341532A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of integrated circuits, and in particular to a gate drive current control method, circuit and device. Background Art
[0002] Many switching circuits (such as bridge circuits, etc.) include a drive switch, which can be driven by a gate drive current to achieve various functions of the switching circuit. However, the related technology lacks a mature gate drive current control method, resulting in the switching circuit where the drive switch is located having problems such as low efficiency, high power consumption and high electromagnetic interference.
[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention
[0004] The object of the present invention is to provide a gate drive current control method, circuit and device, which can increase the current pre-charge control value when the actual turn-on propagation delay of the driving switch is greater than the target turn-on propagation delay, and increase the current pre-discharge control value when the actual turn-off propagation delay of the driving switch is greater than the target turn-off propagation delay; and increase the current source current control value when the actual rising time of the slew rate is greater than the target rising time of the slew rate, and increase the current injection current control value when the actual falling time of the slew rate is greater than the target falling time of the slew rate; the propagation delay and the slew rate change time can be reduced, thereby improving the working efficiency of the switching circuit and reducing the power consumption and electromagnetic interference of the switching circuit.
[0005] In order to solve the above technical problems, the present invention provides a method for controlling a gate drive current, comprising:
[0006] If the actual turn-on propagation delay of the driving switch of the switching circuit is greater than the target turn-on propagation delay, the current pre-charge control value is increased, wherein the actual turn-on propagation delay refers to: the time from when the driving switch starts charging to when the output phase voltage of the switching circuit rises to the first preset voltage value, and the pre-charge control value refers to: the driving current value of the driving switch in the pre-charge stage;
[0007] If the actual rise time of the slew rate of the switch circuit is greater than the target rise time of the slew rate, the current source current control value is increased, wherein the actual rise time of the slew rate refers to: the time consumed by the output phase voltage of the switch circuit in the preset rise interval, and the source current control value refers to: the driving current value of the driving switch in the source current state;
[0008] If the actual closing propagation delay of the driving switch of the switching circuit is greater than the target closing propagation delay, the current pre-discharge control value is increased, wherein the actual closing propagation delay refers to: the time from when the driving switch starts to discharge to when the output phase voltage of the switching circuit drops to the second preset voltage value, the pre-discharge control value refers to: the driving current value of the driving switch in the pre-discharge stage, and the second preset voltage value is greater than the first preset voltage value;
[0009] If the actual decrease time of the slew rate of the switching circuit is greater than the target decrease time of the slew rate, the current injection current control value is increased, wherein the actual decrease time of the slew rate refers to: the time consumed by the output phase voltage of the switching circuit in the preset decrease interval, and the injection current control value refers to: the driving current value of the driving switch in the current injection state.
[0010] On the other hand, the gate drive current control method further includes:
[0011] According to the current working state of the driving switch, a corresponding gate driving current signal is obtained; wherein each working stage of the driving switch at least includes: a pre-charging stage, a current sourcing stage, a post-charging stage, a holding stage, a pre-discharging stage, a current sinking stage, a post-discharging stage and a closing stage; and the gate driving current signal is a digital signal;
[0012] Sending the gate drive current signal to the switch circuit so as to obtain a gate drive current according to the gate drive current signal, wherein the gate drive current is an analog signal, and the control value includes any one of a pre-charge control value, a pull current control value, a post-charge control value, a pull-up hold control value, a pre-discharge control value, a sink current control value, a post-discharge control value, and a strong pull-down control value, and the control values are all digital signals;
[0013] Wherein, obtaining a corresponding gate drive current signal according to the current working state of the drive switch includes:
[0014] If the drive switch is in the pre-charging stage, using the pre-charging control value as the gate drive current signal of the drive switch;
[0015] If the driving switch is in the current sourcing stage, the current sourcing control value is used as the gate driving current signal of the driving switch;
[0016] If the driving switch is in the post-charging stage, the post-charging control value is used as the gate driving current signal of the driving switch;
[0017] If the driving switch is in the holding stage, the pull-up holding control value is used as the gate driving current signal of the driving switch;
[0018] If the drive switch is in the pre-discharge stage, the pre-discharge control value is used as the gate drive current signal of the drive switch;
[0019] If the drive switch is in the current sinking stage, the current sinking control value is used as the gate drive current signal of the drive switch;
[0020] If the driving switch is in the post-discharge stage, the post-discharge control value is used as the gate driving current signal of the driving switch;
[0021] If the driving switch is in the off stage, the strong pull-down control value is used as the gate driving current signal of the driving switch.
[0022] On the other hand, if the actual turn-on propagation delay of the driving switch of the switching circuit is greater than the target turn-on propagation delay, increasing the current pre-charge control value includes:
[0023] When the drive switch is in the pre-charging stage, the control counter starts timing;
[0024] When the driving switch is in the current sourcing stage and the output phase voltage of the switch circuit rises to a first preset voltage value, the control counter stops timing to obtain an actual turn-on propagation delay;
[0025] When the actual turn-on propagation delay of the driving switch is greater than the target turn-on propagation delay, the current pre-charge control value is increased by a proportional control method;
[0026] If the actual rise time of the slew rate of the switching circuit is greater than the target rise time of the slew rate, increasing the current source current control value includes:
[0027] After the driving switch is in the current sourcing stage and the control counter stops timing, the control counter is reset and restarted, and when the output phase voltage rises to a second preset voltage value, the control counter stops timing to obtain the actual rising time of the slew rate of the switch circuit;
[0028] When the actual rising time of the slew rate is greater than the target rising time of the slew rate, the current source current control value is increased by a proportional control method;
[0029] If the actual turn-off propagation delay of the driving switch of the switching circuit is greater than the target turn-off propagation delay, increasing the current pre-discharge control value includes:
[0030] When the driving switch is in the pre-discharge stage, the control counter is cleared and restarts timing; when the output phase voltage of the switch circuit drops to a second preset voltage value, the control counter stops timing to obtain the actual closing propagation delay;
[0031] When the actual closing propagation delay of the driving switch is greater than the target closing propagation delay, the current pre-discharge control value is increased by a proportional control method;
[0032] If the actual falling time of the slew rate of the switching circuit is greater than the target falling time of the slew rate, then increasing the current sink current control value includes:
[0033] After the driving switch is in the current sinking stage and the control counter stops timing, the control counter is reset and restarted, and when the output phase voltage drops to a first preset voltage value, the control counter stops timing to obtain the actual decreasing time of the slew rate of the switch circuit;
[0034] When the actual decreasing time length of the slew rate is greater than the target decreasing time length of the slew rate, the current sink current control value is increased by a proportional control method.
[0035] On the other hand, the step of increasing the current pre-charge control value includes:
[0036] Based on the first data group, obtaining the improved pre-charge control value by a proportional control method, the first data group including the actual turn-on propagation delay, the target turn-on propagation delay and the current pre-charge control value;
[0037] The improving the current pre-discharge control value comprises:
[0038] Based on the second data group, obtaining the improved pre-discharge control value by a proportional control method, wherein the second data group includes an actual closing propagation delay, a target closing propagation delay, and a current pre-discharge control value;
[0039] The step of increasing the current source current control value includes:
[0040] Based on the third data group, obtaining the increased pull current control value by a proportional control method, wherein the third data group includes an actual rise time, a target rise time and a current pull current control value;
[0041] The step of increasing the current sink current control value includes:
[0042] Based on the fourth data group, the improved irrigation current control value is obtained by a proportional control method, and the fourth data group includes an actual drop time, a target drop time and a current irrigation current control value.
[0043] On the other hand, the ratio control method comprises:
[0044] (AB)KP+C=D;
[0045] Among them, D is the output of the proportional control method, A represents the data of the first order in the data group, B represents the data of the second order in the data group, C represents the data of the third order in the data group, and KP is the proportional constant.
[0046] On the other hand, the gate drive current control method further includes:
[0047] According to the current working stage of the freewheeling switch in the switch circuit, a corresponding gate drive current signal is obtained; wherein each working stage of the freewheeling switch includes at least: a charging stage, a holding stage, a discharging stage and a closing stage; and the gate drive current signal is a digital signal;
[0048] Sending the gate drive current signal to the switch circuit so as to obtain the gate drive current according to the gate drive current signal, wherein the gate drive current is an analog signal, and the control value also includes a preset maximum current control value; the control values are all digital signals;
[0049] Wherein, obtaining the corresponding gate drive current signal according to the current working stage of the freewheeling switch in the switch circuit includes:
[0050] If the freewheeling switch is in the charging stage, the preset maximum current control value is used as the gate drive current signal of the freewheeling switch;
[0051] If the freewheeling switch is in the holding stage, the pull-up holding control value is used as the gate drive current signal of the freewheeling switch;
[0052] If the freewheeling switch is in the discharge stage, the preset maximum current control value is used as the gate drive current signal of the freewheeling switch;
[0053] If the freewheeling switch is in the off stage, the strong pull-down control value is used as the gate drive current signal of the freewheeling switch.
[0054] On the other hand, the gate drive current control method further includes:
[0055] Starting from when the output phase voltage of the switch circuit rises to a second preset voltage value, before the drive switch is post-charged, driving the drive switch with the pull current control value for a post-charge delay time;
[0056] Starting from when the output phase voltage of the switch circuit drops to a first preset voltage value, before the drive switch is post-discharged, the drive switch is driven with the injection current control value for a post-discharge delay time.
[0057] On the other hand, the gate drive current control method further includes:
[0058] After driving the driving switch with the source current control value for the post-charging delay time, driving the driving switch with a gradually increasing post-charging control value until the charging blanking time of the driving switch ends, wherein the upper limit of the post-charging control value is a preset maximum current value;
[0059] After driving the drive switch with the injection current control value for the post-discharge delay time, the drive switch is driven with a gradually increasing post-discharge control value until the discharge blanking time of the drive switch ends, wherein the upper limit of the post-discharge control value is a preset maximum current value.
[0060] To solve the above technical problems, the present invention further provides a gate drive current control circuit, comprising a first state machine, a register, a counter, a calculation module and a gate drive current control output module;
[0061] The first state machine is used to indicate the current working state of the driving switch;
[0062] The counter is used to obtain, according to the working state indicated by the first state machine, the actual turn-on propagation delay, the actual rise time of the slew rate, the actual turn-off propagation delay and the actual fall time of the slew rate of the corresponding drive switch;
[0063] The register is used to store the target turn-on propagation delay, the target rise time of the slew rate, the target turn-off propagation delay and the target fall time of the slew rate;
[0064] The calculation module is used to increase the current pre-charge control value when the actual turn-on propagation delay of the driving switch is greater than the target turn-on propagation delay; increase the current source current control value when the actual rise time of the slew rate is greater than the target rise time of the slew rate; increase the current pre-discharge control value when the actual turn-off propagation delay of the driving switch is greater than the target turn-off propagation delay; increase the current sink current control value when the actual fall time of the slew rate is greater than the target fall time of the slew rate;
[0065] The gate drive current control output module is used to use the control value corresponding to the stage of the drive switch indicated by the first state machine as the gate drive current signal of the drive switch, and send the gate drive current signal of the drive switch to the switch circuit, so as to generate a gate drive current according to the gate drive current signal;
[0066] Among them, the control value and the gate drive current signal are digital signals, the gate drive current is an analog signal, and the control value includes a pre-charge control value corresponding to the pre-charge stage, a pull-up current control value corresponding to the pull-up current stage, a post-charge control value corresponding to the post-charge stage, a pull-up hold control value corresponding to the hold stage, a pre-discharge control value corresponding to the pre-discharge stage, a current injection control value corresponding to the current injection stage, a post-discharge control value corresponding to the post-discharge stage, and a strong pull-down control value corresponding to the shutdown stage.
[0067] In order to solve the above technical problems, the present invention further provides a gate drive current control device, comprising:
[0068] Memory for storing computer programs;
[0069] A processor is used to implement the steps of the gate drive current control method as described above when executing the computer program.
[0070] Beneficial effect: The present invention provides a control method for gate drive current. Considering that the value of the gate drive current of the driving switch in the switching circuit affects the propagation delay of the driving switch and the change time of the slew rate of the switching circuit, the present invention increases the current pre-charge control value when the actual turn-on propagation delay of the driving switch is greater than the target turn-on propagation delay, and increases the current pre-discharge control value when the actual turn-off propagation delay of the driving switch is greater than the target turn-off propagation delay; and increases the current source current control value when the actual rise time of the slew rate is greater than the target rise time of the slew rate, and increases the current injection current control value when the actual fall time of the slew rate is greater than the target fall time of the slew rate; the propagation delay and the change time of the slew rate can be reduced, the working efficiency of the switching circuit is improved, and the power consumption and electromagnetic interference of the switching circuit are reduced.
[0071] The present invention also provides a gate drive current control device, circuit and equipment, which have the same beneficial effects as the above gate drive current control. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the relevant technologies and the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0073] Figure 1 A schematic flow chart of a gate drive current control method provided by the present invention;
[0074] Figure 2 A schematic diagram of the structure of a gate drive current control circuit provided by the present invention;
[0075] Figure 3 A timing relationship diagram between a state machine and a driving current provided by the present invention;
[0076] Figure 4 It is the waveform diagram of AGD_H signal and AGD_L signal;
[0077] Figure 5 A logic schematic diagram of a pre-charge control value calculation module provided by the present invention;
[0078] Figure 6A logic schematic diagram of a pre-discharge control value calculation module provided by the present invention;
[0079] Figure 7 A logic schematic diagram of a current source control value calculation module provided by the present invention;
[0080] Figure 8 A logic schematic diagram of a current injection control value calculation module provided by the present invention;
[0081] Fig. 9 A logic schematic diagram of a post-charge / discharge control value calculation module provided by the present invention;
[0082] Fig.10 A logic schematic diagram of a proportional control loop provided by the present invention;
[0083] Fig.11 A schematic structural diagram of a gate drive current control device provided by the present invention. DETAILED DESCRIPTION
[0084] The core of the present invention is to provide a gate drive current control method, circuit and device. When the actual turn-on propagation delay of the driving switch is greater than the target turn-on propagation delay, the current pre-charge control value is increased; when the actual turn-off propagation delay of the driving switch is greater than the target turn-off propagation delay, the current pre-discharge control value is increased; and when the actual rising time of the slew rate is greater than the target rising time of the slew rate, the current source current control value is increased; when the actual falling time of the slew rate is greater than the target falling time of the slew rate, the current injection current control value is increased; the propagation delay and the slew rate change time can be reduced, the working efficiency of the switching circuit is improved, and the power consumption and electromagnetic interference of the switching circuit are reduced.
[0085] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0086] Please refer to Figure 1 , Figure 1 A schematic flow chart of a gate drive current control method provided by the present invention, the gate drive current control method comprising:
[0087] S101: if the actual turn-on propagation delay of the driving switch of the switching circuit is greater than the target turn-on propagation delay, then increase the current pre-charge control value, wherein the actual turn-on propagation delay refers to: the time from when the driving switch starts charging to when the output phase voltage of the switching circuit rises to the first preset voltage value, and the pre-charge control value refers to: the driving current value of the driving switch in the pre-charge stage;
[0088] Specifically, taking into account the technical problems in the above background technology, and taking into account that the numerical value of the gate drive current of the driving switch in the switching circuit affects the propagation delay of the driving switch and the change time of the slew rate of the switching circuit, and the propagation delay of the driving switch and the change time of the slew rate of the switching circuit are related to the "working efficiency of the switching circuit, the power consumption of the switching circuit and the electromagnetic interference". Therefore, in the embodiment of the present invention, the gate drive current of the driving switch of the switching circuit is dynamically adjusted, so as to achieve the optimization of "the working efficiency of the switching circuit, the power consumption of the switching circuit and the electromagnetic interference" by adjusting the "propagation delay of the driving switch and the change time of the slew rate of the switching circuit".
[0089] Specifically, the propagation delay of the bridge switch may include a turn-on propagation delay and a turn-off propagation delay of the driving switch. In this step, the turn-on propagation delay of the driving switch is to be optimized. Considering that the turn-on propagation delay of the driving switch of the switching circuit can be reduced by increasing the pre-charging control value (the driving current value of the driving switch in the pre-charging stage), the "target turn-on propagation delay" is used as the target in the embodiment of the present invention. If the actual turn-on propagation delay of the driving switch of the switching circuit is greater than the target turn-on propagation delay, the current pre-charging control value is increased, wherein the actual turn-on propagation delay refers to the time from when the driving switch starts charging to when the output phase voltage of the switching circuit rises to the first preset voltage value.
[0090] Among them, the reduction of the turn-on propagation delay can improve the working efficiency of the switching circuit and reduce power consumption.
[0091] Specifically, the switch circuit may be of various types, such as a bridge circuit. The bridge circuit may be of various types, such as a full-bridge circuit or a half-bridge circuit, etc., which is not limited in the embodiments of the present invention.
[0092] Specifically, taking a switching circuit such as a bridge circuit as an example, any half bridge in the bridge circuit includes a high-side switch and a low-side switch. The functions of the high-side switch and the low-side switch (driving or freewheeling) change with the change of current direction. When the current direction is positive, the high-side switch acts as a driving switch and the low-side switch acts as a freewheeling switch. When the current direction is negative, the low-side switch acts as a driving switch and the high-side switch acts as a freewheeling switch.
[0093] Among them, the high-side switch and the low-side switch in the bridge circuit can be various types of power switching devices, for example, they can be MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor) or IGBT (Insulated Gate Bipolar Transistor), etc., which is not limited in the embodiments of the present invention.
[0094] S102: if the actual rise time of the slew rate of the switch circuit is greater than the target rise time of the slew rate, then increase the current source current control value, wherein the actual rise time of the slew rate refers to: the time consumed by the output phase voltage of the switch circuit in the preset rise interval, and the source current control value refers to: the driving current value of the driving switch in the source current state;
[0095] Specifically, considering that the duration of the slew rate change may include the rising duration of "in the process of driving the switch to turn on" and the falling duration of "in the process of driving the switch to turn off", this step aims to optimize the rising duration of the slew rate.
[0096] Specifically, considering that the source current control value of the driving switch (the driving current value of the driving switch in the source current state) can affect the actual rise time of the slew rate of the switching circuit, and the actual rise time of the slew rate is related to the "power consumption of the switching circuit and electromagnetic interference", a "target rise time" is designed in the embodiment of the present invention. If the actual rise time of the slew rate of the switching circuit is greater than the target rise time of the slew rate, the current source current control value is increased, thereby reducing the actual rise time of the slew rate by increasing the source current control value; wherein, the actual rise time of the slew rate can be expressed as: the time consumed by the output phase voltage of the switching circuit in the preset rise interval.
[0097] S103: if the actual closing propagation delay of the driving switch of the switching circuit is greater than the target closing propagation delay, then increasing the current pre-discharge control value, wherein the actual closing propagation delay refers to: the time from when the driving switch starts to discharge to when the output phase voltage of the switching circuit drops to a second preset voltage value, and the pre-discharge control value refers to: the driving current value of the driving switch in the pre-discharge stage, and the second preset voltage value is greater than the first preset voltage value;
[0098] Specifically, in this step, the closing propagation delay of the driving switch is optimized. Considering that the increase of the pre-discharge control value (the driving current value of the driving switch in the pre-discharge stage) can reduce the closing propagation delay, in this step, when the actual closing propagation delay of the driving switch of the switching circuit (the actual closing propagation delay refers to the time from the start of discharge of the driving switch to the time when the output phase voltage of the switching circuit drops to the second preset voltage value) is greater than the target closing propagation delay, the current pre-discharge control value can be increased, so that the closing propagation delay approaches the target propagation delay.
[0099] Among them, the first preset voltage value and the second preset voltage value can be set independently. For example, the first preset voltage value can be 10% of the amplitude of the output phase voltage, and the second preset voltage value can be 90% of the amplitude of the output phase voltage, etc. The embodiment of the present invention is not limited here.
[0100] S104: If the actual decrease time of the slew rate of the switching circuit is greater than the target decrease time of the slew rate, the current injection current control value is increased, wherein the actual decrease time of the slew rate refers to: the time consumed by the output phase voltage of the switching circuit in the preset decrease interval, and the injection current control value refers to: the driving current value of the driving switch in the current injection state.
[0101] Specifically, in this step, the falling time of the slew rate is to be optimized. Considering that the actual falling time can be reduced by increasing the current injection control value, the target falling time can be used as a benchmark. When the actual falling time of the slew rate of the switching circuit (the time consumed by the output phase voltage of the switching circuit in the preset falling interval) is greater than the target falling time of the slew rate, the current current injection control value (the driving current value of the driving switch in the current injection state) can be increased, thereby shortening the falling time of the slew rate.
[0102] It is worth mentioning that the gate driving current of the driving switch in the embodiment of the present invention can take the preset maximum current value as the upper limit.
[0103] The present invention provides a control method for gate drive current. Considering that the value of the gate drive current of a drive switch in a switching circuit affects the propagation delay of the drive switch and the change time of the slew rate of the switching circuit, the present invention increases the current pre-charge control value when the actual turn-on propagation delay of the drive switch is greater than the target turn-on propagation delay, and increases the current pre-discharge control value when the actual turn-off propagation delay of the drive switch is greater than the target turn-off propagation delay; increases the current source current control value when the actual rise time of the slew rate is greater than the target rise time of the slew rate, and increases the current injection current control value when the actual fall time of the slew rate is greater than the target fall time of the slew rate; the propagation delay and the change time of the slew rate can be reduced, the working efficiency of the switching circuit is improved, and the power consumption and electromagnetic interference of the switching circuit are reduced.
[0104] Based on the above embodiments:
[0105] As an optional embodiment, the gate drive current control method further includes:
[0106] According to the current working state of the driving switch, a corresponding gate driving current signal is obtained; wherein each working stage of the driving switch at least includes: a pre-charging stage, a current sourcing stage, a post-charging stage, a holding stage, a pre-discharging stage, a current sinking stage, a post-discharging stage and a closing stage; the gate driving current signal is a digital signal;
[0107] Sending a gate drive current signal to a switch circuit so as to obtain a gate drive current according to the gate drive current signal, wherein the gate drive current is an analog signal, and the control value includes any one of a pre-charge control value, a pull current control value, a post-charge control value, a pull-up hold control value, a pre-discharge control value, a sink current control value, a post-discharge control value, and a strong pull-down control value, and the control values are all digital signals;
[0108] Wherein, according to the current working state of the driving switch, the corresponding gate driving current signal is obtained including:
[0109] If the drive switch is in the pre-charging stage, the pre-charging control value is used as the gate drive current signal of the drive switch;
[0110] If the driving switch is in the current sourcing stage, the current sourcing control value is used as the gate driving current signal of the driving switch;
[0111] If the driving switch is in the post-charging stage, the post-charging control value is used as the gate driving current signal of the driving switch;
[0112] If the drive switch is in the holding stage, the pull-up holding control value is used as the gate drive current signal of the drive switch;
[0113] If the drive switch is in the pre-discharge stage, the pre-discharge control value is used as the gate drive current signal of the drive switch;
[0114] If the driving switch is in the current sinking stage, the current sinking control value is used as the gate driving current signal of the driving switch;
[0115] If the driving switch is in the post-discharge stage, the post-discharge control value is used as the gate driving current signal of the driving switch;
[0116] If the driving switch is in the off stage, the strong pull-down control value is used as the gate driving current signal of the driving switch.
[0117] Specifically, considering the method of "generating the gate drive current of the driving switch in the switching circuit through digital signal driving", the gate drive current can be flexibly adjusted, and it has the advantages of small propagation delay, low power consumption and weak EMI (Electromagnetic Interference). Therefore, in the embodiment of the present invention, the corresponding gate drive current signal (digital signal) can be obtained according to the current working state of the driving switch, and then the gate drive current signal is sent to the switching circuit, so as to obtain the gate drive current according to the gate drive current signal.
[0118] In addition, the embodiments of the present invention also list several stages of driving switches and their corresponding gate driving current signals (i.e., corresponding control values). In addition to the listed examples, the stages of driving switches and their corresponding gate driving current signals may also include other types, which are not limited in the embodiments of the present invention.
[0119] As an optional embodiment, if the actual turn-on propagation delay of the driving switch of the switch circuit is greater than the target turn-on propagation delay, increasing the current pre-charge control value includes:
[0120] When the drive switch is in the pre-charging stage, the control counter starts timing;
[0121] When the driving switch is in the current sourcing stage and the output phase voltage of the switch circuit rises to a first preset voltage value, the control counter stops timing to obtain an actual turn-on propagation delay;
[0122] When the actual turn-on propagation delay of the driving switch is greater than the target turn-on propagation delay, the current pre-charge control value is increased by a proportional control method;
[0123] If the actual rise time of the slew rate of the switching circuit is greater than the target rise time of the slew rate, increasing the current source current control value includes:
[0124] After the driving switch is in the current sourcing stage and the control counter stops timing, the control counter is reset and restarted, and when the output phase voltage rises to a second preset voltage value, the control counter stops timing to obtain the actual rising time of the slew rate of the switch circuit;
[0125] When the actual rising time of the slew rate is greater than the target rising time of the slew rate, the current source current control value is increased by a proportional control method;
[0126] If the actual turn-off propagation delay of the driving switch of the switching circuit is greater than the target turn-off propagation delay, increasing the current pre-discharge control value includes:
[0127] When the driving switch is in the pre-discharge stage, the control counter is cleared and restarts timing; when the output phase voltage of the switch circuit drops to a second preset voltage value, the control counter stops timing to obtain the actual closing propagation delay;
[0128] When the actual closing propagation delay of the driving switch is greater than the target closing propagation delay, the current pre-discharge control value is increased by a proportional control method;
[0129] If the actual falling time of the slew rate of the switching circuit is greater than the target falling time of the slew rate, then increasing the current sink current control value includes:
[0130] After the driving switch is in the current sinking stage and the control counter stops timing, the control counter is reset and restarted, and when the output phase voltage drops to a first preset voltage value, the control counter stops timing to obtain the actual decreasing time of the slew rate of the switch circuit;
[0131] When the actual decreasing time length of the slew rate is greater than the target decreasing time length of the slew rate, the current sink current control value is increased by a proportional control method.
[0132] Specifically, considering that the digital circuit can stably and efficiently generate various corresponding control values (used as gate drive current signals), the embodiment of the present invention intends to use the digital circuit to realize timing, condition judgment and adjustment of the control value in digital form. The digital circuit may specifically include a first state machine, a counter and a calculation module.
[0133] Specifically, the embodiment of the present invention can use the first state machine to indicate the working stage of the driving switch, the counter can time various values under the control of the first state machine, and the calculation module can perform the corresponding control value adjustment work when the data measured by the counter meets the requirements, thereby realizing efficient, stable and reliable control value adjustment work.
[0134] As an optional embodiment, increasing the current pre-charge control value includes:
[0135] Based on the first data group, obtaining the improved pre-charge control value by a proportional control method, the first data group including the actual turn-on propagation delay, the target turn-on propagation delay and the current pre-charge control value;
[0136] Improving the current pre-discharge control value includes:
[0137] Based on the second data group, obtaining an improved pre-discharge control value by a proportional control method, the second data group including an actual closing propagation delay, a target closing propagation delay and a current pre-discharge control value;
[0138] Improving the current source control value includes:
[0139] Based on the third data group, the increased pull current control value is obtained by a proportional control method, wherein the third data group includes an actual rise time, a target rise time, and a current pull current control value;
[0140] Improving the current sink control value includes:
[0141] Based on the fourth data group, the improved injection current control value is obtained through a proportional control method. The fourth data group includes an actual drop time, a target drop time and a current injection current control value.
[0142] Specifically, considering that the proportional control method can perform numerical adjustment efficiently and stably, when the "pre-charge control value, pre-discharge control value, pull current control value and injection current control value" are improved in the embodiments of the present invention, the numerical improvement can be performed through the proportional control method based on the corresponding data group.
[0143] Specifically, in order to update and record the "pre-charge control value, pre-discharge control value, source current control value and injection current control value" in a timely and accurate manner, considering that the corresponding actual data (actual turn-on propagation delay, actual turn-off propagation delay, actual rise time and actual fall time) need to be collected during the working stage of the driving switch, the embodiments of the present invention can update and record the "pre-charge control value, pre-discharge control value, source current control value and injection current control value" during the corresponding working stage, that is: when the first state machine indicates the pre-charge stage of the driving switch, the output of the proportional control method is used as the latest pre-charge control value; when the first state machine indicates the pre-discharge stage of the driving switch, the output of the proportional control method is used as the latest pre-discharge control value; when the first state machine indicates the source current stage of the driving switch, the output of the proportional control method is used as the latest source current control value; when the first state machine indicates the injection current stage of the driving switch, the output of the proportional control method is used as the latest injection current control value.
[0144] As an optional embodiment, the proportional control method includes:
[0145] (AB)KP+C=D;
[0146] Among them, D is the output of the proportional control method, A represents the data of the first order in the data group, B represents the data of the second order in the data group, C represents the data of the third order in the data group, and KP is the proportional constant.
[0147] Specifically, through the above proportional control method, the data in the corresponding data group can be combined to update the value efficiently and stably.
[0148] Among them, the order in the data can be according to the order of introduction of the data groups mentioned above, for example, the actual turn-on propagation delay in the first data group is the data of the first order, the target turn-on propagation delay is the data of the second order, and the current pre-charge control value is the data of the third order. The second to fourth data groups also have the same data order, and the embodiments of the present invention will not be repeated here.
[0149] Of course, in addition to this specific form, the proportional control method may also be in other specific forms, which are not limited in the embodiments of the present invention.
[0150] As an optional embodiment, the gate drive current control method further includes:
[0151] According to the current working stage of the freewheeling switch in the switch circuit, a corresponding gate drive current signal is obtained; wherein each working stage of the freewheeling switch includes at least: a charging stage, a holding stage, a discharging stage and a closing stage; and the gate drive current signal is a digital signal;
[0152] Sending a gate drive current signal to a switch circuit so as to obtain a gate drive current according to the gate drive current signal, wherein the gate drive current is an analog signal, and the control value also includes a preset maximum current control value; the control values are all digital signals;
[0153] Wherein, according to the current working stage of the freewheeling switch in the switch circuit, the corresponding gate drive current signal is obtained including:
[0154] If the freewheeling switch is in the charging stage, the preset maximum current control value is used as the gate drive current signal of the freewheeling switch;
[0155] If the freewheeling switch is in the holding stage, the pull-up holding control value is used as the gate drive current signal of the freewheeling switch;
[0156] If the freewheeling switch is in the discharge stage, the preset maximum current control value is used as the gate drive current signal of the freewheeling switch;
[0157] If the freewheeling switch is in the off stage, the strong pull-down control value is used as the gate drive current signal of the freewheeling switch.
[0158] Specifically, considering that the gate drive current of the freewheeling switch in the switching circuit is different in different working stages, in order to efficiently and accurately control the gate drive current of the freewheeling switch, in an embodiment of the present invention, the gate drive current of the freewheeling switch is generated by driving a gate drive current signal in digital form. First, the corresponding gate drive current signal (digital signal) can be obtained according to the current working stage of the freewheeling switch in the switching circuit, and then the gate drive current signal can be sent to the switching circuit so as to obtain the gate drive current according to the gate drive current signal.
[0159] Among them, in addition to the various working stages of the freewheeling switch and their corresponding control values listed in the embodiment of the present invention, the various working stages of the freewheeling switch and their corresponding control values can also be of many other types, which are not limited in the embodiment of the present invention.
[0160] As an optional embodiment, the gate drive current control method further includes:
[0161] Starting from when the output phase voltage of the switch circuit rises to a second preset voltage value, before the drive switch is post-charged, driving the drive switch with the pull current control value for a post-charge delay time;
[0162] Starting from when the output phase voltage of the switch circuit drops to a first preset voltage value, before the drive switch is post-discharged, the drive switch is driven with the injection current control value for a post-discharge delay time.
[0163] Specifically, considering that "post-charging delay is performed before the post-charging stage of the driving switch" and "post-discharging delay is performed before the post-discharging stage of the driving switch", both can play the role of "protecting the switching device (reducing switch stress and preventing false triggering), improving circuit performance (improving output waveform and improving system reliability) and adapting to different loads and working adjustments", therefore, in an embodiment of the present invention, starting from when the output phase voltage of the switching circuit rises to the second preset voltage value, before the driving switch is post-charged, the driving switch is driven with a pull current control value for the length of the post-charging delay; starting from when the output phase voltage of the switching circuit drops to the first preset voltage value, before the driving switch is post-discharged, the driving switch is driven with a pouring current control value for the length of the post-discharging delay.
[0164] As an optional embodiment, the gate drive current control method further includes:
[0165] After driving the driving switch with the pull current control value for the post-charging delay time, driving the driving switch with a gradually increasing post-charging control value until the charging blanking time of the driving switch ends, wherein the upper limit of the post-charging control value is a preset maximum current value;
[0166] After driving the driving switch with the injection current control value for the post-discharge delay time, the driving switch is driven with a gradually increasing post-discharge control value until the discharge blanking time of the driving switch ends, wherein the upper limit of the post-discharge control value is a preset maximum current value.
[0167] Specifically, considering that in the post-charge and post-discharge stages of the drive switch, driving the drive switch with a gradually increasing gate drive current has the following advantages: reducing switching loss (conduction loss and turn-off loss), reducing electromagnetic interference (radiation interference and conduction interference), improving switch reliability (reducing thermal stress and reducing voltage stress) and optimizing switch performance (increasing switching speed and improving switch consistency), therefore, in an embodiment of the present invention, after the drive switch is driven with a source current control value for a post-charge delay time, the drive switch can be driven with a gradually increasing post-charge control value until the charge blanking time of the drive switch ends, and after the drive switch is driven with a sink current control value for a post-discharge delay time, the drive switch can be driven with a gradually increasing post-discharge control value until the discharge blanking time of the drive switch ends.
[0168] Specifically, in order to better illustrate the embodiments of the present invention, please refer to Figure 2 , Figure 2 A schematic diagram of a gate drive current control circuit provided by the present invention. Figure 2 The counter in may be used to record various actual data, such as actual on-propagation delay, actual off-propagation delay, actual rising time and actual falling time, etc., which is not limited in the embodiment of the present invention.
[0169] Among them, the state machine includes a high-side switch state machine and a low-side switch state machine. According to the current direction, the high-side switch state machine and the low-side switch state machine can both be used as the first state machine (a state machine for indicating the working stage of the drive switch) and the second state machine (a state machine for indicating the working stage of the freewheeling switch).
[0170] Specifically, the proportional control loop and various calculation sub-modules (including pre-charge control value calculation, pre-discharge control value calculation, source current control value calculation, injection current control value calculation, post-charge / post-discharge control value calculation) can constitute a calculation module. The pre-charge control value can be improved through the "pre-charge control value calculation" module, the pre-discharge control value can be improved through the "pre-discharge control value calculation" module, the source current control value can be improved through the "source current control value calculation" module, the injection current control value can be improved through the "injection current control value calculation" module, and the post-charge control value or the post-discharge control value can be gradually improved through the "post-charge / post-discharge control value calculation" module.
[0171] Among them, the "slew rate rise and fall time value control" module can be implemented through registers, which can store the target turn-on propagation delay, target turn-off propagation delay, target rise time and target fall time; the proportional control loop can be used to implement the proportional control algorithm, and the "gate drive current control value output" module includes two sub-modules: the current control value output of the high-side switch and the current control value output of the low-side switch. The "current control value output of the high-side switch" module is used to output a control signal to the analog circuit corresponding to the high-side switch to control the gate drive current output by the analog circuit, and the "current control value output of the low-side switch" module is used to output a control signal to the analog circuit corresponding to the low-side switch to control the gate drive current output by the analog circuit.
[0172] Specifically, in order to better illustrate the embodiments of the present invention, please refer to Figure 3 , Figure 3 A timing relationship diagram of a state machine and a driving current provided by the present invention, in which the various states of the driving MOSFET state machine and its corresponding driving MOSFET current control value output, as well as the various states of the freewheeling MOSFET state machine and its corresponding freewheeling MOSFET current control value output are respectively indicated.
[0173] Specifically, Figure 3 The meanings of various time marks in the table include: tPCHR: pre-charge time; tON: MOSFET turn-on propagation delay; tSHR: slew rate rise time; tPST_PCHR: post-charge delay time; tPDCHR: pre-discharge time; tOFF: MOSFET turn-off propagation delay; tSHF: slew rate fall time;
[0174] Specifically, Figure 3 The various current control values of the middle drive switch include: Istrong: strong pull-down control value; PCHR_CNT: pre-charge control value; STR_CNT: pull current control value; PST_CHR_CNT: post-charge / post-discharge control value; Ihold: pull-up hold control value; PDCHR_CNT: pre-discharge control value; STF_CNT: injection current control value.
[0175] Among them, the state machine of the driving switch includes:
[0176] (1) State 14 (initial stage): The gate drive current is the strong pull-down control value Istrong (which can be controlled by the analog circuit), and enters state 1 when the PWM signal enters the turn-on blanking time of the drive switch;
[0177] (2) State 1 (pre-charge phase): Timing starts, the gate drive current is the pre-charge control value and continues for the "pre-charge time" before entering state 2;
[0178] (3) State 2 (current sourcing stage): The gate drive current is the current sourcing control value, and the timing stops when the output phase voltage reaches 10% of the amplitude; when the timing value (actual turn-on propagation delay) > the target propagation delay, the pre-charge control value is increased (through the proportional control method); when the timing value ≤ the target propagation delay, the pre-charge control value is maintained (through the proportional control loop); the count is cleared and enters state 3;
[0179] (4) State 3 (current sourcing phase): Timing starts, the gate drive current is the current sourcing control value, and the timing stops when the output phase voltage reaches 90% of the amplitude; when the timing value (actual slew rate rise time) > target slew rate rise time, the current sourcing control value is increased (through the proportional control loop); when the timing value ≤ target slew rate rise time, the current sourcing control value is maintained (through the proportional control loop); the count is reset and enters state 4:
[0180] (5) State 4 (delay phase before post-charging): Timing starts, the gate drive current is the source current control value, and the timing stops when the "post-charging delay time" lasts. The timing is reset and enters state 5:
[0181] (6) State 5 (post-charging stage): The gate drive current is the post-charging control value, and the post-charging control value is gradually increased (through the proportional control loop). When the turn-on blanking time of the drive switch ends, it enters state 6;
[0182] (7) State 6 (holding phase): The gate drive current is the pull-up holding control value (which can be controlled by the analog circuit), and enters state 9 when entering the turn-off blanking time of the drive switch;
[0183] (8) State 9 (pre-discharge stage): Timing starts, the gate drive current is the pre-discharge control value, and when the timing reaches the pre-discharge time value, it enters state 10;
[0184] (9) State 10 (current sinking stage): Timing continues, the gate drive current is the current sinking control value, and the timing stops when the output phase voltage drops to 90% of the amplitude; when the timing value (actual closing propagation delay) > the target propagation delay, the pre-discharge control value is increased (through the proportional control loop); when the timing value ≤ the target propagation delay, the pre-discharge control value is maintained (through the proportional control loop); the count is reset and enters state 11;
[0185] (10) State 11 (current sinking stage): Timing starts, the gate drive current is the current sinking control value, and the timing stops when the output phase voltage drops to 10% of the amplitude; when the timing value (actual slew rate fall time) > the target slew rate fall time, the current sinking control value is increased (through the proportional control loop); when the timing value ≤ the target slew rate fall time, the current sinking control value is maintained (through the proportional control loop); the count is reset and enters state 12;
[0186] (11) State 12 (delay phase before post-discharge): Timing starts, the gate drive current is the sink current control value, the timing stops at the post-discharge delay time, the count is reset and enters state 13;
[0187] (12) State 13 (post-discharge stage): The gate drive current is the post-discharge control value, and the post-discharge control value is gradually increased (through the proportional control loop). When the turn-off blanking time of the drive switch ends, it enters state 14.
[0188] Among them, the state machine of the freewheeling switch includes:
[0189] (1) State 14 (pull-down stage): The gate drive current is the strong pull-down control value Istrong (which can be controlled by the analog circuit). When the freewheeling switch enters the turn-off blanking time, it enters state 15; when the freewheeling switch enters the turn-on blanking time, it enters state 7;
[0190] (2) State 15 (discharge phase): The gate drive current is the preset maximum current value IDRV_MAX, and enters state 14 at the end of the shutdown blanking time;
[0191] (3) State 7 (charging stage): the gate drive current is the preset maximum current value, and enters state 6 at the end of the turn-on blanking time;
[0192] (4) State 6 (holding phase): The gate drive current is the pull-up holding control value Ihold (which can be controlled by an analog circuit), and enters state 15 when entering the turn-off blanking time of the freewheeling switch.
[0193] Specifically, GH_STATE can be used to represent the state machine of the high-side switch, GH_STATE can be used to represent the state machine of the low-side switch, and Gx_STATE can be used to represent the two state machines, where x is H or L.
[0194] Specifically, you can Figure 2 The counter in the TIME_CNT is used to count the relevant duration. The specific work of the counter (TIME_CNT) includes:
[0195] When Gx_STATE=1, the pre-charge time of the pre-charge control value is counted.
[0196] When Gx_STATE=2, the count value of Gx_STATE=1 is connected to continue counting the turn-on propagation delay of the drive switch.
[0197] When Gx_STATE=3, the actual rising time of the slew rate is counted.
[0198] When Gx_STATE=4, the post-charging delay time is counted.
[0199] When Gx_STATE=9, the pre-discharge time is counted.
[0200] When Gx_STATE=10, the count value of Gx_STATE=9 is connected to continue counting the closing propagation delay of the driving switch.
[0201] When Gx_STATE=11, the duration of the slew rate decrease is counted.
[0202] When Gx_STATE=12, the post-discharge time is counted.
[0203] Among them, the pre-charge time can be set according to the control register TCHR_SET, and the pre-discharge time can be set according to the control register TDCHR_SET; the turn-on propagation delay and the turn-off propagation delay can be set according to the control register TON_TOFF_SET, wherein the turn-on / turn-off propagation delay should be greater than the corresponding pre-charge / pre-discharge time, and preferably greater than 1us; the actual rise time and the actual fall time of the slew rate can be set according to the control register TIME_SH; the post-charge delay time can be expressed as: the time value set by the control register TON_TOFF_SET (turn-on propagation delay and turn-off propagation delay) minus the time value set by TCHR_SET (pre-charge time), and the post-discharge delay time value can be expressed as: the time value set by the control register TON_TOFF_SET (turn-on propagation delay and turn-off propagation delay) minus the time value set by TDCHR_SET (pre-discharge time); it is worth mentioning that the number of bits of the above-mentioned register groups can be consistent.
[0204] Specifically, the actual rise time and actual fall time of the slew rate can also be determined by the feedback AGD_H and AGD_L. Please refer to Figure 4 , Figure 4The waveform diagram of the AGD_H signal and the AGD_L signal; the AGD_H signal is the result of comparing the output phase voltage VSH of the switching circuit with (VM-VTH). VM is the power supply voltage of the switching circuit, and VTH is the comparison threshold adjustment voltage value, which can be set through the control register VTH_SET. Note that VTH is a very small voltage value. If VSH > (VM-VTH), AGD_H is 1; if VSH < (VM-VTH), AGD_H is 0. The AGD_L signal is the result of comparing the output phase voltage VSH with VTH. VTH is the comparison threshold adjustment voltage value, which can be set through the control register VTH_SET. Note that VTH is a very small voltage value. If VSH > VTH, AGD_L is 1; if VSH < VTH, AGD_L is 0.
[0205] Among them, Figure 4 In the figure, the time from the rising edge of AGD_L to the rising edge of AGD_H can be regarded as the actual rising time of the slew rate, and the time from the falling edge of AGD_H to the falling edge of AGD_L can be regarded as the actual falling time of the slew rate.
[0206] For details, please refer to Figures 5 to 10 , Figure 5 A logic schematic diagram of a pre-charge control value calculation module provided by the present invention, Figure 6 A logic diagram of a pre-discharge control value calculation module provided by the present invention, Figure 7 A logic diagram of a current source control value calculation module provided by the present invention, Figure 8 A logic diagram of a current injection control value calculation module provided by the present invention, Fig. 9 A logic diagram of a post-charge / discharge control value calculation module provided by the present invention, Fig.10 A logic diagram of a proportional control loop provided by the present invention, in Figures 5 to 9 In the figure, DRV_EN is the gate drive enable signal and P_LOOP_OUT is the output of the proportional control loop.
[0207] Specifically, Figure 5 and Figure 6In the figure, PCHR_INIT_SET is the initial value setting item of the pre-charge control value, and PDCHR_INIT_SET is the initial value setting item of the pre-discharge control value; PCHR_CNT is the pre-charge control value, and PDCHR_CNT is the pre-discharge control value. Among them, PCHR_CNT and PDCHR_CNT are limited by the preset maximum current value IDRV_MAX. When any one of PCHR_CNT or PDCHR_CNT is greater than IDRV_MAX, the output of PCHR_CNT or PDCHR_CNT is equal to IDRV_MAX, and a pre-charge / pre-discharge current excessive warning will be issued. The boxes contain the enabling conditions of the corresponding arrows. Taking the pre-charge control value calculation as an example, the pre-charge current control value calculation takes effect when DRV_EN=1, and then the initial value of the pre-charge control value is stored in the pre-charge control value register, that is, PCHR_CNT=PCHR_INIT_SET or the corresponding value after PCHR_INIT_SET encoding (for example, PCHR_INIT_SET=1, but the corresponding initial value of the pre-charge control value=64). When GH_STATE=2 or GL_STATE=2, the pre-charge control value PCHR_CNT=proportional control loop output P_LOOP_OUT; when GH_STATE or GL_STATE=other, the pre-charge control value PCHR_CNT=pre-charge control value PCHR_CNT, that is, it remains unchanged.
[0208] Specifically, in Figure 7 and Figure 8 In the figure, STR_CNT is the source current control value, STF_CNT is the sink current control value, STR_INIT_SET is the initial value setting item of the source current control value, and STF_INIT_SET is the initial value setting item of the sink current control value.
[0209] Specifically, in Fig. 9 In the example, PST_INIT_SET is the initial value setting item for the post-charge / discharge control value, P_LOOP_OUT is the output of the proportional control loop, and PST_CHR_CNT is the post-charge / discharge control value. The post-charge control value and the post-discharge control value are both determined by Fig. 9 The module is used for calculation.
[0210] Specifically, in Fig.10 In the figure, P_LOOP_IN1 is the first order data in the data set input to the proportional control loop, P_LOOP_IN2 is the second order data in the data set input to the proportional control loop, P_LOOP_IN3 is the third order data in the data set input to the proportional control loop, KP is the proportional constant, and when different data sets are input to the proportional control loop, the corresponding KP is also different. P_LOOP_OUT is the proportional control loop output.
[0211] The present invention also provides a gate drive current control circuit, comprising a first state machine, a register, a counter, a calculation module and a gate drive current control output module;
[0212] The first state machine is used to indicate the current working state of the driving switch;
[0213] The counter is used to obtain, according to the working state indicated by the first state machine, the actual turn-on propagation delay, the actual rise time of the slew rate, the actual turn-off propagation delay and the actual fall time of the slew rate of the corresponding drive switch;
[0214] The register is used to store the target turn-on propagation delay, the target rise time of the slew rate, the target turn-off propagation delay and the target fall time of the slew rate;
[0215] The calculation module is used to increase the current pre-charge control value when the actual turn-on propagation delay of the driving switch is greater than the target turn-on propagation delay; increase the current source current control value when the actual rise time of the slew rate is greater than the target rise time of the slew rate; increase the current pre-discharge control value when the actual turn-off propagation delay of the driving switch is greater than the target turn-off propagation delay; increase the current sink current control value when the actual fall time of the slew rate is greater than the target fall time of the slew rate;
[0216] The gate drive current control output module is used to use the control value corresponding to the stage of the drive switch indicated by the first state machine as the gate drive current signal of the drive switch, and send the gate drive current signal of the drive switch to the switch circuit, so as to generate a gate drive current according to the gate drive current signal;
[0217] Among them, the control value and the gate drive current signal are digital signals, the gate drive current is an analog signal, and the control value includes a pre-charge control value corresponding to the pre-charge stage, a pull-up current control value corresponding to the pull-up current stage, a post-charge control value corresponding to the post-charge stage, a pull-up hold control value corresponding to the hold stage, a pre-discharge control value corresponding to the pre-discharge stage, a current injection control value corresponding to the current injection stage, a post-discharge control value corresponding to the post-discharge stage, and a strong pull-down control value corresponding to the shutdown stage.
[0218] For an introduction to the control circuit of the gate driving current in the embodiment of the present invention, please refer to the embodiment of the control method of the gate driving current described above, and the embodiment of the present invention will not be described in detail here.
[0219] Please refer to Fig.11 , Fig.11 A schematic diagram of the structure of a gate drive current control device provided by the present invention, the gate drive current control device comprising:
[0220] A memory 111, used for storing computer programs;
[0221] The processor 112 is used to implement the steps of the gate drive current control method in the above-mentioned embodiment when executing the computer program.
[0222] For an introduction to the gate drive current control device in the embodiment of the present invention, please refer to the aforementioned embodiment of the gate drive current control method, and the embodiment of the present invention will not be described in detail here.
[0223] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the gate drive current control method in the above-mentioned embodiment are implemented.
[0224] For an introduction to the computer-readable storage medium in the embodiment of the present invention, please refer to the aforementioned embodiment of the gate drive current control method, and the embodiment of the present invention will not be described in detail here.
[0225] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and 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 description. It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the element.
[0226] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for controlling a gate drive current, characterized in that: include: If the actual turn-on propagation delay of the driving switch of the switching circuit is greater than the target turn-on propagation delay, the current pre-charge control value is increased, wherein the actual turn-on propagation delay refers to: the time from when the driving switch starts charging to when the output phase voltage of the switching circuit rises to the first preset voltage value, and the pre-charge control value refers to: the driving current value of the driving switch in the pre-charge stage; If the actual rise time of the slew rate of the switch circuit is greater than the target rise time of the slew rate, the current source current control value is increased, wherein the actual rise time of the slew rate refers to: the time consumed by the output phase voltage of the switch circuit in the preset rise interval, and the source current control value refers to: the driving current value of the driving switch in the source current state; If the actual closing propagation delay of the driving switch of the switching circuit is greater than the target closing propagation delay, the current pre-discharge control value is increased, wherein the actual closing propagation delay refers to: the time from when the driving switch starts to discharge to when the output phase voltage of the switching circuit drops to a second preset voltage value, and the pre-discharge control value refers to: the driving current value of the driving switch in the pre-discharge stage, and the second preset voltage value is greater than the first preset voltage value; If the actual decrease time of the slew rate of the switching circuit is greater than the target decrease time of the slew rate, the current injection current control value is increased, wherein the actual decrease time of the slew rate refers to: the time consumed by the output phase voltage of the switching circuit in the preset decrease interval, and the injection current control value refers to: the driving current value of the driving switch in the current injection state.
2. The gate drive current control method according to claim 1, characterized in that: The gate drive current control method further includes: According to the current working state of the driving switch, a corresponding gate driving current signal is obtained; wherein each working stage of the driving switch at least includes: a pre-charging stage, a current sourcing stage, a post-charging stage, a holding stage, a pre-discharging stage, a current sinking stage, a post-discharging stage and a closing stage; and the gate driving current signal is a digital signal; Sending the gate drive current signal to the switch circuit so as to obtain a gate drive current according to the gate drive current signal, wherein the gate drive current is an analog signal, and the control value includes any one of a pre-charge control value, a pull current control value, a post-charge control value, a pull-up hold control value, a pre-discharge control value, a sink current control value, a post-discharge control value, and a strong pull-down control value, and the control values are all digital signals; Wherein, obtaining a corresponding gate drive current signal according to the current working state of the drive switch includes: If the drive switch is in the pre-charging stage, using the pre-charging control value as the gate drive current signal of the drive switch; If the driving switch is in the current sourcing stage, the current sourcing control value is used as the gate driving current signal of the driving switch; If the driving switch is in the post-charging stage, the post-charging control value is used as the gate driving current signal of the driving switch; If the driving switch is in the holding stage, the pull-up holding control value is used as the gate driving current signal of the driving switch; If the drive switch is in the pre-discharge stage, the pre-discharge control value is used as the gate drive current signal of the drive switch; If the drive switch is in the current sinking stage, the current sinking control value is used as the gate drive current signal of the drive switch; If the driving switch is in the post-discharge stage, the post-discharge control value is used as the gate driving current signal of the driving switch; If the driving switch is in the off stage, the strong pull-down control value is used as the gate driving current signal of the driving switch.
3. The gate drive current control method according to claim 2, characterized in that: If the actual turn-on propagation delay of the driving switch of the switching circuit is greater than the target turn-on propagation delay, increasing the current precharge control value includes: When the driving switch is in the pre-charging stage, the control counter starts timing; When the driving switch is in the current sourcing stage and the output phase voltage of the switch circuit rises to a first preset voltage value, the control counter stops timing to obtain an actual turn-on propagation delay; When the actual turn-on propagation delay of the driving switch is greater than the target turn-on propagation delay, the current pre-charge control value is increased by a proportional control method; If the actual rise time of the slew rate of the switching circuit is greater than the target rise time of the slew rate, increasing the current source current control value includes: After the driving switch is in the current sourcing stage and the control counter stops timing, the control counter is reset and restarts timing, and when the output phase voltage rises to a second preset voltage value, the control counter stops timing to obtain the actual rising time of the slew rate of the switch circuit; When the actual rising time of the slew rate is greater than the target rising time of the slew rate, the current source current control value is increased by a proportional control method; If the actual turn-off propagation delay of the driving switch of the switching circuit is greater than the target turn-off propagation delay, increasing the current pre-discharge control value includes: When the driving switch is in the pre-discharge stage, the control counter is reset and the timing is restarted; When the output phase voltage of the switch circuit drops to a second preset voltage value, the counter is controlled to stop timing to obtain an actual closing propagation delay; When the actual closing propagation delay of the driving switch is greater than the target closing propagation delay, the current pre-discharge control value is increased by a proportional control method; If the actual falling time of the slew rate of the switching circuit is greater than the target falling time of the slew rate, then increasing the current sink current control value includes: After the driving switch is in the current injection stage and the control counter stops timing, the control counter is reset and restarted, and when the output phase voltage drops to the first preset voltage value, the control counter stops timing to obtain the actual decrease time of the slew rate of the switch circuit; When the actual decreasing time length of the slew rate is greater than the target decreasing time length of the slew rate, the current sink current control value is increased by a proportional control method.
4. The gate drive current control method according to claim 2, characterized in that: The improving the current pre-charge control value comprises: Based on the first data group, obtaining the improved pre-charge control value by a proportional control method, the first data group including the actual turn-on propagation delay, the target turn-on propagation delay and the current pre-charge control value; The improving the current pre-discharge control value comprises: Based on the second data group, obtaining the improved pre-discharge control value by a proportional control method, wherein the second data group includes an actual closing propagation delay, a target closing propagation delay, and a current pre-discharge control value; The step of increasing the current source current control value includes: Based on the third data group, obtaining the increased pull current control value by a proportional control method, wherein the third data group includes an actual rise time, a target rise time and a current pull current control value; The step of increasing the current sink current control value includes: Based on the fourth data group, the improved irrigation current control value is obtained by a proportional control method, and the fourth data group includes an actual drop time, a target drop time and a current irrigation current control value.
5. The gate drive current control method according to claim 4, characterized in that: The proportional control method comprises: (AB)KP+C=D; Among them, D is the output of the proportional control method, A represents the data of the first order in the data group, B represents the data of the second order in the data group, C represents the data of the third order in the data group, and KP is the proportional constant.
6. The gate drive current control method according to claim 1, characterized in that: The gate drive current control method further includes: According to the current working stage of the freewheeling switch in the switch circuit, a corresponding gate drive current signal is obtained; wherein each working stage of the freewheeling switch includes at least: a charging stage, a holding stage, a discharging stage and a closing stage; and the gate drive current signal is a digital signal; Sending the gate drive current signal to the switch circuit so as to obtain the gate drive current according to the gate drive current signal, wherein the gate drive current is an analog signal, and the control value also includes a preset maximum current control value; the control values are all digital signals; Wherein, obtaining the corresponding gate drive current signal according to the current working stage of the freewheeling switch in the switch circuit includes: If the freewheeling switch is in the charging stage, the preset maximum current control value is used as the gate drive current signal of the freewheeling switch; If the freewheeling switch is in the holding stage, the pull-up holding control value is used as the gate drive current signal of the freewheeling switch; If the freewheeling switch is in the discharge stage, the preset maximum current control value is used as the gate drive current signal of the freewheeling switch; If the freewheeling switch is in the off stage, the strong pull-down control value is used as the gate drive current signal of the freewheeling switch.
7. The gate drive current control method according to any one of claims 1 to 6, characterized in that: The gate drive current control method also includes: Starting from when the output phase voltage of the switch circuit rises to a second preset voltage value, before the drive switch is post-charged, driving the drive switch with the pull current control value for a post-charge delay time; Starting from when the output phase voltage of the switch circuit drops to a first preset voltage value, before the drive switch is post-discharged, the drive switch is driven with the injection current control value for a post-discharge delay time.
8. The gate drive current control method according to claim 7, characterized in that: The gate drive current control method also includes: After driving the driving switch with the source current control value for the post-charging delay time, driving the driving switch with a gradually increasing post-charging control value until the charging blanking time of the driving switch ends, wherein the upper limit of the post-charging control value is a preset maximum current value; After driving the drive switch with the injection current control value for the post-discharge delay time, the drive switch is driven with a gradually increasing post-discharge control value until the discharge blanking time of the drive switch ends, wherein the upper limit of the post-discharge control value is a preset maximum current value.
9. A gate drive current control circuit, characterized in that: It includes a first state machine, a register, a counter, a calculation module and a gate drive current control output module; The first state machine is used to indicate the current working state of the driving switch; The counter is used to obtain, according to the working state indicated by the first state machine, the actual turn-on propagation delay, the actual rise time of the slew rate, the actual turn-off propagation delay and the actual fall time of the slew rate of the corresponding drive switch; The register is used to store the target turn-on propagation delay, the target rise time of the slew rate, the target turn-off propagation delay and the target fall time of the slew rate; The calculation module is used to increase the current pre-charge control value when the actual turn-on propagation delay of the driving switch is greater than the target turn-on propagation delay; increase the current source current control value when the actual rise time of the slew rate is greater than the target rise time of the slew rate; and increase the current pre-discharge control value when the actual turn-off propagation delay of the driving switch is greater than the target turn-off propagation delay; When the actual decreasing time of the slew rate is greater than the target decreasing time of the slew rate, the current sink current control value is increased; The gate drive current control output module is used to use the control value corresponding to the stage of the drive switch indicated by the first state machine as the gate drive current signal of the drive switch, and send the gate drive current signal of the drive switch to the switch circuit, so as to generate a gate drive current according to the gate drive current signal; Among them, the control value and the gate drive current signal are digital signals, the gate drive current is an analog signal, and the control value includes a pre-charge control value corresponding to the pre-charge stage, a pull-up current control value corresponding to the pull-up current stage, a post-charge control value corresponding to the post-charge stage, a pull-up hold control value corresponding to the hold stage, a pre-discharge control value corresponding to the pre-discharge stage, a current injection control value corresponding to the current injection stage, a post-discharge control value corresponding to the post-discharge stage, and a strong pull-down control value corresponding to the shutdown stage.
10. A gate drive current control device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the gate drive current control method as claimed in any one of claims 1 to 8 when executing the computer program.
Citation Information
Patent Citations
Driver circuit and method with reduced di / dt and having delay compensation
CN101142730A
Method and apparatus for propagation delay and EMI control
CN102067451A
Pre-discharge circuit for multiplexed LED display
CN106663405A
Load current real-time detection system
CN108683329A
Multifunctional switch controller and a switchable method
CN109756215A