WO2021238276A1 - Electric leakage detection method and apparatus for cpld - Google Patents

Electric leakage detection method and apparatus for cpld Download PDF

Info

Publication number
WO2021238276A1
WO2021238276A1 PCT/CN2021/073496 CN2021073496W WO2021238276A1 WO 2021238276 A1 WO2021238276 A1 WO 2021238276A1 CN 2021073496 W CN2021073496 W CN 2021073496W WO 2021238276 A1 WO2021238276 A1 WO 2021238276A1
Authority
WO
WIPO (PCT)
Prior art keywords
cpld
output voltage
output
voltage value
power chip
Prior art date
Application number
PCT/CN2021/073496
Other languages
French (fr)
Chinese (zh)
Inventor
谢武志
Original Assignee
苏州浪潮智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 苏州浪潮智能科技有限公司 filed Critical 苏州浪潮智能科技有限公司
Publication of WO2021238276A1 publication Critical patent/WO2021238276A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/52Testing for short-circuits, leakage current or ground faults
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2851Testing of integrated circuits [IC]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2851Testing of integrated circuits [IC]
    • G01R31/2853Electrical testing of internal connections or -isolation, e.g. latch-up or chip-to-lead connections

Definitions

  • the present invention relates to the field of leakage detection design, in particular to a method and device for leakage detection of CPLD.
  • the power supply of the entire server is provided by the PDB board (power distribution board), and then the power chip on the power distribution board performs voltage conversion to provide various voltages to meet the needs of the chip.
  • Most of the control switches of all power chips are controlled by CPLD (Complex Programmable Logic Device, programmable logic device).
  • CPLD Complex Programmable Logic Device, programmable logic device
  • the power of the power chip is turned on in sequence.
  • the leakage situation is that when the power chip is not turned on, the output voltage of the power chip (Power IC) is measured to be an abnormal voltage. For example, if P12V_MAIN is not turned on, the output of P12V_MAIN measures 2V, as shown in Figure 2.
  • FIG. 3 is a schematic diagram of the CPLD pin connection on the server. Since the server system is very large, which node causes the leakage, or the output pin leakage of the CPLD itself, in the existing method, engineers need to give the circuit of the problem point one by one. Disconnect it, and then measure whether there is any leakage. If there is still a problem, continue to disconnect other doubtful points. Repeat this until the leakage phenomenon is improved, and when the circuit is disconnected, the risk of chip (IC) damage or solder joints falling off will be caused by carelessness, which is not conducive to the rapid and efficient solution of the server leakage problem.
  • IC chip
  • the present invention innovatively proposes a CPLD leakage detection method and device, which effectively solves the problem of high leakage detection risk and low efficiency due to engineers disconnecting the circuit of the problem point one by one for measurement. , Effectively improve the efficiency of the server leakage problem.
  • the first aspect of the present invention provides a CPLD leakage detection method, including:
  • CPLD controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip
  • restoring the N output pins of the CPLD individually from the high impedance state to the pre-working state in turn, and respectively sequentially recording the restored N third output voltage values of the power chip specifically includes:
  • the first output voltage value, the second output voltage value, and the N third output voltage values are all recorded by the ADC inside the CPLD.
  • the CPLD sends the internal ADC record data to the background through the URAT interface.
  • the CPLD controlling the power chip to stop outputting voltage is specifically an enable signal for the CPLD to turn off the power chip through an internal VR control module.
  • setting all output pins of the CPLD to high impedance, and restoring the N output pins of the CPLD from the high impedance state to the pre-working state individually in turn are all implemented through the IO management module inside the CPLD.
  • the second aspect of the present invention provides a CPLD leakage detection device, including:
  • the first recording unit controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip;
  • the second recording unit sets all output pins of the CPLD to high impedance, and records the second output voltage value of the power chip;
  • the comparison unit compares whether the first output voltage value is consistent with the second output voltage value. If they are the same, none of the CPLD output pins will leak; if they are inconsistent, the N output pins of the CPLD will be individually restored from the high impedance state in turn In the pre-working state, record the N third output voltage values of the restored power chip in sequence, and compare the N third output voltage values with the second output voltage values in sequence to see if they are consistent. If they are consistent, the corresponding The output pin of the CPLD has no leakage. If it is inconsistent, the output pin of the corresponding CPLD has leakage, where N is a positive integer.
  • the first output voltage value, the second output voltage value, and the N third output voltage values are all recorded by the ADC inside the CPLD.
  • it further includes: a data sending unit, where the CPLD sends the internal ADC record data to the background through the URAT interface.
  • the present invention effectively solves the problem of high leakage detection risk and low efficiency due to engineers disconnecting the circuit of the problem point one by one for measurement, and effectively improves the efficiency of the server leakage problem.
  • the technical solution of the present invention distinguishes whether the server leakage problem is caused by the output pin of the CPLD itself, and further locates which output pin of the CPLD is caused by the specific output pin, and the positioning effect is better.
  • the first output voltage value, the second output voltage value, and the N third output voltage values are uniformly recorded by the ADC inside the CPLD, which avoids the problem of low detection efficiency due to separate recording and improves detection efficient.
  • the CPLD sends the internal ADC record data to the background through the URAT interface, which is convenient for the background to monitor the leakage of each output pin of the CPLD.
  • Fig. 1 is a schematic diagram of power supply for a server power distribution board in the prior art
  • Figure 2 is a schematic diagram of leakage detection of a server power chip in the prior art
  • FIG. 3 is a schematic diagram of the connection of the CPLD chip in the server in the prior art
  • Fig. 4 is a schematic flow chart of the method of Example 1 in the scheme of the present invention.
  • FIG. 5 is a schematic diagram of the hardware architecture of CPLD self-detection in the first embodiment of the scheme of the present invention
  • step S5 is a schematic flowchart of step S5 in the method of Example 1 in the solution of the present invention.
  • Fig. 7 is a schematic flow chart of the method of Example 2 in the scheme of the present invention.
  • FIG. 8 is a schematic diagram of the hardware architecture of the CPLD self-detection in the second embodiment of the solution of the present invention.
  • FIG. 9 is a schematic diagram of the structure of the device of Example 3 in the scheme of the present invention.
  • Fig. 10 is a schematic diagram of the structure of the device of Example 4 in the scheme of the present invention.
  • the present invention provides a CPLD leakage detection method, including:
  • S1 controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip
  • step S3 compare whether the first output voltage value is consistent with the second output voltage value, if the judgment result is yes, then step S4 is executed; if the judgment result is no, then step S5 is executed;
  • the CPLD includes a VR control module (VR Control), ADC (Analog-to-digital converter, analog-to-digital converter), and a self-checking process control module (Self- test flow Control), IO management module (I/O Management), the CPLD turns off the enable signal of the power chip (Power IC) through the internal VR control module, so that the power chip stops outputting the voltage; the IO management module inside the CPLD can set the CPLD’s All output pins are set to high impedance and the N output pins of the CPLD are individually restored from the high impedance state to the pre-working state in turn; the first output voltage value, the second output voltage value, and the N third output voltage values all pass The ADC record inside the CPLD; the self-detection process control module realizes the control of the CPLD's entire leakage detection test process, including but not limited to the sending and receiving of commands.
  • VR Control VR Control
  • ADC Analog-to-digital converter, analog-to-digit
  • step S5 specifically includes:
  • step S52 judge whether the nth output pin of the CPLD is the Nth output pin of the CPLD, if the judgment result is yes, then execute step S53, if the judgment result is no, then execute step S54;
  • step S53 the setting of all output pins of the CPLD is completed, and step S6 is executed;
  • steps S51-S54 the purpose is to sequentially restore all the N output pins of the CPLD and record the corresponding third output voltage value to facilitate the data comparison in step S6.
  • the CPLD controls the power chip to stop the output voltage, and records the first output voltage value of the power chip.
  • the first output voltage value is the voltage value at the time of leakage.
  • the output pins of the CPLD are in the normal working state (normal output).
  • the power chip P1V8 has 1V leakage;
  • the N output pins of the CPLD are individually restored from the high impedance state to the pre-operating state in turn, and the N third output voltage values of the restored power chip P1V8 are recorded in sequence, and the N third output voltage values are sequentially compared with the first Compare the two output voltage values to see if they are consistent. If a third output voltage value is consistent with the second output voltage value, that is, it is still less than 0.2V, it means that the corresponding output pin has no leakage; if a third output voltage value is Inconsistent with the second output voltage value, that is, 0.1V or 0.3V, etc., it indicates that the corresponding output pin is leaking.
  • the invention effectively solves the problems of high leakage detection risk and low efficiency caused by the engineers disconnecting the circuits of the problem points one by one for measurement, and effectively improves the efficiency of the server leakage problem.
  • the technical scheme of the present invention distinguishes whether the server leakage problem is caused by the output pin of the CPLD itself, and further locates which output pin of the CPLD is caused by the specific output pin, and the positioning effect is better.
  • the first output voltage value, the second output voltage value, and the N third output voltage values are uniformly recorded by the ADC inside the CPLD, which avoids the problem of low detection efficiency caused by separate recording and improves the detection efficiency.
  • the present invention provides a CPLD leakage detection method, including:
  • S1 controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip
  • step S3 compare whether the first output voltage value is consistent with the second output voltage value, if the judgment result is yes, then step S4 is executed; if the judgment result is no, then step S5 is executed;
  • the CPLD sends the internal ADC record data to the background through the URAT interface.
  • the CPLD includes a VR control module (VR Control), ADC (Analog-to-digital converter, analog-to-digital converter), and a self-checking process control module (Self- test flow Control), IO management module (I/O Management), RAM, URAT interface (Universal Asynchronous Receiver/Transmitter, Universal Asynchronous Receiver/Transmitter) control module (URAT Control), CPLD turns off the power chip (Power IC) through the internal VR control module ) Enables the power chip to stop the output voltage; the IO management module inside the CPLD can set all the output pins of the CPLD to high impedance and restore the N output pins of the CPLD individually from the high impedance state to pre-work in turn Status: The first output voltage value, the second output voltage value, and the N third output voltage values are all recorded by the ADC inside the CPLD.
  • the self-detection process control module realizes the control of the CPLD's entire leakage detection test process, including but not limited to the sending and receiving of commands; RAM will record the data (first output voltage value, second output voltage value, Nth Three output voltage values) are stored and sent to the background through the URAT interface control module.
  • the CPLD sends the internal ADC record data to the background through the URAT interface, which is convenient for the background to monitor the leakage of each output pin of the CPLD.
  • the technical solution of the present invention also provides a CPLD leakage detection device, including:
  • the first recording unit 101 controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip;
  • the second recording unit 102 sets all output pins of the CPLD to high impedance, and records the second output voltage value of the power chip;
  • the comparison unit 103 compares whether the first output voltage value is consistent with the second output voltage value. If they are the same, none of the CPLD output pins will leak; if they are inconsistent, the N output pins of the CPLD are individually switched from high impedance states in turn Restore to the pre-working state, respectively record the N third output voltage values of the restored power chip in sequence, and compare the N third output voltage values with the second output voltage values in sequence to see if they are consistent. If they are consistent, then The output pin of the corresponding CPLD has no leakage. If it is inconsistent, the output pin of the corresponding CPLD is leakage, where N is a positive integer.
  • first output voltage value, the second output voltage value, and the N third output voltage values are all recorded by the ADC inside the CPLD.
  • the invention effectively solves the problems of high leakage detection risk and low efficiency caused by the engineers disconnecting the circuits of the problem points one by one for measurement, and effectively improves the efficiency of the server leakage problem.
  • the technical scheme of the present invention distinguishes whether the server leakage problem is caused by the output pin of the CPLD itself, and further locates which output pin of the CPLD is caused by the specific output pin, and the positioning effect is better.
  • the first output voltage value, the second output voltage value, and the N third output voltage values are uniformly recorded by the ADC inside the CPLD, which avoids the problem of low detection efficiency caused by separate recording and improves the detection efficiency.
  • the technical solution of the present invention also provides a CPLD leakage detection device, including:
  • the first recording unit 101 controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip;
  • the second recording unit 102 sets all output pins of the CPLD to high impedance, and records the second output voltage value of the power chip;
  • the comparison unit 103 compares whether the first output voltage value is consistent with the second output voltage value. If they are the same, none of the CPLD output pins will leak; if they are inconsistent, the N output pins of the CPLD are individually switched from high impedance state in turn Restore to the pre-working state, respectively record the N third output voltage values of the restored power chip in sequence, and compare the N third output voltage values with the second output voltage values in sequence to see if they are consistent. If they are consistent, then The output pin of the corresponding CPLD has no leakage. If it is inconsistent, the output pin of the corresponding CPLD is leakage, where N is a positive integer.
  • the CPLD sends the internal ADC record data to the background through the URAT interface.
  • the CPLD sends the internal ADC record data to the background through the URAT interface, which is convenient for the background to monitor the leakage of each output pin of the CPLD.

