A method, apparatus and readable storage medium for controlling power supply

By receiving non-overlapping clock circuit signals to control the on and off of the power transistors in the SOC chip's power supply circuit, the problem of high cost caused by adding PADs in existing technologies is solved, thereby reducing power supply glitches and saving costs.

CN115208174BActive Publication Date: 2026-11-17CCORE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210924854.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-02
Publication Date
2026-11-17
Estimated Expiration
2042-08-02

AI Technical Summary

Technical Problem

In the prior art, in order to reduce power supply glitches in SOC chips, programmable analog devices for power and ground are usually added to reduce parasitic inductance, thereby increasing costs.

Method used

By receiving the non-overlapping control signal sent by the non-overlapping clock circuit, the smallest power transistor in the power supply circuit is controlled to turn on, and when the current reaches half, it is determined whether all power transistors are turned on, and the other power transistors are controlled to turn on step by step. When the power is turned off, the largest power transistor is controlled to turn off, and the other power transistors are controlled to turn off step by step. The delay value is set by the RC delay unit to control the turn-off time of the power transistors.

Benefits of technology

It effectively reduces power supply glitches, avoids increasing the number of PADs, and saves costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115208174B_ABST
    Figure CN115208174B_ABST
Patent Text Reader

Abstract

This application discloses a power supply control method, apparatus, and readable storage medium, relating to the field of electronic technology. The power supply control method provided in this application, when the smallest power transistor is turned on, at the instant of turn-on, due to the small size of the power transistor, acts as a large current-limiting resistor. The current in the inductor of the external filter circuit remains constant, while the changing current in the parasitic inductor is limited by the current-limiting resistor. Large current fluctuations are not generated in the parasitic inductor, thus preventing large voltage spikes on the power supply. As the smallest power transistor turns on, the first current continuously increases, and the second current continuously decreases. When the current flowing through the first transistor reaches half of the current flowing through the second transistor, other power transistors are turned on sequentially. Therefore, the current change throughout the process is very small, resulting in minimal power supply spikes. Thus, compared to existing solutions, this solution does not require an additional PAD, saving costs simply by controlling the turn-on time of the power transistors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to a method, apparatus and readable storage medium for controlling power supply. Background Technology

[0002] With the advancement of electronic technology, electronic components are becoming increasingly sophisticated, and the application of integrated circuits is becoming more and more widespread. Consequently, the development and application of integrated circuit (System-on-a-Chip, SOC) chips are also growing. In order to increase the robustness of SOC and reduce system costs, the current solution is to integrate the power supply circuit into the SOC. As the integration level of SOC increases, the power consumption of SOC has exceeded the ampere level. The switching of power transistors will cause relatively large power supply glitches on the power supply, and may even trigger protection circuits.

[0003] Figure 1 Here is a circuit diagram of the power supply circuit for an existing SOC chip, such as... Figure 1 As shown, the control signal is generated by a non-overlapping circuit. The non-overlapping control signal controls the power transistor's on and off states through the driver circuit. Pins VDDP and GNDP are the power supply and ground on the chip pins, respectively. Pins AVDD and AGND are the power supply and ground inside the chip, respectively. L1 and L2 are the parasitic inductances between the chip's external pins and the chip's programmable analog device (PAD). In the prior art, to reduce power supply glitches, the number of PADs (pads) and bonding wires for power supply and ground is generally increased to reduce parasitic inductance and thus reduce power supply glitches. Since the power supply glitches ΔV are proportional to the parasitic inductance, it can be seen that reducing parasitic inductance will reduce power supply glitches. However, due to the increased number of PADs, the cost is higher.

[0004] Given the above-mentioned technologies, finding a control power supply method that can effectively reduce power supply glitches and has a low cost is an urgent problem to be solved by those skilled in the art. Summary of the Invention

[0005] The purpose of this application is to provide a power supply control method, apparatus, and readable storage medium to solve the problem that in order to reduce power supply glitches, the common practice is to increase the number of programmable analog devices for power supply and ground, thereby reducing parasitic inductance and thus reducing power supply glitches. Since the power supply glitches ΔV are proportional to the parasitic inductance, it can be known that reducing the parasitic inductance will reduce the glitches on the power supply. However, this increases the cost due to the increased number of PADs.

[0006] To address the aforementioned technical problems, this application provides a power supply control method applied to a SOC chip, comprising:

[0007] Receive non-overlapping control signals transmitted via a non-overlapping clock circuit;

