Voltage data processing method and circuit of system on chip

By introducing voltage modification units and adjustment functions into the on-chip system, the voltage data in the communication bus is directly modified, which solves the flexibility and stability of voltage regulation in the on-chip system, and optimizes power consumption and system stability, and extends the equipment battery life.

CN120276579APending Publication Date: 2025-07-08VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510396491.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

In a system on chip, it is impossible to fine-tune the voltage data in the communication bus, affecting the precise control of voltage values and power consumption management, making it difficult to optimize system stability and energy efficiency.

Method used

By introducing a voltage modification unit between the on-chip system and the power management unit, using a lookup table and adjustment function, the voltage data in the communication bus is directly modified, the adjusted voltage data is generated, and the transmission path of the voltage data is controlled by switching the switch, avoiding the control permissions of the traditional communication bus.

Benefits of technology

It realizes flexible and precise regulation of voltage data, maintains a balance between power consumption and system stability, extends device battery life, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120276579A_ABST
    Figure CN120276579A_ABST
Patent Text Reader

Abstract

The invention provides a voltage data processing method and circuit of a system-on-chip, and the method comprises the steps: obtaining the voltage data of a functional component in the system-on-chip from a communication bus of the system-on-chip; the voltage data is used for the power management unit to generate a voltage signal of the functional component; when it is determined that the functional component is a target functional component in a preset lookup table, substituting voltage data corresponding to the target functional component into the adjustment function to obtain adjusted voltage data; functional components to be adjusted in the system on chip are recorded in the lookup table; and sending the adjusted voltage data to the power management unit, so that the power management unit generates a voltage signal for the target functional component according to the adjusted voltage data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and particularly to a method and circuit for processing voltage data of a system on chip. Background Art

[0002] A system on chip (SoC) is an integrated circuit integrating multiple functional components. Different components on the SoC require different voltage values. To reduce power consumption, different voltages can be provided for each component on the SOC.

[0003] After the voltage value is determined in the system on chip, it is sent to the power management unit through the communication bus, and the power management unit provides different voltages for each component on the SoC.

[0004] Since the control right of the communication bus cannot be obtained, the transmitted voltage value cannot be finely adjusted, which affects the exploration between fine-tuning the voltage value and reducing power consumption. Summary of the Invention

[0005] Embodiments of this application provide a method and circuit for processing voltage data of a system on chip to solve the problems in the related art.

[0006] In a first aspect, embodiments of this application provide a method for processing voltage data of a system on chip, which is applied to a voltage modification unit. The voltage modification unit is respectively connected to the system on chip and the power management unit. The method includes:

[0007] Obtain voltage data of functional components in the system on chip from the communication bus of the system on chip; the voltage data is used for the power management unit to generate a voltage signal for the functional components;

[0008] When it is determined that the functional component is a target functional component in a preset look-up table, substitute the voltage data into the adjustment function to obtain adjusted voltage data;

[0009] Send the adjusted voltage data to the power management unit for the power management unit to generate a voltage signal for the target functional component according to the adjusted voltage data.

[0010] In a second aspect, embodiments of this application provide a circuit for processing voltage data of a system on chip, including: a system on chip, a power management unit, a voltage modification unit, and a switch; the system on chip is connected to the power management unit through the switch, the voltage modification unit is connected to the system on chip, and the voltage modification unit is connected to the power management unit through the switch;

[0011] The voltage modification unit is configured to, when detecting that the functional component corresponding to the voltage data sent by the system-on-chip is the target functional component recorded in the look-up table, substitute the voltage data corresponding to the target functional component into an adjustment function to obtain adjusted voltage data, and send the adjusted voltage data to the power management unit;

[0012] The voltage modification unit is further configured to control the switching switch. When the voltage modification unit detects that the functional component corresponding to the voltage data sent by the system-on-chip is the target functional component recorded in the look-up table, it controls the switching switch to disconnect the connection between the system-on-chip and the power management unit to prevent the system-on-chip from sending the voltage data to the power management unit;

[0013] The voltage modification unit is further configured to, when detecting that the functional component corresponding to the voltage data sent by the system-on-chip is the target functional component recorded in the look-up table, control the switching switch to connect the voltage modification unit and the power management unit, send the adjusted voltage data to the power management unit, and after sending, control the switching switch to restore the connection between the system-on-chip and the power management unit.

[0014] In the embodiment of the present application, when the system-on-chip communicates voltage data with the power management unit through a communication bus, by obtaining the voltage data being transmitted and determining that the functional component in the look-up table is the target functional component in the preset look-up table, substitute the voltage data corresponding to the target functional component into an adjustment function to obtain adjusted voltage data, and send the adjusted voltage data to the power management unit. Without relying on the control authority of the traditional communication bus, the voltage data in the communication bus can be directly modified. This feature makes the adjustment of voltage data extremely convenient. R & D personnel can use this to more efficiently explore the impact of voltage on the stability of the system-on-chip. At the same time, by adjusting the voltage data through the adjustment function, different adjusted voltage data can be obtained according to different voltage data, making the regulation of voltage data more flexible, facilitating flexible and precise voltage regulation, skillfully maintaining the balance between power consumption and the stability of the system-on-chip, reasonably using the saved power consumption to improve the battery life, and bringing a longer device usage time for users, greatly improving the user experience.

[0015] The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present application more obvious and understandable, the specific embodiments of the present application are specifically described below. Brief Description of the Drawings

[0016] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.

[0017] Figure 1 It is a power schematic diagram of a functional component of a system-on-chip provided by an embodiment of the present application under different loads;

[0018] Figure 2 It is a flowchart of the steps of a method for processing voltage data of a system-on-chip provided by an embodiment of the present application;

[0019] Figure 3 It is a schematic structural diagram of a voltage data processing circuit of a system-on-chip provided by an embodiment of the present application;

[0020] Figure 4 It is an adjustment comparison diagram of voltage data provided by an embodiment of the present application;

[0021] Figure 5 It is a schematic structural diagram of another voltage data processing circuit of a system-on-chip provided by an embodiment of the present application;

[0022] Figure 6 It is a schematic structural diagram of a voltage modification unit in an embodiment of the present application;

[0023] Figure 7 It is a schematic structural diagram of a switching switch in an embodiment of the present application;

[0024] Figure 8 It is a schematic structural diagram of another voltage data processing circuit of a system-on-chip provided by an embodiment of the present application;

[0025] Figure 9 It is a schematic structural diagram of another voltage data processing circuit of a system-on-chip provided by an embodiment of the present application.

[0026] Reference numerals:

[0027] 10. System on Chip; 20. Power Management Unit; 30. Voltage Modification Unit; 40. Switch; 50. Data Channel; 60. Clock Channel; 301. Non-volatile Memory Chip; 302. Clock Signal Interface; 303. Voltage Data Interface; 304. Lookup Module; 305. Analog Voltage Module; 306. Command Transmission Module; 307. Adjustment Calculation Module; 401. First Switch; 402. First Terminal; 403. Second Terminal; 404. Third Terminal; 405. Second Switch; 406. Fourth Terminal; 407. Fifth Terminal; 408. Sixth Terminal; 101. Memory; 102. Central Processing Unit; 103. Arbiter; 104. Voltage Detector; 105. Voltage Regulator; 106. Modem; 70. Antenna Coordinator. Detailed Implementation Manner

