Baseband chip, voltage adjustment method and terminal equipment

By configuring the DVFS management system in the baseband chip and using a high-speed data interface and a fast-responding power management module, the problem of long voltage change intervals in the existing technology is solved, and fine control of voltage adjustment and reduction of system power consumption are achieved.

CN114527819BActive Publication Date: 2024-09-13GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210126404.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-10
Publication Date
2024-09-13
Estimated Expiration
2042-02-10

AI Technical Summary

Technical Problem

The existing dynamic voltage frequency adjustment (DVFS) technology in cellular mobile system terminals is limited by the decision time, transmission time, and adjustment time in the voltage adjustment process, resulting in long voltage change intervals, high system power consumption, and inability to realize voltage adjustment. fine control.

Method used

The DVFS management system is configured in the baseband chip to promptly respond to voltage adjustment needs by obtaining the expected voltage of the subsystem. Combined with a high-speed data interface and a fast-response power management module, the processing time of voltage adjustment is shortened and fine control of voltage adjustment is achieved.

Benefits of technology

It effectively shortens the processing time of voltage adjustment, reduces system power consumption, and achieves fine control of voltage adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114527819B
    Figure CN114527819B
Patent Text Reader

Abstract

The embodiment of the present application discloses a baseband chip, a voltage adjustment method and a terminal device. The baseband chip includes at least one subsystem and a DVFS management system, wherein each subsystem is used to calculate the expected voltage in the next adjustment cycle; the DVFS management system is used to send a voltage adjustment request to a power management module; wherein the voltage adjustment request is used to indicate the target voltage output by the power management module to the baseband chip in the next adjustment cycle, and the target voltage is not less than the expected voltage of each subsystem in the next adjustment cycle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of chip design, and in particular to a baseband chip, a voltage adjustment method and a terminal device. Background Art

[0002] The existing cellular mobile system terminals, Dynamic Voltage and Frequency Scaling (DVFS) solutions are mostly scenario-level, for example, for paging, the voltage and frequency are increased during paging, and the voltage and frequency are reduced after paging is completed, and the interval between two voltage adjustments is usually more than 10ms. More advanced ones are for specific time slots, before the specific time slot arrives, the voltage and frequency are increased, and after the specific time slot ends, the voltage and frequency are reduced, and the interval between two voltage adjustments is more than 500us.

[0003] It can be seen that the current common DVFS technology is limited by the decision time, transmission time, and adjustment time in the voltage adjustment process, and cannot further shorten the interval between two voltage adjustment changes. There is a problem of too long voltage change interval, which in turn leads to high system power consumption and the inability to achieve fine control of voltage adjustment. Summary of the invention

[0004] The embodiments of the present application provide a baseband chip, a voltage adjustment method and a terminal device, which can effectively shorten the processing time of voltage adjustment, thereby reducing system power consumption, and at the same time achieve fine control of voltage adjustment processing.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a baseband chip, wherein the baseband chip includes at least one subsystem and a DVFS management system, wherein:

[0007] Each subsystem is used to calculate the expected voltage in the next adjustment cycle;

[0008] The DVFS management system is used to send a voltage adjustment request to the power management module; wherein the voltage adjustment request is used to indicate a target voltage to be output by the power management module to the baseband chip in a next adjustment cycle, and the target voltage is not less than an expected voltage of each subsystem in the next adjustment cycle.

[0009] In a second aspect, an embodiment of the present application provides a voltage adjustment method, which is applied to a terminal device, wherein the terminal device is configured with a baseband chip and a power management module, wherein the power management module is used to power the baseband chip, and the baseband chip includes at least one subsystem and a DVFS management system, and the method includes:

[0010] Each subsystem calculates the expected voltage during the next regulation cycle;

[0011] The DVFS management system sends a voltage adjustment request to the power management module; wherein the voltage adjustment request is used to indicate a target voltage to be output by the power management module to the baseband chip in a next adjustment cycle, and the target voltage is not less than an expected voltage of each subsystem in the next adjustment cycle.

[0012] In a third aspect, an embodiment of the present application provides a terminal device, comprising: a power management module and a baseband chip as described in the first aspect, wherein the power management module is used to supply power to the baseband chip.

[0013] The embodiment of the present application provides a baseband chip, a voltage adjustment method and a terminal device, wherein the baseband chip includes at least one subsystem and a DVFS management system, wherein each subsystem is used to calculate the expected voltage in the next adjustment cycle; the DVFS management system is used to send a voltage adjustment request to the power management module; wherein the voltage adjustment request is used to indicate the target voltage output by the power management module to the baseband chip in the next adjustment cycle, and the target voltage is not less than the expected voltage of each subsystem in the next adjustment cycle. That is to say, in the embodiment of the present application, the DVFS management system configured in the baseband chip of the terminal device can respond to the voltage adjustment demand of the subsystem in a timely manner by obtaining the expected voltage of the subsystem, thereby shortening the perception decision time of the voltage adjustment, and at the same time, the transmission time and adjustment time of the voltage adjustment can be further shortened by using a high-speed data interface and a fast-response power management module, thereby effectively shortening the processing time of the voltage adjustment, thereby reducing the system power consumption, and realizing fine control of the voltage adjustment process. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a schematic diagram of the DVFS scheme;

[0015] Figure 2 This is a schematic diagram of the implementation framework of the DVFS solution;

[0016] Figure 3 The structure of the baseband chip is shown in Figure 1. Figure 1 ;

[0017] Figure 4 It is a schematic diagram of the structure of the DVFS management system;

[0018] Figure 5 A schematic diagram of the effect of adjusting the voltage;

[0019] Figure 6 Schematic diagram of the implementation process of the voltage adjustment method Figure 1;

[0020] Figure 7 Schematic diagram of the implementation process of the voltage adjustment method Figure 2 ;

[0021] Figure 8 It is a schematic diagram of the composition structure of the terminal equipment;

[0022] Fig. 9 is a schematic diagram of a baseband chip;

[0023] Fig.10 Schematic diagram of the implementation process of the voltage adjustment method Figure 3 ;

[0024] Fig.11 Schematic diagram of the implementation process of the voltage adjustment method Figure 4 ;

[0025] Fig.12 is a schematic diagram of a power management module;

[0026] Fig.13 Schematic diagram of the voltage adjustment process. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It is understood that the specific embodiments described herein are only used to explain the related applications, rather than to limit the applications. It should also be noted that, for ease of description, only the parts related to the related applications are shown in the drawings.

[0028] Dynamic Voltage and Frequency Scaling (DVFS) technology refers to the realization of low power consumption through the integrated design of software and hardware, and has received more attention in the low power consumption design of microprocessors. Among them, DVFS technology allows the circuit operating voltage and frequency to be dynamically adjusted while maintaining the normal operation of the system, which can not only reduce the power consumption of the circuit but also extend the service life of the circuit.

[0029] The workflow of a typical DVFS system includes: sampling the system signal load, predicting the performance calculation through the corresponding algorithm, adjusting the circuit working state through DVFS according to the prediction results, and then implementing state regulation and maintenance by the power management system. The DVFS adjustment includes dynamic voltage adjustment and clock frequency adjustment. When the operating frequency is predicted to change from high to low, the frequency is first reduced, and then the voltage is reduced; when the operating frequency is predicted to increase, the voltage is first increased, and then the frequency is increased.

[0030] In existing cellular mobile system terminals, DVFS solutions are mostly scenario-level. For example, for paging, the voltage and frequency are increased during paging, and the voltage and frequency are reduced after paging is completed. The interval between two voltage adjustments is usually more than 10ms. Figure 1 is a schematic diagram of the DVFS solution, such as Figure 1 As shown, the more advanced ones increase the voltage and frequency (for example, the voltage is increased from V1 to V2) before the specific time slot arrives, and reduce the voltage and frequency (for example, the voltage is reduced from V2 to V1) after the specific time slot ends, and the interval t between the two voltage adjustments is more than 500us.

[0031] Figure 2 The schematic diagram of the implementation framework of the DVFS solution is as follows: Figure 2 As shown in the figure, the common DVFS framework currently includes three parts: baseband, RF and power management module. The power management module is responsible for supplying power to the baseband and RF parts of the terminal. The power supply voltage is controlled by the baseband part. The baseband part sends a voltage adjustment instruction to the power management module. After receiving the voltage adjustment instruction, the power management module adjusts the voltage.

[0032] If the baseband part or the RF part needs to increase the operating frequency, it is generally necessary to first send an adjustment instruction to increase the voltage to the power management module. After the power management module completes the corresponding adjustment of the increased voltage, the baseband part or the RF part can increase the frequency. If the baseband part or the RF part needs to reduce the operating frequency, the baseband part or the RF part can directly reduce the frequency first and then reduce the voltage to achieve the purpose of safe and stable operation and avoid abnormalities caused by voltage regulation.

