Power supply system, electronic device, and power supply adjustment method

By introducing GPIO ports into the power supply system, the load module generates voltage regulation commands, and the power supply module quickly responds to adjust the voltage of the power supply signal, solving the problem of untimely power supply voltage regulation in the power supply system and realizing the efficient operation of the power supply system.

CN115514191BActive Publication Date: 2026-03-17GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-09
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Existing technologies struggle to quickly adjust the load's supply voltage to balance performance and power consumption, resulting in low efficiency in the power supply system.

Method used

By introducing GPIO ports into the power supply system, the load module can generate voltage regulation commands, and the power supply module can quickly respond to adjust the voltage of the power supply signal to achieve real-time adjustment of the power supply voltage.

Benefits of technology

It achieves rapid response to power supply signals and precise voltage regulation, improving the immediacy and efficiency of the power supply system and reducing power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115514191B_ABST
    Figure CN115514191B_ABST
Patent Text Reader

Abstract

Embodiments of the present application relate to a power supply system, an electronic device and a power supply adjustment method. The power supply system comprises: a load module having a GPIO output port and a power supply input port, the load module being configured to determine a target power supply voltage corresponding to a current working frequency, generate a voltage adjustment instruction according to a power supply signal received through the power supply input port and the target power supply voltage, and output the voltage adjustment instruction through the GPIO output port; and a power supply module having a GPIO input port and a power supply output port, the GPIO input port being connected to the GPIO output port, and the power supply output port being connected to the power supply input port, the power supply module being configured to provide the power supply signal through the power supply output port, and adjust the voltage of the power supply signal to the target power supply voltage according to the voltage adjustment instruction received through the GPIO input port.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power supply technology, and in particular to a power supply system, electronic device, and power supply regulation method. Background Technology

[0002] As living standards continue to improve, people's performance requirements for various loads are also constantly increasing. With the continuous development of increasingly advanced manufacturing processes, the number of integrated transistors is growing exponentially, which means that load power consumption will continue to rise. Therefore, during the operation of a load, it is necessary to flexibly and quickly configure the load's power supply voltage to achieve a balance between performance and power consumption. Summary of the Invention

[0003] Therefore, it is necessary to provide a power supply system, electronic equipment, and power supply regulation method that can quickly adjust the power supply voltage to address the above-mentioned technical problems.

[0004] In a first aspect, this application provides a power supply system, comprising:

[0005] The load module has a GPIO output port and a power supply input port. The load module is used to determine the target power supply voltage corresponding to the current operating frequency, generate a voltage adjustment command based on the power supply signal received through the power supply input port and the target power supply voltage, and output the voltage adjustment command through the GPIO output port.

[0006] The power supply module has a GPIO input port and a power supply output port. The GPIO input port is connected to the GPIO output port, and the power supply output port is connected to the power supply input port. The power supply module is used to provide the power supply signal through the power supply output port and adjust the voltage of the power supply signal to the target power supply voltage according to the voltage adjustment command received through the GPIO input port.

[0007] Secondly, this application provides an electronic device, including the power supply system described above.

[0008] Thirdly, this application provides a power supply regulation method applied to a power supply module, the power supply module having GPIO input ports and power supply output ports, the method comprising:

[0009] A power supply signal is provided to the load module via the power supply output port;

[0010] When a voltage adjustment command is received, the voltage of the power supply signal is adjusted to the target power supply voltage in response to the voltage adjustment command. The voltage adjustment command is generated by the load module based on the received power supply signal and the target power supply voltage, and the target power supply voltage corresponds to the current operating frequency of the load module.

[0011] The aforementioned power supply system, electronic equipment, and power supply regulation method, in the power supply system, by setting up GPIO output ports for the load module and GPIO input ports for the power supply module, allow the load module to generate voltage regulation commands for feedback regulation based on the real-time received supply voltage. This controls the voltage of the supply signal output from the power supply module to the load module, ensuring that the load module receives an appropriate supply signal. Furthermore, compared to various ports that communicate based on communication protocols, GPIO ports can directly transmit commands without being limited by the timing requirements of communication protocols, thus greatly improving the immediacy of command transmission. Therefore, the power supply module can quickly respond to voltage regulation commands; that is, the power supply module can rapidly adjust the voltage of the supply signal. Attached Figure Description

[0012] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying 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.

