Control method, power supply control circuit and electronic equipment
By providing pre-working voltage in advance when the SoC chip load is about to increase, the power waste problem caused by the existing AVS voltage control technology is solved, and stable operation and power consumption optimization are achieved in large load scenarios.
Patent Information
- Application Number
- CN202410867514.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-27
AI Technical Summary
The existing AVS voltage control technology has a high minimum voltage setting for the system-level chip, which results in a waste of power consumption and cannot effectively reduce the power consumption of the SoC chip.
By providing a pre-working voltage to the SoC chip in advance when the load is about to rise, and using the instruction signal to control the switch conduction time of the power supply module to increase the supply voltage, it ensures that the output voltage will not be pulled down when a large load scenario arrives. below the minimum operating voltage.
It effectively reduces the power consumption of the SoC chip, avoids unnecessary waste of power consumption, and ensures the stable operation of the chip in large load scenarios.
Smart Images

Figure CN118713431A
Abstract
Description
Technical Field
[0001] The present application relates to voltage control technology, and more specifically, to a control method, a power control circuit and an electronic device. Background Art
[0002] In electronic devices, the PPA (Performance, Power, Area) of the system-on-chip (SOC) is a relatively concerned issue in the field. The industry usually uses AVS (Adaptive Voltage Scaling) step-down technology to reduce the output voltage of PMIC (Power Management IC, the power management integrated circuit that powers the SOC chip) to reduce power consumption, but the current AVS voltage is still much higher than the minimum voltage of the system-on-chip, resulting in power consumption waste. Summary of the invention
[0003] In view of this, this application provides the following technical solutions:
[0004] The first aspect of the present application provides a control method, comprising:
[0005] Obtaining a first indication signal, where the first indication signal is used to indicate that a load increase occurs on the first chip within a first time period in the future;
[0006] Based on the first indication signal, the power supply module of the first chip is controlled to provide a pre-working voltage for the first chip before the load increases, wherein the pre-working voltage is greater than a theoretical voltage, and the theoretical voltage corresponds to a voltage currently required by the first chip.
[0007] In a possible implementation, the first indication signal is an indication signal generated by the first chip when any of the following conditions is met:
[0008] There are heavy load tasks in the task queue;
[0009] The clock management circuit receives a frequency increase instruction;
[0010] The processing core that was originally not powered on receives a power-on instruction.
[0011] In one possible implementation, the first indication signal is an instruction synchronized to the first port when the first chip sends an instruction to execute a load task, an instruction to increase the frequency, or a power-on instruction. The first indication signal synchronized to the first port is monitored by the power supply module to control the provision of a pre-working voltage to the first chip during the waiting time for executing any of the aforementioned instructions.
[0012] In a possible implementation, obtaining the first indication signal includes:
[0013] Whether a first indication signal exists is determined by monitoring the level of a line of the first port of the first chip.
[0014] In a possible implementation, the controlling the power supply module of the first chip based on the first indication signal to provide a pre-working voltage for the first chip before the load increase condition occurs includes:
[0015] Based on the first indication signal, a first switch in a power supply module of the first chip is controlled to be turned on for a first time period to increase a power supply voltage of the power supply module.
[0016] In a possible implementation, after controlling the first switch in the power supply module of the first chip to be turned on for a first time period based on the first indication signal, the method further includes:
[0017] The default power supply control logic of the power supply module of the first chip is restored, and under the default power supply control logic, the power supply voltage of the power supply module is the theoretical voltage.
[0018] A second aspect of the present application provides a power control circuit, comprising:
[0019] A power control module, comprising a first switch and a power supply, wherein a first end of the first switch is connected to the power supply, and a second end of the first switch is connected to a voltage output port;
[0020] a compensation control module, configured to output a first control signal upon receiving a first indication signal, wherein the first indication signal is configured to indicate that a load increase occurs in the load chip within a first time period in the future;
[0021] A processing module is connected to the compensation control module and the line connection module, and is used to control the first switch to be turned on when the compensation control module outputs a first control signal, so that the power supply directly provides a pre-working voltage to the load chip through the voltage output port, and the pre-working voltage is greater than the theoretical voltage, and the theoretical voltage corresponds to the voltage currently required by the load chip.
[0022] In a possible implementation, the power control module further includes a second switch, a waveform control module and a switch control circuit; a first end of the second switch is grounded, and a second end of the second switch is connected to a voltage output port; the processing module is connected in series between the waveform control module and the first end of the switch control circuit; and a second end of the switch control circuit is connected to the first switch and the second switch respectively;
[0023] The switch control circuit is used to control the switch states of the first switch and the second switch;
[0024] The waveform control module is used to generate a second control signal for controlling the switching states of the first switch and the second switch, and the second control signal is used to control the first switch and the second switch to be turned on alternately and separately.
[0025] In a possible implementation, the processing module is an OR operation calculator, and the OR operation calculator takes the first control signal output by the compensation control module and the second control signal generated by the waveform control module as input.
[0026] In a possible implementation, the compensation control module is specifically configured to output a first control signal of a first duration upon receiving a first indication signal.
[0027] A third aspect of the present application provides an electronic device, comprising any one of the above-mentioned power control circuits. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0029] Figure 1 This is a schematic diagram of the principle of realizing the AVS voltage value in the traditional solution;
[0030] Figure 2 A flow chart of a control method disclosed in an embodiment of the present application;
[0031] Figure 3 A schematic diagram of a process of triggering a first chip to generate a first indication signal disclosed in an embodiment of the present application;
[0032] Figure 4 A schematic diagram of the principle of realizing the AVS voltage value disclosed in the embodiment of the present application;
[0033] Figure 5 A schematic diagram of an implementation flow of the control method disclosed in the embodiment of the present application;
[0034] Figure 6 A schematic diagram of the structure of a power control circuit disclosed in an embodiment of the present application;
[0035] Figure 7 A schematic diagram of the structure of another power control circuit disclosed in an embodiment of the present application;
[0036] Figure 8 A schematic diagram of a circuit for realizing the structure of a power control circuit disclosed in an embodiment of the present application;
[0037] Fig. 9 Another schematic diagram of the AVS voltage value realization principle disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0038] For the purpose of reference and clarity, the descriptions, abbreviations or acronyms of the technical terms used below are summarized as follows:
[0039] AVS: AVS is a system-level solution that can independently and automatically control the power supply voltage of each processing engine in the SoC, thereby reducing the energy consumption of the digital SoC solution.
[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0041] The embodiments of the present application can be applied to electronic devices. The present application does not limit the product form of the electronic device, which can include but is not limited to smart phones, tablet computers, wearable devices, personal computers (PCs), netbooks, etc., and can be selected according to application requirements.
[0042] In order to better understand the technical solution of the present application, the relevant contents of the technical problems solved by the present application are first introduced. The fluctuation of the power supply voltage is mainly caused by IR voltage drop and inductive noise di / dt. The IR voltage drop is caused by the parasitic resistance of the current flowing through the power supply network, while the di / dt noise is caused by the parasitic inductance of the parasitic capacitance and resistance. Because of the voltage drop in the harsh load reversal scenario and to ensure the stability of the chip, the AVS voltage will still be much higher than the Vmin voltage of the SoC, and there will be some power consumption waste from the minimum voltage Vmin that the chip can actually reach. It is necessary to be able to further reduce the AVS voltage output by the PMIC, thereby reducing the power consumption of the SoC.
[0043] Figure 1 This is a schematic diagram of the principle of realizing the AVS voltage value in the traditional solution. Figure 1 As shown in the figure, on the path from Vout (PMIC output, corresponding to AVS voltage) to i_load (SoC Die), add board-level capacitors, package capacitors, and chip Cdie ( Figure 1 To reduce the voltage drop, we can only reduce Figure 1The voltage drop curve in the upper part corresponds to the voltage amplitude in the lower double arrow interval, but the voltage drop cannot be completely eliminated. Because the capacitor is a passive device, it can only recharge i_load after the voltage drop occurs in i_load, so the voltage drop cannot be completely eliminated. Because the AVS voltage needs to cover the inductive noise in these harsh scenarios, it will theoretically be higher than Vmin by at least the magnitude of the inductive noise amplitude, so there will still be some power consumption waste.
[0044] In view of this, the present application proposes a control method to further eliminate the voltage drop effect of the inductive noise di / dt, thereby reducing the AVS voltage and obtaining power consumption benefits. Figure 2 This is a flow chart of a control method disclosed in an embodiment of the present application. Figure 2 As shown, the control method may include:
[0045] Step 201: Obtain a first indication signal, where the first indication signal is used to indicate that a load increase occurs in a first chip within a first time period in the future.
[0046] The first indication signal is an indication signal generated when the first chip meets certain conditions, and is used to indicate that the first chip is about to enter a heavy load scenario, or the load of the first chip is about to increase significantly. The first chip may be a SOC chip.
[0047] The heavy load scenario may be calibrated before the first chip is put into use. For example, if the first chip has determined in the development and testing phase that the amplitude or ratio of the change in the electrical parameters during the operation of the first chip reaches a threshold, it can be considered to be in a heavy load scenario. For example, the normal operating current of the first chip is 200mA. When its operating current is increased to more than 500mA, the first chip is considered to be in a heavy load scenario.
[0048] In another implementation, the heavy load scenario can be determined based on the number of tasks in the task queue of the first chip, and when the number of tasks in the task queue reaches a set threshold, the first chip is considered to be in a heavy load scenario. For example, when the number of tasks in the task queue is less than 10, the first chip is considered to be in a normal scenario; when the number of tasks in the task queue is greater than or equal to 10, the first chip is considered to be in a heavy load scenario.
[0049] In other implementations, the heavy load scenario can be associated with a certain type of instruction in the first chip, that is, when a certain instruction appears or is executed in the system, the first chip is considered to be in a heavy load scenario. For example, when a frequency increase instruction or a core power-on instruction is executed in the first chip, it is determined that the first chip is in a heavy load scenario.
[0050] The execution subject of the control method described in the embodiment of the present application can be the power control circuit of the first chip, that is, the circuit that supplies power to the SOC chip. When the load of the SOC chip increases, its voltage requirement will also increase accordingly, that is, its power supply circuit needs to provide a higher power supply voltage. Based on this logic, the present application can determine that the load of the SOC chip is about to increase when the first indication signal is obtained, and make a corresponding response in advance.
[0051] Step 202: Based on the first indication signal, control the power supply module of the first chip to provide a pre-working voltage for the first chip before the load increases, wherein the pre-working voltage is greater than a theoretical voltage, and the theoretical voltage corresponds to a voltage currently required by the first chip.
[0052] The power supply module may be a functional module of a power control circuit (PMIC) for supplying power to the first chip.
[0053] In order to avoid the output voltage of the power control circuit being pulled down to the minimum operating voltage V of the SOC chip when the SOC is under heavy load, min In the following situations, in this application, in the time period when it is determined that the load of the SOC chip is about to increase but the load has not actually increased, the pre-working voltage is provided to the SOC chip in advance, that is, on the basis of providing the SOC with a conventional working voltage, the output voltage is further raised, so that when the subsequent large load scenario of the SOC chip actually arrives, even if the output voltage of the power control circuit is pulled down, the output voltage will not be pulled down to the minimum working voltage of the SOC chip due to the effect of raising the output voltage in advance. Among them, the time period when the load is about to increase but the load has not actually increased can be the time when the first chip waits for the execution of the instruction after sending the execution load task instruction, the frequency increase instruction or the power-on instruction, or it can be the time required for mobilizing the corresponding hardware, such as the switch, to make the corresponding switching after the above instructions start to be executed.
[0054] For example, in the traditional solution, the minimum operating voltage of the SOC chip is V min It is 3V, and the regular output voltage of PMIC is 8V. When the SOC's large load scenario arrives, the regular output voltage of PMIC is pulled down to 4V, and the pull-down value is 8-4=4V; after adopting the solution of the present application, the regular output voltage of PMIC is 5V. After receiving the large load scenario indication signal (first indication signal) of SOC, the SOC is recharged in advance, and the output voltage of PMIC is raised from 5V to 7V. Then, when the SOC's large load scenario arrives, the output voltage of PMIC 7V is pulled down by 4V to 3V, which can still ensure the working state of the SOC chip.
[0055] Therefore, the normal operating voltage provided by the power control circuit for the SOC chip does not need to be set too high (such as the normal operating voltage originally provided is 8V, and the normal operating voltage provided in the present application is 5V), so as to avoid unnecessary power consumption. It is only necessary to raise the normal output voltage in advance when it is determined that the load of the SOC chip is about to increase, so that the raised output voltage can meet the requirement that it will not be pulled down below the minimum operating voltage of the SOC chip when the SOC chip is under a large load scenario.
[0056] The control method described in this embodiment will pre-raise the output voltage of the power control circuit when it is determined that the first chip is about to enter a heavy load scenario, so that the output voltage will not be pulled down below the minimum operating voltage of the first chip when the heavy load scenario of the first chip actually arrives. Therefore, the regular operating voltage of the power control circuit does not need to be set too high, and unnecessary power consumption is avoided while ensuring the working requirements of the first chip.
[0057] In the above embodiment, the first indication signal may be an indication signal triggered and generated by the first chip when any of the following conditions is met: there is a heavy load task in the task queue; the clock management circuit receives a frequency increase instruction; a processing core that was originally not powered on receives a power-on instruction.
[0058] The first chip can detect in real time whether there is a heavy-load task in its task queue, such as a task to start a game application. If so, it indicates that the first chip is about to enter a heavy-load scenario, and at this time, it can trigger the generation of a first indication signal to indicate the power control circuit of the first chip. The heavy-load tasks described in this article do not specifically refer to a certain type of application. For example, among game applications, there may be game applications with relatively high power consumption, such as networked multi-role interactive games, and there may also be game applications with relatively low power consumption, such as some simple stand-alone games. In the application, a whitelist can be configured for all applications with relatively high power consumption in the device, which may include networked multi-role interactive game applications, short video applications, camera applications, etc.; when the task queue contains a task to start an application on the whitelist, it is considered that the first chip is about to enter a heavy-load scenario and a first indication signal is generated.
[0059] When the first chip needs to perform some tasks with relatively high power consumption, it will control the frequency conversion, such as realizing the overclocking function. At this time, it will control the sending of the frequency increase instruction to the clock management circuit, so when the clock management circuit receives the frequency increase instruction, it can trigger the generation of the first indication signal. For example, the original operating frequency of the first chip is 3800MHZ. As more and more tasks are executed on the first chip, in order to ensure the processing performance of the first chip, it is necessary to realize overclocking based on the relevant configuration parameters of the overclocking function of the first chip. Assuming that the overclocking configuration of the overclocking function of the first chip includes two gears, corresponding to 4800MHZ and 5600MHZ, when the task load executed on the first chip reaches the first threshold, the operating frequency of the first chip will be increased based on the first gear overclocking (4800MHZ) parameter, and the operating frequency will be increased to 4800MHZ; when the task load executed on the first chip is further increased to reach the second threshold, the operating frequency of the first chip will be increased based on the second gear overclocking (5600MHZ) parameter, and the operating frequency will be further increased to 5600MHZ. In the embodiment of the present application, when the clock management circuit receives a frequency increase instruction, it can be determined that the load of the first chip is relatively large and generate a first indication signal.
[0060] The first chip may include multiple processing cores. When the overall load of the first chip is relatively small, the number of processing cores required is also relatively small. When the first chip needs to perform some tasks with relatively high power consumption, the processing cores that were originally in a dormant state will be awakened to perform the load tasks; therefore, when the processing core that was originally not powered on receives a power-on instruction, it also indicates that the first chip is about to enter a high-load scenario, which can trigger the generation of a first indication signal. For example, the first chip includes 4 processing cores, two of which are originally in a working state, and the other two processing cores are in a dormant state; when one or two processing cores in a dormant state receive a power-on instruction, it indicates that the load of the first chip has increased, and a first indication signal is generated.
[0061] Figure 3 This is a flow chart of the first chip triggering the generation of the first indication signal disclosed in the embodiment of the present application. Figure 3 When it is determined that there is a heavy load task in the task queue, or the clock management circuit PLL receives a frequency increase instruction, or a processing core receives a power-on instruction, a high load indication signal, that is, the first indication signal, is output; if none of the above situations occurs, the detection of the above situations is continuously maintained.
[0062] The above content introduces several implementations of the first chip triggering the generation of the first indication signal, but does not constitute a fixed restriction on the implementation of triggering the generation of the first indication signal. In actual applications, other implementations that can characterize that the first chip is about to enter a high power consumption scenario should be included in the protection scope of the present application.
[0063] After the first indication signal is triggered, it is also necessary to transmit the first indication signal to the power control circuit side so that the power control circuit can take corresponding actions in a timely manner based on the first indication signal. In one implementation, the first indication signal can be transmitted to the power control circuit side in such a way that: the first indication signal is an instruction synchronized to the first port when the first chip sends an instruction to execute a load task, an instruction to increase the frequency, or an instruction to power on. The first indication signal synchronized to the first port is detected by the power control circuit to control the provision of a pre-working voltage to the first chip during the waiting time for executing any of the aforementioned instructions.
[0064] Figure 4 This is a schematic diagram of the principle of realizing the AVS voltage value disclosed in the embodiment of this application. Figure 4 The schematic diagram of the connection line in the middle and lower parts shows that in addition to the power supply line, there is also a line for transmitting a high load indication signal, that is, the first indication signal, between the power control circuit PMIC and the SOC chip; the line is connected to the first port of the first chip (SOC chip). When the SOC chip sends an instruction to execute a load task, a frequency increase instruction, or a power-on instruction, it triggers the generation of a first indication signal and synchronizes it to the first port. Specifically, it can control the level of the first port to increase. The power control circuit can determine whether there is a first indication signal by monitoring the level on the line of the first port of the first chip. The first port can be an expandable pin or GPIO interface of the first chip, which is connected to an interface of the PMIC through an electrical connection line. After the first chip generates the first indication signal, it is transmitted to the first port, so that the first port changes from a low level to a high level. The high level signal is detected by the PMIC, and it is determined that the first chip is about to enter a heavy load scenario.
[0065] Combination Figure 4 The voltage drop curve in the upper part (where the downward drop curve corresponds to the voltage curve of the traditional solution, and the curve that rises upward and then falls back corresponds to the voltage curve of the solution of the present application) corresponds to the voltage curve of the solution of the present application. Before the voltage drop occurs, that is, before the first chip enters the heavy load scenario, since the first indication signal is obtained in advance, the power control circuit can raise the conventional power supply voltage in advance (see the voltage curve that rises upward before the voltage drop). In this way, when the heavy load scenario of the first chip arrives, since the output voltage of the power control circuit has been raised to a certain value before, even if the output voltage is lowered, it will basically not be much lower than the original conventional output voltage; that is, the conventional output voltage does not need to be set too high.
[0066] In one implementation, the power supply module of the first chip is controlled based on the first indication signal to provide a pre-working voltage for the first chip before the load increases, including: controlling the first switch in the power supply module of the first chip to be turned on for a first time period based on the first indication signal to increase the supply voltage of the power supply module.
[0067] Wherein, the first switch may be Figure 4 The S1 switch shown in FIG. Figure 4 The inductor in the figure is an inductor, which is a component of PMIC. Figure 4 It is shown separately in order to facilitate the subsequent introduction of related content. Figure 4 When the S1 switch is turned on, the power supply of the PMIC can be delivered to the voltage output terminal V of the PMIC through the inductor. out When the S1 switch is turned off, the power supply of the PMIC cannot be delivered to the voltage output terminal V of the PMIC. out In normal operation, the S1 switch and the S2 switch in the PMIC are turned on alternately, that is, when S1 is turned on, S2 is turned off, and when S2 is turned on, S1 is turned off. In the process of alternating conduction of S1 and S2, the PMIC generates a modulated pulse voltage signal, which is converted into the operating voltage required by the SOC after passing through the inductor.
[0068] In the present application, when the first indication signal is obtained, the first switch (S1) in the power supply module of the first chip can be forcibly controlled to be turned on for a first time to increase the power supply voltage of the power supply module. That is, when the S1 switch is continuously turned on, the output voltage of the PMIC continues to rise based on its original output voltage value (the output voltage corresponding to the normal working state) until the S1 switch is turned off. Of course, the maximum output voltage of the PMIC can rise to the same as the power supply V in Similarly, when the output voltage of the PMIC rises to the same level as the power supply V in It is understandable that within a certain range, the longer the first time length is, the greater the increase in the output voltage of the PMIC is; if the first time length is relatively short, the output voltage of the PMIC may not rise to V in After the first duration ends, the output voltage of the PMIC slowly drops back to the original output voltage value under the normal working state of the PMIC (S1 and S2 are alternately turned on). The first duration here is longer than the cycle of S1 and S2 being alternately turned on under normal working conditions, and its specific value can be determined based on the actual application scenario, and this application does not impose a fixed restriction on this.
[0069] After controlling the first switch in the power supply module of the first chip to be turned on for the first duration based on the first indication signal, the method may further include: restoring the default power supply control logic of the power supply module of the first chip, under which the power supply voltage of the power supply module is the theoretical voltage. The default power supply control logic corresponds to the normal working state described above.
[0070] The operation of raising the output voltage of the power supply module has a time limit, namely the first time period. After the first time period, the power supply module needs to restore its default power supply control logic, that is, the implementation of alternating conduction of S1 and S2 to ensure that subsequent power supply work proceeds normally.
[0071] Figure 5 This is a schematic diagram of an implementation flow of the control method disclosed in the embodiment of this application. Figure 5 As shown, in a specific implementation, the PMIC normally outputs the rated supply voltage of the SOC, and during the process, it is detected in real time whether the SOC high load indication signal (first indication signal) is 1; if so, the buck converter BUCK upper tube S1 switch is controlled to be turned on in advance for 1us, and automatically returns to the default control logic after 1us. Figure 5 Understand the foregoing.
[0072] In summary, the control method described in the embodiment of the present application forces the upper switch S1 (first switch) of the buck converter in the power supply module to be turned on for a first period of time before the first chip enters the heavy load working state, and replenishes power to the first chip in advance to eliminate the impact of voltage drop caused by induced noise when the heavy load of the first chip arrives; and automatically restores to the default power supply control logic of the power supply module after the first period of time to ensure that the first chip returns to the power supply demand normally. Since the first chip can be replenished with power in advance before the heavy load arrives, the regular power supply voltage of the first chip can be set lower than that of the traditional solution, saving overall power consumption.
[0073] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0074] The method is described in detail in the above embodiments disclosed in the present application. The present application also discloses a power supply control circuit, which is described in detail in specific embodiments given below.
[0075] Figure 6 This is a schematic diagram of the structure of a power control circuit disclosed in an embodiment of the present application. Figure 6 As shown, the power control circuit may include:
[0076] The power control module 601 includes a first switch and a power supply, wherein a first end of the first switch is connected to the power supply, and a second end of the first switch is connected to a voltage output port.
[0077] The compensation control module 602 is used to output a first control signal upon receiving a first indication signal, wherein the first indication signal is used to indicate that a load increase occurs in the load chip within a first time period in the future.
[0078] The processing module 603 is connected to the compensation control module and the line connection module, and is used to control the first switch to be turned on when the compensation control module outputs a first control signal, so that the power supply directly provides a pre-working voltage to the load chip through the voltage output port, and the pre-working voltage is greater than the theoretical voltage, and the theoretical voltage corresponds to the voltage currently required by the load chip.
[0079] The power control module can control the on and off of the first switch. When the first switch is in the on state, the power supply is directly connected to the voltage output port; the compensation control module can be a register of the power control circuit, which outputs a first control signal when receiving a first indication signal, and sends a first control signal to the processing module when determining that the load chip is about to experience a load increase; after receiving the first control signal, the processing module controls the power control module to turn on the first switch, so that the power supply directly provides a pre-working voltage to the load chip through the voltage output port, that is, before the large load scenario of the load chip arrives, the load chip is supplemented with power in advance to raise the output voltage, so that when the large load scenario of the load chip arrives, the output voltage will not be lowered below the minimum working voltage of the load chip when the output voltage is lowered, thereby ensuring the normal working state of the load chip.
[0080] The control method described in this embodiment will pre-raise the output voltage of the power control circuit when it is determined that the load chip is about to enter a heavy load scenario, so that the output voltage will not be pulled down below the minimum operating voltage of the first chip when the heavy load scenario of the first chip actually arrives. Therefore, the regular operating voltage of the power control circuit does not need to be set too high, and unnecessary power consumption is avoided while ensuring the working requirements of the first chip.
[0081] In one implementation, the power supply control module also includes a second switch, a waveform control module and a switch control circuit; the first end of the second switch is grounded, and the second end of the second switch is connected to the voltage output port; the processing module is connected in series between the waveform control module and the first end of the switch control circuit; the second end of the switch control circuit is connected to the first switch and the second switch respectively; the switch control circuit is used to control the switching state of the first switch and the second switch; the waveform control module is used to generate a second control signal to control the switching state of the first switch and the second switch, and the second control signal is used to control the first switch and the second switch to be alternately turned on separately. Figure 7 This is a schematic diagram of another power control circuit disclosed in an embodiment of the present application, which can be combined with Figure 7 Understand the foregoing.
[0082] In one implementation, the processing module may be an OR operation calculator, which takes the first control signal output by the compensation control module and the second control signal generated by the waveform control module as input. The compensation control module may be specifically configured to output a first control signal of a first duration upon receiving a first indication signal.
[0083] Figure 8 The schematic diagram of the circuit structure of the power control circuit disclosed in the embodiment of the present application, wherein the PWM waveform generator corresponds to the waveform control module, S1 corresponds to the first switch, S2 corresponds to the second switch, and can be combined with Figure 7 Understand the structure of each part of the power control module and its connection with other modules. Figure 7 The PID controller, error generator and AD sampler in the power supply control circuit are auxiliary structure circuits. Figure 8 The PWM waveform generator generates a signal to control the switching frequency of S1 / S2 in the normal working state, thereby adjusting the final output V out The AD sampler is used to sample V out The voltage is output to the error generator, which compares the sampled voltage with the target voltage to generate an error control signal. The PID controller forms a corresponding control signal to the PWM waveform generator to adjust the PWM waveform of the PWM waveform generator, thereby feedback adjusting V OUT , and finally make the output consistent with the target voltage. The target voltage may be the rated supply voltage of the SOC.
[0084] Combination Figure 8In a specific implementation, after the PWM waveform is generated, the S1 switch signal is made to be OR-calculated with the first control signal output by the high-load indication register, so that S1 is forced to be turned on and S2 is forced to be turned off for about 1us (maintained for about 30 cycles at 38.4MHz), so that Vout is powered in advance. This further eliminates the induced noise, achieves a lower AVS voltage, and obtains greater power consumption benefits. The indication signal corresponding to the first control signal output by the high-load indication register is a high level 1, so no matter whether the PWM waveform output is a low level or a high level, or it is a high level 1 after calculation, S1 is turned on and s2 is turned off under the action of the high level signal; when the indication signal is a low level 0, or the result of the calculation is consistent with the output of the PWM wave, the normal working state is restored.
[0085] Fig. 9 This is another schematic diagram of the principle of realizing the AVS voltage value disclosed in the embodiment of this application. Fig. 9 As shown, under the same Vmin, the AVS voltage can be reduced as ΔV as shown in the following figure. A lower AVS voltage can obtain greater power consumption benefits. Fig. 9 In the voltage curve in the middle and upper part, the original AVS voltage is set higher than the minimum operating voltage V of SOC in order to meet the voltage drop caused by inductive noise when a large load scenario arrives. min The current AVS voltage corresponding to the present application adopts the strategy of pre-charging the SOC before the heavy load scenario arrives, so it can ensure that the voltage has risen to a certain value when the heavy load scenario arrives, and this voltage value can meet the voltage drop requirement, so that the voltage after the drop is still not lower than the minimum working voltage V of the SOC. min Therefore, in the present application, the voltage value of the PMIC under normal working state can be set much lower than the original AVS voltage, saving overall power consumption.
[0086] Furthermore, the present application discloses an electronic device, which includes any one of the power control circuits described above. Since it includes the power control circuit disclosed in the embodiment of the present application, it can implement the corresponding control logic of the power control circuit and achieve the same technical effect as the power control circuit, that is, when it is determined that the first chip is about to enter a heavy load scenario, the output voltage of the power control circuit will be raised in advance, so that the output voltage will not be pulled down below the minimum operating voltage of the first chip when the heavy load scenario of the first chip actually arrives, so that the normal operating voltage of the power control circuit does not need to be set too high, saving overall power consumption.
[0087] Any one of the power control circuits described in the above embodiments includes a processor and a memory. The power control module, compensation control module, processing module, etc. in the above embodiments are all stored in the memory as program modules, and the processor executes the above program modules stored in the memory to implement corresponding functions.
[0088] The processor includes a kernel, which retrieves the corresponding program module from the memory. One or more kernels can be set, and the processing of the access data can be realized by adjusting the kernel parameters.
[0089] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0090] In an exemplary embodiment, a computer-readable storage medium is also provided, which can be directly loaded into the internal memory of a computer and contains software code. After the computer program is loaded and executed, it can implement the steps shown in any embodiment of the above control method.
[0091] In an exemplary embodiment, a computer program product is also provided, which can be directly loaded into the internal memory of a computer, wherein the computer program contains software codes, and after being loaded and executed by a computer, the computer program can implement the steps shown in any embodiment of the control method described above.
[0092] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0093] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0094] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0095] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. 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 application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A control method, comprising: Obtaining a first indication signal, where the first indication signal is used to indicate that a load increase occurs on the first chip within a first time period in the future; Based on the first indication signal, the power supply module of the first chip is controlled to provide a pre-working voltage for the first chip before the load increases, wherein the pre-working voltage is greater than a theoretical voltage, and the theoretical voltage corresponds to a voltage currently required by the first chip.
2. The control method according to claim 1, wherein: The first indication signal is an indication signal generated when the first chip is triggered when any of the following conditions is met: There are heavy load tasks in the task queue; The clock management circuit receives a frequency increase instruction; The processing core that was originally not powered on receives a power-on instruction.
3. The control method according to claim 1, wherein: The first indication signal is an instruction synchronized to the first port when the first chip sends an instruction to execute a load task, an instruction to increase the frequency, or a power-on instruction. The first indication signal synchronized to the first port is monitored by the power supply module to control the provision of a pre-working voltage to the first chip during the waiting time for executing any of the aforementioned instructions.
4. The method according to claim 3, wherein obtaining the first indication signal comprises: Whether a first indication signal exists is determined by monitoring the level of a line of the first port of the first chip.
5. The control method according to claim 1, wherein the power supply module of the first chip is controlled based on the first indication signal to provide a pre-working voltage for the first chip before the load rises, comprising: Based on the first indication signal, a first switch in a power supply module of the first chip is controlled to be turned on for a first time period to increase a power supply voltage of the power supply module.
6. The control method according to claim 5, after controlling the first switch in the power supply module of the first chip to be turned on for a first time period based on the first indication signal, further comprising: The default power supply control logic of the power supply module of the first chip is restored, and under the default power supply control logic, the power supply voltage of the power supply module is the theoretical voltage.
7. A power control circuit, comprising: A power control module, comprising a first switch and a power supply, wherein a first end of the first switch is connected to the power supply, and a second end of the first switch is connected to a voltage output port; a compensation control module, configured to output a first control signal upon receiving a first indication signal, wherein the first indication signal is configured to indicate that a load increase occurs in the load chip within a first time period in the future; A processing module is connected to the compensation control module and the line connection module, and is used to control the first switch to be turned on when the compensation control module outputs a first control signal, so that the power supply directly provides a pre-working voltage to the load chip through the voltage output port, and the pre-working voltage is greater than the theoretical voltage, and the theoretical voltage corresponds to the voltage currently required by the load chip.
8. The power control circuit according to claim 7, wherein the power control module further comprises a second switch, a waveform control module and a switch control circuit; the first end of the second switch is grounded, and the second end of the second switch is connected to a voltage output port; the processing module is connected in series between the waveform control module and the first end of the switch control circuit; the second end of the switch control circuit is connected to the first switch and the second switch respectively; The switch control circuit is used to control the switch states of the first switch and the second switch; The waveform control module is used to generate a second control signal for controlling the switching states of the first switch and the second switch, and the second control signal is used to control the first switch and the second switch to be turned on alternately and separately. 9 . The power control circuit according to claim 8 , wherein the processing module is an OR operation calculator, and the OR operation calculator takes the first control signal output by the compensation control module and the second control signal generated by the waveform control module as input. 10 . The power control circuit according to claim 7 , wherein the compensation control module is specifically configured to output a first control signal of a first duration upon receiving a first indication signal.
11. An electronic device comprising the power control circuit according to any one of claims 7 to 10.
