CN111983292A - A PSU Voltage Detection System Based on Server Test - Google Patents

A PSU Voltage Detection System Based on Server Test Download PDF

Info

Publication number
CN111983292A
CN111983292A CN202010693204.3A CN202010693204A CN111983292A CN 111983292 A CN111983292 A CN 111983292A CN 202010693204 A CN202010693204 A CN 202010693204A CN 111983292 A CN111983292 A CN 111983292A
Authority
CN
China
Prior art keywords
circuit
voltage
resistor
psu
control signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010693204.3A
Other languages
Chinese (zh)
Other versions
CN111983292B (en
Inventor
马永昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010693204.3A priority Critical patent/CN111983292B/en
Publication of CN111983292A publication Critical patent/CN111983292A/en
Application granted granted Critical
Publication of CN111983292B publication Critical patent/CN111983292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2503Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques for measuring voltage only, e.g. digital volt meters (DVM's)
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R15/00Details of measuring arrangements of the types provided for in groups G01R17/00 - G01R29/00, G01R33/00 - G01R33/26 or G01R35/00
    • G01R15/08Circuits for altering the measuring range
    • G01R15/09Autoranging circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention relates to the technical field of server testing, and provides a PSU voltage detection system based on server testing, which comprises a power supply switching device, wherein one end of the power supply switching device is connected with a PSU, and the other end of the power supply switching device is connected with a mainboard; the power supply switching device is used for detecting and controlling the power-on and power-off processes of the PSU according to the power-on and power-off actions of the tester on the switch, and outputting reminding information for reminding the tester of carrying out a new power-on test when the power is discharged to a preset threshold value, so that the estimation of the power-on and power-off time of the PSU is realized, the waiting of operators is reduced, and the test efficiency is improved.

Description

一种基于服务器测试的PSU电压检测系统A PSU Voltage Detection System Based on Server Test

技术领域technical field

本发明属于服务器测试技术领域,尤其涉及一种基于服务器测试的PSU电压检测系统。The invention belongs to the technical field of server testing, and in particular relates to a PSU voltage detection system based on server testing.

背景技术Background technique

在“新基建”大潮的推动下,5G、云计算等新一代信息技术正加速发展,这些技术离不开海量数据的处理、存储和软件的云化,因此数据中心作为底层基础设施有望持续增长,服务器的需求也越来越旺盛,对于服务器研发人员,定制化、联合开发的需求越来越常见,往往需要在很短的时间内完成整个开发交付,每个环节的时间都被压缩的很紧,硬件测试作为保证产品功能和质量的重要环节,需要多项测试。Driven by the tide of "new infrastructure", the development of new-generation information technologies such as 5G and cloud computing is accelerating. These technologies are inseparable from the processing of massive data, storage, and cloudification of software. Therefore, data centers, as the underlying infrastructure, are expected to continue to grow. , the demand for servers is also becoming more and more strong. For server R&D personnel, the demand for customization and joint development is becoming more and more common. It is often necessary to complete the entire development and delivery in a very short period of time, and the time for each link is very compressed. As an important part of ensuring product function and quality, hardware testing requires multiple tests.

区别于AC自动循环上电掉电的疲劳及测试,在服务器测试阶段,往往需要频繁的对PSU做手动的上电掉电操作,验证相关的电源时序以及其他功能,测试人员验证完一个信号或功能后,会准备重新上电验证下一个功能或采集下一个波形。因此,目前服务器的测试存在如下两个缺陷:Different from the fatigue and testing of AC automatic cycle power-on and power-off, in the server test stage, it is often necessary to perform manual power-on and power-off operations on the PSU frequently to verify the related power sequence and other functions. After the tester has verified a signal or After the function, it will be ready to re-power on to verify the next function or acquire the next waveform. Therefore, the current server test has the following two defects:

1)、当服务器测试需要频繁对PSU上电掉电操作时,无法对当前PSU的电压有所了解,需要估算放电完成的时间,占用研发人力和时间;1) When the server test requires frequent power-on and power-off operations on the PSU, it is impossible to know the current PSU voltage, and it is necessary to estimate the discharge completion time, which takes up R&D manpower and time;

2)、PSU放电很慢,测试人员往往需要等待较长时间才能进行下一次上电操作,占用时间。2) The discharge of the PSU is very slow, and the tester often needs to wait for a long time to perform the next power-on operation, which takes up time.

发明内容SUMMARY OF THE INVENTION

针对现有技术中的缺陷,本发明提供了一种基于服务器测试的PSU电压检测系统,旨在解决现有技术中无法对PSU放电时间进行准确估算,需要的等待较长时间才能进行下一次上电,导致测试效率较低的问题。In view of the defects in the prior art, the present invention provides a PSU voltage detection system based on server testing, aiming to solve the problem that the prior art cannot accurately estimate the PSU discharge time, and it takes a long time to perform the next load electricity, resulting in low test efficiency.

本发明所提供的技术方案是:一种基于服务器测试的PSU电压检测系统,包括一供电转接装置,所述供电转接装置一端与PSU连接,另一端与主板连接;The technical solution provided by the present invention is: a PSU voltage detection system based on server testing, comprising a power supply switching device, one end of the power supply switching device is connected to the PSU, and the other end is connected to the main board;

其中,所述供电转接装置,用于根据测试人员对开关执行的上下电动作,对PSU的上电和放电过程进行检测和控制,并当放电到预设阈值时,输出提醒测试人员进行新一次上电测试的提醒信息。The power supply switching device is used to detect and control the power-on and discharge process of the PSU according to the power-on and power-off actions performed by the tester on the switch, and when the discharge reaches a preset threshold, the output reminds the tester to perform a new operation. A reminder message for a power-on test.

作为一种改进的方案,所述供电转接装置包括:As an improved solution, the power supply switching device includes:

与所述PSU输出电压信号连接的电压调理电路;a voltage conditioning circuit connected to the PSU output voltage signal;

增益控制电路,与所述电压调理电路连接,用于对所述电压调理电路对PSU输出电压调理后的电压信号进行增益调整;a gain control circuit, connected to the voltage conditioning circuit, for performing gain adjustment on the voltage signal after the voltage conditioning circuit has conditioned the output voltage of the PSU;

ADC采集电路,与所述增益控制电路连接,用于对所述增益控制电路调整后的电压信号进行采集;The ADC acquisition circuit is connected to the gain control circuit, and is used for acquiring the voltage signal adjusted by the gain control circuit;

微控制器,与所述ADC采集电路连接,用于对所述ADC采集电路采集到的电压信号进行解析计算,生成增益反馈控制信号,所述增益反馈控制信号用于反馈至所述增益控制电路,同时生成开始放电控制信号,并且当放电到预设阈值时,生成停止放电控制信号,同时输出提醒测试人员进行新一次上电测试的提醒信息;a microcontroller, connected to the ADC acquisition circuit, for performing analytical calculation on the voltage signal acquired by the ADC acquisition circuit, and generating a gain feedback control signal, the gain feedback control signal being used for feedback to the gain control circuit , at the same time generate a start discharge control signal, and when the discharge reaches a preset threshold, generate a stop discharge control signal, and output a reminder message to remind the tester to perform a new power-on test;

电荷泄放电路,与所述微控制器连接,用于接收所述开始放电控制信号以及停止放电控制信号,并根据所述开始放电控制信号,控制对所述PSU内部电荷进行释放,同时根据所述停止放电控制信号,控制停止所述PSU内部电荷的释放;A charge discharge circuit, connected to the microcontroller, for receiving the start discharge control signal and the stop discharge control signal, and according to the start discharge control signal, to control the discharge of the internal charge of the PSU, and at the same time according to the start discharge control signal The stop discharge control signal is used to control and stop the release of the internal charge of the PSU;

提醒模块,与所述微控制器连接,用于接收所述微控制器发送的所述提醒信息,并输出提醒。A reminder module, connected with the microcontroller, is used for receiving the reminder information sent by the microcontroller and outputting the reminder.

作为一种改进的方案,所述微控制器具体包括:As an improved solution, the microcontroller specifically includes:

电压信号获取模块,与所述ADC采集电路连接,用于获取所述ADC采集电路采集的电压信号;a voltage signal acquisition module, connected to the ADC acquisition circuit, for acquiring the voltage signal acquired by the ADC acquisition circuit;

解析计算模块,与所述电压信号获取模块连接,用于对采集到的所述电压信号进行解析计算,判断PSU的上电和掉电趋势;an analytical calculation module, connected to the voltage signal acquisition module, for performing analytical calculation on the collected voltage signal, and judging the power-on and power-down trends of the PSU;