[0013] Figure 1 This is one of the structural schematic diagrams of a power supply system according to an embodiment;

[0014] Figure 2 This is a second schematic diagram of the power supply system according to one embodiment;

[0015] Figure 3 This is the third schematic diagram of the power supply system in one embodiment;

[0016] Figure 4 This is the fourth schematic diagram of the power supply system in one embodiment;

[0017] Figure 5 A flowchart of a power supply regulation method according to one embodiment;

[0018] Figure 6 This is an internal structural diagram of an electronic device according to an embodiment.

[0019] Component designation explanation:

[0020] Load module: 100; Voltage regulation unit: 110; Core unit: 120; Power supply module: 200; Logic control circuit: 210; Power supply circuit: 220. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0022] It is understood that the terms "first," "second," etc., used in this application may be used to describe various components, but these components are not limited by these terms. These terms are only used to distinguish one component from another. For example, without departing from the scope of this application, a first GPIO output port may be referred to as a second GPIO output port, and similarly, a second GPIO output port may be referred to as a first GPIO output port. Both the first GPIO output port and the second GPIO output port are GPIO output ports, but they are not the same GPIO output port.

[0023] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified. In the description of this application, "several" means at least one, such as one, two, etc., unless otherwise explicitly specified.

[0024] This application provides a power supply system that can be applied to electronic devices. These electronic devices can be, but are not limited to, various personal computers, laptops, smartphones, tablets, electric vehicles, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc.

[0025] Figure 1 This is one of the structural schematic diagrams of a power supply system according to an embodiment, with reference to... Figure 1 The power supply system includes a load module 100 and a power supply module 200. The load module 100 may be, but is not limited to, a processor, a display module, or a radio frequency module. The processor includes, but is not limited to, a central processing unit (CPU) and a graphics processing unit (GPU). The power supply module 200 supplies power to the load module 100 to support its operation. For ease of explanation, in the embodiments of this application, the load module 100 is described as a processor.

[0026] The load module 100 has a GPIO output port and a power supply input port. A GPIO port is a port used to connect general-purpose input / output (GPIO) signal lines. GPIO connections are simple, power consumption is low, and it is not limited by the timing requirements of various communication protocols; therefore, GPIO can achieve faster communication speeds. The load module 100 is used to determine the target supply voltage corresponding to the current operating frequency, generate a voltage adjustment command based on the power supply signal received through the power supply input port and the target supply voltage, and output the voltage adjustment command through the GPIO output port. The target supply voltage refers to the minimum voltage that can support the load module 100 to operate normally at the current operating frequency. It is understood that due to slight differences in manufacturing processes, even load modules 100 from the same batch may not have completely identical performance. For example, when different processors are operating at the same frequency, the voltage of the power supply signal actually received by different processors will differ due to the influence of power supply line resistance. Therefore, even load modules 100 from the same batch, at the same operating frequency, will have slightly different target supply voltages. In other words, in actual operation, voltage adjustment is required for each load module 100 to achieve a better balance between performance and power consumption.

[0027] Specifically, to balance processor performance and power consumption, a common processor operating strategy is dynamic voltage and frequency scaling (DVFS). It's understandable that as the processor's operating frequency increases, the transistor's switching frequency increases, improving performance but also increasing power consumption. Therefore, when the processor requires high performance, its operating frequency and supply voltage are increased. When the processor is relatively idle, its operating frequency and supply voltage are decreased, allowing the processor to flexibly configure its operating state. That is, the load module 100 can change its operating frequency based on the real-time data volume to reduce power consumption while meeting performance requirements. The DVFS strategy can define N typical operating frequencies for the processor and, through experimental testing, determine the target supply voltage required for stable operation at each frequency. This allows the processor to adjust its operating frequency according to the complexity of the tasks it needs to handle.

[0028] Table 1 is a frequency-target supply voltage mapping table for the load module 100 in one embodiment. Referring to Table 1, the example is given with the voltage of the supply signal received by the load module 100 as VOUT. If the current operating frequency of the load module 100 is f2, the corresponding target supply voltage is V3'. The load module 100 can compare the actual received supply signal voltage VOUT with the target supply voltage V3', and generate a voltage adjustment command based on the comparison result. This makes the voltage of the supply signal received by the load module 100 in the next moment closer to the target supply voltage. After several adjustment cycles, the voltage of the supply signal received by the load module 100 is approximately equal to the target supply voltage. Therefore, based on the characteristics of GPIO, the voltage adjustment command consumes almost no transmission time, thus allowing for rapid adjustment of the supply signal voltage.