Abstract

An electric leakage detection method for a CPLD, comprising: a CPLD controls a power chip to stop outputting voltage, and records a first output voltage value of the power chip (S1); set all output pins of the CPLD to high impedance, and record a second output voltage value of the power chip (S2); compare whether the first output voltage value is consistent with the second output voltage value (S3); if the first output voltage value is not consistent with the second output voltage value, sequentially and separately restore N output pins of the CPLD from a high impedance state to a pre-working state; according to the comparison between recorded N third output voltage values of the restored power chip and the second output voltage value, determine whether electric leakage occurs at the output pins of the CPLD. Also provided is an electric leakage detection apparatus for a CPLD. The present invention improves the efficiency of solving an electric leakage problem of a server, distinguishes whether the electric leakage problem of the server is caused by the output pins of the CPLD, and specifically positions which one of the output pins of the CPLD has electric leakage, thereby having a good positioning effect.

Description

一种CPLD的漏电检测方法及装置A CPLD leakage detection method and device
本申请要求于2020年05月27日提交中国专利局、申请号为202010460586.5、发明名称为“一种CPLD的漏电检测方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on May 27, 2020, the application number is 202010460586.5, and the invention title is "a method and device for CPLD leakage detection", the entire content of which is incorporated herein by reference Applying.
技术领域Technical field
本发明涉及漏电检测设计领域,尤其是涉及一种CPLD的漏电检测方法及装置。The present invention relates to the field of leakage detection design, in particular to a method and device for leakage detection of CPLD.
背景技术Background technique
在信息大爆发时代,服务器所扮演的地位越来越重要,不论是AI加速,大数据库的数据分析、物联网等应用,这些软件开发的应用层级,都需要有硬件来支持。而服务器在开发阶段,需要进行大量的测试验证,并满足各种需求的测试条件,其中漏电检测也是一个测试验证之一。In the era of information explosion, the role of servers is becoming more and more important. Whether it is AI acceleration, data analysis of large databases, Internet of Things and other applications, the application level of these software development needs hardware to support. In the development stage of the server, a large number of test verifications are required to meet various required test conditions, and leakage detection is also one of the test verifications.
传统测试漏电的手法,大多数的工程师,都是直接对各个电压进行量测,在未上电情况下,若发现VR(电压转换芯片)电压异常输出,就需要进行分析查看是的环节出问题,针对疑问点进行断开,再量测是否有改善。如此重复,直到量测电压达到正常范围值,才可找出漏电问题点。In the traditional method of testing leakage, most engineers directly measure each voltage. If the VR (voltage conversion chip) voltage is found to be output abnormally when it is not powered on, it needs to be analyzed to see if there is a problem. , Disconnect for the question point, and then measure whether there is improvement. Repeat this until the measured voltage reaches the normal range value, and then the leakage problem can be found.
如图1所示,整个服务器供电是由PDB board(电源分配板)提供,再通过电源分配板上的电源芯片来进行电压转换,提供各种不同电压来满足芯片的需求。而这些所有电源芯片的控制开关,大多数是由CPLD(Complex Programmable Logic Device,可编程逻辑器件)控制,依照微处理器(CPU或GPU)所提供上电时序,按照顺序打开电源芯片的电源。而漏电的情况就是在于尚未打开电源芯片时,电源芯片(Power IC)的输出电压却量测到不正常电压。例如P12V_MAIN未打开,P12V_MAIN的输出量测到2V,如图2所示。As shown in Figure 1, the power supply of the entire server is provided by the PDB board (power distribution board), and then the power chip on the power distribution board performs voltage conversion to provide various voltages to meet the needs of the chip. Most of the control switches of all power chips are controlled by CPLD (Complex Programmable Logic Device, programmable logic device). According to the power-on sequence provided by the microprocessor (CPU or GPU), the power of the power chip is turned on in sequence. The leakage situation is that when the power chip is not turned on, the output voltage of the power chip (Power IC) is measured to be an abnormal voltage. For example, if P12V_MAIN is not turned on, the output of P12V_MAIN measures 2V, as shown in Figure 2.
造成漏电原因有很多种,其中CPLD在输出管脚输出时,在某个时间点定义错误造成输出回灌,也是常见之一。图3为服务器上CPLD管脚相连的示意图,由于服务器系统非常大,从哪个节点造成漏电,又或者是由 CPLD自身输出管脚漏电,现有方式中,工程师都需要逐个将问题点的电路给断开来,然后进行量测是否有漏电,若是还有问题,则再继续断开其他疑问点。如此重复,直到漏电现象有改善,且在电路断开时,不小心还会造成芯片(IC)损坏或焊点脱落等风险,不利于服务器漏电问题的快速高效解决。There are many reasons for leakage. Among them, when the CPLD is outputting the output pin, the output recharge is caused by a definition error at a certain point in time, which is also one of the common. Figure 3 is a schematic diagram of the CPLD pin connection on the server. Since the server system is very large, which node causes the leakage, or the output pin leakage of the CPLD itself, in the existing method, engineers need to give the circuit of the problem point one by one. Disconnect it, and then measure whether there is any leakage. If there is still a problem, continue to disconnect other doubtful points. Repeat this until the leakage phenomenon is improved, and when the circuit is disconnected, the risk of chip (IC) damage or solder joints falling off will be caused by carelessness, which is not conducive to the rapid and efficient solution of the server leakage problem.
发明内容Summary of the invention
本发明为了解决现有技术中存在的问题,创新提出了一种CPLD的漏电检测方法及装置,有效解决由于工程师逐个将问题点的电路断开进行量测造成漏电检测风险大、效率低的问题,有效的提高了服务器漏电问题的效率。In order to solve the problems in the prior art, the present invention innovatively proposes a CPLD leakage detection method and device, which effectively solves the problem of high leakage detection risk and low efficiency due to engineers disconnecting the circuit of the problem point one by one for measurement. , Effectively improve the efficiency of the server leakage problem.
本发明第一方面提供了一种CPLD的漏电检测方法,包括:The first aspect of the present invention provides a CPLD leakage detection method, including:
CPLD控制电源芯片停止输出电压,记录电源芯片的第一输出电压数值;CPLD controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip;
将CPLD的所有输出管脚均设置为高阻抗,记录电源芯片的第二输出电压数值;Set all output pins of the CPLD to high impedance, and record the second output voltage value of the power chip;
比对第一输出电压数值与第二输出电压数值是否一致,如果一致,则CPLD输出管脚均不漏电;如果不一致,将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态,分别依次记录恢复后的电源芯片的N个第三输出电压数值,并将N个第三输出电压数值分别依次与第二输出电压数值进行比对是否一致,如果一致,则对应的CPLD的输出管脚无漏电,如果不一致,则对应的CPLD的输出管脚漏电,其中,N为正整数。Compare whether the first output voltage value is consistent with the second output voltage value. If they are the same, none of the CPLD output pins will leak; if they are inconsistent, the N output pins of the CPLD will be individually restored from the high impedance state to the pre-working state in turn , Record the N third output voltage values of the restored power chip in sequence, and compare the N third output voltage values with the second output voltage values in sequence to see if they are consistent. If they are consistent, the corresponding CPLD output The pins have no leakage. If they are inconsistent, the output pin of the corresponding CPLD is leakage, where N is a positive integer.
可选地,将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态,分别依次记录恢复后的电源芯片的N个第三输出电压数值具体包括:Optionally, restoring the N output pins of the CPLD individually from the high impedance state to the pre-working state in turn, and respectively sequentially recording the restored N third output voltage values of the power chip specifically includes:
将CPLD的第一输出管脚由高阻抗状态恢复为预先工作状态,记录恢复后的电源芯片的对应的第一个第三输出电压数值,将CPLD的第一输出管脚重新设置为高阻抗状态;Restore the first output pin of the CPLD from the high impedance state to the pre-working state, record the corresponding first third output voltage value of the restored power chip, and reset the first output pin of the CPLD to the high impedance state ;
将CPLD的第二输出管脚由高阻抗状态恢复为预先工作状态,记录恢 复后的电源芯片的对应的第二个第三输出电压数值,将CPLD的第二输出管脚重新设置为高阻抗状态;Restore the second output pin of the CPLD from the high impedance state to the pre-working state, record the second and third output voltage values of the restored power chip, and reset the second output pin of the CPLD to the high impedance state ;
直到将CPLD的第N输出管脚由高阻抗状态恢复为预先工作状态,记录恢复后的电源芯片的对应的第N个第三输出电压数值,将CPLD的第N输出管脚重新设置为高阻抗状态。Until the Nth output pin of the CPLD is restored from the high impedance state to the pre-working state, record the corresponding Nth third output voltage value of the restored power chip, and reset the Nth output pin of the CPLD to high impedance state.
可选地,第一输出电压数值、第二输出电压数值、N个第三输出电压数值均通过CPLD内部的ADC记录。Optionally, the first output voltage value, the second output voltage value, and the N third output voltage values are all recorded by the ADC inside the CPLD.
进一步地,还包括:CPLD将内部的ADC记录数据通过URAT接口发送到后台。Further, it also includes: the CPLD sends the internal ADC record data to the background through the URAT interface.
可选地,CPLD控制电源芯片停止输出电压具体是CPLD通过内部VR控制模块关闭电源芯片的使能信号。Optionally, the CPLD controlling the power chip to stop outputting voltage is specifically an enable signal for the CPLD to turn off the power chip through an internal VR control module.
可选地,将CPLD的所有输出管脚均设置为高阻抗、将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态均通过CPLD内部的IO管理模块实现。Optionally, setting all output pins of the CPLD to high impedance, and restoring the N output pins of the CPLD from the high impedance state to the pre-working state individually in turn are all implemented through the IO management module inside the CPLD.
本发明第二方面提供了一种CPLD的漏电检测装置,包括:The second aspect of the present invention provides a CPLD leakage detection device, including:
第一记录单元,CPLD控制电源芯片停止输出电压,记录电源芯片的第一输出电压数值;The first recording unit, the CPLD controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip;
第二记录单元,将CPLD的所有输出管脚均设置为高阻抗,记录电源芯片的第二输出电压数值;The second recording unit sets all output pins of the CPLD to high impedance, and records the second output voltage value of the power chip;
比对单元,比对第一输出电压数值与第二输出电压数值是否一致,如果一致,则CPLD输出管脚均不漏电;如果不一致,将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态,分别依次记录恢复后的电源芯片的N个第三输出电压数值,并将N个第三输出电压数值分别依次与第二输出电压数值进行比对是否一致,如果一致,则对应的CPLD的输出管脚无漏电,如果不一致,则对应的CPLD的输出管脚漏电,其中,N为正整数。The comparison unit compares whether the first output voltage value is consistent with the second output voltage value. If they are the same, none of the CPLD output pins will leak; if they are inconsistent, the N output pins of the CPLD will be individually restored from the high impedance state in turn In the pre-working state, record the N third output voltage values of the restored power chip in sequence, and compare the N third output voltage values with the second output voltage values in sequence to see if they are consistent. If they are consistent, the corresponding The output pin of the CPLD has no leakage. If it is inconsistent, the output pin of the corresponding CPLD has leakage, where N is a positive integer.
可选地,第一输出电压数值、第二输出电压数值、N个第三输出电压数值均通过CPLD内部的ADC记录。Optionally, the first output voltage value, the second output voltage value, and the N third output voltage values are all recorded by the ADC inside the CPLD.
可选地,还包括:数据发送单元,CPLD将内部的ADC记录数据通过 URAT接口发送到后台。Optionally, it further includes: a data sending unit, where the CPLD sends the internal ADC record data to the background through the URAT interface.
本发明采用的技术方案包括以下技术效果:The technical scheme adopted by the present invention includes the following technical effects:
1、本发明有效解决由于工程师逐个将问题点的电路断开进行量测造成漏电检测风险大、效率低的问题,有效的提高了服务器漏电问题的效率。1. The present invention effectively solves the problem of high leakage detection risk and low efficiency due to engineers disconnecting the circuit of the problem point one by one for measurement, and effectively improves the efficiency of the server leakage problem.
2、本发明技术方案区分了服务器漏电问题是否是有CPLD自身输出管脚导致,并进一步定位了具体是CPLD哪一个输出管脚导致,定位效果更好。2. The technical solution of the present invention distinguishes whether the server leakage problem is caused by the output pin of the CPLD itself, and further locates which output pin of the CPLD is caused by the specific output pin, and the positioning effect is better.
3、本发明技术方案中第一输出电压数值、第二输出电压数值、N个第三输出电压数值均通过CPLD内部的ADC统一记录,避免了因为单独记录造成检测效率低的问题,提高了检测效率。3. In the technical scheme of the present invention, the first output voltage value, the second output voltage value, and the N third output voltage values are uniformly recorded by the ADC inside the CPLD, which avoids the problem of low detection efficiency due to separate recording and improves detection efficient.
4、本发明技术方案中CPLD将内部的ADC记录数据通过URAT接口发送到后台,便于后台对于CPLD各个输出管脚漏电情况的监控。4. In the technical scheme of the present invention, the CPLD sends the internal ADC record data to the background through the URAT interface, which is convenient for the background to monitor the leakage of each output pin of the CPLD.
应当理解的是以上的一般描述以及后文的细节描述仅是示例性和解释性的,并不能限制本发明。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present invention.
附图说明Description of the drawings
为了更清楚说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单介绍,显而易见的,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, Without creative work, other drawings can be obtained based on these drawings.
图1为现有技术中服务器电源分配板供电示意图;Fig. 1 is a schematic diagram of power supply for a server power distribution board in the prior art;
图2为现有技术中服务器电源芯片漏电检测示意图;Figure 2 is a schematic diagram of leakage detection of a server power chip in the prior art;
图3为现有技术中服务器中CPLD芯片连接示意图;FIG. 3 is a schematic diagram of the connection of the CPLD chip in the server in the prior art;
图4为本发明方案中实施例一方法的流程示意图;Fig. 4 is a schematic flow chart of the method of Example 1 in the scheme of the present invention;
图5为本发明方案中实施例一CPLD自我检测硬件架构示意图;5 is a schematic diagram of the hardware architecture of CPLD self-detection in the first embodiment of the scheme of the present invention;
图6为本发明方案中实施例一方法中步骤S5的流程示意图;6 is a schematic flowchart of step S5 in the method of Example 1 in the solution of the present invention;
图7为本发明方案中实施例二方法的流程示意图;Fig. 7 is a schematic flow chart of the method of Example 2 in the scheme of the present invention;
图8为本发明方案中实施例二CPLD自我检测硬件架构示意图;8 is a schematic diagram of the hardware architecture of the CPLD self-detection in the second embodiment of the solution of the present invention;
图9为本发明方案中实施例三装置的结构示意图;FIG. 9 is a schematic diagram of the structure of the device of Example 3 in the scheme of the present invention;
图10为本发明方案中实施例四装置的结构示意图。Fig. 10 is a schematic diagram of the structure of the device of Example 4 in the scheme of the present invention.
具体实施方式Detailed ways
为能清楚说明本方案的技术特点,下面通过具体实施方式,并结合其附图,对本发明进行详细阐述。下文的公开提供了许多不同的实施例或例子用来实现本发明的不同结构。为了简化本发明的公开,下文中对特定例子的部件和设置进行描述。此外,本发明可以在不同例子中重复参考数字和/或字母。这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施例和/或设置之间的关系。应当注意,在附图中所图示的部件不一定按比例绘制。本发明省略了对公知组件和处理技术及工艺的描述以避免不必要地限制本发明。In order to clearly illustrate the technical characteristics of the present solution, the present invention will be described in detail below through specific implementations and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for realizing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. In addition, the present invention may repeat reference numerals and/or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not in itself indicate the relationship between the various embodiments and/or settings discussed. It should be noted that the components illustrated in the drawings are not necessarily drawn to scale. The present invention omits descriptions of well-known components and processing techniques and processes to avoid unnecessarily limiting the present invention.
实施例一Example one
如图4所示,本发明提供了一种CPLD的漏电检测方法,包括:As shown in Figure 4, the present invention provides a CPLD leakage detection method, including:
S1,CPLD控制电源芯片停止输出电压,记录电源芯片的第一输出电压数值;S1, CPLD controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip;
S2,将CPLD的所有输出管脚均设置为高阻抗,记录电源芯片的第二输出电压数值;S2: Set all output pins of the CPLD to high impedance, and record the second output voltage value of the power chip;
S3,比对第一输出电压数值与第二输出电压数值是否一致,如果判断结果为是,则执行步骤S4;如果判断结果为否,则执行步骤S5;S3, compare whether the first output voltage value is consistent with the second output voltage value, if the judgment result is yes, then step S4 is executed; if the judgment result is no, then step S5 is executed;
S4,则CPLD输出管脚均不漏电;S4, the CPLD output pins are not leaking;
S5,将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态,分别依次记录恢复后的电源芯片的N个第三输出电压数值,其中,N为正整数;S5, restore the N output pins of the CPLD from the high impedance state to the pre-working state individually in turn, and respectively record the restored N third output voltage values of the power chip after the restoration, where N is a positive integer;
S6,将N个第三输出电压数值分别依次与第二输出电压数值进行比对是否一致,如果判断结果为是,则执行步骤S7;如果判断结果为否,则执行步骤S8;S6, compare the N third output voltage values with the second output voltage values in sequence to see if they are consistent, if the judgment result is yes, then execute step S7; if the judgment result is no, then execute step S8;
S7,则对应的CPLD的输出管脚无漏电;S7, the output pin of the corresponding CPLD has no leakage;
S8,则对应的CPLD的输出管脚漏电。S8, the output pin of the corresponding CPLD is leaking.
如图5所示,为本发明中CPLD的基本硬件架构,CPLD内部包括VR 控制模块(VR Control)、ADC(Analog-to-digital converter,模数转换器)、自我检测过程控制模块(Self-test flow Control)、IO管理模块(I/O Management),CPLD通过内部VR控制模块关闭电源芯片(Power IC)的使能信号,实现电源芯片停止输出电压;CPLD内部的IO管理模块可以将CPLD的所有输出管脚设置为高阻抗以及将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态;第一输出电压数值、第二输出电压数值、N个第三输出电压数值均通过CPLD内部的ADC记录;自我检测过程控制模块实现CPLD整个漏电检测的测试过程的控制,包括但不限于命令的发送、接收等。As shown in Figure 5, it is the basic hardware architecture of the CPLD in the present invention. The CPLD includes a VR control module (VR Control), ADC (Analog-to-digital converter, analog-to-digital converter), and a self-checking process control module (Self- test flow Control), IO management module (I/O Management), the CPLD turns off the enable signal of the power chip (Power IC) through the internal VR control module, so that the power chip stops outputting the voltage; the IO management module inside the CPLD can set the CPLD’s All output pins are set to high impedance and the N output pins of the CPLD are individually restored from the high impedance state to the pre-working state in turn; the first output voltage value, the second output voltage value, and the N third output voltage values all pass The ADC record inside the CPLD; the self-detection process control module realizes the control of the CPLD's entire leakage detection test process, including but not limited to the sending and receiving of commands.
如图6所示,步骤S5具体包括:As shown in Fig. 6, step S5 specifically includes:
S51,将CPLD的第n输出管脚由高阻抗状态恢复为预先工作状态,记录恢复后的电源芯片的对应的第n个第三输出电压数值,将CPLD的第n输出管脚重新设置为高阻抗状态,其中,n为小于或等于N的正整数,初始值为1;S51. Restore the nth output pin of the CPLD from the high impedance state to the pre-working state, record the corresponding nth third output voltage value of the restored power chip, and reset the nth output pin of the CPLD to high Impedance state, where n is a positive integer less than or equal to N, and the initial value is 1;
S52,判断CPLD的第n输出管脚是否是CPLD的第N输出管脚,如果判断结果为是,则执行步骤S53,如果判断结果为否,则执行步骤S54;S52, judge whether the nth output pin of the CPLD is the Nth output pin of the CPLD, if the judgment result is yes, then execute step S53, if the judgment result is no, then execute step S54;
S53,CPLD的所有输出管脚设置完成,执行步骤S6;S53, the setting of all output pins of the CPLD is completed, and step S6 is executed;
S54,将CPLD的第n+1输出管脚由高阻抗状态恢复为预先工作状态,记录恢复后的电源芯片的对应的第n+1个第三输出电压数值,将CPLD的第n+1输出管脚重新设置为高阻抗状态,并继续执行步骤S52。S54: Restore the n+1th output pin of the CPLD from the high impedance state to the pre-working state, record the n+1th third output voltage value of the restored power chip, and output the n+1th CPLD The pin is reset to a high impedance state, and step S52 is continued.
在步骤S51-S54中,目的是为了将CPLD的所有N个输出管脚全部依次进行恢复,并记录对应的第三输出电压数值以便于进行步骤S6中的数据比对。In steps S51-S54, the purpose is to sequentially restore all the N output pins of the CPLD and record the corresponding third output voltage value to facilitate the data comparison in step S6.
为了更清楚的说明本实施例技术方案,故进行举例说明,具体如下:In order to explain the technical solution of this embodiment more clearly, an example is given, and the details are as follows:
CPLD控制电源芯片停止输出电压,记录电源芯片的第一输出电压数值,第一输出电压数值即为漏电时的电压数值,此時的CPLD的输出管脚均是在正常工作状态(正常输出),例如电源芯片P1V8有1V漏电;The CPLD controls the power chip to stop the output voltage, and records the first output voltage value of the power chip. The first output voltage value is the voltage value at the time of leakage. At this time, the output pins of the CPLD are in the normal working state (normal output). For example, the power chip P1V8 has 1V leakage;
将CPLD的所有输出管脚均设置为高阻抗,记录电源芯片P1V8的第二输出电压数值,此刻电源芯片P1V8停止输出电压,比对第一输出电压 数值与第二输出电压数值是否一致,如果一致,即第二输出电压数值仍是1V,则漏电是由其他器件造成,不是由CPLD本身的输出管脚导致;如果不一致,即第二输出电压数值变为是0.2V,表示漏电现象有所改善,則可判定漏电是由CPLD的输出管脚导致;Set all the output pins of the CPLD to high impedance, record the second output voltage value of the power chip P1V8, at this moment the power chip P1V8 stops outputting the voltage, and compare whether the first output voltage value is consistent with the second output voltage value, if they are consistent , That is, the second output voltage value is still 1V, the leakage is caused by other devices, not the output pin of the CPLD itself; if it is inconsistent, the second output voltage value becomes 0.2V, indicating that the leakage phenomenon has been improved , It can be determined that the leakage is caused by the output pin of the CPLD;
将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态,分别依次记录恢复后的电源芯片P1V8的N个第三输出电压数值,将N个第三输出电压数值分别依次与第二输出电压数值进行比对是否一致,如果某个第三输出电压数值与第二输出电压数值一致,即仍未0.2V,则说明对应的输出管脚无漏电;如果某个第三输出电压数值与第二输出电压数值不一致,即0.1V或者0.3V等,则说明对应的输出管脚漏电。The N output pins of the CPLD are individually restored from the high impedance state to the pre-operating state in turn, and the N third output voltage values of the restored power chip P1V8 are recorded in sequence, and the N third output voltage values are sequentially compared with the first Compare the two output voltage values to see if they are consistent. If a third output voltage value is consistent with the second output voltage value, that is, it is still less than 0.2V, it means that the corresponding output pin has no leakage; if a third output voltage value is Inconsistent with the second output voltage value, that is, 0.1V or 0.3V, etc., it indicates that the corresponding output pin is leaking.
本发明有效解决由于工程师逐个将问题点的电路断开进行量测造成漏电检测风险大、效率低的问题,有效的提高了服务器漏电问题的效率。The invention effectively solves the problems of high leakage detection risk and low efficiency caused by the engineers disconnecting the circuits of the problem points one by one for measurement, and effectively improves the efficiency of the server leakage problem.
本发明技术方案区分了服务器漏电问题是否是有CPLD自身输出管脚导致,并进一步定位了具体是CPLD哪一个输出管脚导致,定位效果更好。The technical scheme of the present invention distinguishes whether the server leakage problem is caused by the output pin of the CPLD itself, and further locates which output pin of the CPLD is caused by the specific output pin, and the positioning effect is better.
本发明技术方案中第一输出电压数值、第二输出电压数值、N个第三输出电压数值均通过CPLD内部的ADC统一记录,避免了因为单独记录造成检测效率低的问题,提高了检测效率。In the technical scheme of the present invention, the first output voltage value, the second output voltage value, and the N third output voltage values are uniformly recorded by the ADC inside the CPLD, which avoids the problem of low detection efficiency caused by separate recording and improves the detection efficiency.
实施例二Example two
如图7所示,本发明提供了一种CPLD的漏电检测方法,包括:As shown in Figure 7, the present invention provides a CPLD leakage detection method, including:
S1,CPLD控制电源芯片停止输出电压,记录电源芯片的第一输出电压数值;S1, CPLD controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip;
S2,将CPLD的所有输出管脚均设置为高阻抗,记录电源芯片的第二输出电压数值;S2: Set all output pins of the CPLD to high impedance, and record the second output voltage value of the power chip;
S3,比对第一输出电压数值与第二输出电压数值是否一致,如果判断结果为是,则执行步骤S4;如果判断结果为否,则执行步骤S5;S3, compare whether the first output voltage value is consistent with the second output voltage value, if the judgment result is yes, then step S4 is executed; if the judgment result is no, then step S5 is executed;
S4,则CPLD输出管脚均不漏电;S4, the CPLD output pins are not leaking;
S5,将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态,分别依次记录恢复后的电源芯片的N个第三输出电压数值,其中,N为正整数;S5, restore the N output pins of the CPLD from the high impedance state to the pre-working state individually in turn, and respectively record the restored N third output voltage values of the power chip after the restoration, where N is a positive integer;
S6,将N个第三输出电压数值分别依次与第二输出电压数值进行比对是否一致,如果判断结果为是,则执行步骤S7;如果判断结果为否,则执行步骤S8;S6, compare the N third output voltage values with the second output voltage values in sequence to see if they are consistent, if the judgment result is yes, then execute step S7; if the judgment result is no, then execute step S8;
S7,则对应的CPLD的输出管脚无漏电;S7, the output pin of the corresponding CPLD has no leakage;
S8,则对应的CPLD的输出管脚漏电;S8, the output pin of the corresponding CPLD is leaking;
S9,CPLD将内部的ADC记录数据通过URAT接口发送到后台。S9, the CPLD sends the internal ADC record data to the background through the URAT interface.
如图8所示,为本发明中CPLD的基本硬件架构,CPLD内部包括VR控制模块(VR Control)、ADC(Analog-to-digital converter,模数转换器)、自我检测过程控制模块(Self-test flow Control)、IO管理模块(I/O Management)、RAM、URAT接口(Universal Asynchronous Receiver/Transmitter,通用异步收发接口)控制模块(URAT Control),CPLD通过内部VR控制模块关闭电源芯片(Power IC)的使能信号,实现电源芯片停止输出电压;CPLD内部的IO管理模块可以将CPLD的所有输出管脚设置为高阻抗以及将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态;第一输出电压数值、第二输出电压数值、N个第三输出电压数值均通过CPLD内部的ADC记录。自我检测过程控制模块实现CPLD整个漏电检测的测试过程的控制,包括但不限于命令的发送、接收等;RAM将ADC中记录的数据(第一输出电压数值、第二输出电压数值、N个第三输出电压数值)进行存储并通过URAT接口控制模块发送到后台。As shown in Figure 8, it is the basic hardware architecture of the CPLD in the present invention. The CPLD includes a VR control module (VR Control), ADC (Analog-to-digital converter, analog-to-digital converter), and a self-checking process control module (Self- test flow Control), IO management module (I/O Management), RAM, URAT interface (Universal Asynchronous Receiver/Transmitter, Universal Asynchronous Receiver/Transmitter) control module (URAT Control), CPLD turns off the power chip (Power IC) through the internal VR control module ) Enables the power chip to stop the output voltage; the IO management module inside the CPLD can set all the output pins of the CPLD to high impedance and restore the N output pins of the CPLD individually from the high impedance state to pre-work in turn Status: The first output voltage value, the second output voltage value, and the N third output voltage values are all recorded by the ADC inside the CPLD. The self-detection process control module realizes the control of the CPLD's entire leakage detection test process, including but not limited to the sending and receiving of commands; RAM will record the data (first output voltage value, second output voltage value, Nth Three output voltage values) are stored and sent to the background through the URAT interface control module.
本发明技术方案中CPLD将内部的ADC记录数据通过URAT接口发送到后台,便于后台对于CPLD各个输出管脚漏电情况的监控。In the technical scheme of the present invention, the CPLD sends the internal ADC record data to the background through the URAT interface, which is convenient for the background to monitor the leakage of each output pin of the CPLD.
实施例三Example three
如图9所示,本发明技术方案还提供了一种CPLD的漏电检测装置,包括:As shown in Figure 9, the technical solution of the present invention also provides a CPLD leakage detection device, including:
第一记录单元101,CPLD控制电源芯片停止输出电压,记录电源芯片的第一输出电压数值;The first recording unit 101, the CPLD controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip;
第二记录单元102,将CPLD的所有输出管脚均设置为高阻抗,记录电源芯片的第二输出电压数值;The second recording unit 102 sets all output pins of the CPLD to high impedance, and records the second output voltage value of the power chip;
比对单元103,比对第一输出电压数值与第二输出电压数值是否一致, 如果一致,则CPLD输出管脚均不漏电;如果不一致,将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态,分别依次记录恢复后的电源芯片的N个第三输出电压数值,并将N个第三输出电压数值分别依次与第二输出电压数值进行比对是否一致,如果一致,则对应的CPLD的输出管脚无漏电,如果不一致,则对应的CPLD的输出管脚漏电,其中,N为正整数。The comparison unit 103 compares whether the first output voltage value is consistent with the second output voltage value. If they are the same, none of the CPLD output pins will leak; if they are inconsistent, the N output pins of the CPLD are individually switched from high impedance states in turn Restore to the pre-working state, respectively record the N third output voltage values of the restored power chip in sequence, and compare the N third output voltage values with the second output voltage values in sequence to see if they are consistent. If they are consistent, then The output pin of the corresponding CPLD has no leakage. If it is inconsistent, the output pin of the corresponding CPLD is leakage, where N is a positive integer.
进一步地,第一输出电压数值、第二输出电压数值、N个第三输出电压数值均通过CPLD内部的ADC记录。Further, the first output voltage value, the second output voltage value, and the N third output voltage values are all recorded by the ADC inside the CPLD.
本发明有效解决由于工程师逐个将问题点的电路断开进行量测造成漏电检测风险大、效率低的问题,有效的提高了服务器漏电问题的效率。The invention effectively solves the problems of high leakage detection risk and low efficiency caused by the engineers disconnecting the circuits of the problem points one by one for measurement, and effectively improves the efficiency of the server leakage problem.
本发明技术方案区分了服务器漏电问题是否是有CPLD自身输出管脚导致,并进一步定位了具体是CPLD哪一个输出管脚导致,定位效果更好。The technical scheme of the present invention distinguishes whether the server leakage problem is caused by the output pin of the CPLD itself, and further locates which output pin of the CPLD is caused by the specific output pin, and the positioning effect is better.
本发明技术方案中第一输出电压数值、第二输出电压数值、N个第三输出电压数值均通过CPLD内部的ADC统一记录,避免了因为单独记录造成检测效率低的问题,提高了检测效率。In the technical scheme of the present invention, the first output voltage value, the second output voltage value, and the N third output voltage values are uniformly recorded by the ADC inside the CPLD, which avoids the problem of low detection efficiency caused by separate recording and improves the detection efficiency.
实施例四Embodiment four
如图10所示,本发明技术方案还提供了一种CPLD的漏电检测装置,包括:As shown in Figure 10, the technical solution of the present invention also provides a CPLD leakage detection device, including:
第一记录单元101,CPLD控制电源芯片停止输出电压,记录电源芯片的第一输出电压数值;The first recording unit 101, the CPLD controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip;
第二记录单元102,将CPLD的所有输出管脚均设置为高阻抗,记录电源芯片的第二输出电压数值;The second recording unit 102 sets all output pins of the CPLD to high impedance, and records the second output voltage value of the power chip;
比对单元103,比对第一输出电压数值与第二输出电压数值是否一致,如果一致,则CPLD输出管脚均不漏电;如果不一致,将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态,分别依次记录恢复后的电源芯片的N个第三输出电压数值,并将N个第三输出电压数值分别依次与第二输出电压数值进行比对是否一致,如果一致,则对应的CPLD的输出管脚无漏电,如果不一致,则对应的CPLD的输出管脚漏电,其中,N为正整数。The comparison unit 103 compares whether the first output voltage value is consistent with the second output voltage value. If they are the same, none of the CPLD output pins will leak; if they are inconsistent, the N output pins of the CPLD are individually switched from high impedance state in turn Restore to the pre-working state, respectively record the N third output voltage values of the restored power chip in sequence, and compare the N third output voltage values with the second output voltage values in sequence to see if they are consistent. If they are consistent, then The output pin of the corresponding CPLD has no leakage. If it is inconsistent, the output pin of the corresponding CPLD is leakage, where N is a positive integer.
数据发送单元104,CPLD将内部的ADC记录数据通过URAT接口发送到后台。In the data sending unit 104, the CPLD sends the internal ADC record data to the background through the URAT interface.
本发明技术方案中CPLD将内部的ADC记录数据通过URAT接口发送到后台,便于后台对于CPLD各个输出管脚漏电情况的监控。In the technical scheme of the present invention, the CPLD sends the internal ADC record data to the background through the URAT interface, which is convenient for the background to monitor the leakage of each output pin of the CPLD.
上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the specific embodiments of the present invention are described above in conjunction with the accompanying drawings, they are not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that on the basis of the technical solutions of the present invention, those skilled in the art do not need to make creative efforts. Various modifications or variations that can be made are still within the protection scope of the present invention.