增益反馈控制信号生成模块,用于当判定PSU处于上电趋势时,生成增益反馈控制信号,并将所述增益反馈控制信号反馈至所述增益控制电路;a gain feedback control signal generation module, configured to generate a gain feedback control signal when it is determined that the PSU is in a power-on trend, and feed back the gain feedback control signal to the gain control circuit;

开始放电控制信号生成模块,用于当判定PSU处于放电趋势时,生成开始放电控制信号,并将所述开始放电控制信号发送给所述电荷泄放电路;a start-discharge control signal generation module, configured to generate a start-discharge control signal when it is determined that the PSU is in a discharge trend, and send the start-discharge control signal to the charge discharge circuit;

预设阈值判断模块,用于在放电过程中,所述PSU电压知否到达所述预设阈值;A preset threshold value judgment module, used to know whether the PSU voltage reaches the preset threshold value during the discharging process;

停止放电控制信号生成模块,用于生成停止放电控制信号,并将生成的所述停止放电控制信号反馈所述电荷泄放电路;a stop-discharge control signal generation module, configured to generate a stop-discharge control signal, and feed back the generated stop-discharge control signal to the charge discharge circuit;

提醒信号生成模块,用于生成提醒测试人员进行新一次上电测试的提醒信息,并将所述提醒信息反馈至所述提醒模块。A reminder signal generation module is used to generate reminder information for reminding testers to perform a new power-on test, and feed back the reminder information to the reminder module.

作为一种改进的方案,所述解析计算模块具体包括:As an improved solution, the analytical calculation module specifically includes:

电压值选取模块,用于在当前采集频率内选取连续的若干个所述ADC电路采集电路采集到的电压值;a voltage value selection module, used for selecting a number of consecutive voltage values collected by the ADC circuit collection circuit within the current collection frequency;

做差运算模块,用于根据前一个电压值作为被减数后一个电压值作为减数的原则,在相邻的两个电压值之间分别做差运行,获取到的若干个电压差值;The difference operation module is used to perform difference operation between two adjacent voltage values according to the principle that the previous voltage value is used as the minuend and the next voltage value is used as the subtrahend, and several voltage difference values are obtained;

解析模块,用于对获取到的若干个所述电压差值进行解析,判断电压差值的正负值关系;an analysis module, configured to analyze a plurality of the obtained voltage difference values, and determine the positive and negative value relationship of the voltage difference values;

第一判定模块,用于当判定若干个所述电压差值均为正值时,判定所述PSU处于上电趋势;a first determination module, configured to determine that the PSU is in a power-on trend when it is determined that several of the voltage differences are all positive values;

循环执行控制模块,用于当判定若干个所述电压差值中有负值情形时,则重新在下一个采集频率中依次执行电压值选取、做差运算以及电压差值正负值判断的步骤;The cyclic execution control module is used to re-execute the steps of voltage value selection, difference operation and positive and negative value judgment of the voltage difference in the next acquisition frequency when it is determined that there are negative values in several of the voltage difference values;

第二判定模块,用于当判定若干个所述电压差值均为负值时,判定所述PSU处于放电趋势。The second determination module is configured to determine that the PSU is in a discharge trend when it is determined that several of the voltage differences are all negative values.

作为一种改进的方案,当所述增益控制电路接收到增益反馈控制信号G1和G2时,对所述增益反馈控制信号进行解析,获取当前电压值;As an improved solution, when the gain control circuit receives the gain feedback control signals G1 and G2, the gain feedback control signal is analyzed to obtain the current voltage value;

当当前电压值大于12V时,所述增益控制电路将增益控制量程切换到48V;When the current voltage value is greater than 12V, the gain control circuit switches the gain control range to 48V;

当当前电压值大于54V时,所述增益控制电路将增益控制量程切换到大于48V的下一级量程。When the current voltage value is greater than 54V, the gain control circuit switches the gain control range to the next level range greater than 48V.

作为一种改进的方案,所述微控制器还包括:As an improved solution, the microcontroller further includes:

电压值生成模块,用于当生成增益反馈控制信号的同时,生成PSU电压输出值,并将生成的所述PSU电压输出值输送至所述提醒模块进行提醒。The voltage value generation module is configured to generate the PSU voltage output value while generating the gain feedback control signal, and send the generated PSU voltage output value to the reminder module for reminder.

作为一种改进的方案,所述电压调理电路包括第一放大器U1,所述第一放大器U1的反向输入端串接第一电阻R1、第二电阻R2以及第三电阻R3后与PSU电压输出端Vin连接,同向输入端接地;As an improved solution, the voltage conditioning circuit includes a first amplifier U1, and the inverting input end of the first amplifier U1 is connected in series with the first resistor R1, the second resistor R2 and the third resistor R3, and then outputs the voltage from the PSU. The terminal Vin is connected, and the input terminal of the same direction is grounded;

所述第一放大器U1的反向输入端与所述第三电阻R3之间的线路上设有第一电路节点,所述第一电路节点引出的线路串接第四电阻R4后与所述第一放大器U1的输出端汇集到第二电路节点,所述第一电路节点与所述第二电路节点之间设有与所述第四电阻R4并联的第一电容C1。A first circuit node is provided on the line between the inverting input end of the first amplifier U1 and the third resistor R3, and the line drawn from the first circuit node is connected to the fourth resistor R4 in series with the first circuit node. An output terminal of an amplifier U1 is collected to a second circuit node, and a first capacitor C1 connected in parallel with the fourth resistor R4 is arranged between the first circuit node and the second circuit node.

作为一种改进的方案,所述增益控制电路包括依次连接的模拟开关电路、运放电路以及电阻网络,其中:As an improved solution, the gain control circuit includes an analog switch circuit, an operational amplifier circuit and a resistor network connected in sequence, wherein:

所述模拟开关电路与所述微控制器通过所述增益反馈控制信号G1和G2信号连接;所述运放电路与所述模拟开关电路连接,所述运放电路与所述电阻网络连接。The analog switch circuit is connected to the microcontroller through the gain feedback control signals G1 and G2; the operational amplifier circuit is connected to the analog switch circuit, and the operational amplifier circuit is connected to the resistor network.

作为一种改进的方案,所述运放电路包括第二放大器U2,所述第二放大器U2的同向输入端与所述第二电路节点连接,反向输入端引出的线路串接第二电容C2后与输出端汇集为第三电路节点,所述第三电路节点引出的线路串接第十三电阻R13后与所述ADC采集电路连接;As an improved solution, the operational amplifier circuit includes a second amplifier U2, the non-inverting input end of the second amplifier U2 is connected to the second circuit node, and the line drawn from the inverting input end is connected in series with a second capacitor After C2 and the output terminal are collected into a third circuit node, the line drawn from the third circuit node is connected in series with the thirteenth resistor R13 and then connected to the ADC acquisition circuit;

所述第三电路节点与所述第十三电阻R13之间的线路上依次设有第四电路节点和第五电路节点;A fourth circuit node and a fifth circuit node are sequentially arranged on the line between the third circuit node and the thirteenth resistor R13;

所述第五电路节点引出的线路连接所述电阻网络后接地,其中,所述电阻网络包括从所述第五电路节点开始依次串接的第八电阻R8、第九电阻R9、第十电阻R10以及第十一电阻R11,其中,所述第八电阻R8与第九电阻R9之间的线路上设有第六电路节点,所述第九电阻R9与第十电阻R10之间的线路上设有第七电路节点,所述第十电阻R10与所述第十一电阻R11之间的线路上设有第八电路节点;The line drawn from the fifth circuit node is connected to the resistor network and then grounded, wherein the resistor network includes an eighth resistor R8, a ninth resistor R9, and a tenth resistor R10 sequentially connected in series from the fifth circuit node and an eleventh resistor R11, wherein a sixth circuit node is provided on the line between the eighth resistor R8 and the ninth resistor R9, and a line between the ninth resistor R9 and the tenth resistor R10 is provided with a seventh circuit node, an eighth circuit node is provided on the line between the tenth resistor R10 and the eleventh resistor R11;