[0028] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0029] In the current field of integrated circuit technology, the system on chip, as a highly integrated key chip, demonstrates excellent technical advantages. The system on chip usually integrates multiple important modules with different functions organically, including a central processing unit (CPU, Central Processing Unit) responsible for efficient operation and processing of complex instructions; a graphic processing unit (Graphic Processing Unit, GPU) capable of achieving high-quality graphic rendering and processing to support various visual applications; a memory controller (DDR controller) for precisely controlling the storage and reading of memory data; a multi-media module (Multi-media) for performing operations such as encoding and decoding of audio, video and other multi-media content; a display processing unit (Data Processing Unit, DPU) dedicated to optimizing display-related data; a video processing unit (Video Processing Unit, VPU) focusing on efficient processing of video streams; and a communication module (Modem) to ensure stable communication connection between the device and the outside. The core design purpose of the system on chip is to integrate as many functions as possible on one chip to achieve the goal of high integration, thereby significantly reducing the overall area of the chip and the space occupied by the system.

[0030] As the semiconductor manufacturing process gradually evolves from the early 20nm to 14nm, 7nm, 5nm, and 3nm, different manufacturing processes have different requirements for the operating voltages of each module of the chip. For those modules that need to carry the core computing functions of the system, such as CPUs and GPUs, in order to obtain higher transistor density, thereby achieving improved computing power and reduced energy consumption, they must closely follow the evolution of the process technology. This is because more advanced process technologies can integrate more transistors per unit area, enabling these core modules to be significantly improved in performance while reducing power consumption. For modules that do not need to carry the core functions of the system, such as I2C, SPI, USB and other IO interfaces, their operating speeds are mainly restricted by relevant communication protocols and do not need to pursue extremely high-speed operation. Therefore, using ordinary process technology, such as 14nm, is sufficient to fully meet their operating requirements. Based on considerations of the overall power consumption of the chip, it is necessary to separate modules with high-performance requirements such as CPUs from modules with ordinary performance requirements such as IO interfaces and supply power to them through two independent power domains. This design method is called multi-voltage design, which can accurately match the voltage requirements of different modules and, on the premise of ensuring the normal operation of each module, optimize the power consumption management of the chip to the greatest extent and improve the overall performance and energy efficiency ratio of the chip.

[0031] In the field of integrated circuit design, in order to achieve efficient and energy-saving operation of the chip, a series of advanced strategies have been developed for the power management and power consumption control of each functional module in the chip. For some intermittently operating modules in the chip, such as GPUs, they only play a role at specific moments when the screen is switched; the multimedia module is also only in the working state during video playback. Given the working characteristics of such modules, during their idle periods, the corresponding power supply can be turned off and then powered on again just before entering the working state. In addition, for memories, when there is no read / write operation, only a low voltage that can maintain the refresh of its content can be provided, and when read / write operations are required, the high voltage supply is switched. This method of flexibly adjusting the power supply according to the working state of different modules provides a basis for the power consumption management of the chip.

[0032] When powering each module in the chip separately, more diverse power-saving strategies can be implemented. Taking the processor as an example, the supply voltage can be dynamically adjusted according to its operating frequency. When the processor operates at a low frequency, a lower operating voltage is provided for it; when the processor needs to operate at a high frequency, a higher operating voltage is provided accordingly. In this way, on the premise of ensuring that the setup time and hold time of digital signals meet the requirements, the power consumption is effectively reduced. This strategy of dynamically adjusting the voltage according to the operating frequency of the processor is called Dynamic Voltage Frequency Scaling (DVFS).

[0033] In the practical application of dynamic voltage and frequency scaling (DVFS) technology, even when the chip operates at the same frequency, there are differences between light load and heavy load in the load. When in the heavy load state, due to the increase in current, a more significant IR voltage drop will occur. To ensure that the setup and hold times of digital signals meet the requirements, a higher voltage needs to be provided. When the chip is in the light load state, the required current is smaller, and at this time, a lower voltage can be used for power supply, thus effectively saving power consumption. For example Figure 1 As shown, for a device operating at 800 MHz, when it is in the heavy load state, the required voltage increases and the power rises to 1.5 W. As the load decreases, the power will also decrease to 1.25 W or even 1 W. Based on the above principle, the Adaptive Voltage Scaling (AVS) technology emerged. This technology can finely adjust the supply voltage according to the light or heavy degree of the chip load to achieve a balance between power consumption and performance. With the continuous development of technology, the AVS algorithm is further optimized, taking factors such as temperature and aging into consideration. By real-time monitoring the temperature change of the chip and its aging situation due to long-term use, and accordingly adjusting the voltage more precisely, the power consumption of the chip can be further reduced, the overall performance and reliability of the chip can be improved, and it can maintain efficient operation in different working environments and usage cycles.

[0034] Figure 2 FIG. is a flowchart of the steps of a method for processing voltage data of a system-on-chip provided by an embodiment of the present application, which is applied to a voltage modification unit. The voltage modification unit is respectively connected to the system-on-chip and the power management unit. As Figure 2 shown, the method may include:

[0035] Step 101, obtain the voltage data of the functional components in the system-on-chip from the communication bus of the system-on-chip; the voltage data is used for the power management unit to generate voltage signals for the functional components.

[0036] In some related technologies, due to the difficulty in fully ensuring consistency in the chip manufacturing process, there are physical differences in the produced chips, and these differences are usually distributed within types such as FF, SS, FS, SF, etc. Among them, FF represents the combination of Fast NMOS (Fast N-channel Metal Oxide Semiconductor) and Fast PMOS (Fast P-channel Metal Oxide Semiconductor), and SS represents the combination of Slow NMOS (Slow N-channel Metal Oxide Semiconductor) and Slow PMOS (Slow P-channel Metal Oxide Semiconductor). At the same operating frequency, the voltage and current required to drive an FF-type chip are less than those of an SS-type chip; conversely, if the same voltage and current are provided, an FF-type chip can operate at a higher operating frequency. Thus, FF-type chips have significant advantages in terms of energy efficiency ratio. To fully utilize this advantage of FF-type chips, chip manufacturers will conduct a comprehensive test on each chip before product shipment, accurately mark its physical type and the corresponding optimal operating voltage. This strategy of adjusting voltage according to the physical characteristics of the chip is Physical Voltage Scaling (PVS). The step process of the on-chip system for the adaptive voltage regulation technology is as Figure 3 shown. First, the CPU reads the voltage value preset according to the physical voltage regulation technology in the memory and sends the voltage value to the arbiter for arbitration. Then, the voltage value data is packaged into the format of the system power management interface of the on-chip system and sent to the power management unit. Then, the power management unit outputs the voltage to the on-chip system. At the same time, the voltage detector in the on-chip system detects the voltage values of each functional component in the current on-chip system and the current operating environment data, such as the load and temperature of the on-chip system. The voltage value and the operating environment data are sent to the voltage regulator, and the voltage regulator comprehensively judges to obtain an adaptive voltage and sends it to the arbiter. The arbiter sends updated voltage data to the power management unit to achieve voltage adjustment. However, the on-chip system and the power management unit did not consider the function of modifying the data in the communication bus between the on-chip system and the power management unit during the initial design, that is, they do not have control over the communication bus. Therefore, it is very difficult to adjust the transmitted voltage data to explore the impact of voltage on the stability of the on-chip system and to conduct experiments on maintaining the stability of the on-chip system while reducing power consumption.

