A soc chip low-power consumption control method and soc

By using a grouping and mode switching mechanism between remote and local control modules, the control strategy is dynamically selected, solving the power consumption problem in SOC design, achieving low-power control while ensuring performance, and improving management efficiency and real-time performance.

CN120872121BActive Publication Date: 2026-02-06ZITAI MICROELECTRONICS (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In SOC design, existing technologies struggle to effectively reduce chip power consumption while maintaining performance. Furthermore, adding or removing functional modules requires modifying the unified clock and power switches, which is detrimental to design maintenance and increases power consumption.

Method used

A grouping and mode switching mechanism of remote control module and local control module is adopted. The functional modules are divided into centralized control group and individual control group through remote control module, and the local control module directly hands hands or transmits control commands to the functional modules to realize the switching between local and remote control modes and dynamically select the optimal control strategy.

Benefits of technology

While ensuring performance, the chip power consumption is minimized, reducing power loss caused by too many control modules and improving management efficiency, thus meeting the real-time requirements of high-performance modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120872121B_ABST
    Figure CN120872121B_ABST
Patent Text Reader

Abstract

The application provides a SOC chip low-power consumption control method and a SOC. The method comprises the following steps: a remote control module determines each function module as one or more centralized control groups and one or more individual control groups; a first switching instruction is sent to a near-end control module corresponding to each individual control group, and a second switching instruction is sent to a near-end control module corresponding to each centralized control group; and the first switching instruction is used to instruct a clock control and switching unit and a power supply control and switching unit to start a near-end control mode. The centralized management and fine control can be organically unified. Through a grouping and mode switching mechanism, the optimal control strategy is dynamically selected according to the data of the function modules, so that the chip power consumption is maximally reduced under the premise of ensuring the performance, and the power consumption loss caused by too many control modules is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of chips, in particular to a SOC chip low-power consumption control method and a SOC. BACKGROUND

[0002] In modern SOC design, the ultra-high power density of the chip kernel and the demand for low power consumption in the mobile application market make low-power consumption control increasingly important. Low-power consumption control of the chip not only prolongs the product use time, but also reduces the chip cost. How to control low power consumption has become a difficult problem for those skilled in the art.

[0003] As shown in Figure 1 , low-power consumption control of all functional modules is realized through a centralized power supply controller and a clock controller. Specifically, the clock control interface and the clock switch of all functional modules are connected together and are uniformly managed by the clock switch. The power supply control interface and the centralized power switch of all functional modules are connected together and are uniformly managed by the power switch.

[0004] The update speed of the SOC is fast, and it is necessary to increase or reduce functional modules. When the functional modules are increased or reduced, the clock control interface and the power supply control interface of different functional modules are implemented differently, and the unified clock control switch and the power switch need to be modified, which is not conducive to maintenance design. In addition, too many control modules will also bring certain power consumption. SUMMARY

[0005] The present application aims to provide a SOC chip low-power consumption control method and a SOC to at least partially improve the above problems.

[0006] In order to achieve the above-mentioned purpose, the technical solutions adopted by the embodiments of the present application are as follows:

[0007] In a first aspect, the embodiments of the present application provide a SOC chip low-power consumption control method. The SOC chip includes a remote control module, a plurality of near-end control modules, and a plurality of clock switches; each of the near-end control modules corresponds to a functional module, each of the near-end control modules includes a clock control and switching unit and a power supply control and switching unit, the clock control and switching unit is connected with the functional module through a first handshake channel, the power supply control and switching unit is connected with the functional module through a second handshake channel, the clock control and switching unit is connected with the clock switch, and each clock switch corresponds to a functional module; the remote control module is connected with the clock control and switching unit and the power supply control and switching unit, respectively;

[0008] The method comprises: the remote control module determining each function module as one or more centralized control groups and one or more individual control groups; the remote control module sending a first switching instruction to each individual control group corresponding near-end control module, and each centralized control group corresponding near-end control module sending 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 a near-end control mode, in which the clock control and switching unit and the power control and switching unit directly handshake with the function module; the second switching instruction is used to instruct 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 are used to transparently transmit the control instruction from the remote control module to the function module or the clock switch; and the near-end control module performs mode management based on the received first switching instruction or second switching instruction.

[0009] In a second aspect, the embodiments of the present application provide a SOC chip, comprising: a remote control module, a plurality of near-end control modules, and a plurality of clock switches.

[0010] Each near-end control module corresponds to a function module, each near-end control module comprises a clock control and switching unit and a power control and switching unit, the clock control and switching unit is connected with the function module through a first handshake channel, the power control and switching unit is connected with the function module through a second handshake channel, the clock control and switching unit is connected with the clock switch, and each clock switch corresponds to a function module; the remote control module is connected with the clock control and switching unit and the power control and switching unit respectively; and the remote control module is used to determine each function module as one or more centralized control groups and one or more individual control groups.

[0011] The remote control module is further used to send a first switching instruction to each individual control group corresponding near-end control module, and send a second switching instruction to each centralized control group corresponding near-end control module; the first switching instruction is used to instruct the clock control and switching unit and the power control and switching unit to start a near-end control mode, in which the clock control and switching unit and the power control and switching unit directly handshake with the function module; and the second switching instruction is used to instruct 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 are used to transparently transmit the control instruction from the remote control module to the function module or the clock switch.

[0012] The proximal control module is configured to perform mode management based on the received first switching instruction or the second switching instruction.

[0013] The SOC chip low-power consumption control method and the SOC provided by the embodiment of the present application, the remote control module determines each functional module as one or more centralized control groups and one or more individual control groups; the proximal control module corresponding to each individual control group sends a first switching instruction, and the proximal 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 supply control and switching unit to start a proximal control mode, in the proximal control mode, the clock control and switching unit and the power supply control and switching unit directly perform handshaking with the functional module; the second switching instruction is used to instruct the clock control and switching unit and the power supply control and switching unit to start a remote control mode, in the remote control mode, the clock control and switching unit and the power supply control and switching unit are used to transparently transmit the control instruction from the remote control module to the functional module or the clock switch; the proximal control module performs mode management based on the received first switching instruction or the second switching instruction. The centralized management and the fine control can be organically unified, the optimal control strategy is dynamically selected according to the data of the functional module through the grouping and mode switching mechanism, so that the chip power consumption is maximally reduced on the premise of ensuring the performance, and in addition, the power consumption loss caused by too many control modules is also reduced.

[0014] In order to make the above objectives, characteristics and advantages of the present application more apparent, clear and easy to understand, the following will specifically describe a preferred embodiment in conjunction with the accompanying drawings, and the specific description is as follows. BRIEF DESCRIPTION OF DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments, and it should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation to the scope, and for those skilled in the art, other related drawings can also be obtained without paying creative labor on the premise of the drawings.

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

[0017] Figure 2 The structure schematic diagram of the control circuit provided by the embodiment of the present application;

[0018] Figure 3 The structure schematic diagram of the SOC chip provided by the embodiment of the present application. DETAILED DESCRIPTION

[0019] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the following will be combined with the accompanying drawings for the embodiments of the present application to make a clear and complete description of the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. The components of the embodiments of the present application described and shown in the accompanying drawings can be arranged and designed in various different configurations.

[0020] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work are within the scope of protection of the present application.

[0021] It should be noted that: similar reference numerals and letters represent similar items in the following drawings, therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish description, and cannot be understood as indicating or implying relative importance.

[0022] It should be noted that: similar reference numerals and letters represent similar items in the following drawings, therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish description, and cannot be understood as indicating or implying relative importance.

[0023] In the description of the present application, it should be noted that the terms "upper", "lower", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship commonly placed when the product of the present application is used, and are only for the convenience of describing the present application and simplifying the description, and cannot be understood as indicating or implying that the indicated device or element must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the present application.

[0024] In the description of the present application, it is also necessary to explain that, unless otherwise explicitly specified and limited, the terms "set", "connected" should be understood broadly, for example, can be fixedly connected, can be detachably connected, or integrally connected; can be mechanically connected, can be electrically connected; can be directly connected, can be indirectly connected through an intermediate medium, and can be internal communication of two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.

[0025] Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The following examples and features in the examples can be combined with each other without conflict.

[0026] The embodiment of the present application provides a system-level SOC chip. Figure 2 The structure schematic diagram of the SOC provided by the embodiment of the present application is shown as follows. Figure 2 As shown in the figure, the SOC chip comprises a remote control module, a plurality of near-end control modules and a plurality of clock switches.

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

[0028] Each near-end control module can comprise a clock control and switching unit and a power supply control and switching unit.

[0029] The clock control and switching unit is connected with the function module through a first handshake channel. The clock control and switching unit is mainly used for controlling the clock switch, handshake between the clock control and switching unit and the function module and switching of the control mode. Only when the control mode is the near-end control mode, the clock control function will be awakened. In the remote control mode, the clock control is in a sleep state. The clock control function here mainly refers to the function of the clock control and switching unit autonomously interacting with the clock switch and the function module.

[0030] The clock control and switching unit mainly comprises the following functions: switching between the remote transparent transmission mode and the near-end control mode according to the instruction of the remote control module. Triggering the clock on and off instruction. Carrying out local handshake with the function module, ensuring that the clock switch action occurs at a safe time point, avoiding generating glitches or metastable states. Feedback the local clock state to the remote control module.

[0031] The mode selector can be implemented by a multiplexer (MUX) or a set of AND / OR logic gates. The inputs are Mode_Select signal (from the remote control module, the first or second switching instruction), Clk_Ctrl_Remote (from the remote control module or the global clock instruction of the clock analog switch), and Clk_Ctrl_Local (the clock control signal generated by the 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, so as to route the control to different sources.

[0032] The control logic can be implemented by a simplified finite state machine (FSM). It can receive the mode selection signal and configure the mode selector, and analyze the local handshake signal (from the handshake protocol controller) to determine whether the clock request of the functional module is valid and whether the functional module is in a safe state that can switch the clock. The control logic generates a final gate enable signal (Gate_En) for the clock switch.

[0033] The handshake protocol controller can include some synchronous flip-flops and counters, which are directly connected to the first handshake channel. The controller can receive Clk_Req_Local (request to start or stop the clock) sent by the functional module, check the state signal (such as FSM_Status, Fabric_Idle) of the functional module to ensure that it is ready for clock switching, and send an Ack signal to the functional module to inform the functional module that the request has been received and executed.

[0034] The power control and switching unit is connected to the functional module through the second handshake channel. The power control and switching unit is used for power control and handshake with the functional module. Only when the control mode is the local control mode, the power control function is woken up. In the remote control mode, the power control is in a sleep state. The power control function here mainly refers to the turning on and off of the power of the functional module.

[0035] The power control and switching unit can include a mode selector, which is a digital multiplexer (MUX). Similar to the clock unit, the mode selector selects the source of the control instruction according to the Mode_Select signal. In the remote mode, the Pwr_Ctrl_Remote instruction from the remote control module / power analog switch is transmitted to the internal state machine. In the local mode, the Pwr_Ctrl_Local instruction from the local handshake protocol is transmitted to the internal state machine.

[0036] A control logic and state machine can also be included. Its structure is a more complex state machine than the clock cell, because the timing requirement of the power switch is extremely strict. It can receive valid power commands (such as ON, OFF, RETENTION), and perform a multi-step, timing-requirement sequence to control the switching of the power supply.

[0037] State examples:

[0038] ON_SEQUENCE: sequentially turn on the power supply, release the reset, remove the isolation, etc.

[0039] OFF_SEQUENCE: wait for the module to be idle -> force flush the cache -> turn off the clock -> isolate the output -> cut off the power supply.

[0040] RETENTION_SEQUENCE: cut off the main power supply, but keep the dedicated retention power switch on to protect the data in the register from being lost.

[0041] A handshake and protocol controller can also be included. Its structure can include a synchronization circuit and a protocol parser. It can be directly connected to the second handshake channel. It can receive local requests of the functional module (such as SLEEP_REQ, WAKEUP_REQ). It can query the state of the functional module (such as PWR_READY, SLEEP_ACK) to ensure that it has entered a state where it can be safely powered off (the cache data has been flushed, and no transaction is in progress). It can send an ACK and a state signal to the functional module and the remote control module.

[0042] In addition, the clock control and switching unit can also be connected to the 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 configured to determine each functional module as one or more centralized control groups and one or more individual control groups.

[0046] The remote control module can determine the centralized control groups and the individual control groups based on one or more of the working time, the power consumption requirement, and the working frequency of each functional module;

[0047] The grouping principle includes one or more of the following:

[0048] The smaller the working time overlap between the functional modules, the easier it is to be grouped into a group;

[0049] The smaller the sum of power consumption requirements of the functional modules, the easier it is to be divided into a group;

[0050] The closer the working frequencies of the functional modules, the easier it is to be divided into a group.

[0051] In some embodiments, the time overlap of any two functional modules i and j can be quantified, specifically, the time overlap degree of any two functional modules i and j is calculated The calculation can be based on the following formula:

[0052] ;

[0053] is the activation function of module i in period T, and is 1 when activated and 0 otherwise.

[0054] When <0.1, module i and module j are divided into the same centralized control group.

[0055] In some embodiments, the criterion for judging the closeness of working frequencies is:

[0056] The highest working frequency in the group is calculated and the lowest working frequency is calculated If , the grouping is retained; otherwise, the corresponding module is removed from the group.

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

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

[0059] When one or more of the actual working time, actual power consumption and actual working frequency of any functional module in the centralized control group does not meet the grouping principle of the centralized control group, the functional module is moved into a separate control group, and a first switching instruction is sent to the corresponding near-end control module of the functional module.

[0060] When the sum of the actual power consumptions of all functional modules in the centralized control group exceeds the threshold value, the current centralized control group is re-grouped.

[0061] In other embodiments, the grouping score can be calculated based on the following formula, and the functional modules that meet the requirements of the grouping score are divided into a group:

[0062] ;

[0063] Wherein, ​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 is the length of the chip's diagonal. 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 of "the smaller the working time cross between functional modules, the easier to be grouped into one group; the smaller the sum of power consumption requirements of functional modules, the easier to be grouped into one group; the closer the working frequencies of functional modules, the easier to be grouped into one group", any one, two combinations or all three principles can be selected, and when the grouping principles include multiple principles, priority settings and some constraint adjustments can be added to make the final control group more in line with expectations. For example, the priority of "the smaller the working time cross between functional modules, the easier to be grouped into one group" can be set to be higher than the priority of "the smaller the sum of power consumption requirements of functional modules, the easier to be grouped into one group", which is higher than the priority of "the closer the working frequencies of functional modules, the easier to be grouped into one group". The constraint condition can include limiting the number of members of the largest control group.

[0069] The remote control module is further configured to send a first switching instruction to each near-end control module corresponding to an individual control group, and send a second switching instruction to each near-end control module corresponding to a 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 instruction 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 the 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 the remote control mode, the clock control and switching unit and the power control and switching unit are used to transparently transmit control instructions from the remote control module to the functional modules or clock switches.

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

[0075] Specifically, as shown in FIG. 1, the remote control module is further configured to generate a clock analog switch and a power analog switch for each centralized control group. Figure 2

[0076] For each centralized control group, the corresponding clock analog switch transparently transmits control instructions to the functional modules or clock switches through the clock control and switching unit, and the corresponding power analog switch transparently transmits control instructions to the functional modules through the power control and switching unit.

[0077] When the clock analog switch performs transparent control, it synchronously outputs the same control instruction 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 comprises a remote control module, a plurality of near-end control modules, and a plurality of clock switches; each near-end control module corresponds to a functional module, each near-end control module comprises a clock control and switching unit and a power control and switching unit, the clock control and switching unit is connected with the functional module through a first handshake channel, the power control and switching unit is connected with the functional module through a second handshake channel, the clock control and switching unit is connected with the clock switch, and each clock switch corresponds to a functional module; the remote control module is connected with the clock control and switching unit and the power control and switching unit respectively; for details, see Figure 2 The embodiments shown will not be described again. For details of the flow, see Figure 3 , which is described as follows.

[0085] S310, the remote control module determines 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 near-end control module corresponding to each individual control group, and the near-end 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 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 used 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 used to transparently transmit the control instruction 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 switching instruction or second switching instruction.

[0089] In some embodiments, it further comprises:

[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 transparently transmits the control instruction to the functional module or the clock switch through the clock control and switching unit, and the corresponding power analog switch transparently transmits the control instruction to the functional module through the power control and switching unit.

[0092] In some embodiments, when the clock analog switch performs transparent control, the same control instruction is synchronously output 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 function module through the first handshake channel to independently control the on-off of the corresponding clock switch; the power control and switching unit sends a sleep-wake signal to the function module through the second handshake channel to directly switch the power supply state of the function 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, the power consumption requirement, and the working frequency of each function module.

[0095] The grouping principle includes one or more of the following:

[0096] The smaller the working time overlap between the function modules, the easier it is to be grouped into one group;

[0097] The smaller the sum of the power consumption requirements of the function modules, the easier it is to be grouped into one group;

[0098] The closer the working frequencies of the function modules, the easier it is to be grouped into one group.

[0099] In some embodiments, further comprising:

[0100] The remote control module continuously monitors one or more of the actual working time, the actual power consumption, and the actual working frequency of each function module;

[0101] When one or more of the actual working time, the actual power consumption, and the actual working frequency of any function module in the centralized control group does not meet the grouping principle of the centralized control group, the function module is moved to the individual control group, and a first switching instruction is sent to the near-end control module corresponding to the function module.

[0102] In some embodiments, further comprising:

[0103] When the sum of the actual power consumptions of all function modules in the centralized control group exceeds a threshold value, the current centralized control group is re-grouped.

[0104] It should be noted that the SOC chip low-power consumption control method provided in the present embodiment can be implemented by the above-mentioned SOC chip. For brevity, the present embodiment is not mentioned in some parts, and the corresponding content in the above-mentioned embodiments can be referred to.

[0105] The present embodiment further provides an electronic device, which comprises the above-mentioned SOC chip. The electronic device can be, but is not limited to, a computer, a mobile phone, a smart wearable device, and the like.

[0106] The above description is only the preferred embodiment of the present application, and is not intended to limit the present application. The present application can have various modifications and changes for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

[0107] It is apparent for those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, but can be realized in other concrete forms without departing from the spirit or essential characteristics of the present application. Therefore, the embodiments should be considered in all aspects as illustrative and not restrictive, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended to embrace all changes falling within the meaning and range of equivalents of the claims. Any reference signs in the claims should not be considered as limiting the claims involved.

Claims

1. A method for low power consumption control of an SOC chip, characterized in that, The SOC chip comprises a remote control module, a plurality of near-end control modules and a plurality of clock switches; Each of the near-end control modules corresponds to a functional module, each of the near-end control modules comprises a clock control and switching unit and a power control and switching unit, the clock control and switching unit is connected with the functional module through a first handshake channel, the power control and switching unit is connected with the functional module through a second handshake channel, and the clock control and switching unit is connected with the clock switch, and each of the clock switches corresponds to a functional module; The remote control module is connected with the clock control and switching unit and the power control and switching unit respectively; The method comprises: The remote control module determines each functional module as one or more centralized control groups and one or more individual control groups, and determines the centralized control groups and the individual control groups based on one or more of the working time, the power consumption demand and the working frequency of each functional module; wherein the grouping principles comprise one or more of the following: the smaller the working time intersection between the functional modules, the easier to be grouped into one group; the smaller the sum of the power consumption demands of the functional modules, the easier to be grouped into one group; the closer the working frequencies of the functional modules, the easier to be grouped into one group; The remote control module sends a first switching instruction to the near-end control module corresponding to each individual control group, and sends a second switching instruction to the near-end control module corresponding to each centralized control group; the first switching instruction is used for instructing 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 for instructing 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 for transmitting the control instruction 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 instruction or second switching instruction; The remote control module continuously monitors one or more of the actual working time, the actual power consumption and the actual working frequency of each functional module; when one or more of the actual working time, the actual power consumption and the actual working frequency of any functional module in the centralized control group do not meet the grouping principles of the centralized control group, the functional module is moved into the individual control group, and a first switching instruction is sent to the near-end control module corresponding to the functional module.

2. The method of claim 1, wherein, Further comprising: 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 the control instruction to the functional module or the clock switch through the clock control and switching unit, and the corresponding power analog switch transmits the control instruction to the functional module through the power control and switching unit.

3. The method of claim 2, wherein, When the clock analog switch performs the transmission control, the same control instruction is synchronously output to all the clock switches corresponding to the centralized control group.

4. The method of claim 1, wherein, In the near-end control mode, the clock control and switching unit sends a clock request signal to the function 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 function module through the second handshake channel to directly switch the power supply state of the function module.

5. The method of claim 1, wherein, Further comprising: When the sum of the actual power consumptions of all function modules in the centralized control group exceeds a threshold value, re-grouping the current centralized control group.

6. A SOC chip, comprising: Comprise: a remote control module, a plurality of near-end control modules, and a plurality of clock switches; Each of the near-end control modules corresponds to a function module, and each of the near-end control modules comprises a clock control and switching unit and a power control and switching unit, the clock control and switching unit is connected with the function module through a first handshake channel, the power control and switching unit is connected with the function module through a second handshake channel, and the clock control and switching unit is connected with the clock switch, each of the clock switches corresponding to a function module; The remote control module is connected with the clock control and switching unit and the power control and switching unit respectively; 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 demand, and working frequency of each function module; wherein, the grouping principle comprises one or more of the following: the smaller the working time intersection between the function modules, the easier to be grouped into a group; the smaller the sum of the power consumption demands of the function modules, the easier to be grouped into a group; the closer the working frequencies of the function modules, the easier to be grouped into a group; The remote control module is used to determine each function module as one or more centralized control groups and one or more individual control groups; The remote control module is further used to send a first switching instruction to the near-end control module corresponding to each individual control group, and a second switching instruction to the near-end control module corresponding to each centralized control group; 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 which the clock control and switching unit and the power control and switching unit directly handshake with the function 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 which the clock control and switching unit and the power control and switching unit are used to transparently transmit the control instruction from the remote control module to the function module or the clock switch; The near-end control module is used to manage the mode based on the received first switching instruction or second switching instruction; The remote control module is further used to continuously monitor one or more of the actual working time, actual power consumption, and actual working frequency of each function module; when one or more of the actual working time, actual power consumption, and actual working frequency of any function module in the centralized control group do not meet the grouping principle of the centralized control group, the function module is moved into the individual control group, and the first switching instruction is sent to the near-end control module corresponding to the function module.

7. The SOC chip of claim 6, wherein, The remote control module is also configured to generate a clock analog switch and a power analog switch for each of the centralized control groups; For each of the centralized control groups, the corresponding clock analog switch transmits the control instruction to the functional module or the clock switch through the clock control and switching unit, and the corresponding power analog switch transmits the control instruction to the functional module through the power control and switching unit.

8. The SOC chip of claim 7, wherein, When the clock analog switch performs the transmission control, the same control instruction is synchronously output to all clock switches corresponding to the centralized control group.

Citation Information

Patent Citations

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

    CN116088667A

  • Clock gating circuit, chip and clock gating method

    CN117555409A