所述模拟开关包括模拟集成芯片U3,所述模拟集成芯片U3的引脚COM引出的线路与所述第二放大器U2的反向输入端连接,引脚A0和引脚A1分别通过增益反馈控制信号G1和G2与所述微处理器连接,引脚NO1与所述第四电路节点连接,引脚NO2、引脚NO3、引脚NO4分别与所述第六电路节点、第七电路节点、第八电路节点对应连接。The analog switch includes an analog integrated chip U3, the line drawn from the pin COM of the analog integrated chip U3 is connected to the reverse input end of the second amplifier U2, and the pin A0 and the pin A1 respectively pass the gain feedback control signal. G1 and G2 are connected to the microprocessor, pin NO1 is connected to the fourth circuit node, and pin NO2, pin NO3, and pin NO4 are respectively connected to the sixth circuit node, seventh circuit node, and eighth circuit node. The circuit nodes are correspondingly connected.

作为一种改进的方案,所述开始放电控制信号包括第一路泄压放电控制信号SW1和第二路泄压放电控制信SW2;As an improved solution, the discharge start control signal includes a first pressure relief discharge control signal SW1 and a second pressure relief discharge control signal SW2;

对应的,所述电荷泄放电路包括第一泄放电路和第二泄放电路:Correspondingly, the charge discharge circuit includes a first discharge circuit and a second discharge circuit:

所述第一泄放电路包括场效应管Q1和场效应管Q2,所述场效应管Q1的栅极串接第十五电阻R15后与所述第一路泄压放电控制信号SW1连接,所述场效应管Q1的漏极引出的线路串接第十六电阻R16后与电压端VCC_3.3连接,场效应管Q1的漏极与所述第十六电阻R16之间的线路上设有第九电路节点,所述第九电路节点引出的线路串接第十七电阻R17后与所述场效应管Q2的栅极连接,所述场效应管Q2的漏极与PSU电压输出端Vin连接,所述场效应管Q2的源极串接第一泄放电阻网络后接地,所述第一泄放电阻网络为若干个封装的串联电阻;The first discharge circuit includes a field effect transistor Q1 and a field effect transistor Q2. The gate of the field effect transistor Q1 is connected in series with the fifteenth resistor R15 and then connected to the first pressure relief and discharge control signal SW1. The line drawn from the drain of the field effect transistor Q1 is connected in series with the sixteenth resistor R16 and then connected to the voltage terminal VCC_3.3. The line between the drain of the field effect transistor Q1 and the sixteenth resistor R16 is provided with a sixth line. Nine circuit nodes, the line drawn from the ninth circuit node is connected in series with the seventeenth resistor R17 and then connected to the gate of the field effect transistor Q2, and the drain of the field effect transistor Q2 is connected to the PSU voltage output terminal Vin, The source of the field effect transistor Q2 is connected in series with a first bleeder resistor network and then grounded, and the first bleeder resistor network is a series resistor of several packages;

所述第二泄放电路包括场效应管Q3和场效应管Q4,所述场效应管Q3的栅极串接第二十电阻R20后与所述第二路泄压放电控制信号SW2连接,所述场效应管Q3的漏极引出的线路串接第二十一电阻R21后与电压端VCC_3.3连接,场效应管Q3的漏极与所述第二十一电阻R21之间的线路上设有第十电路节点,所述第十电路节点引出的线路串接第二十二电阻R22后与所述场效应管Q4的栅极连接,所述场效应管Q4的漏极与PSU电压输出端Vin连接,所述场效应管Q4的源极串接第二泄放电阻网络后接地,所述第二泄放电阻网络为若干个封装的并联电阻。The second discharge circuit includes a field effect transistor Q3 and a field effect transistor Q4. The gate of the field effect transistor Q3 is connected in series with the twentieth resistor R20 and then connected to the second pressure relief and discharge control signal SW2. The line drawn from the drain of the field effect transistor Q3 is connected in series with the twenty-first resistor R21 and then connected to the voltage terminal VCC_3.3. The line between the drain of the field effect transistor Q3 and the twenty-first resistor R21 is set. There is a tenth circuit node, the line drawn from the tenth circuit node is connected in series with the twenty-second resistor R22 and then connected to the gate of the field effect transistor Q4, and the drain of the field effect transistor Q4 is connected to the PSU voltage output terminal Vin is connected, the source of the field effect transistor Q4 is connected in series with a second bleeder resistor network and then grounded, and the second bleeder resistor network is a parallel resistor of several packages.

在本发明实施例中,基于服务器测试的PSU电压检测系统包括一供电转接装置,所述供电转接装置一端与PSU连接,另一端与主板连接;其中,所述供电转接装置,用于根据测试人员对开关执行的上下电动作,对PSU的上电和放电过程进行检测和控制,并当放电到预设阈值时,输出提醒测试人员进行新一次上电测试的提醒信息,从而实现对PSU上电放电时间的估算,减少操作人员的等待,提高测试效率。In the embodiment of the present invention, a PSU voltage detection system based on server testing includes a power supply adapter device, one end of the power supply adapter device is connected to the PSU, and the other end is connected to the main board; wherein, the power supply adapter device is used for According to the power-on and power-on actions performed by the tester on the switch, the power-on and discharge process of the PSU is detected and controlled, and when the discharge reaches the preset threshold, a reminder message to remind the tester to perform a new power-on test is output, so as to realize the The estimation of the power-on and discharge time of the PSU reduces the waiting time of the operator and improves the test efficiency.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍。在所有附图中,类似的元件或部分一般由类似的附图标记标识。附图中,各元件或部分并不一定按照实际的比例绘制。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are required to be used in the description of the specific embodiments or the prior art. Similar elements or parts are generally identified by similar reference numerals throughout the drawings. In the drawings, each element or section is not necessarily drawn to actual scale.

图1是本发明提供的基于服务器测试的PSU电压检测系统的结构示意图;1 is a schematic structural diagram of a PSU voltage detection system based on server testing provided by the present invention;

图2是本发明提供的微控制器的结构示意图;2 is a schematic structural diagram of a microcontroller provided by the present invention;

图3是本发明提供的解析计算模块的结构框图;Fig. 3 is the structural block diagram of the analytical calculation module provided by the present invention;

图4是本发明提供的电压调理电路的电路结构示意图;4 is a schematic diagram of a circuit structure of a voltage conditioning circuit provided by the present invention;

图5是本发明提供的增益控制电路的电路示意图;5 is a schematic circuit diagram of a gain control circuit provided by the present invention;

图6是本发明提供的电荷泄放电路的电路示意图。FIG. 6 is a schematic circuit diagram of the charge discharge circuit provided by the present invention.

具体实施方式Detailed ways

下面将结合附图对本发明技术方案的实施例进行详细的描述。以下实施例仅用于更加清楚地说明本发明的、技术方案,因此只作为示例,而不能以此来限制本发明的保护范围。Embodiments of the technical solutions of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only used to more clearly illustrate the technical solutions of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.

图1是本发明提供的基于服务器测试的PSU电压检测系统的结构示意图,为了便于说明,图中仅给出了与本发明实施例相关的部分。FIG. 1 is a schematic structural diagram of a PSU voltage detection system based on server testing provided by the present invention. For convenience of description, only the parts related to the embodiments of the present invention are shown in the figure.

基于服务器测试的PSU电压检测系统包括一供电转接装置,所述供电转接装置一端与PSU连接,另一端与主板连接;The PSU voltage detection system based on server testing includes a power supply transfer device, one end of the power supply transfer device is connected to the PSU, and the other end is connected to the motherboard;

其中,所述供电转接装置,用于根据测试人员对开关执行的上下电动作,对PSU的上电和放电过程进行检测和控制,并当放电到预设阈值时,输出提醒测试人员进行新一次上电测试的提醒信息。The power supply switching device is used to detect and control the power-on and discharge process of the PSU according to the power-on and power-off actions performed by the tester on the switch, and when the discharge reaches a preset threshold, the output reminds the tester to perform a new operation. A reminder message for a power-on test.

在该实施例中,结合图1所示,供电转接装置包括:In this embodiment, as shown in FIG. 1 , the power supply switching device includes:

与所述PSU输出电压信号连接的电压调理电路;a voltage conditioning circuit connected to the PSU output voltage signal;

增益控制电路,与所述电压调理电路连接,用于对所述电压调理电路对PSU输出电压调理后的电压信号进行增益调整;a gain control circuit, connected to the voltage conditioning circuit, for performing gain adjustment on the voltage signal after the voltage conditioning circuit has conditioned the output voltage of the PSU;