[0037] In an embodiment of the present application, the communication bus of the system-on-chip is the channel for communication between the system-on-chip and the power management unit. The communication bus has a data channel and a clock channel. The data channel is used to transmit the voltage data sent by the system-on-chip to the power management unit. After receiving the voltage data, the power management unit generates voltage signals for each functional component in the system-on-chip. The voltage data includes information on the functional components of the system-on-chip and the corresponding voltage data. By acquiring the voltage data in the communication bus, it is convenient to detect the functional components for which the voltage data needs to be modified, thus providing a basis for adjusting the voltage data of the functional components.

[0038] In some embodiments, the system-on-chip and the power management unit communicate through the SPMI interface (System Power Management Interface, SPMI), which has the characteristics of high speed, low latency, and low pin count, can efficiently implement communication between the system-on-chip and the power management unit, and supports multiple slave devices, meeting the power management requirements of complex systems. The SPMI interface adopts a master-slave architecture, with the system-on-chip as the master device and the power management unit as the slave device. The communication bus is based on a two-wire channel, namely the data channel (SPMI_DATA) and the clock channel (SPMI_CLK). The system-on-chip synchronizes data transmission by sending a clock signal, and under the control of the clock signal, sends commands and data to the power management unit through the data channel. After receiving the command, the power management unit performs corresponding operations and returns response information to the system-on-chip through the data channel. For example, the system-on-chip can send a command to adjust the output voltage to 0.8V to the power management unit through the SPMI interface. After receiving the command, the power management unit adjusts the voltage output and feeds back the adjustment result to the system-on-chip.

[0039] In some embodiments, the system-on-chip and the power management unit can also communicate through the I2C (Inter-Integrated Circuit) interface, which has the characteristics of simplicity and flexibility, is easy to implement, and can connect multiple slave devices on the same bus, facilitating system expansion. I2C is a serial communication bus that uses a two-wire channel for communication, namely the data channel and the clock channel. When the system-on-chip needs to communicate with the power management unit, it generates a clock signal on the clock channel and simultaneously sends a start signal on the data channel, and then sends the slave address of the power management unit. If the address matches, the power management unit returns an acknowledgment signal. Then the system-on-chip can send specific commands or data. After receiving and processing them, the power management unit returns the corresponding acknowledgment or data. For example, the system-on-chip can read the temperature sensor data of the power management unit through the I2C interface.

[0040] Optionally, the communication bus includes a voltage data channel and a clock channel, and step 101 may specifically include:

[0041] Sub-step 1011: Obtain a clock signal from the clock channel; the clock channel has a transition signal for maintaining data consistency.

[0042] Sub-step 1012: Detect the clock signal. When a preset transition signal appears in the clock signal, collect the communication bus to obtain the voltage data; the preset transition signal is used to indicate the signal for the system-on-chip to send the voltage data to the communication bus.

[0043] Regarding sub-step 1011 - sub-step 1012, where the clock signal is usually a periodic square wave signal, showing a pattern of alternating high and low levels on the time axis. The transition edge refers to the moment when the clock signal level changes rapidly, including the rising edge and the falling edge. The rising edge is the moment when the clock signal jumps from a low level to a high level. For example, if the clock signal was originally in the 0V (low level) state and suddenly rises to 3.3V (high level) at a certain moment, this instant change from 0V to 3.3V is the rising edge. The falling edge is the moment when the clock signal jumps from a high level to a low level. For example, if the clock signal was originally in the 3.3V (high level) state and suddenly drops to 0V (low level) at a certain moment, this instant change from 3.3V to 0V is the falling edge. In digital circuits, many sequential logic components such as flip-flops and registers are designed to be triggered by the rising edge or falling edge of the clock signal. When the rising edge or falling edge of the clock signal appears, these components update their output states according to the current input signal status. For example, a D flip-flop stores the input data internally and outputs it to the Q terminal when the clock rising edge arrives, achieving synchronous transmission and storage of data. Whether to use the rising edge or the falling edge as the signal for collecting voltage data is not limited in this application.

[0044] In the embodiment of this application, by detecting the clock signal in the clock channel and collecting the voltage data in the communication bus when a preset transition signal appears in the clock signal, the system-on-chip processes the sending and collection of voltage data at the same moment, avoiding data errors or system failures caused by inconsistent timing. Additionally, the transition edge is an instantaneous jump process. Compared with the stable high or low level state, it is less affected by external interference. Collecting data at the transition edge can effectively reduce the impact of noise and interference on data accuracy. Because at the moment of the jump, the signal changes rapidly, and it is difficult for interference signals to have a substantial impact on the data in such a short time, thus improving the reliability of data collection.

[0045] Step 102, when it is determined that the functional component is the target functional component in the preset look-up table, substitute the voltage data into the adjustment function to obtain the adjusted voltage data.

[0046] Step 103, send the adjusted voltage data to the power management unit, so that the power management unit can generate a voltage signal for the target functional component according to the adjusted voltage data.

[0047] It should be noted that the target functional components cover various modules with different functions in the system-on-chip, such as the central processing unit, graphics processing unit, memory controller, etc. Different functional components have dynamically changing voltage requirements in different working scenarios. For example, the CPU requires a higher voltage to ensure the operation speed and stability during complex operations, while it can reduce the voltage to save power consumption in the idle state; the GPU requires sufficient voltage support during high-resolution graphics rendering, while the voltage requirement is relatively low when displaying a simple interface. The voltage adjustment data is the appropriate voltage value and related adjustment parameters corresponding to each target functional component in different working states. These data are obtained through a large number of experiments and analyses, which can ensure that the functional components can operate with the best performance and the lowest power consumption in various working scenarios.

[0048] In the embodiment of the present application, in order to accurately and quickly find the target functional component whose voltage data needs to be modified, a look-up table can be used for searching. The look-up table is a preset data structure that details the target functional components to be modified. By querying the look-up table, it is possible to quickly determine whether the functional component corresponding to the voltage data obtained from the communication bus of the system-on-chip is the functional component to be adjusted. At the same time, the look-up table is a relatively independent data structure. When it is necessary to adjust the voltage regulation strategy or add new functional components, only the target functional components in the look-up table need to be updated or added, without the need to make large-scale modifications to the algorithms and codes of the entire system. This greatly reduces the system maintenance cost and development difficulty, and also facilitates the system upgrade and expansion. For example, with the development of technology, new functional components may be added to the system-on-chip. By adding the voltage regulation data corresponding to the component in the look-up table, the power management of the new module can be easily achieved.

[0049] Optionally, step 102 may specifically include:

[0050] Sub-step 1021, obtain the receiving address of the functional component corresponding to the voltage data and search in the look-up table.

[0051] Sub-step 1022, when the communication address in the look-up table includes the receiving address, determine the functional component as the target functional component.

[0052] For sub-step 1021 - sub-step 1022, where the communication address of the functional component to be adjusted is recorded in the lookup table. In some embodiments, the communication address of the functional component is a register address. A register is a very important storage unit in a system-on-chip, which has the characteristics of fast reading and writing and can complete data storage and reading operations in an extremely short time. By comparing the received address with the communication address, the target functional component can be determined. In the embodiments of the present application, by parsing the received address of the functional component in the voltage data, it is possible to search in the communication addresses of the functional components to be adjusted recorded in the lookup table, so as to determine which functional components' voltage data need to be modified. The functional component whose received address is in the lookup table is the target functional component. When there is no received address corresponding to the voltage data in the communication address of the lookup table, it indicates that the functional component is not the target functional component, and it is only necessary to continue to obtain and monitor the newly received voltage data.

