CN116631465A - Power supply method, device, electronic equipment and readable storage medium - Google Patents

Power supply method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN116631465A
CN116631465A CN202310595180.1A CN202310595180A CN116631465A CN 116631465 A CN116631465 A CN 116631465A CN 202310595180 A CN202310595180 A CN 202310595180A CN 116631465 A CN116631465 A CN 116631465A
Authority
CN
China
Prior art keywords
power supply
storage module
power
switch
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310595180.1A
Other languages
Chinese (zh)
Inventor
兰宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310595180.1A priority Critical patent/CN116631465A/en
Publication of CN116631465A publication Critical patent/CN116631465A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C5/00Details of stores covered by group G11C11/00
    • G11C5/14Power supply arrangements, e.g. power down, chip selection or deselection, layout of wirings or power grids, or multiple supply levels
    • G11C5/147Voltage reference generators, voltage or current regulators; Internally lowered supply levels; Compensation for voltage drops
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3275Power saving in memory, e.g. RAM, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3296Power saving characterised by the action undertaken by lowering the supply or operating voltage
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/4063Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing
    • G11C11/407Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing for memory cells of the field-effect type
    • G11C11/4074Power supply or voltage generation circuits, e.g. bias voltage generators, substrate voltage generators, back-up power, power control circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C5/00Details of stores covered by group G11C11/00
    • G11C5/14Power supply arrangements, e.g. power down, chip selection or deselection, layout of wirings or power grids, or multiple supply levels
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Hardware Design (AREA)
  • Power Sources (AREA)

Abstract

The application discloses a power supply method, a device, an electronic device and a readable storage medium, which are applied to the electronic device, wherein the electronic device comprises a storage module and a power management module, the power management module is connected with the storage module, the power management module supplies power to the storage module through a first power supply path or a second power supply path, and the power supply voltage of the first power supply path is smaller than that of the second power supply path, and the method comprises the following steps: under the condition that the power management module supplies power to the storage module through the first power supply channel and the storage module works at a first frequency, receiving a first control instruction, wherein the first control instruction is used for controlling the storage module to switch to work at a second frequency; raising the power supply voltage of the first power supply channel by a first preset value, and enabling the storage module to work at a first frequency for a first preset period of time; the control power management module supplies power to the storage module through a second power supply path so that the storage module works at a second frequency.

Description