ADC采集电路,与所述增益控制电路连接,用于对所述增益控制电路调整后的电压信号进行采集,其中,该ADC采集电路选用亚德诺公司的24位差分高速ADC,型号:LTC2440,其噪声,速率优秀,适合较高速度的高精密电压的采集;The ADC acquisition circuit is connected to the gain control circuit and is used to collect the voltage signal adjusted by the gain control circuit, wherein the ADC acquisition circuit selects the 24-bit differential high-speed ADC of Analog Devices, model: LTC2440, Its noise and speed are excellent, suitable for high-speed high-precision voltage acquisition;

微控制器,与所述ADC采集电路连接,用于对所述ADC采集电路采集到的电压信号进行解析计算,生成增益反馈控制信号,所述增益反馈控制信号用于反馈至所述增益控制电路,同时生成开始放电控制信号,并且当放电到预设阈值时,生成停止放电控制信号,同时输出提醒测试人员进行新一次上电测试的提醒信息;a microcontroller, connected to the ADC acquisition circuit, for performing analytical calculation on the voltage signal acquired by the ADC acquisition circuit, and generating a gain feedback control signal, the gain feedback control signal being used for feedback to the gain control circuit , at the same time generate a start discharge control signal, and when the discharge reaches a preset threshold, generate a stop discharge control signal, and output a reminder message to remind the tester to perform a new power-on test;

电荷泄放电路,与所述微控制器连接,用于接收所述开始放电控制信号以及停止放电控制信号,并根据所述开始放电控制信号,控制对所述PSU内部电荷进行释放,同时根据所述停止放电控制信号,控制停止所述PSU内部电荷的释放;A charge discharge circuit, connected to the microcontroller, for receiving the start discharge control signal and the stop discharge control signal, and according to the start discharge control signal, to control the discharge of the internal charge of the PSU, and at the same time according to the start discharge control signal The stop discharge control signal is used to control and stop the release of the internal charge of the PSU;

提醒模块,与所述微控制器连接,用于接收所述微控制器发送的所述提醒信息,并输出提醒。A reminder module, connected with the microcontroller, is used for receiving the reminder information sent by the microcontroller and outputting the reminder.

在该实施例中,如图2所示,微控制器具体包括:In this embodiment, as shown in Figure 2, the microcontroller specifically includes:

电压信号获取模块,与所述ADC采集电路连接,用于获取所述ADC采集电路采集的电压信号;a voltage signal acquisition module, connected to the ADC acquisition circuit, for acquiring the voltage signal acquired by the ADC acquisition circuit;

解析计算模块,与所述电压信号获取模块连接,用于对采集到的所述电压信号进行解析计算,判断PSU的上电和掉电趋势;an analytical calculation module, connected to the voltage signal acquisition module, for performing analytical calculation on the collected voltage signal, and judging the power-on and power-down trends of the PSU;

增益反馈控制信号生成模块,用于当判定PSU处于上电趋势时,生成增益反馈控制信号,并将所述增益反馈控制信号反馈至所述增益控制电路;a gain feedback control signal generation module, configured to generate a gain feedback control signal when it is determined that the PSU is in a power-on trend, and feed back the gain feedback control signal to the gain control circuit;

开始放电控制信号生成模块,用于当判定PSU处于放电趋势时,生成开始放电控制信号,并将所述开始放电控制信号发送给所述电荷泄放电路;a start-discharge control signal generation module, configured to generate a start-discharge control signal when it is determined that the PSU is in a discharge trend, and send the start-discharge control signal to the charge discharge circuit;

预设阈值判断模块,用于在放电过程中,所述PSU电压知否到达所述预设阈值;A preset threshold value judgment module, used to know whether the PSU voltage reaches the preset threshold value during the discharging process;

停止放电控制信号生成模块,用于生成停止放电控制信号,并将生成的所述停止放电控制信号反馈所述电荷泄放电路;a stop-discharge control signal generation module, configured to generate a stop-discharge control signal, and feed back the generated stop-discharge control signal to the charge discharge circuit;

提醒信号生成模块,用于生成提醒测试人员进行新一次上电测试的提醒信息,并将所述提醒信息反馈至所述提醒模块。A reminder signal generation module is used to generate reminder information for reminding testers to perform a new power-on test, and feed back the reminder information to the reminder module.

在该实施例中,该微控制器选用意法半导体公司的成熟产品,型号:STM32F103RCT6。In this embodiment, the microcontroller is a mature product of STMicroelectronics, model: STM32F103RCT6.

如图3所示,解析计算模块具体包括:As shown in Figure 3, the analytical calculation module specifically includes:

电压值选取模块,用于在当前采集频率内选取连续的若干个所述ADC电路采集电路采集到的电压值;a voltage value selection module, used for selecting a number of consecutive voltage values collected by the ADC circuit collection circuit within the current collection frequency;

做差运算模块,用于根据前一个电压值作为被减数后一个电压值作为减数的原则,在相邻的两个电压值之间分别做差运行,获取到的若干个电压差值;The difference operation module is used to perform difference operation between two adjacent voltage values according to the principle that the previous voltage value is used as the minuend and the next voltage value is used as the subtrahend, and several voltage difference values are obtained;

解析模块,用于对获取到的若干个所述电压差值进行解析,判断电压差值的正负值关系;an analysis module, configured to analyze a plurality of the obtained voltage difference values, and determine the positive and negative value relationship of the voltage difference values;

第一判定模块,用于当判定若干个所述电压差值均为正值时,判定所述PSU处于上电趋势;a first determination module, configured to determine that the PSU is in a power-on trend when it is determined that several of the voltage differences are all positive values;

循环执行控制模块,用于当判定若干个所述电压差值中有负值情形时,则重新在下一个采集频率中依次执行电压值选取、做差运算以及电压差值正负值判断的步骤;The cyclic execution control module is used to re-execute the steps of voltage value selection, difference operation and positive and negative value judgment of the voltage difference in the next acquisition frequency when it is determined that there are negative values in several of the voltage difference values;

第二判定模块,用于当判定若干个所述电压差值均为负值时,判定所述PSU处于放电趋势。The second determination module is configured to determine that the PSU is in a discharge trend when it is determined that several of the voltage differences are all negative values.

在该实施例中,当所述增益控制电路接收到增益反馈控制信号G1和G2时,对所述增益反馈控制信号进行解析,获取当前电压值;In this embodiment, when the gain control circuit receives the gain feedback control signals G1 and G2, the gain feedback control signal is analyzed to obtain the current voltage value;

当当前电压值大于12V时,所述增益控制电路将增益控制量程切换到48V;When the current voltage value is greater than 12V, the gain control circuit switches the gain control range to 48V;

当当前电压值大于54V时,所述增益控制电路将增益控制量程切换到大于48V的下一级量程。When the current voltage value is greater than 54V, the gain control circuit switches the gain control range to the next level range greater than 48V.

结合图2所示,微控制器还包括:As shown in Figure 2, the microcontroller also includes:

电压值生成模块,用于当生成增益反馈控制信号的同时,生成PSU电压输出值,并将生成的所述PSU电压输出值输送至所述提醒模块进行提醒。The voltage value generation module is configured to generate the PSU voltage output value while generating the gain feedback control signal, and send the generated PSU voltage output value to the reminder module for reminder.

在该实施例中,上述提醒模块可以采用多种实现方式,例如该提醒模块可以是LED显示屏,也可以是蜂鸣器进行蜂鸣报警,当然也可以采用其他方式,在此不再赘述。In this embodiment, the above-mentioned reminder module can be implemented in a variety of ways. For example, the reminder module can be an LED display screen or a buzzer to give a buzzer alarm. Of course, other ways can also be used, which will not be repeated here.

在本发明实施例中,该基于服务器测试的PSU电压检测系统可实时采集显示12V/48V/54V PSU的电压并通过斜率法分析统计电压信息得出上电掉电状态,在掉电第一时间加速放电,在掉电完成后第一时间通知测试人员,测试人员无需长时间的不确定等待,再重新上电测试,可适配各种型号,电压的PSU和主板,不需要对两者进行改动。In the embodiment of the present invention, the PSU voltage detection system based on the server test can collect and display the voltage of the 12V/48V/54V PSU in real time, and analyze the statistical voltage information through the slope method to obtain the power-on and power-off state. Accelerate the discharge, notify the tester at the first time after the power-off is completed, the tester does not need to wait for a long time, and then re-power on the test, it can be adapted to various types and voltages of PSU and motherboard, no need to perform change.