[0008] The smallest power transistor among the non-conducting power transistors in the power supply circuit is turned on according to the non-overlapping control signal.

[0009] After the first current equals half of the second current, determine whether all the power transistors are turned on;

[0010] If not, return to the step of controlling the smallest power transistor among the non-conducting power transistors in the power supply circuit to conduct according to the non-overlapping control signal;

[0011] If so, then the process ends;

[0012] Wherein, the first current is the current flowing through the power transistor that was previously turned on in the power supply circuit, and the second current is the current flowing through the filter inductor of the power supply circuit.

[0013] Preferably, after receiving the non-overlapping control signal as a signal to control the power off, the method further includes:

[0014] According to the non-overlapping control signal, the largest power transistor among the power transistors that are not turned off in the power supply circuit is turned off.

[0015] After the third current equals half of the second current, determine whether all the power transistors are turned off;

[0016] If not, return to the step of controlling the largest power transistor among the un-turned power transistors in the power supply circuit to turn off according to the non-overlapping control signal;

[0017] If so, then the process ends;

[0018] The third current is the current flowing through the power transistor that was last turned off in the power supply circuit.

[0019] Preferably, receiving the non-overlapping enable control signal transmitted via the non-overlapping clock circuit includes:

[0020] Receive control signals sent by the control terminal;

[0021] The delay value in each of the non-overlapping clock circuits is set according to the control signal;

[0022] The control signal is sent to each of the non-overlapping clock circuits to generate the non-overlapping control signal.

[0023] Preferably, the delay value in the non-overlapping clock circuit is set using an RC delay unit, which includes a variable resistor and a variable capacitor. Different delay values ​​can be set by setting the resistance and capacitance values.

[0024] Preferably, sending the control signal to each of the non-overlapping clock circuits to generate the non-overlapping control signal includes:

[0025] The primary non-overlapping clock circuit receives the control signal and generates two secondary control signals based on the delay value of the primary non-overlapping clock circuit. The output of the primary non-overlapping clock circuit is connected to the non-overlapping clock circuit of the two secondary non-overlapping clock circuits.

[0026] The secondary control signal is sent to the secondary non-overlapping clock circuit, and the secondary non-overlapping clock circuit is used as the new primary non-overlapping clock circuit. The secondary control signal is used as the new control signal, and the above steps are repeated until the last stage non-overlapping clock circuit receives the control signal.

[0027] The non-overlapping control signal is generated based on the delay values ​​of each of the non-overlapping clock circuits in the last stage.

[0028] Preferably, the power transistor includes a PMOS transistor and an NMOS transistor, and the PMOS transistor and the NMOS transistor are controlled by different non-overlapping control signals.

[0029] Preferably, it further includes:

[0030] Detect the current in the power supply circuit;

[0031] An alarm is triggered when the current change in the power supply circuit is too large.

[0032] To address the above problems, this application also provides a power supply control device, comprising:

[0033] The receiving module is used to receive non-overlapping control signals transmitted via a non-overlapping clock circuit;

[0034] The conduction module is used to control the smallest power transistor among the non-conducting power transistors in the power supply circuit to conduct according to the non-overlapping control signal.

[0035] The judgment module is used to determine whether all the power transistors are turned on after the first current equals half of the second current. If yes, the process ends; otherwise, it returns to the turn-on module.

[0036] Wherein, the first current is the current flowing through the power transistor that was previously turned on in the power supply circuit, and the second current is the current flowing through the filter inductor of the power supply circuit.

[0037] Preferably, the device further includes:

[0038] The shutdown module is used to control the largest power transistor among the un-turned power transistors in the power supply circuit to turn off according to the non-overlapping control signal.

[0039] The second judgment module is used to determine whether all the power transistors are turned off after the third current equals half of the second current. If yes, the process ends; otherwise, it returns to the turn-off module.

[0040] Preferably, the device further includes:

[0041] The detection module is used to detect the current in the power supply circuit;

[0042] An alarm module is used to trigger an alarm when the current change in the power supply circuit is too large.

[0043] To address the aforementioned problems, this application also provides a power supply control device, including a memory for storing computer programs;

[0044] A processor, used to implement the steps of the power supply control method as described above when executing the computer program.

[0045] To address the aforementioned problems, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the power supply control method described above.