Power supply method, device, electronic equipment and readable storage medium
Technical Field
The present application belongs to the field of communication technology, and more particularly, to a power supply method, a device, an electronic apparatus, and a readable storage medium.
Background
The power consumption of the mobile phone is one of factors affecting the comprehensive use time of the mobile phone, and the power consumption of a double rate synchronous dynamic random Access Memory (DDR SDRAM) is used as one of the power consumption of the mobile phone. The dynamic voltage frequency adjustment DVFSC mechanism is a power saving mechanism corresponding to the DDR. Referring to fig. 1, only switch K2 is turned on when the DDR is operating at a high frequency, VDD2H supplies power to the logic unit, and only switch K1 is turned on when the DDR is operating at a low frequency, VDD2L supplies power to the logic unit, and power consumption is saved by providing different power supply voltages to the logic unit.
Referring to fig. 1, a parasitic diode P1 exists in the switch K1, a parasitic diode P2 exists in the switch K2, and when the DDR operates at a high frequency, a voltage difference exists between VDD2H and VDD2L to cause the parasitic diode P1 to be turned on, and VDD2H leaks to VDD2L to cause VDD2L to enter a protection state. When the DDR is switched to low frequency, the switch K1 is conducted, and the VDD2L cannot timely exit the protection state, so that the DDR works abnormally. Based on this, a pull-down resistor to ground can be added at the VDD2L output to drain the leakage current to VDD2L through the pull-down resistor to avoid VDD2L from entering the protected state, however, adding the pull-down resistor increases the cost and layout area, and the presence of the pull-down resistor increases the power consumption.
Disclosure of Invention
The embodiment of the application aims to provide a power supply method, a device, electronic equipment and a readable storage medium, which can solve the problem of electric leakage during DDR frequency switching on the basis of not increasing a hardware structure.
In a first aspect, an embodiment of the present application provides a power supply method, applied to an electronic device, where the electronic device includes a storage module and a power management module, where the power management module is connected to the storage module, and the power management module supplies power to the storage module through a first power supply path or a second power supply path, and a power supply voltage of the first power supply path is smaller than a power supply voltage of the second power supply path, where the method includes:
under the condition that the power management module supplies power to the storage module through a first power supply channel and the storage module works at a first frequency, a first control instruction is received, the first control instruction is used for controlling the storage module to switch to work at a second frequency, and the second frequency is higher than the first frequency;
raising the power supply voltage of the first power supply channel by a first preset value, and enabling the storage module to work at a first frequency for a first preset period of time;
and controlling the power management module to supply power to the storage module through a second power supply path so as to enable the storage module to work at the second frequency.
In a second aspect, an embodiment of the present application provides a power supply device, which is applied to an electronic device, and is characterized in that the electronic device includes a storage module and a power management module, where the power management module is connected to the storage module, and the power management module supplies power to the storage module through a first power supply path or a second power supply path, and a power supply voltage of the first power supply path is smaller than a power supply voltage of the second power supply path, where the device includes:
the receiving module is used for receiving a first control instruction under the condition that the power supply management module supplies power to the storage module through a first power supply channel and the storage module works at a first frequency, wherein the first control instruction is used for controlling the storage module to switch to work at a second frequency, and the second frequency is higher than the first frequency;
the adjusting module is used for increasing the power supply voltage of the first power supply channel by a first preset value and enabling the storage module to work at a first frequency for a first preset duration;
and the control module is used for controlling the power supply management module to supply power to the storage module through a second power supply path so as to enable the storage module to work at the second frequency.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the power management module supplies power to the storage module through the first power supply channel and the storage module works at the first frequency, the electronic equipment can receive a first control instruction for controlling the storage module to switch to work at the second frequency, the power supply voltage of the first power supply channel is increased by a first preset value, the storage module works at the first frequency for a first preset duration, and then the power management module is controlled to supply power to the storage module through the second power supply channel, so that the storage module works at the second frequency. That is, according to the embodiment of the application, the power supply voltage of the original first power supply channel is increased within the first preset time period between the receiving of the first control instruction and the actual switching to the second power supply channel to supply power to the memory module so as to enable the memory module to work at the second frequency, so that the micro-conduction condition can not occur under the condition that the memory module is actually switched to the second power supply channel to supply power to the memory module to work at the second frequency, no leakage occurs, and the problem of leakage existing during DDR frequency switching is solved.
Drawings
FIG. 1 is a schematic diagram of an electronic device in the prior art;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 3 is a flowchart of a power supply method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a power supply device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type not limited to the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
Before describing the power supply method provided by the embodiment of the application, an electronic device to which the power supply method is applied is first described.
Referring to fig. 2, the electronic device 20 may include a processor 210, a memory module 220, and a power management module 230. The processor 210 is connected to the memory module 220 and the power management module 230, respectively, and the memory module 220 and the power management module 230 are connected.
The memory module 220 may be a DDR SDRAM, and the memory module 220 includes a first switch 221, a second switch 222, and a logic unit 223, the first switch 221 is connected to the power management module 230 and the logic unit 223, the second switch 222 is connected to the power management module 230 and the logic unit 223, respectively, and the first switch 221 and the second switch 222 are connected to the processor 210 (not shown in the figure) so that the switch states of the first switch 221 and the second switch 222 are controlled by the processor 210.
As can be appreciated, referring to fig. 2, the first switch 221 has a parasitic diode P1, and the second switch 222 has a parasitic diode P2.
The power management module 230 supplies power to the logic unit 223 of the storage module 220 through the first power supply path or the second power supply path, and the power supply voltage of the first power supply path is smaller than the power supply voltage of the second power supply path. And, in case that the first switch 221 is in an on state and the second switch 222 is in an off state, the power management module 230 supplies power to the logic unit 223 of the memory module 220 through the first power supply path. With the first switch 221 in an off state and the second switch 222 in an on state, the power management module 230 supplies power to the logic unit 223 of the memory module 220 through the second power supply path.
The supply voltage of the first supply path is usually denoted as VDD2L, and VDD2L may be 0.9V. The supply voltage of the second supply path is typically denoted as VDD2H, VDD2H may be 1.05V. Specifically, in the case where the storage module 220 operates at the first frequency, the power management module 230 supplies power to the storage module 220 through the first power supply path. In the case where the storage module 220 operates at the second frequency, the power management module 230 supplies power to the storage module 220 through the second power supply path.
The power supply method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Please refer to fig. 3, which is a flowchart of a power supply method according to an embodiment of the present application. The method can be applied to electronic equipment, and the electronic equipment can be a mobile phone, a tablet personal computer, a notebook personal computer and the like. The electronic equipment comprises a storage module and a power management module, wherein the power management module is connected with the storage module, the power management module supplies power to the storage module through a first power supply path or a second power supply path, and the power supply voltage of the first power supply path is smaller than that of the second power supply path. For example, the supply voltage of the first supply path may be 0.9V and the supply voltage of the second supply path may be 1.05V. As shown in fig. 3, the method may include steps 3100 to 3300, which are described in detail below.
Step 3100, when the power management module supplies power to the storage module through a first power supply path and the storage module operates at a first frequency, receiving a first control instruction.
The first control instruction is used for controlling the storage module to switch to work at a second frequency, and the second frequency is higher than the first frequency in general. And the first control instruction can be actively triggered by a user or automatically triggered by the electronic equipment.
Referring to fig. 2, in the case where the memory module operates at the first frequency, the first switch is in an on state and the second switch is in an off state, and the power management module supplies power to the logic unit of the memory module through the first power supply path. At the same time, the processor receives a first control instruction for controlling the memory module to switch to the second frequency.
Step 3200, raising the power supply voltage of the first power supply channel by a first preset value, and enabling the storage module to work at a first frequency for a first preset period of time.
The first preset value is larger than the difference value between the power supply voltage of the second power supply path and the power supply voltage of the first power supply path. For example, the first preset value may be 0.2V. The design principle of the first preset value is that after the power supply voltage of the first power supply channel is increased by the first preset value, the power supply voltage of the first power supply channel is larger than the power supply voltage of the second power supply channel, so that when the power supply management module is switched to the second power supply channel to supply power to the storage module, the storage module works at the second frequency, although the second switch is in a conducting state and the first switch is in a disconnecting state, the parasitic diode P1 cannot be conducted in a micro-conduction mode, and no electric leakage occurs.
The first preset duration is determined according to a voltage change speed of the power management module, wherein the voltage change speed comprises at least one of the following steps: and increasing the speed of the first power supply path when the power supply voltage is supplied and the speed of the first power supply path when the first power supply path is switched to the second power supply path.
In this embodiment, after receiving the first control instruction for controlling the memory module to switch to the second frequency, the processor controls the power management module to increase the power supply voltage of the first power supply path by a first preset value, for example by 0.2V, and the memory module continues to operate at the first frequency for a first preset period of time, that is, the power management module supplies power to the memory module through the first power supply path for the first preset period of time.
It can be understood that, for example, when the time point at which the processor receives the first control instruction for controlling the storage module to switch to the second frequency is the T time point, and when the time point at which the processor controls the power management module to supply power to the storage module through the second power supply path is the T1 time point, at a T2 time point between the T time point and the T1 time point, the processor increases the power supply voltage of the first power supply path by a first preset value, and in this process, the storage module operates at the first frequency. In general, the time point T2 is related to a first voltage change speed of the power management module, where the first voltage change speed is a speed when the power management module increases the power supply voltage of the first power supply path.
Step 3200, controlling the power management module to supply power to the storage module through a second power supply path so as to enable the storage module to work at the second frequency.
In one embodiment, the controlling the power management module to supply power to the storage module through a second power supply path in step 3200 to enable the storage module to operate at the second frequency may further include: controlling the first switch to be switched off and controlling the second switch to be switched on; and under the condition that the first switch is in an off state and the second switch is in an on state, the power management module supplies power to the storage module through a second power supply path so as to enable the storage module to work at the second frequency.
Referring to fig. 2, the processor controls the first switch to be turned off and controls the second switch to be turned on, and the power management module supplies power to the logic unit of the memory module through the second power supply path so that the memory module operates at the second frequency, and since the power supply voltage of the first power supply path is increased to 1.1V and the power supply voltage of the second power supply path is increased to 1.05V, the voltage of the parasitic diode P1 is reversed at this time, and no micro-conduction condition can occur, so that no leakage phenomenon occurs. The power supply voltage of the first power supply path is increased, but the logic unit is not supplied with power, and the power consumption is not increased.
According to the embodiment of the application, under the condition that the power management module supplies power to the storage module through the first power supply channel and the storage module works at the first frequency, the electronic equipment can receive the first control instruction for controlling the storage module to switch to work at the second frequency, the power supply voltage of the first power supply channel is increased by a first preset value, the storage module works at the first frequency for a first preset duration, and then the power management module is controlled to supply power to the storage module through the second power supply channel, so that the storage module works at the second frequency. That is, according to the embodiment of the application, the power supply voltage of the original first power supply channel is increased within the first preset time period between the receiving of the first control instruction and the actual switching to the second power supply channel to supply power to the memory module so as to enable the memory module to work at the second frequency, so that the micro-conduction condition can not occur under the condition that the memory module is actually switched to the second power supply channel to supply power to the memory module to work at the second frequency, no leakage occurs, and the problem of leakage existing during DDR frequency switching is solved.
In one embodiment, after performing the above step 3300 to control the power management module to supply power to the storage module through the second power supply path, so that the storage module operates at the second frequency, the power supply method according to the embodiment of the present application further includes the following steps 4100 to 4300:
step 4100, accepting a second control instruction.
The second control instruction is used for controlling the storage module to switch to the first frequency to work. And the second control instruction can be actively triggered by a user or automatically triggered by the electronic equipment.
Specifically, when the memory module operates at the second frequency, the second switch is in an on state and the first switch is in an off state, and the power management module supplies power to the logic unit of the memory module through the second power supply path. At the same time, the processor receives a second control instruction for controlling the memory module to switch to the first frequency.
Step 4200, providing power to the memory module through the first power path to operate the memory module at the first frequency with the first switch in an on state and the second switch in an off state.
Referring to fig. 2, after receiving a second control instruction for controlling the memory module to switch to the first frequency, the processor controls the first switch to be turned on and controls the second switch to be turned off, and at this time, the power management module supplies power to the logic unit of the memory module through the first power supply path, so that the memory module operates at the first frequency.
Step 4300, reducing the supply voltage of the first supply path by the first preset value when the storage module operates at the first frequency for a second preset period of time.
Wherein the second preset time period is related to a speed at which the second switch is completely opened.
In this embodiment, after the storage module operates at the first frequency for a second preset period of time, the processor controls the power management module to reduce the power supply voltage of the first power supply path by a first preset value, for example, by 0.2V, that is, the power supply voltage of the first power supply voltage is 0.9V, so as to reduce power consumption.
It should be noted that, the power supply device provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 1, and in order to avoid repetition, a description is omitted here.
It should be noted that, in the power supply method provided by the embodiment of the present application, the execution body may be a power supply device. In the embodiment of the application, a power supply device is taken as an example to execute a power supply method, and the power supply device provided by the embodiment of the application is described.
Corresponding to the above embodiment, referring to fig. 4, the embodiment of the present application further provides a power supply apparatus 400, which is applied to an electronic device, where the electronic device includes a storage module and a power management module, the power management module is connected to the storage module, the power management module supplies power to the storage module through a first power supply path or a second power supply path, and a power supply voltage of the first power supply path is smaller than a power supply voltage of the second power supply path, and the apparatus 400 includes an accepting module 401, an adjusting module 402, and a control module 403.
An accepting module 401, configured to accept a first control instruction when the power management module supplies power to the storage module through a first power supply path and the storage module operates at a first frequency, where the first control instruction is used to control the storage module to switch to operate at a second frequency, and the second frequency is higher than the first frequency;
an adjustment module 402, configured to increase a supply voltage of the first power supply path by a first preset value, and make the storage module work at a first frequency for a first preset period of time;
and the control module 403 is configured to control the power management module to supply power to the storage module through a second power supply path, so that the storage module operates at the second frequency.
In one embodiment, the first preset time period is determined according to a voltage change speed of the power management module, where the voltage change speed includes at least one of the following: and increasing the speed of the first power supply path when the power supply voltage is supplied and the speed of the first power supply path when the first power supply path is switched to the second power supply path.
In one embodiment, the first preset value is greater than a difference between the supply voltage of the second supply path and the supply voltage of the first supply path.
In one embodiment, the storage module includes a first switch, a second switch and a logic unit, where the first switch is connected to the power management module and the logic unit, and the second switch is connected to the power management module and the logic unit, and the control module 403 is specifically configured to: controlling the first switch to be switched off and controlling the second switch to be switched on; and under the condition that the first switch is in an off state and the second switch is in an on state, the power management module supplies power to the storage module through a second power supply path so as to enable the storage module to work at the second frequency.
In one embodiment, the accepting module 401 is further configured to accept a second control instruction, where the second control instruction is used to control the storage module to switch to the first frequency to operate;
the control module 403 is further configured to, when the first switch is in an on state and the second switch is in an off state, power the storage module through the first power supply path by using the power management module, so that the storage module operates at the first frequency;
the adjusting module 402 is configured to reduce the supply voltage of the first supply path by the first preset value when the storage module operates at the first frequency for a second preset period.
In the embodiment of the application, when the power management module supplies power to the storage module through the first power supply channel and the storage module works at the first frequency, the electronic equipment can receive a first control instruction for controlling the storage module to switch to work at the second frequency, the power supply voltage of the first power supply channel is increased by a first preset value, the storage module works at the first frequency for a first preset period, and then the power management module is controlled to supply power to the storage module through the second power supply channel, so that the storage module works at the second frequency. That is, according to the embodiment of the application, the power supply voltage of the original first power supply channel is increased within the first preset time period between the receiving of the first control instruction and the actual switching to the second power supply channel to supply power to the memory module so as to enable the memory module to work at the second frequency, so that the micro-conduction condition can not occur under the condition that the memory module is actually switched to the second power supply channel to supply power to the memory module to work at the second frequency, no leakage occurs, and the problem of leakage existing during DDR frequency switching is solved.
The power supply device in the embodiment of the application can be electronic equipment or a component in the electronic equipment, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The power supply device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The power supply device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and in order to avoid repetition, details are not repeated here.
Optionally, as shown in fig. 5, the embodiment of the present application further provides an electronic device 500, including a processor 501 and a memory 502, where the memory 502 stores a program or an instruction that can be executed on the processor 501, and the program or the instruction implements each step of the above power supply method embodiment when executed by the processor 501, and the steps achieve the same technical effect, so that repetition is avoided, and no redundant description is provided herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor 710, and the like. The electronic equipment comprises a storage module and a power management module, wherein the power management module is connected with the storage module, the power management module supplies power to the storage module through a first power supply path or a second power supply path, and the power supply voltage of the first power supply path is smaller than that of the second power supply path.
Those skilled in the art will appreciate that the electronic device 700 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 710 via a power management system so as to perform functions such as managing charge, discharge, and power consumption via the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 710 is configured to receive a first control instruction when the power management module supplies power to the storage module through a first power supply path and the storage module operates at a first frequency, where the first control instruction is used to control the storage module to switch to operate at a second frequency, and the second frequency is higher than the first frequency; raising the power supply voltage of the first power supply channel by a first preset value, and enabling the storage module to work at a first frequency for a first preset period of time; and controlling the power management module to supply power to the storage module through a second power supply path so as to enable the storage module to work at the second frequency.
According to the embodiment, when the power management module supplies power to the storage module through the first power supply channel and the storage module works at the first frequency, the electronic device can receive a first control instruction for controlling the storage module to switch to work at the second frequency, increase the power supply voltage of the first power supply channel by a first preset value, enable the storage module to work at the first frequency for a first preset period, and then control the power management module to supply power to the storage module through the second power supply channel, so that the storage module works at the second frequency. That is, according to the embodiment of the application, the power supply voltage of the original first power supply channel is increased within the first preset time period between the receiving of the first control instruction and the actual switching to the second power supply channel to supply power to the memory module so as to enable the memory module to work at the second frequency, so that the micro-conduction condition can not occur under the condition that the memory module is actually switched to the second power supply channel to supply power to the memory module to work at the second frequency, no leakage occurs, and the problem of leakage existing during DDR frequency switching is solved.
In one embodiment, the first preset time period is determined according to a voltage change speed of the power management module, where the voltage change speed includes at least one of the following: and increasing the speed of the first power supply path when the power supply voltage is supplied and the speed of the first power supply path when the first power supply path is switched to the second power supply path.
In one embodiment, the first preset value is greater than a difference between the supply voltage of the second supply path and the supply voltage of the first supply path.
In one embodiment, the storage module includes a first switch, a second switch and a logic unit, the first switch is connected to the power management module and the logic unit, the second switch is connected to the power management module and the logic unit, the processor 710 is configured to control the first switch to be turned off and the second switch to be turned on; and under the condition that the first switch is in an off state and the second switch is in an on state, the power management module supplies power to the storage module through a second power supply path so as to enable the storage module to work at the second frequency.
In one embodiment, the processor 710 is configured to receive a second control instruction, where the second control instruction is configured to control the storage module to switch to the first frequency operation; controlling the first switch to be turned on and controlling the second switch to be turned off; when the first switch is in a conducting state and the second switch is in an off state, the power management module supplies power to the storage module through the first power supply path so that the storage module works at the first frequency; and under the condition that the storage module works for a second preset time period at the first frequency, reducing the power supply voltage of the first power supply channel by the first preset value.
It should be appreciated that in embodiments of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, with the graphics processor 7041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts, a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 709 may include volatile memory or nonvolatile memory, or the memory 709 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 709 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
Processor 710 may include one or more processing units; optionally, processor 710 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 710.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements the processes of the above power supply method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the power supply method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-described power supply method embodiments, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (12)

