Power supply control method and device, electronic equipment, storage medium and program product

By detecting the power supply voltage of the power amplification module in the RF system and switching the power supply mode, the system instability caused by the oscillation of the power supply voltage waveform in the prior art is solved, and the effect of improving the stability of the RF system is achieved.

CN120185342APending Publication Date: 2025-06-20GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510380349.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

When the prior art adjusts the power supply voltage of the power amplifier in the RF system, it may lead to poor system stability, which may easily cause power amplifier module failure and RF system instability.

Method used

A power supply control method is provided, by detecting whether the current supply voltage of the power amplification module is greater than the preset voltage threshold, and if it exceeds, it will switch to the second power supply mode with low power supply efficiency, so as to reduce the risk of oscillation of the power supply voltage waveform and reduce the probability of failure of the power amplification module.

Benefits of technology

By switching the power supply mode, the risk of oscillation of the power supply voltage waveform of the power amplification module is reduced, the probability of failure of the power amplification module is reduced, and the stability of the RF system is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120185342A_ABST
    Figure CN120185342A_ABST
Patent Text Reader

Abstract

The invention relates to a power supply control method and device, electronic equipment, a storage medium and a program product. The method comprises the following steps: under the condition that a switching power supply supplies power to a power amplification module based on a first power supply mode, acquiring a current first power supply voltage of the power amplification module; detecting whether the first power supply voltage is greater than a preset voltage threshold; under the condition that the first power supply voltage is larger than the preset voltage threshold value, the switching power supply is controlled to supply power to the power amplification module based on a second power supply mode, and the power supply efficiency of the first power supply mode is larger than that of the second power supply mode. By adopting the method, the stability of the radio frequency system in the electronic equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of power supply, and particularly to a power supply control method, device, electronic device, storage medium, and program product. Background Art

[0002] As the functions of electronic devices become more and more abundant, the battery life of electronic devices has become an important optimization goal. For example, taking a mobile phone as an example, in the radio frequency system of the mobile phone, power saving technologies are usually adopted to adjust the supply voltage of the power amplifier (PA) to save the power consumption of the electronic device.

[0003] However, the above method may lead to poor stability of the radio frequency system. Summary of the Invention

[0004] Based on this, it is necessary to provide a power supply control method, device, electronic device, storage medium, and program product for the above technical problems, which can improve the stability of the radio frequency system in the electronic device.

[0005] In a first aspect, this application provides a power supply control method. The method includes:

[0006] When the switching power supply supplies power to the power amplification module based on the first power supply mode, obtain the current first power supply voltage of the power amplification module;

[0007] Detect whether the first power supply voltage is greater than a preset voltage threshold;

[0008] When the first power supply voltage is greater than the preset voltage threshold, control the switching power supply to supply power to the power amplification module based on the second power supply mode, and the power supply efficiency of the first power supply mode is greater than that of the second power supply mode.

[0009] In a second aspect, this application also provides a power supply control device. The device includes:

[0010] An acquisition module, configured to obtain the current first power supply voltage of the power amplification module when the switching power supply supplies power to the power amplification module based on the first power supply mode;

[0011] A detection module, configured to detect whether the first power supply voltage is greater than a preset voltage threshold;

[0012] A control module, configured to control the switching power supply to supply power to the power amplification module based on the second power supply mode when the first power supply voltage is greater than the preset voltage threshold, and the power supply efficiency of the first power supply mode is greater than that of the second power supply mode.

[0013] In a third aspect, the present application further provides an electronic device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of the method described in the first aspect above are implemented.

[0014] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the first aspect above are implemented.

[0015] In a fifth aspect, the present application further provides a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the method described in the first aspect above are implemented.