[0029] Table 1. Operating Frequency-Target Supply Voltage Mapping Table

[0030]

[0031]

[0032] The power supply module 200 has a GPIO input port and a power supply output port. The GPIO input port and the GPIO output port are connected via GPIO lines, and the power supply output port is connected to the power supply input port. The power supply module 200 provides the power supply signal through the power supply output port and adjusts the voltage of the power supply signal to the target power supply voltage according to the voltage adjustment command received through the GPIO input port. The voltage of the power supply signal output by the power supply module 200 can be determined by the power supply module 200 itself. For example, when the power supply module 200 starts outputting the power supply signal, it can output a preset, larger voltage without considering the operating conditions of the load module 100, and this larger voltage can support the normal operation of any load module 100. Alternatively, the voltage of the power supply signal output by the power supply module 200 can be determined by the power supply module 200 under the control of the load module 100, thereby matching a more appropriate voltage according to the conditions of the load module 100 to avoid excessive power consumption of the power supply signal.

[0033] In this embodiment, by providing a GPIO output port for the load module 100 and a GPIO input port for the power supply module 200, the load module 100 can generate a voltage regulation command for feedback adjustment based on the real-time received power supply voltage. This controls the voltage of the power supply signal output by the power supply module 200 to the load module 100, ensuring that the load module 100 receives an appropriate power supply signal. Furthermore, compared to various ports that communicate based on communication protocols, the GPIO port can directly transmit commands without being limited by the timing requirements of the communication protocol, thus greatly improving the immediacy of command transmission. Therefore, the power supply module 200 can quickly respond to the voltage regulation command; that is, the power supply module 200 can quickly adjust the voltage of the power supply signal.

[0034] Figure 2 This is a second schematic diagram of the power supply system according to one embodiment, with reference to... Figure 2 In one embodiment, the load module 100 further includes a communication output port, and the power supply module 200 further includes a communication input port, which is connected to the communication output port. Specifically, the communication input port and the communication output port are connected via a communication line for issuing or receiving commands. The type of communication line can be, but is not limited to, I2C, SPI, SPMI, etc. The load module 100 is used to determine the initial power supply voltage corresponding to the current operating frequency, generate and output an initial voltage command carrying the initial power supply voltage information via the communication output port, wherein the initial power supply voltage is greater than the target power supply voltage. The initial power supply voltage is the voltage that ensures the normal operation of multiple load modules 100 in the same batch, and the target power supply voltage is the most appropriate voltage determined for a single load module 100. That is, load modules 100 in the same batch have the same initial power supply voltage but not entirely the same target power supply voltage.

[0035] Specifically, the initial supply voltage can be provided by the processor manufacturer. When each processor leaves the factory, the processor manufacturer measures the initial operating voltage of each processor at each operating frequency, and the voltage of the supply signal obtained through the measurement can be written into the processor. Table 2 is the operating frequency - initial supply voltage mapping table of the load module 100 in an embodiment. Referring to Table 2, the operating frequencies in Table 2 are the same as those in Table 1. Correspondingly, V1’ < V1, V2’ < V2, and so on, Vn’ < Vn. The power supply module 200 is configured to receive the initial voltage instruction through the communication input port and provide the supply signal with the initial supply voltage according to the initial voltage instruction. In this embodiment, through the initial voltage instruction, the power supply module 200 can first output an initial supply voltage sufficient to support any load module 100 in this batch to operate normally, and then through subsequent adjustment steps, the power supply module 200 adjusts the output supply signal to the voltage most suitable for a specific load module 100.

[0036] Table 2 Operating Frequency - Initial Supply Voltage Mapping Table

[0037] Operating frequency Initial supply voltage f0 V1 f1 V2 f2 V3 f3 V4 f4 V5 f5 V6 f6 V7