[0046] The power supply control method provided in this application is applied to SOC chips. It receives a non-overlapping control signal sent via a non-overlapping clock circuit and controls the smallest power transistor in the power supply circuit to turn on according to the non-overlapping control signal. After the first current equals half of the second current, the next stage power transistor in the power supply circuit is controlled to turn on according to the non-overlapping control signal. The next stage power transistor is one whose size is only larger than the previous turned-on power transistor. The first current is the current flowing through the turned-on power transistor, and the second current is the current flowing through the filter inductor. The above steps are repeated until all power transistors are turned on. When the smallest power transistor turns on, at the instant of turn-on, due to the relatively small size of the power transistor… This is equivalent to a large current-limiting resistor. The current in the inductor of the external filter circuit remains constant, while the changing current in the parasitic inductor is limited by the current-limiting resistor. No large current fluctuations are generated in the parasitic inductor, and therefore no large spike voltage is generated on the power supply. As the smallest power transistor is turned on, the first current continuously increases and the second current continuously decreases. When the current flowing through the first transistor reaches half of the current flowing through the second transistor, other power transistors are turned on one after another. Thus, the current change is very small throughout the process, and the power supply spikes are also very small. Therefore, compared with the original solution, this solution does not add an extra PAD, but saves costs by controlling the turn-on time of the power transistors.

[0047] The control power supply device and computer-readable storage medium provided in this application correspond to the above-mentioned gravity channel sand detection method and have the same beneficial effects. Attached Figure Description

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

[0049] Figure 1 This is a circuit diagram of the power supply circuit for an existing SOC chip.

[0050] Figure 2 A flowchart of a power supply control method provided in an embodiment of this application;

[0051] Figure 3 This application provides a schematic diagram of the structure of a non-overlapping clock circuit according to an embodiment of the present application.

[0052] Figure 4 A schematic diagram of a power supply control device provided in an embodiment of this application;

[0053] Figure 5 This is a schematic diagram of a control power supply device provided for another embodiment of this application. Detailed Implementation

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

[0055] The core of this application is to provide a power supply control method, apparatus, and readable storage medium to solve the problem that in order to reduce power supply glitches, the common practice is to increase the number of programmable analog devices for power supply and ground, thereby reducing parasitic inductance and thus reducing power supply glitches. Since the power supply glitches ΔV are proportional to the parasitic inductance, it can be seen that reducing the parasitic inductance will reduce the glitches on the power supply. However, due to the increased number of PADs, the cost is high.

[0056] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0057] Figure 2 A flowchart of a power supply control method provided in an embodiment of this application is shown below. Figure 2 As shown, the method includes:

[0058] S10: Receives the non-overlapping control signal sent via the non-overlapping clock circuit;

[0059] It should be noted that power supply glitches refer to the parasitic inductance caused by the large current flowing through the switching transistor at the moment of switching. The glitches are related to the switching speed. The faster the switching, the higher the glitches. High glitches can interfere with other circuits and may cause the chip's overcurrent protection to malfunction.

[0060] Figure 3 This is a schematic diagram of a non-overlapping clock circuit provided in an embodiment of this application. It should be noted that this embodiment does not limit the structure of the non-overlapping clock circuit, its specific delay control, or its number, etc. The specific details depend on the number of power transistors. For example, when there are multiple power transistors, a multi-stage non-overlapping clock circuit can be used, that is, two more non-overlapping clock circuits can be connected to the output of the first-stage non-overlapping clock circuit, thereby increasing the number of delay controls. Furthermore, this embodiment does not specifically limit the non-overlapping control signal, nor does it limit the specific sender of the signal or its processing procedure in the non-overlapping clock circuit.

[0061] S11: Control the smallest non-conducting power transistor in the power supply circuit to turn on according to the non-overlapping control signal;

[0062] It should be noted that the power transistor in this embodiment is the switching transistor in the power supply circuit, such as... Figure 1 As shown in the figure, in this embodiment, there are no limitations on the number, type, size, or number of power transistors, and there are no specific limitations on the generation method of the non-overlapping control signal or its specific delay method.

[0063] S12: After the first current equals half of the second current, determine whether all power transistors are turned on. If yes, end; otherwise, return to S11.

[0064] It should be noted that the next stage power transistor is a power transistor whose size is only larger than the previous conducting power transistor. The first current is the current flowing through the conducting power transistor, and the second current is the current flowing through the filter inductor, such as... Figure 1 As shown, the filter inductor is the inductor used in existing filter circuits. This embodiment does not focus on the filter inductor and related circuit structures, and will not elaborate further. By using a cyclic method, the power transistors are turned on sequentially in ascending order of size, thus preventing sudden current changes and reducing power supply glitches.

