SOC chip low power consumption control method and SOC

By using a grouping and mode switching mechanism between remote and local control modules, the optimal control strategy is dynamically selected, solving the problem of inconsistent clock and power control interfaces between functional modules in SOC design, and achieving low-power control and efficient management.

CN120872121AActive Publication Date: 2025-10-31ZITAI MICROELECTRONICS (SHANGHAI) CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202511376012.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-25
Publication Date
2025-10-31
Estimated Expiration
2045-09-25

AI Technical Summary

Technical Problem

In SOC design, existing technologies have different implementation methods for the clock and power control interfaces of functional modules. This means that when adding or removing functional modules, it is necessary to modify the unified clock control switch and power switch, which is not conducive to maintenance design. Furthermore, too many control modules lead to power consumption problems.

Method used

A grouping and mode switching mechanism is adopted between remote control modules and local control modules. The remote control module divides the functional modules into centralized control groups and individual control groups and sends switching instructions. In local control mode, the local control module directly hands with the functional modules, and in remote control mode, it transmits control instructions transparently to achieve dynamic low-power control.

Benefits of technology

It achieves maximum reduction of chip power consumption while ensuring performance, reduces power loss caused by too many control modules, improves management efficiency, and has self-optimization and fault tolerance capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120872121A_ABST
    Figure CN120872121A_ABST
Patent Text Reader

Abstract

The invention provides an SOC chip low-power-consumption control method and an SOC. The SOC chip low-power-consumption control method comprises the steps that a far-end control module determines all function modules as one or more centralized control groups and one or more independent control groups; a first switching instruction is sent to the near-end control module corresponding to each independent control group, and a second switching instruction is sent to the near-end control module corresponding to each centralized control group; the first switching instruction is used for indicating the clock control and switching unit and the power supply control and switching unit to start a near-end control mode. According to the technical scheme, centralized management and fine control can be organically unified, and an optimal control strategy is dynamically selected through a grouping and mode switching mechanism according to data of function modules, so that the power consumption of a chip is reduced to the maximum extent on the premise of ensuring the performance, and in addition, the power consumption loss caused by excessive control modules is also reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of chips, and more specifically, to a low-power control method for a System-on-a-Chip (SOC) chip and an SOC. Background Technology

[0002] In modern SoC design, the ultra-high power density of chip cores and the demand for low power consumption in the mobile application market have made low-power control increasingly important. Low-power control of chips can not only extend product lifespan but also reduce chip costs. How to achieve low-power control has become a challenging problem of concern to those skilled in the art.

[0003] like Figure 1 As shown, low-power control of all functional modules is achieved through a centralized power controller and clock controller. Specifically, the clock control interfaces of all functional modules are connected together with the clock switch, and are managed uniformly by the clock switch. Similarly, the power control interfaces of all functional modules are connected together with the centralized power switch, and are managed uniformly by the power switch.

[0004] The rapid pace of SOC upgrades necessitates the addition or removal of functional modules. When these modules are added or removed, their clock and power control interfaces differ, requiring modifications to a unified clock and power switch, which complicates maintenance and design. Furthermore, an excessive number of control modules also leads to increased power consumption. Summary of the Invention

[0005] The purpose of this application is to provide a low-power control method for SOC chips and an SOC, so as to at least partially improve the above-mentioned problems.