[0038] Continue to refer to Figure 2 In one embodiment, the load module 100 includes a voltage regulation unit 110 and a core unit 120. Among them, the voltage regulation unit 110 can also be referred to as a Voltage Regulator Module (VRM). The voltage regulation unit 110 provides a user interface to enable control of the operating voltages of each module in the processor. The voltage regulation unit 110 is connected to the communication output port to be connected to the power supply module 200 through a communication line. The voltage regulation unit 110 is configured to determine the initial supply voltage corresponding to the current operating frequency, generate and output an initial voltage instruction carrying the initial supply voltage information through the communication output port. The core unit 120 is the core of the processor, and the logical operation tasks of the processor are usually completed by the core unit 120. The aforementioned power supply to the processor usually refers to power supply to the core unit 120 in the processor. The core unit 120 is connected to the GPIO output port to be connected to the power supply module 200 through a GPIO line. The core unit 120 is configured to determine the target supply voltage corresponding to the current operating frequency, generate a voltage regulation instruction based on the received supply signal and the target supply voltage, and output the voltage regulation instruction through the GPIO output port. The GPIO output port is directly controlled by the core unit 120, that is, the core unit 120 directly controls the GPIO output port to output a high level state or a low level state.

[0039] Specifically, during use, the user can write Table 2 into the voltage regulation unit 110 in the processor. The frequency monitoring component in the voltage regulation unit 110 monitors the operating frequency of the core unit 120 in real time and determines the initial power supply voltage required by the core unit 120 by referring to the information in Table 2. Then, it sends the initial voltage command to the power supply module 200 via the communication line. After the power supply module 200 obtains the initial voltage command for the current power supply voltage required by the processor, it adjusts the voltage of the output power supply signal so that the voltage VOUT of the power supply signal received by the load module 100 satisfies the relationship in Table 2. Furthermore, the core unit 120 outputs a voltage regulation command based on the matching result in Table 1, thereby enabling more precise adjustment of the power supply signal voltage, ensuring that the voltage VOUT of the power supply signal received by the load module 100 satisfies the relationship in Table 1. In this embodiment, by controlling the voltage regulation command output by the GPIO output port through the core unit 120, the time delay for making minor adjustments to the power supply signal voltage is minimized, thereby maximizing the voltage regulation speed.

[0040] Figure 3 This is the third schematic diagram of a power supply system according to an embodiment, with reference to... Figure 3 In one embodiment, the load module 100 is configured with two GPIO output ports, and the power supply module 200 is configured with two GPIO input ports, each connected to one of the two GPIO output ports. The two GPIO output ports do not simultaneously output the voltage adjustment command. The voltage adjustment command output by the first GPIO output port controls the power supply module 200 to increase the voltage of the power supply signal, while the voltage adjustment command output by the second GPIO output port controls the power supply module 200 to decrease the voltage of the power supply signal. The power supply module 200 adjusts the voltage of the power supply signal according to the GPIO input port that receives the voltage adjustment command. For example, if the load module 100 needs to increase the voltage of the received power supply signal, it can output a voltage adjustment command through the first GPIO output port. This voltage adjustment command will be transmitted to the first GPIO input port of the power supply module 200. After the power supply module 200 determines that the port receiving the voltage adjustment command is the first GPIO input port, it will correspondingly increase the voltage of the power supply signal, thereby achieving feedback control of the power supply signal voltage. In this embodiment, by setting two GPIO input ports and two GPIO output ports, the voltage rise and fall can be controlled separately through different GPIO lines, thereby reducing the complexity of the signals that need to be transmitted on each GPIO line, and thus speeding up the parsing and response speed of the power supply module 200 to voltage adjustment commands.

[0041] In one embodiment, the load module 100 is used to change the level state of a corresponding GPIO output port as the voltage adjustment command when the power supply signal and the target power supply voltage meet preset conditions. The level state includes a high level state and a low level state. The power supply module 200 is used to adjust the voltage of the power supply signal according to the GPIO input port whose level state has changed. For example, the load module 100 can switch the level state of a GPIO output port from a low level state to a high level state as the voltage adjustment command, that is, generate a rising edge as the voltage adjustment command. Accordingly, the power supply module 200 can determine the GPIO input port that receives the rising edge and adjust the voltage of the power supply signal. In this embodiment, the level state switching circuit is relatively simple, which can reduce the area occupied by related circuits in the load module 100 and reduce the size of the load module 100. Moreover, the rising edge and falling edge generated by the level state switching can be detected quickly and accurately. Therefore, the power supply module 200 can respond quickly to the voltage adjustment command, thereby improving the voltage adjustment speed. Continue to refer to Figure 3 Similar to GPIO lines, the load module 100 can be configured with two communication output ports, and the power supply module 200 can be configured with two communication input ports. Correspondingly, the two communication input ports are connected to the two communication output ports. One communication line is used to transmit an initial voltage signal to increase the voltage of the power supply signal, and the other communication line is used to transmit an initial voltage signal to decrease the voltage of the power supply signal.