[0016] For the above power supply control method, device, electronic device, storage medium, and program product, when the switching power supply supplies power to the power amplification module based on the first power supply mode, the current first power supply voltage of the power amplification module is obtained. Then, it is detected whether the first power supply voltage is greater than a preset voltage threshold. When the first power supply voltage is greater than the preset voltage threshold, the switching power supply is controlled to supply power to the power amplification module based on the second power supply mode. The power supply efficiency of the first power supply mode is greater than that of the second power supply mode. Since the higher the power supply efficiency of the power supply mode, the risk of waveform oscillation of the power supply voltage of the power amplification module may also increase. The waveform oscillation of the power supply voltage may cause the power supply voltage to exceed the maximum withstand voltage of the power amplification module, resulting in the breakdown of the components inside the power amplification module, and further causing the failure of the power amplification module. In addition, the waveform oscillation of the power supply voltage may also cause the output power of the power amplification module to be mismatched with the impedance of the antenna in the electronic device, resulting in overheating inside the power amplification module and burning out transistors, and further causing the failure of the power amplification module, ultimately resulting in poor stability of the radio frequency system. In the embodiment of the present application, when the current first power supply voltage of the power amplification module exceeds the preset voltage threshold, it indicates that an abnormal power supply voltage has occurred in the first power supply mode, and the power supply voltage of the power amplification module may be oscillating in waveform. If the first power supply mode continues to be used, it is easy to cause the failure of the power amplification module. At this time, the switching power supply is controlled to switch to the second power supply mode with lower power supply efficiency to reduce the risk of waveform oscillation of the power supply voltage of the power amplification module, thereby reducing the probability of failure of the power amplification module and being beneficial to improving the stability of the radio frequency system. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments of the present application or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other related drawings can be obtained without creative efforts based on these drawings.

[0018] Figure 1 It is a schematic flow chart of a power supply control method in an embodiment;

[0019] Figure 2 It is a schematic diagram of the installation position of a voltage detection circuit in another embodiment;

[0020] Figure 3 It is a schematic flow chart of a power supply control method in another embodiment;

[0021] Figure 4 It is a schematic flow chart of a power supply control method in another embodiment;

[0022] Figure 5 It is a schematic flow chart of a power supply control method in another embodiment;

[0023] Figure 6 It is a structural block diagram of a power supply control device in an embodiment;

[0024] Figure 7 It is an internal structure diagram of an electronic device in an embodiment. Detailed implementation manners

[0025] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0026] As the functions of electronic devices become more and more abundant, the battery life of electronic devices has become an important optimization goal. For example, taking a mobile phone as an example, in the radio frequency system of a mobile phone, power saving technologies are usually adopted to adjust the supply voltage of a power amplifier (PA) to save the power consumption of the electronic device.

[0027] Taking the APT (Average Power Tracking) technology as an example, the APT method is also called an adaptive voltage regulation method, which dynamically adjusts the supply voltage of the PA according to the average power of the input signal of the PA. Compared with the earlier PA power supply technology: the Full Bias technology, since the Full Bias method directly provides a constant supply voltage that can meet the maximum power demand for the PA, its advantage is that the technology is simple, and its disadvantage is that the power consumption and power supply efficiency are relatively low. The APT method has better power consumption performance, that is, it is more power saving. According to theoretical calculations, the APT method can help a mobile phone save 40% of the electric energy.

[0028] Taking ET (Envelope Tracking) technology as an example, ET is a kind of envelope tracking technology that dynamically detects the power of the PA and adjusts the supply voltage of the PA accordingly, enabling the PA to operate in the saturation region, increasing the operating efficiency of the PA, and thus achieving the purpose of power saving. Compared with APT technology, ET technology is more like "customized on demand", allowing the supply voltage of the PA to change with the envelope of the input signal.

[0029] In the process of research and development, the inventors of this application found through a large number of studies and experiments that, compared with APT technology, in a radio frequency system using ET technology, the power supply circuit is more complex, there are more technical details to be considered, and the supply voltage is also a high-frequency voltage waveform. Therefore, it is more likely to cause waveform oscillation of the supply voltage. The waveform oscillation of the supply voltage may cause the supply voltage to exceed the maximum tolerance voltage of the PA, resulting in the breakdown of the components inside the PA, a sharp increase in the internal current of the PA, local overheating and catastrophic failures, and then sudden failure of the PA.