[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:

[0007] In a first aspect, embodiments of this application provide a low-power control method for a System-on-a-Chip (SOC) chip. The SOC chip includes: a remote control module, multiple near-end control modules, and multiple clock switches; each near-end control module corresponds to a functional module, and each near-end control module includes a clock control and switching unit and a power control and switching unit. The clock control and switching unit is connected to the functional module via a first handshake channel, and the power control and switching unit is connected to the functional module via a second handshake channel. The clock control and switching unit is connected to a clock switch, and each clock switch corresponds to a functional module. The remote control module is connected to both the clock control and switching unit and the power control and switching unit.

[0008] The method includes: the remote control module determining each functional module into one or more centralized control groups and one or more individual control groups; the remote control module sending a first switching instruction to the local control module corresponding to each individual control group, and the local control module corresponding to each centralized control group sending a second switching instruction; the first switching instruction instructing the clock control and switching unit and the power control and switching unit to start a local control mode, in which the clock control and switching unit and the power control and switching unit directly handshake with the functional modules; the second switching instruction instructing the clock control and switching unit and the power control and switching unit to start a remote control mode, in which the clock control and switching unit and the power control and switching unit transparently transmit control instructions from the remote control module to the functional modules or clock switches; and the local control module performing mode management based on the received first switching instruction or second switching instruction.

[0009] Secondly, embodiments of this application provide a SOC chip, including: a remote control module, multiple near-end control modules, and multiple clock switches;

[0010] Each of the near-end control modules corresponds to a functional module. Each near-end control module includes a clock control and switching unit and a power control and switching unit. The clock control and switching unit is connected to the functional module through a first handshake channel, and the power control and switching unit is connected to the functional module through a second handshake channel. The clock control and switching unit is connected to a clock switch, and each clock switch corresponds to a functional module. The far-end control module is connected to the clock control and switching unit and the power control and switching unit, respectively. The far-end control module is used to determine each functional module into one or more centralized control groups and one or more individual control groups.

[0011] The remote control module is further configured to send a first switching instruction to the local control module corresponding to each individual control group, and send a second switching instruction to the local control module corresponding to each centralized control group; the first switching instruction is configured to instruct the clock control and switching unit and the power control and switching unit to start the local control mode, in which the clock control and switching unit and the power control and switching unit directly handshake with the functional module; the second switching instruction is configured to instruct the clock control and switching unit and the power control and switching unit to start the remote control mode, in which the clock control and switching unit and the power control and switching unit are configured to pass the control instructions from the remote control module to the functional module or the clock switch;

[0012] The near-end control module is used to perform mode management based on the received first switching instruction or second switching instruction.

[0013] This application provides a low-power control method and SOC for a System-on-a-Chip (SoC). A remote control module identifies each functional module as one or more centralized control groups and one or more individual control groups. It sends a first switching instruction to the local control module corresponding to each individual control group, and a second switching instruction to the local control module corresponding to each centralized control group. The first switching instruction instructs the clock control and switching unit and the power control and switching unit to activate a local control mode. In this mode, the clock control and switching unit and the power control and switching unit directly handshake with the functional modules. The second switching instruction instructs the clock control and switching unit and the power control and switching unit to activate a remote control mode. In this mode, the clock control and switching unit and the power control and switching unit transmit control instructions from the remote control module to the functional modules or a clock switch. The local control module performs mode management based on the received first or second switching instruction. It can organically unify centralized management and fine control. Through grouping and mode switching mechanisms, it can dynamically select the optimal control strategy based on the data of functional modules, thereby maximizing the reduction of chip power consumption while ensuring performance. In addition, it also reduces power consumption caused by too many control modules.

[0014] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0015] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a schematic diagram of the structure of a control circuit in the prior art;

[0017] Figure 2 This is a schematic diagram of the control circuit provided in an embodiment of this application;

[0018] Figure 3 This is a schematic diagram of the SOC chip structure provided in an embodiment of this application. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0020] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0021] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0022] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0023] In the description of this application, it should be noted that the terms "upper", "lower", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship that the product of this application is usually placed in. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.

[0024] In the description of this application, it should also be noted that, unless otherwise explicitly specified and limited, the terms "set" and "connection" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0025] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0026] This application provides a system-level SoC chip. Figure 2 This is a schematic diagram of the structure of the SOC provided in an embodiment of this application. Figure 2 As shown, the SOC chip includes: a remote control module, multiple near-end control modules, and multiple clock switches.

[0027] Each near-end control module corresponds to a functional module. The near-end control module can be physically located in an adjacent area with the functional module, clock switch, or interface of the functional module. The distance between the clock switch and the functional module should also be as close as possible to reduce the communication distance between the near-end control module and the functional module, between the near-end control module and the clock switch, and between the clock switch and the functional module.

[0028] Each near-end control module may include a clock control and switching unit and a power control and switching unit.