Claims (9)

  1. 一种CPLD的漏电检测方法,其特征是,包括:A CPLD leakage detection method, which is characterized in that it includes:
    CPLD控制电源芯片停止输出电压,记录电源芯片的第一输出电压数值;CPLD controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip;
    将CPLD的所有输出管脚均设置为高阻抗,记录电源芯片的第二输出电压数值;Set all output pins of the CPLD to high impedance, and record the second output voltage value of the power chip;
    比对第一输出电压数值与第二输出电压数值是否一致,如果一致,则CPLD输出管脚均不漏电;如果不一致,将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态,分别依次记录恢复后的电源芯片的N个第三输出电压数值,并将N个第三输出电压数值分别依次与第二输出电压数值进行比对是否一致,如果一致,则对应的CPLD的输出管脚无漏电,如果不一致,则对应的CPLD的输出管脚漏电,其中,N为正整数。Compare whether the first output voltage value is consistent with the second output voltage value. If they are the same, none of the CPLD output pins will leak; if they are inconsistent, the N output pins of the CPLD will be individually restored from the high impedance state to the pre-working state in turn , Record the N third output voltage values of the restored power chip in sequence, and compare the N third output voltage values with the second output voltage values in sequence to see if they are consistent. If they are consistent, the corresponding CPLD output The pins have no leakage. If they are inconsistent, the output pin of the corresponding CPLD is leakage, where N is a positive integer.
  2. 根据权利要求1所述的CPLD的漏电检测方法,其特征是,将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态,分别依次记录恢复后的电源芯片的N个第三输出电压数值具体包括:The CPLD leakage detection method according to claim 1, characterized in that the N output pins of the CPLD are individually restored from the high impedance state to the pre-working state in sequence, and the N third output pins of the restored power chip are recorded in sequence. The output voltage values specifically include:
    将CPLD的第一输出管脚由高阻抗状态恢复为预先工作状态,记录恢复后的电源芯片的对应的第一个第三输出电压数值,将CPLD的第一输出管脚重新设置为高阻抗状态;Restore the first output pin of the CPLD from the high impedance state to the pre-working state, record the corresponding first third output voltage value of the restored power chip, and reset the first output pin of the CPLD to the high impedance state ;
    将CPLD的第二输出管脚由高阻抗状态恢复为预先工作状态,记录恢复后的电源芯片的对应的第二个第三输出电压数值,将CPLD的第二输出管脚重新设置为高阻抗状态;Restore the second output pin of the CPLD from the high impedance state to the pre-working state, record the second and third output voltage values of the restored power chip, and reset the second output pin of the CPLD to the high impedance state ;
    直到将CPLD的第N输出管脚由高阻抗状态恢复为预先工作状态,记录恢复后的电源芯片的对应的第N个第三输出电压数值,将CPLD的第N输出管脚重新设置为高阻抗状态。Until the Nth output pin of the CPLD is restored from the high impedance state to the pre-working state, record the corresponding Nth third output voltage value of the restored power chip, and reset the Nth output pin of the CPLD to high impedance state.
  3. 根据权利要求1所述的CPLD的漏电检测方法,其特征是,第一输出电压数值、第二输出电压数值、N个第三输出电压数值均通过CPLD内部的ADC记录。The CPLD leakage detection method according to claim 1, wherein the first output voltage value, the second output voltage value, and the N third output voltage values are all recorded by the ADC inside the CPLD.
  4. 根据权利要求3所述的CPLD的漏电检测方法,其特征是,还包括:CPLD将内部的ADC记录数据通过URAT接口发送到后台。The CPLD leakage detection method according to claim 3, further comprising: the CPLD sends the internal ADC record data to the background through the URAT interface.
  5. 根据权利要求1所述的CPLD的漏电检测方法,其特征是,CPLD控制电源芯片停止输出电压具体是CPLD通过内部VR控制模块关闭电源芯片的使能信号。The CPLD leakage detection method according to claim 1, wherein the CPLD controlling the power chip to stop outputting voltage is specifically an enable signal for the CPLD to turn off the power chip through an internal VR control module.
  6. 根据权利要求1所述的CPLD的漏电检测方法,其特征是,将CPLD的所有输出管脚均设置为高阻抗、将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态均通过CPLD内部的IO管理模块实现。The CPLD leakage detection method according to claim 1, wherein all the output pins of the CPLD are set to high impedance, and the N output pins of the CPLD are individually restored from the high impedance state to the pre-working state. Realized through the IO management module inside the CPLD.
  7. 一种CPLD的漏电检测装置,其特征是,包括:A CPLD leakage detection device, which is characterized in that it includes:
    第一记录单元,CPLD控制电源芯片停止输出电压,记录电源芯片的第一输出电压数值;The first recording unit, the CPLD controls the power chip to stop outputting voltage, and records the first output voltage value of the power chip;
    第二记录单元,将CPLD的所有输出管脚均设置为高阻抗,记录电源芯片的第二输出电压数值;The second recording unit sets all output pins of the CPLD to high impedance, and records the second output voltage value of the power chip;
    比对单元,比对第一输出电压数值与第二输出电压数值是否一致,如果一致,则则CPLD输出管脚均不漏电;如果不一致,将CPLD的N个输出管脚依次单独由高阻抗状态恢复为预先工作状态,分别依次记录恢复后的电源芯片的N个第三输出电压数值,并将N个第三输出电压数值分别依次与第二输出电压数值进行比对是否一致,如果一致,则对应的CPLD的输出管脚无漏电,如果不一致,则对应的CPLD的输出管脚漏电,其中,N为正整数。The comparison unit compares whether the first output voltage value is consistent with the second output voltage value. If they are the same, the CPLD output pins are not leaking; if they are not consistent, the N output pins of the CPLD are individually switched to high impedance state in turn Restore to the pre-working state, respectively record the N third output voltage values of the restored power chip in sequence, and compare the N third output voltage values with the second output voltage values in sequence to see if they are consistent. If they are consistent, then The output pin of the corresponding CPLD has no leakage. If it is inconsistent, the output pin of the corresponding CPLD is leakage, where N is a positive integer.
  8. 根据权利要求7所述的CPLD的漏电检测装置,其特征是,第一输出电压数值、第二输出电压数值、N个第三输出电压数值均通过CPLD内部的ADC记录。The CPLD leakage detection device according to claim 7, wherein the first output voltage value, the second output voltage value, and the N third output voltage values are all recorded by the ADC inside the CPLD.
  9. 根据权利要求8所述的CPLD的漏电检测装置,其特征是,还包括:数据发送单元,CPLD将内部的ADC记录数据通过URAT接口发送到后台。The CPLD leakage detection device according to claim 8, further comprising: a data sending unit, the CPLD sends the internal ADC record data to the background through the URAT interface.