[0053] In the embodiments of the present application, when a target functional component whose voltage data needs to be modified is detected, the voltage data of the target functional component will be brought into the adjustment function, and finally the adjusted voltage data will be obtained. The adjustment function is determined based on a large number of experimental tests and performance analysis of the target functional component in different working scenarios. And when transmitting voltage data, a voltage data often only lasts for milliseconds. Through the adjustment function, it is possible to quickly respond to the changes in voltage data in milliseconds, generate corresponding and continuously changing adjusted voltage data according to the changing voltage data, making the adjustment of the voltage value more rapid and rich, and the change in the adjusted voltage data in terms of timing is also closer to the change trend of the original voltage data in terms of timing, more in line with the actual usage scenario of the user. Thus, in the case of conforming to the actual usage scenario, a more practical optimization strategy can be made between reducing power consumption and maintaining the stability of the system-on-chip.

[0054] Among them, the adjustment function defines the operation value and the operation method. Combining the operation value and the operation method can obtain an operation formula, and the input voltage data can be calculated using the operation formula, and the calculation result is the adjusted voltage data. For example, assuming that the adjustment function defines an addition operation method and an operation value of 20, then the calculation formula f(x) = x + 20 is obtained, where f(x) is the adjusted voltage data and x is the voltage data of the input target functional component; another example, assuming that the adjustment function defines a subtraction operation method and an operation value of 30, then the calculation formula f(x) = x - 30 is obtained, where f(x) is the adjusted voltage data and x is the voltage data of the input target functional component. In addition, the operation method can also include other operation methods such as multiplication, division, logarithm, integration, etc. The embodiments of the present application do not specifically limit the type, quantity of the operation method, and the quantity of the operation value.

[0055] For example, as Figure 4 shown, after obtaining the voltage data of the target functional component, in some related embodiments, the voltage data of the target functional component can be adjusted to a fixed voltage value. However, in the embodiments of the present application, a more flexible adjusted voltage data can be generated according to the continuously changing voltage data through an adjustment function such as f(x) = x + 20. During the time of transmitting each segment of voltage data, the voltage data can be increased by 20 mV according to the adjustment function to obtain richer adjusted voltage data.

[0056] The adjusted voltage data obtained after precise adjustment will be quickly sent to the power management unit. As the core module of the on-chip system power management, the power management unit has powerful voltage generation and control capabilities. After receiving the adjusted voltage data, it will deeply analyze these data and combine its internal voltage generation circuit and control algorithm to convert the adjusted voltage data into precise voltage signals for the target functional component.

[0057] In some related technologies, modifying the voltage data in the communication bus often faces many limitations, and relying on the control authority of the traditional communication bus is a major obstacle. In the traditional method, if a researcher wants to adjust the voltage data, a complex permission application process is required, and it is restricted by the established control protocol of the communication bus, making the operation process cumbersome and lacking flexibility. However, the present application can directly modify the voltage data in the communication bus without relying on the control authority of the traditional communication bus, making the voltage data adjustment extremely convenient. Researchers can use this to more efficiently explore the impact of voltage on the stability of the on-chip system. By precisely controlling the voltage, the balance between power consumption and the stability of the on-chip system can be skillfully maintained, and the saved power consumption can be reasonably used to improve the battery life, bringing a longer device usage time for users and greatly improving the user experience.

[0058] Optionally, the target functional component has a corresponding adjustment function, and the lookup table includes the correspondence between the target functional component and the adjustment function. Step 103 may specifically include:

[0059] Sub-step 1031, determining the adjustment function corresponding to the target functional component in the lookup table.

[0060] Sub-step 1032, substituting the voltage data corresponding to the target functional component into the adjustment function corresponding to the target functional component to obtain the adjusted voltage data.

[0061] For the character radical 1031 - sub-step 1032, look up the function components to be adjusted and the corresponding adjustment functions for the target function components in the lookup table. By parsing the information of the function components in the voltage data and making a comparison in the lookup table, it can be determined whether the function component is the target function component. When the component is the target component, obtain the corresponding adjustment function, substitute the voltage data into the adjustment function, calculate the adjusted voltage data, and send the adjusted voltage data to the power management unit for the power management unit to generate the voltage signal of the target component.

[0062] Among them, by setting corresponding adjustment functions for each target function component, the modification of the voltage data of the target function component is made more targeted and more in line with the actual situation of the target function component, such as temperature, aging, load, etc. The adjustment and control of the voltage data of each target function component are more sufficient and precise.

[0063] For example: The lookup table includes the target component and the corresponding adjustment function, such as A: f(x) = x - 20; B: f(x) = x + 5; C: f(x) = x - 10; When the target function component C and its voltage data 800 mV are received, by finding the target function component C and the adjustment function f(x) = x - 10 in the query table, the final adjusted voltage data 790 mV is obtained.

[0064] Optionally, before step 103, the method further includes:

[0065] Sub-step 1033, turn off the communication bus between the system-on-chip and the power management unit.

[0066] Sub-step 1034, turn on the communication bus between the voltage modification unit and the power management unit.

[0067] For sub-step 1033 - sub-step 1034, before sending the adjusted voltage data to the power management unit, turn off the communication bus between the system-on-chip and the power management unit to prevent the power management unit from receiving the voltage data. If the power management unit receives incorrect voltage data and generates a voltage signal based on it, it is very likely that the function components in the system-on-chip will malfunction or even be damaged due to abnormal power supply. Turning off the communication bus can effectively prevent incorrect voltage data from flowing into the power management unit, ensuring that only the adjusted voltage data can be received by the power management unit, and guaranteeing the accuracy and stability of the power supply of the system-on-chip from the source.

[0068] In addition, the turn-on voltage modification unit and the power management unit send the adjusted voltage data to the power management unit, so as to modify the transmitted voltage data without obtaining the control right of the communication bus and send it to the power management unit. The power management unit issues an adjusted voltage signal to the system-on-chip, realizing the adjustment of the voltage, enabling R & D personnel to make more attempts on the relationship between reducing the voltage and the stability of the system-on-chip, helping to reduce power consumption and extend the battery life while maintaining the stability of the system-on-chip.

[0069] Optionally, after step 103, the method further includes:

[0070] Sub-step 1035: Turn on the communication bus between the system-on-chip and the power management unit, and turn off the communication bus between the voltage modification unit and the power management unit.

[0071] In the embodiment of the present application, after sending the adjusted voltage data to the power management unit, the communication bus between the system-on-chip and the power management unit is turned on, so as to ensure the normal operation of the function of providing voltage signals for each functional component of the system-on-chip. The system-on-chip integrates multiple functional components such as a central processing unit and a graphics processing unit, and their stable operation depends on precise voltage supply. Previously, to ensure that the voltage adjustment process is not interfered with, the communication bus was temporarily turned off. But after the adjustment is completed, the connection must be restored. After the communication bus is turned on, the power management unit can feedback the state of the voltage signal generated according to the adjusted data, such as the real-time voltage value, stability index, etc. to the system-on-chip to help it monitor the working state of the components. At the same time, the system-on-chip can issue new instructions to the power management unit according to the load changes of each component. For example, when the central processing unit is under high load, it notifies to increase the supply voltage, thereby ensuring the continuous normal operation of the function of providing voltage signals for each functional component and maintaining the efficient operation of the system-on-chip.