[0029] The clock control and switching unit is connected to the functional module via a first handshake channel. This unit primarily controls the clock switch, performs handshakes with the functional module, and switches control modes. The clock control function is only activated in near-end control mode; in far-end control mode, it remains in sleep mode. The clock control function here mainly refers to the ability of the clock control and switching unit to autonomously interact with the clock switch and the functional module.

[0030] The clock control and switching unit mainly includes the following functions: switching between remote pass-through mode and local control mode according to instructions from the remote control module; triggering clock on and off commands; performing local handshakes with functional modules to ensure that clock switching actions occur at safe times to avoid glitches or metastability; and feeding back the local clock status to the remote control module.

[0031] The system utilizes a mode selector to switch between remote pass-through mode and local control mode based on instructions from the remote control module. The mode selector's structure includes a multiplexer (MUX) or a set of AND / OR logic gates. The inputs are: Mode_Select signal (from the remote control module, either a first or second switching instruction); Clk_Ctrl_Remote (a global clock instruction from the remote control module or a clock analog switch); and Clk_Ctrl_Local (a clock control signal generated by local logic). When Mode_Select = '1' (remote mode), the output is Clk_Ctrl_Remote. When Mode_Select = '0' (local mode), the output is Clk_Ctrl_Local, allowing control to be routed to different sources.

[0032] The control logic can be implemented using a simplified finite state machine. It can receive mode selection signals and configure the mode selector. It can also parse local handshake signals (from the handshake protocol controller) to determine whether the clock request from the functional module is valid and whether it is in a safe state where the clock can be switched on or off. Finally, it generates the final gate enable signal (Gate_En) for the clock switch.

[0033] The handshake protocol controller may contain some synchronous flip-flops and counters. It connects directly to the first handshake channel. It can receive Clk_Req_Local (requests to turn the clock on or off) sent by functional modules. It checks the status signals of functional modules (such as FSM_Status, Fabric_Idle) to ensure that they are ready for clock switching. It sends an Ack signal to the functional module to indicate that the request has been received and executed.

[0034] The power control and switching unit is connected to the functional module via a second handshake channel. This unit is used for power control and handshake communication with the functional module. The power control function is only activated in near-end control mode; in far-end control mode, it remains in sleep mode. The power control function here primarily refers to the power-on and power-off control of the functional module.

[0035] The power control and switching unit may include a mode selector, structured as a digital multiplexer (MUX). Similar to the clock unit, it selects the source of control commands based on the Mode_Select signal. Specifically, in remote mode, the Pwr_Ctrl_Remote command from the remote control module / power analog switch is passed to the internal state machine. In local mode, the Pwr_Ctrl_Local command from the local handshake protocol is passed to the internal state machine.

[0036] It can also include control logic and a state machine. Its structure is a more complex state machine than a clock unit because the timing requirements of the power switch are extremely strict. It can receive valid power commands (such as ON, OFF, RETENTION) and execute a multi-step, time-sensitive sequence to control the power switching.

[0037] Example of a state:

[0038] ON_SEQUENCE: Sequentially turns on the power, releases the reset, and removes the isolation.

[0039] OFF_SEQUENCE: Wait for module to idle -> Force refresh cache -> Turn off clock -> Isolate output -> Cut off power.

[0040] RETENTION_SEQUENCE: Disconnects the main power supply, but keeps the dedicated hold power switch on to protect the data in the registers from loss.

[0041] It may also include a handshake and protocol controller. Its structure may include synchronization circuitry and a protocol parser. It can be directly connected to a second handshake channel. It can receive local requests from functional modules (such as SLEEP_REQ, WAKEUP_REQ). It queries the status of functional modules (such as PWR_READY, SLEEP_ACK) to ensure they have entered a state where they can be safely powered off (cache data has been refreshed, no ongoing transactions). It sends an acknowledgment signal (ACK) and status signals to the functional modules and the remote control module.

[0042] In addition, the clock control and switching unit can also be connected to a clock switch.

[0043] Each clock switch can correspond to a functional module.

[0044] The remote control module is connected to the clock control and switching unit and the power control and switching unit, respectively.

[0045] In some embodiments, the remote control module is used to identify the various functional modules as one or more centralized control groups and one or more individual control groups.