[0033] It can be seen that the current common DVFS technology is limited by the decision time, transmission time, and adjustment time in the voltage adjustment process, and cannot further shorten the interval between two voltage adjustment changes. There is a problem of too long voltage change interval, which in turn leads to high system power consumption and the inability to achieve fine control of voltage adjustment.

[0034] In order to solve the above problems, in an embodiment of the present application, the DVFS management system configured in the baseband chip of the terminal device can promptly respond to the voltage adjustment demand of the subsystem by acquiring the expected voltage of the subsystem, thereby shortening the perception decision time of the voltage adjustment. At the same time, the transmission time and adjustment time of the voltage adjustment can be further shortened by using a high-speed data interface and a fast-response power management module, thereby effectively shortening the processing time of the voltage adjustment, thereby reducing the system power consumption and realizing fine control of the voltage adjustment processing.

[0035] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0036] An embodiment of the present application provides a baseband chip, which includes at least one subsystem and a DVFS management system.

[0037] In the embodiments of the present application, Figure 3 The structure of the baseband chip is shown in Figure 1. Figure 1 ,like Figure 3 As shown, the baseband chip 10 may include at least one subsystem 11, wherein the at least one subsystem 11 may all operate in the same voltage domain; the baseband chip 10 may also include a DVFS management system 12, and the DVFS management system 12 may be used for voltage adjustment processing.

[0038] Furthermore, in the embodiment of the present application, each subsystem 11 can be used to calculate the expected voltage in the next adjustment cycle.

[0039] It is understandable that, in the embodiment of the present application, the expected voltage of each subsystem in the next adjustment cycle can predict the voltage required by each subsystem in the next adjustment cycle. The expected voltage of each subsystem in the next adjustment cycle can be used to predict the voltage required by each subsystem when performing a task, and can also be used to predict the voltage required by each subsystem when it is in a low power consumption mode after completing the task.

[0040] That is to say, in the embodiment of the present application, no matter whether the subsystem is in a working state of executing a task, as long as the voltage required by the subsystem changes, the expected voltage in the next adjustment cycle can be generated.

[0041] It should be noted that, in the embodiments of the present application, each subsystem can be specifically used to decompose the current task and determine the subtasks corresponding to the current task; and determine the expected voltage in the next adjustment cycle according to the subtasks.

[0042] In an embodiment of the present application, each subsystem in the baseband chip may first decompose and process the current task, thereby obtaining at least one subtask corresponding to the current task.

[0043] It should be noted that, in the embodiments of the present application, for any one of the at least one subsystems of the baseband chip, after obtaining the task, the task can be decomposed into at least one subtask, and then the at least one subtask is completed in chronological order. For example, for the current task, the subsystem can decompose and obtain multiple subtasks corresponding to the current task, namely subtask 1, subtask 2, subtask 3, subtask 4, and subtask 5, and then the subsystem can execute subtask 1, subtask 2, subtask 3, subtask 4, and subtask 5 in sequence.

[0044] In an embodiment of the present application, after completing the decomposition of the current task and obtaining the subtasks corresponding to the current task, each subsystem can determine the expected voltage of the subtask in the next adjustment cycle, and then transmit the expected voltage to the DVFS management system, so that the DVFS management system can perform voltage adjustment processing according to the expected voltage.

[0045] Furthermore, in an embodiment of the present application, each subsystem can predict the voltage required when executing a subtask, thereby determining the expected voltage in the next adjustment cycle. Specifically, the subsystem can first determine the frequency corresponding to the execution of the subtask, and then use the frequency to further determine the corresponding voltage. For example, Table 1 shows the correspondence between subtasks, frequencies, and voltages. As shown in Table 1, when executing different subtasks, the frequency required by the subsystem may be different, and accordingly, the required voltage may also be different. For example, for subtask 3, the subsystem can predict that the corresponding operating frequency may be 500MHz, and then it can be determined that the expected voltage in the next adjustment cycle may be 0.8V.

[0046] Table 1

[0047] Frequency (MHz) Voltage (V) Subtask 1 100 0.6 Subtask 2 200 0.7 Subtask 3 500 0.8 Subtask 4 300 0.7 Subtask 5 100 0.5

[0048] Further, in an embodiment of the present application, the subsystem sequentially executes the subtasks obtained after decomposition, and therefore, the subsystem sequentially transmits the expected voltages of different subtasks in the next adjustment cycle to the DVFS management system. For example, before executing subtask 1, the subsystem may first notify the DVFS management system of the expected voltage of subtask 1 in the next adjustment cycle, and after completing subtask 3 and before executing subtask 4, the subsystem will notify the DVFS management system of the expected voltage of subtask 4 in the next adjustment cycle. Specifically, the subsystem may choose to notify the DVFS management system of the expected voltage of each subtask in the next adjustment cycle in turn by voting.

[0049] It should be noted that in an embodiment of the present application, after completing a subtask and before starting the next subtask, the subsystem can also enter a pre-set low power consumption mode. At this time, the subsystem can transmit the preset low power consumption voltage corresponding to the low power consumption mode as the expected voltage in the next adjustment cycle to the DVFS management system.

[0050] Further, in an embodiment of the present application, the DVFS management system 12 can be used to send a voltage adjustment request to the power management module; wherein the voltage adjustment request is used to indicate the target voltage output by the power management module to the baseband chip in the next adjustment cycle, specifically, the target voltage is not less than the expected voltage of each subsystem in the next adjustment cycle 11.

[0051] In the embodiments of the present application, Figure 4 The schematic diagram of the structure of the DVFS management system is as follows: Figure 4 As shown, the DVFS management system 12 may include a sensing unit 121 and a decision unit 122 .

[0052] It should be noted that, in an embodiment of the present application, the sensing unit can be used to obtain the expected voltage of each subsystem in the next adjustment cycle; the decision unit can be used to determine the target voltage based on the expected voltage of each subsystem in the next adjustment cycle.

[0053] Based on the above Figure 4 The DVFS management system 12 may include a voltage regulation control unit 123 and a high-speed data interface 124 .

[0054] It should be noted that, in an embodiment of the present application, the voltage regulation control unit can be used to generate a voltage adjustment request according to the voltage value of the target voltage; wherein, the voltage regulation control unit can specifically be used to package the target voltage according to a preset compression format to generate a voltage adjustment request.

[0055] It should be noted that, in an embodiment of the present application, the high-speed data interface can be used to send a voltage adjustment request to the power management module; wherein, the high-speed data interface can specifically be used to send the voltage adjustment request to the power management module according to a preset interface format.

[0056] That is to say, in the embodiment of the present application, the DVFS management system may be composed of a sensing unit, a decision unit, a voltage regulation control unit and a high-speed data interface. Among them, the sensing unit may be used to obtain the expected voltage of each subsystem in at least one subsystem, the decision unit may be used to determine the final target voltage according to the expected voltage of each subsystem, the voltage regulation control unit may package the target voltage in a predetermined format and then send it to the high-speed data interface, and the high-speed data interface may further send it to the power management module.

[0057] It can be understood that in the embodiments of the present application, the power management module and the baseband chip can communicate with each other, so as to implement the request and feedback processing of adjusting the voltage.

[0058] Furthermore, in an embodiment of the present application, the power management module may include a high-speed communication interface, a control register and a DCDC circuit; wherein the high-speed communication interface can be used to receive the voltage adjustment request; the control register can be used to control the DCDC circuit to output the target voltage based on the voltage value of the target voltage indicated by the voltage adjustment request.

[0059] It should be noted that, in the embodiment of the present application, the DVFS management system can communicate with each subsystem separately.

[0060] Further, in an embodiment of the present application, the DVFS management system may be specifically used to obtain an expected voltage of each subsystem in the next adjustment cycle; and then determine a target voltage according to the expected voltage of each subsystem in the next adjustment cycle.

[0061] In an embodiment of the present application, after obtaining the expected voltage of each subsystem in the next adjustment cycle, the DVFS management system can determine the target voltage for voltage adjustment processing based on the expected voltage, and then generate a voltage adjustment request based on the target voltage, and then instruct the power management module to output the target voltage to the baseband chip in the next adjustment cycle by sending the voltage adjustment request.

[0062] It is understandable that in the embodiment of the present application, the target voltage can be used to determine the adjusted voltage. The target voltage can be generated by the DVFS management system in combination with all expected voltages of all subsystems in the baseband chip in the next adjustment cycle and the current system voltage.

[0063] Further, in an embodiment of the present application, the DVFS management system can also be used to determine whether the voltage adjustment condition is met according to the expected voltage of each subsystem in the next adjustment cycle and the current system voltage. Specifically, the DVFS management system can compare the expected voltage of the subsystem in the next adjustment cycle with the current system voltage to obtain a comparison result, so as to further determine whether the voltage adjustment condition is met according to the comparison result.