[0072] Optionally, after step 103, the method further includes:

[0073] Sub-step 1036: Package the voltage data as the return value of the power management unit and send it to the system-on-chip; the return value is used for the system-on-chip to compare the sent voltage data with the return value.

[0074] It should be noted that a consistent comparison indicates that the voltage data sent by the on-chip system is consistent with the voltage data received by the voltage modification unit; an inconsistent comparison indicates that there is an abnormality in the process of the on-chip system sending voltage data. A small number of functional components in the on-chip system require precise voltage control. After the on-chip system sends voltage data to the power management unit through the communication bus, it is necessary to read back the return value of the power management unit to confirm whether the sent voltage data is correct. When the voltage data sent by the on-chip system is correct, the voltage data will not be sent again. When the on-chip system verifies the return value and determines that there is an abnormality in the process of sending voltage data, it will send the voltage data again. Encapsulating the voltage data as the return value of the power management unit and sending it to the on-chip system can make the modification of the voltage data in the communication bus more complete.

[0075] For example, the system on chip sends a command to the power management unit to output voltage data of 800mV. By looking up the table and the voltage adjustment value, the voltage adjustment value of the voltage data is finally obtained as 780mV. After adjusting the voltage data according to the voltage adjustment value of 780mV, the voltage modification unit obtains the adjusted voltage data of 780mV and sends it to the power management unit. If the system on chip reads back the voltage data of 780mV returned by the power management unit and it does not match 800mV, it will send a command to output voltage data of 800mV again, overwriting the adjusted voltage data of 780mV. The power management unit encapsulates the voltage data 800mV as a return value and sends it to the system on chip, which is consistent with the command sent, and the voltage value of the actual target functional component has been modified to 780mV.

[0076] In summary, in the embodiment of the present application, when the system on chip communicates voltage data with the power management unit through the communication bus, by obtaining the voltage data being transmitted, and determining in the lookup table that the functional component is the target functional component in the preset lookup table, the voltage data corresponding to the target functional component is substituted into the adjustment function to obtain the adjusted voltage data, and the adjusted voltage data is sent to the power management unit, without relying on the control authority of the traditional communication bus, the voltage data in the communication bus can be directly modified. This feature makes the adjustment of voltage data extremely convenient, and R&D personnel can use it to more efficiently explore the impact of voltage on the stability of the system on chip. At the same time, the voltage data is adjusted by adjusting the function, and different adjusted voltage data is obtained according to different voltage data, so that the regulation of voltage data is more flexible, which is convenient for flexible and accurate voltage regulation, and the balance between power consumption and stability of the system on chip is cleverly maintained. The saved power consumption is reasonably used to improve the battery life, bringing users a longer-lasting device usage time, and greatly improving the user experience.

[0077] like Figure 5As shown in the figure, a voltage data processing circuit for a system-on-chip provided by an embodiment of the present application includes: a system-on-chip 10, a power management unit 20, a voltage modification unit 30, and a switching switch 40; the system-on-chip 10 is connected to the power management unit 20 through the switching switch 40, the voltage modification unit 30 is connected to the system-on-chip 10, and the voltage modification unit 30 is connected to the power management unit 20 through the switching switch 40; when the voltage modification unit 30 detects that the functional component corresponding to the voltage data sent by the system-on-chip 10 is the target functional component recorded in the lookup table, the voltage modification unit 30 substitutes the voltage data corresponding to the target functional component into the adjustment function to obtain the adjusted voltage data, and sends the adjusted voltage data to the power management unit 20; the voltage modification unit 30 is further configured to control the switching switch 40. When the voltage modification unit 30 detects that the functional component corresponding to the voltage data sent by the system-on-chip 10 is the target functional component recorded in the lookup table, the voltage modification unit 30 controls the switching switch 40 to turn off the connection between the system-on-chip 10 and the power management unit 20 to prevent the system-on-chip 10 from sending the voltage data to the power management unit 20; the voltage modification unit 30 is further configured to, when detecting that the functional component corresponding to the voltage data sent by the system-on-chip 10 is the functional component to be adjusted, control the switching switch 40 to connect the voltage modification unit 30 and the power management unit 20, send the adjusted voltage data to the power management unit 20, and control the switching switch 40 to restore the connection between the system-on-chip 10 and the power management unit 20 after sending is completed.

[0078] Through the above connection method, the voltage modification unit 30 monitors the voltage data sent by the system-on-chip 10 to the power management unit 20, and analyzes whether the functional component corresponding to the voltage data is the functional component to be adjusted. When the functional component corresponding to the voltage data is the target functional component recorded in the lookup table, the voltage data of the target functional component is substituted into the adjustment function to obtain the adjusted voltage data and sent to the power management unit 20. The voltage modification unit 30 controls the switching switch 40 to turn off the connection between the system-on-chip 10 and the power management unit 20 in the voltage data channel 50 to prevent the system-on-chip 10 from sending voltage data to the power management unit 20, but instead sends the adjusted voltage data to the power management unit 20 through the voltage modification unit 30. In this way, without obtaining the control right of the communication between the system-on-chip 10 and the power management unit 20, the voltage data can be modified, so that the voltage value can be adjusted more conveniently, thereby exploring the relationship between the voltage value and the stability of the system-on-chip 10, which helps to maintain the stability of the system-on-chip 10 at a low voltage, thereby saving power consumption.

[0079] In addition, after the voltage modification unit 30 finishes sending the adjusted voltage data to the power management unit 20, it controls the switching switch 40 to conduct the system-on-chip 10 and the power management unit 20, thereby ensuring the normal operation of the function of providing voltage signals to each functional component of the system-on-chip 10.

[0080] Specifically, the connections of the above-mentioned system-on-chip 10, power management unit 20, switching switch 40, and voltage modification unit 30 are established on a communication bus for communication. The communication bus includes a data channel 50 and a clock channel 60. The clock channel 60 is used to transmit clock signals to ensure the clock synchronization among the system-on-chip 10, voltage modification unit 30, and power management unit 20. The data channel 50 is used to transmit voltage data and adjusted voltage data.

[0081] Specifically, the structure of the voltage modification unit 30 is as Figure 6 shown. The voltage modification unit 30 includes a non-volatile storage chip 301, a clock signal interface 302, a voltage data interface 303, a lookup module 304, an analog voltage module 305, a command transmission module 306, and an adjustment calculation module 307. The non-volatile storage chip 301 is used to store the program code and data of the voltage modification unit 30, which helps the voltage modification unit 30 enter a stable and operable state during initialization and controls and manages various hardware resources of the voltage modification unit 30. For example, it controls the input and output of data, manages the read and write operations of memory, coordinates the work among different functional modules, etc. In addition, it can also be responsible for managing the communication interface to achieve the correct transmission and reception of data. For example, it processes communication protocols and converts data formats, etc. The clock signal interface 302 is used to monitor the clock signal and maintain clock synchronization with the system-on-chip 10 and the power management unit 20. The voltage data interface 303 is used to monitor the voltage data and send out the adjusted voltage data. The analog voltage module 305 is used to provide different voltages to different parts of the voltage modification unit 30. For example, it provides a 3.3V power supply voltage to the internal analog part, a 1.8V power supply voltage to the digital interface part, and a 0.9V power supply management to the digital CORE part. The lookup module 304 includes a lookup table, and the lookup table records the addresses of the functional components to be adjusted and the corresponding adjustment functions. The command transmission module 306 is used to issue control commands for the switching switch 40 and commands for sending return values to the system-on-chip 10. The adjustment calculation module 307 is used to substitute the voltage data of the target functional component into the adjustment function to calculate the adjusted voltage data.

