Recherche Images Maps Play YouTube Actualités Gmail Drive Plus »
Connexion
Les utilisateurs de lecteurs d'écran peuvent cliquer sur ce lien pour activer le mode d'accessibilité. Celui-ci propose les mêmes fonctionnalités principales, mais il est optimisé pour votre lecteur d'écran.

Brevets

  1. Recherche avancée dans les brevets
Numéro de publicationCN101738578 B
Type de publicationOctroi
Numéro de demandeCN 200910262379
Date de publication19 déc. 2012
Date de dépôt24 déc. 2009
Date de priorité24 déc. 2009
Autre référence de publicationCN101738578A
Numéro de publication200910262379.2, CN 101738578 B, CN 101738578B, CN 200910262379, CN-B-101738578, CN101738578 B, CN101738578B, CN200910262379, CN200910262379.2
Inventeurs陆美全, 邓晨辉, 李玉森, 王智仙
Déposant成都市华为赛门铁克科技有限公司
Exporter la citationBiBTeX, EndNote, RefMan
Liens externes:  SIPO, Espacenet
Method, device and system for measuring energy consumption of integrated circuits
CN 101738578 B
Résumé  Langue du texte original : Chinois
本发明实施例提供一种集成电路能耗测量方法、装置及系统。 Embodiments of the present invention provides a method of measuring the energy consumption of integrated circuits, devices and systems. 该方法包括:在预设运行条件下,获取待测集成电路上电源网络的电阻矩阵,电源网络由一个电源输出节点和与之连接的负载节点构成;在预设测量时间内,获取电源网络中负载节点与电源输出节点之间的电压构成的电压矩阵;根据电源网络的电阻矩阵、电压矩阵以及相对地面的电压获得电源网络中属于待测集成电路电源引脚的负载节点能耗;根据属于待测集成电路电源引脚的负载节点能耗获得待测集成电路的总能耗。 The method comprising: at a preset operating conditions, obtaining test integrated supply network resistance matrix, power supply network consists of a power supply output node and the load connected thereto constitute nodes; within a preset measurement time to get the power network voltage matrix formed between the load voltage node and the power supply output node; obtaining load power consumption network nodes belonging to test integrated circuit according to the power supply pin matrix network of resistors, voltage matrix and the relative ground voltage; according to belong to be IC test load node energy supply pins to obtain the total energy consumption of the integrated circuit under test. 本发明实施例无需对待测集成电路板做任何改动,并能够测量大规模、电源引脚很多的集成电路,提高了测量精度。 Embodiments of the present invention to treat measuring circuit boards without any changes, and the ability to measure mass, many of IC supply pin to improve the measurement accuracy.
Revendications(10)  Langue du texte original : Chinois
1. 一种集成电路能耗测量方法,其特征在于,包括: 在预设运行条件下,获取待测集成电路上电源网络的电阻矩阵,所述电源网络由一个电源输出节点和与之连接的负载节点构成,所述电阻矩阵由所述电源网络中任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻构成; 在预设测量时间内,获取所述电源网络中负载节点与电源输出节点之间的电压构成的电压矩阵; 根据所述电源网络的电阻矩阵、电压矩阵以及所述电源网络相对地面的电压获得所述电源网络中属于所述待测集成电路电源引脚的负载节点能耗; 根据所述属于所述待测集成电路电源引脚的负载节点能耗获得所述待测集成电路的总能耗。 An integrated energy measurement method comprising: at a preset operating conditions, obtaining test integrated supply network resistance matrix, the network consists of a power supply and the output node connected thereto load nodes, the resistance matrix to any power network by the resistance between the resistance between two nodes and node load and load power output nodes; a preset measuring time, get a load of the power supply network voltage matrix formed between the node voltage and power output node; obtaining the power supply network according to the power supply network of the resistance matrix, the matrix and the power supply voltage relative to the ground voltage network belonging to the test IC power supply pin The energy consumption of the load node; obtaining the total energy consumption of the integrated circuit to be tested according to the energy consumption of the node and the load test IC supply pin.
2.根据权利要求I所述的方法,其特征在于,所述预设运行条件下,获取待测集成电路上电源网络的电阻矩阵包括: 测量所述电源网络中任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻; 根据所述任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻生成所述电源网络对应的电阻矩阵,所述电阻矩阵的对角线元素为所述负载节点与电源输出节点之间的电阻,所述电阻矩阵的其他元素为所述任意两个负载节点之间的电阻。 2. A method according to claim I, characterized in that said predetermined operating conditions, to obtain the power network under test integrated circuit resistor array comprising: a power network between any two nodes measuring said load resistance and load resistance between the power supply node and an output node; according to the arbitrary power resistor network generates the corresponding matrix resistance between the resistance between two nodes and node load and the load power output node, the resistance matrix The diagonal elements of the load resistance between the power supply node and the output node, the other elements of the resistance matrix for the resistance between the two nodes of any load.
3.根据权利要求I或2所述的方法,其特征在于,所述在预设测量时间内,获取所述电源网络中负载节点与电源输出节点之间的电压构成的电压矩阵包括: 测量预设测量时间内所述电源网络中负载节点与电源输出节点之间的电压: 根据所述负载节点与电源输出节点之间的电压生成所述电源网络对应的电压矩阵。 3. The method according to claim I or claim 2, characterized in that said measurement within a preset time, the voltage between the voltage matrix to obtain the network load power supply node and the output nodes comprises: measuring a pre- set measurement time of the voltage between the power source node and the network load power output node: generate the power supply network voltage matrix corresponding to the load based on the voltage between the power supply node and the output node.
4.根据权利要求3所述的方法,其特征在于,所述根据所述电源网络的电阻矩阵、电压矩阵以及所述电源网络相对地面的电压获得所述电源网络中属于所述待测集成电路电源引脚的负载节点能耗包括: 根据所述电源网络的电阻矩阵和电压矩阵获取所述电源网络中属于所述待测集成电路电源引脚的负载节点上的电流; 根据所述属于所述待测集成电路电源引脚的负载节点上的电流以及所述电源网络相对地面的电压获得所述电源网络中属于所述待测集成电路电源引脚的负载节点能耗。 4. The method according to claim 3, wherein said obtaining said measured power network belonging to the integrated circuit of the power supply network according to the resistance matrix, the matrix and the power supply voltage relative to the ground voltage network energy supply pin load node comprising: obtaining a current load on the test node IC power pins of the power supply network in accordance with the power supply network belonging to the resistance and voltage matrix matrix; according to the belonging to the current, and the power load on the network node test IC supply pin voltage relative to the ground to get a load of the power supply network in the energy consumption of nodes belonging to the test IC supply pin.
5. 一种集成电路能耗测量装置,其特征在于,包括: 测量模块,用于在预设运行条件下,获取待测集成电路上电源网络的电阻矩阵,所述电阻矩阵由所述电源网络中任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻构成,并在预设测量时间内,获取所述电源网络中负载节点与电源输出节点之间的电压构成的电压矩阵,所述电源网络由一个电源输出节点和与之连接的负载节点构成; 数据处理模块,用于根据所述测量模块测量的所述电源网络的电阻矩阵、电压矩阵以及所述电源网络相对地面的电压获得所述电源网络中属于所述待测集成电路电源引脚的负载节点能耗,并根据所述属于所述待测集成电路电源引脚的负载节点能耗获得所述待测集成电路的总能耗。 5. An integrated circuit power consumption measuring apparatus comprising: a measurement module for at a preset operating conditions, obtaining test integrated supply network resistance matrix, the matrix of the resistance by the power network resistance between the resistance between any two nodes and load nodes and load power output nodes, and within a preset measurement time for the voltage of the power supply network between the load voltage power supply node and the output node configuration matrix, the network consists of a power supply output node and the load connected thereto constitute nodes; data processing module for measuring the resistance of the measurement module of the power supply network of the matrix, the matrix voltage relative to the ground and the power supply network The voltage gain of the power supply network and the load node power consumption of the integrated circuit pin test and get the test integrated circuit according to the energy consumption of the node and the load test IC supply pins The total energy consumption.
6.根据权利要求5所述的装置,其特征在于,所述测量模块包括: 电阻矩阵测量单元,用于获取待测集成电路上所述电源网络中的所述电阻矩阵;电压矩阵测量单元,用于获取所述电源网络中的所述电压矩阵。 6. The apparatus according to claim 5, characterized in that the measuring module comprises: resistive matrix measuring unit for acquiring the integrated circuit under test power supply of the resistor matrix network; voltage measuring unit matrix, for obtaining the voltage of the power supply network in the matrix.
7.根据权利要求6所述的装置,其特征在于,所述电阻矩阵测量单元包括: 电阻测量子单元,用于测量所述电源网络中任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻; 电阻矩阵生成子单元,用于根据所述电阻测量子单元测量的任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻生成所述电源网络对应的电阻矩阵,所述电阻矩阵的对角线元素为所述负载节点与电源输出节点之间的电阻,所述电阻矩阵的其他元素为所述任意两个负载节点之间的电阻。 7. The apparatus according to claim 6, wherein said resistance measuring unit matrix comprises: measuring sub-unit resistor for measuring the resistance of the power supply network between any two nodes, and the load node and the load power resistance between the output node; matrix generating resistor subunit operable in accordance with the corresponding resistance between the resistance between any two nodes of said load resistance measuring sub-unit measures the power and the load node and the output node of the power generating network resistance matrix, the diagonal matrix elements of the resistance to the load resistance between the power supply node and the output node, the other elements of the matrix is the resistance between two arbitrary resistive loads nodes.
8.根据权利要求6所述的装置,其特征在于,所述电压矩阵测量单元包括: 电压测量子单元,用于测量预设测量时间内所述电源网络中负载节点与电源输出节点之间的电压; 电压矩阵生成子单元,用于根据所述电压测量子单元测量的负载节点与电源输出节点之间的电压生成所述电源网络对应的电压矩阵。 8. The apparatus according to claim 6, characterized in that the voltage measuring unit matrix comprises: a voltage measuring sub-unit, measuring time between the load node and the output node of the power supply network for measuring a preset voltage; voltage sub-matrix generating unit for generating a voltage corresponding to the power network between the matrix according to the voltage of the load node voltage measuring unit measures the sub-power supply output node.
9.根据权利要求5所述的装置,其特征在于,所述数据处理模块包括: 电流计算单元,用于根据所述测量模块测量的所述电源网络的电阻矩阵和电压矩阵获取所述电源网络中属于所述待测集成电路电源引脚的负载节点上的电流; 能耗计算单元,用于根据所述电流计算单元计算的所述每个负载节点上的电流以及相对地面的电压获得所述电源网络中属于所述待测集成电路电源引脚的负载节点能耗,并根据所述属于所述待测集成电路电源引脚的负载节点能耗获得在所述预设运行条件下、待测集成电路的总能耗。 9. The apparatus according to claim 5, characterized in that said data processing module comprising: a current calculating means for obtaining the power supply network in accordance with the measurement module measuring the resistance of the power supply network voltage matrix and matrix belonging to the current load on the test node IC power pins; energy calculation unit for current as well as relative to the ground on the computing unit calculates the current load on each node voltage to obtain the power supply network and the load node energy consumption of the integrated circuit under test power pins, and according to the energy consumption of the test and the load node IC power pins in the pre-operational conditions, the test The total energy consumption of the integrated circuit.
10. 一种集成电路能耗测量系统,其特征在于,包括控制模块、显示模块以及如权利要求5〜9任一项所述的集成电路能耗测量装置; 所述控制模块用于设置运行条件和测量时间,控制所述集成电路能耗测量装置进行测量及数据处理; 所述显示模块用于在所述控制模块的控制下显示所述集成电路能耗测量装置的测量及数据处理结果。 10. An integrated circuit power consumption measuring system, characterized by comprising a control module, a display device of the integrated circuit power consumption measuring module and 5~9 any claim; wherein the control module is used to set the operating conditions and measurement time, the control of the measuring device to measure the energy consumption of integrated circuits and data processing; the display module is under control of the control module display measurement and data processing result of the integrated circuit power consumption measuring device.
Description  Langue du texte original : Chinois

集成电路能耗测量方法、装置及系统 IC consumption measurement method, apparatus and system

技术领域 Technical Field

[0001] 本发明涉及电路技术领域,尤其涉及一种集成电路能耗测量方法、装置及系统。 [0001] The present invention relates to the field circuit, and more particularly to an integrated energy measurement method, apparatus and system.

背景技术 Background

[0002]目前,为了满足节能减排的需求,进行绿色节能产品开发,测试集成电路单板能耗不仅需要针对整块单板,还要针对单板中各模块或芯片等主要器件进行能耗测试,进而为开发人员设计单板电源提供参考。 [0002] Currently, in order to meet the needs of energy saving, the development of green energy-saving products, energy consumption testing integrated circuit board need not only for the block board, but also for each module or chip board and other major energy devices testing, thereby providing a reference for developers to design board power.

[0003] 现有的能耗测试方法需要修改电路板,在待测电路中加入电流互感器或采样电阻等器件进行测量,这种测量方法的测量精度受到采样器件的制约,较难测量大规模、电源引·脚很多的集成电路。 [0003] The energy consumption of existing test methods to modify the circuit board, to join the current transformer or sense resistor and other measuring devices in the circuit to be tested, the measuring accuracy of this measurement method is restricted by the sampling device, difficult to measure mass Power IC lead · foot lot.

发明内容 DISCLOSURE

[0004] 本发明实施例提供一种集成电路能耗测量方法、装置及系统,用以解决现有技术中测量精度受采样器件影响很大,并且无法测量大规模、电源引脚很多的集成电路的问题。 The embodiment provides an integrated circuit power consumption measuring method, apparatus and system [0004] The present invention to solve the prior art device measurement accuracy by sampling a great impact, and can not measure the scale, many IC power supply pin problems.

[0005] 本发明实施例提供一种集成电路能耗测量方法,包括: [0005] The embodiments of the present invention to provide an integrated energy measurement method comprising:

[0006] 在预设运行条件下,获取待测集成电路上电源网络的电阻矩阵,所述电源网络由一个电源输出节点和与之连接的负载节点构成,所述电阻矩阵由所述电源网络中任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻构成; [0006] In the pre-operating conditions, obtaining test integrated supply network resistance matrix, the power supply network consists of a power supply output node and the load node connected thereto constitute a resistance matrix by the power supply network resistance between the resistance between any two nodes and node load and the load power output nodes;

[0007] 在预设测量时间内,获取所述电源网络中负载节点与电源输出节点之间的电压构成的电压矩阵; [0007] within a preset measurement time to obtain voltage matrix composed of a voltage between the power source node and the network load power output node;

[0008] 根据所述电源网络的电阻矩阵、电压矩阵以及所述电源网络相对地面的电压获得所述电源网络中属于所述待测集成电路电源引脚的负载节点能耗; [0008] to obtain the energy consumption of the power load node belonging to the network under test integrated circuit power supply pins according to the supply network resistance matrix, the matrix and the power supply network voltage relative to the ground voltage;

[0009] 根据所述属于所述待测集成电路电源引脚的负载节点能耗获取所述待测集成电路上的总能耗。 [0009] to obtain the total energy consumption of the integrated circuit under test and the load on the energy consumption of nodes according to the test IC supply pin.

[0010] 本发明实施例提供一种集成电路能耗测量装置,包括: [0010] embodiment of the present invention to provide an integrated energy measuring device, comprising:

[0011] 测量模块,用于在预设运行条件下,获取待测集成电路上电源网络的电阻矩阵,所述电阻矩阵由所述电源网络中任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻构成,并在预设测量时间内,获取所述电源网络中负载节点与电源输出节点之间的电压构成的电压矩阵,所述电源网络由一个电源输出节点和与之连接的负载节点构成; [0011] Measurement module for under preset operating conditions, obtaining test integrated supply network resistance matrix, the matrix resistance resistance between any two nodes and load nodes load by the power supply network with resistance between power output nodes, and within a preset measurement time to obtain voltage matrix composed of a voltage between the power source node and the network load power output node, the network consists of a power supply output node and with load node attached form;

[0012] 数据处理模块,用于根据所述测量模块测量的所述电源网络的电阻矩阵、电压矩阵以及所述电源网络相对地面的电压获得所述电源网络中属于所述待测集成电路电源引脚的负载节点能耗,并根据所述属于所述待测集成电路电源引脚的负载节点能耗获得所述待测集成电路的总能耗。 [0012] The data processing module for measuring the resistance of the measurement module of the power supply network of the matrix, the matrix and the relative ground voltage of the power supply voltage of the power supply network to obtain network belonging to the integrated circuit under test power supply lead load energy consumption of nodes feet and get the total energy consumption of the integrated circuit to be tested according to the energy consumption of the node and the load test IC supply pin.

[0013] 本发明实施例还提供一种集成电路能耗测量系统,包括控制模块、显示模块以及集成电路能耗测量装置;[0014] 所述控制模块用于设置运行条件和测量时间,控制所述集成电路能耗测量装置进行测量及数据处理; [0013] Embodiments of the present invention further provides an integrated circuit power consumption measuring system, comprising a control module, display module and an integrated circuit power consumption measuring means; [0014] The control module is used to set the operating conditions and the measurement time, the control said measuring device to measure the energy consumption of integrated circuits and data processing;

[0015] 所述显示模块用于在所述控制模块的控制下显示所述集成电路能耗测量装置的测量及数据处理结果。 [0015] The display module is used under the control of the control module display measurement and data processing result of the integrated circuit power consumption measuring device.

[0016] 本发明实施例的集成电路能耗测量方法、装置及系统,通过测量集成电路中各电源输出节点和与之连接的负载节点构成电源网络中的电阻矩阵和电压矩阵,获得属于待测集成电路电源引脚的负载节点能耗,进而获得待测集成电路的能耗,能够测量大规模、电源引脚很多的集成电路,无需对待测集成电路板做任何改动,提高了测量精度。 [0016] IC consumption measurement method, apparatus and system embodiments of the present invention, the integrated circuit by measuring the output node and the load of each power supply node connected thereto constitute the power network and voltage resistance matrix matrix obtained belong tested load energy consumption of nodes IC power pins, and then get the energy consumption of the integrated circuit under test, is capable of measuring large scale, many of the IC supply pin, measuring circuit boards do not need to deal with any changes to improve the measurement accuracy.

附图说明 Brief Description

[0017] 为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0017] In order to more clearly illustrate the technical solution example embodiment of the present invention, the following example will be described in the embodiment of the drawings is required to make a brief introduction, Obviously, the following description of the drawings are some of the present invention, Example, those of ordinary skill in speaking, without creative efforts of the premise, but also can derive other drawings from these drawings.

[0018] 图I为本发明一个实施例提供的集成电路能耗测量方法流程图; [0018] FIG. I of the present invention to provide integrated circuit power consumption measuring method according to an embodiment of a flow chart;

[0019] 图2为本发明实施例提供的电源网络结构示意图一; [0019] FIG. 2 is a schematic structure of the power supply network according to an embodiment of a schematic diagram;

[0020] 图3为本发明又一个实施例提供的集成电路能耗测量方法流程图; [0020] 3 is an integrated energy measurement method provided in a further embodiment of a flow chart;

[0021] 图4为本发明实施例提供的电源网络结构示意图二; [0021] FIG. 4 embodiment of the present invention to provide a power supply network configuration example Diagram II;

[0022] 图5为本发明一个实施例提供的集成电路能耗测量装置结构示意图; [0022] FIG. 5 is a schematic configuration of the invention integrated energy measuring device provided according to an embodiment;

[0023] 图6为本发明又一个实施例提供的集成电路能耗测量装置结构示意图; [0023] FIG. 6 of the present invention has a structure of an integrated circuit schematic energy measuring apparatus according to an embodiment;

[0024]图7为本发明一个实施例提供的集成电路能耗测量系统结构示意图。 [0024] FIG. 7 is a schematic view of the invention the measurement structure integrated energy system provided in one embodiment.

具体实施方式 DETAILED DESCRIPTION

[0025] 为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。 [0025] The purpose of the present invention, technical solutions and advantages of the embodiments more clearly, the present invention will now be combined with the implementation of the drawings, were a clear example of the technical solutions of the present invention, a complete description of, obviously, the described examples are part of the embodiments of the present invention, but not all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, those of ordinary skill in making all other embodiments no creative effort obtained are within the scope of protection of the present invention.

[0026] 图I为本发明一个实施例提供的集成电路能耗测量方法流程图,如图I所示,该方法包括: [0026] Figure I embodiment of the present invention, a flow chart of integrated energy measurement method provided, as I, the method comprising:

[0027] S101、在预设运行条件下,获取待测集成电路上电源网络的电阻矩阵,其中,电源网络由一个电源输出节点和与之连接的负载节点构成,该电阻矩阵由电源网络中任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻构成; [0027] S101, at a preset operating conditions, obtaining test integrated supply network resistance matrix, wherein the power supply network consists of a power supply output node and the load node connected thereto constitute the matrix any resistance from the power supply network resistance between the resistance between two nodes and node load and load power output nodes;

[0028] S102、在预设测量时间内,获取电源网络中负载节点与电源输出节点之间的电压构成的电压矩阵; [0028] S102, a preset measurement time to obtain voltage matrix composed of a voltage between the power supply node and network load power output node;

[0029] 其中,SlOl和S102并无先后顺序,先测量电阻矩阵或先测量电压矩阵均可。 [0029] where, SlOl and S102 no sequence, the first measurement of the resistance matrix or the first measurement of voltage matrix can be. 运行条件包括待测集成电路的中央处理单元(Central Processing Unit ;以下简称:CPU)内核温度、工作频率等运行参数,在对待测集成电路进行测量前,可以使待测集成电路运行于某一运行条件下,这样便于在最后得出待测集成电路的能耗时,能够分析能耗与运行参数的关系,进而对不同运行参数下的能耗情况进行评估。 Operating conditions including a central processing unit under test integrated circuit (Central Processing Unit; hereinafter referred to as: CPU) core temperature, frequency and other operating parameters, IC test before treatment were measured, can run on a test run IC Under the conditions, when it is easy to obtain energy in the final test of the integrated circuit, to analyze the relationship between energy consumption and operating parameters, and then on the energy consumption under different operating parameters were evaluated. [0030] 通常,一个印刷电路板(PrintedCircuitBoard ;以下简称:PCB)上具有多个集成电路,可以分别对各个集成电路的能耗进行测量。 [0030] Typically, a printed circuit board (PrintedCircuitBoard; hereinafter: PCB) having a plurality of integrated circuits, power consumption can be separately measured for each integrated circuit. 电源网络是指PCB板上某一电源输出节点和与之连接的所有过孔、焊盘和PCB走线构成的网络,其中,电源输出节点是为PCB板供电的节点。 Power network refers to the network of a power output node and all vias, pads and PCB traces connected thereto constitute the PCB, in which power output node is powered nodes PCB board. 其中,PCB走线和过孔是电源网络的连线,焊盘是电源网络的节点,除了电源输出节点以外的节点都是负载节点,而负载节点中的一部分是待测集成电路板的电源引脚,电源引脚是为集成电路供电的节点,集成电路的电源引脚可能分别属于各个不同的电源网络,测量集成电路的能耗主要是测量集成电路板上各电源引脚的能耗。 Which, PCB traces and vias are wired power supply network, the power network node pad, in addition to the power supply output node with all load nodes and a portion of the load node is tested integrated circuit board's power lead pins, power supply pins for the integrated circuit node, IC power supply pin may belong to different power network, measured the energy consumption of integrated circuits primarily by measuring the energy consumption of each power supply integrated circuit board pins.

[0031] 在一个电源网络中,我们通常只需选取电流较大的负载节点,而将电流较小的负载节点忽略,选取的负载节点越多,测量的精度越高。 [0031] In a power network, we usually just select a large load current node, and will ignore the current smaller load node, the more load the selected node, the higher the measurement accuracy. 图2给出了一个电源网络的结构示意图,参见图2,该电源网络中包括一个电源输出节点和三个负载节点,该电源网络中的所有过孔均合并到PCB走线上,则电源网络上任意两个节点之间的电阻为PCB走线电阻与过孔电阻之和。 Figure 2 shows a schematic structure of a power supply network, see Figure 2, which includes a power supply network output node and three load node, the power supply network in all vias are incorporated into the PCB traces, the power network resistance between any two nodes on the PCB trace resistance and a hole resistances too. 可以将电源网络中的各个节点进行编号,测量出电源网络上任意两个节点之间的电阻,从而得出电源网络的电阻矩阵,由于每个电源网络的拓扑结构是确定的,因此,每个电源网络的电阻矩阵也是确定的,每个电源网络的电阻矩阵只需要测量一次。 Power each node in the network may be numbered, the resistance measured between any two nodes on the power supply network, to arrive at the resistance of the power supply network matrix due to the topology of the network is determined for each of the power supply, and therefore, each supply network resistance matrix is determined for each of the supply network resistance matrix only measured once. ·[0032] 在测量电源网络的电压矩阵时,只需要考虑电源输出节点与负载节点之间的电压,在待测集成电路通电后,电源输出节点与负载节点之间的电压通常只有几十毫伏,甚至更小,可以在预设的一段采集时间内,实施采集电源输出节点与各负载节点之间的电压,并构成电压矩阵,这样可以获取在一段采集时间内的电源网络上各负载节点的能耗曲线。 * [0032] In the measurement of the voltage of the power supply network matrix, need only consider the voltage between the power output node and the load node, in the integrated circuit under test is energized, the voltage between the power output node and the load node is usually only a few cents V, even smaller, it can preset period of collection time, implement the acquisition of the power supply voltage between the output node and each load node, and constitutes voltage matrix, so you can get on each load node over a period of time of the power collection network energy curve.

[0033] S103、根据电源网络的电阻矩阵、电压矩阵以及电源网络相对地面的电压获得电源网络中属于待测集成电路电源引脚的负载节点能耗; [0033] S103, according to the power network of the resistance matrix, the matrix and the supply network voltage relative to the ground to get the power supply voltage and the load energy consumption of nodes in the network under test integrated supply pin;

[0034] 根据每个电源网络的电阻矩阵和电压矩阵,可以获得电源网络中各个负载节点上的电流,而电源网络中的负载节点中,只有一部分是待测集成电路的电源引脚,我们只关心这部分电源引脚的能耗,根据该电源网络相对地面的电压,便可获取属于待测集成电路电源引脚的负载节点在该电源网络上的能耗,其中,电源网络相对地面的电压即为电源网络相对于“零电位”的电压。 [0034] According to each of the power supply network of the resistance matrix and voltage matrix, the current load on each network node can be powered, and the power load on the network node, only a portion of an integrated circuit of the power supply pins are tested, we only This part of the energy supply pin concern, according to which the power supply network voltage relative to the ground, you can get tested IC power pins belong load energy consumption of nodes on the power supply network, in which the power supply network voltage relative to the ground that is, with respect to the supply network voltage "zero point" of.

[0035] S104、根据属于待测集成电路电源引脚的负载节点能耗获得待测集成电路的总能耗。 [0035] S104, according to the load nodes belonging to the test IC power pins to obtain the total energy consumption of the integrated circuit under test.

[0036] 待测集成电路的能耗为各个电源引脚分别在各自的电源网络中的能耗总和,在测量结束之后,可以将集成电路的能耗至与测量时间描绘成关系曲线,从而能够观察集成电路能耗的变化趋势。 [0036] measured the energy consumption of integrated circuits for the respective power pins in their respective total power consumption in the network, at the end of the measurement, you can measure the energy consumption of the integrated circuit to the time depicted as curves, allowing IC power consumption trends observed. 进一步的,还可以得出集成电路的能耗与CPU占用率、内核温度、运行频率等参数之间的关系曲线,便于开发集成电路时进行器件选型、电源设计和能耗管理,进而有利于节能减排,降低成本并推广绿色节能产品。 Further, it can also draw curves energy consumption and CPU usage, core temperature, operating frequency and other parameters of the integrated circuit between the conduct device selection, when the power supply design and energy management to facilitate the development of integrated circuits, thereby helping to energy conservation, reduce costs and promote green energy-saving products.

[0037] 本实施例提供的集成电路能耗测量方法,通过测量集成电路中各电源输出节点和与之连接的负载节点构成电源网络中的电阻矩阵和电压矩阵,获得属于待测集成电路电源引脚的负载节点在待测集成电路上的能耗,进而获得待测集成电路的能耗,能够测量大规模、电源引脚很多的集成电路,并且无需对待测集成电路板做任何改动,提高了测量精度。 [0037] The integrated energy measurement method provided in the embodiment, an integrated circuit by measuring the output node and the load of each power supply node connected thereto constitute the power network and voltage resistance matrix matrix obtained belong tested IC supply lead foot load energy consumption of nodes in an integrated circuit under test, then get the energy consumption of the integrated circuit under test, is capable of measuring large scale, many of the IC supply pins and circuit boards do not need to treat the measure any changes to improve the measurement accuracy.

[0038] 图3为本发明又一个实施例提供的集成电路能耗测量方法流程图,如图3所示,该方法包括: [0038] Figure 3 of the present invention to provide integrated circuit power consumption measuring method according to still another embodiment of a flow diagram, shown in Figure 3, the method comprising:

[0039] S201、测量电源网络中任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻; [0039] S201, measuring power network between resistance between any two nodes and node load and the load resistance of the power supply output node;

[0040] S202、根据任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻生成每个电源网络对应的电阻矩阵,电阻矩阵的对角线元素为负载节点与电源输出节点之间的电阻,电阻矩阵的其他元素为任意两个负载节点之间的电阻; [0040] S202, according to the resistance between the load resistance between any two nodes and load nodes and node generates a power output of each power supply network corresponding to the diagonal elements of the resistance matrix, the matrix of load resistance and power supply output node node the resistance between the resistance of the other elements of the matrix is a load resistance between any two nodes;

[0041] 参见图4,可以对电源网络中的各节点进行编号,构建电阻矩阵,构建电阻矩阵可以采用如下方式: [0041] Referring to Figure 4, each of the power supply network node numbers build resistance matrix, the matrix can be used to build resistance as follows:

[0042] [0042]

Figure CN101738578BD00071

[0043] 其中,电阻矩阵中的对角线元素Rii表示负载节点i与电源输出节点之间的电阻,其他元素Ru α幸j)表示负载节点i与负载节点j之间的电阻,例如=R11表示负载节点I与电源输出节点之间的电阻,R23表示负载节点2和负载节点3之间的电阻。 [0043] where the diagonal matrix elements of the resistance Rii represents the resistance of the load between the nodes i and power output node, the other elements Ru α Fortunately, j) represents the resistance of the load node i and j between the load node, for example = R11 represents the resistance of the load between the node I and the power supply output node, R23 represents the resistance of the load node 3 between 2 and load nodes. 显然,Rij = Rji,即该电阻矩阵是对称矩阵。 Obviously, Rij = Rji, that is, the resistance matrix is a symmetric matrix.

[0044] 以上仅给出一个构成电阻矩阵的例子,电阻矩阵还可以采用其他形式构建,不列举。 [0044] above gives only one constituent resistor matrix example, resistance matrix also can use other forms of construction, not a few.

[0045] S203、测量预设测量时间内电源网络中负载节点与电源输出节点之间的电压; [0045] S203, measuring preset voltage measuring time between the network load power supply node and an output node;

[0046] S204、根据负载节点与电源输出节点之间的电压生成电源网络对应的电压矩阵; [0046] S204, according to the voltage between the node and the power output load power supply network node generates a voltage corresponding to the matrix;

[0047] 电压矩阵可以采用如下形式: [0047] voltage matrix may take the form:

[0048] [0048]

Figure CN101738578BD00072

[0049] 其中Ui表示负载节点i与电源输出节点之间的电压差。 [0049] where Ui represents the voltage between the load and the power supply output node node i difference. 由于电源网络各节点之间的电阻很小,负载节点与电源输出节点之间的电压差通常也只有几十毫伏,甚至更小。 As the voltage difference between the resistance of the power network between nodes is very small, the load node and the power supply output node is typically only tens of millivolts, or even smaller.

[0050] 以上仅为构成电压矩阵的一个例子,电压矩阵的构建方法还可以随着电阻矩阵构建方式的变化而变化。 An example of [0050] More than just form a voltage matrix construction method voltage matrix may also vary with the matrix way to build resistance varies.

[0051] S205、根据电源网络的电阻矩阵和电压矩阵获取电源网络中属于待测集成电路电源引脚的负载节点上的电流; [0051] S205, according to the power network and voltage resistance matrix matrix obtaining supply network on the measured current IC power supply pin load node belongs;

[0052] 具体的,电阻矩阵R的逆矩阵是电源网络的导纳矩阵Y,Y可表示为 [0052] Specifically, the resistor R matrix inverse matrix is the admittance matrix Y power network, Y can be expressed as

[0053] [0053]

Figure CN101738578BD00073

[0054] 导纳矩阵的对角线元素Yii表示负载节点i与电源输出节点之间的导纳,其他元素Yij(i幸j)表示负载节点i与负载节点j之间的导纳。 [0054] The diagonal elements of admittance matrix representation admittance Yii load between nodes i and power output node, other elements Yij (i fortunately j) represents the admittance load node i and the load node j. 导纳矩阵与电阻矩阵一样是对称矩阵。 Admittance matrix with the same resistance matrix is a symmetric matrix. 根据欧姆定律,流过各个负载节点的电流矩阵为: According to Ohm's law, flow through each load node current matrix is as follows:

[0055] [0055]

Figure CN101738578BD00074

[0056] 其中,电流矩阵I的每一项Ii表示流过负载节点i的电流。 [0056] wherein each of the current matrix I, Ii flowing through the load node i represents a current. [0057] S206、根据属于待测集成电路电源引脚的负载节点上的电流以及电源网络相对地面的电压获得电源网络中属于待测集成电路电源引脚的负载节点能耗; [0057] S206, based on the current and power load on the network nodes belonging to the test IC power pins relative to the ground to get the load node voltage energy supply network belong to the test IC supply pin;

[0058] 由于获得了电流矩阵I的每一项Ii表示流过负载节点i的电流,因此,可以根据该电源网络相对地面的电压获得属于待测集成电路电源引脚的负载节点在该电源网络上的能耗。 [0058] due to the availability of each of the current matrix I Ii flowing through the load node i represents a current, so you can get the load nodes belonging to the test IC power pins in the power network according to the power network voltage relative to the ground on energy.

[0059] S207、根据属于待测集成电路电源引脚的负载节点能耗获得待测集成电路的总能耗。 [0059] S207, according to the load nodes belonging to the test IC power pins to obtain the total energy consumption of the integrated circuit under test.

[0060] 对于一个电源网络中选取的负载节点,不一定是同一个集成电路的电源引脚焊盘。 [0060] For a power supply network in the selected load node, not necessarily the same integrated circuit power supply pin pad. 因此,如果要计算某个集成电路在该电源网络消耗的功率,就要计算该集成电路在该电源网络上所有电源引脚的焊盘的功耗。 So, if you want to calculate an integrated circuit in the power supply network power consumption, it is necessary to calculate the integrated circuit in the power supply network on all power supply pin pads. 比如,上述电源网络的3个负载点中,负载节点I和负载节点3是集成电路A的电源引脚的焊盘,而负载节点2是集成电路B的电源引脚的焊盘。 For example, three load point of the power supply network, the load and the load node I Node 3 A pad is integrated power pins and the load node 2 is a pad of an integrated circuit B power pins. 如果要计算集成电路A在上述电源网络消耗的功率,就要把负载节点I和负载节点3的电流挑选出来,形成电流矩阵Γ : If you want to calculate the integrated circuit in the power supply network A power consumed, I just want to load node and load current of 3 selected nodes, forming the current matrix Γ:

[0061] I'= Ιχ [0061] I '= Ιχ

_ _

[0062] 当然,如果上述3个负载节点都是集成电路A的电源引脚焊盘,那么I' =1。 [0062] Of course, if the above three load nodes are integrated A power supply pin pad, so I '= 1. 若电源网络相对地面电压是V1,那么电流I'所消耗的功率矩阵P1 : Relative to the ground when the supply network voltage is V1, then the current I 'consumed power matrix P1:

F1 χ /, I 「 F1 χ /, I "

[0063] P1 =V1XF= J ; = [0063] P1 = V1XF = J; =

X/3」LR X / 3 "LR

[0064] 其中,P1和p3分别表示负载节点I和负载节点3所消耗的功率。 [0064] where, P1, and p3 denote the load and the load node node I consumed 3 Power. 因为负载节点I和负载点3都是集成电路A的电源引脚在电源网络V1上的焊盘,集成电路A在电源网络V1上消耗的功率Pvi是矩阵P1中所有元素之和为: Because the load node I and 3 are integrated load point A of the power supply pin pads V1 network, the power integrated circuit in the power supply network V1 A consumption P1 Pvi is all elements of the matrix and are:

[0065] Pvi = Σ Pi [0065] Pvi = Σ Pi

[0066] 其中,Pi是待测集成电路电源引脚在电源网络V1上的焊盘,即负载节点点i所消耗的功率。 [0066] where, Pi is the test pads on the IC power supply pins V1 power network, that node point i load power consumed. 在这里,集成电路A在电源网络V1上消耗的功率为: Here, the integrated circuit in the power network A V1 power consumption:

[0067] Pvi = P^P3 [0067] Pvi = P ^ P3

[0068] 实际上很多集成电路连到多个电源网络上,例如:集成电路A还连到电压分别为V2……Vn的η个电源网络上,那么集成电路A的能耗是其在η个电源网络上消耗的功耗之和,可以分别提取η个电源网络对应的电阻矩阵和电压矩阵,再分别计算出在这些电源网络上的能耗: [0068] In fact, many integrated circuit connected to the plurality of power supply network, for example: an integrated circuit A is also connected to the voltage on V2 ...... Vn the η power supply network respectively, then the energy consumption of the integrated circuit A is its η a power sum can be extracted separately on the supply network power supply network consumption η matrix corresponding resistance and voltage matrix, and then calculate the power consumption in these networks are:

η η

[0069] P = YjPvi [0069] P = YjPvi

(=\ (= \

[0070] 其中,Pvi是待测集成电路在电源网络Vi上的能耗,可以由电源网络Vi的电阻矩阵、电压矩阵和电源网络电压值Vi计算出。 [0070] where, Pvi IC power consumption is measured on the power supply network Vi may be by the power supply network of the resistance matrix Vi, voltage matrix and the supply network voltage value Vi is calculated. 如果集成电路A有三种电源引脚焊盘,分别连到电压为和V3的三个电源网络上,那么集成电路A的能耗为: If A has three power IC pin pads, are connected to the voltage and V3 three power network, the energy consumption of the integrated circuit A:

[0071] P = Ρν1+Ρν2+Ρν3 [0071] P = Ρν1 + Ρν2 + Ρν3

[0072] 当然,如果集成电路A只有一种电源引脚焊盘,连到电源网络V1上,可以算出集成电路能耗为: [0072] Of course, if there is only one power supply IC A pin pad connected to the power supply network V1, integrated energy consumption can be calculated as follows:

[0073] P = Pvi[0074] 待测集成电路的能耗为各个电源引脚在各自电源网络上的能耗总和,在测量结束之后,可以将集成电路的能耗至与测量时间描绘成关系曲线,从而能够观察集成电路能耗的变化趋势。 [0073] P = Pvi [0074] measured the energy consumption of the integrated circuit is the sum of the energy consumption of each power supply pin on their network, at the end of the measurement, you can measure the energy consumption of the integrated circuit and the time to portray relations curve, it is possible to observe the change of energy of the integrated circuit. 进一步的,还可以得出集成电路的能耗与CPU占用率、内核温度、运行频率等参数之间的关系曲线。 Further, it can also draw curves and energy consumption of integrated circuits CPU occupancy rate, core temperature, operating frequency and other parameters.

[0075] 本实施例提供的集成电路能耗测量方法,通过测量集成电路中各电源输出节点和与之连接的负载节点构成电源网络中的电阻矩阵和电压矩阵,得到属于待测集成电路电源引脚的负载节点上流过的电流,进而获得属于待测集成电路电源引脚的负载节点在待测集成电路上的能耗,能够测量大规模、电源引脚很多的集成电路,无需对待测集成电路所在的PCB板做任何改动,提高了测量精度。 [0075] The integrated energy measurement method provided in the embodiment, an integrated circuit by measuring the output node and the load of each power supply node connected thereto constitute the power network and voltage resistance matrix matrix, get tested below the IC supply lead feet of the current flowing through the load node, and then get a load node belongs tested IC power pins on the measured energy consumption of integrated circuits, is capable of measuring large scale, many of the IC supply pins, no treatment measurement IC where the PCB board to make any changes to improve the measurement accuracy. 本实施例便于开发集成电路时进行器件选型、电源设计和能耗管理,进而有利于节能减排,降低成本并推广绿色节能产品。 The embodiments of device selection, when the power supply design and energy management to facilitate the development of integrated circuits, and thus in favor of energy conservation, reduce costs and promote green energy-saving products.

[0076] 本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:R0M、RAM、磁碟或者光盘等各种可以存储程序代码的介质。 [0076] Those of ordinary skill will be understood: the above-described method can be realized by a program instructing relevant hardware all or part of the steps implemented to complete, The program may be stored in a computer readable storage medium, the program execution when executing the method comprising the steps of the above-described embodiments; and the aforementioned storage medium comprising: R0M, RAM, disk, or an optical medium can store program codes.

[0077] 图5为本发明一个实施例提供的集成电路能耗测量装置结构示意图,如图5所示,该装置包括:测量模块51和数据处理模块52 ; [0077] the present invention, FIG. 5 a schematic view of the structure of an integrated circuit power consumption measuring apparatus provided by the embodiment shown in Figure 5, the apparatus comprising: a measurement module 51 and the data processing module 52;

[0078] 测量模块51,用于在预设运行条件下,获取待测集成电路上电源网络的电阻矩阵,该电阻矩阵由电源网络中任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻构成,并在预设测量时间内,获取电源网络中负载节点与电源输出节点之间的电压构成的电压矩阵,电源网络由一个电源输出节点和与之连接的负载节点构成; [0078] measurement module 51 for at a preset operating conditions, obtaining test integrated supply network resistance matrix, the matrix of the resistance by the power network between any two nodes load resistance and the load node and power output resistance between nodes, and within a preset measurement time to obtain a voltage between the power supply voltage matrix network load node and power output nodes, the power supply network consists of a power supply output node and the load connected thereto constitute nodes;

[0079] 数据处理模块52,用于根据测量模块51测量的所述电源网络的电阻矩阵、电压矩阵以及电源网络相对地面的电压获得电源网络中属于待测集成电路电源引脚的负载节点能耗,并根据属于待测集成电路电源引脚的负载节点能耗获得待测集成电路的总能耗。 [0079] The data processing module 52, based on the measurement module 51 for measuring the resistance of the power supply network of the matrix, the matrix and the supply network voltage relative to the ground power supply voltage to obtain a load node belonging to the network under test integrated energy supply pin and get the total energy consumption of integrated circuits to be tested under load nodes belonging to test integrated energy supply pin.

[0080] 其中,预设运行条件包括待测集成电路的CPU内核温度、工作频率等运行参数,在对待测集成电路进行测量前,可以对待测集成电路进行设置,使待测集成电路在某一运行条件下运行,进而可以在得出待测集成电路的能耗时,能够分析能耗与运行参数的关系,进而对不同运行参数下的能耗情况进行评估。 [0080] wherein the preset operating conditions, including IC test CPU core temperature, frequency and other operational parameters, IC test were measured before treatment, can treat IC test set, so that the integrated circuit in a test run under operating conditions, in turn, can draw energy when the integrated circuit under test, to analyze the relationship between energy consumption and operating parameters, and then on the energy consumption under different operating parameters were evaluated.

[0081] 电源网络是PCB板上某一电源输出节点和与之连接的所有过孔、焊盘和PCB走线构成的网络。 [0081] PCB board power network is a network node and a power output all vias, pads and PCB traces connected thereto constituted. 其中,PCB走线和过孔是电源网络的连线,焊盘是电源网络的节点,除了电源输出节点以外的节点都是负载节点,而负载节点中的一部分是待测集成电路板的电源引脚,集成电路的电源引脚可能分别属于各个不同的电源网络,测量集成电路的能耗主要是测量集成电路上各电源引脚的能耗。 Which, PCB traces and vias are wired power supply network, the power network node pad, in addition to the power supply output node with all load nodes and a portion of the load node is tested integrated circuit board's power lead feet, IC power supply pin may belong to different power network, measured the energy consumption of integrated circuits primarily on measuring energy consumption for each IC power pins.

[0082] 在一个电源网络中,通常只需选取电流较大的负载节点,而将电流较小的负载节点忽略,选取的负载节点越多,测量的精度越高。 [0082] In a power network, usually only select a large load current node, and the smaller the load current node are ignored, the more load the selected nodes, the higher the measurement accuracy. 电源网络上任意两个节点之间的电阻为PCB走线电阻与过孔电阻之和。 Resistance between any two nodes on the supply network for the PCB trace resistance and a hole resistances too. 在测量之前,可以在设置每个电源网络中的负载节点数,并将电源网络中的各个节点进行编号,从而通过测量模块51依次测量电源网络上任意两个节点之间的电阻,并将这些电阻至保存在测量模块51中,待所有阻值测量完毕之后,在测量模块51中得出电源网络的电阻矩阵。 Before measuring, you can set up each of the power load on the network nodes, and each node in the supply network are numbered, which in turn measure the resistance between any two nodes on the supply network by measuring module 51, and these Resistance to save the measurement module 51, until after the completion of all resistance measurements, the measurement module 51 drawn supply network resistance matrix. 由于每个电源网络的拓扑结构是确定的,因此,每个电源网络的电阻矩阵也是确定的,每个电源网络的电阻矩阵只需要测量一次,在测量结束之后,测量模块51将测量所得的每个电源网络的电阻矩阵发送至数据处理模块52。 Since the topology of the network is determined for each of the power supply, and therefore, each power supply network is determined by the resistance of the matrix, the matrix of each supply network resistance to be measured only once, at the end of the measurement, the measurement modules 51 each of the measured a power supply network of the resistance matrix is sent to the data processing module 52.

[0083] 在测量电源网络的电压矩阵时,只需要考虑电源输出节点与负载节点之间的电压。 [0083] When measuring the voltage of the power supply network matrix, only need to consider the voltage between the power supply output node and the load node. 在待测集成电路通电后,可以在预设的一段采集时间内,实时采集电源输出节点与各负载节点之间的电压,并构成电压矩阵,这样可以获取在一段采集时间内的电源网络上各负载节点的能耗曲线。 After the test the integrated circuit is energized, you can collect a preset period of time, real-time acquisition of the power supply voltage between the output node and each load node, and constitutes voltage matrix, so you can get on a period of time of the power network each collection energy load curve nodes.

[0084] 具体的,测量时间可以预先进行设置,可以在测量模块51中设置测量开始、结束标志,在测量过程中,当测量模块51检测到与预先定义的测量开始标记匹配的内容就开始测量,当测量模块51检测到预先定义的结束标记时便停止测量。 [0084] Specifically, the measuring time can be set in advance, you can set the measurement in the measurement module 51 starts, end flag, during the measurement, when the measurement module 51 is detected with the pre-defined measurement start tag match began measuring the content When the measurement module 51 detects the end of a pre-defined symbol stops measurement. 测量模块51每进行一次测量就把测量到的电压数据构建成电压矩阵,并将电压矩阵发送至数据处理模块52。 Each measurement module 51 took a measurement of the voltage measured voltage data to construct a matrix, and the voltage of the matrix 52 is sent to the data processing module.

[0085] 为了全面评估集成电路运行在特定模式下的能效,测量模块51 —检测到到测量开始,便自动反复采集电压数据并发送电压矩阵到数据处理模块52,直至测量模块51检测到结束标志为止。 [0085] In order to fully assess the energy efficiency of the integrated circuit to run in a particular mode, the measurement module 51-- detected to measure, it will be repeated automatically collect voltage data and transmit voltage matrix to the data processing module 52, until the measuring module 51 detects the end flag so far.

[0086] 数据处理模块52获取到测量模块51发送的每个电源网络的电阻矩阵和电压矩阵后,可以获得电源网络中各个负载节点上的电流,而电源网络中的负载节点中,只有一部分是待测集成电路的电源引脚,我们这部分电源引脚的能耗,根据该电源网络相对地面的电压,即电源网络相对于“零电位”的电压便可获取属于待测集成电路电源引脚的负载节点在该电源网络上的能耗。 [0086] The data processing module 52 acquired resistance and voltage matrix matrix measuring module 51 to send each of the supply network, you can get the power network in the current load on each node, and the power load on the network node, only part test IC power supply pin, this part of our energy supply pin, according to the power supply network voltage relative to the ground, namely the supply network with respect to the voltage "zero point" of the integrated circuit can be tested Gets a power supply pin load energy consumption of nodes on the power network.

[0087] 待测集成电路的能耗为各个电源引脚在各自的电源网络中的能耗总和,在测量结束之后,数据处理模块52可以将集成电路的能耗至与测量时间描绘成关系曲线,从而能够观察集成电路能耗的变化趋势。 [0087] measured the energy consumption of the integrated circuit is the sum of the energy consumption of each power supply pin in their networks, at the end of the measurement, data processing module 52 may be integrated to the energy measurement time depicted as curve so that trends can be observed IC power consumption. 进一步的,数据处理模块52还可以得出集成电路的能耗与CPU占用率、内核温度、运行频率等参数之间的关系曲线,便于开发集成电路时进行器件选型、电源设计和能耗管理,进而有利于节能减排,降低成本并推广绿色节能产品。 Further, the data processing module 52 also can draw curve energy consumption and CPU usage, core temperature, operating frequency and other parameters of the integrated circuit between the conduct device selection, when the power supply design and energy management to facilitate the development of integrated circuits and thus promote energy conservation, reduce costs and promote green energy-saving products.

[0088] 本实施例提供的集成电路能耗测量装置,通过测量集成电路中各电源输出节点和与之连接的负载节点构成电源网络中的电阻矩阵和电压矩阵,获得属于待测集成电路电源引脚的负载节点在待测集成电路上的能耗,进而获得待测集成电路的能耗,能够测量大规模、电源引脚很多的集成电路,无需对待测集成电路板做任何改动,提高了测量精度。 [0088] IC consumption measuring device provided in the present embodiment, an integrated circuit by measuring the output node and the load of each power supply node connected thereto constitute the power network and voltage resistance matrix matrix obtained belong tested IC supply lead foot load energy consumption of nodes in an integrated circuit under test, then get the energy consumption of the integrated circuit under test, is capable of measuring large scale, many of the IC supply pin, measuring circuit boards do not need to deal with any changes to improve the measurement accuracy.

[0089] 图6为本发明又一个实施例提供的集成电路能耗测量装置结构示意图,如图6所示,该装置包括:测量模块51和数据处理模块52 ; [0089] FIG. 6 of the present invention and a schematic structure of an integrated circuit power consumption measuring apparatus provided by the embodiment shown in Figure 6, the apparatus comprising: a measurement module 51 and the data processing module 52;

[0090] 进一步的,测量模块51包括:电阻矩阵测量单元511和电压矩阵测量单元512 ; [0090] Further, measurement module 51 includes: resistor 511 and a voltage measuring unit matrix matrix measuring unit 512;

[0091] 电阻矩阵测量单元511,用于获取待测集成电路上电源网络中的电阻矩阵; [0091] resistance matrix measuring unit 511 for obtaining test IC supply network resistance matrix;

[0092] 电阻矩阵测量单元511包括:电阻测量子单元5111和电阻矩阵生成子单元5112 ; [0092] resistance matrix measuring unit 511 includes: resistance measuring sub-unit 5111 and the resistance matrix generating sub-unit 5112;

[0093] 电阻测量子单元5111,用于测量电源网络中任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻; [0093] resistance measuring sub-unit 5111 for measuring the resistance between the supply network between any two nodes and node load and the load resistance of the power supply output node;

[0094] 电阻矩阵生成子单元5112,用于根据电阻测量子单元5111测量的任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻生成电源网络对应的电阻矩阵,电阻矩阵的对角线元素为负载节点与电源输出节点之间的电阻,阻矩阵的其他元素为任意两个负载节点之间的电阻。 [0094] resistance matrix generating sub-unit 5112 for generating power network matrix corresponding resistance according to the resistance between the load resistance between any two nodes measuring sub-unit 5111 resistance measurement and load node and the power supply output node resistance matrix The diagonal elements of the load resistance between the power supply node and the output node, the other elements of the matrix resistance to the load resistance between any two nodes.

[0095] 电压矩阵测量单元512,用于获取电源网络中的电压矩阵; [0095] voltage matrix measuring unit 512 for acquiring the power network voltage matrix;

[0096] 电压矩阵测量单元512包括:电压测量子单元5121和电压矩阵生成子单元5122 ;[0097] 电压测量子单元5121,用于测量预设测量时间内电源网络中负载节点与电源输出节点之间的电压; [0096] voltage matrix measuring unit 512 includes: a voltage measuring sub-unit 5121 and voltage matrix generating sub-unit 5122; [0097] voltage measuring sub-unit 5121, a preset measuring time for measuring the power network load node and the output node of the power supply voltage between;

[0098] 电压矩阵生成子单元5122,用于根据电压测量子单元5121测量的负载节点与电源输出节点之间的电压生成电源网络对应的电压矩阵。 [0098] voltage matrix generating sub-unit 5122 for generating a voltage corresponding to the power supply network matrix according to the voltage between the load node voltage measuring sub-unit 5121 and the power output measurement nodes.

[0099] 数据处理模块52包括:电流计算单元521和能耗计算单元522 ; [0099] The data processing module 52 includes: current calculation unit 521 and power computing unit 522;

[0100] 电流计算单元521,用于根据测量模块51测量的电源网络的电阻矩阵和电压矩阵获得电源网络中属于待测集成电路电源引脚的负载节点上的电流; [0100] current calculation unit 521 for obtaining the current load on the power supply network nodes belonging to test IC supply pins according to measurement module 51 measures the resistance and voltage matrix matrix supply network;

[0101] 能耗计算单元522,用于根据电流计算单元521计算的每个负载节点上的电流以及相对地面的电压获得电源网络中属于待测集成电路电源引脚的负载节点能耗,并根据属于待测集成电路电源引脚的负载节点能耗获取预设运行条件下、待测集成电路的总能耗。 [0101] Energy consumption calculation unit 522 for obtaining load power consumption network nodes belonging to test IC supply pin relative to the ground based on the current and voltage on each load current calculation unit 521 compute nodes, and according to load energy consumption of nodes belonging to test integrated circuits power pins get pre-operating conditions, the total energy consumption of the integrated circuit under test.

[0102] 具体的,电阻矩阵测量单元511中的电阻测量子单元5111测量电源网络中任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻,电阻矩阵生成子单元5112根据任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻生成每个电源网络对应的电阻矩阵,电阻矩阵的对角线元素为负载节点与电源输出节点之间的电阻,电阻矩阵的其他元素为任意两个负载节点之间的电阻。 [0102] Specifically, the resistance matrix measuring unit 511 resistance measuring sub-unit 5111 measure the supply network to any resistance, resistance matrix generating sub-unit 5112 based on resistance between two load between the nodes and the load node and the power supply output node resistance between the resistance between any two nodes and node load and the load power output of each power supply network node generates a corresponding resistance matrix, diagonal matrix elements of the resistance is the resistance between the node and the power supply output node load resistor Other elements of the matrix of load resistance between any two nodes.

[0103] 电阻矩阵生成子单元5112可以对电源网络中的各节点进行编号,构建电阻矩阵,构建电阻矩阵可以采用如下方式: [0103] resistor matrix generating sub-unit 5112 may supply network nodes are numbered, build resistance matrix, the matrix can be used to build resistance as follows:

Ru尺'2及13 Ru-foot '2 and 13

[0104] R= R2] R22 R23 [0104] R = R2] R22 R23

_^31 及32 穴33_ _ ^ 31 and 32 points 33_

[0105] 其中,电阻矩阵中的对角线元素Rii表示负载节点i与电源输出节点之间的电阻,其他元素Ru α幸j)表示负载节点i与负载节点j之间的电阻,例如=R11表示负载节点I与电源输出节点之间的电阻,R23表示负载节点2和负载节点3之间的电阻。 [0105] where the diagonal matrix elements of the resistance Rii represents the resistance of the load between the nodes i and power output node, the other elements Ru α Fortunately, j) represents the resistance of the load node i and j between the load node, for example = R11 represents the resistance of the load between the node I and the power supply output node, R23 represents the resistance of the load node 3 between 2 and load nodes. 显然,Rij = Rji,即该电阻矩阵是对称矩阵。 Obviously, Rij = Rji, that is, the resistance matrix is a symmetric matrix. 当然,电阻矩阵生成子单元5112还可以采用其他形式生成电阻矩阵,不列举。 Of course, the resistance matrix generating sub-unit 5112 may also take other forms generating resistive matrix, not enumerated.

[0106] 电压矩阵测量单元512中的电压测量子单元5121测量预设测量时间内电源网络中负载节点与电源输出节点之间的电压,电压矩阵生成子单元5122根据负载节点与电源输出节点之间的电压生成电源网络对应的电压矩阵,电压矩阵可以采用如下形式: [0106] voltage matrix measuring unit 512 of the voltage measured between the measuring sub-unit 5121 measuring time power network load node voltage between the power supply output node voltage matrix generating sub-unit 5122 according to the load node and the power supply output node Default The supply network voltage generation matrix corresponding to the voltage, voltage matrix may take the form:

'U; 'U;

[0107] U=U2 [0107] U = U2

U、 U,

[0108] 其中Ui表示负载节点i与电源输出节点之间的电压差。 [0108] where Ui represents the voltage between the load and the power supply output node node i difference. 由于电源网络各节点之间的电阻很小,负载节点与电源输出节点之间的电压差通常也只有几十毫伏,甚至更小。 As the voltage difference between the resistance of the power network between nodes is very small, the load node and the power supply output node is typically only tens of millivolts, or even smaller. 电压矩阵生成子单元5122还可以根据电阻矩阵生成子单元5112生成电阻矩阵方式的变化而变化。 Voltage matrix generating sub-unit 5122 also according to resistance matrix generating sub-unit 5112 to generate change in the resistance matrix varies.

[0109] 数据处理模块52中的电流计算单元521根据电源网络的电阻矩阵和电压矩阵获取电源网络中属于待测集成电路的负载节点上的电流,具体的,电阻矩阵R的逆矩阵是电源网络的导纳矩阵Y,Y可表示为:^ll -^12 ^13 [0109] The data processing module 52 of the current calculation unit 521 to obtain the current load on the power supply network nodes belonging to test the integrated circuit according to the power network and voltage resistance matrix matrix, specifically, the resistor R matrix inverse matrix is the power network admittance matrix Y, Y can be expressed as: ^ ll - ^ 12 ^ 13

[0110] Y= Y21V22 Y23 [0110] Y = Y21V22 Y23

/31¾¾. / 31¾¾.

[0111] 导纳矩阵的对角线元素Yii表示负载节点i与电源输出节点之间的导纳,其他元素Yij(i幸j)表示负载节点i与负载节点j之间的导纳。 [0111] diagonal elements of admittance matrix representation admittance Yii load between nodes i and power output node, other elements Yij (i fortunately j) represents the admittance load node i and the load node j. 导纳矩阵与电阻矩阵一样是对称矩阵。 Admittance matrix with the same resistance matrix is a symmetric matrix. 根据欧姆定律,流过各个负载节点的电流矩阵为: According to Ohm's law, flow through each load node current matrix is as follows:

'/,I卜卜 '/, I pitapat

[0112] I2 = F21 F22 Y23 χ U2 _/3」Lr31 r32 (3」|_t/3 _ [0112] I2 = F21 F22 Y23 χ U2 _ / 3, "Lr31 r32 (3" | _t / 3 _

[0113] 其中,电流矩阵I的每一项Ii表示流过负载节点i的电流。 [0113] wherein each of the current matrix I, Ii flowing through the load node i represents a current.

[0114] 数据处理模块52中的能耗计算单元522根据属于待测集成电路电源引脚的负载节点上的电流以及电源网络相对地面的电压获得电源网络中属于待测集成电路电源引脚的负载节点的能耗,由于获得了电流矩阵I的每一项Ii表示流过负载节点i的电流,因此,能耗计算单元522可以根据该电源网络相对地面的电压获得属于所述待测集成电路电源引脚的负载节点在该电源网络上的能耗。 [0114] The data processing module 52 receives power consumption calculation unit 522 belong to the network under test load IC supply pins and the power supply based on the current load on the network nodes belonging to the test IC supply pin voltage relative to the ground node energy consumption, due to the availability of each of the current matrix I Ii flowing through the load node i represents a current, therefore, energy consumption calculation unit 522 belonging to the tested integrated circuit can be obtained according to the power supply network voltage relative to the ground energy load node pin on the power network.

[0115] 进一步的,能耗计算单元522根据待测集成电路的电源引脚在各自的电源网络中的能耗获得待测集成电路上的总能耗。 [0115] Further, the power consumption calculation unit 522 to obtain the total energy consumption measured according to the test on the integrated circuit IC power pins in their power consumption in the network.

[0116] 对于一个电源网络中选取的负载节点,不一定是同一个集成电路的电源引脚焊盘。 [0116] For a power supply network in the selected load node, not necessarily the same integrated circuit power supply pin pad. 因此,如果要计算某个集成电路在该电源网络消耗的功率,就要计算该集成电路在该电源网络上所有电源引脚的焊盘的功耗。 So, if you want to calculate an integrated circuit in the power supply network power consumption, it is necessary to calculate the integrated circuit in the power supply network on all power supply pin pads. 比如,上述电源网络的3个负载点中,负载节点I和负载节点3是集成电路A的电源引脚的焊盘,而负载节点2是集成电路B的电源引脚的焊盘。 For example, three load point of the power supply network, the load and the load node I Node 3 A pad is integrated power pins and the load node 2 is a pad of an integrated circuit B power pins. 如果要计算集成电路A在上述电源网络消耗的功率,就要把负载节点I和负载节点3的电流挑选出来,形成电流矩阵Γ : If you want to calculate the integrated circuit in the power supply network A power consumed, I just want to load node and load current of 3 selected nodes, forming the current matrix Γ:

7' 7 '

[0117] I' = [0117] I '=

Js _ Js _

[0118] 当然,如果上述3个负载节点都是集成电路A的电源引脚焊盘,那么I' =1。 [01] Of course, if the above three load nodes are integrated A power supply pin pad, so I '= 1. 若电源网络相对地面电压是V1,那么电流I'所消耗的功率矩阵P1 : Relative to the ground when the supply network voltage is V1, then the current I 'consumed power matrix P1:

[0119] Pi =F1 χ/'= VlXl1 = Pl [0119] Pi = F1 χ / '= VlXl1 = Pl

LF1Xj3J L尸3_ LF1Xj3J L corpse 3_

[0120] 其中,P1和p3分别表示负载节点I和负载节点3所消耗的功率。 [0120] where, P1, and p3 denote the load and the load node node I consumed 3 Power. 因为负载节点I和负载点3都是集成电路A的电源引脚在电源网络V1上的焊盘,集成电路A在电源网络V1上消耗的功率Pvi是矩阵P1中所有元素之和为: Because the load node I and 3 are integrated load point A of the power supply pin pads V1 network, the power integrated circuit in the power supply network V1 A consumption P1 Pvi is all elements of the matrix and are:

[0121] Pvi = Σ Pi [0121] Pvi = Σ Pi

[0122] 其中,Pi是待测集成电路电源引脚在电源网络V1上的焊盘,即负载节点点i所消耗的功率。 [0122] where, Pi is the test pads on the IC power supply pins V1 power network, that node point i load power consumed. 在这里,集成电路A在电源网络V1上消耗的功率为: Here, the integrated circuit in the power network A V1 power consumption:

[0123] Pvi = P^P3 [0123] Pvi = P ^ P3

[0124] 实际上很多集成电路连到多个电源网络上,例如:集成电路A还连到电压分别为V2……Vn的η个电源网络上,那么集成电路A的能耗是其在η个电源网络上消耗的功耗之和,可以分别提取η个电源网络对应的电阻矩阵和电压矩阵,再分别计算出在这些电源网络上的能耗: [0124] In fact, many integrated circuit connected to the plurality of power supply network, for example: an integrated circuit A is also connected to the voltage on V2 ...... Vn the η power supply network respectively, then the energy consumption of the integrated circuit A is its η a power sum can be extracted separately on the supply network power supply network consumption η matrix corresponding resistance and voltage matrix, and then calculate the power consumption in these networks are:

η η

[0125] P = YjPvi [0125] P = YjPvi

/=1 / = 1

[0126] 其中,Pvi是待测集成电路在电源网络Vi上的能耗,可以由电源网络Vi的电阻矩阵、电压矩阵和电源网络电压值Vi计算出。 [0126] where, Pvi IC power consumption is measured on the power supply network Vi may be by the power supply network of the resistance matrix Vi, voltage matrix and the supply network voltage value Vi is calculated. 如果集成电路A有三种电源引脚焊盘,分别连到电压为和V3的三个电源网络上,那么集成电路A的能耗为: If A has three power IC pin pads, are connected to the voltage and V3 three power network, the energy consumption of the integrated circuit A:

[0127] P = Pvl+Pv2+Pv3 [0127] P = Pvl + Pv2 + Pv3

[0128] 当然,如果集成电路A只有一种电源引脚焊盘,连到电源网络V1上,那么只需要一个能耗计算单元就可以算出集成电路能耗: [0128] Of course, if there is only one power supply IC A pin pad connected to the power supply network V1, then only one energy calculation unit can calculate the energy consumption of integrated circuits:

[0129] P = PVi [0129] P = PVi

[0130] 能耗计算单元522获得的待测集成电路的能耗为待测集成电路中各个电源引脚在各自电源网络上的能耗总和,能耗计算单元522还可以分别计算出集成电路的能耗与CPU占用率、内核温度、运行频率等参数之间的关系,从而得出集成电路的能耗与各种运行参数之间的关系曲线。 [0130] energy consumption calculation unit 522 to obtain the sum of the integrated circuit under test measured the energy consumption of each IC power supply pins on each supply network, energy consumption calculation unit 522 may also calculate the integrated circuit Relationship between energy consumption and CPU usage, core temperature, operating frequency and other parameters, to arrive at the curve of the energy consumption of integrated circuits and various operating parameters.

[0131] 进一步的,基于该装置测量集成电路能耗的方法,数据处理模块52还可以计算出CPU执行指令的能耗,执行一条指令的能耗,执行某段程序脚本的能耗。 Energy [0131] Further, the measuring method of the integrated circuit device based on the energy consumption, the data processing module 52 also can calculate the CPU to execute instructions, power to execute an instruction, execute scripts consumption of certain procedures.

[0132] 本实施例提供的集成电路能耗测量装置,通过测量集成电路中各电源输出节点和与之连接的负载节点构成电源网络中的电阻矩阵和电压矩阵,得到属于待测集成电路电源引脚的负载节点上流过的电流,进而获得属于待测集成电路电源引脚的负载节点在待测集成电路上的能耗,能够测量大规模、电源引脚很多的集成电路,无需对待测集成电路所在的PCB板做任何改动,提高了测量精度。 [0132] The integrated circuit power consumption measuring apparatus provided in the embodiment, the integrated circuit by measuring the power output of each node and the load node connected thereto constitute the power network and the voltage of the resistor matrix matrix obtained test IC power cited below feet of the current flowing through the load node, and then get a load node belongs tested IC power pins on the measured energy consumption of integrated circuits, is capable of measuring large scale, many of the IC supply pins, no treatment measurement IC where the PCB board to make any changes to improve the measurement accuracy. 便于开发集成电路时进行器件选型、电源设计和能耗管理,进而有利于节能减排,降低成本并推广绿色节能产品。 Carry out device selection, when the power supply design and energy management to facilitate the development of integrated circuits, and thus in favor of energy conservation, reduce costs and promote green energy-saving products.

[0133] 图7为本发明一个实施例提供的集成电路能耗测量系统结构示意图,如图7所示,该装置包括控制模块I、显示模块2以及集成电路能耗测量装置3 ; [0133] FIG. 7 is a schematic view of the invention the measurement structure integrated energy system provided in an embodiment, shown in Figure 7, the device comprises a control module I, the display module 2 and an integrated circuit power consumption measuring device 3;

[0134] 控制模块I用于设置运行条件和测量时间,控制集成电路能耗测量装置3进行测量及数据处理; [0134] The control module I used to set the operating conditions and measurement time, the control IC consumption measuring device 3 measurements and data processing;

[0135] 集成电路能耗测量装置3用于在在控制模块I的控制下,在设置的运行条件下获取待测集成电路上电源网络的电阻矩阵,电阻矩阵由电源网络中任意两个负载节点之间的电阻以及负载节点与电源输出节点之间的电阻构成,并在设置的测量时间内,在控制模块I的控制下获取电源网络中负载节点与电源输出节点之间的电压构成的电压矩阵,电源网络由一个电源输出节点和与之连接的负载节点构成;根据测量的电源网络的电阻矩阵、电压矩阵以及电源网络相对地面的电压获得电源网络中属于待测集成电路电源引脚的负载节点能耗,并根据属于待测集成电路电源引脚的负载节点能耗获得待测集成电路的总能耗; [0135] IC consumption measuring device 3 for under the control of the control module I, under operating conditions set by obtaining test integrated supply network resistance matrix, the matrix resistive load any two nodes in the network by the power supply resistance between the resistance and the load between the node and the power output nodes, and in measuring time set under the control of a control module I get the voltage between the power supply voltage matrix network load node and power output node configuration Power network consists of a power supply output node and the load node connected thereto; obtaining load power to the node network belong to the test IC supply pin power network according to the measured resistance matrix, the matrix and the supply network voltage relative to the ground voltage energy and get the total energy consumption of integrated circuits to be tested under load nodes belonging to test integrated energy supply pin;

[0136] 显示模块2用于在控制模块I的控制下显示所述集成电路能耗测量装置3的测量及数据处理结果。 [0136] The display module 2 display measurement and data processing for the integrated circuit power consumption measuring device 3 results in the control module I control.

[0137] 其中,预设运行条件包括待测集成电路的CPU内核温度、工作频率等运行参数,在对待测集成电路进行测量前,可以通过控制模块I对待测集成电路进行设置,使待测集成电路在某一运行条件下运行,进而可以在得出待测集成电路的能耗时,能够分析能耗与运行参数的关系,进而对不同运行参数下的能耗情况进行评估。 [0137] wherein the preset operating conditions, including IC test CPU core temperature, frequency and other operating parameters, IC test before treatment were measured, can be measured by the control module integrated treatment I set it up so the integration test circuit under certain operating conditions, which could draw energy consumption can be measured when the integrated circuit, to analyze the relationship between energy consumption and operating parameters, and then on the energy consumption under different operating parameters were evaluated.

[0138] 电源网络是PCB板上某一电源输出节点和与之连接的所有过孔、焊盘和PCB走线构成的网络。 [0138] PCB board power network is a network node and a power output all vias, pads and PCB traces connected thereto constituted. 其中,PCB走线和过孔是电源网络的连线,焊盘是电源网络的节点,除了电源输出节点以外的节点都是负载节点,而负载节点中的一部分是待测集成电路板的电源引脚,集成电路的电源引脚可能分别属于各个不同的电源网络,测量集成电路的能耗主要是测量集成电路上各电源引脚的能耗。 Which, PCB traces and vias are wired power supply network, the power network node pad, in addition to the power supply output node with all load nodes and a portion of the load node is tested integrated circuit board's power lead feet, IC power supply pin may belong to different power network, measured the energy consumption of integrated circuits primarily on measuring energy consumption for each IC power pins.

[0139] 在一个电源网络中,通常只需选取电流较大的负载节点,而将电流较小的负载节点忽略,选取的负载节点越多,测量的精度越高。 [0139] In a power network, usually only select a large load current node, and the smaller the load current node are ignored, the more load the selected nodes, the higher the measurement accuracy. 电源网络上任意两个节点之间的电阻为PCB走线电阻与过孔电阻之和。 Resistance between any two nodes on the supply network for the PCB trace resistance and a hole resistances too. 在测量之前,可以在控制模块I中设置每个电源网络中的负载节点数,并将电源网络中的各个节点进行编号,从而使控制模块I控制集成电路能耗测量装置3依次测量电源网络上任意两个节点之间的电阻,并将这些电阻进行保存,待所有阻值测量完毕之后,在集成电路能耗测量装置3中得出电源网络的电阻矩阵。 Before measuring, you can set each of the power load on the network nodes in the control module I, and the numbering of each node in the supply network, so that the control module I control IC consumption measuring device 3 sequentially measuring the power network resistance between any two nodes, and these resistors to save, and wait until all the resistance measurement is completed, in the integrated circuit power consumption measuring device 3 stars resistance matrix network. 由于每个电源网络的拓扑结构是确定的,因此,每个电源网络的电阻矩阵也是确定的,每个电源网络的电阻矩阵只需要测量一次。 Since the topology of the network is determined for each of the power supply, and therefore, each power supply network is determined by the resistance of the matrix, the matrix of each supply network resistance to be measured only once.

[0140] 在测量电源网络的电压矩阵时,只需要考虑电源输出节点与负载节点之间的电压。 [0140] When measuring the voltage of the power supply network matrix, only need to consider the voltage between the power supply output node and the load node. 在待测集成电路通电后,可以在预设的一段采集时间内,集成电路能耗测量装置3实时采集电源输出节点与各负载节点之间的电压,并构成电压矩阵,这样可以获取在一段采集时间内的电源网络上各负载节点的能耗曲线。 After the test the integrated circuit is energized, you can collect a preset period of time, the integrated circuit power consumption measuring device 3 real-time acquisition voltage power supply output node and each load node, and constitutes voltage matrix, so you can get in some collection energy load profile for each node on the power network time.

[0141] 具体的,测量时间可以预先在控制模块I中进行设置,可以设置测量开始、结束标志,在测试过程中,不断反馈测量结果到控制模块1,如果控制模块I检测到与预先定义的测量开始标记匹配的内容就控制集成电路能耗测量装置3开始测量,当控制模块I检测到预先定义的结束标记时控制集成电路能耗测量装置3停止测量。 [0141] Specifically, the measuring time can be set in advance in the control module I, you can set the beginning of the measurement end flag, during testing, continuous feedback measurement results to the control module, control module if I detected a pre-defined Measurement start tag matching content on control IC consumption measuring device 3 to start measuring, when I end control module detects pre-defined control IC tag 3 stop measuring energy consumption measuring device. 每进行一次测量就把测量到的电压数据构建成电压矩阵。 For each measurement put the measured voltage data to construct voltage matrix.

[0142] 为了全面评估集成电路运行在特定模式下的能效,控制模块I 一检测到到测量开始,便控制集成电路能耗测量装置3自动反复采集电压数据,直至控制模块I检测到结束标志为止。 [0142] In order to fully assess the energy efficiency of the integrated circuit to run in a particular mode, the control module detects the measurement I start one, then control IC consumption measuring device 3 automatically collect voltage data repeatedly, until the control module detects the end I sign up .

[0143] 集成电路能耗测量装置3根据每个电源网络的电阻矩阵和电压矩阵可以获得电源网络中各个负载节点上的电流,而电源网络中的负载节点中,只有一部分是待测集成电路的电源引脚,我们这部分电源引脚的能耗,根据该电源网络相对地面的电压,即电源网络相对于“零电位”的电压便可获取属于待测集成电路电源引脚的负载节点在该电源网络上的能耗。 [0143] IC consumption measuring device 3 according to each of the power network and voltage resistance matrix matrix can be obtained on the current load of each node in the supply network, and the power load on the network node, only a portion of an integrated circuit is tested power supply pins, this part of our energy supply pin, according to which the power supply network voltage relative to the ground, namely the supply network with respect to the voltage "zero point" of the test can get a load nodes belonging to the IC supply pins Power consumption on the network.

[0144] 待测集成电路的能耗为各个电源引脚在各自的电源网络中的能耗总和,在测量结束之后,集成电路能耗测量装置3可以将集成电路的能耗至与测量时间描绘成关系曲线,从而能够观察集成电路能耗的变化趋势。 Energy [0144] measured the energy consumption of the integrated circuit is the sum of the respective power supply pins in their power network, after the end of the measurement, integrated energy consumption measuring device 3 can be integrated to describe and measure the time into a curve, so trends can be observed IC power consumption. 进一步的,集成电路能耗测量装置3还可以得出集成电路的能耗与CPU占用率、内核温度、运行频率等参数之间的关系曲线,便于开发集成电路时进行器件选型、电源设计和能耗管理,进而有利于节能减排,降低成本并推广绿色节能产品。 Further, the integrated circuit power consumption measuring device 3 also can draw curve energy consumption and CPU usage, core temperature, operating frequency and other parameters of the integrated circuit between the device selection when carried out to facilitate the development of integrated circuits, power supply design and energy management, energy conservation and thereby helping to reduce costs and promote green energy-saving products. 其中,集成电路能耗测量装置3的每一步测量结果及数据处理结果均可以通过显示模块2进行显示,从而使测量过程更加直观以及便于分析测量及结果数据。 Among them, every step of the measurement results and the results of data processing integrated circuit power consumption measuring device 3 can be displayed through the display module 2, making the measurement process more intuitive and easy to measure and analyze the resulting data.

[0145] 本实施例提供的集成电路能耗测量系统,通过测量集成电路中各电源输出节点和与之连接的负载节点构成电源网络中的电阻矩阵和电压矩阵,获得属于待测集成电路电源引脚的负载节点在待测集成电路上的能耗,进而获得待测集成电路的能耗,能够测量大规模、电源引脚很多的集成电路,无需对待测集成电路板做任何改动,提高了测量精度。 [0145] The present embodiment integrated energy measurement system provided by measuring the integrated circuit in the power output of each node and the load node connected thereto constitute the power network and voltage resistance matrix matrix obtained belong tested IC supply lead foot load energy consumption of nodes in an integrated circuit under test, then get the energy consumption of the integrated circuit under test, is capable of measuring large scale, many of the IC supply pin, measuring circuit boards do not need to deal with any changes to improve the measurement accuracy.

[0146] 最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 [0146] Finally, it should be noted that: the above embodiments are merely provided for describing the technical solutions of the present invention, but not intended to limit; although reference to the embodiments of the present invention has been described in detail, those skilled in the art will appreciate: it still may be the foregoing technical solutions described in the embodiments changes, or for some technical features equivalent replacements; and such modifications or replacements do not make the essence of corresponding technical solutions depart from the spirit of the technical programs of the embodiment of the present invention and ranges.

Citations de brevets
Brevet cité Date de dépôt Date de publication Déposant Titre
CN1206467A13 nov. 199727 janv. 1999株式会社爱德万测试集成电路设备测试器
CN101281231A22 mai 20088 oct. 2008株洲南车时代电气股份有限公司Method for testing locomotive general-purpose circuit board function
CN101322043A27 nov. 200610 déc. 2008芬兰国立技术研究中心Method and system for the calibration of meters
US58870018 oct. 199723 mars 1999Bull Hn Information Systems Inc.Boundary scan architecture analog extension with direct connections
US2006012386 Titre non disponible
Classifications
Classification internationaleG01R27/02, G01R31/28, G01R19/00
Événements juridiques
DateCodeÉvénementDescription
16 juin 2010C06Publication
1 sept. 2010C10Request of examination as to substance
19 déc. 2012C14Granted
11 mars 2015C56Change in the name or address of the patentee
Owner name: HUAWEI DIGITAL TECHNOLOGY (CHENGDU) CO., LTD.
Free format text: FORMER NAME: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LTD.