[0046] The remote control module can determine the centralized control group and the individual control group based on one or more of the following: the working time, power consumption requirements and operating frequency of each functional module.

[0047] The grouping principles include one or more of the following:

[0048] The less overlap in working hours between functional modules, the easier it is to group them together;

[0049] The smaller the sum of the power consumption requirements of the functional modules, the easier it is to group them together;

[0050] The closer the operating frequency of functional modules, the easier it is to group them together.

[0051] In some embodiments, the overlap of working times can be quantified; specifically, the time overlap between any two functional modules i and j can be calculated. It can be calculated based on the following formula:

[0052] ;

[0053] Let i be the activation function of module i within period T, when activated =1 otherwise 0;

[0054] when When the value is less than 0.1, module i and module j are assigned to the same centralized control group.

[0055] In some embodiments, the criterion for determining whether the operating frequencies are similar is:

[0056] Calculate the highest operating frequency within the group With minimum operating frequency ;like If yes, then retain the group; otherwise, The corresponding module is removed from the group.

[0057] In some implementations, the sum of the power consumption requirements of all functional modules within a centralized control group should be less than a threshold.

[0058] In some embodiments, the remote control module continuously monitors one or more of the following: the actual operating time, actual power consumption, and actual operating frequency of each functional module.

[0059] When one or more of the actual operating time, actual power consumption, and actual operating frequency of any functional module in the centralized control group do not meet the grouping principle of the centralized control group, the functional module is moved to a separate control group, and a first switching command is sent to the corresponding local control module.

[0060] When the total actual power consumption of all functional modules in a centralized control group exceeds a threshold, the current centralized control group is regrouped.

[0061] In other embodiments, group scores can be calculated based on the following formula, and functional modules that meet the group score requirements can be grouped together:

[0062] ;

[0063] in, The time overlap between functional module i and functional module j can be determined based on the aforementioned formula, or it can be determined based on the following formula: This parameter can be acquired by an event cross-counter in the remote control module. The counter increments when both modules are active simultaneously. The statistical period T is set by a configurable register. Used to measure complementarity; the smaller the value (less simultaneous work), the higher the score. The higher the level, the more likely they are to be in the same group.

[0064] The power consumption difference between functional module i and functional module j and This parameter represents the module's operating power consumption and can be pre-stored in the chip's power management unit (PMU) register. Power consumption differences can be normalized to eliminate the influence of dimensions. It can be determined based on the following formula: . This is to avoid grouping high-power and ultra-low-power modules together, which would lead to complex power network design and noise interference. The smaller, The higher the rating.

[0065] The frequency difference between functional module i and functional module j. and The module's rated operating frequency can be pre-stored in the clock control unit's configuration register. Frequency differences can be normalized. It can be determined based on the following formula: This parameter is used to indicate that modules with similar operating frequencies are grouped together, which can reduce clock tree design complexity, synchronization overhead, and clock skew. The smaller, The higher the rating.

[0066] Let be the distance between functional module i and functional module j. The Manhattan distance to the center of the module can be extracted from the chip layout database and stored in read-only memory. This represents the diagonal length of the chip. It can be determined based on the following formula: This parameter is used to limit wiring distance, ensuring signal integrity and reducing latency and power consumption. The closer the distance, the better. The higher the rating.

[0067] α, β, γ, δ are weight coefficients, and α+β+γ+δ=1.

[0068] In some embodiments, for the three grouping principles—"the smaller the overlap in operating time between functional modules, the easier it is to group them together; the smaller the sum of the power consumption requirements of functional modules, the easier it is to group them together; the closer the operating frequencies of functional modules, the easier it is to group them together"—any one of these principles can be chosen, or they can be combined in pairs, or all three principles can be applied simultaneously. When multiple grouping principles are involved, priority settings and constraints can be added to better suit the final control groups. For example, the priority can be set as follows: "the smaller the overlap in operating time between functional modules, the easier it is to group them together" has a higher priority than "the smaller the sum of the power consumption requirements of functional modules, the easier it is to group them together" has a higher priority than "the closer the operating frequencies of functional modules, the easier it is to group them together". These constraints may include limiting the maximum number of members in a control group.