在本发明实施例中,如图4所示,电压调理电路包括第一放大器U1,所述第一放大器U1的反向输入端串接第一电阻R1、第二电阻R2以及第三电阻R3后与PSU电压输出端Vin连接,同向输入端接地;In the embodiment of the present invention, as shown in FIG. 4 , the voltage conditioning circuit includes a first amplifier U1 , and an inverting input terminal of the first amplifier U1 is connected in series with a first resistor R1 , a second resistor R2 and a third resistor R3 . It is connected to the PSU voltage output terminal Vin, and the same-direction input terminal is grounded;

所述第一放大器U1的反向输入端与所述第三电阻R3之间的线路上设有第一电路节点11,所述第一电路节点引出的线路串接第四电阻R4后与所述第一放大器U1的输出端汇集到第二电路节点12,所述第一电路节点11与所述第二电路节点12之间设有与所述第四电阻R4并联的第一电容C1;A first circuit node 11 is provided on the line between the inverting input end of the first amplifier U1 and the third resistor R3, and the line drawn from the first circuit node is connected to the fourth resistor R4 in series with the third resistor R3. The output end of the first amplifier U1 is collected to a second circuit node 12, and a first capacitor C1 connected in parallel with the fourth resistor R4 is arranged between the first circuit node 11 and the second circuit node 12;

如图5所示,增益控制电路包括依次连接的模拟开关电路、运放电路以及电阻网络,其中:As shown in Figure 5, the gain control circuit includes an analog switch circuit, an operational amplifier circuit and a resistor network connected in sequence, wherein:

所述模拟开关电路与所述微控制器通过所述增益反馈控制信号G1和G2信号连接;所述运放电路与所述模拟开关电路连接,所述运放电路与所述电阻网络连接;The analog switch circuit is connected to the microcontroller through the gain feedback control signals G1 and G2; the operational amplifier circuit is connected to the analog switch circuit, and the operational amplifier circuit is connected to the resistor network;

运放电路包括第二放大器U2,所述第二放大器U2的同向输入端与所述第二电路节点连接,反向输入端引出的线路串接第二电容C2后与输出端汇集为第三电路节点13,所述第三电路节点13引出的线路串接第十三电阻R13后与所述ADC采集电路连接;The operational amplifier circuit includes a second amplifier U2, the non-inverting input terminal of the second amplifier U2 is connected to the second circuit node, and the line drawn from the inverse input terminal is connected in series with the second capacitor C2 and then collected with the output terminal to form a third circuit. The circuit node 13, the line drawn from the third circuit node 13 is connected in series with the thirteenth resistor R13 and then connected to the ADC acquisition circuit;

所述第三电路节点13与所述第十三电阻R13之间的线路上依次设有第四电路节点14和第五电路节点15;A fourth circuit node 14 and a fifth circuit node 15 are arranged on the line between the third circuit node 13 and the thirteenth resistor R13 in sequence;

所述第五电路节点引出的线路连接所述电阻网络后接地,其中,所述电阻网络包括从所述第五电路节点15开始依次串接的第八电阻R8、第九电阻R9、第十电阻R10以及第十一电阻R11,其中,所述第八电阻R8与第九电阻R9之间的线路上设有第六电路节点16,所述第九电阻R9与第十电阻R10之间的线路上设有第七电路节点17,所述第十电阻R10与所述第十一电阻R11之间的线路上设有第八电路节点18;The line drawn from the fifth circuit node is connected to the resistor network and then grounded, wherein the resistor network includes an eighth resistor R8, a ninth resistor R9, and a tenth resistor sequentially connected in series from the fifth circuit node 15 R10 and the eleventh resistor R11, wherein the line between the eighth resistor R8 and the ninth resistor R9 is provided with a sixth circuit node 16, and the line between the ninth resistor R9 and the tenth resistor R10 a seventh circuit node 17 is provided, and an eighth circuit node 18 is provided on the line between the tenth resistor R10 and the eleventh resistor R11;

所述模拟开关包括模拟集成芯片U3,所述模拟集成芯片U3的引脚COM引出的线路与所述第二放大器U2的反向输入端连接,引脚A0和引脚A1分别通过增益反馈控制信号G1和G2与所述微处理器连接,引脚NO1与所述第四电路节点连接,引脚NO2、引脚NO3、引脚NO4分别与所述第六电路节点16、第七电路节点17、第八电路节点18对应连接,该模拟集成芯片U3的型号为MAX308。The analog switch includes an analog integrated chip U3, the line drawn from the pin COM of the analog integrated chip U3 is connected to the reverse input end of the second amplifier U2, and the pin A0 and the pin A1 respectively pass the gain feedback control signal. G1 and G2 are connected to the microprocessor, pin NO1 is connected to the fourth circuit node, pin NO2, pin NO3, and pin NO4 are respectively connected to the sixth circuit node 16, seventh circuit node 17, The eighth circuit node 18 is correspondingly connected, and the model of the analog integrated chip U3 is MAX308.

在本发明实施例中,所述开始放电控制信号包括第一路泄压放电控制信号SW1和第二路泄压放电控制信SW2;In the embodiment of the present invention, the discharge start control signal includes a first pressure relief discharge control signal SW1 and a second pressure relief discharge control signal SW2;

对应的,如图6所示,所述电荷泄放电路包括第一泄放电路和第二泄放电路:Correspondingly, as shown in FIG. 6 , the charge discharge circuit includes a first discharge circuit and a second discharge circuit:

所述第一泄放电路包括场效应管Q1和场效应管Q2,所述场效应管Q1的栅极串接第十五电阻R15后与所述第一路泄压放电控制信号SW1连接,所述场效应管Q1的漏极引出的线路串接第十六电阻R16后与电压端VCC_3.3连接,场效应管Q1的漏极与所述第十六电阻R16之间的线路上设有第九电路节点19,所述第九电路节点19引出的线路串接第十七电阻R17后与所述场效应管Q2的栅极连接,所述场效应管Q2的漏极与PSU电压输出端Vin连接,所述场效应管Q2的源极串接第一泄放电阻网络20后接地,所述第一泄放电阻网络20为若干个封装的串联电阻;The first discharge circuit includes a field effect transistor Q1 and a field effect transistor Q2. The gate of the field effect transistor Q1 is connected in series with the fifteenth resistor R15 and then connected to the first pressure relief and discharge control signal SW1. The line drawn from the drain of the field effect transistor Q1 is connected in series with the sixteenth resistor R16 and then connected to the voltage terminal VCC_3.3. The line between the drain of the field effect transistor Q1 and the sixteenth resistor R16 is provided with a sixth line. The ninth circuit node 19, the line drawn from the ninth circuit node 19 is connected in series with the seventeenth resistor R17 and then connected to the gate of the field effect transistor Q2, and the drain of the field effect transistor Q2 is connected to the PSU voltage output terminal Vin connection, the source of the field effect transistor Q2 is connected in series with the first bleeder resistor network 20 and then grounded, and the first bleeder resistor network 20 is a series resistor of several packages;

所述第二泄放电路包括场效应管Q3和场效应管Q4,所述场效应管Q3的栅极串接第二十电阻R20后与所述第二路泄压放电控制信号SW2连接,所述场效应管Q3的漏极引出的线路串接第二十一电阻R21后与电压端VCC_3.3连接,场效应管Q3的漏极与所述第二十一电阻R21之间的线路上设有第十电路节点21,所述第十电路节点21引出的线路串接第二十二电阻R22后与所述场效应管Q4的栅极连接,所述场效应管Q4的漏极与PSU电压输出端Vin连接,所述场效应管Q4的源极串接第二泄放电阻网络22后接地,所述第二泄放电阻网络22为若干个封装的并联电阻。The second discharge circuit includes a field effect transistor Q3 and a field effect transistor Q4. The gate of the field effect transistor Q3 is connected in series with the twentieth resistor R20 and then connected to the second pressure relief and discharge control signal SW2. The line drawn from the drain of the field effect transistor Q3 is connected in series with the twenty-first resistor R21 and then connected to the voltage terminal VCC_3.3. The line between the drain of the field effect transistor Q3 and the twenty-first resistor R21 is set. There is a tenth circuit node 21, the line drawn from the tenth circuit node 21 is connected in series with the twenty-second resistor R22 and then connected to the gate of the field effect transistor Q4, and the drain of the field effect transistor Q4 is connected to the PSU voltage The output terminal Vin is connected, and the source of the field effect transistor Q4 is connected in series with a second bleeder resistor network 22 and then grounded. The second bleeder resistor network 22 is a parallel resistor of several packages.

在本发明实施例中,其各个元件的型号如图4至图6所示,在此不再赘述。In the embodiment of the present invention, the models of the respective components are shown in FIG. 4 to FIG. 6 , which will not be repeated here.

