[go: up one dir, main page]

CN115390610A - Power utilization system, frequency control method, chip and storage medium - Google Patents

Power utilization system, frequency control method, chip and storage medium Download PDF

Info

Publication number
CN115390610A
CN115390610A CN202211006115.2A CN202211006115A CN115390610A CN 115390610 A CN115390610 A CN 115390610A CN 202211006115 A CN202211006115 A CN 202211006115A CN 115390610 A CN115390610 A CN 115390610A
Authority
CN
China
Prior art keywords
power consumption
voltage
units
unit
working
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211006115.2A
Other languages
Chinese (zh)
Other versions
CN115390610B (en
Inventor
郭旸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weiguang Co ltd
Original Assignee
Zeku Technology Beijing Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zeku Technology Beijing Corp Ltd filed Critical Zeku Technology Beijing Corp Ltd
Priority to CN202211006115.2A priority Critical patent/CN115390610B/en
Publication of CN115390610A publication Critical patent/CN115390610A/en
Application granted granted Critical
Publication of CN115390610B publication Critical patent/CN115390610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/10Regulating voltage or current 
    • G05F1/46Regulating voltage or current  wherein the variable actually regulated by the final control device is DC
    • G05F1/56Regulating voltage or current  wherein the variable actually regulated by the final control device is DC using semiconductor devices in series with the load as final control devices
    • G05F1/561Voltage to current converters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Water Supply & Treatment (AREA)
  • Marketing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Public Health (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Automation & Control Theory (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Power Sources (AREA)

Abstract

The embodiment of the application discloses an electricity utilization system, a frequency control method, a chip and a storage medium, wherein the electricity utilization system comprises: the system comprises a plurality of power utilization units belonging to the same voltage domain and a plurality of performance management units which are connected with the power utilization units in a one-to-one correspondence manner; the power management unit is connected with the plurality of power utilization units and is used for providing the same working voltage for the plurality of power utilization units; each performance management unit is used for determining the target working frequency corresponding to the electric utilization unit connected with the performance management unit according to the working voltage and controlling the electric utilization unit connected with the performance management unit to work at the corresponding target working frequency.

Description

一种用电系统、频率控制方法、芯片及存储介质A power consumption system, frequency control method, chip and storage medium

技术领域technical field

本申请实施例涉及通信技术领域,尤其涉及一种用电系统、频率控制方法、芯片及存储介质。The embodiments of the present application relate to the technical field of communications, and in particular, to a power consumption system, a frequency control method, a chip, and a storage medium.

背景技术Background technique

在用电系统中,随着芯片所承载的功能日益增多,运行频率增高,芯片的功耗越来越高。常见的低功耗设计方向中应用最多的是优化芯片架构,升级生产工艺、降低芯片工作电压、采用不同速度的标准单元,分区域采用不同电压的电源以及模块关断。In the power consumption system, as the functions carried by the chip increase day by day and the operating frequency increases, the power consumption of the chip becomes higher and higher. Common low-power design directions are most commonly used to optimize chip architecture, upgrade production technology, reduce chip operating voltage, use standard cells of different speeds, use power supplies of different voltages in different regions, and shut down modules.

目前,对于用电系统而言,可以采用合并供电式结构。但是,合并供电式结构是为处于同一个电压域的多个用电单元提供同一个工作电压,容易使一些用电单元出现电压过剩现象,从而导致系统功耗较大。At present, for power consumption systems, a combined power supply structure can be adopted. However, the combined power supply structure provides the same working voltage for multiple power consumption units in the same voltage domain, which may cause excess voltage in some power consumption units, resulting in large system power consumption.

发明内容Contents of the invention

本申请实施例提供一种用电系统、频率控制方法、芯片及存储介质,针对用电系统中的每个用电单元,分别根据工作电压控制其以合适的工作频率工作,避免了用电单元出现电压过剩现象,降低了系统功耗。Embodiments of the present application provide a power consumption system, a frequency control method, a chip, and a storage medium. For each power consumption unit in the power consumption system, each power consumption unit is controlled to work at an appropriate operating frequency according to the operating voltage, thereby avoiding the Excess voltage occurs, reducing system power consumption.

本申请实施例的技术方案是这样实现的:The technical scheme of the embodiment of the application is realized in this way:

本申请实施例提供了一种用电系统,包括:An embodiment of the present application provides a power consumption system, including:

属于同一电压域的多个用电单元,以及与所述多个用电单元一一对应连接的多个性能管理单元;Multiple power consumption units belonging to the same voltage domain, and multiple performance management units connected to the multiple power consumption units in one-to-one correspondence;

与所述多个用电单元连接的电源管理单元,所述电源管理单元,用于为所述多个用电单元提供同一工作电压;A power management unit connected to the multiple power consumption units, the power management unit is configured to provide the same working voltage for the multiple power consumption units;

每个所述性能管理单元,用于根据所述工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元以对应的目标工作频率工作。Each of the performance management units is configured to determine, according to the operating voltage, a target operating frequency corresponding to the power consumption unit connected to it, and control the power consumption unit connected to it to work at the corresponding target operation frequency.

在上述用电系统中,所述电源管理单元包括:电压转换模块,所述电压转换模块用于将供电电源的输入电压转换为所述工作电压。In the above power consumption system, the power management unit includes: a voltage conversion module, configured to convert the input voltage of the power supply to the working voltage.

在上述用电系统中,每个所述性能管理单元,还用于:在所述工作电压超出与其相连的用电单元对应的期望电压值的情况下,获取与其相连的用电单元在所述工作电压下的当前工作频率和最大工作频率;In the above power consumption system, each of the performance management units is further configured to: when the operating voltage exceeds the expected voltage value corresponding to the power consumption unit connected to it, obtain the power consumption unit connected to it in the The current operating frequency and the maximum operating frequency under the operating voltage;

计算与其相连的用电单元在所述工作电压下,以对应的当前工作频率工作的第一预期功耗,以及以对应的最大工作频率工作的第二预期功耗;Calculating the first expected power consumption of the power consumption unit connected to it at the working voltage, working at the corresponding current working frequency, and the second expected power consumption working at the corresponding maximum working frequency;

在所述第二预期功耗低于所述第一预期功耗的情况下,将所述最大工作频率确定为与其相连的用电单元对应的目标工作频率。If the second expected power consumption is lower than the first expected power consumption, the maximum operating frequency is determined as the target operating frequency corresponding to the power consumption unit connected to it.

在上述用电系统中,每个所述性能管理单元,还用于:分别计算与其相连的用电单元在所述工作电压下,以对应的当前工作频率工作的占空比和动态功耗;In the above power consumption system, each of the performance management units is further used to: separately calculate the duty cycle and dynamic power consumption of the power consumption unit connected to it at the corresponding current working frequency under the working voltage;

获取与其相连的用电单元在所述工作电压下的最大漏电电流;Obtaining the maximum leakage current of the power consumption unit connected to it under the working voltage;

根据所述最大漏电电流,以及与其相连的用电单元在所述工作电压下以对应的当前工作频率工作的动态功耗和占空比,计算所述第一预期功耗;calculating the first expected power consumption according to the maximum leakage current, and the dynamic power consumption and duty cycle of the power consumption unit connected to it working at the corresponding current working frequency under the working voltage;

根据所述最大漏电电流,以及与其相连的用电单元在所述工作电压下以对应的最大工作频率工作的动态功耗和占空比,计算所述第二预期功耗。The second expected power consumption is calculated according to the maximum leakage current, and the dynamic power consumption and duty cycle of the power consumption unit connected to it working at the corresponding maximum working frequency under the working voltage.

在上述用电系统中,每个所述性能管理单元,还用于:在所述工作电压其相连的用电单元对应的期望电压值的情况下,将与其相连的用电单元对应的期望工作频率确定为对应的目标工作频率;In the above-mentioned power consumption system, each of the performance management units is further configured to: in the case of the expected voltage value corresponding to the power consumption unit connected to the operating voltage, set the expected working voltage corresponding to the power consumption unit connected to it The frequency is determined as the corresponding target operating frequency;

其中,每个所述用电单元,其对应的期望工作频率和期望电压值之间存在对应关系。Wherein, there is a corresponding relationship between each of the power consumption units and its corresponding expected operating frequency and expected voltage value.

在上述用电系统中,还包括:与所述多个用电单元一一对应的多个开关单元;In the above power consumption system, it also includes: a plurality of switch units corresponding to the plurality of power consumption units;

每个所述开关单元,连接于一个用电单元与所述电源管理单元之间,且与相连的用电单元连接的性能管理单元连接;Each of the switch units is connected between a power consumption unit and the power management unit, and is connected to a performance management unit connected to the connected power consumption unit;

每个所述性能管理单元,还用于对与其相连的用电单元进行开关决策,并根据决策结果生成开关指令发送至与其相连的开关单元;Each of the performance management units is also used to make a switching decision on the power consumption unit connected to it, and generate a switching instruction according to the decision result and send it to the switching unit connected to it;

每个所述开关单元,用于根据接收到的开关指令,导通或者断开与其相连的用电单元与所述电源管理单元之间的连接。Each of the switch units is configured to switch on or off the connection between the power consumption unit connected to it and the power management unit according to the received switch command.

在上述用电系统中,还包括:功耗管理单元,所述功耗管理单元与每个所述性能管理单元,以及所述电源管理单元连接;In the above power consumption system, further comprising: a power consumption management unit, the power consumption management unit is connected to each of the performance management units and the power management unit;

每个所述性能管理单元,还用于对与其相连的用电单元进行监控,确定与其相连的用电单元对应的期望工作频率,以及,针对与其相连的用电单元,根据对应的期望工作频率确定对应的期望电压值并发送至所述功耗管理单元;Each of the performance management units is also used to monitor the power consumption unit connected to it, determine the expected operating frequency corresponding to the power consumption unit connected to it, and, for the power consumption unit connected to it, according to the corresponding expected operating frequency Determine the corresponding expected voltage value and send it to the power management unit;

所述功耗管理单元,用于从接收到的各个期望电压值中选取出最大电压值,并将所述最大电压值发送至所述电源管理单元;The power management unit is configured to select a maximum voltage value from the received expected voltage values, and send the maximum voltage value to the power management unit;

所述电源管理单元,用于将所述工作电压调整至所述最大电压值。The power management unit is configured to adjust the working voltage to the maximum voltage value.

在上述用电系统中,每个所述性能管理单元,还用于在与其相连的用电单元对应的期望工作频率低于当前工作频率的情况下,控制与其相连的用电单元以对应的期望工作频率工作。In the above power consumption system, each of the performance management units is also used to control the power consumption unit connected to it to use the corresponding desired operating frequency when the expected operating frequency corresponding to the connected power consumption unit is lower than the current operating frequency The working frequency works.

在上述用电系统中,每个所述性能管理单元,还用于在与其相连的用电单元对应的期望工作频率高于当前工作频率,且所述工作电压达到与其相连的用电单元对应的期望电压值的情况下,控制与其相连的用电单元以对应的期望工作频率工作。In the above power consumption system, each of the performance management units is further configured to: when the expected working frequency corresponding to the power consumption unit connected to it is higher than the current working frequency, and the working voltage reaches the corresponding to the power consumption unit connected to it In the case of the expected voltage value, control the power unit connected to it to work at the corresponding expected operating frequency.

在上述用电系统中,所述电源管理单元,还用于在将所述工作电压调整至所述最大电压值之后,向所述功耗管理单元发送用于指示电压调整完成的反馈信号;In the above power consumption system, the power management unit is further configured to send a feedback signal indicating completion of voltage adjustment to the power consumption management unit after adjusting the working voltage to the maximum voltage value;

所述功耗管理单元,还用于在接收到所述反馈信号的情况下,向每个所述性能管理单元发送所述最大电压值。The power management unit is further configured to send the maximum voltage value to each of the performance management units when the feedback signal is received.

在上述用电系统中,所述功耗管理单元,在将所述最大电压值发送至所述电源管理单元之前,还用于在所述工作电压超出所述最大电压值的情况下,向每个所述性能管理单元发送取消指令;In the above power consumption system, before sending the maximum voltage value to the power management unit, the power consumption management unit is further configured to, when the operating voltage exceeds the maximum voltage value, send The performance management unit sends a cancel instruction;

每个所述性能管理单元,还用于在接收到所述取消指令,控制与其相连的用电单元以对应的目标工作频率工作之前的工作频率工作。Each of the performance management units is further configured to, after receiving the cancellation instruction, control the power consumption unit connected to it to work at the working frequency before the corresponding target working frequency.

本申请实施例提供了一种频率控制方法,应用于用电系统,所述用电系统包括:属于同一电压域的多个用电单元、与所述多个用电单元一一对应连接的多个性能管理单元,以及与所述多个用电单元连接的电源管理单元,方法包括:An embodiment of the present application provides a frequency control method, which is applied to a power consumption system. The power consumption system includes: multiple power consumption units belonging to the same voltage domain, and multiple power consumption units connected to the multiple power consumption units in one-to-one correspondence. A performance management unit, and a power management unit connected to the plurality of power consumption units, the method includes:

利用所述电源管理单元,为所述多个用电单元提供同一工作电压;using the power management unit to provide the same working voltage for the plurality of power consumption units;

利用每个所述性能管理单元,根据所述工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元以对应的目标工作频率工作。Using each of the performance management units, according to the operating voltage, determine the target operating frequency corresponding to the power consumption unit connected to it, and control the power consumption unit connected to it to work at the corresponding target operation frequency.

在上述方法中,所述利用每个所述性能管理单元,根据所述工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元以对应的目标工作频率工作,包括:In the above method, each of the performance management units is used to determine the target operating frequency corresponding to the power consumption unit connected to it according to the working voltage, and control the power consumption unit connected to it to work at the corresponding target working frequency ,include:

利用每个所述性能管理单元,在所述工作电压超出与其相连的用电单元对应的期望电压值的情况下,获取与其相连用电单元在所述工作电压下对应的当前工作频率和最大工作频率;Using each of the performance management units, in the case that the working voltage exceeds the expected voltage value corresponding to the power consumption unit connected to it, obtain the current operating frequency and maximum working frequency corresponding to the power consumption unit connected to it under the working voltage frequency;

计算与其相连的用电单元在所述工作电压下,以对应的当前工作频率的第一预期功耗,以及以对应的最大工作频率工作的第二预期功耗;Calculating the first expected power consumption of the power consumption unit connected to it under the operating voltage at the corresponding current operating frequency, and the second expected power consumption at the corresponding maximum operating frequency;

在所述第二预期功耗低于所述第一预期功耗的情况下,将所述最大工作频率确定为与其相连的用电单元对应的目标工作频率。If the second expected power consumption is lower than the first expected power consumption, the maximum operating frequency is determined as the target operating frequency corresponding to the power consumption unit connected to it.

在上述方法中,所述计算与其相连的用电单元在所述工作电压下,以对应的当前工作频率的第一预期功耗,以及以对应的最大工作频率工作的第二预期功耗,包括:In the above method, the calculation of the first expected power consumption of the power consumption unit connected to it under the operating voltage at the corresponding current operating frequency and the second expected power consumption at the corresponding maximum operating frequency includes :

分别计算与其相连的用电单元在所述工作电压下,以对应的当前工作频率工作的占空比和动态功耗;Calculating the duty cycle and dynamic power consumption of the power consumption unit connected to it at the corresponding current operating frequency under the operating voltage;

获取与其相连的用电单元在所述工作电压下的最大漏电电流;Obtaining the maximum leakage current of the power consumption unit connected to it under the working voltage;

根据所述最大漏电电流,以及与其相连的用电单元在所述工作电压下以对应的当前工作频率工作的动态功耗和占空比,计算所述第一预期功耗;calculating the first expected power consumption according to the maximum leakage current, and the dynamic power consumption and duty cycle of the power consumption unit connected to it working at the corresponding current working frequency under the working voltage;

根据所述最大漏电电流,以及与其相连的用电单元在所述工作电压下以对应的最大工作频率工作的动态功耗和占空比,计算所述第二预期功耗。The second expected power consumption is calculated according to the maximum leakage current, and the dynamic power consumption and duty cycle of the power consumption unit connected to it working at the corresponding maximum working frequency under the working voltage.

在上述方法中,所述用电系统还包括:与所述多个用电单元一一对应的多个开关单元,每个所述开关单元,连接于一个用电单元与所述电源管理单元之间,且与相连的用电单元连接的性能管理单元连接;所述利用所述电源管理单元,为所述多个用电单元提供同一工作电压之后,所述方法还包括:In the above method, the power consumption system further includes: a plurality of switch units corresponding to the plurality of power consumption units, each of the switch units is connected between a power consumption unit and the power management unit and connected to the performance management unit connected to the connected power consumption unit; after using the power management unit to provide the same working voltage for the multiple power consumption units, the method further includes:

利用每个所述性能管理单元,对与其相连的用电单元进行开关决策,并根据决策结果生成开关指令发送至与其相连的开关单元;Use each of the performance management units to make switching decisions on the power consumption units connected to it, and generate switching instructions according to the decision results and send them to the switching units connected to it;

利用每个所述开关单元,根据接收到的开关指令,导通或者断开与其相连的用电单元与所述电源管理单元之间的连接。Each switch unit is used to switch on or off the connection between the power consumption unit connected to it and the power management unit according to the received switch instruction.

本申请实施例提供了一种芯片,包括:The embodiment of this application provides a chip, including:

属于同一电压域的多个用电单元,以及与所述多个用电单元一一对应连接的多个性能管理单元;Multiple power consumption units belonging to the same voltage domain, and multiple performance management units connected to the multiple power consumption units in one-to-one correspondence;

所述多个用电单元接入同一工作电压;The multiple power consumption units are connected to the same working voltage;

每个所述性能管理单元,用于根据所述工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元以对应的目标工作频率工作。Each of the performance management units is configured to determine, according to the operating voltage, a target operating frequency corresponding to the power consumption unit connected to it, and control the power consumption unit connected to it to work at the corresponding target operation frequency.

本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被执行时实现上述频率控制方法。An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the foregoing frequency control method is implemented.

本申请实施例提供了一种用电系统、频率控制方法、芯片及存储介质,用电系统,包括:属于同一电压域的多个用电单元,以及与多个用电单元一一对应连接的多个性能管理单元;与多个用电单元连接的电源管理单元,电源管理单元,用于为多个用电单元提供同一工作电压;每个性能管理单元,用于根据工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元以对应的目标工作频率工作。本申请实施例提供的用电系统,针对用电系统中的每个用电单元,分别根据工作电压控制其以合适的工作频率工作,从而避免了用电单元出现电压过剩现象,降低了系统功耗。An embodiment of the present application provides a power consumption system, a frequency control method, a chip, and a storage medium, and the power consumption system includes: multiple power consumption units belonging to the same voltage domain, and a one-to-one connection with the multiple power consumption units Multiple performance management units; a power management unit connected to multiple power consumption units, the power management unit is used to provide the same working voltage for multiple power consumption units; each performance management unit is used to determine the connection with it according to the working voltage The corresponding target operating frequency of the electric unit, and control the connected electric unit to work at the corresponding target operating frequency. The power consumption system provided by the embodiment of the present application controls each power consumption unit in the power consumption system to work at an appropriate working frequency according to the working voltage, thereby avoiding the phenomenon of excess voltage of the power consumption unit and reducing the power consumption of the system. consumption.

附图说明Description of drawings

图1为现有技术中提供的一种用电系统的结构示意图一;Fig. 1 is a structural schematic diagram 1 of a power consumption system provided in the prior art;

图2为现有技术中提供的一种用电系统的结构示意图二;Fig. 2 is a structural schematic diagram II of a power consumption system provided in the prior art;

图3为本申请实施例提供的一种用电系统的结构示意图一;Fig. 3 is a structural schematic diagram 1 of a power consumption system provided by an embodiment of the present application;

图4为本申请实施例提供的一种用电系统的结构示意图二;Fig. 4 is a schematic structural diagram II of a power consumption system provided by an embodiment of the present application;

图5为本申请实施例提供的一种示例性的性能管理单元的工作流程示意图;FIG. 5 is a schematic workflow diagram of an exemplary performance management unit provided by the embodiment of the present application;

图6为本申请实施例提供的一种频率控制方法的流程示意图;FIG. 6 is a schematic flowchart of a frequency control method provided in an embodiment of the present application;

图7为本申请实施例提供的一种芯片的结构示意图。FIG. 7 is a schematic structural diagram of a chip provided by an embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

下面将通过实施例并结合附图具体地对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below through embodiments and in conjunction with the accompanying drawings. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

另外,本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。In addition, the technical solutions described in the embodiments of the present application may be combined arbitrarily if there is no conflict.

以下先对目前用电系统的两种供电方式进行基本介绍。The following is a basic introduction to the two power supply methods of the current power system.

图1为现有技术中提供的一种用电系统的结构示意图一。如图1所示,该用电系统支持独立供电式方案。具体的,电源输入电源管理单元后,通过N个可控的电压转换模块,输出N路供电,分别供给各个用电单元,其中,这些用电单元可以属于同一芯片。每个用电单元的供电是独立的。当某一个用电单元的性能监控单元决策该用电单元的工作频率需要调整,并引发对应的电压调整时,性能监控单元向芯片内的功耗管理单元发送需调整的目的电压值Vt,功耗管理单元收到指令后向电源管理单元发送指令,电源管理单元控制对应的电压转换模块将供电电压调整为Vt。如此次调压是为了升压升频,则在供电电压调整完成后,用电单元的频率升高。如此次调压是为了降压降频,则用电单元的频率先降低,再向功耗管理单元发送Vt,实现降压。如此次调压是为了升压升频,则用电单元待供电电压调整至Vt,再将工作频率提高。FIG. 1 is a first structural schematic diagram of a power consumption system provided in the prior art. As shown in Figure 1, the power consumption system supports an independent power supply scheme. Specifically, after the power is input into the power management unit, N controllable voltage conversion modules are used to output N circuits of power supply, which are respectively supplied to each power consumption unit, wherein these power consumption units may belong to the same chip. The power supply of each power consumption unit is independent. When the performance monitoring unit of a power consumption unit decides that the operating frequency of the power consumption unit needs to be adjusted and triggers a corresponding voltage adjustment, the performance monitoring unit sends the target voltage value Vt to be adjusted to the power consumption management unit in the chip, and the power After receiving the instruction, the power management unit sends an instruction to the power management unit, and the power management unit controls the corresponding voltage conversion module to adjust the power supply voltage to Vt. If the purpose of this voltage regulation is to increase the voltage and frequency, the frequency of the power consumption unit will increase after the adjustment of the supply voltage is completed. If the purpose of voltage regulation this time is to reduce voltage and frequency, the frequency of the power consumption unit is reduced first, and then Vt is sent to the power management unit to realize voltage reduction. If the purpose of this voltage regulation is to increase the voltage and frequency, the power consumption unit waits for the power supply voltage to be adjusted to Vt, and then increases the operating frequency.

需要说明的是,对于上述独立供电式方案,电源管理单元内要分别设置多个电压转换模块,在芯片引脚上要设置多个独立的供电引脚,在芯片内部要设置多个独立的电源网络,在用电单元间互联信号上要分别设置电压转换模块。系统复杂度较大,供电开销和成本较高,无法适应和部署在内部用电单元数目较多的复杂芯片上。It should be noted that, for the above-mentioned independent power supply scheme, multiple voltage conversion modules should be set in the power management unit, multiple independent power supply pins should be set on the chip pins, and multiple independent power supply pins should be set inside the chip. Network, the voltage conversion module should be set separately on the interconnection signal between power units. The complexity of the system is large, the power supply overhead and cost are high, and it cannot be adapted and deployed on complex chips with a large number of internal power consumption units.

图2为现有技术中提供的一种用电系统的结构示意图二。如图2所示,该用电系统支持合并供电式方案。与独立式供电类似,在合并供电式方案中,电源输入电源管理单元后,通过M个可控的电压转换模块,输出M路供电。不同的是,M路供电不再分别直接共给各个用电单元。而是将用电单元进行分组,每组形成一个电压域,M路供电共给电压域中的所有用电单元。当处在某一电压域的某一个用电单元的性能监控单元决策该用电单元的工作频率需要调整为Ft,并在Ft工作时对应的工作电压为Vt,性能监控单元k向芯片内的功耗管理单元发送需调整的目的电压值Vt,功耗管理单元收到指令后,综合该电压域下的所有N个用电单元的工作电压需求,取最大的目标工作电压值Vmax向电源管理单元发送指令,电源管理单元控制电压转换模块将供电电压调整为Vmax。如此次调压是为了升压升频,则在电压调整完成后,用电单元的频率升高。如此次调整的Ft比之前的工作频率低,则用电单元的频率先降低,再向功耗管理单元发送需调整的目的电压值。如此次调压的Ft比之前的工作频率高,则用电单元等待供电电压调整至Vmax(>=Vt)时,再将工作频率升高至Ft。Fig. 2 is a second structural schematic diagram of a power consumption system provided in the prior art. As shown in Figure 2, the power consumption system supports a combined power supply scheme. Similar to the independent power supply, in the combined power supply solution, after the power is input to the power management unit, M controllable voltage conversion modules are used to output M power supplies. The difference is that the M-circuit power supply is no longer directly shared with each power-consuming unit. Instead, the power consumption units are grouped, and each group forms a voltage domain, and M circuits supply power to all power consumption units in the voltage domain. When the performance monitoring unit of a power consumption unit in a certain voltage domain decides that the operating frequency of the power consumption unit needs to be adjusted to Ft, and the corresponding working voltage is Vt when Ft works, the performance monitoring unit k sends The power management unit sends the target voltage value Vt that needs to be adjusted. After receiving the instruction, the power management unit integrates the operating voltage requirements of all N power-consuming units in the voltage domain, and takes the maximum target operating voltage value Vmax to the power management unit. The unit sends an instruction, and the power management unit controls the voltage conversion module to adjust the supply voltage to Vmax. If the purpose of this voltage regulation is to increase the voltage and frequency, the frequency of the power consumption unit will increase after the voltage adjustment is completed. If the adjusted Ft is lower than the previous working frequency, the frequency of the power consumption unit is lowered first, and then the target voltage value to be adjusted is sent to the power management unit. If the Ft of this voltage adjustment is higher than the previous working frequency, the power consumption unit waits for the power supply voltage to be adjusted to Vmax (>=Vt), and then raises the working frequency to Ft.

需要说明的是,对于上述合并式供电方案,由于同一个电压域内的多个用电单元共享同一个供电,最终电压域的供电电压为各用电单元最大电压值,对某些工作电压要求较低的用电单元来说,其供电电压存在大于所需电压的情况,电压过剩现象的存在造成了功耗的增加。It should be noted that, for the above combined power supply scheme, since multiple power consumption units in the same voltage domain share the same power supply, the power supply voltage of the final voltage domain is the maximum voltage value of each power consumption unit, and some working voltage requirements are relatively high. For low power consumption units, the power supply voltage is higher than the required voltage, and the existence of excess voltage causes an increase in power consumption.

在本申请的实施例中,提供了一种用电系统,能够降低系统功耗,以下进行详述。In an embodiment of the present application, a power consumption system is provided, which can reduce system power consumption, which will be described in detail below.

图3为本申请实施例提供的一种用电系统的结构示意图一。如图3所示,在本申请的实施例中,用电系统包括:属于同一电压域的多个用电单元101,以及与多个用电单元101一一对应连接的多个性能管理单元102;FIG. 3 is a first structural schematic diagram of a power consumption system provided by an embodiment of the present application. As shown in Figure 3, in the embodiment of the present application, the power consumption system includes: multiple power consumption units 101 belonging to the same voltage domain, and multiple performance management units 102 connected to the multiple power consumption units 101 in one-to-one correspondence ;

与多个用电单元101连接的电源管理单元103,电源管理单元103,用于为多个用电单元101提供同一工作电压;A power management unit 103 connected to multiple power consumption units 101, the power management unit 103 is used to provide the same working voltage for multiple power consumption units 101;

每个性能管理单元102,用于根据工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元101以对应的目标工作频率工作。Each performance management unit 102 is configured to determine the target operating frequency corresponding to the power consumption unit connected to it according to the working voltage, and control the power consumption unit 101 connected to it to work at the corresponding target working frequency.

需要说明的是,在本申请的实施例中,参见图4,用电系统中可以划分出M个电压域,M为不小于1的自然数,电压域0中可以包括一定数量的用电单元101,同一电压域中的用电单元101的工作电压相同。It should be noted that, in the embodiment of the present application, referring to FIG. 4 , the power consumption system can be divided into M voltage domains, M is a natural number not less than 1, and a certain number of power consumption units 101 can be included in the voltage domain 0 , the working voltages of the power consumption units 101 in the same voltage domain are the same.

需要说明的是,在本申请的实施例中,具体的用电单元101,以及用电单元101的数量可以根据实际需求和应用场景设定,本申请实施例不作限定,性能管理单元102的数量与用电单元101的数量保持一致,且一一对应连接。It should be noted that, in the embodiment of this application, the specific power consumption unit 101 and the number of power consumption units 101 can be set according to actual needs and application scenarios. It is consistent with the number of power consumption units 101 and connected in one-to-one correspondence.

在本申请的实施例中,参见图4,电源管理单元103包括:电压转换模块1031,电压转换模块用于将供电电源的输入电压转换为工作电压。此外,电源管理单元103还可以包括与其他电压域对应的电压转换模块。In the embodiment of the present application, referring to FIG. 4 , the power management unit 103 includes: a voltage conversion module 1031 , and the voltage conversion module is configured to convert an input voltage of a power supply into an operating voltage. In addition, the power management unit 103 may also include voltage conversion modules corresponding to other voltage domains.

需要说明的是,在本申请的实施例中,为了实现对属于同一电压域的多个用电单元101提供同一工作电压,电源管理单元103中可以部署电压转换模块1031,从而通过该电压转换模块1031对供电电源的输入电压进行转换,转换得到的工作电压可以提供至每个用电单元101,其中,该工作电压的大小可以由电源管理单元103控制该电压转换模块1031而发生变化。It should be noted that, in the embodiment of the present application, in order to provide the same working voltage to multiple power consumption units 101 belonging to the same voltage domain, a voltage conversion module 1031 can be deployed in the power management unit 103, so that through the voltage conversion module 1031 converts the input voltage of the power supply, and the converted operating voltage can be provided to each power consumption unit 101 , wherein the magnitude of the operating voltage can be changed by the power management unit 103 controlling the voltage conversion module 1031 .

可以理解的是,在本申请的实施例中,对于属于同一电压域的多个用电单元101,电压转换模块1031提供同一工作电压,而在实际需求中,每个用电单元101的电压需求可能存在差异,即电压转换模块1031提供的工作电压可能与用电单元101的实际工作状态不符,例如,工作电压过高,针对于此,每个性能管理单元102,可以根据工作电压,确定与其相连的用电单元101对应的目标工作频率,以进行工作频率控制。It can be understood that, in the embodiment of the present application, for multiple power consumption units 101 belonging to the same voltage domain, the voltage conversion module 1031 provides the same working voltage, but in actual demand, the voltage requirement of each power consumption unit 101 There may be a difference, that is, the working voltage provided by the voltage conversion module 1031 may not match the actual working state of the power consumption unit 101, for example, the working voltage is too high. For this, each performance management unit 102 can determine the corresponding operating voltage according to the working voltage. The target operating frequency corresponding to the connected power consumption unit 101 is used for operating frequency control.

在本申请的实施例中,每个性能管理单元102,还用于:在工作电压超出与其相连的用电单元101对应的期望电压值的情况下,获取与其相连的用电单元101在工作电压下对应的当前工作频率和最大工作频率;In the embodiment of the present application, each performance management unit 102 is also used to: obtain the operating voltage of the power consumption unit 101 connected to it when the working voltage exceeds the expected voltage value corresponding to the power consumption unit 101 connected to it. The corresponding current working frequency and maximum working frequency;

计算与其相连的用电单元101在工作电压下,以对应的当前工作频率工作的第一预期功耗,以及以对应的最大工作频率工作的第二预期功耗;Calculating the first expected power consumption of the power consumption unit 101 connected to it at the operating voltage, operating at the corresponding current operating frequency, and the second expected power consumption operating at the corresponding maximum operating frequency;

在第二预期功耗低于第一预期功耗的情况下,将最大工作频率确定为与其相连的用电单元对应的目标工作频率。In the case that the second expected power consumption is lower than the first expected power consumption, the maximum operating frequency is determined as the target operating frequency corresponding to the connected electric unit.

在本申请的实施例中,每个性能管理单元102,还用于:分别计算与其相连的用电单元101在工作电压下,以对应的当前工作频率工作的占空比和动态功耗;In the embodiment of the present application, each performance management unit 102 is also used to: separately calculate the duty cycle and dynamic power consumption of the power consumption unit 101 connected to it at the corresponding current operating frequency under the operating voltage;

获取与其相连的用电单元101在工作电压下的最大漏电电流;Obtaining the maximum leakage current of the power consumption unit 101 connected to it under the working voltage;

根据最大漏电电流,以及与其相连的用电单元101在工作电压下以对应的当前工作频率工作的动态功耗和占空比,计算第一预期功耗;Calculate the first expected power consumption according to the maximum leakage current, and the dynamic power consumption and duty cycle of the power consumption unit 101 connected to it working at the corresponding current working frequency under the working voltage;

根据最大漏电电流,以及与其相连的用电单元101在工作电压下以对应的最大工作频率工作的动态功耗和占空比,计算第二预期功耗。The second expected power consumption is calculated according to the maximum leakage current, and the dynamic power consumption and duty cycle of the power consumption unit 101 connected to it working at the corresponding maximum working frequency under the working voltage.

图5为本申请实施例提供的一种示例性的性能管理单元的工作流程示意图。如图5所示,在本申请的实施例中,任一性能管理单元103可以首先获取与其相连的用电单元101的当前工作频率Fc,同时获取当前电压下与其相连的用电单元101可以工作的最高工作频率Fmax。通常,如果Fmax>Fc,则意味着用电单元101在Fmax下工作时可以有更高的计算速度,但通常计算速度并不和工作频率成正比,还要受到输入和输出通路的数据和信号状态影响。进一步的,性能管理单元103评估如果此时用电单元101工作在频率Fmax下,其最终实际工作和空闲的占空比Tmax,以及如继续工作在Fx下,其占空比Tc。则可以得出,当电压域的工作电压为Vmax时,用电单元101以频率Fmax工作完成当前任务的预期功耗为Tmax×(Pmax+Lmax),以Fc频率工作完成当前任务的功耗的预期功耗为Tc×(Pc+Lmax)。其中,Lmax为用电单元101在当前的工作电压下的最大漏电电流。如以频率Tmax工作所需功耗低于以频率Tc工作所需的功耗,性能管理单元103将频率Fmax确定为用电单元101对应的目标工作频率,从而控制用电单元101的工作频率提高至频率Pmax。FIG. 5 is a schematic diagram of a workflow of an exemplary performance management unit provided by an embodiment of the present application. As shown in Figure 5, in the embodiment of the present application, any performance management unit 103 can first obtain the current operating frequency Fc of the power consumption unit 101 connected to it, and at the same time obtain the working frequency of the power consumption unit 101 connected to it under the current voltage. The highest operating frequency Fmax. Generally, if Fmax>Fc, it means that the power consumption unit 101 can have a higher calculation speed when working under Fmax, but usually the calculation speed is not directly proportional to the operating frequency, and is also affected by the data and signals of the input and output channels. status impact. Further, the performance management unit 103 evaluates if the power consumption unit 101 is working at the frequency Fmax at this time, its final actual working and idle duty cycle Tmax, and if it continues to work at Fx, its duty cycle Tc. Then it can be drawn that when the operating voltage in the voltage domain is Vmax, the expected power consumption of the power consumption unit 101 to complete the current task at frequency Fmax is Tmax×(Pmax+Lmax), and the power consumption to complete the current task at frequency Fc is The expected power consumption is Tc×(Pc+Lmax). Wherein, Lmax is the maximum leakage current of the power consumption unit 101 under the current working voltage. If the power consumption required to work at the frequency Tmax is lower than the power consumption required to work at the frequency Tc, the performance management unit 103 determines the frequency Fmax as the target operating frequency corresponding to the power consumption unit 101, thereby controlling the increase in the working frequency of the power consumption unit 101 to frequency Pmax.

需要说明的是,在本申请的实施例中,设Tmax与Tc的比例为ρ,且ρ小于1,如以下公式所示:It should be noted that, in the embodiments of the present application, the ratio of Tmax to Tc is assumed to be ρ, and ρ is less than 1, as shown in the following formula:

P1=Tc×(Pc+Lmax) (1)P1=Tc×(Pc+Lmax) (1)

P2=Tmax×(Pmax+Lmax)≈ρTc×(Pc/ρ+Lmax)=Tc×(Pc+ρLmax) (2)P2=Tmax×(Pmax+Lmax)≈ρTc×(Pc/ρ+Lmax)=Tc×(Pc+ρLmax) (2)

其中,P1为用电单元101在工作电压下以当前工作频率工作的预期功耗,P2为用电单元在工作电压下以最大工作频率工作的预期功耗,由于ρ<1,根据上述公式(1)和(2)可见,通常情况下P2<P1,通过升频即可实现功耗降低。Among them, P1 is the expected power consumption of the power unit 101 working at the current working frequency under the working voltage, and P2 is the expected power consumption of the power unit working at the maximum working frequency under the working voltage. Since ρ<1, according to the above formula ( It can be seen from 1) and (2) that usually P2<P1, the power consumption can be reduced by up-frequency.

在本申请的实施例中,每个性能管理单元102,还用于在工作电压为与其相连的用电单元101对应的期望电压值的情况下,将与其相连的用电单元101对应的期望工作频率确定为对应的目标工作频率;其中,每个用电单元101,其对应的期望工作频率和期望电压值之间存在对应关系。In the embodiment of the present application, each performance management unit 102 is also used to set the expected working voltage corresponding to the connected power unit 101 when the working voltage is the expected voltage value corresponding to the connected power unit 101. The frequency is determined as the corresponding target operating frequency; wherein, for each power consumption unit 101 , there is a corresponding relationship between the corresponding expected operating frequency and the expected voltage value.

可以理解的是,在本申请的实施例中,每个用电单元101对应的期望电压值与期望工作频率对应,对于任意一个用电单元101,如果工作电压的大小就是其对应的期望电压值,那么其在期望工作频率下工作是最合适的,因此,可以直接将其对应的期望工作频率确定为目标工作频率。It can be understood that, in the embodiment of the present application, the expected voltage value corresponding to each power consumption unit 101 corresponds to the expected operating frequency. For any power consumption unit 101, if the size of the working voltage is its corresponding expected voltage value , then it is most suitable to work at the expected operating frequency, therefore, its corresponding expected operating frequency can be directly determined as the target operating frequency.

在本申请的实施例中,如图4所示,用电系统还包括:与多个用电单元101属于同一电压域的多个开关单元104;In the embodiment of the present application, as shown in FIG. 4 , the power consumption system further includes: multiple switch units 104 belonging to the same voltage domain as the multiple power consumption units 101;

每个开关单元104,连接于一个用电单元101与电源管理单元103之间,且与相连的用电单元101连接的性能管理单元102连接;Each switch unit 104 is connected between a power consumption unit 101 and the power management unit 103, and is connected to the performance management unit 102 connected to the connected power consumption unit 101;

每个性能管理单元102,还用于对与其相连的用电单元101进行开关决策,并根据决策结果生成开关指令发送至与其相连的开关单元104;Each performance management unit 102 is also used to make a switching decision on the power consumption unit 101 connected to it, and generate a switching instruction according to the decision result and send it to the switching unit 104 connected to it;

每个开关单元104,用于根据接收到的开关指令,导通或者断开与其相连的用电单元101与电源管理单元103之间的连接。Each switch unit 104 is configured to switch on or off the connection between the connected power consumption unit 101 and the power management unit 103 according to the received switch command.

可以理解的是,在本申请的实施例中,如图4所示,每个用电单元101与电源管理单元103之间连接有一个开关单元104,开关单元104由与其相连的用电单元101所连接的性能管理单元102控制,性能管理单元102通过向开关单元104发送开关指令,控制与其相连的用电单元101是否接入工作电压。It can be understood that, in the embodiment of the present application, as shown in FIG. The connected performance management unit 102 controls, and the performance management unit 102 controls whether the power consumption unit 101 connected to it is connected to the working voltage by sending a switch command to the switch unit 104 .

示例性的,在本申请的实施例中,参考图5所示流程,性能管理单元102在检测到用电单元101完成当前处理任务时,即可生成用电单元101待关闭的决策结果,并根据决策结果生成指示需要关闭用电单元101的开关指令发送至与其相连的开关单元104,开关单元104根据该开关指令即可断开与其相连的用电单元101与电源管理单元103之间的连接,从而停止为用电单元101供电,以关闭用电单元101。Exemplarily, in the embodiment of the present application, referring to the process shown in FIG. 5 , when the performance management unit 102 detects that the power consumption unit 101 has completed the current processing task, it can generate a decision result that the power consumption unit 101 is to be shut down, and According to the decision result, a switch instruction indicating that the power consumption unit 101 needs to be turned off is sent to the switch unit 104 connected to it, and the switch unit 104 can disconnect the connection between the power consumption unit 101 connected to it and the power management unit 103 according to the switch instruction , so as to stop supplying power to the power consumption unit 101 to shut down the power consumption unit 101 .

可以理解的是,在本申请的实施例中,由于上述性能管理单元102可以针对与其相连的用电单元101根据工作电压控制其工作频率,例如,在电压过剩时控制用电单元101以最大工作频率工作,这样,对用电单元101输出有依赖的其他模块可以尽早尽快的开始工作,并尽早尽快的进入关闭状态,等待时间缩短了,由于当前用电单元101的工作频率提高,降低了其他下游模块的功耗。It can be understood that, in the embodiment of the present application, since the above-mentioned performance management unit 102 can control the operating frequency of the power consumption unit 101 connected to it according to the working voltage, for example, control the power consumption unit 101 to work at the maximum when the voltage is excessive. In this way, other modules that depend on the output of the power consumption unit 101 can start working as soon as possible, and enter the shutdown state as soon as possible, and the waiting time is shortened. Due to the increase of the current working frequency of the power consumption unit 101, other modules are reduced. Power consumption of downstream modules.

在本申请的实施例中,如图4所示,用电系统还包括:功耗管理单元105,功耗管理单元105与每个性能管理单元102,以及电源管理单元103连接;In the embodiment of the present application, as shown in FIG. 4 , the power consumption system further includes: a power consumption management unit 105, which is connected to each performance management unit 102 and the power management unit 103;

每个性能管理单元102,还用于对与其相连的用电单元101进行监控,确定与其相连的用电单元101对应的期望工作频率,以及,针对与其相连的用电单元101,根据对应的期望工作频率确定对应的期望电压值并发送至功耗管理单元105;Each performance management unit 102 is also used to monitor the power consumption unit 101 connected to it, determine the expected operating frequency corresponding to the power consumption unit 101 connected to it, and, for the power consumption unit 101 connected to it, according to the corresponding expected operating frequency The working frequency determines the corresponding expected voltage value and sends it to the power management unit 105;

功耗管理单元105,用于从接收到的各个期望电压值中选取出最大电压值,并将最大电压值发送至电源管理单元103;The power management unit 105 is configured to select the maximum voltage value from the received expected voltage values, and send the maximum voltage value to the power management unit 103;

电源管理单元103,用于将工作电压调整至最大电压值。The power management unit 103 is configured to adjust the working voltage to a maximum voltage value.

需要说明的是,在本申请的实施例中,对于任意一个用电单元101而言,其期望工作频率对应的期望电压值,即支持用电单元101工作在期望工作频率下适合的电压值,也是用电单元101期望接入的电压大小,因此,与用电单元101相连的性能管理单元102,可以将期望电压值作为用电单元101发送给功耗管理单元105,供功耗管理单元105进行电压调控决策。It should be noted that, in the embodiment of the present application, for any power-consuming unit 101, the expected voltage value corresponding to its expected operating frequency, that is, the suitable voltage value for supporting the power-consuming unit 101 to work at the expected operating frequency, It is also the voltage that the power consumption unit 101 expects to access. Therefore, the performance management unit 102 connected to the power consumption unit 101 can send the expected voltage value as the power consumption unit 101 to the power consumption management unit 105 for the power consumption management unit 105 Make voltage regulation decisions.

可以理解的是,在本申请的实施例中,功耗管理单元105可以接收到属于同一电压域的不同用电单元101的期望电压值,将其中的最大电压值作为针对该电压域将要调控到的电压值,从而指示给电源管理单元103,电源管理单元103即可将工作电压调整至该最大电压值。It can be understood that, in the embodiment of the present application, the power consumption management unit 105 may receive the expected voltage values of different power consumption units 101 belonging to the same voltage domain, and use the maximum voltage value among them as the voltage value to be regulated for the voltage domain. The voltage value is indicated to the power management unit 103, and the power management unit 103 can adjust the working voltage to the maximum voltage value.

在本申请的实施例中,每个性能管理单元102,还用于在与其相连的用电单元101对应的期望工作频率低于当前工作频率的情况下,控制与其相连的用电单元101以对应的期望工作频率工作。In the embodiment of the present application, each performance management unit 102 is also used to control the power consumption unit 101 connected to it to correspond to work at the desired operating frequency.

在本申请的实施例中,每个性能管理单元102,还用于在与其相连的用电单元101对应的期望工作频率高于当前工作频率,且工作电压达到与其相连的用电单元101对应的期望电压值的情况下,控制与其相连的用电单元101以对应的期望工作频率工作。In the embodiment of the present application, each performance management unit 102 is also configured to be higher than the current operating frequency when the expected working frequency corresponding to the connected power unit 101 is higher than the current working frequency, and the working voltage reaches the corresponding to the connected power unit 101 In the case of a desired voltage value, control the power consumption unit 101 connected to it to work at the corresponding desired operating frequency.

需要说明的是,在本申请的实施例中,如果用电单元101对应的期望工作频率低于当前工作频率,则相连的性能管理单元102可以直接控制用电单元101以期望工作频率工作。如果用电单元101对应的期望工作频率高于当前工作频率,则相连的性能管理单元102需要等待工作电压达到用电单元101对应的期望电压值的情况下,再控制用电单元101以对应的期望工作频率工作。It should be noted that, in the embodiment of the present application, if the expected operating frequency corresponding to the electric unit 101 is lower than the current operating frequency, the connected performance management unit 102 may directly control the electric unit 101 to work at the expected operating frequency. If the expected operating frequency corresponding to the electric unit 101 is higher than the current operating frequency, the connected performance management unit 102 needs to wait for the operating voltage to reach the expected voltage value corresponding to the electric unit 101, and then control the electric unit 101 to the corresponding Expected operating frequency to work.

在本申请的实施例中,电源管理单元103,还用于在将工作电压调整至最大电压值之后,向功耗管理单元105发送用于指示电压调整完成的反馈信号;In the embodiment of the present application, the power management unit 103 is further configured to send a feedback signal indicating the completion of voltage adjustment to the power consumption management unit 105 after adjusting the working voltage to the maximum voltage value;

功耗管理单元105,还用于在接收到反馈信号的情况下,向每个性能管理单元102发送最大电压值。The power management unit 105 is further configured to send the maximum voltage value to each performance management unit 102 in the case of receiving the feedback signal.

需要说明的是,在本申请的实施例中,电源管理单元103和功耗管理单元105之间保持双向的控制与反馈,功耗管理单元105可以指示电源管理单元103进行电压调整,电源管理单元103可以在完成电压调整后向功耗管理单元105发送反馈信号。功耗管理单元105根据反馈信号可以获知电源管理单元103提供的工作电压已经调整至最大电压值,并向各个用电单元101相连的性能管理单元102发送调整到的电压值,即前述最大电压值,这样,每个性能管理单元102即可获知工作电压的大小。It should be noted that, in the embodiment of the present application, two-way control and feedback is maintained between the power management unit 103 and the power management unit 105, the power management unit 105 can instruct the power management unit 103 to adjust the voltage, and the power management unit 103 may send a feedback signal to the power management unit 105 after the voltage adjustment is completed. The power consumption management unit 105 can know that the working voltage provided by the power management unit 103 has been adjusted to the maximum voltage value according to the feedback signal, and send the adjusted voltage value, that is, the aforementioned maximum voltage value, to the performance management unit 102 connected to each power consumption unit 101 , so that each performance management unit 102 can know the size of the working voltage.

在本申请的实施例中,功耗管理单元105,在将最大电压值发送至电源管理单元103之前,还用于在工作电压超出最大电压值的情况下,向每个性能管理单元102发送取消指令;In the embodiment of the present application, before the power management unit 105 sends the maximum voltage value to the power management unit 103, it is also used to send a cancel to each performance management unit 102 when the operating voltage exceeds the maximum voltage value. instruction;

每个性能管理单元102,还用于按照取消指令,控制与其相连的用电单元101以对应的历史工作频率工作;每个用电单元101对应的历史工作频率,为以对应的目标工作频率工作之前使用的工作频率。Each performance management unit 102 is also used to control the power consumption unit 101 connected to it to work at the corresponding historical operating frequency according to the cancel instruction; the corresponding historical operating frequency of each power consumption unit 101 is to work at the corresponding target operating frequency previously used operating frequency.

需要说明的是,在本申请的实施例中,如果最大电压值小于工作电压,实际上将工作电压调整至该最大电压值为降压的过程,在此情况下,考虑到电压域下存在之前经历过根据工作电压控制工作在对应的目标工作频率的用电单元101,因此,需要在进行降压之前取消这一操作,待取消生效后,再由功耗管理单元105通知电源管理单元103进行降压控制。其中,功耗管理单元105可以在发送取消指令之后,等待预设时长,再向电源管理单元103发送电压最大值,以确保取消生效。It should be noted that, in the embodiment of this application, if the maximum voltage value is less than the operating voltage, the process of actually adjusting the operating voltage to the maximum voltage value is step-down. In this case, considering the existing The power consumption unit 101 has been controlled to work at the corresponding target operating frequency according to the operating voltage. Therefore, it is necessary to cancel this operation before stepping down. After the cancellation takes effect, the power management unit 105 will notify the power management unit 103 to proceed. Buck control. Wherein, the power management unit 105 may wait for a preset period of time after sending the cancel instruction, and then send the maximum voltage value to the power management unit 103, so as to ensure that the cancellation takes effect.

可以理解的是,在本申请的实施例中,针对每个用电单元101,其是由与其相连的性能管理单元102执行工作频率控制的,性能管理单元102可以获知用电单元101对应的历史工作频率,其中,历史工作频率可能与目标工作频率相同,因此,功耗管理单元105将取消指令下发到电压域下每个用电单元101相连的性能管理单元102中,性能管理单元102接收到取消指令,如果历史工作频率与目标工作频率不同,即确实调整了工作频率的情况下,则将与其相连的用电单元101的工作频率恢复为历史工作频率,如果历史工作频率与目标工作频率不同,实际上并未调整工作频率,因此,控制与其相连的用电单元101以对应的历史工作频率工作,实际上就是控制与其相连的用电单元101保持当前的工作频率工作。It can be understood that, in the embodiment of the present application, for each power consumption unit 101, the performance management unit 102 connected to it executes the operating frequency control, and the performance management unit 102 can know the history corresponding to the power consumption unit 101 Operating frequency, where the historical operating frequency may be the same as the target operating frequency, therefore, the power management unit 105 sends a cancel instruction to the performance management unit 102 connected to each power consumption unit 101 in the voltage domain, and the performance management unit 102 receives To cancel the command, if the historical operating frequency is different from the target operating frequency, that is, if the operating frequency is indeed adjusted, the operating frequency of the power unit 101 connected to it will be restored to the historical operating frequency. If the historical operating frequency is different from the target operating frequency Different, the working frequency is not actually adjusted, therefore, controlling the connected power unit 101 to work at the corresponding historical working frequency is actually controlling the connected power unit 101 to maintain the current working frequency.

可以理解的是,在本申请的实施例中,针对每个用电单元101,部署了性能管理单元102,性能管理单元102和功耗管理单元105之间存在控制和反馈通路,功耗管理单元105的电压域实际调整信息可以通过反馈通路传递回性能管理单元102,性能管理单元102具备频率控制功能,使得用电单元101可以在工作电压下以合适的工作频率工作。It can be understood that, in the embodiment of the present application, for each power consumption unit 101, a performance management unit 102 is deployed, and there is a control and feedback path between the performance management unit 102 and the power consumption management unit 105, and the power consumption management unit The actual adjustment information in the voltage domain of 105 can be transmitted back to the performance management unit 102 through the feedback path, and the performance management unit 102 has a frequency control function, so that the power consumption unit 101 can work at an appropriate working frequency under the working voltage.

可以理解的是,在本申请的实施例中,避免了合并供电式方案中所存在的电压过剩的现象,降低了系统功耗;考虑到根据工作电压灵活控制用电单元101对电压域下所有单元皆发生效果,当多个互相交互的用电单元101都在工作电压下以合适的工作频率工作时,互相之间的数据和信号交互能够进一步加快,用电单元101实际运行时的任务处理时间可能更短,在某些场景下的功耗更低,进一步降低了功耗。It can be understood that, in the embodiment of the present application, the phenomenon of excess voltage existing in the combined power supply scheme is avoided, and the power consumption of the system is reduced; All the units have an effect. When multiple interacting power units 101 work at an appropriate operating frequency under the operating voltage, the mutual data and signal interaction can be further accelerated, and the task processing of the power units 101 in actual operation The time may be shorter, and the power consumption in some scenarios is lower, further reducing power consumption.

本申请实施例提供了一种用电系统,包括:属于同一电压域的多个用电单元,以及与多个用电单元一一对应连接的多个性能管理单元;与多个用电单元连接的电源管理单元,电源管理单元,用于为多个用电单元提供同一工作电压;每个性能管理单元,用于根据工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元以对应的目标工作频率工作。本申请实施例提供的用电系统,针对用电系统中的每个用电单元,分别根据工作电压控制其以合适的工作频率工作,从而避免了用电单元出现电压过剩现象,降低了功耗。An embodiment of the present application provides a power consumption system, including: multiple power consumption units belonging to the same voltage domain, and multiple performance management units connected to the multiple power consumption units in one-to-one correspondence; connected to multiple power consumption units The power management unit, the power management unit, is used to provide the same working voltage for multiple power consumption units; each performance management unit is used to determine the target operating frequency corresponding to the power consumption unit connected to it according to the working voltage, and control the power consumption unit connected to it. The connected power consumption units work at the corresponding target operating frequency. The power consumption system provided by the embodiment of the present application controls each power consumption unit in the power consumption system to work at an appropriate operating frequency according to the working voltage, thereby avoiding the phenomenon of excess voltage of the power consumption unit and reducing power consumption .

本申请实施例还提供了一种频率控制方法,应用于用电系统,用电系统包括:属于同一电压域的多个用电单元、与多个用电单元一一对应连接的多个性能管理单元,以及与多个用电单元连接的电源管理单元。图6为本申请实施例提供的一种频率控制方法的流程示意图。如图6所示,频率控制方法主要包括以下步骤:The embodiment of the present application also provides a frequency control method, which is applied to the power consumption system. The power consumption system includes: multiple power consumption units belonging to the same voltage domain, and multiple performance management units connected to the multiple power consumption units in one-to-one correspondence unit, and a power management unit connected to multiple power consumption units. FIG. 6 is a schematic flowchart of a frequency control method provided by an embodiment of the present application. As shown in Figure 6, the frequency control method mainly includes the following steps:

S101、利用电源管理单元,为多个用电单元提供同一工作电压。S101. Use the power management unit to provide the same working voltage for multiple power consumption units.

S102、利用每个性能管理单元,根据工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元以对应的目标工作频率工作。S102. Using each performance management unit, according to the working voltage, determine the target operating frequency corresponding to the power consumption unit connected to it, and control the power consumption unit connected to it to work at the corresponding target working frequency.

需要说明的是,在本申请的实施例中,用电系统利用每个性能管理单元,根据工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元以对应的目标工作频率工作,包括:利用每个性能管理单元,在工作电压超出与其相连的用电单元对应的期望电压值的情况下,获取与其相连用电单元在工作电压下对应的当前工作频率和最大工作频率;计算与其相连的用电单元在工作电压下,以对应的当前工作频率的第一预期功耗,以及以对应的最大工作频率工作的第二预期功耗;在第二预期功耗低于第一预期功耗的情况下,将最大工作频率确定为与其相连的用电单元对应的目标工作频率。It should be noted that, in the embodiment of this application, the power consumption system uses each performance management unit to determine the target operating frequency corresponding to the power consumption unit connected to it according to the operating voltage, and controls the power consumption unit connected to it to correspond to Working at the target operating frequency, including: using each performance management unit, when the operating voltage exceeds the expected voltage value corresponding to the connected power unit, obtain the current operating frequency and Maximum operating frequency; calculate the first expected power consumption of the power unit connected to it at the operating voltage at the corresponding current operating frequency, and the second expected power consumption at the corresponding maximum operating frequency; in the second expected power consumption If the power consumption is lower than the first expected power consumption, the maximum operating frequency is determined as the target operating frequency corresponding to the power consumption unit connected to it.

需要说明的是,在本申请的实施例中,每个性能管理单元计算与其相连的用电单元在工作电压下,以对应的当前工作频率的第一预期功耗,以及以对应的最大工作频率工作的第二预期功耗,包括:分别计算与其相连的用电单元在工作电压下,以对应的当前工作频率工作的占空比和动态功耗;获取与其相连的用电单元在工作电压下的最大漏电电流;根据最大漏电电流,以及与其相连的用电单元在工作电压下以对应的当前工作频率工作的动态功耗和占空比,计算第一预期功耗;根据最大漏电电流,以及与其相连的用电单元在工作电压下以对应的最大工作频率工作的动态功耗和占空比,计算第二预期功耗。It should be noted that, in the embodiment of the present application, each performance management unit calculates the first expected power consumption of the power consumption unit connected to it at the operating voltage, at the corresponding current operating frequency, and at the corresponding maximum operating frequency The second expected power consumption of the work, including: separately calculating the duty cycle and dynamic power consumption of the power consumption unit connected to it under the working voltage at the corresponding current working frequency; obtaining the power consumption unit connected to it under the working voltage the maximum leakage current; calculate the first expected power consumption according to the maximum leakage current, and the dynamic power consumption and duty cycle of the connected power unit operating at the corresponding current operating frequency under the operating voltage; calculate the first expected power consumption according to the maximum leakage current, and Calculate the second expected power consumption based on the dynamic power consumption and the duty cycle of the power consumption unit connected to it working at the corresponding maximum working frequency under the working voltage.

需要说明的是,在本申请的实施例中,用电系统还包括:与多个用电单元一一对应的多个开关单元,每个开关单元,连接于一个用电单元与电源管理单元之间,且与相连的用电单元连接的性能管理单元连接;用电系统利用电源管理单元,将供电电源的输入电压转换为针对多个用电单元的工作电压,为多个用电单元提供同一工作电压之后,还执行以下步骤:利用每个性能管理单元,对相连的用电单元进行开关决策,并根据决策结果生成开关指令发送至相连的开关单元;利用每个开关单元,根据接收到的开关指令,导通或者断开与其相连的用电单元与电源管理单元之间的连接。It should be noted that, in the embodiment of the present application, the power consumption system further includes: a plurality of switch units corresponding to a plurality of power consumption units, and each switch unit is connected between a power consumption unit and a power management unit and connected to the performance management unit connected to the connected power consumption unit; the power consumption system uses the power management unit to convert the input voltage of the power supply into the working voltage for multiple power consumption units, and provides the same After the working voltage, the following steps are also performed: use each performance management unit to make switching decisions on the connected power consumption units, and generate switching instructions according to the decision results and send them to the connected switching units; The switch instruction is to turn on or off the connection between the connected power consumption unit and the power management unit.

可以理解的是,在本申请的实施例中,用电系统利用每个开关单元,控制与其相连的用电单元是否接入工作电压,即实现了与其相连的用电单元101的开关控制。It can be understood that, in the embodiment of the present application, the power consumption system uses each switch unit to control whether the power consumption unit connected to it is connected to the working voltage, that is, realizes the switch control of the power consumption unit 101 connected to it.

本申请实施例还提供了一种芯片,图7为本申请实施例提供的一种芯片的结构示意图。如图7所示,在本申请的实施例中,芯片包括:属于同一电压域的多个用电单元101,以及与多个用电单元101一一对应连接的多个性能管理单元102;The embodiment of the present application also provides a chip, and FIG. 7 is a schematic structural diagram of the chip provided in the embodiment of the present application. As shown in FIG. 7, in the embodiment of the present application, the chip includes: multiple power consumption units 101 belonging to the same voltage domain, and multiple performance management units 102 connected to the multiple power consumption units 101 in one-to-one correspondence;

多个用电单元101接入同一工作电压;Multiple power consumption units 101 are connected to the same working voltage;

每个性能管理单元102,用于根据工作电压,确定与其相连的用电单元101对应的目标工作频率,并控制与其相连的用电单元101以对应的目标工作频率工作。Each performance management unit 102 is configured to determine the target operating frequency corresponding to the connected power consumption unit 101 according to the working voltage, and control the connected power consumption unit 101 to work at the corresponding target working frequency.

可以理解的是,在本申请的实施例中,上述用电系统中属于同一电压域的多个用电单元101,以及与多个用电单元101一一对应连接的多个性能管理单元102,可以集成在同一芯片上。It can be understood that, in the embodiment of the present application, the multiple power consumption units 101 belonging to the same voltage domain in the above power consumption system, and the multiple performance management units 102 connected to the multiple power consumption units 101 in one-to-one correspondence, can be integrated on the same chip.

本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被执行时实现上述频率控制方法。计算机可读存储介质可以是易失性存储器(volatile memory),例如随机存取存储器(Random-Access Memory,RAM);或者非易失性存储器(non-volatile memory),例如只读存储器(Read-Only Memory,ROM),快闪存储器(flash memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);也可以是包括上述存储器之一或任意组合的各自设备,如移动电话、计算机、平板设备、个人数字助理等。The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the foregoing frequency control method is implemented. The computer-readable storage medium can be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory). Only Memory, ROM), flash memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid-state hard disk (Solid-State Drive, SSD); also can be the respective equipment that comprises one of above-mentioned memories or any combination, such as Mobile phones, computers, tablet devices, personal digital assistants, and more.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的实现流程示意图和/或方框图来描述的。应理解可由计算机程序指令实现流程示意图和/或方框图中的每一流程和/或方框、以及实现流程示意图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the implementation flow diagrams and/or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and/or block in the schematic flowchart and/or block diagram, and a combination of processes and/or blocks in the schematic flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a Means for realizing the functions specified in one or more steps of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in implementing one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in implementing the process flow or processes of the flowchart diagrams and/or the block or blocks of the block diagrams.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本实用申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only the specific implementation of the application, but the scope of protection of the application is not limited thereto, any changes or substitutions that can be easily imagined by any person familiar with the technical field within the technical scope disclosed in this application , should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (17)

1.一种用电系统,其特征在于,包括:1. A power consumption system, characterized in that, comprising: 属于同一电压域的多个用电单元,以及与所述多个用电单元一一对应连接的多个性能管理单元;Multiple power consumption units belonging to the same voltage domain, and multiple performance management units connected to the multiple power consumption units in one-to-one correspondence; 与所述多个用电单元连接的电源管理单元,所述电源管理单元,用于为所述多个用电单元提供同一工作电压;A power management unit connected to the multiple power consumption units, the power management unit is configured to provide the same working voltage for the multiple power consumption units; 每个所述性能管理单元,用于根据所述工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元以对应的目标工作频率工作。Each of the performance management units is configured to determine, according to the operating voltage, a target operating frequency corresponding to the power consumption unit connected to it, and control the power consumption unit connected to it to work at the corresponding target operation frequency. 2.根据权利要求1所述的用电系统,其特征在于,2. The power consumption system according to claim 1, characterized in that, 所述电源管理单元包括:电压转换模块,所述电压转换模块用于将供电电源的输入电压转换为所述工作电压。The power management unit includes: a voltage conversion module, the voltage conversion module is used to convert the input voltage of the power supply into the working voltage. 3.根据权利要求1所述的用电系统,其特征在于,3. The power consumption system according to claim 1, characterized in that, 每个所述性能管理单元,还用于:在所述工作电压超出与其相连的用电单元对应的期望电压值的情况下,获取与其相连的用电单元在所述工作电压下对应的当前工作频率和最大工作频率;Each of the performance management units is further configured to: in the case that the working voltage exceeds the expected voltage value corresponding to the power consumption unit connected to it, obtain the current work corresponding to the power consumption unit connected to it under the working voltage frequency and maximum operating frequency; 计算与其相连的用电单元在所述工作电压下,以对应的当前工作频率工作的第一预期功耗,以及以对应的最大工作频率工作的第二预期功耗;Calculating the first expected power consumption of the power consumption unit connected to it at the working voltage, working at the corresponding current working frequency, and the second expected power consumption working at the corresponding maximum working frequency; 在所述第二预期功耗低于所述第一预期功耗的情况下,将所述最大工作频率确定为与其相连的用电单元对应的目标工作频率。If the second expected power consumption is lower than the first expected power consumption, the maximum operating frequency is determined as the target operating frequency corresponding to the power consumption unit connected to it. 4.根据权利要求3所述的用电系统,其特征在于,4. The power consumption system according to claim 3, characterized in that, 每个所述性能管理单元,还用于:分别计算与其相连的用电单元在所述工作电压下,以对应的当前工作频率工作的占空比和动态功耗;Each of the performance management units is also used to: respectively calculate the duty cycle and dynamic power consumption of the power consumption unit connected to it at the corresponding current operating frequency under the operating voltage; 获取与其相连的用电单元在所述工作电压下的最大漏电电流;Obtaining the maximum leakage current of the power consumption unit connected to it under the working voltage; 根据所述最大漏电电流,以及与其相连的用电单元在所述工作电压下以对应的当前工作频率工作的动态功耗和占空比,计算所述第一预期功耗;calculating the first expected power consumption according to the maximum leakage current, and the dynamic power consumption and duty cycle of the power consumption unit connected to it working at the corresponding current working frequency under the working voltage; 根据所述最大漏电电流,以及与其相连的用电单元在所述工作电压下以对应的最大工作频率工作的动态功耗和占空比,计算所述第二预期功耗。The second expected power consumption is calculated according to the maximum leakage current, and the dynamic power consumption and duty cycle of the power consumption unit connected to it working at the corresponding maximum working frequency under the working voltage. 5.根据权利要求1所述用电系统,其特征在于,5. The power consumption system according to claim 1, characterized in that, 每个所述性能管理单元,还用于:在所述工作电压为与其相连的用电单元对应的期望电压值的情况下,将与其相连的用电单元对应的期望工作频率确定为对应的目标工作频率;Each of the performance management units is further configured to: when the operating voltage is the expected voltage value corresponding to the connected electric unit, determine the expected operating frequency corresponding to the connected electric unit as the corresponding target working frequency; 其中,每个所述用电单元,其对应的期望工作频率和期望电压值之间存在对应关系。Wherein, there is a corresponding relationship between each of the power consumption units and its corresponding expected operating frequency and expected voltage value. 6.根据权利要求1所述的用电系统,其特征在于,还包括:与所述多个用电单元一一对应的多个开关单元;6. The power consumption system according to claim 1, further comprising: a plurality of switch units corresponding to the plurality of power consumption units; 每个所述开关单元,连接于一个用电单元与所述电源管理单元之间,且与相连的用电单元连接的性能管理单元连接;Each of the switch units is connected between a power consumption unit and the power management unit, and is connected to a performance management unit connected to the connected power consumption unit; 每个所述性能管理单元,还用于对与其相连的用电单元进行开关决策,并根据决策结果生成开关指令发送至与其相连的开关单元;Each of the performance management units is also used to make a switching decision on the power consumption unit connected to it, and generate a switching instruction according to the decision result and send it to the switching unit connected to it; 每个所述开关单元,用于根据接收到的开关指令,导通或者断开与其相连的用电单元与所述电源管理单元之间的连接。Each of the switch units is configured to switch on or off the connection between the power consumption unit connected to it and the power management unit according to the received switch command. 7.根据权利要求1-6任一项所述的用电系统,其特征在于,还包括:功耗管理单元,所述功耗管理单元与每个所述性能管理单元,以及所述电源管理单元连接;7. The power consumption system according to any one of claims 1-6, further comprising: a power management unit, the power management unit and each of the performance management units, and the power management unit unit connection; 每个所述性能管理单元,还用于对与其相连的用电单元进行监控,确定与其相连的用电单元对应的期望工作频率,以及,针对与其相连的用电单元,根据对应的期望工作频率确定对应的期望电压值并发送至所述功耗管理单元;Each of the performance management units is also used to monitor the power consumption unit connected to it, determine the expected operating frequency corresponding to the power consumption unit connected to it, and, for the power consumption unit connected to it, according to the corresponding expected operating frequency Determine the corresponding expected voltage value and send it to the power management unit; 所述功耗管理单元,用于从接收到的各个期望电压值中选取出最大电压值,并将所述最大电压值发送至所述电源管理单元;The power management unit is configured to select a maximum voltage value from the received expected voltage values, and send the maximum voltage value to the power management unit; 所述电源管理单元,用于将所述工作电压调整至所述最大电压值。The power management unit is configured to adjust the working voltage to the maximum voltage value. 8.根据权利要求7所述的用电系统,其特征在于,8. The power consumption system according to claim 7, characterized in that, 每个所述性能管理单元,还用于在与其相连的用电单元对应的期望工作频率低于当前工作频率的情况下,控制与其相连的用电单元以对应的期望工作频率工作。Each of the performance management units is further configured to control the power-consuming unit connected to it to work at the corresponding expected working frequency when the expected working frequency corresponding to the connected power-consuming unit is lower than the current working frequency. 9.根据权利要求7所述的用电系统,其特征在于,9. The power consumption system according to claim 7, characterized in that, 每个所述性能管理单元,还用于在与其相连的用电单元对应的期望工作频率高于当前工作频率,且所述工作电压达到与其相连的用电单元对应的期望电压值的情况下,控制与其相连的用电单元以对应的期望工作频率工作。Each of the performance management units is further configured to: when the expected working frequency corresponding to the power consumption unit connected to it is higher than the current working frequency, and the working voltage reaches the expected voltage value corresponding to the power consumption unit connected to it, Control the power consumption unit connected to it to work at the corresponding expected working frequency. 10.根据权利要求7所述的用电系统,其特征在于,10. The power consumption system according to claim 7, characterized in that, 所述电源管理单元,还用于在将所述工作电压调整至所述最大电压值之后,向所述功耗管理单元发送用于指示电压调整完成的反馈信号;The power management unit is further configured to, after adjusting the operating voltage to the maximum voltage value, send a feedback signal indicating completion of voltage adjustment to the power consumption management unit; 所述功耗管理单元,还用于在接收到所述反馈信号的情况下,向每个所述性能管理单元发送所述最大电压值。The power management unit is further configured to send the maximum voltage value to each of the performance management units when the feedback signal is received. 11.根据权利要求7所述的用电系统,其特征在于,11. The power consumption system according to claim 7, characterized in that, 所述功耗管理单元,在将所述最大电压值发送至所述电源管理单元之前,还用于在所述工作电压超出所述最大电压值的情况下,向每个所述性能管理单元发送取消指令;The power management unit is further configured to, before sending the maximum voltage value to the power management unit, send to each of the performance management units when the operating voltage exceeds the maximum voltage value cancel order; 每个所述性能管理单元,还用于按照所述取消指令,控制与其相连的用电单元以对应的历史工作频率工作;每个用电单元对应的历史工作频率,为以对应的目标工作频率工作之前使用的工作频率。Each of the performance management units is also used to control the power consumption unit connected to it to work at the corresponding historical operating frequency according to the cancel instruction; the historical working frequency corresponding to each power consumption unit is to use the corresponding target operating frequency The operating frequency used before the job. 12.一种频率控制方法,其特征在于,应用于用电系统,所述用电系统包括:属于同一电压域的多个用电单元、与所述多个用电单元一一对应连接的多个性能管理单元,以及与所述多个用电单元连接的电源管理单元,方法包括:12. A frequency control method, characterized in that it is applied to a power consumption system, and the power consumption system includes: multiple power consumption units belonging to the same voltage domain, and multiple power consumption units connected to the multiple power consumption units in one-to-one correspondence. A performance management unit, and a power management unit connected to the plurality of power consumption units, the method includes: 利用所述电源管理单元,为所述多个用电单元提供同一工作电压;Using the power management unit to provide the same working voltage for the plurality of power consumption units; 利用每个所述性能管理单元,根据所述工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元以对应的目标工作频率工作。Using each of the performance management units, according to the operating voltage, determine the target operating frequency corresponding to the power consumption unit connected to it, and control the power consumption unit connected to it to work at the corresponding target operation frequency. 13.根据权利要求12所述的方法,所述利用每个所述性能管理单元,根据所述工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元以对应的目标工作频率工作,包括:13. The method according to claim 12, wherein each of the performance management units is used to determine the target operating frequency corresponding to the power consumption unit connected to it according to the operating voltage, and to control the power consumption unit connected to it to The corresponding target operating frequency work includes: 利用每个所述性能管理单元,在所述工作电压超出与其相连的用电单元对应的期望电压值的情况下,获取与其相连用电单元在所述工作电压下对应的当前工作频率和最大工作频率;Using each of the performance management units, in the case that the working voltage exceeds the expected voltage value corresponding to the power consumption unit connected to it, obtain the current operating frequency and maximum working frequency corresponding to the power consumption unit connected to it under the working voltage frequency; 计算与其相连的用电单元在所述工作电压下,以对应的当前工作频率的第一预期功耗,以及以对应的最大工作频率工作的第二预期功耗;Calculating the first expected power consumption of the power consumption unit connected to it under the operating voltage at the corresponding current operating frequency, and the second expected power consumption at the corresponding maximum operating frequency; 在所述第二预期功耗低于所述第一预期功耗的情况下,将所述最大工作频率确定为与其相连的用电单元对应的目标工作频率。If the second expected power consumption is lower than the first expected power consumption, the maximum operating frequency is determined as the target operating frequency corresponding to the power consumption unit connected to it. 14.根据权利要求13所述的方法,其特征在于,所述计算与其相连的用电单元在所述工作电压下,以对应的当前工作频率的第一预期功耗,以及以对应的最大工作频率工作的第二预期功耗,包括:14. The method according to claim 13, wherein the calculation is performed at the operating voltage, the first expected power consumption of the power consumption unit connected to it at the corresponding current operating frequency, and at the corresponding maximum operating frequency The second expected power consumption for frequency operation, including: 分别计算与其相连的用电单元在所述工作电压下,以对应的当前工作频率工作的占空比和动态功耗;Calculating the duty cycle and dynamic power consumption of the power consumption unit connected to it at the corresponding current operating frequency under the operating voltage; 获取与其相连的用电单元在所述工作电压下的最大漏电电流;Obtaining the maximum leakage current of the power consumption unit connected to it under the working voltage; 根据所述最大漏电电流,以及与其相连的用电单元在所述工作电压下以对应的当前工作频率工作的动态功耗和占空比,计算所述第一预期功耗;calculating the first expected power consumption according to the maximum leakage current, and the dynamic power consumption and duty cycle of the power consumption unit connected to it working at the corresponding current working frequency under the working voltage; 根据所述最大漏电电流,以及与其相连的用电单元在所述工作电压下以对应的最大工作频率工作的动态功耗和占空比,计算所述第二预期功耗。The second expected power consumption is calculated according to the maximum leakage current, and the dynamic power consumption and duty cycle of the power consumption unit connected to it working at the corresponding maximum working frequency under the working voltage. 15.根据权利要求12所述的方法,其特征在于,所述用电系统还包括:与所述多个用电单元一一对应的多个开关单元,每个所述开关单元,连接于一个用电单元与所述电源管理单元之间,且与相连的用电单元连接的性能管理单元连接;所述利用所述电源管理单元,为所述多个用电单元提供同一工作电压之后,所述方法还包括:15. The method according to claim 12, wherein the power consumption system further comprises: a plurality of switch units corresponding to the plurality of power consumption units, each of the switch units is connected to a between the power consumption unit and the power management unit, and connected to the performance management unit connected to the connected power consumption unit; after using the power management unit to provide the same working voltage for the multiple power consumption units, the The method also includes: 利用每个所述性能管理单元,对与其相连的用电单元进行开关决策,并根据决策结果生成开关指令发送至与其相连的开关单元;Use each of the performance management units to make switching decisions on the power consumption units connected to it, and generate switching instructions according to the decision results and send them to the switching units connected to it; 利用每个所述开关单元,根据接收到的开关指令,导通或者断开与其相连的用电单元与所述电源管理单元之间的连接。Each switch unit is used to switch on or off the connection between the power consumption unit connected to it and the power management unit according to the received switch instruction. 16.一种芯片,其特征在于,包括:16. A chip, characterized in that it comprises: 属于同一电压域的多个用电单元,以及与所述多个用电单元一一对应连接的多个性能管理单元;Multiple power consumption units belonging to the same voltage domain, and multiple performance management units connected to the multiple power consumption units in one-to-one correspondence; 所述多个用电单元接入同一工作电压;The multiple power consumption units are connected to the same working voltage; 每个所述性能管理单元,用于根据所述工作电压,确定与其相连的用电单元对应的目标工作频率,并控制与其相连的用电单元以对应的目标工作频率工作。Each of the performance management units is configured to determine, according to the operating voltage, a target operating frequency corresponding to the power consumption unit connected to it, and control the power consumption unit connected to it to work at the corresponding target operation frequency. 17.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被执行时实现如权利要求12-15任一项所述的频率控制方法。17. A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed, the frequency control method according to any one of claims 12-15 is implemented.
CN202211006115.2A 2022-08-22 2022-08-22 A power consumption system, frequency control method, chip and storage medium Active CN115390610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211006115.2A CN115390610B (en) 2022-08-22 2022-08-22 A power consumption system, frequency control method, chip and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211006115.2A CN115390610B (en) 2022-08-22 2022-08-22 A power consumption system, frequency control method, chip and storage medium

Publications (2)

Publication Number Publication Date
CN115390610A true CN115390610A (en) 2022-11-25
CN115390610B CN115390610B (en) 2024-11-08

Family

ID=84120267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211006115.2A Active CN115390610B (en) 2022-08-22 2022-08-22 A power consumption system, frequency control method, chip and storage medium

Country Status (1)

Country Link
CN (1) CN115390610B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516000A (en) * 2002-10-14 2004-07-28 ض� Method for dynamically changing working frequency and morking voltage of electronic equipment and its device
US20050001600A1 (en) * 2003-07-03 2005-01-06 Morales Louis J. On-chip compensation control for voltage regulation
CN1662863A (en) * 2003-04-18 2005-08-31 半导体元件工业有限责任公司 Method and structure of forming reference voltage
CN102931655A (en) * 2011-08-12 2013-02-13 珠海全志科技股份有限公司 Circuit control system and method with dynamic voltage and frequency adjusting function
US20130093488A1 (en) * 2011-10-14 2013-04-18 Ravi Karapatti Ramaswami Test circuit and methods for speed characterization
CN103176944A (en) * 2013-03-01 2013-06-26 福州瑞芯微电子有限公司 Low power consumption multi-core system on chip (SOC) achieved on basis of different manufacturing crafts and design method thereof
CN104597393A (en) * 2015-01-29 2015-05-06 华为技术有限公司 Determination method and device for highest working frequency of chip
CN105677482A (en) * 2015-12-31 2016-06-15 联想(北京)有限公司 Frequency adjusting method and electronic equipment
CN106126841A (en) * 2016-06-30 2016-11-16 福州瑞芯微电子股份有限公司 A kind of method and apparatus based on hardware frequency conversion
CN108845659A (en) * 2018-01-30 2018-11-20 武汉大学 A kind of embeded processor real-time task distribution method that power consumption is preferential
CN109802557A (en) * 2019-01-04 2019-05-24 加码技术有限公司 The soft start and power regulating method and device of a kind of variable-frequency power sources
CN110303916A (en) * 2018-03-21 2019-10-08 现代自动车株式会社 Charging unit for electric vehicle
CN110954843A (en) * 2019-10-28 2020-04-03 珠海格力电器股份有限公司 Voltage monitoring method and device
CN111722931A (en) * 2020-06-24 2020-09-29 龙芯中科技术有限公司 Control method, device and equipment of processor and storage medium
CN111817557A (en) * 2020-07-14 2020-10-23 杰华特微电子(杭州)有限公司 Control circuit and control method of switch type converter
CN112147931A (en) * 2020-09-22 2020-12-29 哲库科技(北京)有限公司 A control method, apparatus, device and storage medium for a signal processor
CN112835752A (en) * 2019-11-25 2021-05-25 北京比特大陆科技有限公司 Chip control method, control device and electronic device
CN112906175A (en) * 2019-12-04 2021-06-04 北京大学 Semiconductor device comprehensive evaluation method oriented to ultra-low power consumption application scene

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516000A (en) * 2002-10-14 2004-07-28 ض� Method for dynamically changing working frequency and morking voltage of electronic equipment and its device
CN1662863A (en) * 2003-04-18 2005-08-31 半导体元件工业有限责任公司 Method and structure of forming reference voltage
US20050001600A1 (en) * 2003-07-03 2005-01-06 Morales Louis J. On-chip compensation control for voltage regulation
CN102931655A (en) * 2011-08-12 2013-02-13 珠海全志科技股份有限公司 Circuit control system and method with dynamic voltage and frequency adjusting function
US20130093488A1 (en) * 2011-10-14 2013-04-18 Ravi Karapatti Ramaswami Test circuit and methods for speed characterization
CN103176944A (en) * 2013-03-01 2013-06-26 福州瑞芯微电子有限公司 Low power consumption multi-core system on chip (SOC) achieved on basis of different manufacturing crafts and design method thereof
CN104597393A (en) * 2015-01-29 2015-05-06 华为技术有限公司 Determination method and device for highest working frequency of chip
CN105677482A (en) * 2015-12-31 2016-06-15 联想(北京)有限公司 Frequency adjusting method and electronic equipment
CN106126841A (en) * 2016-06-30 2016-11-16 福州瑞芯微电子股份有限公司 A kind of method and apparatus based on hardware frequency conversion
CN108845659A (en) * 2018-01-30 2018-11-20 武汉大学 A kind of embeded processor real-time task distribution method that power consumption is preferential
CN110303916A (en) * 2018-03-21 2019-10-08 现代自动车株式会社 Charging unit for electric vehicle
CN109802557A (en) * 2019-01-04 2019-05-24 加码技术有限公司 The soft start and power regulating method and device of a kind of variable-frequency power sources
CN110954843A (en) * 2019-10-28 2020-04-03 珠海格力电器股份有限公司 Voltage monitoring method and device
CN112835752A (en) * 2019-11-25 2021-05-25 北京比特大陆科技有限公司 Chip control method, control device and electronic device
CN112906175A (en) * 2019-12-04 2021-06-04 北京大学 Semiconductor device comprehensive evaluation method oriented to ultra-low power consumption application scene
CN111722931A (en) * 2020-06-24 2020-09-29 龙芯中科技术有限公司 Control method, device and equipment of processor and storage medium
CN111817557A (en) * 2020-07-14 2020-10-23 杰华特微电子(杭州)有限公司 Control circuit and control method of switch type converter
CN112147931A (en) * 2020-09-22 2020-12-29 哲库科技(北京)有限公司 A control method, apparatus, device and storage medium for a signal processor

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FEILAT: "Impact of Large PV and Wind Power Plants on Voltage and Frequency Stability of Jordan\'s National Grid", 《SUSTAINABLE CITIES AND SOCIETY》, 31 December 2018 (2018-12-31) *
白钰鹏, 郝新红, 周勇: "一种利用频率信息进行信号识别的方法", 北京理工大学学报, no. 02, 31 December 2012 (2012-12-31) *

Also Published As

Publication number Publication date
CN115390610B (en) 2024-11-08

Similar Documents

Publication Publication Date Title
CN111725879B (en) A mobile energy storage system with combined light and storage power supply and its control method
TWI431462B (en) Supply voltage control based at least in part on power state of integrated circuit
JP6605609B2 (en) Power consumption control
KR20130108021A (en) Adaptive voltage scaling using a serial interface
EP3885879A1 (en) Server rack fuel cell
CN115763911B (en) Feedback control method, device and equipment for hydrogen fuel cell system
CN104471509A (en) A bi-modal power delivery scheme for integrated circuits that enables fine grain power management for multiple functional blocks on a single die
CN103746431B (en) A kind of two PMU electric power system, method of supplying power to and mobile terminal
WO2017148362A1 (en) Control system and control method for ddr system
US11955802B2 (en) Power supply device and control method
TW201237608A (en) VR power mode interface
CN114024008A (en) Multi-stack fuel cell system power management integrated device and working method thereof
CN107529211A (en) A kind of wireless communication system and method
CN115390610A (en) Power utilization system, frequency control method, chip and storage medium
WO2025025294A1 (en) Power distribution system and power distribution method
CN114546096A (en) Base band chip, task scheduling method and terminal equipment
CN114561667A (en) A kind of renewable energy hydrogen production system and its hydrogen production equipment start-stop control method
CN114865690A (en) Three-phase micro-inverter device, system and control method thereof
JP7054991B2 (en) DC centralized power supply system
JP2009110385A (en) Data processing system
US20230332312A1 (en) System and method for controlling hydrogen production based on power production and/or power consumption
JP2022139970A (en) Power supply system, control method and power conditioner
RU2685969C1 (en) Method of controlling power consumption in a heterogeneous system on a chip
WO2022233791A1 (en) Power management of a system on a chip using a knowledge-based system
CN118693881A (en) Energy control method of microgrid system and microgrid system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20241104

Address after: 6th Floor, No.1 Chongqing Road, Banqiao District, Xinbei City, Taiwan, China, China

Patentee after: Weiguang Co.,Ltd.

Country or region after: Samoa

Address before: Room 1501, 15 / F, building 2, No. 10 yard, Chaoyang Park South Road, Chaoyang District, Beijing

Patentee before: Zheku Technology (Beijing) Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right