[0069] The remote control module is also used to send a first switching instruction to the local control module corresponding to each individual control group; and to send a second switching instruction to the local control module corresponding to each centralized control group.

[0070] The first switching instruction is used to instruct the clock control and switching unit and the power control and switching unit to start the near-end control mode.

[0071] The second switching command is used to instruct the clock control and switching unit and the power control and switching unit to start the remote control mode.

[0072] In near-end control mode, the clock control and switching unit and the power control and switching unit directly handshake with the functional modules.

[0073] In remote control mode, the clock control and switching unit and the power control and switching unit are used to pass control commands from the remote control module to the functional module or the clock switch.

[0074] The near-end control module is used for mode management based on the received first or second switching command.

[0075] Specifically, combined Figure 2 As shown, the remote control module is also used to generate a clock analog switch and a power analog switch for each centralized control group;

[0076] For each centralized control group, the corresponding clock analog switch transmits control commands to the functional module or clock switch through the clock control and switching unit; the corresponding power analog switch transmits control commands to the functional module through the power control and switching unit.

[0077] When the clock analog switch performs transparent control, it synchronously outputs the same control command to all clock switches corresponding to the centralized control group.

[0078] In the near-end control mode, the clock control and switching unit sends a clock request signal to the functional module through the first handshake channel to independently control the opening and closing of the corresponding clock switch; the power control and switching unit sends a sleep-wake signal to the functional module through the second handshake channel to directly switch the power supply status of the functional module.

[0079] This application provides two switchable modes: "remote centralized control" and "local distributed control," which breaks the limitations of the traditional single control mode. It enables unified and synchronous control of multiple modules within a group, greatly reducing the number and complexity of control commands, lowering the load on the remote control module, and improving management efficiency.

[0080] When a module needs to respond independently and quickly, such as when it suddenly needs to hibernate or wake up, the local control unit can bypass the remote module and interact directly with the local hardware, achieving low-latency, fine-grained power management and meeting the real-time requirements of high-performance modules.

[0081] By optimizing the combination of three key operating characteristics—working time, power consumption, and frequency—the homogeneity within each group is ensured from the source, laying a data foundation for subsequent efficient control.

[0082] The entire system is upgraded from "static optimization" to "dynamic optimization." The system can continuously monitor the status of modules, and when the behavior of a module deviates from the common characteristics of its group (such as a sudden surge in power consumption), it can automatically remove the module from the group and switch the control mode. This ensures that the system can always maintain a near-optimal power consumption control state under any workload, possessing self-optimization and fault tolerance capabilities.

[0083] It should be understood that, Figure 2 The structure shown is only a partial schematic diagram of a SOC chip; the SOC chip may also include components that are larger than... Figure 2 The more or fewer components shown, or having the same Figure 2 The different configurations shown. Figure 2 The components shown can be implemented using hardware, software, or a combination thereof.

[0084] The low-power control method for SOC chips provided in this application embodiment can be applied to, but is not limited to, [various applications]. Figure 2The SOC chip shown includes: a remote control module, multiple near-end control modules, and multiple clock switches. Each near-end control module corresponds to a functional module. Each near-end control module includes a clock control and switching unit and a power control and switching unit. The clock control and switching unit is connected to the functional module through a first handshake channel, and the power control and switching unit is connected to the functional module through a second handshake channel. The clock control and switching unit is also connected to a clock switch, and each clock switch corresponds to a functional module. The remote control module is connected to the clock control and switching unit and the power control and switching unit, respectively. See details... Figure 2 The illustrated embodiments will not be described in detail again. For the specific process, please refer to [reference needed]. Figure 3 The details are as follows.

[0085] S310, the remote control module identifies each functional module as one or more centralized control groups, and one or more individual control groups;

[0086] S320, the remote control module sends a first switching instruction to the local control module corresponding to each individual control group, and the local control module corresponding to each centralized control group sends a second switching instruction.