为了便于说明,结合上述内容,下述给出基于服务器测试的PSU电压检测系统的实现过程:For the convenience of description, combined with the above content, the implementation process of the PSU voltage detection system based on the server test is given as follows:

1)将供电转接装置一端连接PSU,另一端连接至服务器。1) Connect one end of the power adapter to the PSU and the other end to the server.

2)PSU上电,供电转接装置采集到PSU输出电压值并实时显示,通过斜率法判断电压值不断上升,将放电电路关闭,当电压值超过12V时,切换量程到48V,当电压超过54V时,继续切换量程,并继续采集显示电压。2) When the PSU is powered on, the power supply transfer device collects the output voltage value of the PSU and displays it in real time. It is judged by the slope method that the voltage value continues to rise, and the discharge circuit is closed. When the voltage value exceeds 12V, the range is switched to 48V, and when the voltage exceeds 54V , continue to switch the range, and continue to collect and display the voltage.

3)主板端进行相关测试,一次测试完成。3) The main board side conducts relevant tests, and one test is completed.

4)断掉PSU的输入,供电转接装置根据电压的变化斜率监测到电压在下降,将放电电路打开,根据PSU电压值选择打开不同的泄放电路,以保证每路都能尽快地加速PSU内部电荷的泄放。4) Cut off the input of the PSU, the power supply switching device monitors the voltage drop according to the change slope of the voltage, turns on the discharge circuit, and chooses to open different discharge circuits according to the voltage value of the PSU, so as to ensure that each channel can accelerate the PSU as soon as possible. Drainage of internal charge.

5)当电压跌落到可接受的预设阈值,断开泄放电路,蜂鸣器响,提醒使用者,PSU已完成掉电,测试环境已就绪,随时可以重新上电。5) When the voltage drops to an acceptable preset threshold, disconnect the bleeder circuit and the buzzer will sound to remind the user that the PSU has been powered off and the test environment is ready, and can be powered on again at any time.

在本发明实施例中,基于服务器测试的PSU电压检测系统包括一供电转接装置,所述供电转接装置一端与PSU连接,另一端与主板连接;其中,所述供电转接装置,用于根据测试人员对开关执行的上下电动作,对PSU的上电和放电过程进行检测和控制,并当放电到预设阈值时,输出提醒测试人员进行新一次上电测试的提醒信息,从而实现对PSU上电放电时间的估算,减少操作人员的等待,提高测试效率。In the embodiment of the present invention, a PSU voltage detection system based on server testing includes a power supply adapter device, one end of the power supply adapter device is connected to the PSU, and the other end is connected to the main board; wherein, the power supply adapter device is used for According to the power-on and power-on actions performed by the tester on the switch, the power-on and discharge process of the PSU is detected and controlled, and when the discharge reaches the preset threshold, a reminder message to remind the tester to perform a new power-on test is output, so as to realize the The estimation of the power-on and discharge time of the PSU reduces the waiting time of the operator and improves the test efficiency.

以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围,其均应涵盖在本发明的权利要求和说明书的范围当中。The above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that the foregoing embodiments can still be used for The technical solutions described in the examples are modified, or some or all of the technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and all of them should cover within the scope of the claims and description of the invention.

Claims (10)