[0065] The power supply control method provided in this application embodiment is applied to a SOC chip. It receives a non-overlapping control signal sent via a non-overlapping clock circuit, and controls the smallest power transistor in the power supply circuit to turn on according to the non-overlapping control signal. After the first current equals half of the second current, the next stage power transistor in the power supply circuit is controlled to turn on according to the non-overlapping control signal. The next stage power transistor is one whose size is only larger than the previous turned-on power transistor. The first current is the current flowing through the turned-on power transistor, and the second current is the current flowing through the filter inductor. The above steps are repeated until all power transistors are turned on. When the smallest power transistor turns on, at the instant of turn-on, due to the relatively small size of the power transistor… The small size is equivalent to a large current-limiting resistor. The current in the inductor of the external filter circuit remains constant, while the changing current in the parasitic inductor is limited by the current-limiting resistor. Large current fluctuations will not occur in the parasitic inductor, and thus no large spike voltage will be generated on the power supply. As the smallest power transistor is turned on, the first current continuously increases and the second current continuously decreases. When the current flowing through the first transistor reaches half of the current flowing through the second transistor, other power transistors are turned on one after another. Thus, the current change is very small throughout the process, and the power supply spikes are also very small. Therefore, compared with the original solution, this solution does not add an extra PAD, but saves costs by controlling the turn-on time of the power transistors.

[0066] The above embodiments describe a method for turning on the power supply circuit. Considering the corresponding method for turning off the power supply circuit, this embodiment proposes a preferred solution: after receiving a non-overlapping control signal that controls the power supply to be turned off, the method further includes:

[0067] The largest power transistor among the un-turned power transistors in the power supply circuit is turned off according to the non-overlapping control signal.

[0068] After the third current equals half of the second current, determine whether all power transistors are turned off;

[0069] If not, return to the step of turning off the largest power transistor among the un-turned power transistors in the power supply circuit according to the non-overlapping control signal;

[0070] If so, then the process ends;

[0071] The third current is the current flowing through the power transistor that was last turned off in the power supply circuit.

[0072] When the largest power transistor is turned off, at the instant of turn-off, due to its small size, it acts as a large current-limiting resistor. The current in the inductor of the external filter circuit remains constant, while the changing current in the parasitic inductor is limited by the current-limiting resistor. No large current fluctuations are generated in the parasitic inductor, thus preventing large voltage spikes on the power supply. As the largest power transistor turns off, the first current continuously decreases, and the second current continuously increases. When the current flowing through the first transistor reaches half of the current flowing through the second transistor, other power transistors are turned off one by one. Therefore, the current change throughout the process is very small, resulting in very small power supply spikes. Thus, compared to the original solution, this solution does not reduce the number of PADs; it only saves costs by controlling the turn-on time of the power transistors.

[0073] The above embodiments do not specifically limit how to receive the non-overlapping control signal. A preferred embodiment is provided here, in which receiving the non-overlapping enable control signal sent via the non-overlapping clock circuit includes:

[0074] Receive control signals sent by the control terminal;

[0075] Set the delay value in each non-overlapping clock circuit according to the control signal;

[0076] The control signal is sent to each non-overlapping clock circuit to generate a non-overlapping control signal.

[0077] In non-overlapping clock circuits, the delay value is set using an RC delay unit, which includes a variable resistor and a variable capacitor. Different delay values ​​can be set by setting the resistance and capacitance values.

[0078] In this embodiment, the specific non-overlapping control signal is defined as a control signal generated by the delay value in the non-overlapping clock circuit. By setting different delay values ​​in the non-overlapping clock circuit, the on / off times of different power transistors are ensured to be different, thereby achieving differentiated control of the power transistors. It can be understood that the specific selection of the delay value can be obtained based on the specific current magnitude detection in the above embodiment.

[0079] It should be noted that the previous method of increasing non-overlap time was generally to add an inverter, but this delay unit is not conducive to control. The present invention uses a controllable RC delay unit and designs the delay circuit to delay the rising edge.

[0080] Sending control signals to each non-overlapping clock circuit generates non-overlapping control signals, including:

[0081] The first-stage non-overlapping clock circuit receives control signals and generates two lower-stage control signals. The first-stage non-overlapping clock circuit is connected to the control terminal at its input and to the non-overlapping clock circuits of the two second-stage non-overlapping clock circuits at its output.