[0030] The waveform oscillation of the supply voltage may also cause transient spikes in the supply voltage, that is, generate instantaneous high voltages that exceed the transient tolerance of the PA, causing sensitive areas (such as the input stage or output stage) in the PA to be subjected to high stress and permanently damaging the PA.

[0031] In addition, the waveform oscillation of the supply voltage may also cause oscillation of the output power of the PA, resulting in a mismatch between the output power of the PA and the impedance of the antenna in the electronic device. The reflected power may exceed the design limit of the PA, leading to overheating inside the PA, burning out transistors, and then causing the PA to fail, resulting in poor stability of the radio frequency system.

[0032] In view of this, the embodiments of this application provide a power supply control method, device, electronic device, storage medium, and program product, which can improve the stability of the radio frequency system in the electronic device.

[0033] The power supply control method provided by the embodiments of this application can be applied to an electronic device. Among them, the electronic device can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc.

[0034] In an exemplary embodiment, such as Figure 1As shown, a power supply control method is provided. Taking the application of this method to an electronic device as an example, this power supply control method includes the following steps 101 to 103:

[0035] Step 101, when the switching power supply supplies power to the power amplification module based on the first power supply mode, obtain the current first power supply voltage of the power amplification module.

[0036] In the embodiments of the present application, the power amplification module may be a power amplifier (PA) in a radio frequency system, and the power amplification module can support a dynamically changing power supply voltage. The power amplification module is powered by a switching power supply, and the switching power supply can also be called a switching power supply circuit. The switching power supply may include a switching circuit, a voltage conversion circuit, etc.

[0037] The first power supply mode provides a dynamically changing power supply voltage, and the first power supply mode may be a power supply mode with high power supply efficiency. The switching power supply controls the switching of the switches in the switching power supply according to the first power supply mode, so that the power supply voltage of the power amplification module changes with the power of the input signal of the power amplification module.

[0038] The electronic device can obtain the current power supply voltage of the power amplification module, which is called the first power supply voltage here.

[0039] In a possible implementation manner, a voltage detection circuit may be integrated in the switching power supply, that is, the switching power supply has the ability to detect voltage. The switching power supply detects the current power supply voltage of the power amplification module through this voltage detection circuit to obtain the first power supply voltage, and the electronic device obtains this first power supply voltage.

[0040] In another possible implementation manner, a voltage detection circuit may be integrated in the power amplification module, that is, the power amplification module has the ability to detect voltage. The power amplification module detects the current power supply voltage of the power amplification module through this voltage detection circuit to obtain the first power supply voltage, and the electronic device obtains this first power supply voltage.

[0041] In other possible implementation manners, refer to Figure 2 , Figure 2 which is a schematic diagram of the setting position of an exemplary voltage detection circuit. As Figure 2 shown, the voltage detection circuit may be set on the power supply path between the switching power supply and the power amplification module. In this way, the electronic device can detect the current power supply voltage of the power amplification module through the voltage detection circuit set between the switching power supply and the power amplification module to obtain the first power supply voltage.

[0042] In the embodiments of the present application, the electronic device may obtain the current first supply voltage of the power amplification module in real time, or may periodically obtain the current first supply voltage of the power amplification module according to a preset time period, and no specific limitation is made here.

[0043] Step 102: Detect whether the first supply voltage is greater than a preset voltage threshold.

[0044] The electronic device obtains the current first supply voltage of the power amplification module, and the magnitude of this first supply voltage is the current supply voltage of the power amplification module. The electronic device compares the magnitude of this first supply voltage with the preset voltage threshold.