1.一种基于服务器测试的PSU电压检测系统,其特征在于,包括一供电转接装置,所述供电转接装置一端与PSU连接,另一端与主板连接;1. a PSU voltage detection system based on server test, is characterized in that, comprises a power supply switching device, one end of described power supply switching device is connected with PSU, and the other end is connected with mainboard; 其中,所述供电转接装置,用于根据测试人员对开关执行的上下电动作,对PSU的上电和放电过程进行检测和控制,并当放电到预设阈值时,输出提醒测试人员进行新一次上电测试的提醒信息。The power supply switching device is used to detect and control the power-on and discharge process of the PSU according to the power-on and power-off actions performed by the tester on the switch, and when the discharge reaches a preset threshold, the output reminds the tester to perform a new operation. A reminder message for a power-on test. 2.根据权利要求1所述的基于服务器测试的PSU电压检测系统,其特征在于,所述供电转接装置包括:2. The PSU voltage detection system based on server testing according to claim 1, wherein the power supply switching device comprises: 与所述PSU输出电压信号连接的电压调理电路;a voltage conditioning circuit connected to the PSU output voltage signal; 增益控制电路,与所述电压调理电路连接,用于对所述电压调理电路对PSU输出电压调理后的电压信号进行增益调整;a gain control circuit, connected to the voltage conditioning circuit, for performing gain adjustment on the voltage signal after the voltage conditioning circuit has conditioned the output voltage of the PSU; ADC采集电路,与所述增益控制电路连接,用于对所述增益控制电路调整后的电压信号进行采集;The ADC acquisition circuit is connected to the gain control circuit, and is used for acquiring the voltage signal adjusted by the gain control circuit; 微控制器,与所述ADC采集电路连接,用于对所述ADC采集电路采集到的电压信号进行解析计算,生成增益反馈控制信号,所述增益反馈控制信号用于反馈至所述增益控制电路,同时生成开始放电控制信号,并且当放电到预设阈值时,生成停止放电控制信号,同时输出提醒测试人员进行新一次上电测试的提醒信息;a microcontroller, connected to the ADC acquisition circuit, for performing analytical calculation on the voltage signal acquired by the ADC acquisition circuit, and generating a gain feedback control signal, the gain feedback control signal being used for feedback to the gain control circuit , at the same time generate a start discharge control signal, and when the discharge reaches a preset threshold, generate a stop discharge control signal, and output a reminder message to remind the tester to perform a new power-on test; 电荷泄放电路,与所述微控制器连接,用于接收所述开始放电控制信号以及停止放电控制信号,并根据所述开始放电控制信号,控制对所述PSU内部电荷进行释放,同时根据所述停止放电控制信号,控制停止所述PSU内部电荷的释放;A charge discharge circuit, connected to the microcontroller, for receiving the start discharge control signal and the stop discharge control signal, and according to the start discharge control signal, to control the discharge of the internal charge of the PSU, and at the same time according to the start discharge control signal The stop discharge control signal is used to control and stop the release of the internal charge of the PSU; 提醒模块,与所述微控制器连接,用于接收所述微控制器发送的所述提醒信息,并输出提醒。A reminder module, connected with the microcontroller, is used for receiving the reminder information sent by the microcontroller and outputting the reminder. 3.根据权利要求2所述的基于服务器测试的PSU电压检测系统,其特征在于,所述微控制器具体包括:3. The PSU voltage detection system based on server testing according to claim 2, wherein the microcontroller specifically comprises: 电压信号获取模块,与所述ADC采集电路连接,用于获取所述ADC采集电路采集的电压信号;a voltage signal acquisition module, connected to the ADC acquisition circuit, for acquiring the voltage signal acquired by the ADC acquisition circuit; 解析计算模块,与所述电压信号获取模块连接,用于对采集到的所述电压信号进行解析计算,判断PSU的上电和掉电趋势;an analytical calculation module, connected to the voltage signal acquisition module, for performing analytical calculation on the collected voltage signal, and judging the power-on and power-down trends of the PSU; 增益反馈控制信号生成模块,用于当判定PSU处于上电趋势时,生成增益反馈控制信号,并将所述增益反馈控制信号反馈至所述增益控制电路;a gain feedback control signal generation module, configured to generate a gain feedback control signal when it is determined that the PSU is in a power-on trend, and feed back the gain feedback control signal to the gain control circuit; 开始放电控制信号生成模块,用于当判定PSU处于放电趋势时,生成开始放电控制信号,并将所述开始放电控制信号发送给所述电荷泄放电路;a start-discharge control signal generation module, configured to generate a start-discharge control signal when it is determined that the PSU is in a discharge trend, and send the start-discharge control signal to the charge discharge circuit; 预设阈值判断模块,用于在放电过程中,所述PSU电压知否到达所述预设阈值;A preset threshold value judgment module, used to know whether the PSU voltage reaches the preset threshold value during the discharging process; 停止放电控制信号生成模块,用于生成停止放电控制信号,并将生成的所述停止放电控制信号反馈所述电荷泄放电路;a stop-discharge control signal generation module, configured to generate a stop-discharge control signal, and feed back the generated stop-discharge control signal to the charge discharge circuit; 提醒信号生成模块,用于生成提醒测试人员进行新一次上电测试的提醒信息,并将所述提醒信息反馈至所述提醒模块。A reminder signal generation module is used to generate reminder information for reminding testers to perform a new power-on test, and feed back the reminder information to the reminder module. 4.根据权利要求3所述的基于服务器测试的PSU电压检测系统,其特征在于,所述解析计算模块具体包括:4. The PSU voltage detection system based on server testing according to claim 3, wherein the analytical calculation module specifically comprises: 电压值选取模块,用于在当前采集频率内选取连续的若干个所述ADC电路采集电路采集到的电压值;a voltage value selection module, used for selecting a number of consecutive voltage values collected by the ADC circuit collection circuit within the current collection frequency; 做差运算模块,用于根据前一个电压值作为被减数后一个电压值作为减数的原则,在相邻的两个电压值之间分别做差运行,获取到的若干个电压差值;The difference operation module is used to perform difference operation between two adjacent voltage values according to the principle that the previous voltage value is used as the minuend and the next voltage value is used as the subtrahend, and several voltage difference values are obtained; 解析模块,用于对获取到的若干个所述电压差值进行解析,判断电压差值的正负值关系;an analysis module, configured to analyze a plurality of the obtained voltage difference values, and determine the positive and negative value relationship of the voltage difference values; 第一判定模块,用于当判定若干个所述电压差值均为正值时,判定所述PSU处于上电趋势;a first determination module, configured to determine that the PSU is in a power-on trend when it is determined that several of the voltage differences are all positive values; 循环执行控制模块,用于当判定若干个所述电压差值中有负值情形时,则重新在下一个采集频率中依次执行电压值选取、做差运算以及电压差值正负值判断的步骤;The cyclic execution control module is used to re-execute the steps of voltage value selection, difference operation and positive and negative value judgment of the voltage difference in the next acquisition frequency when it is determined that there are negative values in several of the voltage difference values; 第二判定模块,用于当判定若干个所述电压差值均为负值时,判定所述PSU处于放电趋势。The second determination module is configured to determine that the PSU is in a discharge trend when it is determined that several of the voltage differences are all negative values. 5.根据权利要求3所述的基于服务器测试的PSU电压检测系统,其特征在于,当所述增益控制电路接收到增益反馈控制信号G1和G2时,对所述增益反馈控制信号进行解析,获取当前电压值;5. The PSU voltage detection system based on server testing according to claim 3, wherein when the gain control circuit receives the gain feedback control signals G1 and G2, the gain feedback control signal is analyzed to obtain current voltage value; 当当前电压值大于12V时,所述增益控制电路将增益控制量程切换到48V;When the current voltage value is greater than 12V, the gain control circuit switches the gain control range to 48V; 当当前电压值大于54V时,所述增益控制电路将增益控制量程切换到大于48V的下一级量程。When the current voltage value is greater than 54V, the gain control circuit switches the gain control range to the next level range greater than 48V. 6.根据权利要求3所述的基于服务器测试的PSU电压检测系统,其特征在于,所述微控制器还包括:6. The PSU voltage detection system based on server testing according to claim 3, wherein the microcontroller further comprises: 电压值生成模块,用于当生成增益反馈控制信号的同时,生成PSU电压输出值,并将生成的所述PSU电压输出值输送至所述提醒模块进行提醒。The voltage value generation module is configured to generate the PSU voltage output value while generating the gain feedback control signal, and send the generated PSU voltage output value to the reminder module for reminder. 7.根据权利要求2所述的基于服务器测试的PSU电压检测系统,其特征在于,所述电压调理电路包括第一放大器U1,所述第一放大器U1的反向输入端串接第一电阻R1、第二电阻R2以及第三电阻R3后与PSU电压输出端Vin连接,同向输入端接地;7 . The PSU voltage detection system based on server testing according to claim 2 , wherein the voltage conditioning circuit comprises a first amplifier U1 , and an inverting input end of the first amplifier U1 is connected in series with a first resistor R1 . 8 . , the second resistor R2 and the third resistor R3 are connected to the PSU voltage output terminal Vin, and the input terminal is grounded in the same direction; 所述第一放大器U1的反向输入端与所述第三电阻R3之间的线路上设有第一电路节点,所述第一电路节点引出的线路串接第四电阻R4后与所述第一放大器U1的输出端汇集到第二电路节点,所述第一电路节点与所述第二电路节点之间设有与所述第四电阻R4并联的第一电容C1。A first circuit node is provided on the line between the inverting input end of the first amplifier U1 and the third resistor R3, and the line drawn from the first circuit node is connected to the fourth resistor R4 in series with the first circuit node. An output terminal of an amplifier U1 is collected to a second circuit node, and a first capacitor C1 connected in parallel with the fourth resistor R4 is arranged between the first circuit node and the second circuit node. 8.根据权利要求7所述的基于服务器测试的PSU电压检测系统,其特征在于,所述增益控制电路包括依次连接的模拟开关电路、运放电路以及电阻网络,其中:8. The PSU voltage detection system based on server testing according to claim 7, wherein the gain control circuit comprises an analog switch circuit, an operational amplifier circuit and a resistor network connected in sequence, wherein: 所述模拟开关电路与所述微控制器通过所述增益反馈控制信号G1和G2信号连接;所述运放电路与所述模拟开关电路连接,所述运放电路与所述电阻网络连接。The analog switch circuit is connected to the microcontroller through the gain feedback control signals G1 and G2; the operational amplifier circuit is connected to the analog switch circuit, and the operational amplifier circuit is connected to the resistor network. 9.根据权利要求8所述的基于服务器测试的PSU电压检测系统,其特征在于,所述运放电路包括第二放大器U2,所述第二放大器U2的同向输入端与所述第二电路节点连接,反向输入端引出的线路串接第二电容C2后与输出端汇集为第三电路节点,所述第三电路节点引出的线路串接第十三电阻R13后与所述ADC采集电路连接;9 . The PSU voltage detection system based on server testing according to claim 8 , wherein the operational amplifier circuit comprises a second amplifier U2 , and the non-inverting input end of the second amplifier U2 is connected to the second circuit. 10 . The node is connected, the line drawn from the reverse input end is connected in series with the second capacitor C2 and then collected with the output end to form a third circuit node, the line drawn from the third circuit node is connected in series with the thirteenth resistor R13 and then connected with the ADC acquisition circuit connect; 所述第三电路节点与所述第十三电阻R13之间的线路上依次设有第四电路节点和第五电路节点;A fourth circuit node and a fifth circuit node are sequentially arranged on the line between the third circuit node and the thirteenth resistor R13; 所述第五电路节点引出的线路连接所述电阻网络后接地,其中,所述电阻网络包括从所述第五电路节点开始依次串接的第八电阻R8、第九电阻R9、第十电阻R10以及第十一电阻R11,其中,所述第八电阻R8与第九电阻R9之间的线路上设有第六电路节点,所述第九电阻R9与第十电阻R10之间的线路上设有第七电路节点,所述第十电阻R10与所述第十一电阻R11之间的线路上设有第八电路节点;The line drawn from the fifth circuit node is connected to the resistor network and then grounded, wherein the resistor network includes an eighth resistor R8, a ninth resistor R9, and a tenth resistor R10 sequentially connected in series from the fifth circuit node and an eleventh resistor R11, wherein a sixth circuit node is provided on the line between the eighth resistor R8 and the ninth resistor R9, and a line between the ninth resistor R9 and the tenth resistor R10 is provided with a seventh circuit node, an eighth circuit node is provided on the line between the tenth resistor R10 and the eleventh resistor R11; 所述模拟开关包括模拟集成芯片U3,所述模拟集成芯片U3的引脚COM引出的线路与所述第二放大器U2的反向输入端连接,引脚A0和引脚A1分别通过增益反馈控制信号G1和G2与所述微处理器连接,引脚NO1与所述第四电路节点连接,引脚NO2、引脚NO3、引脚NO4分别与所述第六电路节点、第七电路节点、第八电路节点对应连接。The analog switch includes an analog integrated chip U3, the line drawn from the pin COM of the analog integrated chip U3 is connected to the reverse input end of the second amplifier U2, and the pin A0 and the pin A1 respectively pass the gain feedback control signal. G1 and G2 are connected to the microprocessor, pin NO1 is connected to the fourth circuit node, and pin NO2, pin NO3, and pin NO4 are respectively connected to the sixth circuit node, seventh circuit node, and eighth circuit node. The circuit nodes are correspondingly connected. 10.根据权利要求8所述的基于服务器测试的PSU电压检测系统,其特征在于,所述开始放电控制信号包括第一路泄压放电控制信号SW1和第二路泄压放电控制信SW2;10. The PSU voltage detection system based on server testing according to claim 8, wherein the discharge start control signal comprises a first pressure relief discharge control signal SW1 and a second pressure relief discharge control signal SW2; 对应的,所述电荷泄放电路包括第一泄放电路和第二泄放电路:Correspondingly, the charge discharge circuit includes a first discharge circuit and a second discharge circuit: 所述第一泄放电路包括场效应管Q1和场效应管Q2,所述场效应管Q1的栅极串接第十五电阻R15后与所述第一路泄压放电控制信号SW1连接,所述场效应管Q1的漏极引出的线路串接第十六电阻R16后与电压端VCC_3.3连接,场效应管Q1的漏极与所述第十六电阻R16之间的线路上设有第九电路节点,所述第九电路节点引出的线路串接第十七电阻R17后与所述场效应管Q2的栅极连接,所述场效应管Q2的漏极与PSU电压输出端Vin连接,所述场效应管Q2的源极串接第一泄放电阻网络后接地,所述第一泄放电阻网络为若干个封装的串联电阻;The first discharge circuit includes a field effect transistor Q1 and a field effect transistor Q2. The gate of the field effect transistor Q1 is connected in series with the fifteenth resistor R15 and then connected to the first pressure relief and discharge control signal SW1. The line drawn from the drain of the field effect transistor Q1 is connected in series with the sixteenth resistor R16 and then connected to the voltage terminal VCC_3.3. The line between the drain of the field effect transistor Q1 and the sixteenth resistor R16 is provided with a sixth line. Nine circuit nodes, the line drawn from the ninth circuit node is connected in series with the seventeenth resistor R17 and then connected to the gate of the field effect transistor Q2, and the drain of the field effect transistor Q2 is connected to the PSU voltage output terminal Vin, The source of the field effect transistor Q2 is connected in series with a first bleeder resistor network and then grounded, and the first bleeder resistor network is a series resistor of several packages; 所述第二泄放电路包括场效应管Q3和场效应管Q4,所述场效应管Q3的栅极串接第二十电阻R20后与所述第二路泄压放电控制信号SW2连接,所述场效应管Q3的漏极引出的线路串接第二十一电阻R21后与电压端VCC_3.3连接,场效应管Q3的漏极与所述第二十一电阻R21之间的线路上设有第十电路节点,所述第十电路节点引出的线路串接第二十二电阻R22后与所述场效应管Q4的栅极连接,所述场效应管Q4的漏极与PSU电压输出端Vin连接,所述场效应管Q4的源极串接第二泄放电阻网络后接地,所述第二泄放电阻网络为若干个封装的并联电阻。The second discharge circuit includes a field effect transistor Q3 and a field effect transistor Q4. The gate of the field effect transistor Q3 is connected in series with the twentieth resistor R20 and then connected to the second pressure relief and discharge control signal SW2. The line drawn from the drain of the field effect transistor Q3 is connected in series with the twenty-first resistor R21 and then connected to the voltage terminal VCC_3.3. The line between the drain of the field effect transistor Q3 and the twenty-first resistor R21 is set. There is a tenth circuit node, the line drawn from the tenth circuit node is connected in series with the twenty-second resistor R22 and then connected to the gate of the field effect transistor Q4, and the drain of the field effect transistor Q4 is connected to the PSU voltage output terminal Vin is connected, the source of the field effect transistor Q4 is connected in series with a second bleeder resistor network and then grounded, and the second bleeder resistor network is a parallel resistor of several packages.
CN202010693204.3A 2020-07-17 2020-07-17 A PSU voltage detection system based on server test Active CN111983292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010693204.3A CN111983292B (en) 2020-07-17 2020-07-17 A PSU voltage detection system based on server test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010693204.3A CN111983292B (en) 2020-07-17 2020-07-17 A PSU voltage detection system based on server test