[0082] Send the lower-level control signal to each non-overlapping clock circuit of the next level, and repeat the above steps until the control signal is sent to each non-overlapping clock circuit of the last level.

[0083] Non-overlapping control signals are generated based on the delay values ​​of each non-overlapping clock circuit in the last stage.

[0084] The above embodiments do not limit the specific selection of power transistors. Here, a preferred solution is provided, in which power transistors include PMOS transistors and NMOS transistors, and PMOS transistors and NMOS transistors are controlled by different non-overlapping control signals.

[0085] A MOSFET is a metal-oxide-semiconductor field-effect transistor, also known as a metal-insulator-semiconductor transistor. The source and drain of a MOSFET can be interchanged; both are N-type regions formed within a P-type backgate. Such devices are considered symmetrical. A PMOS transistor refers to an N-type substrate, P-channel, and MOSFET that carries current through the flow of holes. An NMOS transistor is the opposite.

[0086] Considering the delay value settings in the circuit and unexpected situations such as circuit failures, a preferred solution is provided here, which also includes:

[0087] Detect the current in the power supply circuit;

[0088] An alarm is triggered when the current change in the power supply circuit is too large.

[0089] It should be noted that the specific type of alarm device is not limited in this embodiment. It can be understood that it includes, but is not limited to, hardware methods such as warning lights and buzzers, or software methods that send information to the staff's computer for alarm processing. Furthermore, the specific steps for anomaly detection are not limited in this embodiment. It can be understood that the corresponding anomaly judgment can be completed by comparing historical data.

[0090] In this embodiment, an alarm is triggered for excessive current changes to ensure that abnormal situations can be handled promptly in the event of excessive power supply spikes caused by control failure, control delay, circuit faults, or other issues.

[0091] In the above embodiments, the power supply control method has been described in detail. This application also provides embodiments corresponding to the power supply control device. It should be noted that this application describes the embodiments of the device part from two perspectives: one is based on the functional module, and the other is based on the hardware.

[0092] Figure 4 A schematic diagram of a power supply control device provided in this application embodiment is shown. The device includes:

[0093] Receiver module 10 is used to receive non-overlapping control signals transmitted via a non-overlapping clock circuit;

[0094] The conduction module 11 is used to control the smallest power transistor among the non-conducting power transistors in the power supply circuit to conduct according to the non-overlapping control signal;

[0095] The judgment module 12 is used to determine whether all power transistors are turned on after the first current is equal to half of the second current. If yes, the process ends; otherwise, it returns to the turn-on module 11.

[0096] The first current is the current flowing through the power transistor that was previously turned on in the power supply circuit, and the second current is the current flowing through the filter inductor of the power supply circuit.

[0097] Preferably, the device further includes:

[0098] A shutdown module is used to control the largest power transistor among the power transistors that are not turned off in the power supply circuit to turn off based on a non-overlapping control signal.

[0099] The second judgment module is used to determine whether all power transistors are turned off after the third current equals half of the second current. If yes, the process ends; otherwise, it returns to the shutdown module.

[0100] Preferably, the device further includes:

[0101] The detection module is used to detect the current in the power supply circuit;

[0102] The alarm module is used to trigger an alarm when the current change in the power supply circuit is too large.

[0103] Since the embodiments of the apparatus and the embodiments of the method correspond to each other, please refer to the description of the embodiments of the method for the embodiments of the apparatus, which will not be repeated here.

[0104] The control power supply device provided in this application includes a receiving module, a first-stage conduction module, a next-stage conduction module, and a loop module. It receives a non-overlapping control signal sent via a non-overlapping clock circuit and controls the smallest power transistor in the power supply circuit to conduct according to the non-overlapping control signal. After the first current equals half of the second current, it controls the next-stage power transistor in the power supply circuit to conduct according to the non-overlapping control signal. The next-stage power transistor is a power transistor whose size is only larger than the previous conducting power transistor. The first current is the current flowing through the conducting power transistor, and the second current is the current flowing through the filter inductor. The above steps are repeated until all power transistors are conducted. When the smallest power transistor turns on, at the instant of turn-on, [the following occurs:] ... Because the power transistors are relatively small, they are essentially large current-limiting resistors. The current in the inductor of the external filter circuit remains constant, while the changing current in the parasitic inductor is limited by the current-limiting resistor. This prevents large current fluctuations in the parasitic inductor and avoids large voltage spikes on the power supply. As the smallest power transistor turns on, the first current continuously increases, and the second current continuously decreases. When the current flowing through the first transistor reaches half of the current flowing through the second transistor, other power transistors are turned on sequentially. Thus, the current change throughout the process is very small, resulting in minimal power supply spikes. Therefore, compared to the original solution, this solution does not require an additional PAD and saves costs simply by controlling the turn-on time of the power transistors.