[0087] The first switching instruction is used to instruct the clock control and switching unit and the power control and switching unit to start the near-end control mode. In the near-end control mode, the clock control and switching unit and the power control and switching unit directly handshake with the functional module. The second switching instruction is used to instruct the clock control and switching unit and the power control and switching unit to start the remote control mode. In the remote control mode, the clock control and switching unit and the power control and switching unit are used to pass control instructions from the remote control module to the functional module or the clock switch.

[0088] S330, the near-end control module performs mode management based on the received first or second switching command.

[0089] In some embodiments, it also includes:

[0090] The remote control module generates a clock analog switch and a power analog switch for each centralized control group;

[0091] For each centralized control group, the corresponding clock analog switch transmits control commands to the functional module or clock switch through the clock control and switching unit; the corresponding power analog switch transmits control commands to the functional module through the power control and switching unit.

[0092] In some embodiments, when the clock analog switch performs pass-through control, it synchronously outputs the same control command to all clock switches corresponding to the centralized control group.

[0093] In some embodiments, in the near-end control mode, the clock control and switching unit sends a clock request signal to the functional module through the first handshake channel to independently control the opening and closing of the corresponding clock switch; the power control and switching unit sends a sleep-wake signal to the functional module through the second handshake channel to directly switch the power supply state of the functional module.

[0094] In some embodiments, the remote control module determines the centralized control group and the individual control group based on one or more of the working time, power consumption requirements and operating frequency of each functional module.

[0095] The grouping principles include one or more of the following:

[0096] The less overlap in working hours between functional modules, the easier it is to group them together;

[0097] The smaller the sum of the power consumption requirements of the functional modules, the easier it is to group them together;

[0098] The closer the operating frequency of functional modules, the easier it is to group them together.

[0099] In some embodiments, it also includes:

[0100] The remote control module continuously monitors one or more of the following: the actual working time, actual power consumption, and actual operating frequency of each functional module.

[0101] When one or more of the actual operating time, actual power consumption, and actual operating frequency of any functional module in the centralized control group do not meet the grouping principle of the centralized control group, the functional module is moved to a separate control group, and a first switching command is sent to the corresponding local control module.

[0102] In some embodiments, it also includes:

[0103] When the total actual power consumption of all functional modules within a centralized control group exceeds a threshold, the current centralized control group is regrouped.

[0104] It should be noted that the low-power control method for the SOC chip provided in this embodiment can be implemented using the aforementioned SOC chip. For the sake of brevity, any parts not mentioned in this embodiment can be referred to the corresponding content in the above embodiments.

[0105] This application also provides an electronic device, including the aforementioned SOC chip. The electronic device may be, but is not limited to, a computer, mobile phone, smart wearable device, etc.

[0106] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

[0107] It will be apparent to those skilled in the art that this application is not limited to the details of the exemplary embodiments described above, and that this application can be implemented in other specific forms without departing from the spirit or essential characteristics of this application. Therefore, the embodiments should be considered illustrative and non-limiting in all respects, and the scope of this application is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within this application. No reference numerals in the claims should be construed as limiting the scope of the claims.

Claims

1. A low-power control method for a SOC chip, characterized in that, The SOC chip includes: a remote control module, multiple near-end control modules, and multiple clock switches; Each of the proximal control modules corresponds to a functional module. Each of the proximal control modules includes a clock control and switching unit and a power control and switching unit. The clock control and switching unit is connected to the functional module through a first handshake channel. The power control and switching unit is connected to the functional module through a second handshake channel. The clock control and switching unit is connected to a clock switch. Each clock switch corresponds to a functional module. The remote control module is connected to the clock control and switching unit and the power control and switching unit, respectively; The method includes: The remote control module identifies each functional module as one or more centralized control groups and one or more individual control groups; The remote control module sends a first switching instruction to the local control module corresponding to each individual control group, and the local control module corresponding to each centralized control group sends a second switching instruction. The first switching instruction is used to instruct the clock control and switching unit and the power control and switching unit to start the local control mode. In the local control mode, the clock control and switching unit and the power control and switching unit directly handshake with the functional module. The second switching instruction is used to instruct the clock control and switching unit and the power control and switching unit to start the remote control mode. In the remote control mode, the clock control and switching unit and the power control and switching unit are used to pass the control instructions from the remote control module to the functional module or the clock switch. The near-end control module performs mode management based on the received first switching command or second switching command.