PCT/CN2021/073496 2020-05-27 2021-01-25 Electric leakage detection method and apparatus for cpld WO2021238276A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010460586.5A CN111707966A (en) 2020-05-27 2020-05-27 CPLD electric leakage detection method and device
CN202010460586.5 2020-05-27

Publications (1)

Publication Number Publication Date
WO2021238276A1 true WO2021238276A1 (en) 2021-12-02

Family

ID=72538642

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/073496 WO2021238276A1 (en) 2020-05-27 2021-01-25 Electric leakage detection method and apparatus for cpld

Country Status (2)

Country Link
CN (1) CN111707966A (en)
WO (1) WO2021238276A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111707966A (en) * 2020-05-27 2020-09-25 苏州浪潮智能科技有限公司 CPLD electric leakage detection method and device
CN114816023B (en) * 2022-05-31 2023-08-08 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for optimizing standby power function of server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375908A (en) * 2014-08-04 2015-02-25 浪潮(北京)电子信息产业有限公司 Method and equipment for detecting electric leakage of server
US9367118B2 (en) * 2013-09-22 2016-06-14 Inventec (Pudong) Technology Corporation Computer system and operating method thereof
CN107478942A (en) * 2017-08-03 2017-12-15 郑州云海信息技术有限公司 A kind of method and system of fast positioning mainboard electric leakage power supply
CN108549279A (en) * 2018-04-02 2018-09-18 郑州云海信息技术有限公司 A kind of method and apparatus for preventing server master board core voltage from leaking electricity
CN111044879A (en) * 2019-12-20 2020-04-21 苏州浪潮智能科技有限公司 Method and system for quickly positioning fault position of physical interface of main board
CN111707966A (en) * 2020-05-27 2020-09-25 苏州浪潮智能科技有限公司 CPLD electric leakage detection method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9367118B2 (en) * 2013-09-22 2016-06-14 Inventec (Pudong) Technology Corporation Computer system and operating method thereof
CN104375908A (en) * 2014-08-04 2015-02-25 浪潮(北京)电子信息产业有限公司 Method and equipment for detecting electric leakage of server
CN107478942A (en) * 2017-08-03 2017-12-15 郑州云海信息技术有限公司 A kind of method and system of fast positioning mainboard electric leakage power supply
CN108549279A (en) * 2018-04-02 2018-09-18 郑州云海信息技术有限公司 A kind of method and apparatus for preventing server master board core voltage from leaking electricity
CN111044879A (en) * 2019-12-20 2020-04-21 苏州浪潮智能科技有限公司 Method and system for quickly positioning fault position of physical interface of main board
CN111707966A (en) * 2020-05-27 2020-09-25 苏州浪潮智能科技有限公司 CPLD electric leakage detection method and device