[0105] Figure 5 A schematic diagram of a control power supply device is provided for another embodiment of this application, as shown below. Figure 5 As shown, the power control device includes: a memory 20 for storing computer programs;

[0106] The processor 21 is configured to implement the steps of the power control method as described in the above embodiments when executing a computer program.

[0107] The control power supply device provided in this embodiment may include, but is not limited to, smartphones, tablets, laptops, or desktop computers.

[0108] The processor 21 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 21 may be implemented using at least one hardware form selected from Digital Signal Processor (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 21 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 21 may also include an Artificial Intelligence (AI) processor, which handles computational operations related to machine learning.

[0109] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 20 is used to store at least the following computer program 201, which, after being loaded and executed by the processor 21, is capable of implementing the relevant steps of the power control method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, and the storage method may be temporary or permanent storage. The operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the data involved in the power control method.

[0110] In some embodiments, the power control device may further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.

[0111] Those skilled in the art will understand that Figure 5 The structure shown does not constitute a limitation on the control power supply device and may include more or fewer components than shown.

[0112] The power control device provided in this application includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the following method: the power control method involved in the above embodiments.

[0113] Since the embodiments of the apparatus and the embodiments of the method correspond to each other, please refer to the description of the embodiments of the method for the embodiments of the apparatus, which will not be repeated here.

[0114] The power supply control device provided in this application includes a memory and a processor. When the processor executes the program stored in the memory, it can receive a non-overlapping control signal sent via a non-overlapping clock circuit, and control the smallest power transistor in the power supply circuit to turn on according to the non-overlapping control signal. After the first current equals half of the second current, it controls the next stage power transistor in the power supply circuit to turn on according to the non-overlapping control signal. The next stage power transistor is a power transistor whose size is only larger than the previous turned-on power transistor. The first current is the current flowing through the turned-on power transistor, and the second current is the current flowing through the filter inductor. The above steps are repeated until all power transistors are turned on. When the smallest power transistor turns on, at the instant of turning on... Because the power transistors are relatively small, they are equivalent to a large current-limiting resistor. The current in the inductor of the external filter circuit remains constant, while the changing current in the parasitic inductor is limited by the current-limiting resistor. Large current fluctuations will not occur in the parasitic inductor, thus preventing large voltage spikes on the power supply. As the smallest power transistor is turned on, the first current continuously increases, and the second current continuously decreases. When the current flowing through the first transistor reaches half of the current flowing through the second transistor, other power transistors are turned on one after another. Therefore, the current change is very small throughout the process, resulting in very small power supply spikes. Thus, compared to the original solution, this solution does not add an extra PAD and saves costs simply by controlling the turn-on time of the power transistors.

[0115] Finally, this application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps described in the above method embodiments.

[0116] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0117] Since the embodiments of the readable storage medium portion correspond to the embodiments of the method portion, the embodiments of the apparatus portion are described in the method portion description and will not be repeated here.

[0118] The computer-readable storage medium provided in this application stores a program that, when executed, can receive a non-overlapping control signal sent via a non-overlapping clock circuit, control the smallest power transistor in the power supply circuit to turn on according to the non-overlapping control signal, and after the first current equals half of the second current, control the next stage power transistor in the power supply circuit to turn on according to the non-overlapping control signal. The next stage power transistor is a power transistor whose size is only larger than the previous turned-on power transistor. The first current is the current flowing through the turned-on power transistor, and the second current is the current flowing through the filter inductor. The above steps are repeated until all power transistors are turned on. When the smallest power transistor turns on, at the instant of turn-on, due to the size of the power transistor... The small size of the transistor acts as a large current-limiting resistor. The current in the inductor of the external filter circuit remains constant, while the changing current in the parasitic inductor is limited by the current-limiting resistor. This prevents large current fluctuations in the parasitic inductor and avoids large voltage spikes on the power supply. As the smallest power transistor is turned on, the first current increases and the second current decreases. When the current flowing through the first transistor reaches half of the current flowing through the second transistor, other power transistors are turned on sequentially. As a result, the current change is very small throughout the process, and the resulting power supply spikes are also very small. Therefore, compared to the original solution, this solution does not add an extra PAD and saves costs simply by controlling the turn-on time of the power transistors.