[0045] In the embodiments of the present application, the preset voltage threshold may be obtained through testing during the reliability verification of the power amplification module in advance. For example, before the electronic device leaves the factory, the power amplification module is subjected to reliability verification to obtain the preset voltage threshold, and the preset voltage threshold is stored in a certain storage location of the electronic device. Then the electronic device can read the preset voltage threshold from this storage location.

[0046] Among them, the preset voltage threshold is used to represent a voltage critical value that is likely to cause the failure of the power amplification module. If the first supply voltage is greater than the preset voltage threshold, it means that the first supply voltage generated in the first power supply mode is an abnormal voltage. If the first power supply mode continues to be used to supply power to the power amplification module, it is likely to cause the failure of the power amplification module; if the first supply voltage is less than or equal to the preset voltage threshold, it means that the first supply voltage is a normal supply voltage, and the first power supply mode can continue to be used to supply power to the power amplification module.

[0047] Step 103: When the first supply voltage is greater than the preset voltage threshold, control the switching power supply to supply power to the power amplification module based on the second power supply mode.

[0048] When the electronic device detects that the first supply voltage is greater than the preset voltage threshold, it means that an abnormal voltage is generated when power is supplied based on the first power supply mode. For example, it may be because the power supply circuit corresponding to the first power supply mode is complex and the waveform requirements of the supply voltage are higher, resulting in waveform oscillation of the supply voltage. If the first power supply mode continues to be used to supply power to the power amplification module, it is very likely to cause the failure of the power amplification module. In this case, the electronic device controls the switching power supply to switch from the first power supply mode to the second power supply mode and supply power to the power amplification module based on the second power supply mode.

[0049] In the embodiments of the present application, the switching power supply can support the first power supply mode and the second power supply mode, and support the switching between the first power supply mode and the second power supply mode. Both the first power supply mode and the second power supply mode can provide a dynamically changing power supply voltage, and the power supply efficiency of the first power supply mode is greater than that of the second power supply mode. Then, compared with the first power supply mode, the risk of waveform oscillation of the power supply voltage in the second power supply mode will be lower than that in the first power supply mode.

[0050] In the above embodiments, since the higher the power supply efficiency of the power supply mode, the risk of waveform oscillation of the power supply voltage of the power amplification module may also increase. The waveform oscillation of the power supply voltage may cause the power supply voltage to exceed the maximum tolerance voltage of the power amplification module, resulting in the breakdown of the components inside the power amplification module, and then the failure of the power amplification module. In addition, the waveform oscillation of the power supply voltage may also cause the output power of the power amplification module to be mismatched with the impedance of the antenna in the electronic device, resulting in overheating inside the power amplification module and burning out the transistor, and then the failure of the power amplification module, ultimately resulting in poor stability of the radio frequency system. In the embodiments of the present application, when the current first power supply voltage of the power amplification module exceeds the preset voltage threshold, it indicates that an abnormal power supply voltage is generated in the first power supply mode, and the power supply voltage of the power amplification module may be oscillating in waveform. If the first power supply mode is continued to be used, it is easy to cause the failure of the power amplification module. At this time, the switching power supply is controlled to switch to the second power supply mode with lower power supply efficiency to reduce the risk of waveform oscillation of the power supply voltage of the power amplification module, thereby reducing the probability of failure of the power amplification module and being beneficial to improving the stability of the radio frequency system.

[0051] In a possible implementation manner, the first power supply mode is an envelope tracking (ET) power supply mode, and the second power supply mode is an average power tracking (APT) power supply mode, that is, the power amplification module can support power supply through the ET power supply mode and through the APT power supply mode.

[0052] When the electronic device supplies power to the power amplification module based on the ET power supply mode by the switching power supply, the electronic device obtains the current first power supply voltage of the power amplification module, and the electronic device detects whether the first power supply voltage is greater than the preset voltage threshold. When the first power supply voltage is greater than the preset voltage threshold, the electronic device controls the switching power supply to supply power to the power amplification module based on the APT power supply mode.

[0053] At present, the radio frequency design solutions of electronic devices on the market usually adopt a combination of technologies from multiple chip suppliers. The technologies of each supplier may have their own design defects and their own technical confidentiality details, which makes the failure and reliability problems of the PA in the radio frequency system more complex. In addition, the usage scenarios of the radio frequency system are complex and hidden, and various failure scenarios of the PA cannot be completely intercepted during the conventional development, debugging and testing stages. The problem of PA failure will become difficult to predict, and there is a greater possibility of batch PA failure problems, resulting in batch quality accidents.

[0054] In the embodiments of the present application, in view of the possible failure of the power amplification module caused by the waveform oscillation of the supply voltage, when an abnormal voltage is detected (that is, the first supply voltage is greater than the preset voltage threshold), the electronic device will intelligently switch the power supply mode of the power amplification module from the ET power supply scheme back to the APT power supply scheme, and make corresponding switching of the calibration parameters, that is, the switching power supply is switched from the ET calibration parameters to the APT calibration parameters (the radio frequency system can be pre-calibrated for radio frequency, for example, radio frequency calibration is performed at the factory stage of the electronic device to enable the electronic device to have ET calibration parameters and APT calibration parameters), change the power supply scheme until the risk of power amplification module failure is eliminated, thereby ensuring the safety of the power amplification module, reducing the failure probability of the power amplification module, and improving the stability of the radio frequency system. The APT power supply scheme is mature, and the possibility of the power amplification module failing is further controlled.

[0055] In some other possible technologies, an overcurrent protection circuit or an overvoltage protection circuit can also be integrated on the power amplification module or the switching power supply to detect the changes in the current or voltage on the power supply circuit of the power amplification module. Once the detected current or voltage exceeds the set threshold, the current limiting or voltage limiting switch is triggered to reduce the current or voltage on the power supply circuit, and thus the risk of power amplification module failure can also be reduced. However, in this way, the entire circuit will generate current limiting and voltage limiting, and the power amplification module will not be able to work properly. If the current limiting and voltage limiting state cannot be restored in time, the communication of the radio frequency system will be greatly affected. In the embodiments of the present application, by controlling the switching power supply to switch from the first power supply mode to the second power supply mode to supply power to the power amplification module when the first supply voltage is greater than the preset voltage threshold, the risk of power amplification module failure can be reduced, and the normal operation of the power amplification module can be ensured, ensuring the normal operation of the radio frequency system and improving the working reliability of the electronic device.

[0056] In some other possible technologies, when designing the circuit of the radio frequency system, a voltage stabilizing and current limiting circuit or components such as a voltage stabilizing diode and a current stabilizing diode can be set on the VCC power supply to suppress the oscillation of the supply voltage and reduce the risk of failure of the power amplification module. However, this method will increase the circuit design cost, compress the layout routing space, and has poor flexibility. The implementation method of the embodiment of the present application is simple and easy to promote. In addition, when the voltage detection circuit originally set in the radio frequency system is reused in the embodiment of the present application (for example, the switching power supply has the voltage detection ability and / or the power amplification module has the voltage detection ability), no additional cost is required on the hardware, which is beneficial to cost control.

[0057] In one embodiment, based on the Figure 1 embodiment shown, refer to Figure 3 , the power supply control method of this embodiment further includes Figure 3 steps 301 and 302 shown in

[0058] Step 301, obtain the current second supply voltage of the power amplification module.

[0059] In the embodiment of the present application, after the electronic device controls the switching power supply to switch from the first power supply mode to the second power supply mode to supply power to the power amplification module, in order to avoid the situation that the supply voltage may oscillate in waveform due to the switching of the switching power supply in the second power supply mode, which may lead to the failure of the power amplification module, the electronic device continues to monitor the current supply voltage of the power amplification module, which is herein referred to as the second supply voltage.

[0060] Among them, the manner in which the electronic device obtains the second supply voltage is similar to the manner in which the electronic device obtains the first supply voltage, and will not be elaborated herein.

[0061] After the electronic device obtains the current second supply voltage of the power amplification module, it compares the second supply voltage with a preset voltage threshold. For the introduction of the preset voltage threshold, please refer to the relevant description in the above embodiment and will not be elaborated herein.

[0062] If the second supply voltage is greater than the preset voltage threshold, it means that the second supply voltage generated in the second power supply mode is an abnormal voltage, and continuing to supply power to the power amplification module using the second power supply mode is likely to cause the failure of the power amplification module; if the second supply voltage is less than or equal to the preset voltage threshold, it means that the second supply voltage is a normal supply voltage, and the second power supply mode can continue to be used to supply power to the power amplification module.

[0063] Step 302, when the second supply voltage is greater than the preset voltage threshold, control the switching power supply to supply power to the power amplification module based on the third power supply mode.

[0064] When the electronic device detects that the second supply voltage is greater than the preset voltage threshold, it indicates that an abnormal voltage has occurred during power supply based on the second power supply mode. For example, it may be because there is a switching of the switch in the switching power supply under the second power supply mode, resulting in waveform oscillation of the supply voltage. If the second power supply mode continues to be used to supply power to the power amplification module, it may cause the power amplification module to fail. In this case, the electronic device controls the switching power supply to switch from the second power supply mode to the third power supply mode, and supplies power to the power amplification module based on the third power supply mode. The power supply efficiency of the second power supply mode is greater than that of the third power supply mode.

[0065] In the embodiments of the present application, the switching power supply can support the first power supply mode, the second power supply mode, and the third power supply mode, and support the switching between the first power supply mode, the second power supply mode, and the third power supply mode. Both the first power supply mode and the second power supply mode can provide a dynamically changing supply voltage, and the third power supply mode can provide a fixed supply voltage. The power supply efficiencies of the first power supply mode, the second power supply mode, and the third power supply mode decrease in sequence. Since the third power supply mode provides a fixed supply voltage, the switching power supply does not need to switch frequently, and usually does not cause waveform oscillation of the supply voltage, greatly reducing the risk of waveform oscillation of the supply voltage.

[0066] In a possible implementation manner, the second power supply mode is the average power tracking APT power supply mode, and the third power supply mode is the full bias Full Bias power supply mode.

[0067] When the electronic device supplies power to the power amplification module based on the APT power supply mode of the switching power supply, the electronic device obtains the current second supply voltage of the power amplification module. The electronic device detects whether the second supply voltage is greater than the preset voltage threshold. When the second supply voltage is greater than the preset voltage threshold, the electronic device controls the switching power supply to supply power to the power amplification module based on the Full Bias power supply mode.

[0068] Compared with the Full Bias technology, the APT technology has better power consumption performance. However, in the APT technology, the output still needs to perform switching. To avoid the waveform oscillation of the supply voltage that may be caused by such switching, when the second supply voltage is greater than the preset voltage threshold, the electronic device controls the switching power supply to fallback from the APT power supply mode to the Full Bias power supply mode and switches the corresponding calibration parameters, that is, the switching power supply switches from the APT calibration parameters to using the Full Bias calibration parameters (the radio frequency system can be pre-calibrated, for example, at the factory stage of the electronic device, so that the electronic device has APT calibration parameters and Full Bias calibration parameters), and changes the power supply scheme. The Full Bias technology provides a constant supply voltage, and the switching power supply does not need to be switched frequently, and there is very little possibility of causing waveform oscillation of the supply voltage, greatly reducing the risk of waveform oscillation of the supply voltage.

[0069] In one embodiment, based on any of the above embodiments, taking the Figure 1 illustrated embodiment as an example, see Figure 4 , in this embodiment, the power amplification module has a preset gain mode in the first power supply mode. Before the electronic device controls the switching power supply to supply power to the power amplification module based on the second power supply mode, as Figure 4 illustrated, the power supply control method of this embodiment further includes Figure 4 illustrated step 401:

[0070] Step 401, in the second power supply mode, perform radio frequency calibration on the power amplification module so that the power amplification module has a preset gain mode in the second power supply mode.

[0071] Among them, the preset gain mode at least includes a high gain mode, and high gain can refer to a gain greater than the gain threshold.

[0072] The first power supply mode can support high-power scenarios. To ensure the communication performance of the entire electronic device after switching from the first power supply mode to the second power supply mode, in the embodiments of the present application, the power amplification module can be pre-calibrated in the second power supply mode so that the second power supply mode also supports high-power scenarios, that is, the power amplification module has a high gain mode in the second power supply mode, and the power amplification module can support high-gain output in the high gain mode.

[0073] Exemplarily, performing radio frequency calibration on the power amplification module in the second power supply mode can also enable the power amplification module to have a low gain mode in the second power supply mode. Low gain can refer to a gain less than or equal to the gain threshold, and the power amplification module can support low-gain output in the low gain mode to meet the requirements of various power scenarios.

[0074] In one embodiment, referring to Figure 5 , a power supply control method for an electronic device is provided, including the following steps:

[0075] Step 501, in the APT power supply mode, perform radio frequency calibration on the power amplifier module so that the power amplifier module has a high gain mode in the APT power supply mode.

[0076] Step 502, when the switching power supply supplies power to the power amplifier module based on the ET power supply mode, obtain the current first power supply voltage of the power amplifier module.

[0077] The power amplifier module has a preset gain mode in the ET power supply mode.

[0078] Step 503, detect whether the first power supply voltage is greater than a preset voltage threshold.

[0079] When the first power supply voltage is less than or equal to the preset voltage threshold, return to execute step 502.

[0080] Step 504, when the first power supply voltage is greater than the preset voltage threshold, control the switching power supply to supply power to the power amplifier module based on the APT power supply mode.

[0081] Step 505, obtain the current second power supply voltage of the power amplifier module.

[0082] When the second power supply voltage is less than or equal to the preset voltage threshold, return to execute step 505.

[0083] Step 506, when the second power supply voltage is greater than the preset voltage threshold, control the switching power supply to supply power to the power amplifier module based on the FullBias power supply mode.

[0084] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or steps or stages in other steps.

[0085] Based on the same inventive concept, an embodiment of the present application further provides a power supply control device for implementing the power supply control method involved above. The solution provided by this device for solving problems is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the power supply control device provided below can refer to the limitations on the power supply control method in the above text, and will not be repeated here.

[0086] In an exemplary embodiment, as Figure 6 shown, a power supply control device is provided, including:

[0087] An acquisition module 601, configured to acquire the current first power supply voltage of the power amplification module when the switching power supply supplies power to the power amplification module based on a first power supply mode;

[0088] A detection module 602, configured to detect whether the first power supply voltage is greater than a preset voltage threshold;

[0089] A control module 603, configured to control the switching power supply to supply power to the power amplification module based on a second power supply mode when the first power supply voltage is greater than the preset voltage threshold, and the power supply efficiency of the first power supply mode is greater than that of the second power supply mode.

[0090] In one embodiment, the first power supply mode is an envelope tracking ET power supply mode, and the second power supply mode is an average power tracking APT power supply mode.

[0091] In one embodiment, the acquisition module 601 is further configured to acquire the current second power supply voltage of the power amplification module after the control module 603 controls the switching power supply to supply power to the power amplification module based on the second power supply mode;

[0092] The control module 603 is further configured to control the switching power supply to supply power to the power amplification module based on a third power supply mode when the second power supply voltage is greater than the preset voltage threshold, and the power supply efficiency of the second power supply mode is greater than that of the third power supply mode.

[0093] In one embodiment, the third power supply mode is a full bias Full Bias power supply mode.

[0094] In one embodiment, the power amplification module has a preset gain mode in the first power supply mode, and the device further includes:

[0095] A calibration module, configured to perform radio frequency calibration on the power amplification module in the second power supply mode before the control module 603 controls the switching power supply to supply power to the power amplification module based on the second power supply mode, so that the power amplification module has the preset gain mode in the second power supply mode, and the preset gain mode at least includes a high gain mode.

[0096] In one embodiment, the obtaining module 601 is specifically configured to obtain the first power supply voltage through a voltage detection circuit provided between the switching power supply and the power amplification module.

[0097] Each module in the above power supply control device can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in or independent of a processor in an electronic device in the form of hardware, or stored in a memory in the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above respective modules.

[0098] In an exemplary embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as Figure 7 shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used for exchanging information between the processor and external devices. The communication interface of the electronic device is used for communicating with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a power supply control method. The display unit of the electronic device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen may be a liquid crystal display screen or an electronic ink display screen. The input device of the electronic device may be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the electronic device, or an external keyboard, touchpad, or mouse, etc.

[0099] Those skilled in the art can understand, Figure 7The structure shown is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the electronic device to which the solution of this application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.

[0100] Embodiments of this application also provide a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, cause the processors to execute the steps of the power supply control method.

[0101] Embodiments of this application also provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the power supply control method.

[0102] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.

[0103] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory 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), magnetoresistive 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 be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processors, digital chargers, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., without limitation.

[0104] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, 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, it should be considered to be within the scope recorded in the present application.

[0105] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims

1. A power supply control method, characterized in that: The method comprises: When the switch power supply supplies power to the power amplifier module based on the first power supply mode, obtaining a current first power supply voltage of the power amplifier module; Detecting whether the first supply voltage is greater than a preset voltage threshold; When the first supply voltage is greater than the preset voltage threshold, the switching power supply is controlled to supply power to the power amplifier module based on a second power supply mode, and the power supply efficiency of the first power supply mode is greater than the power supply efficiency of the second power supply mode.

2. The method according to claim 1, characterized in that The first power supply mode is an envelope tracking (ET) power supply mode, and the second power supply mode is an average power tracking (APT) power supply mode.

3. The method according to claim 1 or 2, characterized in that: After controlling the switch power supply to supply power to the power amplifier module based on the second power supply mode, the method further includes: Acquire the current second supply voltage of the power amplification module; When the second supply voltage is greater than the preset voltage threshold, the switching power supply is controlled to supply power to the power amplifier module based on a third power supply mode, and the power supply efficiency of the second power supply mode is greater than the power supply efficiency of the third power supply mode.

4. The method according to claim 3, characterized in that The third power supply mode is a full bias power supply mode.

5. The method according to claim 1, characterized in that The power amplifier module has a preset gain mode in the first power supply mode, and before controlling the switching power supply to supply power to the power amplifier module based on the second power supply mode, the method further includes: In the second power supply mode, the power amplifier module is calibrated by radio frequency, so that the power amplifier module has the preset gain mode in the second power supply mode, and the preset gain mode at least includes a high gain mode.

6. The method according to claim 1, characterized in that The obtaining of the current first supply voltage of the power amplification module includes: The first supply voltage is obtained through a voltage detection circuit provided between the switching power supply and the power amplification module.

7. A power supply control device, characterized in that: The device comprises: An acquisition module, configured to acquire a current first supply voltage of the power amplifier module when the switching power supply supplies power to the power amplifier module based on the first power supply mode; A detection module, used to detect whether the first supply voltage is greater than a preset voltage threshold; A control module is used to control the switching power supply to power the power amplifier module based on a second power supply mode when the first power supply voltage is greater than the preset voltage threshold, and the power supply efficiency of the first power supply mode is greater than the power supply efficiency of the second power supply mode.

8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.