2. The method according to claim 1, characterized in that, Also includes: The remote control module generates a clock analog switch and a power analog switch for each of the centralized control groups. For each centralized control group, the corresponding clock analog switch transmits control commands to the functional module or clock switch through the clock control and switching unit; the corresponding power analog switch transmits control commands to the functional module through the power control and switching unit.

3. The method according to claim 2, characterized in that, When the clock analog switch performs transparent control, it synchronously outputs the same control command to all clock switches corresponding to the centralized control group.

4. The method according to claim 1, characterized in that, In the near-end control mode, the clock control and switching unit sends a clock request signal to the functional module through the first handshake channel to independently control the opening and closing of the corresponding clock switch; the power control and switching unit sends a sleep / wake-up signal to the functional module through the second handshake channel to directly switch the power supply state of the functional module.

5. The method according to claim 1, characterized in that, The remote control module determines the centralized control group and the individual control group based on one or more of the working time, power consumption requirements and working frequency of each functional module. The grouping principles include one or more of the following: The less overlap in working hours between functional modules, the easier it is to group them together; The smaller the sum of the power consumption requirements of the functional modules, the easier it is to group them together; The closer the operating frequency of functional modules, the easier it is to group them together.

6. The method according to claim 5, characterized in that, Also includes: The remote control module continuously monitors one or more of the following: the actual working time, actual power consumption, and actual operating frequency of each functional module. When one or more of the actual operating time, actual power consumption, and actual operating frequency of any functional module in the centralized control group do not meet the grouping principle of the centralized control group, the functional module is moved to a separate control group, and a first switching command is sent to the corresponding local control module.

7. The method according to claim 6, characterized in that, Also includes: When the total actual power consumption of all functional modules within a centralized control group exceeds a threshold, the current centralized control group is regrouped.

8. A SOC chip, characterized in that, include: Remote control module, multiple near-end control modules, and multiple clock switches; Each of the proximal control modules corresponds to a functional module. Each of the proximal control modules includes a clock control and switching unit and a power control and switching unit. The clock control and switching unit is connected to the functional module through a first handshake channel. The power control and switching unit is connected to the functional module through a second handshake channel. The clock control and switching unit is connected to a clock switch. Each clock switch corresponds to a functional module. The remote control module is connected to the clock control and switching unit and the power control and switching unit, respectively; The remote control module is used to identify each functional module as one or more centralized control groups and one or more individual control groups; The remote control module is further configured to send a first switching instruction to the local control module corresponding to each individual control group, and send a second switching instruction to the local control module corresponding to each centralized control group; the first switching instruction is configured to instruct the clock control and switching unit and the power control and switching unit to start the local control mode, in which the clock control and switching unit and the power control and switching unit directly handshake with the functional module; the second switching instruction is configured to instruct the clock control and switching unit and the power control and switching unit to start the remote control mode, in which the clock control and switching unit and the power control and switching unit are configured to pass the control instructions from the remote control module to the functional module or the clock switch; The near-end control module is used to perform mode management based on the received first switching instruction or second switching instruction.

9. The SOC chip according to claim 8, characterized in that, The remote control module is also used to generate a clock analog switch and a power analog switch for each of the centralized control groups. For each centralized control group, the corresponding clock analog switch transmits control commands to the functional module or clock switch through the clock control and switching unit; the corresponding power analog switch transmits control commands to the functional module through the power control and switching unit.

10. The SOC chip according to claim 9, characterized in that, When the clock analog switch performs transparent control, it synchronously outputs the same control command to all clock switches corresponding to the centralized control group.

Citation Information

Patent Citations

  • Realization method of dynamic voltage and frequency adjustment of SOC chip

    CN107797644A

  • System-level SOC chip control circuit and method and electronic equipment

    CN116088667A

  • Clock gating circuit, chip and clock gating method

    CN117555409A

  • Self-adaptive power consumption control method and system for CPU card chip

    CN119847315A

  • Display screen awakening method, display screen, ultrasonic fetal heart measurement posture early warning method and split type ultrasonic fetal heart meter

    CN120452730A