[0119] The foregoing has provided a detailed description of a power supply control method, apparatus, and computer-readable storage medium provided in this application. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make several improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.

[0120] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A method of controlling a power supply, characterized by, Applied to SOC chips, the power supply circuit of the SOC chip includes multiple power transistors, including: Receive non-overlapping control signals transmitted via a non-overlapping clock circuit; The smallest power transistor among the non-conducting power transistors in the power supply circuit is turned on according to the non-overlapping control signal. After the first current equals half of the second current, determine whether all of the power transistors are turned on; If not, return to the step of controlling the smallest power transistor among the non-conducting power transistors in the power supply circuit to conduct according to the non-overlapping control signal; If so, then the process ends; Wherein, the first current is the current flowing through the power transistor that was previously turned on in the power supply circuit, and the second current is the current flowing through the filter inductor of the power supply circuit.

2. The power supply control method according to claim 1, characterized in that, After receiving the non-overlapping control signal as a signal to control the power supply to be turned off, the method further includes: According to the non-overlapping control signal, the largest power transistor among the power transistors that are not turned off in the power supply circuit is turned off; After the third current equals half of the second current, it is determined whether all of the power transistors are turned off; If not, return to the step of controlling the largest power transistor among the un-turned power transistors in the power supply circuit to turn off according to the non-overlapping control signal; If so, then the process ends; The third current is the current flowing through the power transistor that was last turned off in the power supply circuit.

3. The power supply control method according to claim 2, characterized in that, The receiving of the non-overlapping control signal transmitted via the non-overlapping clock circuit includes: Receive control signals sent by the control terminal; The delay value in each of the non-overlapping clock circuits is set according to the control signal; The control signal is sent to each of the non-overlapping clock circuits to generate the non-overlapping control signal.

4. The power supply control method according to claim 3, characterized in that, The delay value in the non-overlapping clock circuit is set using an RC delay unit, which includes a variable resistor and a variable capacitor. Different delay values ​​can be set by setting the resistance and capacitance values.

5. The power supply control method according to claim 4, characterized in that, The step of sending the control signal to each of the non-overlapping clock circuits to generate the non-overlapping control signal includes: The primary non-overlapping clock circuit receives the control signal and generates two secondary control signals based on the delay value of the primary non-overlapping clock circuit. The output of the primary non-overlapping clock circuit is connected to the non-overlapping clock circuit of the two secondary non-overlapping clock circuits. The secondary control signal is sent to the secondary non-overlapping clock circuit, and the secondary non-overlapping clock circuit is used as the new primary non-overlapping clock circuit. The secondary control signal is used as the new control signal, and the above steps are repeated until the last stage non-overlapping clock circuit receives the control signal. The non-overlapping control signal is generated based on the delay values ​​of each of the non-overlapping clock circuits in the last stage.

6. The power supply control method according to any one of claims 1 to 5, characterized in that, The power transistors include PMOS transistors and NMOS transistors, and the PMOS transistors and the NMOS transistors are controlled by different non-overlapping control signals.

7. The power supply control method according to claim 6, characterized in that, Also includes: Detect the current in the power supply circuit; An alarm is triggered when the current change in the power supply circuit exceeds a preset value.

8. A power supply control device, characterized in that, Applied to SOC chips, the power supply circuit of the SOC chip includes multiple power transistors, including: The receiving module is used to receive non-overlapping control signals transmitted via a non-overlapping clock circuit; The conduction module is used to control the smallest power transistor among the non-conducting power transistors in the power supply circuit to conduct according to the non-overlapping control signal; The judgment module is used to determine whether all of the power transistors are turned on after the first current equals half of the second current. If yes, the process ends; otherwise, it returns to the turn-on module. Wherein, the first current is the current flowing through the power transistor that was previously turned on in the power supply circuit, and the second current is the current flowing through the filter inductor of the power supply circuit.

9. A power supply control device, characterized in that, Includes memory used to store computer programs; A processor, configured to implement the steps of the power supply control method as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the power supply control method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Current-steering DAC circuit

    CN112787671A

  • Voltage control method, switching circuit, storage medium and computer program product

    CN112953211A