[0082] In an embodiment of the present application, when the system-on-chip 10 communicates voltage data with the power management unit 20 via a communication bus, by acquiring the voltage data being transmitted, searching for the target functional component in the voltage data in a lookup table, substituting the voltage data corresponding to the target functional component into an adjustment function to obtain adjusted voltage data, and sending the adjusted voltage data to the power management unit 20, it is possible to directly modify the voltage data in the communication bus without relying on the control authority of the traditional communication bus. This feature makes the adjustment of voltage data extremely convenient, enabling R & D personnel to more efficiently explore the impact of voltage on the stability of the system-on-chip 10. At the same time, by adjusting the voltage data through the adjustment function, different adjusted voltage data can be obtained according to different voltage data, making the regulation of voltage data more flexible, facilitating flexible and precise voltage regulation, skillfully maintaining the balance between power consumption and the stability of the system-on-chip 10, reasonably using the saved power consumption to improve the battery life, and bringing a longer device usage time for users, greatly improving the user experience.

[0083] Optionally, the switching switch 40 includes a first switching switch 401. The first switching switch 401 includes a first terminal 402, a second terminal 403, and a third terminal 404. The first switching switch 401 is respectively connected to the system-on-chip 10, the power management unit 20, and the voltage modification unit 30 through a voltage data channel 50. The first terminal 402 is connected to the system-on-chip 10, the second terminal 403 is connected to the power management unit 20, and the third terminal 404 is connected to the voltage modification unit 30. When the voltage modification unit 30 detects that the functional component corresponding to the voltage data sent by the system-on-chip 10 is the target functional component recorded in the lookup table, it controls the first switching switch 401 to turn off the first terminal 402 and the second terminal 403 and turn on the second terminal 403 and the third terminal 404, so as to disconnect the voltage data channel 50 between the system-on-chip 10 and the power management unit 20 and connect the voltage data channel 50 between the voltage modification unit 30 and the power management unit 20. After the voltage modification unit 30 sends the adjusted voltage data to the power management unit 20, it controls the first switching switch 401 to turn off the second terminal 403 and the third terminal 404 and turn on the first terminal 402 and the second terminal 403, so as to connect the voltage data channel 50 between the system-on-chip 10 and the power management unit 20 and disconnect the voltage data channel 50 between the voltage modification unit 30 and the power management unit 20.

[0084] Among them, the structure of the switching switch 40 is as Figure 7As shown, the switching switch 40 is two double - pole single - throw selection switches, namely the first switching switch 401 and the second switching switch 405. The first switching switch 401 includes a first terminal 402, a second terminal 403, and a third terminal 404. The first terminal 402 is connected to the system - on - chip 10, the second terminal 403 is connected to the power management unit 20, and the third terminal 404 is connected to the voltage modification unit 30. The switching switch 40 is controlled by the voltage modification unit 30.

[0085] In one embodiment, as Figure 5 shown, in the connection of the system - on - chip 10, the voltage modification unit 30, and the power management unit 20 based on the data channel 50, the system - on - chip 10 is connected to the first terminal 402, the power management unit 20 is connected to the second terminal 403, and the voltage modification unit 30 is connected to the third terminal 404. When the voltage modification unit 30 detects that the functional component corresponding to the voltage data sent by the system - on - chip 10 is the target functional component recorded in the look - up table, it turns off the first terminal 402 and the second terminal 403, and turns on the second terminal 403 and the third terminal 404, so that the voltage data channel 50 between the system - on - chip 10 and the power management unit 20 is disconnected, and the voltage data channel 50 between the voltage modification unit 30 and the power management unit 20 is connected, to prevent the system - on - chip 10 from sending voltage data to the power management unit 20. In addition, the power management unit 20 can encapsulate the voltage data as a return value and send it to the system - on - chip 10 for the system - on - chip 10 to verify. When the verification result shows that the return value is the same as the sent voltage data, the voltage data is not sent repeatedly. When the verification result shows that the return value is different from the sent voltage data, it indicates that there is an abnormality in the sending process of the voltage data, and the system - on - chip 10 will send the voltage data again. After the voltage modification unit 30 sends the adjusted voltage data to the power management unit 20, it controls the first switching switch 401 to turn on the first terminal 402 and the second terminal 403, and turn off the second terminal 403 and the third terminal 404, so that the voltage data channel 50 between the system - on - chip 10 and the power management unit 20 is connected, and the voltage data channel 50 between the voltage modification unit 30 and the power management unit 20 is disconnected, thereby ensuring the normal operation of the function of providing voltage signals for each functional component of the system - on - chip 10.

[0086] Optionally, the switching switch 40 includes a second switching switch 405. The second switching switch 405 includes a fourth terminal 406, a fifth terminal 407, and a sixth terminal 408. The second switching switch 405 is respectively connected to the system-on-chip 10, the power management unit 20, and the voltage modification unit 30 through a clock channel 60. The fourth terminal 406 is connected to the system-on-chip 10, the fifth terminal 407 is connected to the power management unit 20, and the sixth terminal 408 is connected to the voltage modification unit 30. When the voltage modification unit 30 detects that the functional component corresponding to the voltage data sent by the system-on-chip 10 is the target functional component recorded in the lookup table, it controls the second switching switch 405 to turn off the connection between the fourth terminal 406 and the fifth terminal 407 and turn on the connection between the fifth terminal 407 and the sixth terminal 408, so that the clock channel 60 between the voltage modification unit 30 and the power management unit 20 is connected, and the clock channel 60 between the system-on-chip 10 and the power management unit 20 is disconnected. After the voltage modification unit 30 sends the adjusted voltage data to the power management unit 20, it controls the second switching switch 405 to turn off the connection between the fifth terminal 407 and the sixth terminal 408 and turn on the connection between the fourth terminal 406 and the fifth terminal 407, so that the clock channel 60 between the system-on-chip 10 and the power management unit 20 is connected, and the clock channel 60 between the system-on-chip 10 and the voltage modification unit 30 is disconnected.

[0087] Among them, the structure of the switching switch 40 is as Figure 7 shown. The switching switch 40 is two double-pole single-throw selection switches, namely the first switching switch 401 and the second switching switch 405. The second switching switch 405 includes a fourth terminal 406, a fifth terminal 407, and a sixth terminal 408. The fourth terminal 406 is connected to the system-on-chip 10, the fifth terminal 407 is connected to the power management unit 20, and the sixth terminal 408 is connected to the voltage modification unit 30. The switching switch 40 is controlled by the voltage modification unit 30.