[0064] It is understandable that, in the embodiments of the present application, the current system voltage may represent the current voltage of the baseband chip in the terminal device. Specifically, since all subsystems in the baseband chip may operate in the same voltage domain, the current system voltage may also represent the current voltage of each subsystem in the baseband chip.

[0065] It should be noted that, in the embodiment of the present application, the DVFS management system may be specifically used to determine that a subsystem meets the voltage adjustment condition if the expected voltage of the subsystem in the next adjustment cycle is greater than the current system voltage.

[0066] That is to say, in an embodiment of the present application, after the DVFS management system compares the expected voltage of the subsystem in the next adjustment cycle with the current system voltage, if the comparison result is that the expected voltage is greater than the current system voltage, it can be considered that an adjustment process to increase the voltage is required, and the DVFS management system can determine that the voltage adjustment conditions are met.

[0067] It is understandable that in the embodiment of the present application, when the expected voltage of any subsystem in the next adjustment cycle is greater than the current system voltage, it can be determined that voltage adjustment processing is required. For example, if the expected voltage notified by a subsystem is 0.8V and the current system voltage is 0.6V, it can be determined that the voltage adjustment condition is met.

[0068] It should be noted that in an embodiment of the present application, the DVFS management system can be specifically used to further determine whether the voltage adjustment condition is met based on the expected voltage of other subsystems in the next adjustment cycle and the current system voltage if the expected voltage of a subsystem in the next adjustment cycle is less than the current system voltage.

[0069] That is to say, in an embodiment of the present application, after the DVFS management system compares the expected voltage of the subsystem in the next adjustment cycle with the current system voltage, if the comparison result is that the expected voltage is less than the current system voltage, it can be considered that an adjustment process of lowering the voltage is required. However, the DVFS management system also needs to consider the voltage adjustment requirements of other subsystems other than the subsystem. Therefore, the DVFS management system also needs to continue to determine whether the voltage adjustment conditions are met based on the expected voltages of other subsystems in the next adjustment cycle and the current system voltage.

[0070] It can be understood that in the embodiment of the present application, when the expected voltage of any subsystem in the next adjustment cycle is less than the current system voltage, the DVFS management system cannot directly determine whether voltage adjustment processing is required, but needs to further judge and process based on the relationship between the expected voltage of other subsystems in the next adjustment cycle and the current system voltage.

[0071] Further, in an embodiment of the present application, the DVFS management system can be specifically used to determine that a subsystem meets the voltage adjustment condition if the maximum voltage among the expected voltages of other subsystems in the next adjustment cycle is less than the current system voltage.

[0072] It can be understood that in the embodiment of the present application, after the DVFS management system compares the maximum voltage among the expected voltages of other subsystems in the next adjustment cycle with the current system voltage, if the comparison result is that the maximum voltage is equal to the current system voltage, it can be considered that the maximum voltage among the required voltages of all subsystems in the next adjustment cycle cannot be lower than the current system voltage, and therefore it can be determined that the voltage adjustment condition is not met, that is, the DVFS management system can determine that the voltage adjustment condition is not met.

[0073] It can be understood that in the embodiment of the present application, after the DVFS management system compares the maximum voltage among the expected voltages of other subsystems in the next adjustment cycle with the current system voltage, if the comparison result is that the maximum voltage is less than the current system voltage, it can be considered that the required voltages of all subsystems are lower than the current system voltage, and therefore it can be determined that the voltage adjustment conditions are met, that is, the DVFS management system can determine that the voltage adjustment conditions are met.

[0074] Further, in an embodiment of the present application, if the expected voltage of the subsystem in the next adjustment cycle is greater than the current system voltage, the DVFS management system may be specifically used to determine the expected voltage as the target voltage.

[0075] That is to say, in an embodiment of the present application, when the DVFS management system determines the target voltage, if the expected voltage of the subsystem in the next adjustment cycle is greater than the current system voltage, an adjustment process for increasing the voltage is required. Accordingly, the DVFS management system can directly determine the expected voltage as the target voltage.

[0076] Further, in an embodiment of the present application, if the expected voltage of a subsystem in the next adjustment cycle is less than the current system voltage, the DVFS management system can be specifically used to determine the maximum voltage among the expected voltages of other subsystems in the next adjustment cycle as the target voltage.

[0077] That is to say, in an embodiment of the present application, when the DVFS management system determines the target voltage, if the expected voltage of the subsystem in the next adjustment cycle is less than the current system voltage, an adjustment process of lowering the voltage is required. Accordingly, the DVFS management system can determine the maximum voltage among the expected voltages of other subsystems in the next adjustment cycle as the target voltage.

[0078] It can be seen that in an embodiment of the present application, for a subsystem, the corresponding target voltage can be the expected voltage of the subsystem in the next adjustment cycle, or it can be the maximum voltage among the expected voltages of other subsystems in the next adjustment cycle, that is, the target voltage is not less than the expected voltage of each subsystem in the next adjustment cycle.

[0079] The DVFS management system configured with the baseband chip proposed in the embodiment of the present application can obtain the voltage adjustment requirements of each subsystem through a voting mechanism, and uses a high-speed transmission interface and a fast-response power supply to design a DVFS solution system architecture that supports In-slot. Among them, in realizing a slot, (for example, when the sub-carrier space (SCS) is 30, 1slot = 500us; when the SCS is 60, 1slot = 250us), accurate and high-speed voltage switching is performed multiple times. For example, within 500us, the baseband only uses high voltage within tens of microseconds of decoding / demodulation, and immediately reduces the voltage to save power after completion. It is even possible to decompose 500us into several segments, each using a different voltage.

[0080] Figure 5 This is a schematic diagram of the effect of adjusting the voltage. Figure 5 As shown, taking the Physical Downlink Control Channel (PDCCH) as an example, within a 0.5ms time window, according to business requirements and current conditions, a voltage adjustment process of 1 increase (voltage from V1 to V2) and 1 decrease (voltage from V2 to V1) can be completed, thereby achieving fine control of the voltage adjustment process.

[0081] The embodiment of the present application provides a baseband chip, which includes at least one subsystem and a DVFS management system, wherein each subsystem is used to calculate the expected voltage in the next adjustment cycle; the DVFS management system is used to send a voltage adjustment request to the power management module; wherein the voltage adjustment request is used to indicate the target voltage output by the power management module to the baseband chip in the next adjustment cycle, and the target voltage is not less than the expected voltage of each subsystem in the next adjustment cycle. That is to say, in the embodiment of the present application, the DVFS management system configured in the baseband chip of the terminal device can respond to the voltage adjustment demand of the subsystem in a timely manner by obtaining the expected voltage of the subsystem, shortening the perception decision time of the voltage adjustment, and at the same time, can further shorten the transmission time and adjustment time of the voltage adjustment by using a high-speed data interface and a fast-response power management module, thereby effectively shortening the processing time of the voltage adjustment, thereby reducing the system power consumption, and realizing the fine control of the voltage adjustment processing.

[0082] An embodiment of the present application provides a voltage adjustment method, which can be applied to a terminal device, wherein the terminal device can be configured with a baseband chip and a power management module, the power management module is used to power the baseband chip, and the baseband chip may include at least one subsystem and a DVFS management system.

[0083] It should be noted that, in an embodiment of the present application, each subsystem may first calculate the expected voltage in the next adjustment cycle; then, the DVFS management system sends a voltage adjustment request to the power management module; wherein the voltage adjustment request is used to indicate the target voltage output by the power management module to the baseband chip in the next adjustment cycle, and the target voltage is not less than the expected voltage of each subsystem in the next adjustment cycle.

[0084] It can be understood that in an embodiment of the present application, when each subsystem calculates the expected voltage in the next adjustment cycle, each subsystem can first decompose the current task and determine the subtask corresponding to the current task; then the expected voltage in the next adjustment cycle can be determined based on the subtask.

[0085] Further, in an embodiment of the present application, the DVFS management system may obtain an expected voltage of each subsystem in the next adjustment cycle; and then may further determine a target voltage according to the expected voltage of each subsystem in the next adjustment cycle.

[0086] Further, in an embodiment of the present application, the DVFS management system may include a sensing unit and a decision unit, wherein the sensing unit may specifically obtain the expected voltage of each subsystem in the next adjustment cycle; the decision unit may specifically determine the target voltage based on the expected voltage of each subsystem in the next adjustment cycle.

[0087] Further, in an embodiment of the present application, the DVFS management system may further include a voltage regulation control unit and a high-speed data interface. Specifically, when the DVFS management system sends a voltage adjustment request to the power management module, the voltage regulation control unit may generate the voltage adjustment request according to the voltage value of the target voltage; and the high-speed data interface may send the voltage adjustment request to the power management module.