[0042] Figure 4 This is the fourth schematic diagram of a power supply system according to an embodiment, with reference to... Figure 4 In one embodiment, the power supply module 200 includes a logic control circuit 210 and a power supply circuit 220. The logic control circuit 210 is connected to the GPIO input port and is used to receive the voltage adjustment command and control the duty cycle of the output drive signal according to the voltage adjustment command. The power supply circuit 220 is connected to both the logic control circuit 210 and the load module 100, and is used to receive the drive signal and provide a corresponding power supply signal according to the drive signal. The voltage of the power supply signal and the duty cycle of the drive signal have a preset mapping relationship.

[0043] The power supply circuit 220 can perform voltage conversion, thereby enabling the adjustment of different output voltages. For example, the power supply circuit 220 can be a Buck circuit, which includes a half-bridge power section composed of MOSFETs and an energy storage and filtering section composed of inductors and capacitors. The half-bridge power section can include switching transistors M1 and M2. The first terminal of switching transistor M1 is connected to a first power supply voltage terminal, the second terminal of switching transistor M1 is connected to the first terminal of switching transistor M2, and the second terminal of switching transistor M2 is connected to a second power supply voltage terminal. The first power supply voltage terminal can be, for example, the VIN terminal, and the second power supply voltage terminal can be, for example, the ground terminal. Optionally, switching transistors M1 and M2 are of the same type, for example, both are either high-level turned on or both are low-level turned on. Switches M1 and M2 are controlled by different signals H0 and L0, respectively, and the on / off times of H0 and L0 are always complementary. Based on the above circuit, the logic control circuit 210 can adjust the duty cycle by regulating the two signals to enable the power supply circuit 220 to output power supply signals of different voltages. The energy storage and filtering section includes a first inductor L1 and a first capacitor C1. The two ends of the first inductor L1 are connected to the second terminal of the switching transistor M1 and the load module 100, respectively. The two ends of the first capacitor are connected to the first inductor L1 and the second power supply voltage terminal, respectively. The energy storage and filtering section smooths the waveform after chopping by M1 and M2, making the output power supply signal continuous, smooth, and stable. In this embodiment, the proportion of the conduction time of the drive signal H0 of the switching transistor M1 in the entire switching cycle is called the duty cycle of the drive signal. Adjusting the duty cycle can change the voltage of the output power supply signal.

[0044] In one embodiment, the power supply module 200 is used to adjust the voltage of the power supply signal by a preset voltage step size according to the voltage adjustment command. Specifically, the minimum change in the duty cycle corresponds to the minimum adjustment step size of the voltage output by the power supply module 200, i.e., the preset voltage step size Vs. For example, if V1 is 0.6V and V2 is 0.8V, then Vs can be 6.25mV, thereby realizing the gradual adjustment of the voltage of the power supply signal.

[0045] In one embodiment, the load module 100 is configured to output a voltage adjustment command via the first GPIO output port when the power supply signal is less than the target power supply voltage and the difference between the power supply signal and the target power supply voltage is greater than the preset voltage step size. For example, if the voltage of the power supply signal currently received by the load module 100 is 0.793V, the target power supply voltage is 0.8V, and the preset voltage step size Vs is 6.25mV, then the difference between the voltage of the power supply signal and the target power supply voltage is 0.007V, which is greater than the preset voltage step size Vs. In this case, the load module 100 outputs the voltage adjustment command via the first GPIO output port to increase the voltage of the power supply signal output by the power supply module 200 by 6.25mV, so that the voltage of the power supply signal received by the load module 100 at the next moment is approximately 0.799V. Since the difference between 0.799V and the target power supply voltage is less than the preset voltage step size Vs, the load module 100 no longer outputs a voltage adjustment command at the next moment.