1. The power supply method is applied to electronic equipment, and is characterized in that the electronic equipment comprises a storage module and a power supply management module, the power supply management module is connected with the storage module, the power supply management module supplies power to the storage module through a first power supply path or a second power supply path, and the power supply voltage of the first power supply path is smaller than that of the second power supply path, and the method comprises the following steps:
under the condition that the power management module supplies power to the storage module through a first power supply channel and the storage module works at a first frequency, a first control instruction is received, the first control instruction is used for controlling the storage module to switch to work at a second frequency, and the second frequency is higher than the first frequency;
raising the power supply voltage of the first power supply channel by a first preset value, and enabling the storage module to work at a first frequency for a first preset period of time;
and controlling the power management module to supply power to the storage module through a second power supply path so as to enable the storage module to work at the second frequency.
2. The method of claim 1, wherein the first preset time period is determined according to a voltage change rate of the power management module, the voltage change rate comprising at least one of: and increasing the speed of the first power supply path when the power supply voltage is supplied and the speed of the first power supply path when the first power supply path is switched to the second power supply path.
3. The method of claim 1, wherein the first preset value is greater than a difference between a supply voltage of the second supply path and a supply voltage of the first supply path.
4. The method of claim 1, wherein the memory module comprises a first switch, a second switch, and a logic unit, the first switch being coupled to the power management module and the logic unit, respectively, the second switch being coupled to the power management module and the logic unit, respectively,
the controlling the power management module to supply power to the storage module through a second power supply path so that the storage module operates at the second frequency includes:
controlling the first switch to be switched off and controlling the second switch to be switched on;
and under the condition that the first switch is in an off state and the second switch is in an on state, the power management module supplies power to the storage module through a second power supply path so as to enable the storage module to work at the second frequency.
5. The method of claim 4, wherein after said controlling said power management module to power said storage module via a second power path to cause said storage module to operate at said second frequency, said method further comprises:
receiving a second control instruction, wherein the second control instruction is used for controlling the storage module to switch to the first frequency to work;
controlling the first switch to be turned on and controlling the second switch to be turned off;
when the first switch is in a conducting state and the second switch is in an off state, the power management module supplies power to the storage module through the first power supply path so that the storage module works at the first frequency;
and under the condition that the storage module works for a second preset time period at the first frequency, reducing the power supply voltage of the first power supply channel by the first preset value.
6. A power supply device applied to an electronic device, the electronic device comprising a storage module and a power management module, the power management module being connected to the storage module, the power management module supplying power to the storage module through a first power supply path or a second power supply path, the power supply voltage of the first power supply path being smaller than the power supply voltage of the second power supply path, the device comprising:
the receiving module is used for receiving a first control instruction under the condition that the power supply management module supplies power to the storage module through a first power supply channel and the storage module works at a first frequency, wherein the first control instruction is used for controlling the storage module to switch to work at a second frequency, and the second frequency is higher than the first frequency;
the adjusting module is used for increasing the power supply voltage of the first power supply channel by a first preset value and enabling the storage module to work at a first frequency for a first preset duration;
and the control module is used for controlling the power supply management module to supply power to the storage module through a second power supply path so as to enable the storage module to work at the second frequency.
7. The apparatus of claim 6, wherein the first preset time period is determined according to a voltage change rate of the power management module, the voltage change rate comprising at least one of: and increasing the speed of the first power supply path when the power supply voltage is supplied and the speed of the first power supply path when the first power supply path is switched to the second power supply path.
8. The apparatus of claim 6, wherein the first preset value is greater than a difference between a supply voltage of the second supply path and a supply voltage of the first supply path.
9. The device according to claim 6, wherein the storage module comprises a first switch, a second switch and a logic unit, the first switch being connected to the power management module and the logic unit, respectively, the second switch being connected to the power management module and the logic unit, respectively, the control module being configured to:
controlling the first switch to be switched off and controlling the second switch to be switched on;
and under the condition that the first switch is in an off state and the second switch is in an on state, the power management module supplies power to the storage module through a second power supply path so as to enable the storage module to work at the second frequency.
10. The apparatus of claim 9, wherein the device comprises a plurality of sensors,
the receiving module is further used for receiving a second control instruction, and the second control instruction is used for controlling the storage module to switch to the first frequency to work;
the control module is also used for controlling the first switch to be turned on and the second switch to be turned off; and when the first switch is in a conducting state and the second switch is in a disconnecting state, the power management module supplies power to the storage module through the first power supply path so that the storage module works at the first frequency;
and the adjusting module is used for reducing the power supply voltage of the first power supply channel by the first preset value under the condition that the storage module works for a second preset time period at the first frequency.
11. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the power supply method of any one of claims 1-5.
12. A readable storage medium, characterized in that it stores thereon a program or instructions, which when executed by a processor, implement the steps of the power supply method according to any one of claims 1-5.
CN202310595180.1A 2023-05-24 2023-05-24 Power supply method, device, electronic equipment and readable storage medium Pending CN116631465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310595180.1A CN116631465A (en) 2023-05-24 2023-05-24 Power supply method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310595180.1A CN116631465A (en) 2023-05-24 2023-05-24 Power supply method, device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN116631465A true CN116631465A (en) 2023-08-22