[0088] It should be noted that in the embodiment of the present application, the voltage regulation control unit can package the target voltage in a preset compression format to generate the voltage adjustment request. Accordingly, the high-speed data interface can send the voltage adjustment request to the power management module in a preset interface format.

[0089] Further, in an embodiment of the present application, the DVFS management system may also determine whether the voltage adjustment condition is met based on the expected voltage of each subsystem in the next adjustment cycle and the current system voltage. Specifically, if the expected voltage of a subsystem in the next adjustment cycle is greater than the current system voltage, the DVFS management system may determine that the subsystem meets the voltage adjustment condition. If the expected voltage of a subsystem in the next adjustment cycle is less than the current system voltage, the DVFS management system also needs to determine whether the voltage adjustment condition is met based on the expected voltage of other subsystems in the next adjustment cycle and the current system voltage. Among them, if the maximum voltage among the expected voltages of other subsystems in the next adjustment cycle is less than the current system voltage, the DVFS management system may determine that the subsystem meets the voltage adjustment condition.

[0090] Further, in an embodiment of the present application, when the DVFS management system determines the target voltage based on the expected voltage of each subsystem in the next adjustment cycle, if the expected voltage of a subsystem in the next adjustment cycle is greater than the current system voltage, then the DVFS management system may determine the expected voltage of the subsystem in the next adjustment cycle as the target voltage.

[0091] Further, in an embodiment of the present application, when the DVFS management system determines the target voltage based on the expected voltage of each subsystem in the next adjustment cycle, if the expected voltage of a subsystem in the next adjustment cycle is less than the current system voltage, then the DVFS management system may determine the maximum voltage among the expected voltages of other subsystems in the next adjustment cycle as the target voltage.

[0092] Figure 6 Schematic diagram of the implementation process of the voltage adjustment method Figure 1 ,like Figure 6 As shown, in an embodiment of the present application, the method for terminal equipment to adjust voltage may include the following steps:

[0093] Step 101: When an expected voltage of a first subsystem in a next adjustment cycle is obtained, the DVFS management system determines whether a voltage adjustment condition is met according to the expected voltage and the current system voltage; wherein the first subsystem is any one of the at least one subsystem.

[0094] In an embodiment of the present application, when the expected voltage of the first subsystem in the next adjustment cycle is obtained, the DVFS management system may determine whether the voltage adjustment condition is met according to the expected voltage and the current system voltage.

[0095] It can be understood that in the embodiments of the present application, the terminal device can be various electronic devices with communication functions, including but not limited to mobile electronic devices such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDA), tablet computers (PAD), portable multimedia players (PMP), vehicle-mounted electronic devices (such as vehicle-mounted navigation electronic devices), etc., as well as fixed electronic devices such as digital televisions (TV), desktop computers, etc.

[0096] It should be noted that, in an embodiment of the present application, the terminal device may include a power management module and a baseband chip, wherein the power management module and the baseband chip can communicate with each other, thereby realizing voltage adjustment request and feedback processing.

[0097] Further, in an embodiment of the present application, the baseband chip configured in the terminal device may include at least one subsystem, wherein the at least one subsystem may respectively perform tasks in the same voltage domain. The baseband chip configured in the terminal device may also include a DVFS management system, wherein the DVFS management system may respectively communicate with at least one subsystem.

[0098] In an embodiment of the present application, the DVFS management system may be composed of a sensing unit, a decision unit, a high-speed data interface, and a voltage regulation control unit. The sensing unit may be used to obtain the expected voltage of each subsystem in at least one system, the decision unit may be used to determine the final target voltage according to the expected voltage of each subsystem, the voltage regulation control part may package the target voltage in a predetermined format, and then send it to the high-speed data interface, and the high-speed data interface may further send it to the power management module.

[0099] It should be noted that in an embodiment of the present application, the first subsystem can be any one of the at least one subsystem, that is, whenever the expected voltage of any one of the at least one subsystem is updated within the next adjustment cycle, the terminal device can respond to the update of the expected voltage and execute the judgment process of whether to perform voltage adjustment.

[0100] It is understandable that, in the embodiment of the present application, the expected voltage of the first subsystem in the next adjustment cycle can predict the voltage required by the first subsystem in the next adjustment cycle. The expected voltage of the first subsystem in the next adjustment cycle can be used to predict the voltage required by the first subsystem when performing a task, and can also be used to predict the voltage required by the first subsystem when it is in a low power consumption mode after completing the task.

[0101] That is to say, in the embodiment of the present application, no matter whether the first subsystem is in a working state of executing a task, as long as the voltage required by the first subsystem changes, the expected voltage in the next adjustment cycle can be generated.

[0102] Further, in an embodiment of the present application, after obtaining the expected voltage of the first subsystem in the next adjustment cycle, the DVFS management system can determine whether the voltage adjustment condition is met according to the expected voltage and the current system voltage. Specifically, the DVFS management system can compare the expected voltage of the first subsystem in the next adjustment cycle with the current system voltage to obtain a comparison result, so as to further determine whether the voltage adjustment condition is met according to the comparison result.

[0103] It should be noted that in an embodiment of the present application, after the DVFS management system compares the expected voltage of the first subsystem in the next adjustment cycle with the current system voltage, if the comparison result is that the expected voltage is greater than the current system voltage, it can be considered that an adjustment process to increase the voltage is required, and the DVFS management system can determine that the voltage adjustment conditions are met.

[0104] It should be noted that in an embodiment of the present application, after the DVFS management system compares the expected voltage of the first subsystem in the next adjustment cycle with the current system voltage, if the comparison result is that the expected voltage is equal to the current system voltage, it can be considered that no voltage adjustment processing is required, and the DVFS management system can determine that the voltage adjustment conditions are met.

[0105] It should be noted that, in an embodiment of the present application, after the DVFS management system compares the expected voltage of the first subsystem in the next adjustment cycle with the current system voltage, if the comparison result is that the expected voltage is less than the current system voltage, it can be considered that an adjustment process to reduce the voltage is required. However, the DVFS management system also needs to consider the voltage adjustment requirements of other subsystems other than the first subsystem. Therefore, the DVFS management system also needs to update the expected voltage list according to the expected voltage, and then further determine whether the voltage adjustment conditions are met based on the expected voltage list and the current system voltage.

[0106] It is understandable that, in the embodiments of the present application, the current system voltage may represent the current voltage of the baseband chip in the terminal device. Specifically, since all subsystems in the baseband chip may operate in the same voltage domain, the current system voltage may also represent the current voltage of each subsystem in the baseband chip.

[0107] Step 102: If it is determined that the voltage adjustment condition is met, the DVFS management system determines a target voltage and generates a voltage adjustment request according to the target voltage.

[0108] In an embodiment of the present application, when the expected voltage of the first subsystem in the next adjustment cycle is obtained, the DVFS management system determines whether the voltage adjustment condition is met based on the expected voltage and the current system voltage. If it is determined that the voltage adjustment condition is met, the DVFS management system can further determine the target voltage for voltage adjustment processing, and then generate a voltage adjustment request based on the target voltage.

[0109] Further, in an embodiment of the present application, when the DVFS management system determines the target voltage, if the expected voltage is greater than the current system voltage, an adjustment process for increasing the voltage is required. Accordingly, the DVFS management system can directly determine the expected voltage as the target voltage.

[0110] Further, in an embodiment of the present application, when the DVFS management system determines the target voltage, if the expected voltage is less than the current system voltage, an adjustment process to lower the voltage is required. Accordingly, the DVFS management system can determine the maximum voltage in the expected voltage list as the target voltage.

[0111] It should be noted that, in the embodiment of the present application, when the DVFS management system generates a voltage adjustment request according to the target voltage, it may choose to first package the target voltage according to a preset compression format, so as to generate a corresponding voltage adjustment request.

[0112] Step 103: The DVFS management system sends a voltage adjustment request to the power management module to complete the voltage adjustment process.

[0113] In an embodiment of the present application, if it is determined that the voltage adjustment condition is met, then after the DVFS management system determines the target voltage and generates a voltage adjustment request based on the target voltage, the DVFS management system can send a voltage adjustment request to the power management module, so that the power management module can complete the voltage adjustment processing based on the voltage adjustment request.

[0114] It is understandable that, in the embodiment of the present application, when the DVFS management system sends the voltage adjustment request to the power management module, it may choose to send the voltage adjustment request to the power management module according to a preset interface format.

[0115] Further, in an embodiment of the present application, the DVFS management system may be configured with a voltage regulation control unit and a high-speed data interface, wherein the voltage regulation control unit and the high-speed data interface may be used for generating and transmitting voltage adjustment requests.