Also Published As

Publication number Publication date
CN111707966A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
WO2021238276A1 (en) Electric leakage detection method and apparatus for cpld
US7848899B2 (en) Systems and methods for testing integrated circuit devices
WO2021189322A1 (en) Chip testing apparatus and chip testing method
US7069477B2 (en) Methods and arrangements to enhance a bus
US20150067424A1 (en) Processor tap support for remote services
US10175296B2 (en) Testing a board assembly using test cards
TWI510798B (en) Universal test platform and test method thereof
WO2022105431A1 (en) Built-in capacitor detection method and apparatus, detection device, and storage medium
TW201517044A (en) Apparatus and method for on-the-fly memory channel built-in-self-test
US10992378B2 (en) Information processing apparatus and optical fiber inspection method
TW201604679A (en) Computer system
TWI742865B (en) Automatic testing machine with data processing function and its information processing method
KR20090125615A (en) Mount-type test equipment and method thereof
CN111221684B (en) Detection method of server
US9171645B2 (en) Address windowing for at-speed bitmapping with memory built-in self-test
TW201928981A (en) System for testing whole memory and method thereof
CN110808876A (en) Telephone debugging system and equipment
TWI639847B (en) Integrated circuit chip and inspection method thereof
TWI781849B (en) DETECTION SYSTEM FOR PCIe CEM CONNECTION INTERFACE OF CIRCUIT BOARD AND METHOD THEREOF
TWI810984B (en) Power sequence control system and electronic device having the same
CN114121138B (en) Memory voltage testing method, device, computing equipment and system
TW201500752A (en) Semiconductor test apparatus for controlling tester
TWI569138B (en) Simulation device and hdd backplane verification system
TWI762538B (en) Voltage pin of circuit board conduction detection system and method thereof
KR20180089632A (en) Semiconductor device and method for testing semiconductor device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21812404

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21812404

Country of ref document: EP

Kind code of ref document: A1