[0046] In one embodiment, the load module 100 is configured to output a voltage adjustment command via the second GPIO output port when the power supply signal is greater than the target power supply voltage and the difference between the power supply signal and the target power supply voltage is greater than the preset voltage step size. For example, if the voltage of the power supply signal currently received by the load module 100 is 0.807V, the target power supply voltage is 0.8V, and the preset voltage step size Vs is 6.25mV, then the difference between the voltage of the power supply signal and the target power supply voltage is 0.007V, which is greater than the preset voltage step size Vs. In this case, the load module 100 outputs the voltage adjustment command via the second GPIO output port to reduce the voltage of the power supply signal output by the power supply module 200 by 6.25mV, so that the voltage of the power supply signal received by the load module 100 at the next moment is approximately 0.801V. Since the difference between 0.801V and the target power supply voltage is less than the preset voltage step size Vs, the load module 100 no longer outputs a voltage adjustment command at the next moment.

[0047] In this embodiment, the kernel unit 120 continuously monitors the voltage of the power supply signal output by the power supply module 200, reads Table 1 (as described above) indicating that the kernel unit 120 can operate stably at the factory, and compares the read result with the actual monitored voltage. If the voltage in Table 1 is greater than the actual voltage of the power supply signal reaching the kernel unit 120, and the difference between the target power supply voltage required for the current operating frequency and the actual voltage of the power supply signal reaching the kernel unit 120 is greater than Vs, then the first GPIO output port is pulled high, so that the logic control circuit 210 controls the drive signal to increase the minimum duty cycle by one level, thereby increasing the voltage of the power supply signal by Vs. The above steps of comparing the voltage in Table 1 with the actual voltage of the power supply signal are repeated until the difference between the actual voltage of the power supply signal reaching the kernel unit 120 and the target power supply voltage required for the current operating frequency in Table 1 is less than Vs. If the voltage in Table 1 is less than the actual voltage of the power supply signal reaching the core unit 120, and the difference between the actual voltage of the power supply signal reaching the core unit 120 and the target power supply voltage required for the current operating frequency in Table 1 is greater than Vs, then the second GPIO output port is pulled high so that the logic control circuit 210 controls the drive signal to lower the minimum duty cycle by one level, so that the voltage of the power supply signal decreases by Vs. The above steps of comparing the voltage in Table 1 with the actual voltage of the power supply signal are repeated until the difference between the actual voltage of the power supply signal reaching the core unit 120 and the target power supply voltage required for the current operating frequency in Table 1 is less than Vs.

[0048] This application also provides an electronic device, including the power supply system described above. Based on the power supply system, the electronic device of this embodiment can quickly adjust the voltage of the power supply signal to each load, thereby reducing the power consumption of the electronic device while ensuring its performance.

[0049] This application embodiment also provides a power supply regulation method, which can be applied to... Figures 1 to 4 The power supply module 200 of any embodiment has a GPIO input port and a power supply output port. Figure 5 Here is a flowchart of a power supply regulation method according to one embodiment, with reference to... Figure 5 The method includes steps 502 to 504.

[0050] Step 502: Provide a power supply signal to the load module via the power supply output port.

[0051] Step 504: When a voltage adjustment command is received, the voltage of the power supply signal is adjusted to the target power supply voltage in response to the voltage adjustment command.

[0052] The voltage adjustment command is generated by the load module based on the received power supply signal and the target power supply voltage, where the target power supply voltage corresponds to the current operating frequency of the load module. Specific limitations on the power supply adjustment method can be found in the power supply system limitations section above, and will not be repeated here. In this embodiment, the above steps enable rapid adjustment of the power supply voltage.

[0053] In one embodiment, an electronic device is provided, which may be a terminal. The terminal may be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices may include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices may include smartwatches, smart bracelets, head-mounted devices, etc. Figure 6 This is an internal structural diagram of an electronic device according to an embodiment. The electronic device includes a processor, memory, communication interface, display screen, and input device connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a power supply regulation method. The display screen can be a liquid crystal display (LCD) or an e-ink display. The input device can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the device's casing, or an external keyboard, touchpad, or mouse.

[0054] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0055] In one embodiment, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0056] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described method embodiments.

[0057] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0058] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0059] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0060] The above-described embodiments are merely illustrative of several implementation methods of the embodiments of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the embodiments of this application, and these all fall within the protection scope of the embodiments of this application. Therefore, the protection scope of the patent for the embodiments of this application should be determined by the appended claims.

Claims

1. A power supply system characterized by comprising: The power supply system comprises: a load module having a GPIO output port, a power supply input port and a communication output port, the load module being configured to determine an initial power supply voltage corresponding to a current working frequency, generate and output an initial voltage instruction carrying the initial power supply voltage information via the communication output port, and determine a target power supply voltage corresponding to the current working frequency, generate a voltage adjustment instruction according to a power supply signal received via the power supply input port and the target power supply voltage, and output the voltage adjustment instruction via the GPIO output port, wherein the initial power supply voltage is greater than the target power supply voltage; a power supply module having a GPIO input port, a power supply output port and a communication input port, the GPIO input port being connected to the GPIO output port, the power supply output port being connected to the power supply input port, and the communication input port being connected to the communication output port, the power supply module being configured to receive the initial voltage instruction via the communication input port, and provide the power supply signal having the initial power supply voltage via the power supply output port according to the initial voltage instruction; and further configured to adjust the voltage of the power supply signal to the target power supply voltage according to the voltage adjustment instruction received via the GPIO input port.

2. The power supply system of claim 1, wherein The load module is configured with two GPIO output ports, and the power supply module is configured with two GPIO input ports, the two GPIO input ports being connected to the two GPIO output ports correspondingly; wherein the two GPIO output ports do not output the voltage adjustment instruction at the same time, a first GPIO output port of the two GPIO output ports outputs the voltage adjustment instruction for controlling the power supply module to increase the voltage of the power supply signal, and a second GPIO output port outputs the voltage adjustment instruction for controlling the power supply module to decrease the voltage of the power supply signal; The power supply module is configured to adjust the voltage of the power supply signal according to the GPIO input port receiving the voltage adjustment instruction.

3. The power supply system of claim 2, wherein, The load module is configured to change a level state of a corresponding one of the GPIO output ports as the voltage adjustment instruction when the power supply signal and the target power supply voltage satisfy a preset condition, the level state comprising a high level state and a low level state. The power supply module is configured to adjust the voltage of the power supply signal according to the GPIO input port in which the level state changes.

4. The power supply system of claim 2, wherein The power supply module comprises: a logic control circuit connected to the GPIO input port, configured to receive the voltage adjustment instruction and control a duty cycle of a driving signal output according to the voltage adjustment instruction; a power supply circuit connected to the logic control circuit and the load module respectively, configured to receive the driving signal and provide a corresponding power supply signal according to the driving signal, the voltage of the power supply signal and the duty cycle of the driving signal having a preset mapping relationship.

5. The power supply system of claim 4, wherein, The power supply module is configured to adjust the voltage of the power supply signal according to the voltage adjustment instruction by a preset voltage step.

6. The power supply system according to claim 5, wherein The load module is configured to output the voltage adjustment instruction via the first GPIO output port when the power supply signal is less than the target power supply voltage and a difference between the power supply signal and the target power supply voltage is greater than the preset voltage step. And / or The load module is configured to output the voltage adjustment instruction via the second GPIO output port when the power supply signal is greater than the target power supply voltage and a difference between the power supply signal and the target power supply voltage is greater than the preset voltage step.

7. The power supply system according to any one of claims 1 to 6, characterized by The load module comprises: a voltage adjustment unit connected to the communication output port, configured to determine an initial power supply voltage corresponding to a current working frequency, generate and output an initial voltage instruction carrying the initial power supply voltage information via the communication output port; a core unit connected to the GPIO output port, configured to determine a target power supply voltage corresponding to a current working frequency, generate a voltage adjustment instruction according to a received power supply signal and the target power supply voltage, and output the voltage adjustment instruction via the GPIO output port.

8. An electronic device, comprising: The power supply system comprises the load module.

9. A power supply regulation method, characterized by, The method is applied to a power supply module having a GPIO input port, a power supply output port and a communication input port, and comprises: receiving an initial voltage instruction carrying initial power supply voltage information via the communication input port; providing a power supply signal having the initial power supply voltage to a load module via the power supply output port according to the initial voltage instruction; adjusting the voltage of the power supply signal to a target power supply voltage in response to a voltage adjustment instruction received by the GPIO input port, the voltage adjustment instruction being generated by the load module according to a received power supply signal and the target power supply voltage, the target power supply voltage corresponding to a current working frequency of the load module, and the initial power supply voltage being greater than the target power supply voltage.

Citation Information

Patent Citations

  • Dual-ring control self-adapting voltage adjusting method and device

    CN103576734A

  • Power supply adjusting device and method, chip system and method for operating chip system

    CN107565813A