[0116] It should be noted that in an embodiment of the present application, when the DVFS management system generates a voltage adjustment request based on the target voltage, the voltage regulation control unit can choose to first package the target voltage according to a preset compression format, generate a voltage adjustment request, and then transmit the voltage adjustment request to the high-speed data interface. Then, the high-speed data interface can send the voltage adjustment request to the power management module according to the preset interface format.

[0117] Further, in an embodiment of the present application, after receiving a voltage adjustment request sent by the baseband chip, the power management module in the terminal device can determine the corresponding target voltage based on the voltage adjustment request, and then perform voltage adjustment processing according to the target voltage. Specifically, the power management module can control the real-time output voltage according to the target voltage.

[0118] In the embodiments of the present application, Figure 7 Schematic diagram of the implementation process of the voltage adjustment method Figure 2 ,like Figure 7 As shown, the method for the DVFS management system in the baseband chip of the terminal device to determine whether the voltage adjustment condition is met according to the expected voltage and the current system voltage may include the following steps:

[0119] Step 201: If the expected voltage is greater than the current system voltage, the DVFS management system determines that the voltage adjustment condition is met.

[0120] In an embodiment of the present application, after obtaining the expected voltage of the first subsystem in the next adjustment cycle, the DVFS management system can compare the expected voltage and the current system voltage. If the comparison result is that the expected voltage is greater than the current system voltage, the DVFS management system can determine that the voltage adjustment conditions are met and continue to execute the voltage adjustment processing flow.

[0121] It is understandable that in the embodiment of the present application, if the expected voltage notified by the first subsystem is greater than the current system voltage, then it can be determined that the first subsystem requires a higher voltage when performing a task, and therefore needs to perform an adjustment process to increase the voltage, and then it can be determined that the voltage adjustment condition is met. For example, if the expected voltage notified by the first subsystem is 0.8V and the current system voltage is 0.6V, it can be determined that the voltage adjustment condition is met.

[0122] That is to say, in the embodiment of the present application, when the acquired expected voltage of any subsystem is greater than the current system voltage, it can be determined that voltage adjustment processing is required.

[0123] Further, in an embodiment of the present application, the method for the DVFS management system in the baseband chip of the terminal device to determine whether the voltage adjustment condition is met according to the expected voltage and the current system voltage may also include the following steps:

[0124] Step 202: If the expected voltage is equal to the current system voltage, the DVFS management system determines that the voltage adjustment condition is not met.

[0125] In an embodiment of the present application, after obtaining the expected voltage of the first subsystem in the next adjustment cycle, the DVFS management system can compare the expected voltage and the current system voltage. If the comparison result is that the expected voltage is equal to the current system voltage, the DVFS management system can determine that the voltage adjustment condition is not met, and there is no need to execute the voltage adjustment processing flow.

[0126] It can be understood that in the embodiment of the present application, if the expected voltage notified by the first subsystem is equal to the current system voltage, then it can be determined that the current system voltage can meet the voltage required by the first subsystem when performing the task, so there is no need to adjust the voltage, and then it can be determined that the voltage adjustment condition is not met. For example, the expected voltage notified by the first subsystem is 0.6V, and the current system voltage is 0.6V, which means that it can be determined that the voltage adjustment condition is not met.

[0127] That is to say, in the embodiment of the present application, when the acquired expected voltage of any subsystem is equal to the current system voltage, it can be determined that no voltage adjustment processing is required.

[0128] Further, in an embodiment of the present application, the method for the DVFS management system in the baseband chip of the terminal device to determine whether the voltage adjustment condition is met according to the expected voltage and the current system voltage may also include the following steps:

[0129] Step 203: If the expected voltage is less than the current system voltage, the DVFS management system updates the expected voltage list according to the expected voltage, and determines whether the voltage adjustment condition is met based on the expected voltage list and the current system voltage.

[0130] In an embodiment of the present application, after obtaining the expected voltage of the first subsystem in the next adjustment cycle, the DVFS management system can compare the expected voltage and the current system voltage. If the comparison result is that the expected voltage is less than the current system voltage, the DVFS management system can first update the expected voltage list according to the expected voltage, and then further determine whether the voltage adjustment condition is met based on the expected voltage list and the current system voltage.

[0131] It is understandable that in the embodiment of the present application, if the expected voltage notified by the first subsystem is lower than the current system voltage, it can be considered that the voltage adjustment process needs to be performed. However, the DVFS management system also needs to consider the voltage adjustment requirements of other subsystems other than the first subsystem. Therefore, the DVFS management system needs to first update the expected voltage list according to the expected voltage, and then determine whether the voltage adjustment conditions are met based on the expected voltage list and the current system voltage. For example, the expected voltage notified by the first subsystem is 0.6V, and the current system voltage is 0.7V. At this time, the DVFS management system cannot directly determine whether the voltage adjustment conditions are met based on the expected voltage, but needs to first use the expected voltage to update the expected voltage list, and then combine the expected voltage list and the current system voltage to determine whether the voltage adjustment conditions are met.

[0132] That is to say, in an embodiment of the present application, when the acquired expected voltage of any subsystem is less than the current system voltage, the DVFS management system cannot directly determine whether voltage adjustment is required, but first updates the expected voltage list, and then uses the updated expected voltage list for further judgment.

[0133] It should be noted that, in an embodiment of the present application, the expected voltage list is used to perform real-time statistics on the expected voltages of all subsystems. Specifically, the expected voltage list records the expected voltage of each subsystem in the baseband chip in the next adjustment cycle. After any subsystem in all subsystems notifies the DVFS management system of the expected voltage, the DVFS management system can use the latest obtained expected voltage of the subsystem to update the expected voltage list. For example, Table 2 is the expected voltage list one, and Table 3 is the expected voltage list two, wherein at time t1, the DVFS management system obtains the expected voltages of subsystem 1, subsystem 2, and subsystem 3 in the next adjustment cycle as 0.6V, 0.7V, and 0.8V, respectively, and then updates the expected voltage list as shown in Table 2. At time t2 (t2>t1), the DVFS management system re-acquires the expected voltages of subsystem 1 and subsystem 3 in the next adjustment cycle as 0.5V and 0.7V, respectively, and then can update the expected voltage list as shown in Table 3.

[0134] Table 2

[0135] Voltage (V) Subsystem 1 0·6 Subsystem 2 0·7 Subsystem 3 0·8

[0136] Table 3

[0137]

[0138]

[0139] Further, in an embodiment of the present application, when the DVFS management system determines whether the voltage adjustment condition is met based on the expected voltage list and the current system voltage, it can first determine the maximum voltage in the expected voltage list, and then compare the maximum voltage with the current system voltage to obtain a comparison result, and then determine whether the voltage adjustment condition is met based on the comparison result.

[0140] It can be understood that in the embodiment of the present application, after the DVFS management system compares the maximum voltage in the expected voltage list with the current system voltage, if the comparison result is that the maximum voltage in the expected voltage list is equal to the current system voltage, it can be considered that the maximum voltage among the voltages required by all subsystems cannot be lower than the current system voltage, and therefore it can be determined that the voltage adjustment condition is not met, that is, the DVFS management system can determine that the voltage adjustment condition is not met.

[0141] It can be understood that in the embodiment of the present application, after the DVFS management system compares the maximum voltage in the expected voltage list with the current system voltage, if the comparison result is that the maximum voltage in the expected voltage list is less than the current system voltage, it can be considered that the required voltages of all subsystems are lower than the current system voltage, and therefore it can be determined that the voltage adjustment conditions are met, that is, the DVFS management system can determine that the voltage adjustment conditions are met.

[0142] Further, in an embodiment of the present application, when the DVFS management system determines the target voltage, if the expected voltage is greater than the current system voltage, an adjustment process for increasing the voltage is required. Accordingly, the DVFS management system can directly determine the expected voltage as the target voltage.

[0143] Further, in an embodiment of the present application, when the DVFS management system determines the target voltage, if the expected voltage is less than the current system voltage, an adjustment process of lowering the voltage is required, and accordingly, the DVFS management system can determine the maximum voltage as the target voltage. An embodiment of the present application provides a voltage adjustment method, which is applied to a terminal device, the terminal device is configured with a baseband chip and a power management module, the baseband chip includes at least one subsystem and a DVFS management system, wherein each subsystem is used to calculate the expected voltage in the next adjustment cycle; the DVFS management system is used to send a voltage adjustment request to the power management module; wherein the voltage adjustment request is used to indicate the target voltage output by the power management module to the baseband chip in the next adjustment cycle, and the target voltage is not less than the expected voltage of each subsystem in the next adjustment cycle. That is to say, in an embodiment of the present application, the DVFS management system configured in the baseband chip of the terminal device can promptly respond to the voltage adjustment demand of the subsystem by acquiring the expected voltage of the subsystem, thereby shortening the perception decision time of the voltage adjustment. At the same time, the transmission time and adjustment time of the voltage adjustment can be further shortened by using a high-speed data interface and a fast-response power management module, thereby effectively shortening the processing time of the voltage adjustment, thereby reducing the system power consumption and realizing fine control of the voltage adjustment processing.

[0144] Based on the above embodiments, another embodiment of the present application proposes a voltage adjustment method, which is applied to a terminal device. The terminal device may include a power management module, a radio frequency module and a baseband chip. The power management module can supply power to the radio frequency module and the baseband chip respectively.

[0145] In the embodiments of the present application, Figure 8 It is a schematic diagram of the structure of the terminal equipment, such as Figure 8 As shown, the terminal device may include a power management module, a radio frequency module and a baseband chip, and the power management module may supply power to the radio frequency module and the baseband chip respectively. The baseband chip may include at least one subsystem, and at least one subsystem may work in the same voltage domain; the baseband chip may also include a DVFS management system, and the DVFS management system may be used for voltage adjustment processing.

[0146] Further, in an embodiment of the present application, the baseband chip in the terminal device may include at least one subsystem and a DVFS management system, wherein at least one subsystem may operate in the same voltage domain; and the DVFS management system may be used to perform voltage adjustment processing.

[0147] Fig. 9 is a schematic diagram of a baseband chip, such as Fig. 9As shown, the baseband chip includes n subsystems (n is greater than or equal to 1) in the same voltage domain, and a DVFS management system. Specifically, the DVFS management system includes a sensing unit, a decision unit, a voltage regulation control unit, and a high-speed data interface.

[0148] It should be noted that, in the embodiments of the present application, under the same voltage domain, each subsystem can decompose and confirm its own subtasks and their corresponding frequency requirements after a period of time in the future according to its current working state and task, and then determine the corresponding voltage requirements, and finally vote for the voltage values ​​expected by each after a period of time, that is, the expected voltage. For example, Table 4 shows the different expected voltages predicted by a subsystem when executing different subtasks. Specifically, after receiving a task package, the subsystem can decompose 7 subtasks. For each subtask, the subsystem can predict the frequency required to execute the subtask, thereby determining the expected voltage in the next adjustment cycle as shown in Table 4.

[0149] Furthermore, in an embodiment of the present application, before a certain subtask starts, the subsystem will notify the perception and decision-making unit of the expected voltage in the next adjustment cycle by voting to apply for the expected voltage required. After a subtask ends and before the next subtask starts, the subsystem can choose to enter a predefined low power mode, at which time the perception and decision-making unit can be notified to apply for the expected voltage in the next adjustment cycle of the low power mode.

[0150] Table 4

[0151] Voltage (V) Subtask 1 0.6 Subtask 2 0.7 Subtask 3 0.8 Subtask 4 0.7 Subtask 5 0.5 Subtask 6 0.7 Subtask 7 0.5

[0152] Furthermore, in an embodiment of the present application, the perception unit is responsible for collecting the expected voltage voted by each subsystem under a certain voltage domain (current system voltage), so that the decision unit can determine whether to perform voltage adjustment processing based on the acquired expected voltage of the subsystem, and determine the corresponding target voltage after determining to perform voltage adjustment processing.

[0153] That is to say, in an embodiment of the present application, when the expected voltage required by one or more subsystems changes, the subsystem can notify the perception unit in the DVFS management system by voting. After obtaining the new expected voltage, the perception unit can transmit the expected voltage to the decision unit, and the decision unit will then determine whether to adjust the voltage based on the expected voltage.

[0154] Furthermore, in the embodiments of the present application, Fig.10 Schematic diagram of the implementation process of the voltage adjustment method Figure 3 ,like Fig.10As shown, the method for terminal equipment to adjust voltage may further include the following steps:

[0155] Step 301: Obtain the expected voltage of the first subsystem.

[0156] In an embodiment of the present application, a sensing unit in a DVFS management system may obtain an expected voltage of a first subsystem in a next adjustment cycle. The first subsystem may be any subsystem in at least one subsystem in a baseband chip. Specifically, whenever an expected voltage of any subsystem in at least one subsystem in a next adjustment cycle is updated, the expected voltage may be notified to the DVFS management system by voting.

[0157] Step 302 , determine whether the expected voltage is the same as the current system voltage, if so, execute step 303 , otherwise execute step 304 .

[0158] Step 303: Do not perform voltage adjustment processing.

[0159] In an embodiment of the present application, after obtaining the expected voltage of the first subsystem in the next adjustment cycle, the DVFS management system can determine whether the voltage adjustment condition is met according to the expected voltage and the current system voltage. Specifically, the decision unit in the DVFS management system can first determine whether the expected voltage is the same as the current system voltage. If they are the same, it can be determined that no voltage adjustment processing is required.

[0160] It should be noted that in an embodiment of the present application, after the DVFS management system compares the expected voltage of the first subsystem in the next adjustment cycle with the current system voltage, if the comparison result is that the expected voltage is equal to the current system voltage, it can be considered that no voltage adjustment processing is required, and the DVFS management system can determine that the voltage adjustment conditions are met.

[0161] Step 304 , determine whether the expected voltage is greater than the current system voltage, if so, execute step 305 , otherwise execute step 306 .

[0162] In an embodiment of the present application, after the DVFS management system compares the expected voltage of the first subsystem in the next adjustment cycle with the current system voltage, if the comparison result is that the expected voltage is greater than the current system voltage, it can be considered that an adjustment process to increase the voltage is required, and the DVFS management system can determine that the voltage adjustment conditions are met.

[0163] Step 305: Execute the adjustment process of the boost voltage.

[0164] Step 306: Update the expected voltage list according to the expected voltage.

[0165] In an embodiment of the present application, after the DVFS management system compares the expected voltage of the first subsystem in the next adjustment cycle with the current system voltage, if the comparison result is that the expected voltage is less than the current system voltage, it can be considered that an adjustment process to reduce the voltage is required. However, the DVFS management system also needs to consider the voltage adjustment requirements of other subsystems other than the first subsystem. Therefore, the DVFS management system also needs to update the expected voltage list according to the expected voltage, and then further determine whether the voltage adjustment conditions are met based on the expected voltage list and the current system voltage.

[0166] It should be noted that, in the embodiment of the present application, the expected voltage list is used to perform real-time statistics on the expected voltages of all subsystems. Specifically, the expected voltage list records the expected voltage of each subsystem in the baseband chip in the next adjustment cycle. After any subsystem in all subsystems notifies the DVFS management system of the expected voltage, the DVFS management system can update the expected voltage list using the latest expected voltage of the subsystem.

[0167] Step 307 : Is the maximum voltage in the expected voltage list smaller than the current system voltage? If so, execute step 308 ; otherwise, execute step 303 .

[0168] Step 308: Execute a voltage reduction adjustment process.

[0169] In an embodiment of the present application, after the DVFS management system updates the expected voltage list according to the expected voltage, when judging whether the voltage adjustment condition is met based on the expected voltage list and the current system voltage, the DVFS management system can first determine the maximum voltage in the expected voltage list, and then compare the maximum voltage with the current system voltage. If the comparison result is that the maximum voltage in the expected voltage list is equal to the current system voltage, it can be considered that the maximum voltage among the voltages required by all subsystems cannot be lower than the current system voltage, and therefore it can be determined that the voltage adjustment condition is not met, that is, the DVFS management system can determine that the voltage adjustment condition is not met; if the comparison result is that the maximum voltage in the expected voltage list is lower than the current system voltage, it can be considered that the voltages required by all subsystems are lower than the current system voltage, and therefore it can be determined that the voltage adjustment condition is met, that is, the DVFS management system can determine that the voltage adjustment condition is met.

[0170] It can be seen that in the embodiments of the present application, the voltage adjustment condition may include an adjustment condition for increasing the voltage and an adjustment condition for decreasing the voltage. Specifically, when determining whether the voltage adjustment condition is met, if the expected voltage of a subsystem is greater than the current system voltage, then it can be directly determined that the adjustment condition for increasing the voltage is met; however, if the expected voltage of a subsystem is less than the current system voltage, it cannot be directly determined that the adjustment condition for decreasing the voltage is met. Instead, it is necessary to consider the voltage adjustment requirements of other subsystems based on the expected voltage list, and then further determine whether the adjustment process for decreasing the voltage can be performed.

[0171] It can be understood that in the embodiment of the present application, when the DVFS management system determines whether the adjustment condition for reducing the voltage is met, it mainly depends on the magnitude relationship between the maximum voltage in the updated expected voltage list and the current system voltage. For example, Table 5 is the expected voltage list before the update, Table 6 is the expected voltage list 1 after the update, and Table 7 is the expected voltage list 2 after the update.

[0172] Table 5

[0173]

[0174]

[0175] Assuming that the current system voltage is 0.8V, based on Table 6, if the expected voltage required by subsystem 3 is updated from 0.8V to 0.7V, at this time, the maximum voltage in the updated expected voltage list is 0.7V. It can be seen that the maximum voltage is less than the current system voltage of 0.8V. Therefore, it can be determined that the voltage adjustment conditions are met and the voltage reduction adjustment process can be performed with a voltage reduction amplitude of 0.1V.

[0176] Table 6

[0177] Voltage (V) Subsystem 1 0.6 Subsystem 2 0.7 Subsystem 3 0.7 Subsystem 4 0.7

[0178] Assuming that the current system voltage is 0.8V, based on Table 7, if the expected voltage required by subsystem 4 is updated from 0.7V to 0.6V, at this time, the maximum voltage in the updated expected voltage list is still 0.8V. It can be seen that the maximum voltage is equal to the current system voltage of 0.8V. Therefore, it can be determined that the voltage adjustment conditions are not met and the voltage reduction adjustment process cannot be performed.

[0179] Table 7

[0180] Voltage (V) Subsystem 1 0.6 Subsystem 2 0.7 Subsystem 3 0.8 Subsystem 4 0.6

[0181] Furthermore, in the embodiments of the present application, Fig.11 Schematic diagram of the implementation process of the voltage adjustment method Figure 4 ,like Fig.11As shown, the method for terminal equipment to adjust voltage may further include the following steps:

[0182] Step 301: Obtain the expected voltage of the first subsystem.

[0183] Step 306: Update the expected voltage list according to the expected voltage.

[0184] Step 309: Determine the maximum voltage in the expected voltage list.

[0185] Step 310 , determine whether the maximum voltage is equal to the current system voltage, if so, execute step 303 , otherwise execute step 311 .

[0186] Step 303: Do not perform voltage adjustment processing.

[0187] Step 311: determine the maximum voltage as the target voltage.

[0188] Step 312: Execute voltage adjustment processing according to the target voltage.

[0189] In an embodiment of the present application, after obtaining the expected voltage of the first subsystem in the next adjustment cycle, the DVFS management system may first update the expected voltage list according to the expected voltage, and then determine the maximum voltage in the updated expected voltage list, wherein the maximum voltage may determine the maximum value of all expected voltages required by all subsystems.

[0190] Further, in an embodiment of the present application, the DVFS management system may compare the maximum voltage in the expected voltage list with the current system voltage to obtain a comparison result, and then determine whether the voltage adjustment condition is met based on the comparison result.

[0191] It can be understood that in the embodiment of the present application, after the DVFS management system compares the maximum voltage in the expected voltage list with the current system voltage, if the comparison result is that the maximum voltage in the expected voltage list is equal to the current system voltage, it can be considered that the maximum voltage among the voltages required by all subsystems cannot be lower than the current system voltage, and therefore it can be determined that the voltage adjustment condition is not met, that is, the DVFS management system can determine that the voltage adjustment condition is not met.

[0192] It can be understood that in the embodiment of the present application, after the DVFS management system compares the maximum voltage in the expected voltage list with the current system voltage, if the comparison result is that the maximum voltage in the expected voltage list is less than the current system voltage, it can be considered that the required voltages of all subsystems are lower than the current system voltage. Therefore, it can be determined that the voltage adjustment conditions are met and the voltage adjustment process needs to be performed, and then the maximum voltage can be determined as the target voltage for the voltage adjustment process.

[0193] It can be understood that in the embodiment of the present application, after the DVFS management system compares the maximum voltage in the expected voltage list with the current system voltage, if the comparison result is that the maximum voltage in the expected voltage list is greater than the current system voltage, it can be considered that the maximum voltage among the voltages required by all subsystems is higher than the current system voltage. Therefore, it can be determined that the voltage adjustment conditions are met and an adjustment process to reduce the voltage is required, and then the maximum voltage can be determined as the target voltage for the voltage adjustment process.

[0194] It can be seen that in the embodiment of the present application, the voltage adjustment condition may include an adjustment condition for increasing the voltage and an adjustment condition for decreasing the voltage. Specifically, when determining whether the voltage adjustment condition is met, the expected voltage list may be updated based on the expected voltage of the subsystem, and then the maximum voltage in the expected voltage list may be determined, and then the maximum voltage may be compared with the current system voltage to determine whether the adjustment condition for increasing the voltage is met.

[0195] It is understandable that in the embodiment of the present application, when the DVFS management system determines whether the adjustment condition of increasing or decreasing the voltage is met, it mainly depends on the magnitude relationship between the maximum voltage in the updated expected voltage list and the current system voltage. For example, based on the above Table 5, Table 8 is the updated expected voltage list 3.

[0196] Table 8

[0197] Voltage (V) Subsystem 1 0.8 Subsystem 2 0.7 Subsystem 3 0.7 Subsystem 4 0.7

[0198] Assuming that the current system voltage is 0.8V, based on Table 8, if the expected voltage required by subsystem 1 is updated from 0.6V to 0.9V, and at the same time, the expected voltage required by subsystem 3 is updated from 0.8V to 0.7V, then the maximum voltage in the updated expected voltage list is 0.9V. It can be seen that the maximum voltage is greater than the current system voltage of 0.8V. Therefore, it can be determined that the voltage adjustment conditions are met and the voltage adjustment process can be performed with a voltage increase of 0.1V.

[0199] Furthermore, in an embodiment of the present application, after the decision unit in the DVFS management system decides that a voltage increase or voltage decrease adjustment process needs to be performed and immediately calculates the target voltage, the target voltage can be transmitted to the voltage regulation control unit. The voltage regulation control unit packages the target voltage in an agreed format (preset compression format), generates a voltage adjustment request, and sends the voltage adjustment request to the high-speed data interface. The high-speed data interface can then send it to the power management module in a physical interface format (preset interface format) such as the system power management interface (SPMI).

[0200] Further, in an embodiment of the present application, after receiving a voltage adjustment request from the high-speed communication interface, the power management module may parse the voltage adjustment request to obtain a target voltage, and then perform voltage adjustment processing according to the target voltage.

[0201] It should be noted that, in the embodiments of the present application, Fig.12 is a schematic diagram of the power management module, such as Fig.12 As shown, the power management module 20 may include several parts such as a high-speed communication interface 21, a control register 22, and a direct current converter (DCDC) 23. Among them, the high-speed communication interface 21 can be used to receive the voltage adjustment request; the control register 22 can be used to control the DCDC circuit to output the target voltage based on the voltage value of the target voltage indicated by the voltage adjustment request.

[0202] It is understandable that in the embodiment of the present application, after receiving the voltage adjustment request, the high-speed communication interface in the power management module can interpret and convert to obtain the target voltage of DCDC, and then control the DCDC output by adjusting the control register. Specifically, DCDC can adjust the voltage at a typical rate of 20mV / us. At this time, if 100mV is adjusted, it will take 5us.

[0203] In summary, the voltage adjustment method proposed in the embodiment of the present application can obtain the voltage requirements of the subsystems in a timely manner through the voting of the subsystems, which greatly shortens the perception time and decision-making time in the process of executing the voltage adjustment process.

[0204] It can be understood that in the embodiments of the present application, Fig.13 is a schematic diagram of the voltage adjustment process, such as Fig.13As shown, taking the voltage increase and adjustment process as an example, the entire voltage adjustment process from V1 to V2 can mainly include a perception decision stage, a transmission stage, an interpretation stage and a voltage climbing stage, wherein the perception decision time corresponding to the perception decision stage is T1, the transmission time corresponding to the transmission stage is T2, the interpretation time corresponding to the interpretation stage is T3, and the voltage climbing time corresponding to the voltage climbing stage is T4. Based on the voltage adjustment method proposed in the embodiment of the present application, since the perception decision-making process is mainly implemented in hardware and the software part has a small amount of calculation, it can be completed in about 1us, that is, T1=1us; in the transmission stage, assuming that 26Mbps SPMI transmission is adopted, the overall length of the message including the address is 32bit, and the transmission time is 1.23us, that is, T2=1.23us; in the interpretation stage, the power management module's special message management module interprets the message and directly controls the relevant power registers, which takes 1us, that is, T3=1us; in the voltage climbing stage, the power management module controls the DCDC voltage climbing. Assuming that the voltage climbing rate is 20mv / us, △V=V2-V1=100mv, it takes 5us, that is, T4=5us.

[0205] It should be noted that in the embodiment of the present application, the link delay is mainly composed of the transmission time T2 of the high-speed communication interface, the message interpretation time T3 of the power management module, and the voltage rise time T4 of the DCDC power supply, wherein T4 can be determined by the voltage rise rate R (for example, R = 20mv / us) and the adjustment voltage difference △V (mv), that is, T4 = △V / R. The entire link delay T delay =T2+T3+T4.

[0206] It can be seen that the perception decision time is T1 = 1us, the transmission time is T2 = 1.23us, the power management module interpretation time is T3 = 1us, and the voltage rise time is T4 = 5us. The total time is 8.23us. After the perception decision is completed, it is necessary to wait for T delay =7.23us voltage can be adjusted to the target voltage.

[0207] It can be understood that, in the embodiment of the present application, if the voltage adjustment is a voltage-boosting adjustment process, then in this T delay During this period, the subsystem must wait until the DVFS management system senses that the voltage adjustment process is completed and notifies the subsystem that the voltage adjustment is completed. Only then can the subsystem start the work after frequency increase. If the voltage adjustment is a voltage reduction adjustment process, the subsystem does not need to wait, but directly reduces the frequency and then sends a voltage reduction request. After the entire system meets the voltage reduction conditions, there is no need to wait and the voltage can be reduced directly.

[0208] The embodiment of the present application provides a voltage adjustment method, which is applied to a terminal device, wherein the terminal device is configured with a baseband chip and a power management module, and the baseband chip includes at least one subsystem and a DVFS management system, wherein each subsystem is respectively used to calculate the expected voltage in the next adjustment cycle; the DVFS management system is used to send a voltage adjustment request to the power management module; wherein the voltage adjustment request is used to indicate the target voltage output by the power management module to the baseband chip in the next adjustment cycle, and the target voltage is not less than the expected voltage of each subsystem in the next adjustment cycle. That is to say, in the embodiment of the present application, the DVFS management system configured in the baseband chip of the terminal device can timely respond to the voltage adjustment demand of the subsystem by obtaining the expected voltage of the subsystem, thereby shortening the perception decision time of the voltage adjustment, and at the same time, the transmission time and adjustment time of the voltage adjustment can be further shortened by using a high-speed data interface and a fast-response power management module, thereby effectively shortening the processing time of the voltage adjustment, thereby reducing the system power consumption, and realizing the fine control of the voltage adjustment processing.

[0209] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0210] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0211] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0212] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process described in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0213] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A baseband chip, characterized in that: The baseband chip includes at least one subsystem and a DVFS management system, wherein: Each subsystem is used to calculate the expected voltage in the next adjustment cycle; The DVFS management system is used to send a voltage adjustment request to the power management module; wherein the voltage adjustment request is used to indicate a target voltage output by the power management module to the baseband chip in the next adjustment cycle, and the target voltage is not less than an expected voltage of each subsystem in the next adjustment cycle; The DVFS management system is further used to determine whether a voltage adjustment condition is met according to the expected voltage of each subsystem in the next adjustment period and the current system voltage; The DVFS management system is specifically configured to determine whether the voltage adjustment condition is met according to the expected voltages of other subsystems in the next adjustment period and the current system voltage if the expected voltage of one subsystem in the next adjustment period is lower than the current system voltage; The DVFS management system is specifically configured to determine that the one subsystem meets the voltage adjustment condition if the maximum voltage among the expected voltages of the other subsystems in the next adjustment cycle is less than the current system voltage.

2. The baseband chip according to claim 1, characterized in that: The DVFS management system is specifically used to obtain the expected voltage of each subsystem in the next adjustment cycle; and determine the target voltage according to the expected voltage of each subsystem in the next adjustment cycle.

3. The baseband chip according to claim 2, characterized in that: The DVFS management system includes a sensing unit and a decision-making unit, wherein: The sensing unit is used to obtain the expected voltage of each subsystem in the next adjustment cycle; The decision unit is used to determine the target voltage according to the expected voltage of each subsystem in the next adjustment cycle.

4. The baseband chip according to claim 1, characterized in that: The DVFS management system includes a voltage regulation control unit and a high-speed data interface, wherein: The voltage regulation control unit is used to generate the voltage adjustment request according to the voltage value of the target voltage; The high-speed data interface is used to send the voltage adjustment request to the power management module.

5. The baseband chip according to claim 1, characterized in that: The DVFS management system is specifically configured to determine that a subsystem satisfies the voltage adjustment condition if an expected voltage of the subsystem in the next adjustment cycle is greater than the current system voltage.

6. The baseband chip according to claim 5, characterized in that: The DVFS management system is specifically configured to determine the expected voltage as the target voltage.

7. The baseband chip according to claim 1, characterized in that: The DVFS management system is specifically configured to determine the maximum voltage as the target voltage.

8. The baseband chip according to claim 4, characterized in that: The voltage adjustment control unit is specifically used to package the target voltage according to a preset compression format to generate the voltage adjustment request; The high-speed data interface is specifically used to send the voltage adjustment request to the power management module according to a preset interface format.

9. The baseband chip according to claim 1, characterized in that: Each of the subsystems is specifically used to decompose the current task and determine the subtasks corresponding to the current task; and determine the expected voltage in the next adjustment cycle according to the subtasks.

10. A voltage adjustment method, characterized in that: The voltage adjustment method is applied to a terminal device, the terminal device is equipped with a baseband chip and a power management module, the power management module is used to power the baseband chip, the baseband chip includes at least one subsystem and a DVFS management system, and the method includes: Each subsystem calculates the expected voltage during the next regulation cycle; The DVFS management system sends a voltage adjustment request to the power management module; wherein the voltage adjustment request is used to indicate a target voltage to be output by the power management module to the baseband chip in a next adjustment cycle, and the target voltage is not less than an expected voltage of each subsystem in the next adjustment cycle; The DVFS management system acquires the expected voltage of each subsystem in the next adjustment cycle; determines the target voltage according to the expected voltage of each subsystem in the next adjustment cycle; The DVFS management system determines whether a voltage adjustment condition is met according to the expected voltage of each subsystem in the next adjustment period and the current system voltage; If the expected voltage of a subsystem in the next adjustment period is lower than the current system voltage, the DVFS management system determines whether the voltage adjustment condition is met according to the expected voltages of other subsystems in the next adjustment period and the current system voltage; If the maximum voltage among the expected voltages of the other subsystems in the next adjustment cycle is less than the current system voltage, the DVFS management system determines that the one subsystem meets the voltage adjustment condition.

11. The method according to claim 10, characterized in that The DVFS management system includes a sensing unit and a decision-making unit, wherein: The sensing unit acquires the expected voltage of each subsystem in the next adjustment cycle; The decision unit determines the target voltage according to an expected voltage of each subsystem in the next adjustment cycle.

12. The method according to claim 10, characterized in that The DVFS management system includes a voltage regulation control unit and a high-speed data interface. The DVFS management system sends a voltage regulation request to the power management module, including: The voltage regulation control unit generates the voltage adjustment request according to the voltage value of the target voltage; The high-speed data interface sends the voltage adjustment request to the power management module.

13. The method according to claim 10, characterized in that If the expected voltage of a subsystem in the next adjustment cycle is greater than the current system voltage, the DVFS management system determines that the subsystem meets the voltage adjustment condition.

14. The method according to claim 13, characterized in that The DVFS management system determines the target voltage according to the expected voltage of each subsystem in the next adjustment cycle, including: The DVFS management system determines the expected voltage as the target voltage.

15. The method according to claim 10, characterized in that The DVFS management system determines the target voltage according to the expected voltage of each subsystem in the next adjustment cycle, including: The DVFS management system determines the maximum voltage as the target voltage.

16. The method according to claim 12, characterized in that The voltage regulation control unit generates the voltage regulation request according to the voltage value of the target voltage, including: The voltage regulation control unit packages the target voltage according to a preset compression format to generate the voltage regulation request.

17. The method according to claim 12, characterized in that The high-speed data interface sends the voltage adjustment request to the power management module, including: The high-speed data interface sends the voltage adjustment request to the power management module according to a preset interface format.

18. The method according to claim 10, characterized in that Each subsystem calculates the expected voltage in the next adjustment cycle, including: Each subsystem decomposes the current task to determine the subtasks corresponding to the current task; and determines the expected voltage in the next adjustment cycle according to the subtasks.

19. A terminal device, characterized in that: The terminal device comprises: a power management module and a baseband chip according to any one of claims 1 to 9, wherein the power management module is used to supply power to the baseband chip.

20. The terminal device according to claim 19, characterized in that: The power management module includes a high-speed communication interface, a control register and a DC-DC circuit; The high-speed communication interface is used to receive the voltage adjustment request; The control register is used to control the DCDC circuit to output the target voltage based on a voltage value of the target voltage indicated by the voltage adjustment request.