[0088] It should be noted that as Figure 5As shown in the figure, to ensure the clock synchronization of the voltage modification unit 30 with the system-on-chip 10 and the power management unit 20, so as to better receive voltage data. In the connection of the system-on-chip 10, the voltage modification unit 30, and the power management unit 20 based on the clock channel 60, which is similar to the connection method of the data channel 50. The system-on-chip 10 is connected to the fourth terminal 406, the power management unit 20 is connected to the fifth terminal 407, and the voltage modification unit 30 is connected to the sixth terminal 408. The voltage modification unit 30 continuously monitors the voltage data and clock signal sent by the system-on-chip 10. When the functional component corresponding to the voltage data sent by the system-on-chip 10 is not the target functional component recorded in the lookup table, the fourth terminal 406 and the fifth terminal 407 are turned on, and the fifth terminal 407 and the sixth terminal 408 are disconnected. At this time, the voltage modification unit 30 only monitors the voltage data and the clock signal and does not need to affect the communication process. When the functional component corresponding to the voltage data sent by the system-on-chip 10 is the target functional component recorded in the lookup table, the fourth terminal 406 and the fifth terminal 407 are turned off, and the fifth terminal 407 and the sixth terminal 408 are turned on. At this time, the adjusted voltage data is sent to the power management unit 20 through the voltage modification unit 30, and the voltage modification unit 30 sends the monitored clock signal to the power management unit 20, and immediately switches back to the state where the fourth terminal 406 and the fifth terminal 407 are turned on and the fifth terminal 407 and the sixth terminal 408 are disconnected after the transmission is completed, so as to minimize the impact of the delay caused by the forwarding of the voltage modification unit 30 during the transmission of the clock signal and ensure the timeliness of the clock signal.

[0089] For example, when the voltage modification unit 30 monitors and forwards the clock signal, there will be a 10ms delay in the clock signal. When the voltage modification unit 30 does not need to send the adjusted voltage data, keep the system-on-chip 10 and the power management unit 20 turned on to eliminate the 10ms delay caused by the voltage modification unit 30 forwarding the clock signal in time.

[0090] Optionally, the system-on-chip 10 includes: a memory 101, a central processing unit 102, and an arbiter 103. The central processing unit 102 is respectively connected to the memory 101 and the arbiter 103. The central processing unit 102 is used to read the voltage data of each functional component in the system-on-chip 10 stored in the memory 101 and send the voltage data to the arbiter 103. The arbiter 103 is used to receive and determine whether the voltage data is within a preset range. When the voltage data is within the preset range, the voltage data is sent to the power management unit 20. When the voltage data is not within the preset range, the voltage data is stopped from being sent.

[0091] In the embodiment of the present application, the structure of the system-on-chip 10 is as Figure 5As shown, the system-on-chip 10 includes a memory 101, a central processing unit 102, and an arbiter 103. The central processing unit 102 can read the voltage data of each functional component pre-stored in the memory 101 and send the voltage data to the arbiter 103 for arbitration. The arbiter 103 makes a strict arbitration judgment on the received voltage data according to the preset rules and range. If the voltage data is within the preset range, that is, through arbitration, the central processing unit 102 will promptly send the data to the power management unit 20 to achieve reasonable power supply regulation for each functional component; if it fails arbitration, the voltage data will not be sent, avoiding adverse effects on the system caused by abnormal voltage data. Thus, it effectively ensures that each functional component in the system-on-chip 10 operates at an appropriate voltage, improves the stability and reliability of the system operation, reduces failures caused by abnormal voltage, and at the same time optimizes the power management of the system and reduces power consumption through a reasonable arbitration and data transmission process.

[0092] Optionally, the system-on-chip 10 includes: a voltage detector 104, a voltage regulator 105, and an arbiter 103. The voltage detector 104 is connected to the voltage regulator, and the voltage regulator 105 is connected to the arbiter 103; the voltage detector 104 is configured to detect the voltage value sent by the power management unit (20) and send the voltage value to the voltage regulator 105; the voltage regulator 105 is configured to adjust the voltage value to obtain voltage data and send it to the arbiter 103.

[0093] In the embodiment of the present application, the structure of the system-on-chip 10 is as Figure 5As shown, the system-on-chip 10 includes a voltage detector 104, a voltage regulator 105, and an arbiter 103. The voltage detector 104 is used to monitor in real time the voltage values of each functional component in the system-on-chip 10, keep an eye on the voltage conditions of each component at all times, and transmit the accurately detected voltage values to the voltage regulator 105 in a timely manner. After receiving the voltage values, the voltage regulator 105 will obtain the voltage data that meets the actual operation requirements based on the load, temperature, aging of the functional components, as well as the operating characteristics of the components and the overall system requirements, and then send this data to the arbiter 103. The arbiter 103 compares and arbitrates the reasonable range of changes in the voltage data. If the voltage data falls within the preset range, indicating that it meets the safety and performance requirements of the system, the arbiter 103 will transmit it to the power management unit 20, and the power management unit 20 will provide a stable and suitable voltage for each functional component based on this; if the voltage data fails the arbitration, the arbiter 103 will not send this data to avoid damage to the system caused by abnormal voltage. Thus, it is ensured that each functional component of the system-on-chip 10 always operates in a safe and stable voltage environment, effectively reducing the risk of component damage and system failures caused by abnormal voltage, and improving the reliability and stability of the system. Secondly, through precise voltage regulation and strict arbitration, refined management of the power supply is achieved, which helps to reduce system power consumption and extend the battery life of the device.

[0094] In some embodiments, the on-chip network can also send voltage data through a wireless communication bus. In some related technologies, such as Figure 8 As shown, the modem 106 of the on-chip network transmits voltage data and clock signals through a radio frequency front-end (RFFE) to the antenna coordinator 70. It is difficult to obtain the RFFE bus control right, so it is difficult to adjust the voltage data during the transmission process. After adding a voltage modification unit 30, as Figure 9As shown, the voltage modification unit 30 monitors the clock signal and voltage data. In the data channel 50, the system-on-chip 10 is connected to the first end 402 of the first switch 401, the antenna coordinator 70 is connected to the second end 403 of the first switch 401, and the voltage modification unit 30 is connected to the third end 404 of the first switch 401. In the clock channel 60, the system-on-chip 10 is connected to the fourth end 406 of the second switch 405, the antenna coordinator 70 is connected to the fifth end 407 of the second switch 405, and the voltage modification unit 30 is connected to the sixth end 408 of the second switch 405. The connection between the voltage modification unit 30 and the antenna coordinator 70 is turned on, the system-on-chip 10 is blocked from sending voltage data, and the voltage data sent by the system-on-chip 10 monitored by the voltage modification unit 30 is encapsulated as a return value and sent to the system-on-chip 10 for verification by the system-on-chip 10. After the voltage modification unit 30 sends the adjusted voltage data to the antenna coordinator 70, the connection between the voltage modification unit 30 and the antenna coordinator 70 is turned off, and the system-on-chip 10 and the antenna coordinator 70 are turned on, so that the system-on-chip 10 and the antenna coordinator 70 are turned on, thereby ensuring the normal operation of the function of providing voltage signals for each functional component of the system-on-chip 10.

[0095] It should be noted that in this article, the terms "including", "comprising" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the described methods may be performed in a different order than described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0096] The embodiments of the present application have been described above with reference to the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.

Claims

1. A method for processing voltage data of a system on a chip, characterized in that, Applied to a voltage modification unit, the voltage modification unit is respectively connected to a system-on-chip and a power management unit, and the method includes: Obtain voltage data of functional components in the system-on-chip from a communication bus of the system-on-chip; the voltage data is used for the power management unit to generate a voltage signal for the functional components; When it is determined that the functional component is a target functional component in a preset look-up table, substitute the voltage data into an adjustment function to obtain adjusted voltage data; Send the adjusted voltage data to the power management unit for the power management unit to generate a voltage signal for the target functional component according to the adjusted voltage data.

2. The method according to claim 1, wherein The target functional component has a corresponding adjustment function, and the look-up table includes the corresponding relationship between the functional component and the adjustment function. Substituting the voltage data into the adjustment function to obtain adjusted voltage data includes: Determine the adjustment function corresponding to the target functional component in the look-up table; Substitute the voltage data corresponding to the target functional component into the adjustment function corresponding to the target functional component to obtain the adjusted voltage data.

3. The method according to claim 1, characterized in that Before sending the adjusted voltage data to the power management unit, the method further includes: Turn off the communication bus between the system-on-chip and the power management unit; Turn on the communication bus between the voltage modification unit and the power management unit; After sending the adjusted voltage data to the power management unit, the method further includes: Turn on the communication bus between the system-on-chip and the power management unit and turn off the communication bus between the voltage modification unit and the power management unit.

4. The method according to claim 1, wherein The look-up table includes: the communication address of the functional component; determining that the functional component is a target functional component in a preset look-up table includes: Obtain the receiving address of the functional component corresponding to the voltage data and search in the look-up table; When the communication address in the look-up table includes the receiving address, determine the functional component as the target functional component.

5. The method according to claim 1, characterized in that, After sending the adjusted voltage data to the power management unit, the method further includes: Package the voltage data as a return value of the power management unit and send it to the system-on-chip; the return value is used for the system-on-chip to compare the sent voltage data with the return value; Wherein, consistent comparison indicates that the voltage data sent by the system-on-chip is consistent with the voltage data received by the voltage modification unit.

6. The method according to claim 1, characterized in that, The obtaining voltage data of functional components in the system-on-chip from a communication bus of the system-on-chip includes: Obtain a clock signal from the clock channel; the clock channel has a transition edge signal for maintaining data consistency; Detect the clock signal, and when the clock signal appears a preset transition edge signal, collect the communication bus to obtain the voltage data; the preset transition edge signal is used to indicate the signal for the system-on-chip to send the voltage data to the communication bus.

7. A voltage data processing circuit for a system on a chip, characterized in that Includes: System on Chip (10), Power Management Unit (20), Voltage Modification Unit (30), Switch (40); the System on Chip (10) is connected to the Power Management Unit (20) through the Switch (40), the Voltage Modification Unit (30) is connected to the System on Chip (10), and the Voltage Modification Unit (30) is connected to the Power Management Unit (20) through the Switch (40); The Voltage Modification Unit (30) is configured to, when detecting that the functional component corresponding to the voltage data sent by the System on Chip (10) is the target functional component recorded in the look-up table, substitute the voltage data corresponding to the target functional component into the adjustment function to obtain adjusted voltage data, and send the adjusted voltage data to the Power Management Unit (20); The Voltage Modification Unit (30) is further configured to control the Switch (40). When the Voltage Modification Unit (30) detects that the functional component corresponding to the voltage data sent by the System on Chip (10) is the target functional component recorded in the look-up table, it controls the Switch (40) to disconnect the connection between the System on Chip (10) and the Power Management Unit (20) to prevent the System on Chip (10) from sending the voltage data to the Power Management Unit (20); The Voltage Modification Unit (30) is further configured to, when detecting that the functional component corresponding to the voltage data sent by the System on Chip (10) is the target functional component recorded in the look-up table, control the Switch (40) to conduct the connection between the Voltage Modification Unit (30) and the Power Management Unit (20), send the adjusted voltage data to the Power Management Unit (20), and after sending, control the Switch (40) to restore the connection between the System on Chip (10) and the Power Management Unit (20).

8. The voltage data processing circuit according to claim 7, wherein The Switch (40) includes a first switch (401). The first switch (401) includes a first terminal (402), a second terminal (403), and a third terminal (404). The first switch (401) is connected to the System on Chip (10), the Power Management Unit (20), and the Voltage Modification Unit (30) respectively through a voltage data channel (50). The first terminal (402) is connected to the System on Chip (10), the second terminal (403) is connected to the Power Management Unit (20), and the third terminal (404) is connected to the Voltage Modification Unit (30); When the function component corresponding to the voltage data sent by the system-on-chip (10) detected by the voltage modification unit (30) is the target function component recorded in the look-up table, control the first switch (401) to turn off the first end (402) and the second end (403), and turn on the second end (403) and the third end (404), so as to disconnect the voltage data channel (50) between the system-on-chip (10) and the power management unit (20), and to connect the voltage data channel (50) between the voltage modification unit (30) and the power management unit (20); After the voltage modification unit (30) sends the adjusted voltage data to the power management unit (20), control the first switch (401) to turn off the second end (403) and the third end (404), and turn on the first end (402) and the second end (403), so as to connect the voltage data channel (50) between the system-on-chip (10) and the power management unit (20), and to disconnect the voltage data channel (50) between the voltage modification unit (30) and the power management unit (20).

9. The voltage data processing circuit according to claim 8, wherein The switch (40) includes a second switch (405), the second switch (405) includes a fourth end (406), a fifth end (407) and a sixth end (408), the second switch (405) is respectively connected to the system-on-chip (10), the power management unit (20) and the voltage modification unit (30) through a clock channel (60), the fourth end (406) is connected to the system-on-chip (10), the fifth end (407) is connected to the power management unit (20), and the sixth end (408) is connected to the voltage modification unit (30); When the function component corresponding to the voltage data sent by the system-on-chip (10) detected by the voltage modification unit (30) is the target function component recorded in the look-up table, control the second switch (405) to turn off the connection between the fourth end (406) and the fifth end (407), and turn on the connection between the fifth end (407) and the sixth end (408), so as to connect the clock channel (60) between the voltage modification unit (30) and the power management unit (20), and to disconnect the clock channel (60) between the system-on-chip (10) and the power management unit (20); After the voltage modification unit (30) sends the adjusted voltage data to the power management unit (20), control the second switch (405) to turn off the connection between the fifth end (407) and the sixth end (408), and turn on the connection between the fourth end (406) and the fifth end (407), so as to connect the clock channel (60) between the system-on-chip (10) and the power management unit (20), and to disconnect the clock channel (60) between the system-on-chip (10) and the voltage modification unit (30).

10. The voltage data processing circuit according to claim 7, wherein The system-on-chip (10) includes: a memory (101), a central processing unit (102), and an arbiter (103), where the central processing unit (102) is respectively connected to the memory (101) and the arbiter (103); The central processing unit (102) is configured to read voltage data of functional components in the system-on-chip (10) stored in the memory (101), and send the voltage data to the arbiter (103); The arbiter (103) is configured to receive and determine whether the voltage data is within a preset range. When the voltage data is within the preset range, the arbiter (103) sends the voltage data to the power management unit (20). When the voltage data is not within the preset range, the arbiter (103) stops sending the voltage data.

11. The voltage data processing circuit according to claim 10, wherein The system-on-chip (10) further includes: a voltage detector (104) and a voltage regulator (105), where the voltage detector (104) is connected to the voltage regulator, and the voltage regulator (105) is connected to the arbiter (103); The voltage detector (104) is configured to detect a voltage value sent by the power management unit (20), and send the voltage value to the voltage regulator (105); The voltage regulator (105) is configured to adjust the voltage value to obtain voltage data and send the voltage data to the arbiter (103).