Publications (2)

Publication Number Publication Date
CN111983292A true CN111983292A (en) 2020-11-24
CN111983292B CN111983292B (en) 2022-12-16

Family

ID=73439285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010693204.3A Active CN111983292B (en) 2020-07-17 2020-07-17 A PSU voltage detection system based on server test

Country Status (1)

Country Link
CN (1) CN111983292B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039037A (en) * 2007-04-19 2007-09-19 成都国腾微电子有限公司 Charging management chip
CN102455410A (en) * 2010-10-18 2012-05-16 深圳中兴力维技术有限公司 Storage battery pack remote discharge control system, monitoring unit device and detection method
CN204441876U (en) * 2014-10-20 2015-07-01 惠州市康冠科技有限公司 A kind of low-power consumption leadage circuit of AC power
CN107831883A (en) * 2017-11-24 2018-03-23 郑州云海信息技术有限公司 A kind of GPU server power supplies abnormal protection system and method
CN109542201A (en) * 2018-11-01 2019-03-29 郑州云海信息技术有限公司 A kind of method and system promoting dual input PSU stability
CN109871329A (en) * 2019-02-27 2019-06-11 苏州浪潮智能科技有限公司 A kind of whole machine cabinet server carries out the method and system of multinode AC test
CN209342889U (en) * 2018-11-20 2019-09-03 大城绿川(深圳)科技有限公司 A maintenance-free lead-acid battery digital pulse nondestructive testing instrument
CN210111645U (en) * 2019-07-11 2020-02-21 苏州浪潮智能科技有限公司 Power supply device capable of realizing rapid discharge

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039037A (en) * 2007-04-19 2007-09-19 成都国腾微电子有限公司 Charging management chip
CN102455410A (en) * 2010-10-18 2012-05-16 深圳中兴力维技术有限公司 Storage battery pack remote discharge control system, monitoring unit device and detection method
CN204441876U (en) * 2014-10-20 2015-07-01 惠州市康冠科技有限公司 A kind of low-power consumption leadage circuit of AC power
CN107831883A (en) * 2017-11-24 2018-03-23 郑州云海信息技术有限公司 A kind of GPU server power supplies abnormal protection system and method
CN109542201A (en) * 2018-11-01 2019-03-29 郑州云海信息技术有限公司 A kind of method and system promoting dual input PSU stability
CN209342889U (en) * 2018-11-20 2019-09-03 大城绿川(深圳)科技有限公司 A maintenance-free lead-acid battery digital pulse nondestructive testing instrument
CN109871329A (en) * 2019-02-27 2019-06-11 苏州浪潮智能科技有限公司 A kind of whole machine cabinet server carries out the method and system of multinode AC test
CN210111645U (en) * 2019-07-11 2020-02-21 苏州浪潮智能科技有限公司 Power supply device capable of realizing rapid discharge

Also Published As

Publication number Publication date
CN111983292B (en) 2022-12-16

Similar Documents

Publication Publication Date Title
CN102023912A (en) Dormancy wake-up testing system and method
CN107462786B (en) A matrix comprehensive tester and test method
CN110673023B (en) A test device and detection method for detecting the stability of a core board
CN103543399A (en) Car CAN bus module fully-automatic detection system and method based on PCI board card
CN104407239B (en) A kind of power information acquisition terminal modular electromagnetic compatibility comprehensive test device
CN111458672B (en) Multi-range current measurement calibration system based on machine learning
CN114167132B (en) Power consumption detection method and device of wireless terminal, electronic equipment and storage medium
CN102819477A (en) Board fault test method and fault test card
CN107526029A (en) The detecting system and detection method of a kind of circuit board
CN117785587A (en) Power consumption testing method and device for embedded device and storage medium
CN103472404A (en) Grounding detection circuit
CN112729884A (en) Equipment fault diagnosis method and device based on big data
CN115098319A (en) A method, apparatus, device and readable medium for detecting power-on sequence
CN115201556A (en) An intelligent electromagnetic detection system
CN111983292B (en) A PSU voltage detection system based on server test
CN212112224U (en) A test device for IoT smart home equipment
CN118584389A (en) Power supply testing method, device, equipment and storage medium
CN207457381U (en) A kind of signal processing module overall checkout equipment
CN1223942C (en) Automatic test system and method for power switch cycle of computer equipment
CN107632911A (en) A kind of Cabinet-type server power consumption test method and test system
CN115932553A (en) Circuit board detection method and detection device without drawing
CN2524291Y (en) Rapid breakdown test devices for automatic computer measure and control system
CN220340679U (en) Hard disk testing device and system
CN110470982A (en) A kind of relay efficient detection system
CN203930004U (en) A kind of intelligent digital integrated circuit fault detection system

Legal Events

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