Family

ID=87590509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310595180.1A Pending CN116631465A (en) 2023-05-24 2023-05-24 Power supply method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN116631465A (en)

Similar Documents

Publication Publication Date Title
CN111816139B (en) Screen refresh rate switching method and electronic equipment
US20210018973A1 (en) Application processor and mobile terminal
CN112181166A (en) Input method soft keyboard display method and device
CN112148167A (en) Control setting method and device and electronic equipment
US20240086136A1 (en) Display method and display apparatus
CN112713629A (en) Charging method and device and electronic equipment
WO2023151659A1 (en) Application icon display method and device
CN116631465A (en) Power supply method, device, electronic equipment and readable storage medium
CN113555917A (en) Electronic device, charging method thereof and readable storage medium
US20190172409A1 (en) Techniques for robust reliability operation of a thin-film transistor (tft) display
CN115268340A (en) Electronic device and control method
CN115357173A (en) Screen control method and device and electronic equipment
US11397485B2 (en) Circuit control method and control device, display module and display device
CN105224060A (en) A kind of computer run control method, device, circuit and computing machine
CN114416269A (en) Interface display method and display device
CN114759782A (en) Control method and device of power supply circuit, electronic equipment and readable storage medium
CN114327714A (en) Application program control method, device, equipment and medium
CN115277930B (en) Power supply method and device and electronic equipment
CN113190420A (en) Electric quantity prompting method and device
CN114337872B (en) Network signal measurement method and device
CN116594523A (en) Control method, control device, electronic equipment and readable storage medium
CN113891497B (en) Network repair method and device
CN117409712A (en) Display panel driving circuit, pixel driving method, device and equipment
CN115149602A (en) Charging circuit, method, device, equipment and storage medium
CN104423871A (en) Information processing method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination