CN115932557A - Chip testing method, related equipment and computer-readable storage medium - Google Patents
Chip testing method, related equipment and computer-readable storage medium Download PDFInfo
- Publication number
- CN115932557A CN115932557A CN202211535586.2A CN202211535586A CN115932557A CN 115932557 A CN115932557 A CN 115932557A CN 202211535586 A CN202211535586 A CN 202211535586A CN 115932557 A CN115932557 A CN 115932557A
- Authority
- CN
- China
- Prior art keywords
- chip
- under test
- tested
- working environment
- data
- 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.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 347
- 238000003860 storage Methods 0.000 title claims abstract description 13
- 238000004891 communication Methods 0.000 claims abstract description 118
- 238000000034 method Methods 0.000 claims abstract description 51
- 230000005856 abnormality Effects 0.000 claims abstract description 28
- 230000002159 abnormal effect Effects 0.000 claims description 45
- 238000013461 design Methods 0.000 claims description 18
- 230000017525 heat dissipation Effects 0.000 claims description 16
- 238000012545 processing Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 10
- 238000010998 test method Methods 0.000 claims 1
- 238000009826 distribution Methods 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 19
- 238000005259 measurement Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 3
- 230000033228 biological regulation Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
本申请实施例提供一种芯片测试方法、相关设备及计算机可读存储介质,涉及芯片领域。方法包括:通过芯片测试装置获取自身与待测装置之间的通信状态;其中,待测装置中所包含的待测芯片工作在目标工作环境数据;在通信状态指示正常的情况下,按照预设调节方式确定调节步长,并根据调节步长更新目标工作环境数据,直至调节步长达到预设阈值步长,且通信状态指示异常;其中,通信状态指示异常时的上一个工作环境数据为待测芯片的工作环境边界值。本申请实施例所提供的芯片测试方法、相关设备及计算机可读存储介质具有相对精确及便捷的测试出待测芯片的工作环境数据的边界值,获取待测芯片的工作环境数据的分布范围的优点。
Embodiments of the present application provide a chip testing method, related equipment, and a computer-readable storage medium, relating to the field of chips. The method includes: obtaining the communication state between itself and the device under test through the chip test device; wherein, the chip under test contained in the device under test works in the target working environment data; when the communication state indicates normal, according to the preset The adjustment method determines the adjustment step, and updates the target working environment data according to the adjustment step, until the adjustment step reaches the preset threshold step, and the communication status indicates abnormality; where the last working environment data when the communication status indicates abnormality is pending The working environment boundary value of the test chip. The chip testing method, related equipment, and computer-readable storage medium provided by the embodiments of the present application have relatively accurate and convenient testing of the boundary value of the working environment data of the chip to be tested, and the ability to obtain the distribution range of the working environment data of the chip to be tested advantage.
Description
技术领域technical field
本发明涉及芯片领域,具体而言本发明实施例涉及一种芯片测试方法、相关设备及计算机可读存储介质。The present invention relates to the chip field, and specifically, the embodiments of the present invention relate to a chip testing method, related equipment, and a computer-readable storage medium.
背景技术Background technique
目前如何获取用于驱动芯片、芯片上相关部件或者某个电子产品的驱工作环境数据(即为相关芯片或者产品等提供动力或者能量使其工作的信号,例如,使芯片或者芯片上部件能够工作的电源信号或者电流信号)的范围正显得日益重要。At present, how to obtain the driving environment data used to drive the chip, related components on the chip, or an electronic product (that is, the signal that provides power or energy for the related chip or product to make it work, for example, enabling the chip or the components on the chip to work The scope of the power signal or current signal) is becoming increasingly important.
例如,针对芯片本身来说,芯片明确的电压、电流等工作环境数据的具体范围是关键的性能指标,因此芯片设计所给的参考理想工作环境数据范围需要实际测试不断修正具体的工作环境数据范围。For example, for the chip itself, the specific range of working environment data such as voltage and current specified by the chip is a key performance indicator. Therefore, the reference ideal working environment data range given by the chip design requires actual testing to continuously correct the specific working environment data range. .
例如,当前芯片外围接口设备(例如,键盘、鼠标、打印机等)种类繁多,因此提供芯片上接口的工作环境数据范围对适配各种设备日益重要。For example, currently there are many types of chip peripheral interface devices (eg, keyboard, mouse, printer, etc.), so providing the working environment data range of the on-chip interface is increasingly important for adapting various devices.
以芯片的工作环境数据为IO电压(电流)为例,如图1所示,现有技术方案为了得到图1的IO电路的工作电压或者电流一般采取直接测量的方式,可以理解的是采用直接测量方式所测结果为某种使用环境下的正常电压波动范围,很难实现对于芯片IO电压(电流)实际边界的测量,且需要进行特定测试条件限定较为不便捷。Taking the working environment data of the chip as IO voltage (current) as an example, as shown in FIG. The measured result of the measurement method is the normal voltage fluctuation range in a certain use environment, it is difficult to measure the actual boundary of the chip IO voltage (current), and it is inconvenient to require specific test conditions to limit.
发明内容Contents of the invention
本发明实施例的目的在于提供一种芯片测试方法相关设备及计算机可读存储介质,采用本发明实施例的可以相对精确及便捷的测试出待测芯片的工作环境数据的边界值,获取待测芯片的工作环境数据的分布范围。The purpose of the embodiment of the present invention is to provide a chip testing method-related equipment and computer-readable storage medium. By using the embodiment of the present invention, the boundary value of the working environment data of the chip to be tested can be tested relatively accurately and conveniently, and the data to be tested can be obtained. The distribution range of the working environment data of the chip.
第一方面,本发明实施例提供一种芯片测试方法,应用于芯片测试系统,所述芯片测试系统包括芯片测试装置和待测装置,所述待测装置搭载有待测芯片,所述待测装置用于为所述待测芯片提供工作环境数据,并在所述工作环境数据下与所述芯片测试装置建立通信;所述方法包括:通过所述芯片测试装置获取自身与所述待测装置之间的通信状态;其中,所述待测装置中所包含的待测芯片工作在目标工作环境数据;在所述通信状态指示正常的情况下,按照预设调节方式确定调节步长,并根据所述调节步长更新所述目标工作环境数据,直至所述调节步长达到预设阈值步长,且所述通信状态指示异常;其中,所述通信状态指示异常时的上一个工作环境数据为所述待测芯片的工作环境边界值。In the first aspect, an embodiment of the present invention provides a chip testing method, which is applied to a chip testing system. The chip testing system includes a chip testing device and a device to be tested. The device to be tested is equipped with a chip to be tested. The device is used to provide working environment data for the chip under test, and establish communication with the chip testing device under the working environment data; The communication state between them; wherein, the chip under test contained in the device under test works in the target working environment data; in the case that the communication state indicates normal, the adjustment step is determined according to the preset adjustment method, and according to The adjustment step updates the target working environment data until the adjustment step reaches a preset threshold step, and the communication status indicates abnormality; wherein, the last working environment data when the communication status indicates abnormality is The working environment boundary value of the chip to be tested.
在一些实施例中,所述通过所述芯片测试装置获取自身与所述待测装置之间的通信状态,包括:所述芯片测试装置向所述待测装置发送测试数据;所述芯片测试装置接收所述待测装置反馈的返回数据,在所述测试数据和所述返回数据之间的相似度大于第一阈值的情况下,确定与所述待测装置之间的通信状态为正常,在所述测试数据和所述返回数据之间的相似度小于所述第一阈值的情况下,确定与所述待测装置之间的通信状态为异常。In some embodiments, the obtaining the communication state between itself and the device under test through the chip testing device includes: the chip testing device sends test data to the device under test; the chip testing device receiving the returned data fed back by the device under test, and determining that the communication status with the device under test is normal when the similarity between the test data and the returned data is greater than a first threshold; If the similarity between the test data and the returned data is less than the first threshold, it is determined that the communication status with the device under test is abnormal.
通过向待测装置提供测试数据并检验由该待测装置反馈的由该测试数据得到的返回数据确定待测装置与芯片测试装置之间的数据是否能够被正常传输,进而可以更加准确的推定待测芯片的功能是否正常。此外,由于测量误差的存在,测试数据和返回数据之间难以达到完全的相同,因此,芯片测试装置在接收到返回数据后,通过计算返回数据和测试数据的相似度,当返回数据和测试数据的相似度大于第一阈值时,同样认定为返回数据与测试数据相同,芯片测试装置与待测装置之间的通信状态为正常,待测芯片当前工作的工作环境数据为待测芯片可以正常工作的工作环境数据;当返回数据和测试数据的相似度小于第一阈值时,认定为返回数据与测试数据不相同,此时认为待测芯片已经无法正常完成对测试数据的转发,待测芯片工作出现异常,芯片测试装置与待测装置之间的通信状态为异常,待测芯片当前工作的工作环境数据超出了待测芯片可以正常工作的工作环境边界值,从而减少测量误差对测量结果产生的影响。By providing test data to the device under test and checking the return data obtained from the test data fed back by the device under test, it is determined whether the data between the device under test and the chip testing device can be transmitted normally, and then it can be estimated more accurately Check whether the function of the chip is normal. In addition, due to the existence of measurement errors, it is difficult to achieve complete identicalness between the test data and the returned data. Therefore, after receiving the returned data, the chip testing device calculates the similarity between the returned data and the test data. When the returned data and the test data When the similarity is greater than the first threshold, it is also determined that the returned data is the same as the test data, the communication status between the chip testing device and the device under test is normal, and the current working environment data of the chip under test is that the chip under test can work normally. working environment data; when the similarity between the returned data and the test data is less than the first threshold, it is determined that the returned data is not the same as the test data. When an exception occurs, the communication status between the chip testing device and the device under test is abnormal, and the current working environment data of the chip under test exceeds the boundary value of the working environment where the chip under test can work normally, thereby reducing the impact of measurement errors on the measurement results Influence.
在一些实施例中,所述根据所述调节步长更新所述目标工作环境数据,包括:以所述调节步长为步长,逐步减小所述目标工作环境数据,在所述调节步长达到预设步长阈值、且所述通信状态指示异常的情况下,确定所述调节步长达到预设步长阈值、且所述通信状态指示异常时的目标工作环境数据为所述待测芯片可以承受的下限值;以所述调节步长为步长,逐步增大所述目标工作环境数据,在所述调节步长达到预设步长阈值、且所述通信状态指示异常的情况下,确定所述调节步长达到预设步长阈值、且所述通信状态指示异常时的工作环境数据为所述待测芯片可以承受的上限值。In some embodiments, updating the target working environment data according to the adjustment step includes: taking the adjustment step as a step, gradually reducing the target working environment data, and at the adjustment step When the preset step threshold is reached and the communication status indicates abnormality, it is determined that the target working environment data when the adjustment step reaches the preset step threshold and the communication status indicates abnormality is the chip under test The lower limit value that can be tolerated; gradually increase the target working environment data with the adjustment step size as the step size, when the adjustment step size reaches a preset step size threshold and the communication status indicates abnormality determining that the working environment data when the adjustment step reaches a preset step threshold and the communication status indicates abnormality is an upper limit value that the chip under test can bear.
设置较大的调节步长可以减少达到通信状态指示异常情况时的工作环境数据的调节次数;设置较小的调节步长可以提升工作环境数据的上限值和下限值的精准度;在确定待测芯片的工作环境边界值的过程中对调节步长进行调整,从而达到兼顾减小调节次数和提升结果精准度的效果。Setting a larger adjustment step size can reduce the number of adjustments of the working environment data when the communication status indicates an abnormal situation; setting a smaller adjustment step size can improve the accuracy of the upper and lower limit values of the working environment data; Adjust the adjustment step in the process of working environment boundary value of the chip to be tested, so as to achieve the effect of reducing the number of adjustments and improving the accuracy of the results.
在一些实施例中,所述方法还包括:在所述待测芯片可以承受的上限值小于所述待测芯片处于散热设计功耗TDP下所确定的数值时,确定所述待测芯片为正常芯片;在所述待测芯片可以承受的上限值大于或等于所述待测芯片处于散热设计功耗TDP下所确定的数值时,确定所述待测芯片为异常芯片。In some embodiments, the method further includes: determining that the chip under test is A normal chip; when the upper limit value that the chip to be tested can withstand is greater than or equal to the value determined under the heat dissipation design power consumption TDP of the chip to be tested, it is determined that the chip to be tested is an abnormal chip.
通过将测量得到的待测芯片可以承受的上限值与所述待测芯片处于散热设计功耗TDP下所确定的数值进行大小比较,判断待测芯片是否为异常芯片,实现进一步的对待测芯片是否为异常芯片的检测。By comparing the measured upper limit value of the chip to be tested with the value determined under the heat dissipation design power consumption TDP of the chip to be tested, it is judged whether the chip to be tested is an abnormal chip, so as to realize further testing of the chip to be tested Whether it is an abnormal chip detection.
在一些实施例中,所述工作环境数据为所述待测芯片的工作电压或工作电流。In some embodiments, the working environment data is the working voltage or working current of the chip under test.
第二方面,本发明实施例还提供了一种芯片测试装置,用于对待测芯片进行测试,所述待测芯片搭载在待测装置中,所述待测装置为所述待测芯片提供工作环境数据,所述芯片测试装置包括:通信模块,所述通信模块用于与所述待测装置进行通信;通信状态获取模块,所述通信状态获取模块用于获取所述待测芯片工作在目标工作环境数据下、所述芯片测试装置与所述待测装置之间的通信状态;处理模块,所述处理模块用于在所述通信状态指示正常的情况下,按照预设调节方式确定调节步长,并根据所述调节步长更新所述目标工作环境数据,直至所述达到预设阈值步长,且所述通信状态指示异常;其中,所述通信状态指示异常时的上一个工作环境数据为所述待测芯片的工作环境边界值。In the second aspect, the embodiment of the present invention also provides a chip testing device, which is used to test the chip to be tested. The chip to be tested is carried in the device to be tested, and the device to be tested provides work for the chip to be tested. Environmental data, the chip testing device includes: a communication module, the communication module is used to communicate with the device under test; a communication state acquisition module, the communication state acquisition module is used to obtain the working state of the chip under test Under the working environment data, the communication state between the chip testing device and the device under test; a processing module, the processing module is used to determine the adjustment step according to the preset adjustment mode when the communication state indicates normal long, and update the target working environment data according to the adjustment step, until the preset threshold step is reached, and the communication status indicates abnormality; wherein, the last working environment data when the communication status indicates abnormality is the working environment boundary value of the chip under test.
在一些实施例中,所述通信模块包括发送子模块和接收子模块;所述发送子模块用于向所述待测装置发送测试数据,所述接收子模块用于接收所述待测装置反馈的返回数据;所述通信状态获取模块用于在所述测试数据和所述返回数据之间的相似度大于第一阈值的情况下,确定与所述待测装置之间的通信状态为正常,在所述测试数据和所述返回数据之间的相似度小于所述第一阈值的情况下,确定与所述待测装置之间的通信状态为异常。In some embodiments, the communication module includes a sending submodule and a receiving submodule; the sending submodule is used to send test data to the device under test, and the receiving submodule is used to receive feedback from the device under test the return data; the communication status acquiring module is used to determine that the communication status with the device under test is normal when the similarity between the test data and the returned data is greater than a first threshold, If the similarity between the test data and the returned data is smaller than the first threshold, it is determined that the communication status with the device under test is abnormal.
在一些实施例中,所述装置还包括:功耗判断模块,所述功耗判断模块用于在所述待测芯片可以承受的上限值小于所述待测芯片处于散热设计功耗TDP下所确定的数值时,确定所述待测芯片为正常芯片,并在所述待测芯片可以承受的上限值大于或等于所述待测芯片处于散热设计功耗TDP下所确定的数值时,确定所述待测芯片为异常芯片。In some embodiments, the device further includes: a power consumption judging module, the power consumption judging module is used to determine that the chip under test is under thermal design power consumption TDP when the upper limit value that the chip under test can bear is less than the chip under test When the determined value is determined, it is determined that the chip to be tested is a normal chip, and when the upper limit that the chip to be tested can bear is greater than or equal to the value determined under the heat dissipation design power consumption TDP of the chip to be tested, It is determined that the chip to be tested is an abnormal chip.
通过设置功耗判断模块将测量得到的待测芯片可以承受的上限值与所述待测芯片处于散热设计功耗TDP下所确定的数值进行大小比较,判断待测芯片是否为异常芯片,实现进一步的对待测芯片是否为异常芯片的检测。By setting the power consumption judging module, the upper limit value that the measured chip to be tested can bear is compared with the value determined under the heat dissipation design power consumption TDP of the chip to be tested, so as to judge whether the chip to be tested is an abnormal chip, and realize It is further detected whether the chip to be tested is an abnormal chip.
第三方面,本发明实施例还提供了一种芯片测试系统,用于对待测芯片进行测试,所述系统包括如前述的芯片测试装置以及与所述芯片测试装置通信连接的待测装置;所述待测芯片搭载在待测装置中,所述待测装置为所述待测芯片提供工作环境数据。In the third aspect, the embodiment of the present invention also provides a chip testing system, which is used to test the chip to be tested, and the system includes the aforementioned chip testing device and a device to be tested that is communicatively connected to the chip testing device; The chip to be tested is mounted in a device to be tested, and the device to be tested provides working environment data for the chip to be tested.
第四方面,本发明实施例还提供了一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如前述的芯片测试方法。In a fourth aspect, the embodiment of the present invention also provides an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be used by the at least one processor Instructions executed by a processor, the instructions are executed by the at least one processor, so that the at least one processor can execute the aforementioned chip testing method.
第五方面,本发明实施例还提供了一种计算机存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时可实现如前述的芯片测试方法。In the fifth aspect, the embodiment of the present invention also provides a computer storage medium, on which a computer program is stored, wherein the computer program can implement the aforementioned chip testing method when executed by a processor.
在本发明的一些实施例所提供的芯片测试方法相关设备及计算机可读存储介质中,通过芯片测试装置获取自身与待测装置之间的通信状态,在通信状态指示正常的情况下,说明待测芯片的工作状态也正常,按照预设调节方式确定调节步长,并根据调节步长更新待测芯片工作的目标工作环境数据,直至调节步长达到预设阈值步长,且通信状态指示异常,通信状态指示异常说明待测芯片的工作状态也出现异常,也即表示当前的工作环境数据超出了待测芯片正常工作时的工作环境数据的边界值,通信状态指示异常时的上一个工作环境数据即为待测芯片的工作环境边界值。从而实现对待测芯片工作环境数据的边界值的精准测量。In the chip testing method-related equipment and computer-readable storage medium provided in some embodiments of the present invention, the chip testing device obtains the communication status between itself and the device under test, and when the communication status indicates normal, it indicates the status of the device to be tested. The working status of the chip under test is also normal. Determine the adjustment step according to the preset adjustment method, and update the target working environment data of the chip under test according to the adjustment step until the adjustment step reaches the preset threshold step, and the communication status indicates abnormality , the abnormal communication status indicates that the working status of the chip under test is also abnormal, which means that the current working environment data exceeds the boundary value of the working environment data when the chip under test works normally, and the previous working environment when the communication status indicates abnormality The data is the working environment boundary value of the chip to be tested. In this way, the precise measurement of the boundary value of the working environment data of the chip to be tested can be realized.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments of the present invention will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention, so It should not be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings according to these drawings without creative work.
图1为相关技术提供的获取CPU芯片上IO电路接口的电压或电流范围的方法;Fig. 1 is the method for obtaining the voltage or current range of the IO circuit interface on the CPU chip provided by the related art;
图2为本发明实施例一提供的芯片测试方法的流程示意图;2 is a schematic flowchart of a chip testing method provided by Embodiment 1 of the present invention;
图3为本发明实施例一提供的芯片测试方法的流程所应用的芯片测试系统的结构示意图;3 is a schematic structural diagram of a chip testing system applied to the flow of the chip testing method provided by Embodiment 1 of the present invention;
图4为本发明实施例二提供的芯片测试方法的流程示意图;FIG. 4 is a schematic flowchart of a chip testing method provided in Embodiment 2 of the present invention;
图5为本发明实施例三提供的芯片测试装置的结构示意图;5 is a schematic structural diagram of a chip testing device provided in Embodiment 3 of the present invention;
图6为本发明另一实施例提供的芯片测试装置的结构示意图;6 is a schematic structural diagram of a chip testing device provided by another embodiment of the present invention;
图7为本发明实施例四提供的芯片测试装置的结构示意图;7 is a schematic structural diagram of a chip testing device provided in Embodiment 4 of the present invention;
图8为本发明实施例五提供的芯片测试系统的结构示意图;FIG. 8 is a schematic structural diagram of a chip testing system provided in Embodiment 5 of the present invention;
图9为本发明实施例六提供的电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device provided by Embodiment 6 of the present invention.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.
至少为了解决背景技术部分直接测量带来的技术缺陷,本申请的一些实施例中通过对被测试对象的工作环境数据(例如,芯片IO电压(电流))进行自动调节,利用通信监测机制确定被测对象的功能是否异常,最终逐步确定被测试对象所需驱动信号的具体范围,例如,得到芯片IO电压(电流)的具体范围。At least in order to solve the technical defects caused by the direct measurement of the background technology, in some embodiments of the present application, the working environment data (for example, chip IO voltage (current)) of the tested object is automatically adjusted, and the communication monitoring mechanism is used to determine the tested object. Whether the function of the test object is abnormal, and finally gradually determine the specific range of the driving signal required by the tested object, for example, to obtain the specific range of the chip IO voltage (current).
请参看图1,正如背景技术部分所描述的直接测量所测结果为某种使用环境下的正常电压波动范围,很难实现对于芯片IO电压(电流)等工作环境数据的实际边界的测量,并且需要进行特定测试条件限定,较为不便捷。Please refer to Figure 1, as described in the background technology section, the measured result of the direct measurement is the normal voltage fluctuation range in a certain use environment, it is difficult to measure the actual boundary of the chip IO voltage (current) and other working environment data, and Specific test conditions need to be limited, which is inconvenient.
针对上述技术问题,本申请中提出了如下的芯片测试方法相关设备及计算机可读存储介质。下面结合图2示例性阐述本申请一种实施例提供的芯片测试方法,应用于如图3所示的芯片测试系统,芯片测试系统中包括芯片测试装置100和待测装置200,待测装置200搭载有待测芯片300,待测装置200用于为待测芯片300提供工作环境,待测芯片300工作在待测装置200提供的工作环境中,工作环境数据即为待测装置200为待测芯片300提供的工作环境的量化数据。In view of the above technical problems, the present application proposes the following chip testing method-related devices and computer-readable storage media. The chip testing method provided by an embodiment of the present application is exemplarily described below in conjunction with FIG. 2, which is applied to the chip testing system shown in FIG. 3. The chip testing system includes a
在本申请的一些实施例中,工作环境数据为待测芯片300在待测装置200中工作时的工作电压或工作电流。可以理解的是,前述工作环境数据为待测芯片300在待测装置200中工作时的工作电压或工作电流仅为本申请一些实施例中的举例说明,在本申请的其他实施例中,工作环境数据还可以是其它类型的数据吗,例如待测芯片300的功率、待测芯片300的总线频率等,具体可以根据待测芯片300实际需要测量的工作环境数据的种类进行灵活的使用。In some embodiments of the present application, the working environment data is the working voltage or working current when the chip under
芯片测试方法具体如图2所示,可以包括但不限于以下步骤:The chip testing method is specifically shown in Figure 2, and may include but not limited to the following steps:
步骤S101:通过芯片测试装置获取自身与待测装置之间的通信状态。Step S101: Obtain the communication status between itself and the device under test through the chip testing device.
下面示例性阐述S101的实现过程。The implementation process of S101 is exemplarily described below.
在本申请的一些实施例中,芯片测试装置为了获取自身与待测装置之间的通信状态需要首先向待测装置发送测试数据,然后接收待测装置反馈的返回数据,最后根据测试数据和返回数据得到工作状态。在本申请的一些实施例中,测试数据发送至待测装置后,待测装置中运行的待测芯片会对测试数据进行转发,测试数据经由待测芯片转发后发送至芯片测试装置即为返回数据,如果测试数据和返回数据相同则说明待测芯片可以实现正常的转发功能,此时待测芯片工作的工作环境数据即为待测芯片可以正常工作的工作环境数据。In some embodiments of the present application, in order to obtain the communication status between itself and the device under test, the chip testing device first needs to send test data to the device under test, then receive the return data fed back by the device under test, and finally Data gets working status. In some embodiments of the present application, after the test data is sent to the device under test, the chip under test running in the device under test will forward the test data, and the test data will be sent to the chip test device after being forwarded by the chip under test. If the test data is the same as the returned data, it means that the chip under test can realize the normal forwarding function. At this time, the working environment data of the chip under test is the working environment data under which the chip under test can work normally.
在本申请的一些实施例中,由于测量误差的存在,测试数据和返回数据之间难以达到完全的相同,因此,在本申请的一些实施例中预设第一阈值,第一阈值为预设的常数值,芯片测试装置在接收到返回数据后,通过计算返回数据和测试数据的相似度,当返回数据和测试数据的相似度大于第一阈值时,同样认定为返回数据与测试数据相同,芯片测试装置与待测装置之间的通信状态为正常,待测芯片当前工作的工作环境数据为待测芯片可以正常工作的工作环境数据;当返回数据和测试数据的相似度小于第一阈值时,认定为返回数据与测试数据不相同,此时认为待测芯片已经无法正常完成对测试数据的转发,待测芯片工作出现异常,芯片测试装置与待测装置之间的通信状态为异常,待测芯片当前工作的工作环境数据超出了待测芯片可以正常工作的工作环境边界值。In some embodiments of the present application, due to the existence of measurement errors, it is difficult to achieve complete consistency between the test data and the returned data. Therefore, in some embodiments of the present application, the first threshold is preset, and the first threshold is preset constant value, after the chip testing device receives the returned data, by calculating the similarity between the returned data and the test data, when the similarity between the returned data and the test data is greater than the first threshold, it is also determined that the returned data is the same as the test data, The communication state between the chip testing device and the device to be tested is normal, and the current working environment data of the chip to be tested is the working environment data in which the chip to be tested can work normally; when the similarity between the returned data and the test data is less than the first threshold , it is determined that the returned data is not the same as the test data. At this time, it is considered that the chip under test cannot normally complete the forwarding of the test data, the chip under test is abnormal, and the communication status between the chip test device and the device under test is abnormal. The current working environment data of the chip under test exceeds the boundary value of the working environment where the chip under test can work normally.
也就是说,本申请的一些实施例芯片测试装置通过向待测装置提供测试数据并检验由该待测装置反馈的由该测试数据得到的返回数据确定待测装置与芯片测试装置之间的数据是否能够被正常传输,进而可以更加准确的推定待测芯片的功能是否正常。That is to say, the chip testing device in some embodiments of the present application determines the data between the device under test and the chip testing device by providing test data to the device under test and checking the return data obtained by the test data fed back by the device under test. Whether it can be transmitted normally, and then it can be more accurately inferred whether the function of the chip under test is normal.
可以理解的是,在本申请的一些实施例中,待测芯片除了完成对测试数据的转发过程之外,还可以使用预设的数据处理算法对测试数据进行数据处理,例如将测试数据求导、数值加一、将测试数据反向等,将对测试数据进行数据处理之后得到的数据转发至芯片测试装置作为返回数据,芯片测试装置对测试数据进行相同的处理得到最终与返回数据进行对比的测试数据,然后计算此时返回数据和测试数据的相似度,以判断待测装置与芯片测试装置之间的通信状态是否为正常。使用待测芯片对测试数据进行数据处理后转发至芯片测试装置,可以保证返回数据为待测芯片处理后的数据,避免对芯片测试装置发送的测试数据进行误采集导致对待测芯片的测试结果产生影响,提升对待测芯片的测试结果的准确度。It can be understood that, in some embodiments of the present application, in addition to completing the forwarding process of the test data, the chip to be tested can also use a preset data processing algorithm to perform data processing on the test data, such as deriving the test data , add one to the value, reverse the test data, etc., forward the data obtained after data processing of the test data to the chip test device as the return data, and the chip test device performs the same processing on the test data to obtain the final result compared with the return data test data, and then calculate the similarity between the returned data and the test data at this time, so as to judge whether the communication status between the device under test and the chip testing device is normal. Use the chip to be tested to process the test data and forward it to the chip test device, which can ensure that the returned data is the processed data of the chip to be tested, and avoid the wrong collection of the test data sent by the chip test device to cause the test results of the chip to be tested. influence, and improve the accuracy of the test results of the chip to be tested.
步骤S102:在通信状态指示正常的情况下,按照预设调节方式确定调节步长,并根据调节步长更新目标工作环境数据,直至调节步长达到预设阈值步长,且通信状态指示异常。Step S102: When the communication state indicates normal, determine the adjustment step according to the preset adjustment method, and update the target working environment data according to the adjustment step, until the adjustment step reaches the preset threshold step and the communication state indicates abnormality.
下面示例性阐述S102的实现过程。The implementation process of S102 is exemplarily described below.
待测芯片在设计时即存在一个初始化的工作环境数据,待测芯片即为根据这一初始化的工作环境数据进行的设计和生产,但是在生产的过程中可能存在各种误差导致最终的生产得到的待测芯片能够正常工作的工作环境数据与初始化的工作环境数据之间存在一定的差别,而本申请所要实现的即为对待测芯片能够正常工作的工作环境数据进行更为精准的测量。The chip to be tested has an initialized working environment data when it is designed, and the chip to be tested is designed and produced according to the initialized working environment data, but there may be various errors in the production process that lead to the final production. There is a certain difference between the working environment data where the chip under test can work normally and the initialized working environment data, and what this application wants to achieve is to measure more accurately the working environment data where the chip under test can work normally.
在本申请的一些实施例中,待测装置初始向待测芯片提供的工作环境数据即为待测芯片设计时初始化的工作环境数据,即目标工作环境数据。在对目标工作环境数据进行调节的过程中,分别需要测量得到待测芯片可以正常工作的工作环境数据的上限值和下限值。对于待测芯片可以承受的下限值,可以以调节步长为步长,逐步减小待测装置提供的目标工作环境数据,直至待测装置与芯片测试装置之间的通信状态由正常转变为异常时,停止减小待测装置提供的目标工作环境数据,此时确定通信状态最后保持为正常时的工作环境数据为待测芯片可以承受的下限值,即确定通信状态转变为异常时的上一个工作环境数据为待测芯片可以承受的下限值。In some embodiments of the present application, the working environment data initially provided by the device under test to the chip under test is the working environment data initialized when the chip under test is designed, that is, the target working environment data. In the process of adjusting the target working environment data, it is necessary to measure the upper limit value and the lower limit value of the working environment data where the chip under test can work normally. For the lower limit value that the chip under test can bear, the target working environment data provided by the device under test can be gradually reduced by adjusting the step size until the communication state between the device under test and the chip testing device changes from normal to When it is abnormal, stop reducing the target working environment data provided by the device under test. At this time, it is determined that the working environment data when the communication state remains normal is the lower limit value that the chip under test can bear, that is, the value when the communication state changes to abnormal. The last working environment data is the lower limit value that the chip under test can bear.
对待测芯片可以承受的上限值的测量过程与对待测芯片可以承受的下限值的测量过程相似,即以调节步长为步长,逐步增大待测装置提供的目标工作环境数据,直至待测装置与芯片测试装置之间的通信状态由正常转变为异常时,停止增大待测装置提供的目标工作环境数据,此时确定通信状态最后保持为正常时的工作环境数据为待测芯片可以承受的上限值,即确定通信状态转变为异常时的上一个工作环境数据为待测芯片可以承受的上限值。The measurement process of the upper limit value that the chip under test can withstand is similar to the measurement process of the lower limit value that the chip under test can withstand, that is, take the adjustment step as the step size, and gradually increase the target working environment data provided by the device under test until When the communication state between the device under test and the chip testing device changes from normal to abnormal, stop increasing the target working environment data provided by the device under test. At this time, it is determined that the working environment data when the communication state last remains normal is the chip under test The upper limit value that can be tolerated, that is, the upper limit value that the chip under test can withstand is the last working environment data when the communication state changes to abnormal.
在本申请的一些实施例中,在确定待测芯片的工作环境边界值的过程中还可以对调节步长进行调整。在待测装置接入芯片测试装置时,芯片测试装置首先使用较大的步长对目标工作环境数据进行调节(可以称之为粗调),在粗调到待测装置与芯片测试装置之间的通信状态转变为异常时,减小调节步长,将目标工作环境数据调整为待测装置与芯片测试装置之间的通信状态保持正常的最后一刻的工作环境数据,使用减小后的调节步长对此时的目标工作环境数据再次进行调节(可以称之为细调),直至待测装置与芯片测试装置之间的通信状态再次转变为异常,此时认为通信状态指示异常时的上一个工作环境数据为待测芯片的工作环境边界值。In some embodiments of the present application, the adjustment step size may also be adjusted during the process of determining the working environment boundary value of the chip to be tested. When the device under test is connected to the chip test device, the chip test device first uses a larger step size to adjust the target working environment data (which can be called a rough adjustment). When the communication status of the device changes to abnormal, reduce the adjustment step size, adjust the target working environment data to the working environment data at the last moment when the communication status between the device under test and the chip testing device remains normal, and use the reduced adjustment step Adjust the target working environment data at this time (it can be called fine adjustment) until the communication state between the device under test and the chip testing device changes to abnormal again. The working environment data is the working environment boundary value of the chip to be tested.
在本申请的一些实施例中,对于调节步长的大小调节过程可以进行多次,即每次待测装置与芯片测试装置之间的通信状态转变为异常时,即缩小调节步长的大小,直至调节步长达到预设阈值步长,且待测装置与芯片测试装置之间的通信状态再次转变为异常,此时认为通信状态指示异常时的上一个工作环境数据为待测芯片的工作环境边界值。In some embodiments of the present application, the adjustment step size adjustment process can be performed multiple times, that is, each time the communication state between the device under test and the chip testing device changes to abnormal, the size of the adjustment step size is reduced, Until the adjustment step reaches the preset threshold step, and the communication state between the device under test and the chip testing device changes to abnormal again, at this time, it is considered that the last working environment data when the communication state indicates abnormality is the working environment of the chip under test Boundary value.
使用粗调的方式对待测芯片的工作环境边界值进行确认,可以有效的减少调节目标工作环境数据的次数,提升测试效率,在粗调的基础上使用细调的方式对待测芯片的工作环境边界值进行确认,可以在提升测试效率的基础上提升待测芯片的工作环境边界值的测量精准度。Using the rough adjustment method to confirm the working environment boundary value of the chip under test can effectively reduce the number of times to adjust the target working environment data and improve the test efficiency. On the basis of rough adjustment, use the fine adjustment method to determine the working environment boundary of the chip under test Confirming the value can improve the measurement accuracy of the working environment boundary value of the chip under test on the basis of improving the test efficiency.
在本申请的一些实施例中,芯片测试装置通过向待测装置发送驱动信号的方式调节待测装置提供的目标工作环境数据,向待测装置发送驱动信号需要首先生成驱动信号,例如,芯片测试装置可以包括驱动信号生成装置(例如,电源控制IC以及相应电路),由该装置来生成或者更新对应的驱动信号。In some embodiments of the present application, the chip testing device adjusts the target working environment data provided by the device under test by sending a driving signal to the device under test. Sending a driving signal to the device under test requires first generating a driving signal, for example, chip testing The device may include a driving signal generating device (for example, a power control IC and a corresponding circuit), and the corresponding driving signal is generated or updated by the device.
下面示例性阐述驱动信号生成装置的两个示例。Two examples of drive signal generating devices are illustrated below.
例如,在本申请的一些实施例中,当目标工作环境数据为待测芯片的IO电压(电流)时,驱动信号生成装置内包含一个专用于电压电流调节的单片机(此功能也可由测试设备中的处理器完成),内置粗调、细调和步长设置等程序。在本申请的一些实施例中也可以在测试设备上设置对应的粗调、细调等程序。For example, in some embodiments of the present application, when the target working environment data is the IO voltage (current) of the chip to be tested, the driving signal generating device includes a single-chip microcomputer dedicated to voltage and current regulation (this function can also be provided by the testing equipment. Processor completed), built-in programs such as coarse adjustment, fine adjustment and step size setting. In some embodiments of the present application, corresponding programs such as coarse adjustment and fine adjustment may also be set on the test equipment.
例如,在本申请的一些实施例中驱动信号生成装置为电压电流可调电路,主要分为两种,一种为数字电源电路(即PWM CONTROLLER+POWER STAGE),第二种为DC-DC电路,其中限流电阻以及反馈电阻阻值可由专用单片机(或系统处理器)进行调节,从而实现电压与电流的调节。For example, in some embodiments of the present application, the driving signal generating device is an adjustable voltage and current circuit, which is mainly divided into two types, one is a digital power supply circuit (ie PWM CONTROLLER+POWER STAGE), and the second is a DC-DC circuit , wherein the resistance of the current limiting resistor and the feedback resistor can be adjusted by a dedicated single-chip microcomputer (or system processor), so as to realize the regulation of voltage and current.
步骤S103:将通信状态指示异常时的上一个工作环境数据为待测芯片的工作环境边界值。Step S103: Use the last working environment data when the communication status indicates abnormality as the working environment boundary value of the chip under test.
下面示例性阐述S103的实现过程。The implementation process of S103 is exemplarily described below.
在本申请的一些实施例中,当芯片测试装置与待测装置之间的通信状态由正常转变为异常时,说明待测芯片当前工作的工作环境数据以及超出了待测芯片的工作环境边界值,而通信状态指示异常时的上一个工作环境数据下待测芯片仍能保持正常工作,超出这一工作环境数据待测芯片即无法再保持正常工作,因此将通信状态指示异常时的上一个工作环境数据为待测芯片的工作环境边界值。In some embodiments of the present application, when the communication state between the chip testing device and the device under test changes from normal to abnormal, it indicates that the current working environment data of the chip under test and the working environment boundary value of the chip under test are exceeded , and the chip to be tested can still work normally under the last working environment data when the communication status indicates abnormality, and the chip to be tested can no longer maintain normal work when the working environment data exceeds this working environment data, so the previous working environment when the communication status indicates abnormality The environmental data is the boundary value of the working environment of the chip to be tested.
在本申请实施例一所提供的芯片测试方法中,通过芯片测试装置获取自身与待测装置之间的通信状态,在通信状态指示正常的情况下,说明待测芯片的工作状态也正常,按照预设调节方式确定调节步长,并根据调节步长更新待测芯片工作的目标工作环境数据,直至调节步长达到预设阈值步长,且通信状态指示异常,通信状态指示异常说明待测芯片的工作状态也出现异常,也即表示当前的工作环境数据超出了待测芯片正常工作时的工作环境数据的边界值,通信状态指示异常时的上一个工作环境数据即为待测芯片的工作环境边界值。从而实现对待测芯片工作环境数据的边界值的精准测量。In the chip testing method provided in Embodiment 1 of the present application, the chip testing device obtains the communication status between itself and the device under test. If the communication status indicates normal, it means that the working status of the chip under test is also normal. The preset adjustment method determines the adjustment step size, and updates the target working environment data of the chip under test according to the adjustment step size until the adjustment step size reaches the preset threshold step size, and the communication status indication is abnormal. The abnormal communication status indication indicates the chip under test The working status of the device is also abnormal, which means that the current working environment data exceeds the boundary value of the working environment data when the chip under test is working normally, and the last working environment data when the communication status indicates abnormality is the working environment of the chip under test Boundary value. In this way, the precise measurement of the boundary value of the working environment data of the chip to be tested can be realized.
本申请实施例二提供了一种芯片测试方法,具体如图4所示,包括以下步骤:Embodiment 2 of the present application provides a chip testing method, specifically as shown in FIG. 4 , including the following steps:
步骤S201:通过芯片测试装置获取自身与待测装置之间的通信状态。Step S201: Obtain the communication status between itself and the device under test through the chip testing device.
步骤S202:在通信状态指示正常的情况下,按照预设调节方式确定调节步长,并根据调节步长更新目标工作环境数据,直至调节步长达到预设阈值步长,且通信状态指示异常。Step S202: When the communication state indicates normal, determine the adjustment step according to the preset adjustment method, and update the target working environment data according to the adjustment step, until the adjustment step reaches the preset threshold step and the communication state indicates abnormality.
步骤S203:将通信状态指示异常时的上一个工作环境数据为待测芯片的工作环境边界值。Step S203: Use the last working environment data when the communication status indicates abnormality as the working environment boundary value of the chip under test.
可以理解的是,本申请实施例二所提供的芯片测试方法中的步骤S201至步骤S203与实施例一中的步骤S101至步骤S103大致相同,具体可以参照前述实施例的具体说明,在此不再赘述。It can be understood that the steps S201 to S203 in the chip testing method provided in Embodiment 2 of the present application are substantially the same as Steps S101 to S103 in Embodiment 1. For details, reference may be made to the specific descriptions of the foregoing embodiments, which are not described herein. Let me repeat.
步骤S204:判断待测芯片可以承受的上限值是否小于待测芯片处于散热设计功耗TDP下所确定的数值,若是,执行步骤S205,若否,执行步骤S206。Step S204: Determine whether the upper limit value that the chip under test can withstand is less than the value determined under the heat dissipation design power consumption TDP of the chip under test, if yes, execute step S205, if not, execute step S206.
下面示例性阐述S101的实现过程。The implementation process of S101 is exemplarily described below.
散热设计功耗(Thermal Design Power,TDP)用于指示芯片在满负荷工作时可能会达到的最高散热热量。当待测芯片处于TDP状态时对应一个工作环境数据的数值,如果步骤S203中测试得到的待测芯片可以承受的上限值大于或等于待测芯片在TDP下所确定的工作环境数据的数值,说明待测芯片在待测装置所提供的目标工作环境数据高于TDP下所确定的工作环境数据的数值的情况下仍然可以正常工作,而在这个工作环境数据下待测芯片的功率已经超出了待测芯片可以达到的最大散热设计功耗,说明待测芯片为异常芯片,执行步骤S206,反之若待测芯片可以承受的上限值小于待测芯片处于散热设计功耗TDP下所确定的数值,则说明待测芯片为正常芯片,执行步骤S205。Thermal Design Power (TDP) is used to indicate the highest heat dissipation that a chip may achieve when it is working at full load. When the chip to be tested is in the TDP state, it corresponds to the value of a working environment data, if the upper limit value that the chip to be tested that is tested in step S203 can bear is greater than or equal to the value of the working environment data determined by the chip to be tested under TDP, It shows that the chip under test can still work normally when the target working environment data provided by the device under test is higher than the value of the working environment data determined under TDP, and the power of the chip under test under this working environment data has exceeded The maximum heat dissipation design power consumption that the chip to be tested can achieve indicates that the chip to be tested is an abnormal chip, and step S206 is performed; otherwise, if the upper limit that the chip to be tested can withstand is less than the value determined under the heat dissipation design power consumption TDP of the chip to be tested , it means that the chip to be tested is a normal chip, and step S205 is executed.
步骤S205:确定待测芯片为正常芯片。Step S205: Determine that the chip to be tested is a normal chip.
步骤S206:确定待测芯片为异常芯片。Step S206: Determine that the chip to be tested is an abnormal chip.
与现有技术相比,本申请实施例二所提供的芯片测试方法中保留了实施例一的全部技术特征,具备与实施例一相同的技术效果。此外,在本申请的实施例二中,通过测量得到的待测芯片可以承受的上限值与待测芯片处于散热设计功耗TDP下所确定的数值的大小比较,判断待测芯片是否为异常芯片,实现进一步的对待测芯片是否为异常芯片的检测。Compared with the prior art, the chip testing method provided in the second embodiment of the present application retains all the technical features of the first embodiment, and has the same technical effect as the first embodiment. In addition, in the second embodiment of the present application, by comparing the upper limit value that the chip to be tested can withstand with the value determined under the heat dissipation design power consumption TDP of the chip to be tested, it is judged whether the chip to be tested is abnormal chip, to realize further detection of whether the chip to be tested is an abnormal chip.
本申请实施例三提供了一种芯片测试装置,用于对待测芯片进行测试,芯片测试装置在对待测芯片进行测试时,待测芯片搭载在待测装置中,待测装置为待测芯片提供工作环境数据,芯片测试装置具体如图5所示,包括:Embodiment 3 of the present application provides a chip testing device for testing the chip to be tested. When the chip testing device is testing the chip to be tested, the chip to be tested is carried in the device to be tested, and the device to be tested provides the chip to be tested. The working environment data and the chip testing device are shown in Figure 5, including:
通信模块601,通信模块601用于与待测装置进行通信,包括向待测装置发送测试数据和接收待测装置返回的返回数据等;通信状态获取模块602,通信状态获取模块602用于获取待测芯片工作在目标工作环境数据下、芯片测试装置与待测装置之间的通信状态,即通信状态获取模块602用于执行前述实施例一中的步骤S101;处理模块603,处理模块603用于在通信状态指示正常的情况下,按照预设调节方式确定调节步长,并根据调节步长更新目标工作环境数据,直至达到预设阈值步长,且通信状态指示异常;其中,通信状态指示异常时的上一个工作环境数据为待测芯片的工作环境边界值,即处理模块603用于执行前述实施例一中的步骤S102和步骤S103。The
不难发现,本申请实施例三所提供的芯片测试装置为与前述实施例一所提供的芯片测试方法相对应的装置的实施例,本申请实施例三中的技术细节可以应用在实施例一中,本申请实施例一中的技术细节同样可以应用在实施例三中。It is not difficult to find that the chip testing device provided in the third embodiment of the present application is an embodiment of the device corresponding to the chip testing method provided in the foregoing embodiment one, and the technical details in the third embodiment of the present application can be applied in the first embodiment In this application, the technical details in Embodiment 1 of the present application can also be applied in Embodiment 3.
与现有技术相比,本申请实施例三所提供的芯片测试装置中,芯片测试装置通过通信模块601和通信状态获取模块602获取自身与待测装置之间的通信状态,在通信状态指示正常的情况下,说明待测芯片的工作状态也正常,处理模块603按照预设调节方式确定调节步长,并根据调节步长更新待测芯片工作的目标工作环境数据,直至调节步长达到预设阈值步长,且通信状态指示异常,通信状态指示异常说明待测芯片的工作状态也出现异常,也即表示当前的工作环境数据超出了待测芯片正常工作时的工作环境数据的边界值,通信状态指示异常时的上一个工作环境数据即为待测芯片的工作环境边界值。从而实现对待测芯片工作环境数据的边界值的精准测量。Compared with the prior art, in the chip testing device provided in Embodiment 3 of the present application, the chip testing device obtains the communication status between itself and the device under test through the
进一步的,在本申请的一些其它的实施例中,如图6所示,通信模块601包括发送子模块6011和接收子模块6012;发送子模块6011用于向待测装置发送测试数据,接收子模块6012用于接收待测装置反馈的返回数据;通信状态获取模块602用于在测试数据和返回数据之间的相似度大于第一阈值的情况下,确定与待测装置之间的通信状态为正常,在测试数据和返回数据之间的相似度小于第一阈值的情况下,确定与待测装置之间的通信状态为异常。Further, in some other embodiments of the present application, as shown in FIG. 6 , the
本申请实施例四提供了一种芯片测试装置,如图7所示,同样包括:通信模块601、通信状态获取模块602、以及处理模块603,此外,在本实施例中,芯片测试装置还包括功耗判断模块604,功耗判断模块604用于在待测芯片可以承受的上限值小于待测芯片处于散热设计功耗TDP下所确定的数值时,确定待测芯片为正常芯片,并在待测芯片可以承受的上限值大于或等于待测芯片处于散热设计功耗TDP下所确定的数值时,确定待测芯片为异常芯片。Embodiment 4 of the present application provides a chip testing device, as shown in FIG. 7 , which also includes: a
不难发现,本申请实施例四所提供的芯片测试装置为与前述实施例二所提供的芯片测试方法相对应的装置的实施例,本申请实施例四中的技术细节可以应用在实施例二中,本申请实施例二中的技术细节同样可以应用在实施例四中。It is not difficult to find that the chip testing device provided in Embodiment 4 of the present application is an embodiment of the device corresponding to the chip testing method provided in Embodiment 2 above, and the technical details in Embodiment 4 of the present application can be applied to Embodiment 2 In this application, the technical details in Embodiment 2 of the present application can also be applied in Embodiment 4.
与现有技术相比,本申请实施例四所提供的芯片测试装置中,通过设置功耗判断模块604将测量得到的待测芯片可以承受的上限值与待测芯片处于散热设计功耗TDP下所确定的数值进行大小比较,判断待测芯片是否为异常芯片,实现进一步的对待测芯片是否为异常芯片的检测。Compared with the prior art, in the chip testing device provided in Embodiment 4 of the present application, by setting the power
本申请实施例五提供了一种芯片测试系统,用于对待测芯片进行测试,如图8所示,芯片测试系统包括如前述实施例所提供的芯片测试装置901和与芯片测试装置901连接的待测装置902,待测芯片搭载在待测装置902中,待测装置902为待测芯片提供工作环境数据,芯片测试装置901执行前述实施例所提供的芯片测试方法对待测芯片进行测试。Embodiment 5 of the present application provides a chip testing system for testing a chip to be tested. As shown in FIG. The device to be tested 902, the chip to be tested is mounted in the device to be tested 902, the device to be tested 902 provides working environment data for the chip to be tested, and the
与现有技术相比,本申请实施例五所提供的芯片测试系统包括前述实施例所提供的芯片测试装置,芯片测试装置中运行前述的芯片测试方法,因此具备与前述实施例相同的技术效果,具体可以参照前述实施例的具体说明。Compared with the prior art, the chip testing system provided in Embodiment 5 of the present application includes the chip testing device provided in the aforementioned embodiment, and the aforementioned chip testing method is run in the chip testing device, so it has the same technical effect as the aforementioned embodiment, For details, reference may be made to the specific descriptions of the foregoing embodiments.
本申请实施例六提供了一种电子设备,如图9所示,包括:至少一个处理器1001;以及,与至少一个处理器1001通信连接的存储器1002;其中,存储器1002存储有可被至少一个处理器1001执行的指令,指令被至少一个处理器1001执行,以使至少一个处理器1001能够执行如前述的芯片测试方法。Embodiment 6 of the present application provides an electronic device, as shown in FIG. 9 , including: at least one
其中,存储器1002可以是只读存储器1002(Read-Only Memory,ROM)、随机存取存储器1002(Random Access Memory,RAM)或其他存储器1002。本申请实施例中,存储器1002用于存储数据以及各种算法和命令,例如本申请实施例中确定IO电压(电流)范围的算法以及整个流程和最终结果等。Wherein, the
在本申请实施例中,存储器1002可以包括用于存储信息的物理装置,通常是将信息数字化后再以利用电、磁或者光学等方法的媒体加以存储。本实施方式的存储器1002又可以包括:利用电能方式存储信息的装置,如RAM、ROM等;利用磁能方式存储信息的装置,如硬盘、软盘、磁带、磁芯存储器1002、磁泡存储器1002、U盘;利用光学方式存储信息的装置,如CD或DVD。当然,还有其他方式的存储器1002,例如量子存储器1002、石墨烯存储器1002等等。In the embodiment of the present application, the
处理器1001,被配置为从存储器1002读取计算机程序,并执行计算机程序以实现如前述实施例所提供的芯片测试方法。The
需要说明的是,处理器1001可以是中央处理单元(Central Processing Unit,CPU),该处理器1001还可以是其他处理器1001、数字信号处理器1001(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器1001可以是微处理器1001或者该处理器1001也可以是任何常规的处理器1001等。处理器1001还可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,本申请的IO电压(电流)测试方法的各个步骤可以通过处理器1001中的硬件的集成逻辑电路或者软件形式的指令完成。It should be noted that the
在本申请的一些实施例中,还包括驱动信号生成装置1003,驱动信号生成装置1003被配置为接收处理器1001发送的驱动信号调整指令、以调整向待测装置提供的驱动信号,待测装置在接收到驱动信号后,根据驱动信号调整为待测芯片提供的工作环境数据。In some embodiments of the present application, a driving
例如,在本申请的一些实施例中工作环境数据为芯片的IO电压或IO电流,则驱动信号生成装置1003为IO电压(电流)控制模块,该IO电压(电流)控制模块主要为电源控制IC以及相应电路构成。For example, in some embodiments of the present application, the working environment data is the IO voltage or IO current of the chip, then the driving
下面示例性阐述该IO电压(电流)控制模块的工作过程。The working process of the IO voltage (current) control module is exemplarily described below.
在本申请的一些实施例中,该IO电压(电流)控制模块在接收到处理器1001的驱动信号调整指令后,根据该驱动信号调整指令构建驱动信号、并将驱动信号发送至待测装置、以控制待测装置对提供给待测芯片的IO电压(电流)进行相应的调节。In some embodiments of the present application, after receiving the driving signal adjustment instruction from the
在本申请的一些实施例中,该驱动信号生成装置1003也可以是根据处理器1001预先划分的等级、对待测装置向待测芯片提供的IO电压(电流)等工作环境数据进行自动调节。In some embodiments of the present application, the driving
如图9所示,在本申请的一些实施例中,电子设备还包括:显示模块1004,该模块被配置为显示驱动信号边界值和/或接收输入的驱动信号调整步长值。As shown in FIG. 9 , in some embodiments of the present application, the electronic device further includes: a
需要说明的是,在本申请的一些实施例中该显示模块还用于显示整个流程里的内容,包括待测装置与芯片测试装置之间的通信状态、返回数据与测试数据之间的相似度值等等,本申请实施例并不限定显示模块显示的具体内容。It should be noted that, in some embodiments of the present application, the display module is also used to display the content of the entire process, including the communication status between the device under test and the chip testing device, the similarity between the returned data and the test data value, etc., the embodiment of the present application does not limit the specific content displayed by the display module.
显示模块1004,该显示模块不限于各种显示方式,例如可以为数码管显示或者液晶屏幕、LCD、OLED等。连接方式不限,如IIC、SPI、UART、MIPI、DP、eDP和HDMI等。该模块主要作用为将整个测试过程以及最终结果直观显示。The
如图9所示,在本申请的一些实施例中,电子设备还包括:通信接口1005。通信接口1005使用例如但不限于收发器一类的收发装置,来实现芯片测试装置与待测装置之间的通信。As shown in FIG. 9 , in some embodiments of the present application, the electronic device further includes: a
本申请的实施例七提供一种计算机存储介质,其上存储有计算机程序,计算机程序被处理器执行时可实现如上述获取驱动信号的方法所包括的任意实施例的方法。Embodiment 7 of the present application provides a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method of any embodiment included in the above method for obtaining a driving signal can be implemented.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本申请的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may also be implemented in other ways. The device embodiments described above are only illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functions and possible implementations of devices, methods and computer program products according to multiple embodiments of the present application. operate. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
另外,在本申请各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, each functional module in each embodiment of the present application may be integrated to form an independent part, each module may exist independently, or two or more modules may be integrated to form an independent part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
以上所述仅为本申请的实施例而已,并不用于限制本申请的保护范围,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。The above descriptions are only examples of the present application, and are not intended to limit the scope of protection of the present application. For those skilled in the art, various modifications and changes may be made to the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application shall be included within the protection scope of this application. It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211535586.2A CN115932557A (en) | 2022-11-30 | 2022-11-30 | Chip testing method, related equipment and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211535586.2A CN115932557A (en) | 2022-11-30 | 2022-11-30 | Chip testing method, related equipment and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115932557A true CN115932557A (en) | 2023-04-07 |
Family
ID=86653746
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211535586.2A Pending CN115932557A (en) | 2022-11-30 | 2022-11-30 | Chip testing method, related equipment and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115932557A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118731647A (en) * | 2024-07-05 | 2024-10-01 | 西安华讯微芯科技有限责任公司 | Probe station height adjustment method, control device and medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100308856A1 (en) * | 2007-04-27 | 2010-12-09 | Advantest Corporation | Test apparatus and test method |
US20120023345A1 (en) * | 2010-07-21 | 2012-01-26 | Naffziger Samuel D | Managing current and power in a computing system |
TW201226945A (en) * | 2010-12-28 | 2012-07-01 | Hon Hai Prec Ind Co Ltd | Voltage margin test device and voltage margin test method |
CN102540051A (en) * | 2010-12-22 | 2012-07-04 | 鸿富锦精密工业(深圳)有限公司 | Device and method for testing voltage margin |
CN106997487A (en) * | 2017-02-28 | 2017-08-01 | 北京临近空间飞行器系统工程研究所 | A kind of Aerospace vehicle test data automatic interpretation method in knowledge based storehouse |
CN113900913A (en) * | 2021-12-10 | 2022-01-07 | 飞腾信息技术有限公司 | Method and device for determining power consumption, computer equipment and computer readable storage medium |
CN114281633A (en) * | 2021-12-30 | 2022-04-05 | 山东云海国创云计算装备产业创新中心有限公司 | Working parameter range testing method, system and related components |
CN114385431A (en) * | 2022-01-13 | 2022-04-22 | 北京全路通信信号研究设计院集团有限公司 | Method, device, electronic device and storage medium for board card testing |
-
2022
- 2022-11-30 CN CN202211535586.2A patent/CN115932557A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100308856A1 (en) * | 2007-04-27 | 2010-12-09 | Advantest Corporation | Test apparatus and test method |
US20120023345A1 (en) * | 2010-07-21 | 2012-01-26 | Naffziger Samuel D | Managing current and power in a computing system |
CN102540051A (en) * | 2010-12-22 | 2012-07-04 | 鸿富锦精密工业(深圳)有限公司 | Device and method for testing voltage margin |
TW201226945A (en) * | 2010-12-28 | 2012-07-01 | Hon Hai Prec Ind Co Ltd | Voltage margin test device and voltage margin test method |
CN106997487A (en) * | 2017-02-28 | 2017-08-01 | 北京临近空间飞行器系统工程研究所 | A kind of Aerospace vehicle test data automatic interpretation method in knowledge based storehouse |
CN113900913A (en) * | 2021-12-10 | 2022-01-07 | 飞腾信息技术有限公司 | Method and device for determining power consumption, computer equipment and computer readable storage medium |
CN114281633A (en) * | 2021-12-30 | 2022-04-05 | 山东云海国创云计算装备产业创新中心有限公司 | Working parameter range testing method, system and related components |
CN114385431A (en) * | 2022-01-13 | 2022-04-22 | 北京全路通信信号研究设计院集团有限公司 | Method, device, electronic device and storage medium for board card testing |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118731647A (en) * | 2024-07-05 | 2024-10-01 | 西安华讯微芯科技有限责任公司 | Probe station height adjustment method, control device and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2573531B1 (en) | Threshold-based temperature-dependent power/thermal management with temperature sensor calibration | |
US9304565B2 (en) | Information handling system power supply automated de-rating for power output and thermal constraints | |
US8087823B2 (en) | Method for monitoring thermal control | |
CN103389434B (en) | The method and apparatus of the leakage current of detection resistance temperature detector | |
US10114390B2 (en) | Fan control system, computer system, and fan controlling method thereof | |
TWI642959B (en) | Method and apparatus for measuring electric quantity of battery | |
TW202119002A (en) | On-die thermal sensing network for integrated circuits | |
JP6821436B2 (en) | Calibration of power supply using power supply monitor | |
CN100541392C (en) | Temperature detection system and method | |
US11630003B2 (en) | Temperature control system for central processing unit and temperature control method thereof | |
CN112287510B (en) | System and method for modeling thermal circuits | |
US9399997B2 (en) | Method for detecting heat-dissipating air flow and electronic device using the same | |
TW201814309A (en) | State-of-charge indication method and related system | |
CN115932557A (en) | Chip testing method, related equipment and computer-readable storage medium | |
CN105823971A (en) | Chip operation state monitoring system and monitoring method | |
US20150102791A1 (en) | Voltage regulator calibration | |
CN116521480A (en) | Power consumption reading precision test system, method, device, equipment and storage medium | |
US20140379162A1 (en) | Server system and monitoring method | |
CN114325315A (en) | Chip aging compensation method and device, SOC chip and electronic equipment | |
US20110130989A1 (en) | System and method for identifying a peripheral component interconnect express signal | |
US20190086451A1 (en) | Method and system for measuring power-on reset time | |
JP6119308B2 (en) | Power supply control apparatus, information processing apparatus, power supply control method, and program | |
TW201526461A (en) | Identification of a unique attribute of a power adapter based on an adjust pin | |
US20210373052A1 (en) | Error warning module | |
US20250085753A1 (en) | Current based power monitoring in computing platforms |
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 |